diff --git a/.github/workflows/unity_tests.yml b/.github/workflows/unity_tests.yml
index 6c03ff4fb..3526f463f 100644
--- a/.github/workflows/unity_tests.yml
+++ b/.github/workflows/unity_tests.yml
@@ -43,6 +43,7 @@ jobs:
- name: Publish to Unity Package
run: |
rm -f ${{ matrix.publishPath }}/UnityEngine.dll
+ rm -f ${{ matrix.publishPath }}/Microsoft.CSharp.dll
mkdir -p ${{ matrix.packageLibraryPath }}
rm -f ${{ matrix.packageLibraryPath }}/*
cp ${{ matrix.publishPath }}/*.dll ${{ matrix.packageLibraryPath }}/
diff --git a/ChainSafe.Gaming.sln b/ChainSafe.Gaming.sln
index 4785f0a83..0f857f7d1 100644
--- a/ChainSafe.Gaming.sln
+++ b/ChainSafe.Gaming.sln
@@ -21,7 +21,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChainSafe.Gaming.Unity.ThirdParty", "src\ChainSafe.Gaming.Unity.ThirdParty\ChainSafe.Gaming.Unity.ThirdParty.csproj", "{9EC71CB4-9401-4E02-AC63-FC13B3D1AA53}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChainSafe.Gaming.WebPageWallet", "src\ChainSafe.Gaming.WebPageWallet\ChainSafe.Gaming.WebPageWallet.csproj", "{99E7A645-CAC5-441B-848D-1253405D6400}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ChainSafe.Gaming.WalletConnect", "src\ChainSafe.Gaming.WalletConnect\ChainSafe.Gaming.WalletConnect.csproj", "{99E7A645-CAC5-441B-848D-1253405D6400}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.InProcessSigner", "src\ChainSafe.Gaming.InProcessSigner\ChainSafe.Gaming.InProcessSigner.csproj", "{3C01FD36-4D44-4886-A971-4786D99CBFCC}"
EndProject
@@ -29,7 +29,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.InProcessT
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.Gelato", "src\ChainSafe.Gaming.Gelato\ChainSafe.Gaming.Gelato.csproj", "{205BA2B5-B8B0-4860-B8D0-1AFA148D882E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.Chainlink.Lootboxes", "src\ChainSafe.Gaming.Chainlink.Lootboxes\ChainSafe.Gaming.Chainlink.Lootboxes.csproj", "{2A1E49E1-219A-4821-B580-CF6E85A5EA20}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChainSafe.Gaming.Lootboxes.Chainlink", "src\ChainSafe.Gaming.Lootboxes.Chainlink\ChainSafe.Gaming.Lootboxes.Chainlink.csproj", "{2A1E49E1-219A-4821-B580-CF6E85A5EA20}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Chainsafe.Gaming.Chainlink", "src\Chainsafe.Gaming.Chainlink\Chainsafe.Gaming.Chainlink.csproj", "{A8A29975-3146-445E-87F6-7B2447C39760}"
EndProject
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink.meta
similarity index 77%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Chainlink.meta
index 42acb7a38..536bee824 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6a3b14fa4f710674f877f0d8bdac95a3
+guid: 2fb00206e80409043a6d2a0ceb07f143
folderAsset: yes
DefaultImporter:
externalObjects: {}
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Editor.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime.meta
similarity index 77%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Editor.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime.meta
index 5e916187b..c6589916e 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Editor.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b90b8c6cb161d47a995c53894b474142
+guid: 1474666d233444f8fad28d968221e75e
folderAsset: yes
DefaultImporter:
externalObjects: {}
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries.meta
new file mode 100644
index 000000000..94ea13a2c
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c979f48e8defd4db3b994edfe17ba4fa
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll
new file mode 100644
index 000000000..55f1fe72d
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Chainlink.Lootboxes.dll.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll.meta
similarity index 93%
rename from Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Chainlink.Lootboxes.dll.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll.meta
index 42b1ee58a..f1208d6fc 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Chainlink.Lootboxes.dll.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 707886d560e557349a56683b998ca210
+guid: 46917ad13a9e4442a8335d3134a7e57f
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll
similarity index 84%
rename from Packages/io.chainsafe.web3-unity/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll
rename to Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll
index a5875dc18..53302affe 100644
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll and b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll.meta
similarity index 93%
rename from Packages/io.chainsafe.web3-unity/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll.meta
index 31bd0b37e..309151bf0 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: d1def1756e749ce4ca7d85bf66cb9ec9
+guid: 0e0b70875c4c94192a5578888fd39003
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/README.md b/Packages/io.chainsafe.web3-unity.lootboxes/README.md
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/README.md
rename to Packages/io.chainsafe.web3-unity.lootboxes/README.md
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/README.md.meta b/Packages/io.chainsafe.web3-unity.lootboxes/README.md.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/README.md.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/README.md.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes.controller b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/LootBoxes.controller
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes.controller
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/LootBoxes.controller
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes.controller.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/LootBoxes.controller.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes.controller.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/LootBoxes.controller.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/LootBox Stage Item.controller b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/LootBox Stage Item.controller
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/LootBox Stage Item.controller
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/LootBox Stage Item.controller
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/LootBox Stage Item.controller.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/LootBox Stage Item.controller.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/LootBox Stage Item.controller.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/LootBox Stage Item.controller.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/fadeout.anim b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/fadeout.anim
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/fadeout.anim
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/fadeout.anim
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/fadeout.anim.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/fadeout.anim.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/fadeout.anim.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/fadeout.anim.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/idle.anim b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/idle.anim
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/idle.anim
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/idle.anim
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/idle.anim.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/idle.anim.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/idle.anim.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/idle.anim.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/notReadyToBeClaimed.anim b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/notReadyToBeClaimed.anim
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/notReadyToBeClaimed.anim
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/notReadyToBeClaimed.anim
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/notReadyToBeClaimed.anim.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/notReadyToBeClaimed.anim.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/notReadyToBeClaimed.anim.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/notReadyToBeClaimed.anim.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/opening.anim b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/opening.anim
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/opening.anim
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/opening.anim
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/opening.anim.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/opening.anim.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/opening.anim.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/opening.anim.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/readyToBeClaimed.anim b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/readyToBeClaimed.anim
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/readyToBeClaimed.anim
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/readyToBeClaimed.anim
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/readyToBeClaimed.anim.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/readyToBeClaimed.anim.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/readyToBeClaimed.anim.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/readyToBeClaimed.anim.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/selected.anim b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/selected.anim
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/selected.anim
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/selected.anim
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/selected.anim.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/selected.anim.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/selected.anim.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Lootboxes/selected.anim.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Rewards.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Rewards.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/idle.anim b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Rewards/idle.anim
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/idle.anim
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Rewards/idle.anim
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/idle.anim.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Rewards/idle.anim.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/idle.anim.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Animations/Rewards/idle.anim.meta
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts.meta
new file mode 100644
index 000000000..294c058f5
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 7ee1987f805df45f7bd9bb4bb4856425
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular SDF.asset b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular SDF.asset
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular SDF.asset
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular SDF.asset
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular SDF.asset.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular SDF.asset.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular SDF.asset.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular SDF.asset.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular.ttf b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular.ttf
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular.ttf
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular.ttf
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular.ttf.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular.ttf.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/NeueMontreal-Regular.ttf.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Fonts/NeueMontreal-Regular.ttf.meta
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials.meta
new file mode 100644
index 000000000..df3740193
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: b2badcc5ac959466fb40813155d5a6bb
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Common LootBox.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Common LootBox.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Common LootBox.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Common LootBox.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Epic LootBox.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Epic LootBox.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Epic LootBox.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Epic LootBox.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Floor Material.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Floor Material.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Floor Material.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Floor Material.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Floor Material.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Floor Material.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Floor Material.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Floor Material.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Legendary LootBox.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Legendary LootBox.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Legendary LootBox.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Legendary LootBox.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Quad.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/NFT Quad.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Quad.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/NFT Quad.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Quad.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/NFT Quad.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Quad.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/NFT Quad.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Rare LootBox.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Rare LootBox.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Rare LootBox.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Rare LootBox.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Reward Particles.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Reward Particles.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Reward Particles.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Reward Particles.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Reward Particles.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Reward Particles.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Reward Particles.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Reward Particles.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Skybox.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Skybox.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Skybox.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Skybox.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Skybox.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Skybox.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Skybox.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Skybox.mat.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox.mat b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Uncommon LootBox.mat
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox.mat
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Uncommon LootBox.mat
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox.mat.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Uncommon LootBox.mat.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox.mat.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Materials/Uncommon LootBox.mat.meta
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs.meta
new file mode 100644
index 000000000..ac61eb0a3
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 8b9360fbd129b44568c00aab825a025d
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Action.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Action.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Action.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Action.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Action.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Action.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Action.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Action.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Navigation Arrow.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Navigation Arrow.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Navigation Arrow.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Navigation Arrow.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Navigation Arrow.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Navigation Arrow.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Button - Navigation Arrow.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Button - Navigation Arrow.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Coin Reward Stage Item.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Coin Reward Stage Item.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Coin Reward Stage Item.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Coin Reward Stage Item.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Coin Reward Stage Item.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Coin Reward Stage Item.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/Coin Reward Stage Item.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Coin Reward Stage Item.prefab.meta
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes.meta
new file mode 100644
index 000000000..aa8cfa14d
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: f7c54227412774dd9a0aa36657105035
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 1.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 1.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox Stage Item.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 1/Common LootBox Stage Item.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox Stage Item.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 1/Common LootBox Stage Item.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox Stage Item.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 1/Common LootBox Stage Item.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 1/Common LootBox Stage Item.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 1/Common LootBox Stage Item.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 2.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 2.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox Stage Item Variant.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 2/Uncommon LootBox Stage Item Variant.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox Stage Item Variant.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 2/Uncommon LootBox Stage Item Variant.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox Stage Item Variant.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 2/Uncommon LootBox Stage Item Variant.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 2/Uncommon LootBox Stage Item Variant.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 2/Uncommon LootBox Stage Item Variant.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 3.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 3.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox Stage Item Variant.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 3/Rare LootBox Stage Item Variant.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox Stage Item Variant.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 3/Rare LootBox Stage Item Variant.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox Stage Item Variant.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 3/Rare LootBox Stage Item Variant.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 3/Rare LootBox Stage Item Variant.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 3/Rare LootBox Stage Item Variant.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 4.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 4.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox Stage Item Variant.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 4/Epic LootBox Stage Item Variant.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox Stage Item Variant.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 4/Epic LootBox Stage Item Variant.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox Stage Item Variant.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 4/Epic LootBox Stage Item Variant.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 4/Epic LootBox Stage Item Variant.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 4/Epic LootBox Stage Item Variant.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 5.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 5.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox Stage Item Variant.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 5/Legendary LootBox Stage Item Variant.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox Stage Item Variant.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 5/Legendary LootBox Stage Item Variant.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox Stage Item Variant.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 5/Legendary LootBox Stage Item Variant.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/Type 5/Legendary LootBox Stage Item Variant.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Lootboxes/Type 5/Legendary LootBox Stage Item Variant.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Reward Stage item.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/NFT Reward Stage item.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Reward Stage item.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/NFT Reward Stage item.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Reward Stage item.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/NFT Reward Stage item.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Rewards/NFT Reward Stage item.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/NFT Reward Stage item.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Navigation State UI.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Navigation State UI.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Navigation State UI.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Navigation State UI.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Navigation State UI.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Navigation State UI.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Navigation State UI.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Navigation State UI.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Stage Spot Light.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Stage Spot Light.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Stage Spot Light.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Stage Spot Light.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Stage Spot Light.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Stage Spot Light.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Stage Spot Light.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Stage Spot Light.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Status State UI.prefab b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Status State UI.prefab
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Status State UI.prefab
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Status State UI.prefab
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Status State UI.prefab.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Status State UI.prefab.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Status State UI.prefab.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Prefabs/Status State UI.prefab.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/LootBoxes.unity b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/SampleLootboxes.unity
similarity index 64%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/LootBoxes.unity
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/SampleLootboxes.unity
index 9174e778d..71de4fa65 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/LootBoxes.unity
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/SampleLootboxes.unity
@@ -907,470 +907,564 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
lootBoxScene: {fileID: 607972696}
- ContractAbi: '[ { "inputs": [], "name": "AcceptingOnlyLINK", "type":
- "error" }, { "inputs": [ { "internalType": "uint256",
- "name": "value", "type": "uint256" } ], "name": "AmountPerUnitOverflow",
- "type": "error" }, { "inputs": [ { "internalType": "address",
- "name": "token", "type": "address" }, { "internalType":
- "uint256", "name": "tokenId", "type": "uint256" } ],
- "name": "DepositStateCorruption", "type": "error" }, { "inputs":
- [], "name": "EndOfService", "type": "error" }, { "inputs": [],
- "name": "InsufficientFee", "type": "error" }, { "inputs": [],
- "name": "InsufficientGas", "type": "error" }, { "inputs": [],
- "name": "InsufficientPayment", "type": "error" }, { "inputs": [
- { "internalType": "uint256", "name": "supply", "type":
- "uint256" }, { "internalType": "uint256", "name":
- "requested", "type": "uint256" } ], "name": "InsufficientSupply",
- "type": "error" }, { "inputs": [], "name": "InvalidLength", "type":
- "error" }, { "inputs": [ { "internalType": "int256",
- "name": "value", "type": "int256" } ], "name": "InvalidLinkPrice",
- "type": "error" }, { "inputs": [], "name": "InvalidLootboxType",
- "type": "error" }, { "inputs": [ { "internalType": "uint256",
- "name": "requestId", "type": "uint256" } ], "name": "InvalidRequestAllocation",
- "type": "error" }, { "inputs": [], "name": "InvalidTokenAmount",
- "type": "error" }, { "inputs": [ { "internalType": "address",
- "name": "token", "type": "address" } ], "name": "InventoryStateCorruption",
- "type": "error" }, { "inputs": [ { "internalType": "enum
- LootboxInterface.RewardType", "name": "oldType", "type": "uint8"
- }, { "internalType": "enum LootboxInterface.RewardType",
- "name": "newType", "type": "uint8" } ], "name": "ModifiedRewardType",
- "type": "error" }, { "inputs": [], "name": "NoTokens", "type":
- "error" }, { "inputs": [], "name": "NothingToClaim", "type":
- "error" }, { "inputs": [], "name": "NothingToRecover", "type":
- "error" }, { "inputs": [], "name": "OnlyThis", "type": "error"
- }, { "inputs": [ { "internalType": "uint256", "name":
- "requestId", "type": "uint256" } ], "name": "PendingOpenRequest",
- "type": "error" }, { "inputs": [ { "internalType": "address",
- "name": "token", "type": "address" } ], "name": "RewardWithdrawalDenied",
- "type": "error" }, { "inputs": [ { "internalType": "address",
- "name": "from", "type": "address" } ], "name": "SupplyDenied",
- "type": "error" }, { "inputs": [ { "internalType": "uint256",
- "name": "supply", "type": "uint256" }, { "internalType":
- "uint256", "name": "unitsToGet", "type": "uint256" }
- ], "name": "SupplyExceeded", "type": "error" }, { "inputs": [
- { "internalType": "address", "name": "token", "type":
- "address" } ], "name": "TokenDenied", "type": "error" },
- { "inputs": [ { "internalType": "enum LootboxInterface.RewardType",
- "name": "rewardType", "type": "uint8" } ], "name": "UnexpectedRewardType",
- "type": "error" }, { "inputs": [ { "internalType": "uint256",
- "name": "value", "type": "uint256" } ], "name": "UnitsOverflow",
- "type": "error" }, { "inputs": [], "name": "Unsupported", "type":
- "error" }, { "inputs": [], "name": "ViewCallFailed", "type":
- "error" }, { "inputs": [], "name": "ZeroAmount", "type": "error"
- }, { "inputs": [ { "internalType": "address", "name":
- "token", "type": "address" }, { "internalType": "uint256",
- "name": "id", "type": "uint256" } ], "name": "ZeroSupply",
- "type": "error" }, { "anonymous": false, "inputs": [ {
- "indexed": false, "internalType": "address", "name": "opener",
- "type": "address" }, { "indexed": false, "internalType":
- "address", "name": "token", "type": "address" },
- { "indexed": false, "internalType": "uint256", "name":
- "tokenId", "type": "uint256" }, { "indexed": false,
- "internalType": "uint256", "name": "amount", "type": "uint256"
- } ], "name": "Allocated", "type": "event" }, { "anonymous":
- false, "inputs": [ { "indexed": false, "internalType":
- "address", "name": "token", "type": "address" },
- { "indexed": false, "internalType": "uint256", "name":
- "tokenId", "type": "uint256" }, { "indexed": false,
- "internalType": "uint256", "name": "amountPerUnit", "type": "uint256"
- }, { "indexed": false, "internalType": "uint256",
- "name": "newSupply", "type": "uint256" } ], "name": "AmountPerUnitSet",
- "type": "event" }, { "anonymous": false, "inputs": [ {
- "indexed": true, "internalType": "address", "name": "account",
- "type": "address" }, { "indexed": true, "internalType":
- "address", "name": "operator", "type": "address" },
- { "indexed": false, "internalType": "bool", "name": "approved",
- "type": "bool" } ], "name": "ApprovalForAll", "type": "event"
- }, { "anonymous": false, "inputs": [ { "indexed": false,
- "internalType": "address", "name": "opener", "type": "address"
- }, { "indexed": false, "internalType": "uint256",
- "name": "requestId", "type": "uint256" } ], "name": "BoxesRecovered",
- "type": "event" }, { "anonymous": false, "inputs": [ {
- "indexed": false, "internalType": "address", "name": "caller",
- "type": "address" } ], "name": "EmergencyModeEnabled", "type":
- "event" }, { "anonymous": false, "inputs": [ { "indexed":
- false, "internalType": "address", "name": "token", "type":
- "address" }, { "indexed": false, "internalType":
- "enum LootboxInterface.RewardType", "name": "tokenType", "type":
- "uint8" }, { "indexed": false, "internalType": "address",
- "name": "to", "type": "address" }, { "indexed": false,
- "internalType": "uint256[]", "name": "ids", "type": "uint256[]"
- }, { "indexed": false, "internalType": "uint256[]",
- "name": "amounts", "type": "uint256[]" } ], "name": "EmergencyWithdrawal",
- "type": "event" }, { "anonymous": false, "inputs": [ {
- "indexed": false, "internalType": "uint256", "name": "requestId",
- "type": "uint256" }, { "indexed": false, "internalType":
- "bytes", "name": "reason", "type": "bytes" } ],
- "name": "OpenRequestFailed", "type": "event" }, { "anonymous": false,
- "inputs": [ { "indexed": false, "internalType": "uint256",
- "name": "requestId", "type": "uint256" }, { "indexed":
- false, "internalType": "uint256", "name": "randomness",
- "type": "uint256" } ], "name": "OpenRequestFulfilled", "type":
- "event" }, { "anonymous": false, "inputs": [ { "indexed":
- false, "internalType": "address", "name": "opener", "type":
- "address" }, { "indexed": false, "internalType":
- "uint256", "name": "unitsToGet", "type": "uint256" },
- { "indexed": false, "internalType": "uint256", "name":
- "requestId", "type": "uint256" } ], "name": "OpenRequested",
- "type": "event" }, { "anonymous": false, "inputs": [ {
- "indexed": false, "internalType": "address", "name": "account",
- "type": "address" } ], "name": "Paused", "type": "event"
- }, { "anonymous": false, "inputs": [ { "indexed": false,
- "internalType": "address", "name": "opener", "type": "address"
- }, { "indexed": false, "internalType": "address",
- "name": "token", "type": "address" }, { "indexed":
- false, "internalType": "uint256", "name": "tokenId",
- "type": "uint256" }, { "indexed": false, "internalType":
- "uint256", "name": "amount", "type": "uint256" } ],
- "name": "RewardsClaimed", "type": "event" }, { "anonymous": false,
- "inputs": [ { "indexed": true, "internalType": "bytes32",
- "name": "role", "type": "bytes32" }, { "indexed":
- true, "internalType": "bytes32", "name": "previousAdminRole",
- "type": "bytes32" }, { "indexed": true, "internalType":
- "bytes32", "name": "newAdminRole", "type": "bytes32" }
- ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous":
- false, "inputs": [ { "indexed": true, "internalType":
- "bytes32", "name": "role", "type": "bytes32" }, {
- "indexed": true, "internalType": "address", "name": "account",
- "type": "address" }, { "indexed": true, "internalType":
- "address", "name": "sender", "type": "address" } ],
- "name": "RoleGranted", "type": "event" }, { "anonymous": false,
- "inputs": [ { "indexed": true, "internalType": "bytes32",
- "name": "role", "type": "bytes32" }, { "indexed":
- true, "internalType": "address", "name": "account", "type":
- "address" }, { "indexed": true, "internalType": "address",
- "name": "sender", "type": "address" } ], "name": "RoleRevoked",
- "type": "event" }, { "anonymous": false, "inputs": [ {
- "indexed": false, "internalType": "address", "name": "supplier",
- "type": "address" } ], "name": "SupplierAdded", "type": "event"
- }, { "anonymous": false, "inputs": [ { "indexed": false,
- "internalType": "address", "name": "supplier", "type": "address"
- } ], "name": "SupplierRemoved", "type": "event" }, { "anonymous":
- false, "inputs": [ { "indexed": false, "internalType":
- "address", "name": "token", "type": "address" } ],
- "name": "TokenAdded", "type": "event" }, { "anonymous": false,
- "inputs": [ { "indexed": true, "internalType": "address",
- "name": "operator", "type": "address" }, { "indexed":
- true, "internalType": "address", "name": "from", "type":
- "address" }, { "indexed": true, "internalType": "address",
- "name": "to", "type": "address" }, { "indexed": false,
- "internalType": "uint256[]", "name": "ids", "type": "uint256[]"
- }, { "indexed": false, "internalType": "uint256[]",
- "name": "values", "type": "uint256[]" } ], "name": "TransferBatch",
- "type": "event" }, { "anonymous": false, "inputs": [ {
- "indexed": true, "internalType": "address", "name": "operator",
- "type": "address" }, { "indexed": true, "internalType":
- "address", "name": "from", "type": "address" }, {
- "indexed": true, "internalType": "address", "name": "to",
- "type": "address" }, { "indexed": false, "internalType":
- "uint256", "name": "id", "type": "uint256" }, {
- "indexed": false, "internalType": "uint256", "name": "value",
- "type": "uint256" } ], "name": "TransferSingle", "type": "event"
- }, { "anonymous": false, "inputs": [ { "indexed": false,
- "internalType": "string", "name": "value", "type": "string"
- }, { "indexed": true, "internalType": "uint256",
- "name": "id", "type": "uint256" } ], "name": "URI",
- "type": "event" }, { "anonymous": false, "inputs": [ {
- "indexed": false, "internalType": "address", "name": "account",
- "type": "address" } ], "name": "Unpaused", "type": "event"
- }, { "anonymous": false, "inputs": [ { "indexed": false,
- "internalType": "address", "name": "token", "type": "address"
- }, { "indexed": false, "internalType": "address",
- "name": "to", "type": "address" }, { "indexed": false,
- "internalType": "uint256", "name": "amount", "type": "uint256"
- } ], "name": "Withdraw", "type": "event" }, { "inputs": [],
- "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType":
- "bytes32", "name": "", "type": "bytes32" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [], "name": "FACTORY",
- "outputs": [ { "internalType": "contract ILootboxFactory",
- "name": "", "type": "address" } ], "stateMutability": "view",
- "type": "function" }, { "inputs": [], "name": "LINK_ETH_FEED",
- "outputs": [ { "internalType": "contract AggregatorV3Interface",
- "name": "", "type": "address" } ], "stateMutability": "view",
- "type": "function" }, { "inputs": [], "name": "MINTER_ROLE",
- "outputs": [ { "internalType": "bytes32", "name": "",
- "type": "bytes32" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [], "name": "PAUSER_ROLE", "outputs": [ {
- "internalType": "bytes32", "name": "", "type": "bytes32"
- } ], "stateMutability": "view", "type": "function" }, { "inputs":
- [ { "internalType": "uint256", "name": "_requestId",
- "type": "uint256" }, { "internalType": "uint256",
- "name": "_randomness", "type": "uint256" } ], "name": "_allocateRewards",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address[]", "name":
- "_suppliers", "type": "address[]" } ], "name": "addSuppliers",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address[]", "name":
- "_tokens", "type": "address[]" } ], "name": "addTokens",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "account", "type": "address" }, { "internalType":
- "uint256", "name": "id", "type": "uint256" } ],
- "name": "balanceOf", "outputs": [ { "internalType": "uint256",
- "name": "", "type": "uint256" } ], "stateMutability": "view",
- "type": "function" }, { "inputs": [ { "internalType": "address[]",
- "name": "accounts", "type": "address[]" }, { "internalType":
- "uint256[]", "name": "ids", "type": "uint256[]" } ],
- "name": "balanceOfBatch", "outputs": [ { "internalType": "uint256[]",
- "name": "", "type": "uint256[]" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [ { "internalType":
- "address", "name": "account", "type": "address" },
- { "internalType": "uint256", "name": "id", "type": "uint256"
- }, { "internalType": "uint256", "name": "value",
- "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "address", "name": "account", "type": "address"
- }, { "internalType": "uint256[]", "name": "ids",
- "type": "uint256[]" }, { "internalType": "uint256[]",
- "name": "values", "type": "uint256[]" } ], "name": "burnBatch",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "uint32", "name":
- "_gas", "type": "uint32" }, { "internalType": "uint256",
- "name": "_gasPriceInWei", "type": "uint256" }, {
- "internalType": "uint256", "name": "_units", "type": "uint256"
- } ], "name": "calculateOpenPrice", "outputs": [ { "internalType":
- "uint256", "name": "", "type": "uint256" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [ { "internalType":
- "address", "name": "_opener", "type": "address" } ],
- "name": "canClaimRewards", "outputs": [ { "internalType": "bool",
- "name": "", "type": "bool" } ], "stateMutability": "view",
- "type": "function" }, { "inputs": [ { "internalType": "address",
- "name": "_opener", "type": "address" } ], "name": "claimRewards",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "_token", "type": "address" }, { "internalType":
- "enum LootboxInterface.RewardType", "name": "_type", "type":
- "uint8" }, { "internalType": "address", "name": "_to",
- "type": "address" }, { "internalType": "uint256[]",
- "name": "_ids", "type": "uint256[]" }, { "internalType":
- "uint256[]", "name": "_amounts", "type": "uint256[]" }
- ], "name": "emergencyWithdraw", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [], "name": "getAllowedTokenTypes",
- "outputs": [ { "internalType": "enum LootboxInterface.RewardType[]",
- "name": "result", "type": "uint8[]" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [], "name": "getAllowedTokens",
- "outputs": [ { "internalType": "address[]", "name": "",
- "type": "address[]" } ], "stateMutability": "view", "type":
- "function" }, { "inputs": [], "name": "getAvailableSupply", "outputs":
- [ { "internalType": "uint256", "name": "", "type":
- "uint256" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [], "name": "getInventory", "outputs": [ {
- "components": [ { "internalType": "address",
- "name": "rewardToken", "type": "address" }, {
- "internalType": "enum LootboxInterface.RewardType", "name": "rewardType",
- "type": "uint8" }, { "internalType": "uint256",
- "name": "units", "type": "uint256" }, {
- "internalType": "uint256", "name": "amountPerUnit", "type":
- "uint256" }, { "internalType": "uint256",
- "name": "balance", "type": "uint256" }, {
- "components": [ { "internalType": "uint256",
- "name": "id", "type": "uint256" },
- { "internalType": "uint256", "name": "units",
- "type": "uint256" }, { "internalType":
- "uint256", "name": "amountPerUnit", "type": "uint256"
- }, { "internalType": "uint256",
- "name": "balance", "type": "uint256" }
- ], "internalType": "struct LootboxInterface.ExtraRewardInfo[]",
- "name": "extra", "type": "tuple[]" } ],
- "internalType": "struct LootboxInterface.RewardView[]", "name": "result",
- "type": "tuple[]" }, { "components": [ {
- "internalType": "address", "name": "rewardToken", "type":
- "address" }, { "internalType": "enum LootboxInterface.RewardType",
- "name": "rewardType", "type": "uint8" }, {
- "internalType": "uint256", "name": "units", "type": "uint256"
- }, { "internalType": "uint256", "name": "amountPerUnit",
- "type": "uint256" }, { "internalType": "uint256",
- "name": "balance", "type": "uint256" }, {
- "components": [ { "internalType": "uint256",
- "name": "id", "type": "uint256" },
- { "internalType": "uint256", "name": "units",
- "type": "uint256" }, { "internalType":
- "uint256", "name": "amountPerUnit", "type": "uint256"
- }, { "internalType": "uint256",
- "name": "balance", "type": "uint256" }
- ], "internalType": "struct LootboxInterface.ExtraRewardInfo[]",
- "name": "extra", "type": "tuple[]" } ],
- "internalType": "struct LootboxInterface.RewardView[]", "name": "leftoversResult",
- "type": "tuple[]" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [], "name": "getLink", "outputs": [ {
- "internalType": "address", "name": "", "type": "address"
- } ], "stateMutability": "view", "type": "function" }, { "inputs":
- [], "name": "getLootboxTypes", "outputs": [ { "internalType":
- "uint256[]", "name": "", "type": "uint256[]" } ],
- "stateMutability": "view", "type": "function" }, { "inputs": [
- { "internalType": "bytes32", "name": "role", "type":
- "bytes32" } ], "name": "getRoleAdmin", "outputs": [ {
- "internalType": "bytes32", "name": "", "type": "bytes32"
- } ], "stateMutability": "view", "type": "function" }, { "inputs":
- [ { "internalType": "bytes32", "name": "role",
- "type": "bytes32" }, { "internalType": "uint256",
- "name": "index", "type": "uint256" } ], "name": "getRoleMember",
- "outputs": [ { "internalType": "address", "name": "",
- "type": "address" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [ { "internalType": "bytes32", "name":
- "role", "type": "bytes32" } ], "name": "getRoleMemberCount",
- "outputs": [ { "internalType": "uint256", "name": "",
- "type": "uint256" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [], "name": "getSuppliers", "outputs": [ {
- "internalType": "address[]", "name": "", "type": "address[]"
- } ], "stateMutability": "view", "type": "function" }, { "inputs":
- [], "name": "getVRFV2Wrapper", "outputs": [ { "internalType":
- "address", "name": "", "type": "address" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [ { "internalType":
- "bytes32", "name": "role", "type": "bytes32" }, {
- "internalType": "address", "name": "account", "type": "address"
- } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable",
- "type": "function" }, { "inputs": [ { "internalType": "bytes32",
- "name": "role", "type": "bytes32" }, { "internalType":
- "address", "name": "account", "type": "address" } ],
- "name": "hasRole", "outputs": [ { "internalType": "bool",
- "name": "", "type": "bool" } ], "stateMutability": "view",
- "type": "function" }, { "inputs": [ { "internalType": "address",
- "name": "account", "type": "address" }, { "internalType":
- "address", "name": "operator", "type": "address" }
- ], "name": "isApprovedForAll", "outputs": [ { "internalType":
- "bool", "name": "", "type": "bool" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [], "name": "isEmergencyMode",
- "outputs": [ { "internalType": "bool", "name": "",
- "type": "bool" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "to", "type": "address" }, { "internalType": "uint256",
- "name": "id", "type": "uint256" }, { "internalType":
- "uint256", "name": "amount", "type": "uint256" },
- { "internalType": "bytes", "name": "data", "type": "bytes"
- } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable",
- "type": "function" }, { "inputs": [ { "internalType": "address",
- "name": "to", "type": "address" }, { "internalType":
- "uint256[]", "name": "ids", "type": "uint256[]" },
- { "internalType": "uint256[]", "name": "amounts", "type":
- "uint256[]" }, { "internalType": "bytes", "name":
- "data", "type": "bytes" } ], "name": "mintBatch", "outputs":
- [], "stateMutability": "nonpayable", "type": "function" }, {
- "inputs": [ { "internalType": "address[]", "name": "_tos",
- "type": "address[]" }, { "internalType": "uint256[]",
- "name": "_lootboxTypes", "type": "uint256[]" }, {
- "internalType": "uint256[]", "name": "_amounts", "type": "uint256[]"
- } ], "name": "mintToMany", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "address", "name": "", "type": "address"
- }, { "internalType": "address", "name": "", "type":
- "address" }, { "internalType": "uint256[]", "name":
- "", "type": "uint256[]" }, { "internalType": "uint256[]",
- "name": "", "type": "uint256[]" }, { "internalType":
- "bytes", "name": "", "type": "bytes" } ], "name":
- "onERC1155BatchReceived", "outputs": [ { "internalType": "bytes4",
- "name": "", "type": "bytes4" } ], "stateMutability": "nonpayable",
- "type": "function" }, { "inputs": [ { "internalType": "address",
- "name": "", "type": "address" }, { "internalType":
- "address", "name": "", "type": "address" }, {
- "internalType": "uint256", "name": "", "type": "uint256"
- }, { "internalType": "uint256", "name": "", "type":
- "uint256" }, { "internalType": "bytes", "name": "",
- "type": "bytes" } ], "name": "onERC1155Received", "outputs":
- [ { "internalType": "bytes4", "name": "", "type":
- "bytes4" } ], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "", "type": "address" }, { "internalType": "address",
- "name": "", "type": "address" }, { "internalType":
- "uint256", "name": "", "type": "uint256" }, {
- "internalType": "bytes", "name": "", "type": "bytes" }
- ], "name": "onERC721Received", "outputs": [ { "internalType":
- "bytes4", "name": "", "type": "bytes4" } ], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "uint32", "name": "_gas", "type": "uint32"
- }, { "internalType": "uint256[]", "name": "_lootIds",
- "type": "uint256[]" }, { "internalType": "uint256[]",
- "name": "_lootAmounts", "type": "uint256[]" } ], "name":
- "open", "outputs": [], "stateMutability": "payable", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "", "type": "address" } ], "name": "openerRequests",
- "outputs": [ { "internalType": "uint256", "name": "",
- "type": "uint256" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [], "name": "pause", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [], "name": "paused",
- "outputs": [ { "internalType": "bool", "name": "",
- "type": "bool" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [ { "internalType": "uint256", "name":
- "_requestId", "type": "uint256" }, { "internalType":
- "uint256[]", "name": "_randomWords", "type": "uint256[]"
- } ], "name": "rawFulfillRandomWords", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "address", "name": "_opener", "type": "address"
- } ], "name": "recoverBoxes", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "address[]", "name": "_suppliers", "type": "address[]"
- } ], "name": "removeSuppliers", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "bytes32", "name": "role", "type": "bytes32"
- }, { "internalType": "address", "name": "account",
- "type": "address" } ], "name": "renounceRole", "outputs": [],
- "stateMutability": "nonpayable", "type": "function" }, { "inputs":
- [ { "internalType": "bytes32", "name": "role",
- "type": "bytes32" }, { "internalType": "address",
- "name": "account", "type": "address" } ], "name": "revokeRole",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "from", "type": "address" }, { "internalType": "address",
- "name": "to", "type": "address" }, { "internalType":
- "uint256[]", "name": "ids", "type": "uint256[]" },
- { "internalType": "uint256[]", "name": "amounts", "type":
- "uint256[]" }, { "internalType": "bytes", "name":
- "data", "type": "bytes" } ], "name": "safeBatchTransferFrom",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "from", "type": "address" }, { "internalType": "address",
- "name": "to", "type": "address" }, { "internalType":
- "uint256", "name": "id", "type": "uint256" }, {
- "internalType": "uint256", "name": "amount", "type": "uint256"
- }, { "internalType": "bytes", "name": "data", "type":
- "bytes" } ], "name": "safeTransferFrom", "outputs": [],
- "stateMutability": "nonpayable", "type": "function" }, { "inputs":
- [ { "internalType": "address[]", "name": "_tokens",
- "type": "address[]" }, { "internalType": "uint256[]",
- "name": "_ids", "type": "uint256[]" }, { "internalType":
- "uint256[]", "name": "_amountsPerUnit", "type": "uint256[]"
- } ], "name": "setAmountsPerUnit", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "address", "name": "operator", "type": "address"
- }, { "internalType": "bool", "name": "approved",
- "type": "bool" } ], "name": "setApprovalForAll", "outputs":
- [], "stateMutability": "nonpayable", "type": "function" }, {
- "inputs": [ { "internalType": "string", "name": "_baseURI",
- "type": "string" } ], "name": "setURI", "outputs": [],
- "stateMutability": "nonpayable", "type": "function" }, { "inputs":
- [ { "internalType": "address", "name": "_from",
- "type": "address" } ], "name": "supplyAllowed", "outputs":
- [ { "internalType": "bool", "name": "", "type":
- "bool" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [ { "internalType": "bytes4", "name":
- "interfaceId", "type": "bytes4" } ], "name": "supportsInterface",
- "outputs": [ { "internalType": "bool", "name": "",
- "type": "bool" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "_token", "type": "address" } ], "name": "tokenAllowed",
- "outputs": [ { "internalType": "bool", "name": "",
- "type": "bool" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [], "name": "unitsMinted", "outputs": [ {
- "internalType": "uint256", "name": "", "type": "uint256"
- } ], "stateMutability": "view", "type": "function" }, { "inputs":
- [], "name": "unitsRequested", "outputs": [ { "internalType":
- "uint256", "name": "", "type": "uint256" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [], "name": "unitsSupply",
- "outputs": [ { "internalType": "uint256", "name": "",
- "type": "uint256" } ], "stateMutability": "view", "type": "function"
- }, { "inputs": [], "name": "unpause", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" }, { "inputs": [ {
- "internalType": "uint256", "name": "", "type": "uint256"
- } ], "name": "uri", "outputs": [ { "internalType":
- "string", "name": "", "type": "string" } ], "stateMutability":
- "view", "type": "function" }, { "inputs": [], "name": "viewCall",
- "outputs": [], "stateMutability": "nonpayable", "type": "function"
- }, { "inputs": [ { "internalType": "address", "name":
- "_token", "type": "address" }, { "internalType":
- "address payable", "name": "_to", "type": "address" },
- { "internalType": "uint256", "name": "_amount", "type":
- "uint256" } ], "name": "withdraw", "outputs": [], "stateMutability":
- "nonpayable", "type": "function" } ]'
+ ContractAbi: '[ { "inputs": [], "name": "AcceptingOnlyLINK",
+ "type": "error" }, { "inputs": [ { "internalType":
+ "bytes32", "name": "role", "type": "bytes32" }
+ ], "name": "AccessDenied", "type": "error" }, { "inputs":
+ [ { "internalType": "uint256", "name": "value",
+ "type": "uint256" } ], "name": "AmountPerUnitOverflow",
+ "type": "error" }, { "inputs": [ { "internalType":
+ "address", "name": "token", "type": "address" },
+ { "internalType": "uint256", "name": "tokenId",
+ "type": "uint256" } ], "name": "DepositStateCorruption",
+ "type": "error" }, { "inputs": [], "name": "EndOfService",
+ "type": "error" }, { "inputs": [], "name": "InsufficientFee",
+ "type": "error" }, { "inputs": [], "name": "InsufficientGas",
+ "type": "error" }, { "inputs": [], "name": "InsufficientPayment",
+ "type": "error" }, { "inputs": [ { "internalType":
+ "uint256", "name": "supply", "type": "uint256" },
+ { "internalType": "uint256", "name": "requested",
+ "type": "uint256" } ], "name": "InsufficientSupply",
+ "type": "error" }, { "inputs": [], "name": "InvalidLength",
+ "type": "error" }, { "inputs": [ { "internalType":
+ "int256", "name": "value", "type": "int256" }
+ ], "name": "InvalidLinkPrice", "type": "error" }, {
+ "inputs": [], "name": "InvalidLootboxType", "type": "error" },
+ { "inputs": [ { "internalType": "uint256",
+ "name": "requestId", "type": "uint256" } ], "name":
+ "InvalidRequestAllocation", "type": "error" }, { "inputs":
+ [], "name": "InvalidTokenAmount", "type": "error" }, {
+ "inputs": [ { "internalType": "address", "name":
+ "token", "type": "address" } ], "name": "InventoryStateCorruption",
+ "type": "error" }, { "inputs": [ { "internalType":
+ "enum LootboxInterface.RewardType", "name": "oldType", "type":
+ "uint8" }, { "internalType": "enum LootboxInterface.RewardType",
+ "name": "newType", "type": "uint8" } ], "name":
+ "ModifiedRewardType", "type": "error" }, { "inputs": [],
+ "name": "NoTokens", "type": "error" }, { "inputs": [],
+ "name": "NothingToClaim", "type": "error" }, { "inputs":
+ [], "name": "NothingToRecover", "type": "error" }, {
+ "inputs": [], "name": "OnlyThis", "type": "error" }, {
+ "inputs": [ { "internalType": "uint256", "name":
+ "requestId", "type": "uint256" } ], "name": "PendingOpenRequest",
+ "type": "error" }, { "inputs": [ { "internalType":
+ "address", "name": "token", "type": "address" }
+ ], "name": "RewardWithdrawalDenied", "type": "error" }, {
+ "inputs": [ { "internalType": "address", "name":
+ "from", "type": "address" } ], "name": "SupplyDenied",
+ "type": "error" }, { "inputs": [ { "internalType":
+ "uint256", "name": "supply", "type": "uint256" },
+ { "internalType": "uint256", "name": "unitsToGet",
+ "type": "uint256" } ], "name": "SupplyExceeded", "type":
+ "error" }, { "inputs": [ { "internalType": "address",
+ "name": "token", "type": "address" } ], "name":
+ "TokenDenied", "type": "error" }, { "inputs": [ {
+ "internalType": "uint256", "name": "currentPrice", "type":
+ "uint256" } ], "name": "UnexpectedPrice", "type": "error"
+ }, { "inputs": [ { "internalType": "enum LootboxInterface.RewardType",
+ "name": "rewardType", "type": "uint8" } ], "name":
+ "UnexpectedRewardType", "type": "error" }, { "inputs": [
+ { "internalType": "uint256", "name": "value", "type":
+ "uint256" } ], "name": "UnitsOverflow", "type": "error"
+ }, { "inputs": [], "name": "Unsupported", "type": "error"
+ }, { "inputs": [], "name": "ViewCallFailed", "type": "error"
+ }, { "inputs": [], "name": "ZeroAmount", "type": "error"
+ }, { "inputs": [ { "internalType": "address",
+ "name": "token", "type": "address" }, { "internalType":
+ "uint256", "name": "id", "type": "uint256" }
+ ], "name": "ZeroSupply", "type": "error" }, { "anonymous":
+ false, "inputs": [ { "indexed": false, "internalType":
+ "address", "name": "opener", "type": "address" },
+ { "indexed": false, "internalType": "address",
+ "name": "token", "type": "address" }, { "indexed":
+ false, "internalType": "uint256", "name": "tokenId",
+ "type": "uint256" }, { "indexed": false,
+ "internalType": "uint256", "name": "amount", "type": "uint256"
+ } ], "name": "Allocated", "type": "event" }, {
+ "anonymous": false, "inputs": [ { "indexed": false,
+ "internalType": "address", "name": "token", "type": "address"
+ }, { "indexed": false, "internalType": "uint256",
+ "name": "tokenId", "type": "uint256" }, {
+ "indexed": false, "internalType": "uint256", "name": "amountPerUnit",
+ "type": "uint256" }, { "indexed": false,
+ "internalType": "uint256", "name": "newSupply", "type": "uint256"
+ } ], "name": "AmountPerUnitSet", "type": "event" },
+ { "anonymous": false, "inputs": [ { "indexed":
+ true, "internalType": "address", "name": "account",
+ "type": "address" }, { "indexed": true, "internalType":
+ "address", "name": "operator", "type": "address"
+ }, { "indexed": false, "internalType": "bool",
+ "name": "approved", "type": "bool" } ], "name":
+ "ApprovalForAll", "type": "event" }, { "anonymous": false,
+ "inputs": [ { "indexed": false, "internalType": "address",
+ "name": "opener", "type": "address" }, {
+ "indexed": false, "internalType": "uint256", "name": "requestId",
+ "type": "uint256" } ], "name": "BoxesRecovered", "type":
+ "event" }, { "anonymous": false, "inputs": [ {
+ "indexed": false, "internalType": "address", "name": "caller",
+ "type": "address" } ], "name": "EmergencyModeEnabled",
+ "type": "event" }, { "anonymous": false, "inputs": [
+ { "indexed": false, "internalType": "address",
+ "name": "token", "type": "address" }, { "indexed":
+ false, "internalType": "enum LootboxInterface.RewardType",
+ "name": "tokenType", "type": "uint8" }, {
+ "indexed": false, "internalType": "address", "name": "to",
+ "type": "address" }, { "indexed": false,
+ "internalType": "uint256[]", "name": "ids", "type": "uint256[]"
+ }, { "indexed": false, "internalType": "uint256[]",
+ "name": "amounts", "type": "uint256[]" } ], "name":
+ "EmergencyWithdrawal", "type": "event" }, { "anonymous":
+ false, "inputs": [ { "indexed": false, "internalType":
+ "uint256", "name": "requestId", "type": "uint256"
+ }, { "indexed": false, "internalType": "bytes",
+ "name": "reason", "type": "bytes" } ], "name":
+ "OpenRequestFailed", "type": "event" }, { "anonymous": false,
+ "inputs": [ { "indexed": false, "internalType": "uint256",
+ "name": "requestId", "type": "uint256" }, {
+ "indexed": false, "internalType": "uint256", "name": "randomness",
+ "type": "uint256" } ], "name": "OpenRequestFulfilled",
+ "type": "event" }, { "anonymous": false, "inputs": [
+ { "indexed": false, "internalType": "address",
+ "name": "opener", "type": "address" }, {
+ "indexed": false, "internalType": "uint256", "name": "unitsToGet",
+ "type": "uint256" }, { "indexed": false,
+ "internalType": "uint256", "name": "requestId", "type": "uint256"
+ } ], "name": "OpenRequested", "type": "event" }, {
+ "anonymous": false, "inputs": [ { "indexed": false,
+ "internalType": "address", "name": "account", "type": "address"
+ } ], "name": "Paused", "type": "event" }, { "anonymous":
+ false, "inputs": [ { "indexed": false, "internalType":
+ "uint256", "name": "newPrice", "type": "uint256"
+ } ], "name": "PriceUpdated", "type": "event" }, {
+ "anonymous": false, "inputs": [ { "indexed": false,
+ "internalType": "address", "name": "opener", "type": "address"
+ }, { "indexed": false, "internalType": "address",
+ "name": "token", "type": "address" }, { "indexed":
+ false, "internalType": "uint256", "name": "tokenId",
+ "type": "uint256" }, { "indexed": false,
+ "internalType": "uint256", "name": "amount", "type": "uint256"
+ } ], "name": "RewardsClaimed", "type": "event" }, {
+ "anonymous": false, "inputs": [ { "indexed": true,
+ "internalType": "bytes32", "name": "role", "type": "bytes32"
+ }, { "indexed": true, "internalType": "bytes32",
+ "name": "previousAdminRole", "type": "bytes32" }, {
+ "indexed": true, "internalType": "bytes32", "name": "newAdminRole",
+ "type": "bytes32" } ], "name": "RoleAdminChanged",
+ "type": "event" }, { "anonymous": false, "inputs": [
+ { "indexed": true, "internalType": "bytes32", "name":
+ "role", "type": "bytes32" }, { "indexed":
+ true, "internalType": "address", "name": "account",
+ "type": "address" }, { "indexed": true, "internalType":
+ "address", "name": "sender", "type": "address" }
+ ], "name": "RoleGranted", "type": "event" }, { "anonymous":
+ false, "inputs": [ { "indexed": true, "internalType":
+ "bytes32", "name": "role", "type": "bytes32" },
+ { "indexed": true, "internalType": "address", "name":
+ "account", "type": "address" }, { "indexed":
+ true, "internalType": "address", "name": "sender",
+ "type": "address" } ], "name": "RoleRevoked", "type":
+ "event" }, { "anonymous": false, "inputs": [ {
+ "indexed": false, "internalType": "address", "name": "buyer",
+ "type": "address" }, { "indexed": false,
+ "internalType": "uint256", "name": "amount", "type": "uint256"
+ }, { "indexed": false, "internalType": "uint256",
+ "name": "payment", "type": "uint256" } ], "name":
+ "Sold", "type": "event" }, { "anonymous": false, "inputs":
+ [ { "indexed": false, "internalType": "address",
+ "name": "supplier", "type": "address" } ], "name":
+ "SupplierAdded", "type": "event" }, { "anonymous": false,
+ "inputs": [ { "indexed": false, "internalType": "address",
+ "name": "supplier", "type": "address" } ], "name":
+ "SupplierRemoved", "type": "event" }, { "anonymous": false,
+ "inputs": [ { "indexed": false, "internalType": "address",
+ "name": "token", "type": "address" } ], "name":
+ "TokenAdded", "type": "event" }, { "anonymous": false,
+ "inputs": [ { "indexed": true, "internalType": "address",
+ "name": "operator", "type": "address" }, {
+ "indexed": true, "internalType": "address", "name": "from",
+ "type": "address" }, { "indexed": true, "internalType":
+ "address", "name": "to", "type": "address" },
+ { "indexed": false, "internalType": "uint256[]",
+ "name": "ids", "type": "uint256[]" }, { "indexed":
+ false, "internalType": "uint256[]", "name": "values",
+ "type": "uint256[]" } ], "name": "TransferBatch", "type":
+ "event" }, { "anonymous": false, "inputs": [ {
+ "indexed": true, "internalType": "address", "name": "operator",
+ "type": "address" }, { "indexed": true, "internalType":
+ "address", "name": "from", "type": "address" },
+ { "indexed": true, "internalType": "address", "name":
+ "to", "type": "address" }, { "indexed": false,
+ "internalType": "uint256", "name": "id", "type": "uint256"
+ }, { "indexed": false, "internalType": "uint256",
+ "name": "value", "type": "uint256" } ], "name":
+ "TransferSingle", "type": "event" }, { "anonymous": false,
+ "inputs": [ { "indexed": false, "internalType": "string",
+ "name": "value", "type": "string" }, { "indexed":
+ true, "internalType": "uint256", "name": "id",
+ "type": "uint256" } ], "name": "URI", "type": "event"
+ }, { "anonymous": false, "inputs": [ { "indexed":
+ false, "internalType": "address", "name": "account",
+ "type": "address" } ], "name": "Unpaused", "type":
+ "event" }, { "anonymous": false, "inputs": [ {
+ "indexed": false, "internalType": "address", "name": "token",
+ "type": "address" }, { "indexed": false,
+ "internalType": "address", "name": "to", "type": "address"
+ }, { "indexed": false, "internalType": "uint256",
+ "name": "amount", "type": "uint256" } ], "name":
+ "Withdraw", "type": "event" }, { "inputs": [], "name":
+ "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType":
+ "bytes32", "name": "", "type": "bytes32" }
+ ], "stateMutability": "view", "type": "function" }, {
+ "inputs": [], "name": "FACTORY", "outputs": [ {
+ "internalType": "contract ILootboxFactory", "name": "", "type":
+ "address" } ], "stateMutability": "view", "type": "function"
+ }, { "inputs": [], "name": "LINK_ETH_FEED", "outputs":
+ [ { "internalType": "contract AggregatorV3Interface",
+ "name": "", "type": "address" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [], "name":
+ "MINTER_ROLE", "outputs": [ { "internalType": "bytes32",
+ "name": "", "type": "bytes32" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [], "name":
+ "PAUSER_ROLE", "outputs": [ { "internalType": "bytes32",
+ "name": "", "type": "bytes32" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [ {
+ "internalType": "uint256", "name": "_requestId", "type":
+ "uint256" }, { "internalType": "uint256",
+ "name": "_randomness", "type": "uint256" } ], "name":
+ "_allocateRewards", "outputs": [], "stateMutability": "nonpayable",
+ "type": "function" }, { "inputs": [ { "internalType":
+ "address[]", "name": "_suppliers", "type": "address[]"
+ } ], "name": "addSuppliers", "outputs": [], "stateMutability":
+ "nonpayable", "type": "function" }, { "inputs": [
+ { "internalType": "address[]", "name": "_tokens",
+ "type": "address[]" } ], "name": "addTokens", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "address",
+ "name": "account", "type": "address" }, {
+ "internalType": "uint256", "name": "id", "type": "uint256"
+ } ], "name": "balanceOf", "outputs": [ {
+ "internalType": "uint256", "name": "", "type": "uint256"
+ } ], "stateMutability": "view", "type": "function" },
+ { "inputs": [ { "internalType": "address[]",
+ "name": "accounts", "type": "address[]" }, {
+ "internalType": "uint256[]", "name": "ids", "type": "uint256[]"
+ } ], "name": "balanceOfBatch", "outputs": [ {
+ "internalType": "uint256[]", "name": "", "type": "uint256[]"
+ } ], "stateMutability": "view", "type": "function" },
+ { "inputs": [ { "internalType": "address",
+ "name": "account", "type": "address" }, {
+ "internalType": "uint256", "name": "id", "type": "uint256"
+ }, { "internalType": "uint256", "name": "value",
+ "type": "uint256" } ], "name": "burn", "outputs": [],
+ "stateMutability": "nonpayable", "type": "function" }, {
+ "inputs": [ { "internalType": "address", "name":
+ "account", "type": "address" }, { "internalType":
+ "uint256[]", "name": "ids", "type": "uint256[]" },
+ { "internalType": "uint256[]", "name": "values",
+ "type": "uint256[]" } ], "name": "burnBatch", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "uint256",
+ "name": "_amount", "type": "uint256" }, {
+ "internalType": "uint256", "name": "_maxPrice", "type": "uint256"
+ } ], "name": "buy", "outputs": [], "stateMutability":
+ "payable", "type": "function" }, { "inputs": [ {
+ "internalType": "uint32", "name": "_gas", "type": "uint32"
+ }, { "internalType": "uint256", "name": "_gasPriceInWei",
+ "type": "uint256" }, { "internalType": "uint256",
+ "name": "_units", "type": "uint256" } ], "name":
+ "calculateOpenPrice", "outputs": [ { "internalType":
+ "uint256", "name": "", "type": "uint256" }
+ ], "stateMutability": "view", "type": "function" }, {
+ "inputs": [ { "internalType": "address", "name":
+ "_opener", "type": "address" } ], "name": "canClaimRewards",
+ "outputs": [ { "internalType": "bool", "name": "",
+ "type": "bool" } ], "stateMutability": "view", "type":
+ "function" }, { "inputs": [ { "internalType":
+ "address", "name": "_opener", "type": "address" }
+ ], "name": "claimRewards", "outputs": [], "stateMutability":
+ "nonpayable", "type": "function" }, { "inputs": [
+ { "internalType": "address", "name": "_token",
+ "type": "address" }, { "internalType": "enum LootboxInterface.RewardType",
+ "name": "_type", "type": "uint8" }, { "internalType":
+ "address", "name": "_to", "type": "address" },
+ { "internalType": "uint256[]", "name": "_ids",
+ "type": "uint256[]" }, { "internalType": "uint256[]",
+ "name": "_amounts", "type": "uint256[]" } ], "name":
+ "emergencyWithdraw", "outputs": [], "stateMutability": "nonpayable",
+ "type": "function" }, { "inputs": [], "name": "getAllowedTokenTypes",
+ "outputs": [ { "internalType": "enum LootboxInterface.RewardType[]",
+ "name": "result", "type": "uint8[]" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [], "name":
+ "getAllowedTokens", "outputs": [ { "internalType": "address[]",
+ "name": "", "type": "address[]" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [], "name":
+ "getAvailableSupply", "outputs": [ { "internalType":
+ "uint256", "name": "", "type": "uint256" }
+ ], "stateMutability": "view", "type": "function" }, {
+ "inputs": [], "name": "getInventory", "outputs": [ {
+ "components": [ { "internalType": "address",
+ "name": "rewardToken", "type": "address" },
+ { "internalType": "enum LootboxInterface.RewardType",
+ "name": "rewardType", "type": "uint8" },
+ { "internalType": "uint256", "name": "units",
+ "type": "uint256" }, { "internalType":
+ "uint256", "name": "amountPerUnit", "type": "uint256"
+ }, { "internalType": "uint256", "name":
+ "balance", "type": "uint256" }, {
+ "components": [ { "internalType": "uint256",
+ "name": "id", "type": "uint256" },
+ { "internalType": "uint256", "name": "units",
+ "type": "uint256" }, { "internalType":
+ "uint256", "name": "amountPerUnit", "type":
+ "uint256" }, { "internalType":
+ "uint256", "name": "balance", "type": "uint256"
+ } ], "internalType": "struct LootboxInterface.ExtraRewardInfo[]",
+ "name": "extra", "type": "tuple[]" } ],
+ "internalType": "struct LootboxInterface.RewardView[]", "name": "result",
+ "type": "tuple[]" }, { "components": [
+ { "internalType": "address", "name": "rewardToken",
+ "type": "address" }, { "internalType":
+ "enum LootboxInterface.RewardType", "name": "rewardType",
+ "type": "uint8" }, { "internalType": "uint256",
+ "name": "units", "type": "uint256" }, {
+ "internalType": "uint256", "name": "amountPerUnit",
+ "type": "uint256" }, { "internalType":
+ "uint256", "name": "balance", "type": "uint256"
+ }, { "components": [ {
+ "internalType": "uint256", "name": "id",
+ "type": "uint256" }, { "internalType":
+ "uint256", "name": "units", "type": "uint256"
+ }, { "internalType": "uint256",
+ "name": "amountPerUnit", "type": "uint256"
+ }, { "internalType": "uint256",
+ "name": "balance", "type": "uint256" }
+ ], "internalType": "struct LootboxInterface.ExtraRewardInfo[]",
+ "name": "extra", "type": "tuple[]" } ],
+ "internalType": "struct LootboxInterface.RewardView[]", "name": "leftoversResult",
+ "type": "tuple[]" } ], "stateMutability": "view", "type":
+ "function" }, { "inputs": [], "name": "getLink", "outputs":
+ [ { "internalType": "address", "name": "",
+ "type": "address" } ], "stateMutability": "view", "type":
+ "function" }, { "inputs": [], "name": "getLinkPrice",
+ "outputs": [ { "internalType": "uint256", "name":
+ "", "type": "uint256" } ], "stateMutability": "view",
+ "type": "function" }, { "inputs": [], "name": "getLootboxTypes",
+ "outputs": [ { "internalType": "uint256[]", "name":
+ "", "type": "uint256[]" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [ {
+ "internalType": "address", "name": "_opener", "type": "address"
+ } ], "name": "getOpenerRequestDetails", "outputs": [
+ { "components": [ { "internalType": "address",
+ "name": "opener", "type": "address" },
+ { "internalType": "uint96", "name": "unitsToGet",
+ "type": "uint96" }, { "internalType": "uint256[]",
+ "name": "lootIds", "type": "uint256[]" },
+ { "internalType": "uint256[]", "name": "lootAmounts",
+ "type": "uint256[]" } ], "internalType": "struct
+ LootboxInterface.Request", "name": "request", "type": "tuple"
+ } ], "stateMutability": "view", "type": "function" },
+ { "inputs": [], "name": "getPrice", "outputs": [ {
+ "internalType": "uint256", "name": "", "type": "uint256"
+ } ], "stateMutability": "view", "type": "function" },
+ { "inputs": [ { "internalType": "bytes32",
+ "name": "role", "type": "bytes32" } ], "name":
+ "getRoleAdmin", "outputs": [ { "internalType": "bytes32",
+ "name": "", "type": "bytes32" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [ {
+ "internalType": "bytes32", "name": "role", "type": "bytes32"
+ }, { "internalType": "uint256", "name": "index",
+ "type": "uint256" } ], "name": "getRoleMember", "outputs":
+ [ { "internalType": "address", "name": "",
+ "type": "address" } ], "stateMutability": "view", "type":
+ "function" }, { "inputs": [ { "internalType":
+ "bytes32", "name": "role", "type": "bytes32" }
+ ], "name": "getRoleMemberCount", "outputs": [ {
+ "internalType": "uint256", "name": "", "type": "uint256"
+ } ], "stateMutability": "view", "type": "function" },
+ { "inputs": [], "name": "getSuppliers", "outputs": [
+ { "internalType": "address[]", "name": "", "type":
+ "address[]" } ], "stateMutability": "view", "type":
+ "function" }, { "inputs": [], "name": "getVRFV2Wrapper",
+ "outputs": [ { "internalType": "address", "name":
+ "", "type": "address" } ], "stateMutability": "view",
+ "type": "function" }, { "inputs": [ { "internalType":
+ "bytes32", "name": "role", "type": "bytes32" },
+ { "internalType": "address", "name": "account",
+ "type": "address" } ], "name": "grantRole", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "bytes32",
+ "name": "role", "type": "bytes32" }, { "internalType":
+ "address", "name": "account", "type": "address" }
+ ], "name": "hasRole", "outputs": [ { "internalType":
+ "bool", "name": "", "type": "bool" } ],
+ "stateMutability": "view", "type": "function" }, { "inputs":
+ [ { "internalType": "address", "name": "account",
+ "type": "address" }, { "internalType": "address",
+ "name": "operator", "type": "address" } ], "name":
+ "isApprovedForAll", "outputs": [ { "internalType": "bool",
+ "name": "", "type": "bool" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [], "name":
+ "isEmergencyMode", "outputs": [ { "internalType": "bool",
+ "name": "", "type": "bool" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [ {
+ "internalType": "address", "name": "to", "type": "address"
+ }, { "internalType": "uint256", "name": "id",
+ "type": "uint256" }, { "internalType": "uint256",
+ "name": "amount", "type": "uint256" }, {
+ "internalType": "bytes", "name": "data", "type": "bytes"
+ } ], "name": "mint", "outputs": [], "stateMutability":
+ "nonpayable", "type": "function" }, { "inputs": [
+ { "internalType": "address", "name": "to", "type":
+ "address" }, { "internalType": "uint256[]",
+ "name": "ids", "type": "uint256[]" }, { "internalType":
+ "uint256[]", "name": "amounts", "type": "uint256[]"
+ }, { "internalType": "bytes", "name": "data",
+ "type": "bytes" } ], "name": "mintBatch", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "address[]",
+ "name": "_tos", "type": "address[]" }, {
+ "internalType": "uint256[]", "name": "_lootboxTypes", "type":
+ "uint256[]" }, { "internalType": "uint256[]",
+ "name": "_amounts", "type": "uint256[]" } ], "name":
+ "mintToMany", "outputs": [], "stateMutability": "nonpayable",
+ "type": "function" }, { "inputs": [ { "internalType":
+ "address", "name": "", "type": "address" },
+ { "internalType": "address", "name": "", "type":
+ "address" }, { "internalType": "uint256[]",
+ "name": "", "type": "uint256[]" }, { "internalType":
+ "uint256[]", "name": "", "type": "uint256[]" },
+ { "internalType": "bytes", "name": "", "type":
+ "bytes" } ], "name": "onERC1155BatchReceived", "outputs":
+ [ { "internalType": "bytes4", "name": "",
+ "type": "bytes4" } ], "stateMutability": "nonpayable",
+ "type": "function" }, { "inputs": [ { "internalType":
+ "address", "name": "", "type": "address" },
+ { "internalType": "address", "name": "", "type":
+ "address" }, { "internalType": "uint256",
+ "name": "", "type": "uint256" }, { "internalType":
+ "uint256", "name": "", "type": "uint256" },
+ { "internalType": "bytes", "name": "", "type":
+ "bytes" } ], "name": "onERC1155Received", "outputs":
+ [ { "internalType": "bytes4", "name": "",
+ "type": "bytes4" } ], "stateMutability": "nonpayable",
+ "type": "function" }, { "inputs": [ { "internalType":
+ "address", "name": "", "type": "address" },
+ { "internalType": "address", "name": "", "type":
+ "address" }, { "internalType": "uint256",
+ "name": "", "type": "uint256" }, { "internalType":
+ "bytes", "name": "", "type": "bytes" } ],
+ "name": "onERC721Received", "outputs": [ { "internalType":
+ "bytes4", "name": "", "type": "bytes4" } ],
+ "stateMutability": "nonpayable", "type": "function" }, {
+ "inputs": [ { "internalType": "uint32", "name": "_gas",
+ "type": "uint32" }, { "internalType": "uint256[]",
+ "name": "_lootIds", "type": "uint256[]" }, {
+ "internalType": "uint256[]", "name": "_lootAmounts", "type":
+ "uint256[]" } ], "name": "open", "outputs": [],
+ "stateMutability": "payable", "type": "function" }, { "inputs":
+ [ { "internalType": "address", "name": "",
+ "type": "address" } ], "name": "openerRequests", "outputs":
+ [ { "internalType": "uint256", "name": "",
+ "type": "uint256" } ], "stateMutability": "view", "type":
+ "function" }, { "inputs": [], "name": "pause", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [], "name": "paused", "outputs": [ {
+ "internalType": "bool", "name": "", "type": "bool"
+ } ], "stateMutability": "view", "type": "function" },
+ { "inputs": [ { "internalType": "uint256",
+ "name": "_requestId", "type": "uint256" }, {
+ "internalType": "uint256[]", "name": "_randomWords", "type":
+ "uint256[]" } ], "name": "rawFulfillRandomWords", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "address",
+ "name": "_opener", "type": "address" } ], "name":
+ "recoverBoxes", "outputs": [], "stateMutability": "nonpayable",
+ "type": "function" }, { "inputs": [ { "internalType":
+ "address[]", "name": "_suppliers", "type": "address[]"
+ } ], "name": "removeSuppliers", "outputs": [], "stateMutability":
+ "nonpayable", "type": "function" }, { "inputs": [
+ { "internalType": "bytes32", "name": "role", "type":
+ "bytes32" }, { "internalType": "address",
+ "name": "account", "type": "address" } ], "name":
+ "renounceRole", "outputs": [], "stateMutability": "nonpayable",
+ "type": "function" }, { "inputs": [ { "internalType":
+ "bytes32", "name": "role", "type": "bytes32" },
+ { "internalType": "address", "name": "account",
+ "type": "address" } ], "name": "revokeRole", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "address",
+ "name": "from", "type": "address" }, { "internalType":
+ "address", "name": "to", "type": "address" },
+ { "internalType": "uint256[]", "name": "ids", "type":
+ "uint256[]" }, { "internalType": "uint256[]",
+ "name": "amounts", "type": "uint256[]" }, {
+ "internalType": "bytes", "name": "data", "type": "bytes"
+ } ], "name": "safeBatchTransferFrom", "outputs": [],
+ "stateMutability": "nonpayable", "type": "function" }, {
+ "inputs": [ { "internalType": "address", "name":
+ "from", "type": "address" }, { "internalType":
+ "address", "name": "to", "type": "address" },
+ { "internalType": "uint256", "name": "id", "type":
+ "uint256" }, { "internalType": "uint256",
+ "name": "amount", "type": "uint256" }, {
+ "internalType": "bytes", "name": "data", "type": "bytes"
+ } ], "name": "safeTransferFrom", "outputs": [], "stateMutability":
+ "nonpayable", "type": "function" }, { "inputs": [
+ { "internalType": "address[]", "name": "_tokens",
+ "type": "address[]" }, { "internalType": "uint256[]",
+ "name": "_ids", "type": "uint256[]" }, {
+ "internalType": "uint256[]", "name": "_amountsPerUnit", "type":
+ "uint256[]" } ], "name": "setAmountsPerUnit", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "address",
+ "name": "operator", "type": "address" }, {
+ "internalType": "bool", "name": "approved", "type": "bool"
+ } ], "name": "setApprovalForAll", "outputs": [], "stateMutability":
+ "nonpayable", "type": "function" }, { "inputs": [
+ { "internalType": "uint256", "name": "_newPrice",
+ "type": "uint256" } ], "name": "setPrice", "outputs":
+ [], "stateMutability": "nonpayable", "type": "function" },
+ { "inputs": [ { "internalType": "string", "name":
+ "_baseURI", "type": "string" } ], "name": "setURI",
+ "outputs": [], "stateMutability": "nonpayable", "type": "function"
+ }, { "inputs": [ { "internalType": "address",
+ "name": "_from", "type": "address" } ], "name":
+ "supplyAllowed", "outputs": [ { "internalType": "bool",
+ "name": "", "type": "bool" } ], "stateMutability":
+ "view", "type": "function" }, { "inputs": [ {
+ "internalType": "bytes4", "name": "interfaceId", "type":
+ "bytes4" } ], "name": "supportsInterface", "outputs":
+ [ { "internalType": "bool", "name": "",
+ "type": "bool" } ], "stateMutability": "view", "type":
+ "function" }, { "inputs": [ { "internalType":
+ "address", "name": "_token", "type": "address" }
+ ], "name": "tokenAllowed", "outputs": [ { "internalType":
+ "bool", "name": "", "type": "bool" } ],
+ "stateMutability": "view", "type": "function" }, { "inputs":
+ [], "name": "unitsMinted", "outputs": [ { "internalType":
+ "uint256", "name": "", "type": "uint256" }
+ ], "stateMutability": "view", "type": "function" }, {
+ "inputs": [], "name": "unitsRequested", "outputs": [ {
+ "internalType": "uint256", "name": "", "type": "uint256"
+ } ], "stateMutability": "view", "type": "function" },
+ { "inputs": [], "name": "unitsSupply", "outputs": [
+ { "internalType": "uint256", "name": "", "type":
+ "uint256" } ], "stateMutability": "view", "type": "function"
+ }, { "inputs": [], "name": "unpause", "outputs": [],
+ "stateMutability": "nonpayable", "type": "function" }, {
+ "inputs": [ { "internalType": "uint256", "name":
+ "", "type": "uint256" } ], "name": "uri",
+ "outputs": [ { "internalType": "string", "name":
+ "", "type": "string" } ], "stateMutability": "view",
+ "type": "function" }, { "inputs": [], "name": "viewCall",
+ "outputs": [], "stateMutability": "nonpayable", "type": "function"
+ }, { "inputs": [ { "internalType": "address",
+ "name": "_token", "type": "address" }, {
+ "internalType": "address payable", "name": "_to", "type":
+ "address" }, { "internalType": "uint256",
+ "name": "_amount", "type": "uint256" } ], "name":
+ "withdraw", "outputs": [], "stateMutability": "nonpayable",
+ "type": "function" } ]'
--- !u!4 &1000197754
Transform:
m_ObjectHideFlags: 0
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/LootBoxes.unity.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/SampleLootboxes.unity.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/LootBoxes.unity.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/SampleLootboxes.unity.meta
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scriptable Objects.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scriptable Objects.meta
new file mode 100644
index 000000000..dac069a70
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scriptable Objects.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 78610598cf35b472ca7b7a2a16a05bff
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxPrefabSet.asset b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scriptable Objects/LootBoxPrefabSet.asset
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxPrefabSet.asset
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scriptable Objects/LootBoxPrefabSet.asset
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxPrefabSet.asset.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scriptable Objects/LootBoxPrefabSet.asset.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxPrefabSet.asset.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scriptable Objects/LootBoxPrefabSet.asset.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/TempLauncher.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/ChainlinkLootboxSampleLauncher.cs
similarity index 85%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/TempLauncher.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/ChainlinkLootboxSampleLauncher.cs
index fe13d9505..476bad328 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/TempLauncher.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/ChainlinkLootboxSampleLauncher.cs
@@ -1,22 +1,22 @@
-using Chainsafe.Gaming.Chainlink;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using Chainlink.LootBoxes.Scene;
+using Chainsafe.Gaming.Chainlink;
using ChainSafe.Gaming.Debugging;
using ChainSafe.Gaming.Evm.JsonRpc;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using ChainSafe.Gaming.Wallets;
using ChainSafe.Gaming.Web3;
using ChainSafe.Gaming.Web3.Build;
using ChainSafe.Gaming.Web3.Unity;
-using LootBoxes.Scene;
using Microsoft.Extensions.DependencyInjection;
using UnityEngine;
-namespace LootBoxes
+namespace Chainlink.LootBoxes
{
///
/// Initializes Web3 using local RPC node and node's user
///
- public class TempLauncher : MonoBehaviour
+ public class ChainlinkLootboxSampleLauncher : MonoBehaviour
{
public LootBoxScene lootBoxScene;
public string ContractAbi;
@@ -44,7 +44,7 @@ private async void Awake()
services.Debug().UseJsonRpcWallet(new JsonRpcWalletConfig { AccountIndex = 2 });
services.UseChainlinkLootboxService(new LootboxServiceConfig
{
- ContractAddress = "0x46E334e90454aDDF311Cd75D4Ae19e2fA06285Ff",
+ ContractAddress = "0x1993e2dD323B5dcBd8b52dB7d370bC36D280424B",
ContractAbi = ContractAbi
});
services.AddSingleton();
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/TempLauncher.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/ChainlinkLootboxSampleLauncher.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/TempLauncher.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/ChainlinkLootboxSampleLauncher.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Erc1155MetaDataReader.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Erc1155MetaDataReader.cs
similarity index 97%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Erc1155MetaDataReader.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Erc1155MetaDataReader.cs
index d11dd6907..e347817ce 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Erc1155MetaDataReader.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Erc1155MetaDataReader.cs
@@ -4,7 +4,7 @@
using System.Threading.Tasks;
using ChainSafe.Gaming.Web3.Environment;
-namespace LootBoxes
+namespace Chainlink.LootBoxes
{
public class Erc1155MetaData
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Erc1155MetaDataReader.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Erc1155MetaDataReader.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Erc1155MetaDataReader.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Erc1155MetaDataReader.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Menues.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Menues.cs
similarity index 78%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Menues.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Menues.cs
index 3afdd6012..f0e87b05d 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Menues.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Menues.cs
@@ -1,4 +1,4 @@
-namespace LootBoxes
+namespace Chainlink.LootBoxes
{
public static class Menues
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Menues.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Menues.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Menues.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Menues.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Blackout.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Blackout.cs
similarity index 98%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Blackout.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Blackout.cs
index cdb293d69..6c96e1aef 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Blackout.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Blackout.cs
@@ -4,7 +4,7 @@
using UnityEngine;
using UnityEngine.UI;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class Blackout : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Blackout.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Blackout.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Blackout.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Blackout.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/FadeObject.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/FadeObject.cs
similarity index 96%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/FadeObject.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/FadeObject.cs
index caf8d8fb3..644ff26d7 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/FadeObject.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/FadeObject.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
[RequireComponent(typeof(Renderer))]
[ExecuteInEditMode]
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/FadeObject.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/FadeObject.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/FadeObject.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/FadeObject.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxScene.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxScene.cs
similarity index 94%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxScene.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxScene.cs
index 9f02b3464..7509250c1 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxScene.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxScene.cs
@@ -1,11 +1,11 @@
using System.Collections.Generic;
using System.Threading.Tasks;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using Chainlink.LootBoxes.Scene.StageItems;
using ChainSafe.Gaming.Evm.Contracts;
-using LootBoxes.Scene.StageItems;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class LootBoxScene : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxScene.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxScene.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxScene.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxScene.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxSceneException.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxSceneException.cs
similarity index 86%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxSceneException.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxSceneException.cs
index 10d0946c4..6b1e22cb9 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxSceneException.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxSceneException.cs
@@ -1,6 +1,6 @@
using System;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class LootBoxSceneException : Exception
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxSceneException.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxSceneException.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBoxSceneException.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/LootBoxSceneException.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBox.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Lootbox.cs
similarity index 88%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBox.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Lootbox.cs
index 6e5a15cc1..d373a7dcf 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/LootBox.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Lootbox.cs
@@ -1,15 +1,15 @@
using System;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
- public class LootBox : MonoBehaviour
+ public class Lootbox : MonoBehaviour
{
public Animator animator;
public ParticleSystem claimedFx;
private bool _selected;
- public event Action Clicked;
+ public event Action Clicked;
public bool Selected
{
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Lootbox.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Lootbox.cs.meta
new file mode 100644
index 000000000..48926b745
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Lootbox.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e940c460d2de4fe0961e29ff4b72e57c
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/CoinReward.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/CoinReward.cs
similarity index 79%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/CoinReward.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/CoinReward.cs
index f5e70cf7a..2ec66b0bb 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/CoinReward.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/CoinReward.cs
@@ -1,6 +1,6 @@
using TMPro;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class CoinReward : Reward
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/CoinReward.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/CoinReward.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/CoinReward.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/CoinReward.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs
similarity index 94%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs
index 8d8f5c266..66ed17fe0 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs
@@ -1,13 +1,13 @@
using System;
using System.Threading.Tasks;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using Chainlink.LootBoxes.Scene.StageItems;
using ChainSafe.Gaming.Evm.Contracts;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using ChainSafe.Gaming.UnityPackage;
-using LootBoxes.Scene.StageItems;
using UnityEngine;
using UnityEngine.Networking;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class Erc1155NftRewardFactory : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155NftRewardFactory.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155RewardFactory.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155RewardFactory.cs
similarity index 93%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155RewardFactory.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155RewardFactory.cs
index cc2b79e3d..5ffb89b66 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155RewardFactory.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155RewardFactory.cs
@@ -1,12 +1,12 @@
using System;
using System.Threading.Tasks;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using Chainlink.LootBoxes.Scene.StageItems;
using ChainSafe.Gaming.Evm.Contracts;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using ChainSafe.Gaming.UnityPackage;
-using LootBoxes.Scene.StageItems;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class Erc1155RewardFactory : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155RewardFactory.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155RewardFactory.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc1155RewardFactory.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc1155RewardFactory.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc20RewardFactory.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc20RewardFactory.cs
similarity index 93%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc20RewardFactory.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc20RewardFactory.cs
index 6af0f9b28..e6946c83a 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc20RewardFactory.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc20RewardFactory.cs
@@ -2,13 +2,13 @@
using System.Globalization;
using System.Numerics;
using System.Threading.Tasks;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using Chainlink.LootBoxes.Scene.StageItems;
using ChainSafe.Gaming.Evm.Contracts;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using ChainSafe.Gaming.UnityPackage;
-using LootBoxes.Scene.StageItems;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class Erc20RewardFactory : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc20RewardFactory.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc20RewardFactory.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc20RewardFactory.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc20RewardFactory.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs
similarity index 90%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs
index b3198c27a..221937978 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs
@@ -1,12 +1,12 @@
using System;
using System.Threading.Tasks;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using Chainlink.LootBoxes.Scene.StageItems;
using ChainSafe.Gaming.Evm.Contracts;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using ChainSafe.Gaming.UnityPackage;
-using LootBoxes.Scene.StageItems;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class Erc721NftRewardFactory : MonoBehaviour
{
@@ -14,11 +14,6 @@ public class Erc721NftRewardFactory : MonoBehaviour
private IContractBuilder contractBuilder;
- public void Configure(IContractBuilder contractBuilder)
- {
- this.contractBuilder = contractBuilder;
- }
-
private void OnValidate()
{
if (NftRewardItemPrefab && NftRewardItemPrefab.Reward is not NftReward)
@@ -28,6 +23,11 @@ private void OnValidate()
}
}
+ public void Configure(IContractBuilder contractBuilder)
+ {
+ this.contractBuilder = contractBuilder;
+ }
+
public async Task Create(Erc721Reward data)
{
var item = Instantiate(NftRewardItemPrefab);
@@ -51,7 +51,7 @@ public async Task Create(Erc721Reward data)
private Texture DownloadImage()
{
- throw new System.NotImplementedException();
+ throw new NotImplementedException();
}
}
}
\ No newline at end of file
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Erc721NftRewardFactory.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/NftReward.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/NftReward.cs
similarity index 75%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/NftReward.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/NftReward.cs
index 9a9cb5eb7..8103eb075 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/NftReward.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/NftReward.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class NftReward : Reward
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/NftReward.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/NftReward.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/NftReward.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/NftReward.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Reward.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Reward.cs
similarity index 70%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Reward.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Reward.cs
index 5f84dbf0a..673295e87 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Reward.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Reward.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public abstract class Reward : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Reward.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Reward.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/Reward.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/Reward.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/RewardStageItemSpawner.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/RewardStageItemSpawner.cs
similarity index 92%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/RewardStageItemSpawner.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/RewardStageItemSpawner.cs
index 7280f76ef..b4ff06242 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/RewardStageItemSpawner.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/RewardStageItemSpawner.cs
@@ -1,12 +1,12 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using Chainlink.LootBoxes.Scene.StageItems;
using ChainSafe.Gaming.Evm.Contracts;
-using LootBoxes.Scene.StageItems;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class RewardStageItemSpawner : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/RewardStageItemSpawner.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/RewardStageItemSpawner.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Rewards/RewardStageItemSpawner.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Rewards/RewardStageItemSpawner.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Stage.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Stage.cs
similarity index 96%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Stage.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Stage.cs
index 20120f374..00be65914 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Stage.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Stage.cs
@@ -1,8 +1,8 @@
using System.Collections.Generic;
-using LootBoxes.Scene.StageItems;
+using Chainlink.LootBoxes.Scene.StageItems;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class Stage : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Stage.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Stage.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/Stage.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/Stage.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageCamera.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageCamera.cs
similarity index 98%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageCamera.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageCamera.cs
index c97b16df2..a4e13720f 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageCamera.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageCamera.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class StageCamera : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageCamera.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageCamera.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageCamera.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageCamera.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageFocus.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageFocus.cs
similarity index 95%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageFocus.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageFocus.cs
index a35ed39ff..0b88934f5 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageFocus.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageFocus.cs
@@ -1,9 +1,9 @@
using System;
using System.Linq;
-using LootBoxes.Scene.StageItems;
+using Chainlink.LootBoxes.Scene.StageItems;
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class StageFocus : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageFocus.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageFocus.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageFocus.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageFocus.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs
similarity index 87%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs
index fccdb76ad..537d7904e 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs
@@ -1,7 +1,7 @@
using UnityEngine;
using Object = UnityEngine.Object;
-namespace LootBoxes.Scene.StageItems
+namespace Chainlink.LootBoxes.Scene.StageItems
{
public class LootBoxStageItemFactory
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxStageItemFactory.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs
similarity index 96%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs
index 61ddaaada..e2ba85be8 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs
@@ -3,7 +3,7 @@
using System.Linq;
using UnityEngine;
-namespace LootBoxes.Scene.StageItems
+namespace Chainlink.LootBoxes.Scene.StageItems
{
[CreateAssetMenu(menuName = Menues.Root + "LootBoxPrefabSet", fileName = "LootBoxPrefabSet", order = 0)]
public class LootBoxesFrontEndDataSet : ScriptableObject
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/LootBoxesFrontEndDataSet.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/StageItem.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/StageItem.cs
similarity index 70%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/StageItem.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/StageItem.cs
index ce4b60660..e00e6c6ae 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/StageItem.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/StageItem.cs
@@ -1,10 +1,11 @@
using UnityEngine;
+using UnityEngine.Serialization;
-namespace LootBoxes.Scene.StageItems
+namespace Chainlink.LootBoxes.Scene.StageItems
{
public class StageItem : MonoBehaviour
{
- public LootBox LootBox;
+ [FormerlySerializedAs("LootBox")] public Lootbox lootbox;
public Reward Reward;
public Light SpotLight;
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/StageItem.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/StageItem.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/StageItems/StageItem.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/StageItems/StageItem.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/EmptyState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/EmptyState.cs
similarity index 88%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/EmptyState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/EmptyState.cs
index 67a96defd..a3ac564fd 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/EmptyState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/EmptyState.cs
@@ -1,4 +1,4 @@
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class EmptyState : LootBoxSceneState
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/EmptyState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/EmptyState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/EmptyState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/EmptyState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/FadeState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/FadeState.cs
similarity index 95%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/FadeState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/FadeState.cs
index b7bab2737..64d9e61bc 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/FadeState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/FadeState.cs
@@ -1,7 +1,7 @@
using System;
using System.Threading.Tasks;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public enum FadeGoal
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/FadeState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/FadeState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/FadeState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/FadeState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesState.cs
similarity index 92%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesState.cs
index ab7d0e39c..0f52bb4c4 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesState.cs
@@ -1,10 +1,10 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using LootBoxes.Scene.StageItems;
+using Chainlink.LootBoxes.Scene.StageItems;
using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class LoadLootBoxesState : LootBoxSceneState
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesToClaim.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesToClaim.cs
similarity index 81%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesToClaim.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesToClaim.cs
index c865c78ea..3519bf0b5 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesToClaim.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesToClaim.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
-using LootBoxes.Scene.StageItems;
+using Chainlink.LootBoxes.Scene.StageItems;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class LoadLootBoxesToClaim : LootBoxSceneState
{
@@ -11,7 +11,7 @@ protected override void OnLootBoxSceneStateEnter()
var stageItem = Context.LootBoxStageItemFactory.Create(prefab, 0);
Context.stage.SetItems(new List { stageItem });
Context.stageFocus.Focus(0, immediately: true);
- stageItem.LootBox.PlayOpening();
+ stageItem.lootbox.PlayOpening();
Context.animator.SetTrigger("LootBoxesLoaded");
}
}
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesToClaim.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesToClaim.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadLootBoxesToClaim.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadLootBoxesToClaim.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadOpeningLootBoxes.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadOpeningLootBoxes.cs
similarity index 79%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadOpeningLootBoxes.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadOpeningLootBoxes.cs
index 211be978f..d39036a85 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadOpeningLootBoxes.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadOpeningLootBoxes.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
-using LootBoxes.Scene.StageItems;
+using Chainlink.LootBoxes.Scene.StageItems;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class LoadOpeningLootBoxes : LootBoxSceneState
{
@@ -11,7 +11,7 @@ protected override void OnLootBoxSceneStateEnter()
var stageItem = Context.LootBoxStageItemFactory.Create(prefab, 0);
Context.stage.SetItems(new List { stageItem });
Context.stageFocus.Focus(0, immediately: true);
- stageItem.LootBox.PlayOpening(); // todo set opening state immediately?
+ stageItem.lootbox.PlayOpening(); // todo set opening state immediately?
Context.animator.SetTrigger("LootBoxesLoaded");
}
}
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadOpeningLootBoxes.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadOpeningLootBoxes.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadOpeningLootBoxes.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadOpeningLootBoxes.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadRewardsState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadRewardsState.cs
similarity index 92%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadRewardsState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadRewardsState.cs
index 69110ebd5..8d99a5233 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadRewardsState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadRewardsState.cs
@@ -1,4 +1,4 @@
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class LoadRewardsState : LootBoxSceneState
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadRewardsState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadRewardsState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LoadRewardsState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LoadRewardsState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LootBoxSceneState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LootBoxSceneState.cs
similarity index 96%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LootBoxSceneState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LootBoxSceneState.cs
index 64c38eb1b..1cae6d72f 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LootBoxSceneState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LootBoxSceneState.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public abstract class LootBoxSceneState : StateMachineBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LootBoxSceneState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LootBoxSceneState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/LootBoxSceneState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/LootBoxSceneState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/OpenLootBoxesState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/OpenLootBoxesState.cs
similarity index 86%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/OpenLootBoxesState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/OpenLootBoxesState.cs
index e8420cbb8..a030f98da 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/OpenLootBoxesState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/OpenLootBoxesState.cs
@@ -1,7 +1,7 @@
using System.Linq;
using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class OpenLootBoxesState : LootBoxSceneState
{
@@ -15,7 +15,7 @@ protected override async void OnLootBoxSceneStateEnter()
PlayAnimations();
// Send "OpenLootBoxes" request
- var amountToOpen = (uint)Context.stage.StageItems.Count(item => item.LootBox.Selected);
+ var amountToOpen = (uint)Context.stage.StageItems.Count(item => item.lootbox.Selected);
await Context.OpenLootBoxes(Context.ActiveType, amountToOpen);
Context.animator.SetTrigger("LootBoxesOpenInitiated");
@@ -25,7 +25,7 @@ int GetStageItemToFocus()
// Nearest selected item to the focused one
return Context.stage.StageItems
.Select((item, index) => (item, index))
- .Where(itemAndIndex => itemAndIndex.item.LootBox.Selected)
+ .Where(itemAndIndex => itemAndIndex.item.lootbox.Selected)
.Aggregate((a, b) =>
{
var focusedItemIndex = Context.stageFocus.FocusedItemIndex;
@@ -39,13 +39,13 @@ void PlayAnimations()
var itemsToHide = Context.stage.StageItems.Where(item => item != focusedStageItem);
foreach (var itemToHide in itemsToHide)
{
- itemToHide.LootBox.PlayDisintegrate();
+ itemToHide.lootbox.PlayDisintegrate();
}
- var itemsToOpen = Context.stage.StageItems.Where(item => item.LootBox.Selected);
+ var itemsToOpen = Context.stage.StageItems.Where(item => item.lootbox.Selected);
foreach (var itemToOpen in itemsToOpen)
{
- itemToOpen.LootBox.PlayOpening();
+ itemToOpen.lootbox.PlayOpening();
}
}
}
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/OpenLootBoxesState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/OpenLootBoxesState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/OpenLootBoxesState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/OpenLootBoxesState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/PromptToClaimRewardsState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/PromptToClaimRewardsState.cs
similarity index 69%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/PromptToClaimRewardsState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/PromptToClaimRewardsState.cs
index 6bce50ac1..fef6046b6 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/PromptToClaimRewardsState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/PromptToClaimRewardsState.cs
@@ -1,8 +1,8 @@
using System.Threading.Tasks;
-using LootBoxes.Scene.StageItems;
+using Chainlink.LootBoxes.Scene.StageItems;
using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class PromptToClaimRewardsState : LootBoxSceneState
{
@@ -13,16 +13,16 @@ protected override void OnLootBoxSceneStateEnter()
Context.promptClaimRewardsUI.gameObject.SetActive(true);
focusedItem = Context.stageFocus.FocusedItem;
- focusedItem.LootBox.PlayReadyToBeClaimed();
+ focusedItem.lootbox.PlayReadyToBeClaimed();
- focusedItem.LootBox.Clicked += OnLootBoxClicked;
+ focusedItem.lootbox.Clicked += OnLootboxClicked;
}
protected override void OnLootBoxSceneStateExit()
{
Context.promptClaimRewardsUI.gameObject.SetActive(false);
- focusedItem.LootBox.Clicked -= OnLootBoxClicked;
+ focusedItem.lootbox.Clicked -= OnLootboxClicked;
}
protected override async void OnLootBoxSceneStateUpdate()
@@ -35,13 +35,13 @@ protected override async void OnLootBoxSceneStateUpdate()
private async Task ClaimRewards()
{
- focusedItem.LootBox.PlayClaimingRewards();
+ focusedItem.lootbox.PlayClaimingRewards();
Context.LastClaimedRewards = await Context.ClaimRewards();
- focusedItem.LootBox.PlayDisintegrate();
+ focusedItem.lootbox.PlayDisintegrate();
Context.animator.SetTrigger("ClaimedRewards");
}
- private async void OnLootBoxClicked(LootBox lootBox)
+ private async void OnLootboxClicked(Lootbox lootbox)
{
await ClaimRewards();
}
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/PromptToClaimRewardsState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/PromptToClaimRewardsState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/PromptToClaimRewardsState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/PromptToClaimRewardsState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ResetStageState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ResetStageState.cs
similarity index 77%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ResetStageState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ResetStageState.cs
index 37f28e4b7..5946b3edb 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ResetStageState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ResetStageState.cs
@@ -1,8 +1,9 @@
using System.Collections.Generic;
using System.Linq;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
+using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class ResetStageState : LootBoxSceneState
{
@@ -48,16 +49,15 @@ private void LaunchEmpty()
private async void LaunchOpening()
{
- // todo implement
- // Context.ActiveType = await Context.OpeningLootBoxType();
- Context.ActiveType = 1;
+ //If there is no opening lootbox type, we will default to the first type
+ Context.ActiveType = (uint)Mathf.Max(1, await Context.OpeningLootBoxType());
Context.animator.SetTrigger("LaunchOpeningLootboxes");
}
private async void LaunchCanClaimRewards()
{
- // Context.ActiveType = await Context.OpeningLootBoxType();
- Context.ActiveType = 1;
+ //If there is no opening lootbox type, we will default to the first type
+ Context.ActiveType = (uint)Mathf.Max(1, await Context.OpeningLootBoxType());
Context.animator.SetTrigger("LaunchCanClaimRewards");
}
}
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ResetStageState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ResetStageState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ResetStageState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ResetStageState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/SelectLootBoxesState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/SelectLootBoxesState.cs
similarity index 75%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/SelectLootBoxesState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/SelectLootBoxesState.cs
index 71883c34c..84e87ed3d 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/SelectLootBoxesState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/SelectLootBoxesState.cs
@@ -1,10 +1,9 @@
using System.Collections.Generic;
using System.Linq;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
-using Unity.VisualScripting;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class SelectLootBoxesState : LootBoxSceneState
{
@@ -25,10 +24,7 @@ protected override void OnLootBoxSceneStateEnter()
Context.selectLootBoxesUI.NextLootBoxButton.onClick.AddListener(OnNextLootBoxClick);
Context.selectLootBoxesUI.OpenSelectedButton.onClick.AddListener(OnOpenSelectedClick);
- foreach (var stageItem in Context.stage.StageItems)
- {
- stageItem.LootBox.Clicked += OnLootBoxClicked;
- }
+ foreach (var stageItem in Context.stage.StageItems) stageItem.lootbox.Clicked += OnLootboxClicked;
}
protected override void OnLootBoxSceneStateExit()
@@ -41,48 +37,27 @@ protected override void OnLootBoxSceneStateExit()
Context.selectLootBoxesUI.NextLootBoxButton.onClick.RemoveListener(OnNextLootBoxClick);
Context.selectLootBoxesUI.OpenSelectedButton.onClick.RemoveListener(OnOpenSelectedClick);
- foreach (var stageItem in Context.stage.StageItems)
- {
- stageItem.LootBox.Clicked -= OnLootBoxClicked;
- }
+ foreach (var stageItem in Context.stage.StageItems) stageItem.lootbox.Clicked -= OnLootboxClicked;
}
protected override void OnLootBoxSceneStateUpdate()
{
- if (Input.GetKeyDown(KeyCode.A) || Input.GetKeyDown(KeyCode.LeftArrow))
- {
- Context.stageFocus.FocusDelta(-1);
- }
-
- if (Input.GetKeyDown(KeyCode.D) || Input.GetKeyDown(KeyCode.RightArrow))
- {
- Context.stageFocus.FocusDelta(+1);
- }
-
- if (Input.GetKeyDown(KeyCode.W) || Input.GetKeyDown(KeyCode.UpArrow))
- {
- ChangeLootBoxType(-1);
- }
-
- if (Input.GetKeyDown(KeyCode.S) || Input.GetKeyDown(KeyCode.DownArrow))
- {
- ChangeLootBoxType(+1);
- }
-
- if (Input.GetKeyDown(KeyCode.Space))
- {
- ToggleFocusedSelected();
- }
-
- if (Input.GetKeyDown(KeyCode.Return))
- {
- OpenSelectedLootBoxes();
- }
+ if (Input.GetKeyDown(KeyCode.A) || Input.GetKeyDown(KeyCode.LeftArrow)) Context.stageFocus.FocusDelta(-1);
+
+ if (Input.GetKeyDown(KeyCode.D) || Input.GetKeyDown(KeyCode.RightArrow)) Context.stageFocus.FocusDelta(+1);
+
+ if (Input.GetKeyDown(KeyCode.W) || Input.GetKeyDown(KeyCode.UpArrow)) ChangeLootBoxType(-1);
+
+ if (Input.GetKeyDown(KeyCode.S) || Input.GetKeyDown(KeyCode.DownArrow)) ChangeLootBoxType(+1);
+
+ if (Input.GetKeyDown(KeyCode.Space)) ToggleFocusedSelected();
+
+ if (Input.GetKeyDown(KeyCode.Return)) OpenSelectedLootBoxes();
}
private void ToggleFocusedSelected()
{
- var focusedLootBox = Context.stageFocus.FocusedItem.LootBox;
+ var focusedLootBox = Context.stageFocus.FocusedItem.lootbox;
focusedLootBox.Selected = !focusedLootBox.Selected;
OnSelectedCountUpdated();
}
@@ -107,10 +82,7 @@ private void ChangeLootBoxType(int delta)
private void OpenSelectedLootBoxes()
{
- if (!Context.stage.StageItems.Any(item => item.LootBox.Selected))
- {
- return;
- }
+ if (!Context.stage.StageItems.Any(item => item.lootbox.Selected)) return;
Context.animator.SetTrigger("OpenLootboxes");
}
@@ -140,19 +112,16 @@ private void OnOpenSelectedClick()
OpenSelectedLootBoxes();
}
- private void OnLootBoxClicked(LootBox lootBox)
+ private void OnLootboxClicked(Lootbox lootbox)
{
- if (Context.stageFocus.FocusedItem.LootBox != lootBox)
- {
- return;
- }
+ if (Context.stageFocus.FocusedItem.lootbox != lootbox) return;
ToggleFocusedSelected();
}
private void OnSelectedCountUpdated()
{
- var selectedAmount = Context.stage.StageItems.Count(item => item.LootBox.Selected);
+ var selectedAmount = Context.stage.StageItems.Count(item => item.lootbox.Selected);
Context.selectLootBoxesUI.SelectedAmount.text = selectedAmount.ToString();
Context.selectLootBoxesUI.OpenSelectedButton.interactable = selectedAmount > 0;
}
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/SelectLootBoxesState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/SelectLootBoxesState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/SelectLootBoxesState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/SelectLootBoxesState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ViewRewardsState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ViewRewardsState.cs
similarity index 97%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ViewRewardsState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ViewRewardsState.cs
index 4e01ee333..89ad5414d 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ViewRewardsState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ViewRewardsState.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class ViewRewardsState : LootBoxSceneState
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ViewRewardsState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ViewRewardsState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/ViewRewardsState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/ViewRewardsState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/WaitTillCanClaimRewardState.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/WaitTillCanClaimRewardState.cs
similarity index 97%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/WaitTillCanClaimRewardState.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/WaitTillCanClaimRewardState.cs
index 43004cc82..0feafb1dc 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/WaitTillCanClaimRewardState.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/WaitTillCanClaimRewardState.cs
@@ -3,7 +3,7 @@
using System.Threading.Tasks;
using UnityEngine;
-namespace LootBoxes.Scene.States
+namespace Chainlink.LootBoxes.Scene.States
{
public class WaitTillCanClaimRewardState : LootBoxSceneState
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/WaitTillCanClaimRewardState.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/WaitTillCanClaimRewardState.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/States/WaitTillCanClaimRewardState.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/States/WaitTillCanClaimRewardState.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/EmptyStateUI.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/EmptyStateUI.cs
similarity index 70%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/EmptyStateUI.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/EmptyStateUI.cs
index 4b249e4cb..b70839cdb 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/EmptyStateUI.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/EmptyStateUI.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class EmptyStateUI : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/EmptyStateUI.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/EmptyStateUI.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/EmptyStateUI.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/EmptyStateUI.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/OpenLootBoxUI.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/OpenLootBoxUI.cs
similarity index 70%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/OpenLootBoxUI.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/OpenLootBoxUI.cs
index ce7081ad5..c20d24bcc 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/OpenLootBoxUI.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/OpenLootBoxUI.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class OpenLootBoxUI : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/OpenLootBoxUI.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/OpenLootBoxUI.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/OpenLootBoxUI.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/OpenLootBoxUI.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/PromptClaimRewardsUI.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/PromptClaimRewardsUI.cs
similarity index 71%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/PromptClaimRewardsUI.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/PromptClaimRewardsUI.cs
index 7d370b4b0..82d7faf25 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/PromptClaimRewardsUI.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/PromptClaimRewardsUI.cs
@@ -1,6 +1,6 @@
using UnityEngine;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class PromptClaimRewardsUI : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/PromptClaimRewardsUI.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/PromptClaimRewardsUI.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/PromptClaimRewardsUI.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/PromptClaimRewardsUI.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/SelectLootBoxesUI.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/SelectLootBoxesUI.cs
similarity index 91%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/SelectLootBoxesUI.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/SelectLootBoxesUI.cs
index 992f2d015..6d46799fc 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/SelectLootBoxesUI.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/SelectLootBoxesUI.cs
@@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class SelectLootBoxesUI : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/SelectLootBoxesUI.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/SelectLootBoxesUI.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/SelectLootBoxesUI.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/SelectLootBoxesUI.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/ViewRewardsUI.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/ViewRewardsUI.cs
similarity index 86%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/ViewRewardsUI.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/ViewRewardsUI.cs
index 724911a21..58387873c 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/ViewRewardsUI.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/ViewRewardsUI.cs
@@ -1,7 +1,7 @@
using UnityEngine;
using UnityEngine.UI;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class ViewRewardsUI : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/ViewRewardsUI.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/ViewRewardsUI.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/UI/ViewRewardsUI.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/UI/ViewRewardsUI.cs.meta
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/VibrationApplier.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/VibrationApplier.cs
similarity index 98%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/VibrationApplier.cs
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/VibrationApplier.cs
index 7445b00f3..06ca76e8f 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/VibrationApplier.cs
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/VibrationApplier.cs
@@ -2,7 +2,7 @@
using UnityEngine.Serialization;
using Random = UnityEngine.Random;
-namespace LootBoxes.Scene
+namespace Chainlink.LootBoxes.Scene
{
public class VibrationApplier : MonoBehaviour
{
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/VibrationApplier.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/VibrationApplier.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/Scene/VibrationApplier.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/Scene/VibrationApplier.cs.meta
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/StringExtensions.cs b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/StringExtensions.cs
new file mode 100644
index 000000000..a2d4baf6b
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/StringExtensions.cs
@@ -0,0 +1,22 @@
+using UnityEngine;
+
+public static class StringExtensions
+{
+ public static string UnpackUriIfIpfs(this string originalUri)
+ {
+ if (!originalUri.StartsWith("ipfs://"))
+ return originalUri;
+
+ return originalUri.Replace("ipfs://", "https://ipfs.io/ipfs/");
+ }
+
+ public static string ToHexString(this Color color)
+ {
+ var r = (int)(color.r * 255);
+ var g = (int)(color.g * 255);
+ var b = (int)(color.b * 255);
+ var a = (int)(color.a * 255);
+
+ return $"{r:X2}{g:X2}{b:X2}{a:X2}";
+ }
+}
\ No newline at end of file
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/StringExtensions.cs.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/StringExtensions.cs.meta
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Scripts/StringExtensions.cs.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Scripts/StringExtensions.cs.meta
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites.meta
new file mode 100644
index 000000000..8826eb514
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: be18e07bf306c416ba027f019165e7fa
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Logo.psd b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/Logo.psd
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Logo.psd
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/Logo.psd
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Logo.psd.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/Logo.psd.meta
similarity index 91%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Logo.psd.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/Logo.psd.meta
index cdf1da3f7..96578cf87 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/Logo.psd.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/Logo.psd.meta
@@ -125,6 +125,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: iPhone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/arrow.png b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/arrow.png
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/arrow.png
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/arrow.png
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/arrow.png.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/arrow.png.meta
similarity index 91%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/arrow.png.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/arrow.png.meta
index 23e4b71f3..de11d05bf 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/arrow.png.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/arrow.png.meta
@@ -125,6 +125,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: iPhone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo.png b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo.png
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo.png
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo.png
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo.png.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo.png.meta
similarity index 89%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo.png.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo.png.meta
index 36cf51469..0764a6a18 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo.png.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo.png.meta
@@ -6,7 +6,7 @@ TextureImporter:
serializedVersion: 12
mipmaps:
mipMapMode: 0
- enableMipMap: 1
+ enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
@@ -51,9 +51,9 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 0
- alphaIsTransparency: 0
+ alphaIsTransparency: 1
spriteTessellationDetail: -1
- textureType: 0
+ textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
@@ -125,6 +125,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: iPhone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo3.png b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo3.png
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo3.png
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo3.png
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo3.png.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo3.png.meta
similarity index 89%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo3.png.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo3.png.meta
index edbe042a4..af33316ec 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/LootBoxes/cube_logo3.png.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/cube_logo3.png.meta
@@ -6,7 +6,7 @@ TextureImporter:
serializedVersion: 12
mipmaps:
mipMapMode: 0
- enableMipMap: 1
+ enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
@@ -51,9 +51,9 @@ TextureImporter:
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 0
- alphaIsTransparency: 0
+ alphaIsTransparency: 1
spriteTessellationDetail: -1
- textureType: 0
+ textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
@@ -125,6 +125,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: iPhone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel.png b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel.png
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel.png
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel.png
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel.png.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel.png.meta
similarity index 91%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel.png.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel.png.meta
index 12ab4e977..e1c1f3ded 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel.png.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel.png.meta
@@ -125,6 +125,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: iPhone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel_border.png b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel_border.png
similarity index 100%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel_border.png
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel_border.png
diff --git a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel_border.png.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel_border.png.meta
similarity index 91%
rename from src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel_border.png.meta
rename to Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel_border.png.meta
index a438980c5..3941a24e3 100644
--- a/src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/LootBoxes/Assets/rounded_panel_border.png.meta
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/Sprites/rounded_panel_border.png.meta
@@ -125,6 +125,18 @@ TextureImporter:
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 3
+ buildTarget: iPhone
+ maxTextureSize: 2048
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 50
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/chainsafe.web3-unity.lootboxes.chainlink.asmdef b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/chainsafe.web3-unity.lootboxes.chainlink.asmdef
new file mode 100644
index 000000000..476f98fa9
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/chainsafe.web3-unity.lootboxes.chainlink.asmdef
@@ -0,0 +1,17 @@
+{
+ "name": "chainsafe.web3-unity.lootboxes",
+ "rootNamespace": "",
+ "references": [
+ "GUID:5426c6b788696eb4c88f4198b59839eb",
+ "GUID:6055be8ebefd69e48b49212b09b47b2f"
+ ],
+ "includePlatforms": [],
+ "excludePlatforms": [],
+ "allowUnsafeCode": false,
+ "overrideReferences": false,
+ "precompiledReferences": [],
+ "autoReferenced": true,
+ "defineConstraints": [],
+ "versionDefines": [],
+ "noEngineReferences": false
+}
\ No newline at end of file
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/chainsafe.web3-unity.lootboxes.chainlink.asmdef.meta b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/chainsafe.web3-unity.lootboxes.chainlink.asmdef.meta
new file mode 100644
index 000000000..87db3f060
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/Samples~/Chainlink Lootbox Samples/chainsafe.web3-unity.lootboxes.chainlink.asmdef.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 83a4504c11d284601889c35548599b80
+AssemblyDefinitionImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/package.json b/Packages/io.chainsafe.web3-unity.lootboxes/package.json
new file mode 100644
index 000000000..44dc3784c
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/package.json
@@ -0,0 +1,32 @@
+{
+ "name": "io.chainsafe.web3-unity.lootboxes",
+ "version": "1.0.0",
+ "displayName": "web3.unity SDK Lootboxes",
+ "description": "This additional package provides you with sample scene and sample scripts for opening lootboxes of various types",
+ "license": "LGPL-3.0-only",
+ "licensesUrl": "https://github.com/ChainSafe/web3.unity/blob/main/LICENSE",
+ "documentationUrl": "https://docs.gaming.chainsafe.io/",
+ "dependencies": {
+ "io.chainsafe.web3-unity": "2.5.0"
+ },
+ "keywords": [
+ "web3",
+ "ethereum",
+ "evm",
+ "blockchain",
+ "nft"
+ ],
+
+ "samples": [
+ {
+ "displayName": "Chainlink Lootbox Sample",
+ "description": "Contains Sample scene and some basic interaction with Chainlink Lootboxes.",
+ "path": "Samples~/Chainlink Lootbox Samples"
+ }
+ ],
+ "author": {
+ "name": "ChainSafe Gaming",
+ "email": "bd@chainsafe.io",
+ "url": "https://gaming.chainsafe.io/"
+ }
+}
\ No newline at end of file
diff --git a/Packages/io.chainsafe.web3-unity.lootboxes/package.json.meta b/Packages/io.chainsafe.web3-unity.lootboxes/package.json.meta
new file mode 100644
index 000000000..5235811c9
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity.lootboxes/package.json.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: bdc4c7ffcd98f4ee58d298871af51ffa
+PackageManifestImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity.web3auth/Runtime/Web3AuthWallet.cs b/Packages/io.chainsafe.web3-unity.web3auth/Runtime/Web3AuthWallet.cs
index 5d563f60b..23af940ef 100644
--- a/Packages/io.chainsafe.web3-unity.web3auth/Runtime/Web3AuthWallet.cs
+++ b/Packages/io.chainsafe.web3-unity.web3auth/Runtime/Web3AuthWallet.cs
@@ -1,7 +1,3 @@
-
-using Nethereum.ABI.EIP712;
-using Nethereum.Signer;
-using System.Collections.Generic;
using System.Threading.Tasks;
using ChainSafe.Gaming.Evm.Providers;
using ChainSafe.Gaming.Evm.Signers;
@@ -11,22 +7,21 @@
using ChainSafe.Gaming.Web3;
using ChainSafe.Gaming.Web3.Core;
using ChainSafe.Gaming.Web3.Core.Evm;
+using Nethereum.Signer;
using UnityEngine;
-
-using Object = UnityEngine.Object;
using TWeb3Auth = Web3Auth;
namespace ChainSafe.GamingSdk.Web3Auth
{
public class Web3AuthWallet : ISigner, ITransactionExecutor, ILifecycleParticipant
{
- private InProcessSigner signer;
- private InProcessTransactionExecutor transactionExecutor;
- private TWeb3Auth coreInstance;
+ private readonly IChainConfig chainConfig;
private readonly Web3AuthWalletConfig config;
- private readonly IChainConfig chainConfig;
private readonly IRpcProvider rpcProvider;
+ private TWeb3Auth coreInstance;
+ private InProcessSigner signer;
+ private InProcessTransactionExecutor transactionExecutor;
public Web3AuthWallet(Web3AuthWalletConfig config, IChainConfig chainConfig, IRpcProvider rpcProvider)
{
@@ -41,20 +36,20 @@ public async ValueTask WillStartAsync()
TaskCompletionSource loginTcs = new();
coreInstance.onLogin += Web3Auth_OnLogin;
- if (config.LoginParams != null)
- {
- coreInstance.login(config.LoginParams);
- }
+ if (config.LoginParams != null) coreInstance.login(config.LoginParams);
var privateKeyString = await loginTcs.Task;
var privateKey = new EthECKey(privateKeyString);
var signerConfig = new InProcessSignerConfig { PrivateKey = privateKey };
- signer = new(signerConfig);
+ signer = new InProcessSigner(signerConfig);
- transactionExecutor = new(signer, chainConfig, rpcProvider);
+ transactionExecutor = new InProcessTransactionExecutor(signer, chainConfig, rpcProvider);
- void Web3Auth_OnLogin(Web3AuthResponse response) => loginTcs.SetResult(response.privKey);
+ void Web3Auth_OnLogin(Web3AuthResponse response)
+ {
+ loginTcs.SetResult(response.privKey);
+ }
}
public async ValueTask WillStopAsync()
@@ -68,16 +63,31 @@ public async ValueTask WillStopAsync()
coreInstance.onLogout -= Web3Auth_OnLogout;
Object.Destroy(coreInstance);
- void Web3Auth_OnLogout() => logoutTcs.SetResult(null);
+ void Web3Auth_OnLogout()
+ {
+ logoutTcs.SetResult(null);
+ }
}
- public Task GetAddress() => signer.GetAddress();
+ public Task GetAddress()
+ {
+ return signer.GetAddress();
+ }
- public Task SignMessage(string message) => signer.SignMessage(message);
+ public Task SignMessage(string message)
+ {
+ return signer.SignMessage(message);
+ }
- public Task SignTypedData(SerializableDomain domain, TStructData message) => signer.SignTypedData(domain, message);
+ public Task SignTypedData(SerializableDomain domain, TStructData message)
+ {
+ return signer.SignTypedData(domain, message);
+ }
- public Task SendTransaction(TransactionRequest transaction) => transactionExecutor.SendTransaction(transaction);
+ public Task SendTransaction(TransactionRequest transaction)
+ {
+ return transactionExecutor.SendTransaction(transaction);
+ }
private TWeb3Auth CreateCoreInstance()
{
@@ -92,4 +102,4 @@ private TWeb3Auth CreateCoreInstance()
return instance;
}
}
-}
+}
\ No newline at end of file
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ADRaffy.ENSNormalize.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ADRaffy.ENSNormalize.dll.meta
index a259e9d77..e79b99d5b 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ADRaffy.ENSNormalize.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ADRaffy.ENSNormalize.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: abbf9e85799e54c82a487990bb81fa21
+guid: a66fd41f9f76242bc83aaf0497b2afc1
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/BouncyCastle.Crypto.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/BouncyCastle.Crypto.dll.meta
index 06f957de8..073c3bc37 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/BouncyCastle.Crypto.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/BouncyCastle.Crypto.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8adf80841e4484aa889b0f1fafc0fa49
+guid: e2bc13bae6fec4d21be2f353ab188080
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Chainlink.Lootboxes.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Chainlink.Lootboxes.dll
deleted file mode 100644
index f58b1d7ad..000000000
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Chainlink.Lootboxes.dll and /dev/null differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll
index b80a2e503..40c1747a8 100644
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll.meta
index 6a1e26ec4..37a3b0afb 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 2a261f066d4c27442911659b07a7d8c4
+guid: c3888bef199b64538a4b14cd7f2a0537
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll
index d092f12e7..803ce7367 100644
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll.meta
index 71d5111e3..8d19dd12c 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 57c68d005786c45cc804a28af3b19e31
+guid: de391b78c1a964888ab27c9b2951b157
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll
index f510f12fc..c0e55249b 100644
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll.meta
index 8ed3a2480..769fe1d30 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 525950f5a9e3149ff9559a1ab2ff4e8d
+guid: 24da8ffeaf223497dbc9f5a7fc52982c
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll
index dd1d67d19..a7aa84eb1 100644
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll.meta
index 3310d0ea0..0ad5f622c 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c1c05dc5909574dfb84f6d20cf5752a6
+guid: ecf0a5224b2b14df99fa68b12f3f2583
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll.meta
index 543349a2b..102ed535a 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6ca4015b3a4624b13bfadd6f7956c0be
+guid: f6a6ded74b1674b479f817b1a0450693
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll
index 7e76541b2..790763192 100644
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll.meta
index 1fa1c9ede..653c42920 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 548ce55e206f04cd1a561c7ca04aeacf
+guid: 2e4277c44a518463782c6e0132e3f64d
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll
new file mode 100644
index 000000000..04c2e177c
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WebPageWallet.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll.meta
similarity index 93%
rename from Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WebPageWallet.dll.meta
rename to Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll.meta
index a9f18e47b..0a289e192 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WebPageWallet.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8a0e785176bcb42c693d3b4a29aec7a3
+guid: 07a34ae44d7f9b345ae837a66b700c59
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WebPageWallet.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WebPageWallet.dll
deleted file mode 100644
index 019ed9553..000000000
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WebPageWallet.dll and /dev/null differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll
index 48c176fee..20ae35d1f 100644
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll.meta
index 72f6b3719..b69a7be10 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7ab26bdccec4648e982ebbd1b4efe360
+guid: 52627ea9086474dbaa72e7ad3b6a6c05
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Bcl.AsyncInterfaces.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Bcl.AsyncInterfaces.dll
new file mode 100644
index 000000000..c695bdd59
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Bcl.AsyncInterfaces.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Bcl.AsyncInterfaces.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Bcl.AsyncInterfaces.dll.meta
new file mode 100644
index 000000000..68b3dd8b5
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Bcl.AsyncInterfaces.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 9b8815c7b84d6db4da14560d24b283f2
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.Abstractions.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.Abstractions.dll.meta
index efdbcd1f8..143817d83 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.Abstractions.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.Abstractions.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: df5f62e25a5004afbb751f9e9d24fe30
+guid: 6902f85cf607e4f67b4302b4e95dcbbf
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.dll.meta
index beadc03f7..fd999bd7b 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.DependencyInjection.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: e620659df1ddd4222a9e0a1c2ea90090
+guid: 16e390c3de11e4ce38b753bcab0ddc25
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.Logging.Abstractions.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.Logging.Abstractions.dll.meta
index f14f4b2e7..16cca8900 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.Logging.Abstractions.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.Extensions.Logging.Abstractions.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 7d403c09b1af740cc932345753a7af29
+guid: dace31716301c4471bc274614238f3d3
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Abstractions.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Abstractions.dll
new file mode 100644
index 000000000..034b16fc2
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Abstractions.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Abstractions.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Abstractions.dll.meta
new file mode 100644
index 000000000..cd7ed94e3
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Abstractions.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: c751cd0bd077e6c4a8775fe70fcd9c0f
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Logging.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Logging.dll
new file mode 100644
index 000000000..df03923cd
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Logging.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Logging.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Logging.dll.meta
new file mode 100644
index 000000000..74c0ac8bb
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Logging.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 9f92600307fef4e4b82b817e44acfccf
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Tokens.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Tokens.dll
new file mode 100644
index 000000000..1bc99522e
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Tokens.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Tokens.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Tokens.dll.meta
new file mode 100644
index 000000000..ed2499ead
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Microsoft.IdentityModel.Tokens.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: ca41a7d13bb37224e9ceb796f74a58da
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/NBitcoin.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/NBitcoin.dll.meta
index 3b5bf8f21..ba15ef2b0 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/NBitcoin.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/NBitcoin.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c4545fc3d64cf4290b0530452e4e94c0
+guid: 44e3c5b7e5ef04777a91c3ff55d9d88b
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.ABI.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.ABI.dll.meta
index 8c6827046..f22bbd50c 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.ABI.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.ABI.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: ff10626a20db14aa5997efbbba9c4b16
+guid: d0599be9313104148b21588a77ff0aeb
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Accounts.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Accounts.dll.meta
index 2fd58ceba..6ced9e3a7 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Accounts.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Accounts.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b1864f3ff350f4f05bcc8bab1d500c01
+guid: c2cb202aec1e0497a9fef03fdd8f544a
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.BlockchainProcessing.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.BlockchainProcessing.dll.meta
index 3efb9e736..1a90afd0d 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.BlockchainProcessing.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.BlockchainProcessing.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 5d46decbe691d4b85815391e3ca5720c
+guid: 93a84cf59a1784ab081fc26f785f2500
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Contracts.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Contracts.dll.meta
index 0fa17f8bf..9a5fa1803 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Contracts.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Contracts.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 21205e85d739840e38296aca33f86fd2
+guid: e86c20377e1544eeba1bb587f76aa90e
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Hex.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Hex.dll.meta
index 18e0d7b51..c046d377c 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Hex.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Hex.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 8e5234f508fe041c5af4d2434f498581
+guid: f51edff87649a4cccb43bb7e43651f87
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.Client.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.Client.dll.meta
index 24593c57a..105c55878 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.Client.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.Client.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 31aaf038e98c4421693d35577deee3c0
+guid: 163b9844099644bccaf54d3ec4e550d3
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.IpcClient.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.IpcClient.dll.meta
index c5796805e..fa1fbf9eb 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.IpcClient.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.IpcClient.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 784614bc0b93945659eb31bae4df9992
+guid: b13a6412b62744573be0808d56b1f830
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.RpcClient.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.RpcClient.dll.meta
index 600ae0254..bf01e1f90 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.RpcClient.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.JsonRpc.RpcClient.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9c4f509da96d742c498b194c31c2788d
+guid: 1979ab506eb124adca9646a15042448c
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.KeyStore.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.KeyStore.dll.meta
index 18a0a8001..cf10ee5a4 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.KeyStore.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.KeyStore.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4a2a94ff911374ec38908c76da3dde58
+guid: 22043629bc1634a6f87a036f2526d93b
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.Patricia.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.Patricia.dll.meta
index ced5fcd61..248e8d8b5 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.Patricia.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.Patricia.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b413b036a075645aa848a429e43affd0
+guid: 4b0af247cc08744519883d4a77567f65
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.dll.meta
index bfa469b97..11e4ea545 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Merkle.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 950686d7c8fc04cd78efaba593791007
+guid: 8f76768d1cdcb4fe7b3e4839cc73378d
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Model.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Model.dll.meta
index 61bd36e1f..77ae22409 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Model.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Model.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9f3c391f75c10493383db8675fd5977d
+guid: 1c27965f5e598473cab695565efbfddc
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RLP.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RLP.dll.meta
index 494fc078f..3e3109ec0 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RLP.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RLP.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 61758d4259bb9462cb8b8e610bf762de
+guid: c60359970ac2a4ca3a952c6a061efd26
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RPC.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RPC.dll.meta
index 6572edf93..ffb8432a8 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RPC.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.RPC.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: c2128d9c0be614bbea4980f71db82b0a
+guid: a806f27f5a4df4277a7f43af6ec5f306
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.EIP712.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.EIP712.dll.meta
index 45a0db701..adcdd6b98 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.EIP712.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.EIP712.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: a3dd1e549b7b94ddfb2bc70aaa434b4a
+guid: 0706266de937942e1908f84412c61b2e
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.dll.meta
index 9c780e321..1a4e59887 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Signer.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 9de76cf4bb4c246219bb4f7ff0fda55f
+guid: 4a5fc18cc773940c7a2acb4f7ea4fedf
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Util.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Util.dll.meta
index d7113c19e..321c6a9cb 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Util.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Util.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4522a739830754a71bb3b48979df85d0
+guid: 5fa7514d05e4e43f2aaacb8cb851b9e1
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Web3.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Web3.dll.meta
index f555127c1..7e9c1394b 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Web3.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Nethereum.Web3.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 6f6dc5e43c35c4b3e975cb7e5c3b9feb
+guid: 6b93439780a844344aeb12eb0b7ab3d5
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Buffers.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Buffers.dll.meta
index 7ad5b7767..cbc643a2f 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Buffers.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Buffers.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: fd7837112054c42f3a78a3ac6e752935
+guid: 39997909ab71148c0997a395c2dd5b33
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Memory.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Memory.dll.meta
index 58220d17d..27256b492 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Memory.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Memory.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: e7a354ca4851c4779a1ac4a046397ded
+guid: d2344276df7744fbea24cc5040927a7d
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll
index a808165ac..10205772c 100755
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll.meta
index 8d4c19ac6..30e201445 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Numerics.Vectors.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: b5f9c21f24aca476a889f3a4e34cccfa
+guid: c7678bd9ab50a448e8e561d3bab9df19
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Reactive.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Reactive.dll
new file mode 100644
index 000000000..ec69a7f9b
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Reactive.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Reactive.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Reactive.dll.meta
new file mode 100644
index 000000000..94be99ec8
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Reactive.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 7d04cd60e826ae448a62dfc8e1678990
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll
index b17135bc9..02d984973 100755
Binary files a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll.meta
index 491731d30..95665e0fd 100644
--- a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll.meta
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.CompilerServices.Unsafe.dll.meta
@@ -1,5 +1,5 @@
fileFormatVersion: 2
-guid: 4fa85804e55fd443abc518c80b577ba5
+guid: ce352de66cdfd4fb4b2e11c20cce4967
PluginImporter:
externalObjects: {}
serializedVersion: 2
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.InteropServices.WindowsRuntime.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.InteropServices.WindowsRuntime.dll
new file mode 100644
index 000000000..cc35b3415
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.InteropServices.WindowsRuntime.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.InteropServices.WindowsRuntime.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.InteropServices.WindowsRuntime.dll.meta
new file mode 100644
index 000000000..e3b820e63
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Runtime.InteropServices.WindowsRuntime.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 4c40587794dd76844819617bb280669a
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Security.Cryptography.Cng.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Security.Cryptography.Cng.dll
new file mode 100644
index 000000000..fa76801d4
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Security.Cryptography.Cng.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Security.Cryptography.Cng.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Security.Cryptography.Cng.dll.meta
new file mode 100644
index 000000000..fcb9ebd13
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Security.Cryptography.Cng.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 01616de7ffcdb614bbab07f0f939125f
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Encodings.Web.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Encodings.Web.dll
new file mode 100644
index 000000000..41e59b281
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Encodings.Web.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Encodings.Web.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Encodings.Web.dll.meta
new file mode 100644
index 000000000..191975bce
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Encodings.Web.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 4d29ba7f8a3b1fc4587afbb2a4bf0b60
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Json.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Json.dll
new file mode 100644
index 000000000..fe2154a3b
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Json.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Json.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Json.dll.meta
new file mode 100644
index 000000000..db1895c15
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Text.Json.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 4cade41aa61972d4eaecdd9a1d18992d
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Channels.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Channels.dll
new file mode 100644
index 000000000..70aa5b64d
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Channels.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Channels.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Channels.dll.meta
new file mode 100644
index 000000000..93f6104e2
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Channels.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 706d17b29dc4d104b96f7af48fa4e31d
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Tasks.Extensions.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Tasks.Extensions.dll
new file mode 100644
index 000000000..dfab23478
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Tasks.Extensions.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Tasks.Extensions.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Tasks.Extensions.dll.meta
new file mode 100644
index 000000000..9849fcd44
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/System.Threading.Tasks.Extensions.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 66550e55786caf54c80b1bc167b3cc46
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Auth.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Auth.dll
new file mode 100644
index 000000000..c768c4f82
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Auth.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Auth.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Auth.dll.meta
new file mode 100644
index 000000000..c8934a519
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Auth.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 9727d10e02151774ba459bd57534d06c
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Common.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Common.dll
new file mode 100644
index 000000000..694c02890
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Common.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Common.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Common.dll.meta
new file mode 100644
index 000000000..90739a790
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Common.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 845e5f2ee772d224d8bf4d932b846c05
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Core.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Core.dll
new file mode 100644
index 000000000..63c806d1e
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Core.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Core.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Core.dll.meta
new file mode 100644
index 000000000..15c3cf8b4
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Core.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: e290b43d34b053a488b4fe81f0c3143b
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Crypto.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Crypto.dll
new file mode 100644
index 000000000..2f8a939f8
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Crypto.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Crypto.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Crypto.dll.meta
new file mode 100644
index 000000000..a191d6f7c
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Crypto.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: b340e3895d82e3246ad321b835d6fe51
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Events.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Events.dll
new file mode 100644
index 000000000..5eb3f817b
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Events.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Events.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Events.dll.meta
new file mode 100644
index 000000000..104fa26cb
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Events.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: d8968695e8f832746ad1f3906edefa8f
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.Websocket.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.Websocket.dll
new file mode 100644
index 000000000..f7c4f1113
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.Websocket.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.Websocket.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.Websocket.dll.meta
new file mode 100644
index 000000000..78e709639
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.Websocket.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 7d2b2e8f82963ca4e97380ba52bd7f1f
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.dll
new file mode 100644
index 000000000..fb7c96663
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.dll.meta
new file mode 100644
index 000000000..e5d033481
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Network.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 8207cd24ce8a3ac428ff9a46b4b91553
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Sign.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Sign.dll
new file mode 100644
index 000000000..0be79a3a0
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Sign.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Sign.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Sign.dll.meta
new file mode 100644
index 000000000..ecdf035f7
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Sign.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 8411327f1484c8c4095a5d9f880aead3
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Storage.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Storage.dll
new file mode 100644
index 000000000..c3f2fd437
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Storage.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Storage.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Storage.dll.meta
new file mode 100644
index 000000000..1e2db58cb
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Storage.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: c54cab584eb868f4792c378b2fcec382
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Web3Wallet.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Web3Wallet.dll
new file mode 100644
index 000000000..ba0d134b9
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Web3Wallet.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Web3Wallet.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Web3Wallet.dll.meta
new file mode 100644
index 000000000..14133839b
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/WalletConnectSharp.Web3Wallet.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 4673b71f231fd284abc90baf8c6bf47a
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Websocket.Client.dll b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Websocket.Client.dll
new file mode 100644
index 000000000..ab9b72fe3
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Websocket.Client.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Websocket.Client.dll.meta b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Websocket.Client.dll.meta
new file mode 100644
index 000000000..fd1069884
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Runtime/Libraries/Websocket.Client.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 4761e37fede86c845ae3a181eccf4a9f
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 1
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries.meta b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries.meta
new file mode 100644
index 000000000..063137848
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ce13820d6d63df9428e5c3e09c97446c
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries/zxing.unity.dll b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries/zxing.unity.dll
new file mode 100644
index 000000000..8459dfba1
Binary files /dev/null and b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries/zxing.unity.dll differ
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries/zxing.unity.dll.meta b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries/zxing.unity.dll.meta
new file mode 100644
index 000000000..a91836576
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Libraries/zxing.unity.dll.meta
@@ -0,0 +1,33 @@
+fileFormatVersion: 2
+guid: 18543dd6e7582094f8d121f88fb2ae5d
+PluginImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ iconMap: {}
+ executionOrder: {}
+ defineConstraints: []
+ isPreloaded: 0
+ isOverridable: 0
+ isExplicitlyReferenced: 0
+ validateReferences: 1
+ platformData:
+ - first:
+ Any:
+ second:
+ enabled: 1
+ settings: {}
+ - first:
+ Editor: Editor
+ second:
+ enabled: 0
+ settings:
+ DefaultValueInitialized: true
+ - first:
+ Windows Store Apps: WindowsStoreApps
+ second:
+ enabled: 0
+ settings:
+ CPU: AnyCPU
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleLogin.unity b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleLogin.unity
index e8109455c..77c56686b 100644
--- a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleLogin.unity
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleLogin.unity
@@ -332,6 +332,284 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 108583391}
m_CullTransparentMesh: 1
+--- !u!1 &125483104
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 125483105}
+ - component: {fileID: 125483107}
+ - component: {fileID: 125483106}
+ m_Layer: 5
+ m_Name: QrCodeImage
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &125483105
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 125483104}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 311857776}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.35}
+ m_AnchorMax: {x: 1, y: 0.85}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &125483106
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 125483104}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 0
+ m_PreserveAspect: 1
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &125483107
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 125483104}
+ m_CullTransparentMesh: 1
+--- !u!1001 &212403312
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 311857776}
+ m_Modifications:
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_Pivot.x
+ value: 0.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_Pivot.y
+ value: 0.5
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_RootOrder
+ value: 3
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_AnchorMax.x
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_AnchorMax.y
+ value: 0.25
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_AnchorMin.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_AnchorMin.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_SizeDelta.x
+ value: -50
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_SizeDelta.y
+ value: -50
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_AnchoredPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_AnchoredPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 8775736491206355084, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_Name
+ value: CopyToClipboardButton
+ objectReference: {fileID: 0}
+ - target: {fileID: 8781309615174179339, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_text
+ value: Copy to Clipboard
+ objectReference: {fileID: 0}
+ - target: {fileID: 8781309615174179339, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_fontSize
+ value: 16
+ objectReference: {fileID: 0}
+ - target: {fileID: 8781309615174179339, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ propertyPath: m_fontSizeMax
+ value: 16
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+--- !u!224 &212403313 stripped
+RectTransform:
+ m_CorrespondingSourceObject: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 212403312}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &212403314 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 7324590823460843055, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 212403312}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!1 &225123873
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 225123874}
+ - component: {fileID: 225123876}
+ - component: {fileID: 225123875}
+ m_Layer: 5
+ m_Name: Background
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &225123874
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 225123873}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 1583968964}
+ m_Father: {fileID: 981405682}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0.25, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: -10.000004, y: -10.000001}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &225123875
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 225123873}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 0
+ m_PreserveAspect: 1
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &225123876
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 225123873}
+ m_CullTransparentMesh: 1
--- !u!1 &253290328
GameObject:
m_ObjectHideFlags: 0
@@ -467,7 +745,7 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 253290328}
m_CullTransparentMesh: 1
---- !u!1 &279245842
+--- !u!1 &258509835
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -475,37 +753,172 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- - component: {fileID: 279245843}
- - component: {fileID: 279245845}
- - component: {fileID: 279245844}
+ - component: {fileID: 258509836}
+ - component: {fileID: 258509838}
+ - component: {fileID: 258509837}
m_Layer: 5
- m_Name: Error Panel
+ m_Name: Item Label
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!224 &279245843
+--- !u!224 &258509836
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 279245842}
- m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_GameObject: {fileID: 258509835}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
- m_Children:
- - {fileID: 2126730552}
- - {fileID: 1491563362}
- m_Father: {fileID: 1701305867}
- m_RootOrder: 1
+ m_Children: []
+ m_Father: {fileID: 1808259963}
+ m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0.5, y: 0.5}
- m_AnchorMax: {x: 0.5, y: 0.5}
- m_AnchoredPosition: {x: 0, y: -8.4831}
- m_SizeDelta: {x: 400, y: 167.1662}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 5, y: -0.5}
+ m_SizeDelta: {x: -30, y: -3}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &258509837
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 258509835}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_text: Option A
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
+ m_enableVertexGradient: 0
+ m_colorMode: 3
+ m_fontColorGradient:
+ topLeft: {r: 1, g: 1, b: 1, a: 1}
+ topRight: {r: 1, g: 1, b: 1, a: 1}
+ bottomLeft: {r: 1, g: 1, b: 1, a: 1}
+ bottomRight: {r: 1, g: 1, b: 1, a: 1}
+ m_fontColorGradientPreset: {fileID: 0}
+ m_spriteAsset: {fileID: 0}
+ m_tintAllSprites: 0
+ m_StyleSheet: {fileID: 0}
+ m_TextStyleHashCode: 0
+ m_overrideHtmlColors: 0
+ m_faceColor:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontSize: 14
+ m_fontSizeBase: 14
+ m_fontWeight: 400
+ m_enableAutoSizing: 0
+ m_fontSizeMin: 18
+ m_fontSizeMax: 72
+ m_fontStyle: 0
+ m_HorizontalAlignment: 1
+ m_VerticalAlignment: 512
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_enableWordWrapping: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 1
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_parseCtrlCharacters: 1
+ m_isOrthographic: 1
+ m_isCullingEnabled: 0
+ m_horizontalMapping: 0
+ m_verticalMapping: 0
+ m_uvLineOffset: 0
+ m_geometrySortingOrder: 0
+ m_IsTextObjectScaleStatic: 0
+ m_VertexBufferAutoSizeReduction: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: 0, y: 0, z: 0, w: 0}
+ m_isUsingLegacyAnimationComponent: 0
+ m_isVolumetricText: 0
+ m_hasFontAssetChanged: 0
+ m_baseMaterial: {fileID: 0}
+ m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
+--- !u!222 &258509838
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 258509835}
+ m_CullTransparentMesh: 1
+--- !u!1 &279245842
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 279245843}
+ - component: {fileID: 279245845}
+ - component: {fileID: 279245844}
+ m_Layer: 5
+ m_Name: Error Panel
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &279245843
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 279245842}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 2126730552}
+ - {fileID: 1491563362}
+ m_Father: {fileID: 1701305867}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 0.5}
+ m_AnchorMax: {x: 0.5, y: 0.5}
+ m_AnchoredPosition: {x: 0, y: -8.4831}
+ m_SizeDelta: {x: 400, y: 167.1662}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &279245844
MonoBehaviour:
@@ -545,6 +958,86 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 279245842}
m_CullTransparentMesh: 1
+--- !u!1 &311857775
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 311857776}
+ - component: {fileID: 311857778}
+ - component: {fileID: 311857777}
+ m_Layer: 5
+ m_Name: Content
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &311857776
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 311857775}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 850372067}
+ - {fileID: 125483105}
+ - {fileID: 814994758}
+ - {fileID: 212403313}
+ m_Father: {fileID: 1561876541}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: -100, y: -200}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &311857777
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 311857775}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0.101960786, g: 0.101960786, b: 0.10980392, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &311857778
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 311857775}
+ m_CullTransparentMesh: 1
--- !u!1 &325001971
GameObject:
m_ObjectHideFlags: 0
@@ -1060,6 +1553,60 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_HorizontalFit: 0
m_VerticalFit: 2
+--- !u!1 &395689439
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 395689440}
+ - component: {fileID: 395689441}
+ m_Layer: 5
+ m_Name: WalletConnectModal
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &395689440
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 395689439}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 1278821651}
+ m_Father: {fileID: 1880270956}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &395689441
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 395689439}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fb890e484538c444da09be8d0f89dcd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ _qrCodeImage: {fileID: 125483106}
+ _copyToClipboardButton: {fileID: 212403314}
+ _backButton: {fileID: 1993078182}
+ _container: {fileID: 1278821651}
--- !u!1001 &452118933
PrefabInstance:
m_ObjectHideFlags: 0
@@ -1270,7 +1817,7 @@ MonoBehaviour:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 10
---- !u!1 &724612374
+--- !u!1 &537139933
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -1278,38 +1825,306 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- - component: {fileID: 724612375}
- - component: {fileID: 724612376}
- - component: {fileID: 724612377}
+ - component: {fileID: 537139934}
m_Layer: 5
- m_Name: Toggle - Remember Me
+ m_Name: Content
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!224 &724612375
+--- !u!224 &537139934
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 724612374}
- m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_GameObject: {fileID: 537139933}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- - {fileID: 351786045}
- - {fileID: 1791429089}
- m_Father: {fileID: 2036998554}
- m_RootOrder: 1
+ - {fileID: 1808259963}
+ m_Father: {fileID: 2043937261}
+ m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0, y: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
+ m_SizeDelta: {x: 0, y: 28}
+ m_Pivot: {x: 0.5, y: 1}
+--- !u!1 &540464233
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 540464234}
+ - component: {fileID: 540464238}
+ - component: {fileID: 540464237}
+ - component: {fileID: 540464236}
+ - component: {fileID: 540464235}
+ m_Layer: 5
+ m_Name: Dropdown - Wallets
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 0
+--- !u!224 &540464234
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540464233}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 2033480131}
+ - {fileID: 2045136594}
+ - {fileID: 741301286}
+ m_Father: {fileID: 2036998554}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 295, y: -190}
+ m_SizeDelta: {x: 590, y: 50}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &540464235
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540464233}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 50
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+ m_LayoutPriority: 1
+--- !u!114 &540464236
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540464233}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 7b743370ac3e4ec2a1668f5455a8ef8a, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 540464237}
+ m_Template: {fileID: 741301286}
+ m_CaptionText: {fileID: 2033480132}
+ m_CaptionImage: {fileID: 0}
+ m_Placeholder: {fileID: 0}
+ m_ItemText: {fileID: 258509837}
+ m_ItemImage: {fileID: 0}
+ m_Value: 0
+ m_Options:
+ m_Options: []
+ m_OnValueChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_AlphaFadeSpeed: 0.15
+--- !u!114 &540464237
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540464233}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0.054901965, g: 0.054901965, b: 0.054901965, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &540464238
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540464233}
+ m_CullTransparentMesh: 1
+--- !u!1 &562988047
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 562988048}
+ - component: {fileID: 562988050}
+ - component: {fileID: 562988049}
+ m_Layer: 5
+ m_Name: Item Background
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &562988048
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 562988047}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 1808259963}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &562988049
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 562988047}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &562988050
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 562988047}
+ m_CullTransparentMesh: 1
+--- !u!1 &724612374
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 724612375}
+ - component: {fileID: 724612376}
+ - component: {fileID: 724612377}
+ m_Layer: 5
+ m_Name: Toggle - Remember Me
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &724612375
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 724612374}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 351786045}
+ - {fileID: 1791429089}
+ m_Father: {fileID: 2036998554}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &724612376
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -1378,7 +2193,7 @@ MonoBehaviour:
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
---- !u!1 &786896300
+--- !u!1 &741301285
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -1386,59 +2201,168 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- - component: {fileID: 786896301}
- - component: {fileID: 786896303}
- - component: {fileID: 786896302}
+ - component: {fileID: 741301286}
+ - component: {fileID: 741301289}
+ - component: {fileID: 741301288}
+ - component: {fileID: 741301287}
m_Layer: 5
- m_Name: Error message
+ m_Name: Template
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &786896301
+ m_IsActive: 0
+--- !u!224 &741301286
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 786896300}
- m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_GameObject: {fileID: 741301285}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 1491563362}
- m_RootOrder: 0
+ m_Children:
+ - {fileID: 2043937261}
+ - {fileID: 1934047389}
+ m_Father: {fileID: 540464234}
+ m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
---- !u!114 &786896302
+ m_AnchorMax: {x: 1, y: 0}
+ m_AnchoredPosition: {x: 0, y: 2}
+ m_SizeDelta: {x: 0, y: 150}
+ m_Pivot: {x: 0.5, y: 1}
+--- !u!114 &741301287
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 786896300}
+ m_GameObject: {fileID: 741301285}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
+ m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_Material: {fileID: 0}
- m_Color: {r: 0.05, g: 0.05, b: 0.05, a: 1}
- m_RaycastTarget: 1
- m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
- m_Maskable: 1
- m_OnCullStateChanged:
+ m_Content: {fileID: 537139934}
+ m_Horizontal: 0
+ m_Vertical: 1
+ m_MovementType: 2
+ m_Elasticity: 0.1
+ m_Inertia: 1
+ m_DecelerationRate: 0.135
+ m_ScrollSensitivity: 1
+ m_Viewport: {fileID: 2043937261}
+ m_HorizontalScrollbar: {fileID: 0}
+ m_VerticalScrollbar: {fileID: 1934047390}
+ m_HorizontalScrollbarVisibility: 0
+ m_VerticalScrollbarVisibility: 2
+ m_HorizontalScrollbarSpacing: 0
+ m_VerticalScrollbarSpacing: -3
+ m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
- m_FontData:
- m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
- m_FontSize: 20
+--- !u!114 &741301288
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 741301285}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &741301289
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 741301285}
+ m_CullTransparentMesh: 1
+--- !u!1 &786896300
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 786896301}
+ - component: {fileID: 786896303}
+ - component: {fileID: 786896302}
+ m_Layer: 5
+ m_Name: Error message
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &786896301
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 786896300}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 1491563362}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &786896302
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 786896300}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0.05, g: 0.05, b: 0.05, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_FontData:
+ m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
+ m_FontSize: 20
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 0
@@ -1561,46 +2485,614 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
--- !u!224 &787012149 stripped
RectTransform:
- m_CorrespondingSourceObject: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
- m_PrefabInstance: {fileID: 787012148}
+ m_CorrespondingSourceObject: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 787012148}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &787012150 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 7324590823460843055, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 787012148}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 787012151}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!1 &787012151 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 8775736491206355084, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 787012148}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &787012152
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 787012151}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 50
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+ m_LayoutPriority: 1
+--- !u!1 &814994757
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 814994758}
+ - component: {fileID: 814994760}
+ - component: {fileID: 814994759}
+ m_Layer: 5
+ m_Name: orLabel
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &814994758
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 814994757}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 311857776}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.25}
+ m_AnchorMax: {x: 1, y: 0.35}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &814994759
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 814994757}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_text: or
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontColor: {r: 1, g: 1, b: 1, a: 1}
+ m_enableVertexGradient: 0
+ m_colorMode: 3
+ m_fontColorGradient:
+ topLeft: {r: 1, g: 1, b: 1, a: 1}
+ topRight: {r: 1, g: 1, b: 1, a: 1}
+ bottomLeft: {r: 1, g: 1, b: 1, a: 1}
+ bottomRight: {r: 1, g: 1, b: 1, a: 1}
+ m_fontColorGradientPreset: {fileID: 0}
+ m_spriteAsset: {fileID: 0}
+ m_tintAllSprites: 0
+ m_StyleSheet: {fileID: 0}
+ m_TextStyleHashCode: -1183493901
+ m_overrideHtmlColors: 0
+ m_faceColor:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontSize: 16
+ m_fontSizeBase: 36
+ m_fontWeight: 400
+ m_enableAutoSizing: 1
+ m_fontSizeMin: 8
+ m_fontSizeMax: 16
+ m_fontStyle: 1
+ m_HorizontalAlignment: 2
+ m_VerticalAlignment: 512
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_enableWordWrapping: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 1
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_parseCtrlCharacters: 1
+ m_isOrthographic: 1
+ m_isCullingEnabled: 0
+ m_horizontalMapping: 0
+ m_verticalMapping: 0
+ m_uvLineOffset: 0
+ m_geometrySortingOrder: 0
+ m_IsTextObjectScaleStatic: 0
+ m_VertexBufferAutoSizeReduction: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: 0, y: 0, z: 0, w: 0}
+ m_isUsingLegacyAnimationComponent: 0
+ m_isVolumetricText: 0
+ m_hasFontAssetChanged: 0
+ m_baseMaterial: {fileID: 0}
+ m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
+--- !u!222 &814994760
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 814994757}
+ m_CullTransparentMesh: 1
+--- !u!1 &850372066
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 850372067}
+ - component: {fileID: 850372069}
+ - component: {fileID: 850372068}
+ m_Layer: 5
+ m_Name: HeaderLabel
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &850372067
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 850372066}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 311857776}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.85}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: -50, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &850372068
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 850372066}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_text: To Connect your Wallet Scan the QR Code below from your wallet
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontColor: {r: 1, g: 1, b: 1, a: 1}
+ m_enableVertexGradient: 0
+ m_colorMode: 3
+ m_fontColorGradient:
+ topLeft: {r: 1, g: 1, b: 1, a: 1}
+ topRight: {r: 1, g: 1, b: 1, a: 1}
+ bottomLeft: {r: 1, g: 1, b: 1, a: 1}
+ bottomRight: {r: 1, g: 1, b: 1, a: 1}
+ m_fontColorGradientPreset: {fileID: 0}
+ m_spriteAsset: {fileID: 0}
+ m_tintAllSprites: 0
+ m_StyleSheet: {fileID: 0}
+ m_TextStyleHashCode: -1183493901
+ m_overrideHtmlColors: 0
+ m_faceColor:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontSize: 16
+ m_fontSizeBase: 36
+ m_fontWeight: 400
+ m_enableAutoSizing: 1
+ m_fontSizeMin: 8
+ m_fontSizeMax: 16
+ m_fontStyle: 1
+ m_HorizontalAlignment: 2
+ m_VerticalAlignment: 512
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_enableWordWrapping: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 1
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_parseCtrlCharacters: 1
+ m_isOrthographic: 1
+ m_isCullingEnabled: 0
+ m_horizontalMapping: 0
+ m_verticalMapping: 0
+ m_uvLineOffset: 0
+ m_geometrySortingOrder: 0
+ m_IsTextObjectScaleStatic: 0
+ m_VertexBufferAutoSizeReduction: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: 0, y: 0, z: 0, w: 0}
+ m_isUsingLegacyAnimationComponent: 0
+ m_isVolumetricText: 0
+ m_hasFontAssetChanged: 0
+ m_baseMaterial: {fileID: 0}
+ m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
+--- !u!222 &850372069
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 850372066}
+ m_CullTransparentMesh: 1
+--- !u!1 &920270119
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 920270120}
+ m_Layer: 5
+ m_Name: Header
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &920270120
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 920270119}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 23680381}
+ - {fileID: 253290329}
+ m_Father: {fileID: 1880270956}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.725}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 1}
+--- !u!1 &977353941
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 977353942}
+ - component: {fileID: 977353944}
+ - component: {fileID: 977353943}
+ m_Layer: 5
+ m_Name: Handle
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &977353942
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 977353941}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 1513683686}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 0.2}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 20, y: 20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &977353943
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 977353941}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &977353944
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 977353941}
+ m_CullTransparentMesh: 1
+--- !u!1 &981405681
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 981405682}
+ - component: {fileID: 981405684}
+ - component: {fileID: 981405683}
+ m_Layer: 5
+ m_Name: Toggle - Redirect To Wallet
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 0
+--- !u!224 &981405682
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 981405681}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 225123874}
+ - {fileID: 1642196834}
+ m_Father: {fileID: 2036998554}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 1}
+ m_AnchorMax: {x: 0, y: 1}
+ m_AnchoredPosition: {x: 295, y: -135}
+ m_SizeDelta: {x: 590, y: 50}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &981405683
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 981405681}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 50
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+ m_LayoutPriority: 1
+--- !u!114 &981405684
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 981405681}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 225123875}
+ toggleTransition: 1
+ graphic: {fileID: 1583968965}
+ m_Group: {fileID: 0}
+ onValueChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_IsOn: 0
+--- !u!1 &1023192743
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1023192744}
+ - component: {fileID: 1023192746}
+ - component: {fileID: 1023192745}
+ m_Layer: 5
+ m_Name: Item Checkmark
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1023192744
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
---- !u!114 &787012150 stripped
+ m_GameObject: {fileID: 1023192743}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 1808259963}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.5}
+ m_AnchorMax: {x: 0, y: 0.5}
+ m_AnchoredPosition: {x: 10, y: 0}
+ m_SizeDelta: {x: 20, y: 20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1023192745
MonoBehaviour:
- m_CorrespondingSourceObject: {fileID: 7324590823460843055, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
- m_PrefabInstance: {fileID: 787012148}
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 787012151}
+ m_GameObject: {fileID: 1023192743}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
---- !u!1 &787012151 stripped
-GameObject:
- m_CorrespondingSourceObject: {fileID: 8775736491206355084, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
- m_PrefabInstance: {fileID: 787012148}
- m_PrefabAsset: {fileID: 0}
---- !u!114 &787012152
-MonoBehaviour:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &1023192746
+CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 787012151}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- m_IgnoreLayout: 0
- m_MinWidth: -1
- m_MinHeight: -1
- m_PreferredWidth: -1
- m_PreferredHeight: 50
- m_FlexibleWidth: -1
- m_FlexibleHeight: -1
- m_LayoutPriority: 1
---- !u!1 &920270119
+ m_GameObject: {fileID: 1023192743}
+ m_CullTransparentMesh: 1
+--- !u!1 &1062946085
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -1608,37 +3100,36 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- - component: {fileID: 920270120}
+ - component: {fileID: 1062946086}
m_Layer: 5
- m_Name: Header
+ m_Name: Column - Web3Auth
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!224 &920270120
+--- !u!224 &1062946086
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 920270119}
+ m_GameObject: {fileID: 1062946085}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- - {fileID: 23680381}
- - {fileID: 253290329}
- m_Father: {fileID: 1880270956}
+ - {fileID: 387303608}
+ m_Father: {fileID: 1434038408}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
- m_AnchorMin: {x: 0, y: 0.725}
- m_AnchorMax: {x: 1, y: 1}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
- m_Pivot: {x: 0.5, y: 1}
---- !u!1 &1062946085
+ m_SizeDelta: {x: -50, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!1 &1278821650
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -1646,34 +3137,34 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- - component: {fileID: 1062946086}
+ - component: {fileID: 1278821651}
m_Layer: 5
- m_Name: Column - Web3Auth
+ m_Name: Container
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!224 &1062946086
+ m_IsActive: 0
+--- !u!224 &1278821651
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1062946085}
+ m_GameObject: {fileID: 1278821650}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- - {fileID: 387303608}
- m_Father: {fileID: 1434038408}
+ - {fileID: 1561876541}
+ m_Father: {fileID: 395689440}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
- m_AnchorMax: {x: 0.5, y: 1}
+ m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: -50, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1334079840
GameObject:
@@ -1740,6 +3231,27 @@ MonoBehaviour:
Provider: 3
- Button: {fileID: 1508551058}
Provider: 4
+ supportedWalletsDropdown: {fileID: 540464236}
+ redirectToWalletToggle: {fileID: 981405684}
+ walletConnectModal: {fileID: 395689441}
+ k__BackingField: f4bff60eb260841f46b1c77588cd8acb
+ k__BackingField: Web3.Unity
+ k__BackingField: unity-game
+ k__BackingField:
+ Name: Web3.Unity
+ Description: web3.unity is an open-source gaming SDK written in C# and developed
+ by ChainSafe Gaming. It connects games built in the Unity game engine to the
+ blockchain. The library currently supports games built for web browsers (WebGL),
+ iOS/Android mobile, and desktop. web3.unity is compatible with most EVM-based
+ chains such as Ethereum, Polygon, Moonbeam, Cronos, Nervos, and Binance Smart
+ Chain, letting developers easily choose and switch between them to create the
+ best in-game experience.
+ Url: https://chainsafe.io/
+ Icons: []
+ Redirect:
+ Native:
+ Universal:
+ VerifyUrl:
--- !u!1 &1434038407
GameObject:
m_ObjectHideFlags: 0
@@ -2062,45 +3574,371 @@ PrefabInstance:
m_SourcePrefab: {fileID: 100100000, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
--- !u!224 &1508551057 stripped
RectTransform:
- m_CorrespondingSourceObject: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
- m_PrefabInstance: {fileID: 1508551056}
+ m_CorrespondingSourceObject: {fileID: 4764608378852082086, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 1508551056}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &1508551058 stripped
+MonoBehaviour:
+ m_CorrespondingSourceObject: {fileID: 7324590823460843055, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 1508551056}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1508551059}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+--- !u!1 &1508551059 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 8775736491206355084, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
+ m_PrefabInstance: {fileID: 1508551056}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &1508551060
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1508551059}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 0
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: 50
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+ m_LayoutPriority: 1
+--- !u!1 &1513683685
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1513683686}
+ m_Layer: 5
+ m_Name: Sliding Area
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1513683686
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1513683685}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 977353942}
+ m_Father: {fileID: 1934047389}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: -20, y: -20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!1 &1561876540
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1561876541}
+ - component: {fileID: 1561876544}
+ - component: {fileID: 1561876543}
+ m_Layer: 5
+ m_Name: Backdrop
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1561876541
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1561876540}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 311857776}
+ - {fileID: 1993078179}
+ m_Father: {fileID: 1278821651}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1561876543
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1561876540}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 0, g: 0, b: 0, a: 0.5019608}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &1561876544
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1561876540}
+ m_CullTransparentMesh: 1
+--- !u!1 &1583968963
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1583968964}
+ - component: {fileID: 1583968966}
+ - component: {fileID: 1583968965}
+ m_Layer: 5
+ m_Name: Checkmark
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1583968964
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
---- !u!114 &1508551058 stripped
+ m_GameObject: {fileID: 1583968963}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 225123874}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1583968965
MonoBehaviour:
- m_CorrespondingSourceObject: {fileID: 7324590823460843055, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
- m_PrefabInstance: {fileID: 1508551056}
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1508551059}
+ m_GameObject: {fileID: 1583968963}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
---- !u!1 &1508551059 stripped
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10901, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 0
+ m_PreserveAspect: 1
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &1583968966
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1583968963}
+ m_CullTransparentMesh: 1
+--- !u!1 &1642196833
GameObject:
- m_CorrespondingSourceObject: {fileID: 8775736491206355084, guid: 50ad8ea555027414b8ddfc03fc7d41ab, type: 3}
- m_PrefabInstance: {fileID: 1508551056}
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
---- !u!114 &1508551060
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1642196834}
+ - component: {fileID: 1642196836}
+ - component: {fileID: 1642196835}
+ m_Layer: 5
+ m_Name: Label
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1642196834
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1642196833}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 981405682}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.25, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: -75, y: 0}
+ m_SizeDelta: {x: -150, y: -30}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1642196835
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1508551059}
+ m_GameObject: {fileID: 1642196833}
m_Enabled: 1
m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
+ m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
- m_IgnoreLayout: 0
- m_MinWidth: -1
- m_MinHeight: -1
- m_PreferredWidth: -1
- m_PreferredHeight: 50
- m_FlexibleWidth: -1
- m_FlexibleHeight: -1
- m_LayoutPriority: 1
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_text: Redirect to Wallet
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2100000, guid: 79459efec17a4d00a321bdcc27bbc385, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4294111986
+ m_fontColor: {r: 0.95, g: 0.95, b: 0.95, a: 1}
+ m_enableVertexGradient: 0
+ m_colorMode: 3
+ m_fontColorGradient:
+ topLeft: {r: 1, g: 1, b: 1, a: 1}
+ topRight: {r: 1, g: 1, b: 1, a: 1}
+ bottomLeft: {r: 1, g: 1, b: 1, a: 1}
+ bottomRight: {r: 1, g: 1, b: 1, a: 1}
+ m_fontColorGradientPreset: {fileID: 0}
+ m_spriteAsset: {fileID: 0}
+ m_tintAllSprites: 0
+ m_StyleSheet: {fileID: 0}
+ m_TextStyleHashCode: -1183493901
+ m_overrideHtmlColors: 0
+ m_faceColor:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontSize: 17.9
+ m_fontSizeBase: 20
+ m_fontWeight: 400
+ m_enableAutoSizing: 1
+ m_fontSizeMin: 8
+ m_fontSizeMax: 36
+ m_fontStyle: 1
+ m_HorizontalAlignment: 1
+ m_VerticalAlignment: 512
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_enableWordWrapping: 0
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 1
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_parseCtrlCharacters: 1
+ m_isOrthographic: 1
+ m_isCullingEnabled: 0
+ m_horizontalMapping: 0
+ m_verticalMapping: 0
+ m_uvLineOffset: 0
+ m_geometrySortingOrder: 0
+ m_IsTextObjectScaleStatic: 0
+ m_VertexBufferAutoSizeReduction: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: 0, y: 0, z: 0, w: 0}
+ m_isUsingLegacyAnimationComponent: 0
+ m_isVolumetricText: 0
+ m_hasFontAssetChanged: 0
+ m_baseMaterial: {fileID: 0}
+ m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
+--- !u!222 &1642196836
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1642196833}
+ m_CullTransparentMesh: 1
--- !u!1 &1701305866
GameObject:
m_ObjectHideFlags: 0
@@ -2133,7 +3971,7 @@ RectTransform:
- {fileID: 108583392}
- {fileID: 279245843}
m_Father: {fileID: 1880270956}
- m_RootOrder: 2
+ m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@@ -2188,8 +4026,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.25, y: 0}
m_AnchorMax: {x: 1, y: 1}
- m_AnchoredPosition: {x: 0, y: 0}
- m_SizeDelta: {x: 0, y: 0}
+ m_AnchoredPosition: {x: -75, y: 0}
+ m_SizeDelta: {x: -150, y: -30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1791429091
CanvasRenderer:
@@ -2222,14 +4060,14 @@ MonoBehaviour:
m_text: Remember me
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
- m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2100000, guid: 79459efec17a4d00a321bdcc27bbc385, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
- rgba: 4294967295
- m_fontColor: {r: 1, g: 1, b: 1, a: 1}
+ rgba: 4294111986
+ m_fontColor: {r: 0.95, g: 0.95, b: 0.95, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
@@ -2246,13 +4084,13 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
- m_fontSize: 22
- m_fontSizeBase: 21
+ m_fontSize: 17.9
+ m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 1
- m_fontSizeMin: 14
- m_fontSizeMax: 22
- m_fontStyle: 0
+ m_fontSizeMin: 8
+ m_fontSizeMax: 36
+ m_fontStyle: 1
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
@@ -2288,6 +4126,94 @@ MonoBehaviour:
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
+--- !u!1 &1808259962
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1808259963}
+ - component: {fileID: 1808259964}
+ m_Layer: 5
+ m_Name: Item
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1808259963
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1808259962}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 562988048}
+ - {fileID: 1023192744}
+ - {fileID: 258509836}
+ m_Father: {fileID: 537139934}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.5}
+ m_AnchorMax: {x: 1, y: 0.5}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1808259964
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1808259962}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 562988049}
+ toggleTransition: 1
+ graphic: {fileID: 1023192745}
+ m_Group: {fileID: 0}
+ onValueChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_IsOn: 1
--- !u!1 &1880270952
GameObject:
m_ObjectHideFlags: 0
@@ -2382,6 +4308,7 @@ RectTransform:
m_Children:
- {fileID: 920270120}
- {fileID: 1434038408}
+ - {fileID: 395689440}
- {fileID: 1701305867}
m_Father: {fileID: 0}
m_RootOrder: 3
@@ -2467,6 +4394,313 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1900245908}
m_CullTransparentMesh: 1
+--- !u!1 &1934047388
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1934047389}
+ - component: {fileID: 1934047392}
+ - component: {fileID: 1934047391}
+ - component: {fileID: 1934047390}
+ m_Layer: 5
+ m_Name: Scrollbar
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1934047389
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1934047388}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 1513683686}
+ m_Father: {fileID: 741301286}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 20, y: 0}
+ m_Pivot: {x: 1, y: 1}
+--- !u!114 &1934047390
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1934047388}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2a4db7a114972834c8e4117be1d82ba3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 977353943}
+ m_HandleRect: {fileID: 977353942}
+ m_Direction: 2
+ m_Value: 0
+ m_Size: 0.2
+ m_NumberOfSteps: 0
+ m_OnValueChanged:
+ m_PersistentCalls:
+ m_Calls: []
+--- !u!114 &1934047391
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1934047388}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &1934047392
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1934047388}
+ m_CullTransparentMesh: 1
+--- !u!1 &1993078178
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1993078179}
+ - component: {fileID: 1993078181}
+ - component: {fileID: 1993078180}
+ - component: {fileID: 1993078182}
+ m_Layer: 5
+ m_Name: CloseButton
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1993078179
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1993078178}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 1561876541}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 1}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 50, y: 50}
+ m_Pivot: {x: 1, y: 1}
+--- !u!114 &1993078180
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1993078178}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_text: X
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontColor: {r: 1, g: 1, b: 1, a: 1}
+ m_enableVertexGradient: 0
+ m_colorMode: 3
+ m_fontColorGradient:
+ topLeft: {r: 1, g: 1, b: 1, a: 1}
+ topRight: {r: 1, g: 1, b: 1, a: 1}
+ bottomLeft: {r: 1, g: 1, b: 1, a: 1}
+ bottomRight: {r: 1, g: 1, b: 1, a: 1}
+ m_fontColorGradientPreset: {fileID: 0}
+ m_spriteAsset: {fileID: 0}
+ m_tintAllSprites: 0
+ m_StyleSheet: {fileID: 0}
+ m_TextStyleHashCode: -1183493901
+ m_overrideHtmlColors: 0
+ m_faceColor:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontSize: 31.3
+ m_fontSizeBase: 36
+ m_fontWeight: 400
+ m_enableAutoSizing: 1
+ m_fontSizeMin: 18
+ m_fontSizeMax: 72
+ m_fontStyle: 1
+ m_HorizontalAlignment: 2
+ m_VerticalAlignment: 512
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_enableWordWrapping: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 1
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_parseCtrlCharacters: 1
+ m_isOrthographic: 1
+ m_isCullingEnabled: 0
+ m_horizontalMapping: 0
+ m_verticalMapping: 0
+ m_uvLineOffset: 0
+ m_geometrySortingOrder: 0
+ m_IsTextObjectScaleStatic: 0
+ m_VertexBufferAutoSizeReduction: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: -15, y: 15, z: 0, w: 0}
+ m_isUsingLegacyAnimationComponent: 0
+ m_isVolumetricText: 0
+ m_hasFontAssetChanged: 0
+ m_baseMaterial: {fileID: 0}
+ m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
+--- !u!222 &1993078181
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1993078178}
+ m_CullTransparentMesh: 1
+--- !u!114 &1993078182
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1993078178}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ m_Colors:
+ m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
+ m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
+ m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
+ m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
+ m_ColorMultiplier: 1
+ m_FadeDuration: 0.1
+ m_SpriteState:
+ m_HighlightedSprite: {fileID: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 1561876543}
+ m_OnClick:
+ m_PersistentCalls:
+ m_Calls: []
--- !u!1001 &1996606957
PrefabInstance:
m_ObjectHideFlags: 0
@@ -2609,6 +4843,141 @@ MonoBehaviour:
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
+--- !u!1 &2033480130
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 2033480131}
+ - component: {fileID: 2033480133}
+ - component: {fileID: 2033480132}
+ m_Layer: 5
+ m_Name: Label
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &2033480131
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2033480130}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 540464234}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: -30, y: -30}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &2033480132
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2033480130}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_text:
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2100000, guid: 79459efec17a4d00a321bdcc27bbc385, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4294111986
+ m_fontColor: {r: 0.95, g: 0.95, b: 0.95, a: 1}
+ m_enableVertexGradient: 0
+ m_colorMode: 3
+ m_fontColorGradient:
+ topLeft: {r: 1, g: 1, b: 1, a: 1}
+ topRight: {r: 1, g: 1, b: 1, a: 1}
+ bottomLeft: {r: 1, g: 1, b: 1, a: 1}
+ bottomRight: {r: 1, g: 1, b: 1, a: 1}
+ m_fontColorGradientPreset: {fileID: 0}
+ m_spriteAsset: {fileID: 0}
+ m_tintAllSprites: 0
+ m_StyleSheet: {fileID: 0}
+ m_TextStyleHashCode: -1183493901
+ m_overrideHtmlColors: 0
+ m_faceColor:
+ serializedVersion: 2
+ rgba: 4294967295
+ m_fontSize: 20
+ m_fontSizeBase: 20
+ m_fontWeight: 400
+ m_enableAutoSizing: 1
+ m_fontSizeMin: 8
+ m_fontSizeMax: 36
+ m_fontStyle: 1
+ m_HorizontalAlignment: 1
+ m_VerticalAlignment: 512
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_enableWordWrapping: 0
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 1
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_parseCtrlCharacters: 1
+ m_isOrthographic: 1
+ m_isCullingEnabled: 0
+ m_horizontalMapping: 0
+ m_verticalMapping: 0
+ m_uvLineOffset: 0
+ m_geometrySortingOrder: 0
+ m_IsTextObjectScaleStatic: 0
+ m_VertexBufferAutoSizeReduction: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: 0, y: 0, z: 0, w: 0}
+ m_isUsingLegacyAnimationComponent: 0
+ m_isVolumetricText: 0
+ m_hasFontAssetChanged: 0
+ m_baseMaterial: {fileID: 0}
+ m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
+--- !u!222 &2033480133
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2033480130}
+ m_CullTransparentMesh: 1
--- !u!1 &2036998553
GameObject:
m_ObjectHideFlags: 0
@@ -2641,6 +5010,8 @@ RectTransform:
m_Children:
- {fileID: 787012149}
- {fileID: 724612375}
+ - {fileID: 981405682}
+ - {fileID: 540464234}
m_Father: {fileID: 1434038408}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -2648,7 +5019,7 @@ RectTransform:
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -50, y: 0}
- m_Pivot: {x: 0.5, y: 0.5}
+ m_Pivot: {x: 0.5, y: 1}
--- !u!114 &2036998555
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -2689,6 +5060,173 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_HorizontalFit: 0
m_VerticalFit: 2
+--- !u!1 &2043937260
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 2043937261}
+ - component: {fileID: 2043937264}
+ - component: {fileID: 2043937263}
+ - component: {fileID: 2043937262}
+ m_Layer: 5
+ m_Name: Viewport
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &2043937261
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2043937260}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 537139934}
+ m_Father: {fileID: 741301286}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: -18, y: 0}
+ m_Pivot: {x: 0, y: 1}
+--- !u!114 &2043937262
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2043937260}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 1
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &2043937263
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2043937260}
+ m_CullTransparentMesh: 1
+--- !u!114 &2043937264
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2043937260}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_ShowMaskGraphic: 0
+--- !u!1 &2045136593
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 2045136594}
+ - component: {fileID: 2045136596}
+ - component: {fileID: 2045136595}
+ m_Layer: 5
+ m_Name: Arrow
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &2045136594
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2045136593}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 540464234}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 0.5}
+ m_AnchorMax: {x: 1, y: 0.5}
+ m_AnchoredPosition: {x: -15, y: 0}
+ m_SizeDelta: {x: 20, y: 20}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &2045136595
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2045136593}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Material: {fileID: 0}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_RaycastTarget: 1
+ m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
+ m_Maskable: 1
+ m_OnCullStateChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_Sprite: {fileID: 10915, guid: 0000000000000000f000000000000000, type: 0}
+ m_Type: 0
+ m_PreserveAspect: 0
+ m_FillCenter: 1
+ m_FillMethod: 4
+ m_FillAmount: 1
+ m_FillClockwise: 1
+ m_FillOrigin: 0
+ m_UseSpriteMesh: 0
+ m_PixelsPerUnitMultiplier: 1
+--- !u!222 &2045136596
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2045136593}
+ m_CullTransparentMesh: 1
--- !u!1001 &2114521192
PrefabInstance:
m_ObjectHideFlags: 0
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Prefabs/Logout.cs b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Prefabs/Logout.cs
index 9c4e129f3..ab56d293f 100644
--- a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Prefabs/Logout.cs
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Prefabs/Logout.cs
@@ -1,4 +1,6 @@
+using System.Threading.Tasks;
using ChainSafe.Gaming.UnityPackage;
+using ChainSafe.Gaming.Wallets;
using Scenes;
using UnityEngine;
using UnityEngine.SceneManagement;
@@ -8,7 +10,7 @@ public class Logout : MonoBehaviour
public async void OnLogout()
{
// Remove the saved "remember me" data, if any
- PlayerPrefs.DeleteKey(Login.PlayerAccountKey);
+ PlayerPrefs.DeleteKey(Login.SavedWalletConnectConfigKey);
// Terminate Web3
await Web3Accessor.Web3.TerminateAsync();
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Scenes/Login.cs b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Scenes/Login.cs
index edfaf8db2..647bdc5df 100644
--- a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Scenes/Login.cs
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Scenes/Login.cs
@@ -1,4 +1,5 @@
using System;
+using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
@@ -7,17 +8,23 @@
using ChainSafe.Gaming.Evm.JsonRpc;
using ChainSafe.Gaming.UnityPackage;
using ChainSafe.Gaming.Wallets;
+using ChainSafe.Gaming.WalletConnect;
+using ChainSafe.Gaming.WalletConnect.Models;
using ChainSafe.Gaming.Web3;
using ChainSafe.Gaming.Web3.Build;
using ChainSafe.Gaming.Web3.Unity;
using ChainSafe.GamingSdk.Gelato;
using ChainSafe.GamingSdk.Web3Auth;
-
+using Newtonsoft.Json;
+using TMPro;
using UnityEngine;
using UnityEngine.Assertions;
+using UnityEngine.Networking;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
-
+using WalletConnectSharp.Core;
+using WalletConnectSharp.Sign.Models;
+using WalletConnectSharp.Sign.Models.Engine;
namespace Scenes
{
@@ -38,7 +45,7 @@ public class Web3AuthSettings
public class Login : MonoBehaviour
{
- internal const string PlayerAccountKey = "PlayerAccount";
+ internal const string SavedWalletConnectConfigKey = "SavedWalletConnectConfig";
[Header("Configuration")]
public string GelatoApiKey = "";
@@ -49,10 +56,44 @@ public class Login : MonoBehaviour
public Toggle RememberMeToggle;
public ErrorPopup ErrorPopup;
public List Web3AuthButtons;
+
+ private bool useWalletConnect;
+
+ private bool redirectToWallet;
+
+ private Dictionary supportedWallets;
+
+ #region Wallet Connect
- private bool useWebPageWallet;
+ private WalletConnectConfig walletConnectConfig;
+
+ private bool autoLogin;
+
+ [field: Header("Wallet Connect")]
+
+ [SerializeField] private TMP_Dropdown supportedWalletsDropdown;
+
+ [SerializeField] private Toggle redirectToWalletToggle;
+
+ [SerializeField] private WalletConnectModal walletConnectModal;
+
+ [field: SerializeField] public string ProjectId { get; private set; }
+
+ [field: SerializeField] public string ProjectName { get; private set; }
+
+ [field: SerializeField] public string BaseContext { get; private set; }
+
+ [field: SerializeField] public Metadata Metadata { get; private set; } = new Metadata
+ {
+ Name = "Web3.Unity",
+ //from package.json
+ Description = "web3.unity is an open-source gaming SDK written in C# and developed by ChainSafe Gaming. It connects games built in the Unity game engine to the blockchain. The library currently supports games built for web browsers (WebGL), iOS/Android mobile, and desktop. web3.unity is compatible with most EVM-based chains such as Ethereum, Polygon, Moonbeam, Cronos, Nervos, and Binance Smart Chain, letting developers easily choose and switch between them to create the best in-game experience.",
+ Url = "https://chainsafe.io/"
+ };
+
+ #endregion
- private void Awake()
+ private IEnumerator Start()
{
Assert.IsNotNull(Web3AuthButtons);
Assert.IsTrue(Web3AuthButtons.Count > 0);
@@ -60,17 +101,28 @@ private void Awake()
Assert.IsNotNull(ExistingWalletButton);
Assert.IsNotNull(RememberMeToggle);
- useWebPageWallet = Application.platform != RuntimePlatform.WebGLPlayer;
+ useWalletConnect = Application.platform != RuntimePlatform.WebGLPlayer;
// Remember me only works with the WebPageWallet
- RememberMeToggle.gameObject.SetActive(useWebPageWallet);
+ RememberMeToggle.gameObject.SetActive(useWalletConnect);
+
+ // Wallet Connect
+ yield return FetchSupportedWallets();
+
+ // enable this on editor to test UI flow and functions
+ if (Application.isMobilePlatform || Application.isEditor)
+ {
+ InitializeMobileOptions();
+ }
#if UNITY_WEBGL
ProcessWeb3Auth();
#endif
- TryAutoLogin();
+ var autoLoginTask = TryAutoLogin();
+
+ yield return new WaitUntil(() => autoLoginTask.IsCompleted);
- ExistingWalletButton.onClick.AddListener(LoginWithExistingAccount);
+ ExistingWalletButton.onClick.AddListener(OnLoginWithExistingAccount);
foreach (var buttonAndProvider in Web3AuthButtons)
{
@@ -80,31 +132,127 @@ private void Awake()
}
}
- private async void TryAutoLogin()
+ private void OnDestroy()
+ {
+ if (walletConnectConfig != null)
+ {
+ walletConnectConfig.OnConnected -= WalletConnected;
+
+ walletConnectConfig.OnSessionApproved -= SessionApproved;
+ }
+ }
+
+ private void WalletConnected(ConnectedData data)
{
- if (!useWebPageWallet)
+ // already redirecting to wallet
+ if (redirectToWallet)
+ {
return;
+ }
- var savedAccount = PlayerPrefs.GetString(PlayerAccountKey);
+ // might be null in case of auto login
+ if (!string.IsNullOrEmpty(data.Uri))
+ {
+ // display QR and copy to clipboard
+ walletConnectModal.WalletConnected(data);
+ }
+ }
+
+ private void SessionApproved(SessionStruct session)
+ {
+ // save/persist session
+ if (walletConnectConfig.KeepSessionAlive)
+ {
+ walletConnectConfig.SavedSessionTopic = session.Topic;
+
+ PlayerPrefs.SetString(SavedWalletConnectConfigKey, JsonConvert.SerializeObject(walletConnectConfig));
+ }
- if (string.IsNullOrEmpty(savedAccount))
+ else
+ {
+ // reset if any saved config
+ PlayerPrefs.SetString(SavedWalletConnectConfigKey, null);
+ }
+
+ Debug.Log($"{session.Topic} Approved");
+ }
+
+ // redirect to mobile wallet and select default wallet on IOS
+ private void InitializeMobileOptions()
+ {
+ redirectToWalletToggle.gameObject.SetActive(true);
+#if UNITY_IOS
+ InitializeWalletDropdown();
+#endif
+ }
+
+ // add all supported wallets
+ private void InitializeWalletDropdown()
+ {
+ redirectToWalletToggle.onValueChanged.AddListener(isOn =>
+ {
+ supportedWalletsDropdown.gameObject.SetActive(isOn);
+ });
+
+ // first element is a no select
+ List supportedWalletsList = new List
+ {
+ // default option/unselected
+ "Select Wallet",
+ };
+
+ supportedWalletsList.AddRange(supportedWallets.Values.Select(w => w.Name));
+
+ supportedWalletsDropdown.AddOptions(supportedWalletsList);
+ }
+
+ private async Task TryAutoLogin()
+ {
+ if (!useWalletConnect)
return;
- var web3Builder = new Web3Builder(ProjectConfigUtilities.Load())
- .Configure(ConfigureCommonServices)
- .Configure(services =>
- {
- services.UseWebPageWallet(
- new WebPageWalletConfig
- {
- SavedUserAddress = savedAccount,
- });
- });
+ string savedConfigJson = PlayerPrefs.GetString(SavedWalletConnectConfigKey, null);
- await ProcessLogin(web3Builder);
+ if (string.IsNullOrEmpty(savedConfigJson))
+ {
+ return;
+ }
+
+ Debug.Log("Attempting to Auto Login...");
+
+ try
+ {
+ autoLogin = true;
+
+ walletConnectConfig = JsonConvert.DeserializeObject(savedConfigJson);
+
+ await LoginWithExistingAccount();
+ }
+ catch (Exception e)
+ {
+ Debug.LogError($"Auto Login Failed with Exception {e}");
+
+ autoLogin = false;
+ }
}
- private async void LoginWithExistingAccount()
+ private async void OnLoginWithExistingAccount()
+ {
+#if UNITY_IOS
+ // can't redirect to wallet on IOS if there's no selected wallet
+ if (redirectToWalletToggle.isOn && supportedWalletsDropdown.value == 0)
+ {
+ // feedback
+ Debug.LogError("Please select a Wallet first");
+
+ return;
+ }
+#endif
+
+ await LoginWithExistingAccount();
+ }
+
+ private async Task LoginWithExistingAccount()
{
var web3Builder = new Web3Builder(ProjectConfigUtilities.Load())
.Configure(ConfigureCommonServices)
@@ -115,9 +263,12 @@ private async void LoginWithExistingAccount()
* inside WebGL, so the choice can be automated here
* by looking at the platform we're running on.
*/
- if (useWebPageWallet)
+ if (useWalletConnect)
{
- services.UseWebPageWallet();
+ services
+ .UseWalletConnect(BuildWalletConnectConfig())
+ .UseWalletConnectSigner()
+ .UseWalletConnectTransactionExecutor();
}
else
{
@@ -126,11 +277,6 @@ private async void LoginWithExistingAccount()
});
await ProcessLogin(web3Builder);
-
- if (useWebPageWallet && RememberMeToggle.isOn)
- {
- PlayerPrefs.SetString(PlayerAccountKey, await Web3Accessor.Web3.Signer.GetAddress());
- }
}
private async void LoginWithWeb3Auth(Provider provider)
@@ -233,5 +379,92 @@ private void ConfigureCommonServices(IWeb3ServiceCollection services)
"0x1d6f31b71e12a1a584ca20853495161c48ba491f"));
}
+
+ #region Wallet Connect
+
+ private WalletConnectConfig BuildWalletConnectConfig()
+ {
+ // build chain
+ var projectConfig = ProjectConfigUtilities.Load();
+
+ ChainModel chain = new ChainModel(ChainModel.EvmNamespace, projectConfig.ChainId, projectConfig.Network);
+
+#if UNITY_IOS
+ WalletConnectWalletModel defaultWallet = null;
+#endif
+
+ // if it's an auto login get these values from saved wallet config
+ if (!autoLogin)
+ {
+ // allow redirection on editor for testing UI flow
+ redirectToWallet = (Application.isMobilePlatform || Application.isEditor) && redirectToWalletToggle.isOn;
+
+#if UNITY_IOS
+ // make sure there's a selected wallet on IOS
+ redirectToWallet = redirectToWallet && supportedWalletsDropdown.value != 0;
+
+ if (redirectToWallet)
+ {
+ // offset for the first/default/unselected dropdown option 0
+ int selectedWalletIndex = supportedWalletsDropdown.value - 1;
+
+ defaultWallet = supportedWallets.Values.ToArray()[selectedWalletIndex];
+ }
+#endif
+ }
+
+ var config = new WalletConnectConfig
+ {
+ ProjectId = ProjectId,
+ ProjectName = ProjectName,
+ BaseContext = BaseContext,
+ Chain = chain,
+ Metadata = Metadata,
+ SavedSessionTopic = autoLogin ? walletConnectConfig.SavedSessionTopic : null,
+ SupportedWallets = supportedWallets,
+ StoragePath = Application.persistentDataPath,
+ RedirectToWallet = autoLogin ? walletConnectConfig.RedirectToWallet : redirectToWallet,
+ KeepSessionAlive = autoLogin || RememberMeToggle.isOn,
+#if UNITY_IOS
+ DefaultWallet = autoLogin ? walletConnectConfig.DefaultWallet : defaultWallet,
+#endif
+ };
+
+ walletConnectConfig = config;
+
+ walletConnectConfig.OnConnected += WalletConnected;
+
+ walletConnectConfig.OnSessionApproved += SessionApproved;
+
+ return config;
+ }
+
+ private IEnumerator FetchSupportedWallets()
+ {
+ using (UnityWebRequest webRequest = UnityWebRequest.Get("https://registry.walletconnect.org/data/wallets.json"))
+ {
+ // Request and wait for the desired page.
+ yield return webRequest.SendWebRequest();
+
+ if (webRequest.result != UnityWebRequest.Result.Success)
+ {
+ Debug.LogError("Error Getting Supported Wallets: " + webRequest.error);
+
+ yield return null;
+ }
+
+ else
+ {
+ var json = webRequest.downloadHandler.text;
+
+ supportedWallets = JsonConvert.DeserializeObject>(json)
+ .ToDictionary(w => w.Key, w => (WalletConnectWalletModel) w.Value);
+
+ Debug.Log($"Fetched {supportedWallets.Count} Supported Wallets.");
+ }
+ }
+ }
+
+ #endregion
}
}
\ No newline at end of file
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/SceneIndexer.cs b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/SceneIndexer.cs
index 415f0c799..8b36dab4b 100644
--- a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/SceneIndexer.cs
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/SceneIndexer.cs
@@ -47,7 +47,7 @@ static SceneIndexer()
importPath = Path.Combine(importPath, "Scenes");
//scenes already added to build settings
- if (EditorBuildSettings.scenes.Any(s => s.path.Contains(importPath)))
+ if (EditorBuildSettings.scenes.Any(s => Path.GetFullPath(s.path).Contains(importPath)))
{
SessionState.SetBool(ScenesIndexedKey, true);
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/WalletConnectModal.cs b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/WalletConnectModal.cs
new file mode 100644
index 000000000..9cff96696
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/WalletConnectModal.cs
@@ -0,0 +1,69 @@
+using ChainSafe.Gaming.UnityPackage;
+using ChainSafe.Gaming.WalletConnect;
+using Scenes;
+using UnityEngine;
+using UnityEngine.UI;
+using WalletConnectSharp.Sign.Models;
+using WalletConnectSharp.Sign.Models.Engine;
+using ZXing;
+using ZXing.QrCode;
+
+public class WalletConnectModal : MonoBehaviour
+{
+ [SerializeField] private Image _qrCodeImage;
+ [SerializeField] private Button _copyToClipboardButton;
+ [SerializeField] private Button _backButton;
+
+ [SerializeField] private Transform _container;
+
+ private void Start()
+ {
+ _backButton.onClick.AddListener(Disable);
+ }
+
+ public void WalletConnected(ConnectedData data)
+ {
+ // enable display
+ _container.gameObject.SetActive(true);
+
+ string uri = data.Uri;
+
+ GenerateQrCode(uri);
+
+ SetClipboard(uri);
+ }
+
+ private void SetClipboard(string uri)
+ {
+ _copyToClipboardButton.onClick.RemoveAllListeners();
+
+ _copyToClipboardButton.onClick.AddListener(delegate { GUIUtility.systemCopyBuffer = uri; });
+ }
+
+ private static Color32[] Encode(string textForEncoding, int width, int height)
+ {
+ var writer = new BarcodeWriter
+ {
+ Format = BarcodeFormat.QR_CODE, Options = new QrCodeEncodingOptions { Height = height, Width = width }
+ };
+ return writer.Write(textForEncoding);
+ }
+
+ private void GenerateQrCode(string text)
+ {
+ var encoded = new Texture2D(256, 256);
+ var color32 = Encode(text, encoded.width, encoded.height);
+ encoded.SetPixels32(color32);
+ encoded.Apply();
+
+ // Convert the texture into a sprite and assign it to our QR code image
+ var qrCodeSprite = Sprite.Create(encoded, new Rect(0, 0, encoded.width, encoded.height),
+ new Vector2(0.5f, 0.5f), 100f);
+ _qrCodeImage.sprite = qrCodeSprite;
+ }
+
+ private void Disable()
+ {
+ _container.gameObject.SetActive(false);
+ }
+}
\ No newline at end of file
diff --git a/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/WalletConnectModal.cs.meta b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/WalletConnectModal.cs.meta
new file mode 100644
index 000000000..312ee2bc1
--- /dev/null
+++ b/Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Utilities/WalletConnectModal.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: fb890e484538c444da09be8d0f89dcd8
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Packages/io.chainsafe.web3-unity/Tests/Runtime/MiscTests.cs b/Packages/io.chainsafe.web3-unity/Tests/Runtime/MiscTests.cs
index de9582bbd..13a019903 100644
--- a/Packages/io.chainsafe.web3-unity/Tests/Runtime/MiscTests.cs
+++ b/Packages/io.chainsafe.web3-unity/Tests/Runtime/MiscTests.cs
@@ -1,7 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Numerics;
-using ChainSafe.Gaming.Wallets;
using NUnit.Framework;
using UnityEngine;
using UnityEngine.TestTools;
@@ -58,13 +57,13 @@ public override IEnumerator Setup()
{
yield return base.Setup();
- _sample = new UnsortedSample(Web3Result);
+ _sample = new UnsortedSample(web3Result);
}
[UnityTest]
public IEnumerator TestContractSend()
{
- WebPageWallet.TestResponse = "0x9de3bb69db4bd93babef923f5da1f53cdb287d9ebab9b4177ba2fb25e6a09225";
+ config.TestResponse = "0x9de3bb69db4bd93babef923f5da1f53cdb287d9ebab9b4177ba2fb25e6a09225";
var sendContract = _sample.ContractSend(ContractSendMethodName, Abi, ContractAddress);
@@ -127,7 +126,7 @@ public IEnumerator TestGetGasPrice()
[UnityTest]
public IEnumerator TestGetGasNonce()
{
- WebPageWallet.TestResponse = "0x527fcd7356738389d29a96342b5fba92ab1348b744409d5bf4ce0ca2fbc2f25e";
+ config.TestResponse = "0x527fcd7356738389d29a96342b5fba92ab1348b744409d5bf4ce0ca2fbc2f25e";
var getGasNonce = _sample.GetNonce();
@@ -140,7 +139,7 @@ public IEnumerator TestGetGasNonce()
[UnityTest]
public IEnumerator TestTransactionStatus()
{
- WebPageWallet.TestResponse = "0x1e989dbcc43e078b19ea8ea201af195e74397b494b7acd4afcca67e65e5c3339";
+ config.TestResponse = "0x1e989dbcc43e078b19ea8ea201af195e74397b494b7acd4afcca67e65e5c3339";
var getTransactionStatus = _sample.GetTransactionStatus();
@@ -153,7 +152,7 @@ public IEnumerator TestTransactionStatus()
[UnityTest]
public IEnumerator TestMint721()
{
- WebPageWallet.TestResponse = "0xa9f953f9845e7d49d778d6fed622d566daf09e8e1c793297c7cab54782e1aae9";
+ config.TestResponse = "0xa9f953f9845e7d49d778d6fed622d566daf09e8e1c793297c7cab54782e1aae9";
var mint721 = _sample.Mint721(Mint721Abi, Mint721Address, MintUri);
@@ -179,7 +178,7 @@ public IEnumerator TestUseRegisteredContract()
[UnityTest]
public IEnumerator TestSendArray()
{
- WebPageWallet.TestResponse = "0x6a33280f3b2b907da613b18b09f863cd835f1977a4131001ace5602899fc98c7";
+ config.TestResponse = "0x6a33280f3b2b907da613b18b09f863cd835f1977a4131001ace5602899fc98c7";
var sendArray = _sample.SendArray(SendArrayMethodName, SendArrayAbi, SendArrayAddress, ArrayToSend.ToArray());
@@ -193,7 +192,7 @@ public IEnumerator TestSendArray()
[UnityTest]
public IEnumerator TestSendTransaction()
{
- WebPageWallet.TestResponse = "0xa60bef1df91bedcd2f3f79e6609716ef245fd1202d66c6e35694b43529bf2e71";
+ config.TestResponse = "0xa60bef1df91bedcd2f3f79e6609716ef245fd1202d66c6e35694b43529bf2e71";
var sendTransaction = _sample.SendTransaction(SendToAddress);
@@ -201,7 +200,7 @@ public IEnumerator TestSendTransaction()
Assert.IsTrue(sendTransaction.IsCompletedSuccessfully);
- Assert.AreEqual(sendTransaction.Result, WebPageWallet.TestResponse);
+ Assert.AreEqual(sendTransaction.Result, config.TestResponse);
}
[UnityTest]
@@ -217,7 +216,7 @@ public IEnumerator TestSha3()
[UnityTest]
public IEnumerator TestSignMessage()
{
- WebPageWallet.TestResponse =
+ config.TestResponse =
"0x87dfaa646f476ca53ba8b6e8d122839571e52866be0984ec0497617ad3e988b7401c6b816858df27625166cb98a688f99ba92fa593da3c86c78b19c78c1f51cc1c";
var signMessage = _sample.SignMessage("The right man in the wrong place can make all the difference in the world.");
@@ -226,13 +225,13 @@ public IEnumerator TestSignMessage()
Assert.IsTrue(signMessage.IsCompletedSuccessfully);
- Assert.AreEqual(signMessage.Result, WebPageWallet.TestResponse);
+ Assert.AreEqual(signMessage.Result, config.TestResponse);
}
[UnityTest]
public IEnumerator TestSignVerify()
{
- WebPageWallet.TestResponse =
+ config.TestResponse =
"0x5c996d43c2e804a0d0de7f8b07cc660bbae638aa7ea137df6156621abe5e1fbb1727ebb06f7e0067537cb0f942825fa15ead9dea6d74e4d17fa6e69007cb59561c";
var signVerify = _sample.SignVerify("A man chooses, a slave obeys.");
@@ -247,7 +246,7 @@ public IEnumerator TestSignVerify()
[UnityTest]
public IEnumerator TestTransferErc20()
{
- WebPageWallet.TestResponse = "0xba90b6fb8cbee5fd0ad423cc74bb4a365bb88b260601933aac86b947945c5465";
+ config.TestResponse = "0xba90b6fb8cbee5fd0ad423cc74bb4a365bb88b260601933aac86b947945c5465";
var transferErc20 = _sample.TransferErc20(TransferErc20ContractAddress, SendToAddress, "1000000000000000");
@@ -261,7 +260,7 @@ public IEnumerator TestTransferErc20()
[UnityTest]
public IEnumerator TestTransferErc721()
{
- WebPageWallet.TestResponse = "0x0e292ae8c5ab005d87581f32fd791e1b18b0cfa944d6877b41edbdb740ee8586";
+ config.TestResponse = "0x0e292ae8c5ab005d87581f32fd791e1b18b0cfa944d6877b41edbdb740ee8586";
var transferErc721 = _sample.TransferErc721(TransferErc721ContractAddress, SendToAddress, 0);
@@ -275,7 +274,7 @@ public IEnumerator TestTransferErc721()
[UnityTest]
public IEnumerator TestTransferErc1155()
{
- WebPageWallet.TestResponse = "0xb018a043ac0affe05159a53daa8656dbbad61c839eaf89622d7813226f222876";
+ config.TestResponse = "0xb018a043ac0affe05159a53daa8656dbbad61c839eaf89622d7813226f222876";
var transferErc1155 = _sample.TransferErc1155(TransferErc1155ContractAddress, 101, 1, SendToAddress);
diff --git a/Packages/io.chainsafe.web3-unity/Tests/Runtime/SampleTestsBase.cs b/Packages/io.chainsafe.web3-unity/Tests/Runtime/SampleTestsBase.cs
index c3a8019f1..0b741ccb6 100644
--- a/Packages/io.chainsafe.web3-unity/Tests/Runtime/SampleTestsBase.cs
+++ b/Packages/io.chainsafe.web3-unity/Tests/Runtime/SampleTestsBase.cs
@@ -2,7 +2,7 @@
using ChainSafe.Gaming.Evm.Contracts;
using ChainSafe.Gaming.Evm.JsonRpc;
using ChainSafe.Gaming.UnityPackage;
-using ChainSafe.Gaming.Wallets;
+using ChainSafe.Gaming.WalletConnect;
using ChainSafe.Gaming.Web3;
using ChainSafe.Gaming.Web3.Build;
using ChainSafe.Gaming.Web3.Unity;
@@ -12,15 +12,17 @@
public class SampleTestsBase
{
- protected Web3 Web3Result;
+ protected Web3 web3Result;
+
+ protected WalletConnectConfig config;
[UnitySetUp]
public virtual IEnumerator Setup()
{
- //wait for some time to initialize
+ // wait for some time to initialize
yield return new WaitForSeconds(5f);
- //For whatever reason, in github this won't load
+ // For whatever reason, in github this won't load
var projectConfigScriptableObject = ProjectConfigUtilities.Load();
if (projectConfigScriptableObject == null)
{
@@ -34,7 +36,16 @@ public virtual IEnumerator Setup()
services.UseGelato("_UzPz_Yk_WTjWMfcl45fLvQNGQ9ISx5ZE8TnwnVKYrE_");
services.UseRpcProvider();
- services.UseWebPageWallet(new WebPageWalletConfig { SavedUserAddress = "0x55ffe9E30347266f02b9BdAe20aD3a86493289ea" });
+ config = new WalletConnectConfig
+ {
+ // set wallet to testing
+ Testing = true,
+ TestWalletAddress = "0x55ffe9E30347266f02b9BdAe20aD3a86493289ea",
+ };
+
+ services.UseWalletConnect(config);
+ services.UseWalletConnectSigner();
+ services.UseWalletConnectTransactionExecutor();
//add any contracts we would want to use
services.ConfigureRegisteredContracts(contracts =>
@@ -49,15 +60,15 @@ public virtual IEnumerator Setup()
//wait until for async task to finish
yield return new WaitUntil(() => buildWeb3.IsCompleted);
- Web3Result = buildWeb3.Result;
-
- WebPageWallet.Testing = true;
+ web3Result = buildWeb3.Result;
}
[UnityTearDown]
public virtual IEnumerator TearDown()
{
- WebPageWallet.Testing = false;
+ config.Testing = false;
+
+ web3Result.TerminateAsync();
yield return null;
}
diff --git a/Packages/io.chainsafe.web3-unity/Tests/Runtime/chainsafe.web3-unity.RuntimeTests.asmdef b/Packages/io.chainsafe.web3-unity/Tests/Runtime/chainsafe.web3-unity.RuntimeTests.asmdef
index c01263721..a631ee9f2 100644
--- a/Packages/io.chainsafe.web3-unity/Tests/Runtime/chainsafe.web3-unity.RuntimeTests.asmdef
+++ b/Packages/io.chainsafe.web3-unity/Tests/Runtime/chainsafe.web3-unity.RuntimeTests.asmdef
@@ -16,8 +16,8 @@
"Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"ChainSafe.Gaming.dll",
"ChainSafe.Gaming.Unity.dll",
- "ChainSafe.Gaming.WebPageWallet.dll",
- "ChainSafe.Gaming.Gelato.dll"
+ "ChainSafe.Gaming.Gelato.dll",
+ "ChainSafe.Gaming.WalletConnect.dll"
],
"autoReferenced": false,
"defineConstraints": [
diff --git a/scripts/debug-publish-to-unity-package.bat b/scripts/debug-publish-to-unity-package.bat
index b620c436a..f265047e8 100644
--- a/scripts/debug-publish-to-unity-package.bat
+++ b/scripts/debug-publish-to-unity-package.bat
@@ -19,6 +19,7 @@ echo Moving files to Unity package...
pushd bin\debug\netstandard2.1\publish
del Newtonsoft.Json.dll
del UnityEngine.dll
+del Microsoft.CSharp.dll
if not exist ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries mkdir ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries\
del ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries\* /F /Q
copy *.dll ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries
diff --git a/scripts/debug-publish-to-unity-package.sh b/scripts/debug-publish-to-unity-package.sh
old mode 100644
new mode 100755
index 12e783143..4da5585d4
--- a/scripts/debug-publish-to-unity-package.sh
+++ b/scripts/debug-publish-to-unity-package.sh
@@ -3,7 +3,8 @@
set -e
echo Building project...
-pushd src/ChainSafe.Gaming.Unity
+scripts_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
+pushd "$scripts_dir"/../src/ChainSafe.Gaming.Unity
rm -rf obj
rm -rf bin
@@ -20,6 +21,7 @@ echo Moving files to Unity package...
cd bin/debug/netstandard2.1/publish
rm Newtonsoft.Json.dll
rm UnityEngine.dll
+rm Microsoft.CSharp.dll
mkdir -p ../../../../../../Packages/io.chainsafe.web3-unity/Runtime/Libraries
rm -f ../../../../../../Packages/io.chainsafe.web3-unity/Runtime/Libraries/*
cp *.dll ../../../../../../Packages/io.chainsafe.web3-unity/Runtime/Libraries
diff --git a/scripts/lint.bat b/scripts/lint.bat
index 9bea85d3a..bbf2c9826 100644
--- a/scripts/lint.bat
+++ b/scripts/lint.bat
@@ -1,7 +1,17 @@
@echo off
-dotnet format --verbosity=d --severity=warn ..\ChainSafe.Gaming.sln --exclude .\submodules
+:: Change to the directory where the script resides
+pushd %~dp0
+:: Navigate to the parent (assuming the script is in a subfolder of the root)
+cd ..
-pushd ..\src\UnitySampleProject
+:: Run format command in project root
+dotnet format --verbosity=d --severity=warn ChainSafe.Gaming.sln --exclude /submodules
+
+:: Navigate to the UnitySampleProject within src and run the format command
+pushd .\src\UnitySampleProject
dotnet format --verbosity=d --severity=warn .\UnitySampleProject.sln
-popd
\ No newline at end of file
+popd
+
+:: Restore the original directory
+popd
\ No newline at end of file
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 7f0daf0c5..e10e45f30 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -1,14 +1,16 @@
#!/bin/bash
set -e
+scripts_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
edit=""
if [ "$1" == "ci" ]; then edit="--verify-no-changes"; fi
-dotnet format --verbosity=d $edit --severity=warn ./ChainSafe.Gaming.sln --exclude ./submodules
+dotnet format --verbosity=d $edit --severity=warn "$scripts_dir"/../ChainSafe.Gaming.sln --exclude ./submodules
if [ "$edit" == "" ]; then
echo "Linting Unity Sample Project"
- pushd src/UnitySampleProject
+
+ pushd "$scripts_dir"/../src/UnitySampleProject
dotnet format --verbosity=d --severity=warn ./UnitySampleProject.sln
popd
fi
diff --git a/scripts/publish-to-unity-package.bat b/scripts/publish-to-unity-package.bat
index e15a5e540..11e8746b7 100644
--- a/scripts/publish-to-unity-package.bat
+++ b/scripts/publish-to-unity-package.bat
@@ -1,27 +1,42 @@
-@ECHO OFF
+
+
+SET SCRIPT_DIR=%~dp0
echo Building project...
-pushd ..\src\ChainSafe.Gaming.Unity
+pushd "%SCRIPT_DIR%\..\src\ChainSafe.Gaming.Unity"
del obj /F /Q
del bin /F /Q
+dotnet restore
dotnet publish -c release -f netstandard2.1 /property:Unity=true
if %errorlevel% neq 0 exit /b %errorlevel%
echo Restoring non-Unity packages...
-pushd ..\..
-dotnet restore
-popd
-
echo Moving files to Unity package...
pushd bin\release\netstandard2.1\publish
del Newtonsoft.Json.dll
del UnityEngine.dll
+
+if exist "..\..\..\..\..\..\Packages\io.chainsafe.web3-unity.lootboxes" (
+ echo Directory exists, performing actions...
+ rmdir /s /q "..\..\..\..\..\..\Packages\io.chainsafe.web3-unity.lootboxes\Chainlink\Runtime\Libraries"
+ mkdir "..\..\..\..\..\..\Packages\io.chainsafe.web3-unity.lootboxes\Chainlink\Runtime\Libraries"
+ copy Chainsafe.Gaming.Chainlink.dll "..\..\..\..\..\..\Packages\io.chainsafe.web3-unity.lootboxes\Chainlink\Runtime\Libraries"
+ copy Chainsafe.Gaming.LootBoxes.Chainlink.dll "..\..\..\..\..\..\Packages\io.chainsafe.web3-unity.lootboxes\Chainlink\Runtime\Libraries"
+) else (
+ echo Directory does not exist, skipping actions.
+)
+
+del Chainsafe.Gaming.Chainlink.dll
+del Chainsafe.Gaming.LootBoxes.Chainlink.dll
+
+del Microsoft.CSharp.dll
if not exist ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries mkdir ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries\
del ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries\* /F /Q
copy *.dll ..\..\..\..\..\..\Packages\io.chainsafe.web3-unity\Runtime\Libraries
popd
popd
+
echo Done
diff --git a/scripts/publish-to-unity-package.sh b/scripts/publish-to-unity-package.sh
index d3add43ea..c9c510917 100755
--- a/scripts/publish-to-unity-package.sh
+++ b/scripts/publish-to-unity-package.sh
@@ -2,7 +2,9 @@
set -e
echo Building project...
-pushd src/ChainSafe.Gaming.Unity
+scripts_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
+
+pushd "$scripts_dir"/../src/ChainSafe.Gaming.Unity
rm -rf obj
rm -rf bin
@@ -17,6 +19,20 @@ echo Moving files to Unity package...
pushd bin/release/netstandard2.1/publish
rm Newtonsoft.Json.dll
rm UnityEngine.dll
+
+# Check if io.chainsafe.web3-unity.lootboxes directory exists
+if [ -d "../../../../../../Packages/io.chainsafe.web3-unity.lootboxes" ]; then
+ rm -rf ../../../../../../Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries
+ mkdir -p ../../../../../../Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries
+ cp Chainsafe.Gaming.Chainlink.dll ../../../../../../Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries
+ cp Chainsafe.Gaming.LootBoxes.Chainlink.dll ../../../../../../Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries
+fi
+
+# Delete those DLLs so they don't get copied in the next step
+rm Chainsafe.Gaming.Chainlink.dll
+rm Chainsafe.Gaming.LootBoxes.Chainlink.dll
+
+rm Microsoft.CSharp.dll
rm -rf ../../../../../../Packages/io.chainsafe.web3-unity/Runtime/Libraries
mkdir -p ../../../../../../Packages/io.chainsafe.web3-unity/Runtime/Libraries
cp *.dll ../../../../../../Packages/io.chainsafe.web3-unity/Runtime/Libraries
diff --git a/scripts/publish.sh b/scripts/publish.sh
index 89c88c8fc..01ea93249 100644
--- a/scripts/publish.sh
+++ b/scripts/publish.sh
@@ -1,6 +1,11 @@
#! /usr/bin/env sh
+scripts_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
+
+pushd "$scripts_dir"/../
dotnet publish -c release /property:Unity=true
pushd ../..
dotnet restore
+
+popd
popd
\ No newline at end of file
diff --git a/scripts/release-web3-auth.sh b/scripts/release-web3-auth.sh
index bdc59c023..2ed33b5e5 100644
--- a/scripts/release-web3-auth.sh
+++ b/scripts/release-web3-auth.sh
@@ -1,8 +1,9 @@
#! /usr/bin/env sh
-./scripts/setup.sh
+scripts_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
+source "$scripts_dir"/setup.sh
-git add ./Packages/io.chainsafe.web3-unity.web3auth/.
+git add "$scripts_dir"/../Packages/io.chainsafe.web3-unity.web3auth/.
MESSAGE="release-v$1"
diff --git a/scripts/release-web3-unity.sh b/scripts/release-web3-unity.sh
index 9454148c4..0e6d971af 100644
--- a/scripts/release-web3-unity.sh
+++ b/scripts/release-web3-unity.sh
@@ -1,10 +1,11 @@
#! /usr/bin/env sh
-./scripts/setup.sh
+scripts_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
+source "$scripts_dir"/setup.sh
-git add ./Packages/io.chainsafe.web3-unity/.
+git add "$scripts_dir"/../Packages/io.chainsafe.web3-unity/.
-git add ./Packages/io.chainsafe.web3-unity/Runtime/Libraries/. -f
+git add "$scripts_dir"/../Packages/io.chainsafe.web3-unity/Runtime/Libraries/. -f
MESSAGE="release-v$1"
diff --git a/scripts/setup.bat b/scripts/setup.bat
index 1673f66b6..663aa2483 100644
--- a/scripts/setup.bat
+++ b/scripts/setup.bat
@@ -1,8 +1,14 @@
@echo off
-pushd ..
+
+SET SCRIPT_DIR=%~dp0
+
+REM Change to the directory where the script resides, then navigate to the parent.
+pushd "%SCRIPT_DIR%\.."
+
REM clone submodules
git submodule update --init
REM publish DLLs to unity package
-.\scripts\publish-to-unity-package.bat
-popd
\ No newline at end of file
+"%SCRIPT_DIR%\publish-to-unity-package.bat"
+
+popd
diff --git a/scripts/setup.sh b/scripts/setup.sh
index 0a7545933..c7e53008c 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -1,7 +1,11 @@
#! /usr/bin/env sh
+scripts_dir=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
+pushd "$scripts_dir"/../
# clone submodules
git submodule update --init
+popd
# publish DLLs to unity package
-./scripts/publish-to-unity-package.sh
+source "$scripts_dir"/publish-to-unity-package.sh
+
diff --git a/src/ChainSafe.Gaming.Gelato/dto/IErc2771StructTypes.cs b/src/ChainSafe.Gaming.Gelato/dto/IErc2771StructTypes.cs
index a8703e49c..efd09342b 100644
--- a/src/ChainSafe.Gaming.Gelato/dto/IErc2771StructTypes.cs
+++ b/src/ChainSafe.Gaming.Gelato/dto/IErc2771StructTypes.cs
@@ -6,7 +6,7 @@ namespace ChainSafe.GamingSdk.Gelato.Dto
{
public interface IErc2771StructTypes
{
- [Parameter("unit25t6", "chainId", 1)]
+ [Parameter("uint256", "chainId", 1)]
[JsonProperty(PropertyName = "chainId")]
public BigInteger? ChainId { get; set; }
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/ChainSafe.Gaming.Chainlink.Lootboxes.csproj b/src/ChainSafe.Gaming.Lootboxes.Chainlink/ChainSafe.Gaming.Lootboxes.Chainlink.csproj
similarity index 86%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/ChainSafe.Gaming.Chainlink.Lootboxes.csproj
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/ChainSafe.Gaming.Lootboxes.Chainlink.csproj
index cc5cb33a7..853eab10b 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/ChainSafe.Gaming.Chainlink.Lootboxes.csproj
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/ChainSafe.Gaming.Lootboxes.Chainlink.csproj
@@ -4,6 +4,7 @@
../../global.ruleset
netstandard2.1
enable
+ ChainSafe.Gaming.Chainlink.Lootboxes
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc1155NftReward.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc1155NftReward.cs
similarity index 78%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc1155NftReward.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc1155NftReward.cs
index fd6f6c5d4..12aabd406 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc1155NftReward.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc1155NftReward.cs
@@ -1,6 +1,6 @@
using System.Numerics;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class Erc1155NftReward
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc1155Reward.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc1155Reward.cs
similarity index 82%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc1155Reward.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc1155Reward.cs
index 4b4051c28..1a4f641de 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc1155Reward.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc1155Reward.cs
@@ -1,6 +1,6 @@
using System.Numerics;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class Erc1155Reward
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc20Reward.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc20Reward.cs
similarity index 87%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc20Reward.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc20Reward.cs
index e6f87137f..48c6d30cf 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc20Reward.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc20Reward.cs
@@ -1,6 +1,6 @@
using System.Numerics;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class Erc20Reward
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc721Reward.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc721Reward.cs
similarity index 78%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc721Reward.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc721Reward.cs
index 1bc5a63c1..01db4729a 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/Erc721Reward.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/Erc721Reward.cs
@@ -1,6 +1,6 @@
using System.Numerics;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class Erc721Reward
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/LootboxRewards.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/LootboxRewards.cs
similarity index 93%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/LootboxRewards.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/LootboxRewards.cs
index 0b6c7e47a..3b72ebf51 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/LootboxRewards.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/LootboxRewards.cs
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class LootboxRewards
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/RewardType.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/RewardType.cs
similarity index 72%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/RewardType.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/RewardType.cs
index a33678628..12b52a203 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/RewardType.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/RewardType.cs
@@ -1,4 +1,4 @@
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public enum RewardType
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/RewardsClaimedEvent.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/RewardsClaimedEvent.cs
similarity index 92%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/RewardsClaimedEvent.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/RewardsClaimedEvent.cs
index 7a12006c9..745cab3c3 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/Dto/RewardsClaimedEvent.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/Dto/RewardsClaimedEvent.cs
@@ -1,4 +1,4 @@
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
using System.Numerics;
using Nethereum.ABI.FunctionEncoding.Attributes;
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/ILootboxService.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/ILootboxService.cs
similarity index 98%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/ILootboxService.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/ILootboxService.cs
index b284b4da8..833784270 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/ILootboxService.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/ILootboxService.cs
@@ -3,7 +3,7 @@
using System.Numerics;
using System.Threading.Tasks;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public interface ILootboxService
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxService.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxService.cs
similarity index 86%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxService.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxService.cs
index b55f43ff7..7544feb1d 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxService.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxService.cs
@@ -11,11 +11,13 @@
using ChainSafe.Gaming.Web3;
using ChainSafe.Gaming.Web3.Core;
using ChainSafe.Gaming.Web3.Core.Debug;
+using ChainSafe.Gaming.Web3.Environment;
+using Nethereum.ABI.FunctionEncoding;
using Nethereum.Hex.HexTypes;
using Nethereum.RPC.Eth.DTOs;
using Newtonsoft.Json;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class LootboxService : ILootboxService, ILifecycleParticipant
{
@@ -25,6 +27,7 @@ public class LootboxService : ILootboxService, ILifecycleParticipant
private readonly LootboxServiceConfig config;
private readonly ISigner signer;
private readonly IRpcProvider rpcProvider;
+ private readonly ILogWriter logWriter;
private Contract contract;
private Dictionary rewardTypeByTokenAddress;
@@ -32,19 +35,22 @@ public class LootboxService : ILootboxService, ILifecycleParticipant
public LootboxService(
LootboxServiceConfig config,
IContractBuilder contractBuilder,
- IRpcProvider rpcProvider)
+ IRpcProvider rpcProvider,
+ ILogWriter logWriter)
{
this.rpcProvider = rpcProvider;
this.config = config;
this.contractBuilder = contractBuilder;
+ this.logWriter = logWriter;
}
public LootboxService(
LootboxServiceConfig config,
IContractBuilder contractBuilder,
IRpcProvider rpcProvider,
- ISigner signer)
- : this(config, contractBuilder, rpcProvider)
+ ISigner signer,
+ ILogWriter logWriter)
+ : this(config, contractBuilder, rpcProvider, logWriter)
{
this.signer = signer;
}
@@ -147,7 +153,28 @@ public async Task IsOpeningLootbox()
public async Task OpeningLootboxType()
{
- throw new NotImplementedException();
+ var playerAddress = await this.GetCurrentPlayerAddress();
+
+ // This response is actually very different from all the others since it returns several components
+ var response = (List)(await this.contract.Call("getOpenerRequestDetails", new object[] { playerAddress }))[0];
+ var address = (string)response[0].Result;
+ var unitsToGet = (BigInteger)response[1].Result;
+ var lootboxType = ((List)response[2].Result)[0];
+ if (!string.IsNullOrEmpty(address) && unitsToGet == 0)
+ {
+ // we can early return here, but, it's not necessary since unitstoget will be 0 regardless and this
+ // call will fulfill every request that's been missing.
+ await this.contract.Send(
+ "recoverBoxes",
+ new object[] { playerAddress });
+ }
+
+ if (unitsToGet > uint.MaxValue)
+ {
+ throw new Web3Exception("Internal Error. Units to get is greater than int.MaxValue.");
+ }
+
+ return (uint)lootboxType;
}
public async Task OpenLootbox(uint lootboxType, uint lootboxCount = 1)
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxServiceConfig.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxServiceConfig.cs
similarity index 76%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxServiceConfig.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxServiceConfig.cs
index 47e661604..0892d8dae 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxServiceConfig.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxServiceConfig.cs
@@ -1,4 +1,4 @@
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class LootboxServiceConfig
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxServiceExtensions.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxServiceExtensions.cs
similarity index 94%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxServiceExtensions.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxServiceExtensions.cs
index 6a6be4dd0..9abeb0b03 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxServiceExtensions.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxServiceExtensions.cs
@@ -4,7 +4,7 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public static class LootboxServiceExtensions
{
diff --git a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxTypeInfo.cs b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxTypeInfo.cs
similarity index 73%
rename from src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxTypeInfo.cs
rename to src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxTypeInfo.cs
index e0742e4c8..aca16a48f 100644
--- a/src/ChainSafe.Gaming.Chainlink.Lootboxes/LootboxTypeInfo.cs
+++ b/src/ChainSafe.Gaming.Lootboxes.Chainlink/LootboxTypeInfo.cs
@@ -1,4 +1,4 @@
-namespace ChainSafe.Gaming.Chainlink.Lootboxes
+namespace ChainSafe.Gaming.Lootboxes.Chainlink
{
public class LootboxTypeInfo
{
diff --git a/src/ChainSafe.Gaming.NetCore/NetCoreOperatingSystemMediator.cs b/src/ChainSafe.Gaming.NetCore/NetCoreOperatingSystemMediator.cs
index ff30d493a..7c0ee785b 100644
--- a/src/ChainSafe.Gaming.NetCore/NetCoreOperatingSystemMediator.cs
+++ b/src/ChainSafe.Gaming.NetCore/NetCoreOperatingSystemMediator.cs
@@ -4,11 +4,9 @@ namespace ChainSafe.Gaming.NetCore
{
public class NetCoreOperatingSystemMediator : IOperatingSystemMediator
{
- public string ClipboardContent
- {
- get => throw new System.NotImplementedException();
- set => throw new System.NotImplementedException();
- }
+ public bool IsMobilePlatform => throw new System.NotImplementedException();
+
+ public Platform Platform => throw new System.NotImplementedException();
public void OpenUrl(string url) => throw new System.NotImplementedException();
}
diff --git a/src/ChainSafe.Gaming.Tests/ChainSafe.Gaming.Tests.csproj b/src/ChainSafe.Gaming.Tests/ChainSafe.Gaming.Tests.csproj
index 3a59e1c0f..38b4ebf88 100644
--- a/src/ChainSafe.Gaming.Tests/ChainSafe.Gaming.Tests.csproj
+++ b/src/ChainSafe.Gaming.Tests/ChainSafe.Gaming.Tests.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/ChainSafe.Gaming.Tests/ChainlinkLootboxTests.cs b/src/ChainSafe.Gaming.Tests/ChainlinkLootboxTests.cs
index a91fdb8b3..ebdbe11e6 100644
--- a/src/ChainSafe.Gaming.Tests/ChainlinkLootboxTests.cs
+++ b/src/ChainSafe.Gaming.Tests/ChainlinkLootboxTests.cs
@@ -2,7 +2,7 @@
using System.IO;
using System.Threading.Tasks;
using Chainsafe.Gaming.Chainlink;
-using ChainSafe.Gaming.Chainlink.Lootboxes;
+using ChainSafe.Gaming.Lootboxes.Chainlink;
using ChainSafe.Gaming.Tests;
using NUnit.Framework;
diff --git a/src/ChainSafe.Gaming.Unity/ChainSafe.Gaming.Unity.csproj b/src/ChainSafe.Gaming.Unity/ChainSafe.Gaming.Unity.csproj
index f2a15f449..a43993dc0 100644
--- a/src/ChainSafe.Gaming.Unity/ChainSafe.Gaming.Unity.csproj
+++ b/src/ChainSafe.Gaming.Unity/ChainSafe.Gaming.Unity.csproj
@@ -12,13 +12,13 @@
-
+
-
+
diff --git a/src/ChainSafe.Gaming.Unity/UnityOperatingSystemMediator.cs b/src/ChainSafe.Gaming.Unity/UnityOperatingSystemMediator.cs
index 46870f9cc..b6a656643 100644
--- a/src/ChainSafe.Gaming.Unity/UnityOperatingSystemMediator.cs
+++ b/src/ChainSafe.Gaming.Unity/UnityOperatingSystemMediator.cs
@@ -1,14 +1,30 @@
-using ChainSafe.Gaming.Web3.Environment;
+using System;
+using ChainSafe.Gaming.Web3.Environment;
using UnityEngine;
namespace ChainSafe.Gaming.Unity
{
public class UnityOperatingSystemMediator : IOperatingSystemMediator
{
- public string ClipboardContent
+ public bool IsMobilePlatform => Application.isMobilePlatform;
+
+ public Platform Platform
{
- get => GUIUtility.systemCopyBuffer;
- set => GUIUtility.systemCopyBuffer = value;
+ get
+ {
+ if (Application.isEditor)
+ {
+ return Platform.Editor;
+ }
+
+ return Application.platform switch
+ {
+ RuntimePlatform.IPhonePlayer => Platform.IOS,
+ RuntimePlatform.Android => Platform.Android,
+ RuntimePlatform.WebGLPlayer => Platform.WebGL,
+ _ => Platform.Desktop,
+ };
+ }
}
public void OpenUrl(string url) => Application.OpenURL(url);
diff --git a/src/ChainSafe.Gaming.Unity/link.xml b/src/ChainSafe.Gaming.Unity/link.xml
index 8bb680be5..c1564cc2c 100644
--- a/src/ChainSafe.Gaming.Unity/link.xml
+++ b/src/ChainSafe.Gaming.Unity/link.xml
@@ -19,34 +19,37 @@
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ChainSafe.Gaming.WebPageWallet/ChainSafe.Gaming.WebPageWallet.csproj b/src/ChainSafe.Gaming.WalletConnect/ChainSafe.Gaming.WalletConnect.csproj
similarity index 66%
rename from src/ChainSafe.Gaming.WebPageWallet/ChainSafe.Gaming.WebPageWallet.csproj
rename to src/ChainSafe.Gaming.WalletConnect/ChainSafe.Gaming.WalletConnect.csproj
index e36beb05e..5069c78e2 100644
--- a/src/ChainSafe.Gaming.WebPageWallet/ChainSafe.Gaming.WebPageWallet.csproj
+++ b/src/ChainSafe.Gaming.WalletConnect/ChainSafe.Gaming.WalletConnect.csproj
@@ -2,10 +2,8 @@
netstandard2.1
- enable
9.0
- ChainSafe.Gaming.WebPageWallet
- True
+ ChainSafe.Gaming.WalletConnect
True
../../global.ruleset
ChainSafe.Gaming.MetaMaskBrowserWallet
@@ -14,7 +12,12 @@
+
+
+
+
+
diff --git a/src/ChainSafe.Gaming.WalletConnect/IWalletConnectCustomProvider.cs b/src/ChainSafe.Gaming.WalletConnect/IWalletConnectCustomProvider.cs
new file mode 100644
index 000000000..6d1ad4a32
--- /dev/null
+++ b/src/ChainSafe.Gaming.WalletConnect/IWalletConnectCustomProvider.cs
@@ -0,0 +1,28 @@
+using System.Threading.Tasks;
+
+namespace ChainSafe.Gaming.WalletConnect
+{
+ public interface IWalletConnectCustomProvider
+ {
+ ///
+ /// connects using Wallet Connect.
+ ///
+ /// connect address.
+ public Task Connect();
+
+ ///
+ /// Make JsonRPC request using WalletConnect.
+ ///
+ /// Request data/body.
+ /// Expire time.
+ /// Request DataType.
+ /// Hash from the json rpc request.
+ public Task Request(T data, long? expiry = null);
+
+ ///
+ /// Disconnect from a Wallet Connect Session.
+ ///
+ /// Disconnect Task.
+ public Task Disconnect();
+ }
+}
\ No newline at end of file
diff --git a/src/ChainSafe.Gaming.WalletConnect/Methods/EthSendTransaction.cs b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSendTransaction.cs
new file mode 100644
index 000000000..25c8fe51f
--- /dev/null
+++ b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSendTransaction.cs
@@ -0,0 +1,21 @@
+using System.Collections.Generic;
+using ChainSafe.Gaming.WalletConnect.Models;
+using WalletConnectSharp.Common.Utils;
+using WalletConnectSharp.Network.Models;
+
+namespace ChainSafe.Gaming.WalletConnect.Methods
+{
+ [RpcMethod("eth_sendTransaction")]
+ [RpcRequestOptions(Clock.ONE_MINUTE, 99999)]
+ public class EthSendTransaction : List
+ {
+ public EthSendTransaction(params TransactionModel[] transactions)
+ : base(transactions)
+ {
+ }
+
+ public EthSendTransaction()
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignMessage.cs b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignMessage.cs
new file mode 100644
index 000000000..38d4ebef1
--- /dev/null
+++ b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignMessage.cs
@@ -0,0 +1,20 @@
+using System.Collections.Generic;
+using WalletConnectSharp.Common.Utils;
+using WalletConnectSharp.Network.Models;
+
+namespace ChainSafe.Gaming.WalletConnect.Methods
+{
+ [RpcMethod("personal_sign")]
+ [RpcRequestOptions(Clock.ONE_MINUTE, 99997)]
+ public class EthSignMessage : List
+ {
+ public EthSignMessage(string message, string address)
+ : base(new string[] { message, address })
+ {
+ }
+
+ public EthSignMessage()
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignTransaction.cs b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignTransaction.cs
new file mode 100644
index 000000000..3afc6e41f
--- /dev/null
+++ b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignTransaction.cs
@@ -0,0 +1,21 @@
+using System.Collections.Generic;
+using ChainSafe.Gaming.WalletConnect.Models;
+using WalletConnectSharp.Common.Utils;
+using WalletConnectSharp.Network.Models;
+
+namespace ChainSafe.Gaming.WalletConnect.Methods
+{
+ [RpcMethod("eth_signTransaction")]
+ [RpcRequestOptions(Clock.ONE_MINUTE, 99996)]
+ public class EthSignTransaction : List
+ {
+ public EthSignTransaction(params TransactionModel[] transactions)
+ : base(transactions)
+ {
+ }
+
+ public EthSignTransaction()
+ {
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignTypedData.cs b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignTypedData.cs
new file mode 100644
index 000000000..84288cf78
--- /dev/null
+++ b/src/ChainSafe.Gaming.WalletConnect/Methods/EthSignTypedData.cs
@@ -0,0 +1,26 @@
+using System.Collections.Generic;
+using ChainSafe.Gaming.WalletConnect.Models;
+using ChainSafe.Gaming.Web3.Core.Evm;
+using WalletConnectSharp.Common.Utils;
+using WalletConnectSharp.Network.Models;
+
+namespace ChainSafe.Gaming.WalletConnect.Methods
+{
+ [RpcMethod("eth_signTypedData")]
+ [RpcRequestOptions(Clock.ONE_MINUTE, 99998)]
+ public class EthSignTypedData : List