Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multicall V2.5 implementation #624

Merged
merged 36 commits into from
Nov 2, 2023
Merged

Multicall V2.5 implementation #624

merged 36 commits into from
Nov 2, 2023

Conversation

RyRy79261
Copy link
Contributor

closes #484

@RyRy79261 RyRy79261 self-assigned this Sep 18, 2023
RyRy79261 and others added 20 commits September 18, 2023 15:58
# Conflicts:
#	src/ChainSafe.Gaming/ChainSafe.Gaming.csproj
#	src/ChainSafe.Gaming/Web3/Core/Build/Web3Builder.cs
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scenes/SampleMain.unity
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scripts/Prefabs/MultiCall.meta
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scripts/Prefabs/MultiCall/MultiCall.cs
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scripts/Prefabs/MultiCall/MultiCall.cs.meta
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scripts/Scenes/SampleMain/MultiCall.meta
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scripts/Scenes/SampleMain/MultiCall/MultiCallErc20Behavior.cs
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scripts/Scenes/SampleMain/MultiCall/MultiCallErc20Behavior.cs.meta
@RyRy79261 RyRy79261 marked this pull request as ready for review October 11, 2023 16:05
@auto-assign auto-assign bot requested review from robGG1997 and sneakzttv October 11, 2023 16:05
kalambet and others added 3 commits October 16, 2023 21:31
# Conflicts:
#	Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Chainlink.Lootboxes.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WebPageWallet.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll
@kalambet kalambet added this to the 2.5.1 Release milestone Oct 30, 2023
# Conflicts:
#	Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/ChainSafe.Gaming.Lootboxes.Chainlink.dll
#	Packages/io.chainsafe.web3-unity.lootboxes/Chainlink/Runtime/Libraries/Chainsafe.Gaming.Chainlink.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Debugging.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Gelato.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessSigner.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.InProcessTransactionExecutor.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.ThirdParty.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.Unity.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.WalletConnect.dll
#	Packages/io.chainsafe.web3-unity/Runtime/Libraries/ChainSafe.Gaming.dll
#	Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scenes/SampleMain.unity
#	Packages/io.chainsafe.web3-unity/Samples~/Web3.Unity/Scripts/Scenes/Login.cs
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scenes/SampleMain.unity
#	src/UnitySampleProject/Assets/Samples/web3.unity SDK/2.5.0/Web3.Unity Samples/Scripts/Scenes/Login.cs
@RyRy79261 RyRy79261 requested a review from robGG1997 November 1, 2023 10:42
@RyRy79261 RyRy79261 merged commit 7f5833e into main Nov 2, 2023
8 checks passed
@RyRy79261 RyRy79261 deleted the ryan/multicall-484 branch November 2, 2023 09:15
robGG1997 added a commit that referenced this pull request Nov 3, 2023
* Cherry picked

* Added refrerences

* Cherry picked DTO files

* Added config

* Auto-duplicate Package Samples

* Connecting to unity buttons

* Auto-duplicate Package Samples

* Function triggering

* Trying to get call data to be accepted

* Refactored to contract style

* No idea how to get logic in to unity

* Saved unity files

* Finally referenced in the game

* Attempting to init packages

* Pushing for support

* ambiguous method compile error and MultiCall already bound runtime error fixed

* ProjectConfig returning bool

* Works without multicall again

* Calls are successful, return decode, not so much

* Results returned as expected

* Fixed merge, scripts still broken

* Auto-duplicate Package Samples

* retrigger checks

* Updated comments

* rebuilt & removed file again

* Auto-duplicate Package Samples

* Rebuilt

* Lint fix

* Rebuilt

---------

Co-authored-by: RyRy79261 <RyRy79261@users.noreply.github.com>
Co-authored-by: robGG1997 <robel@chainsafe.io>
Co-authored-by: Peter Kalambet <peter@kalambet.dev>
rob1997 pushed a commit that referenced this pull request Jan 16, 2025
* Cherry picked

* Added refrerences

* Cherry picked DTO files

* Added config

* Auto-duplicate Package Samples

* Connecting to unity buttons

* Auto-duplicate Package Samples

* Function triggering

* Trying to get call data to be accepted

* Refactored to contract style

* No idea how to get logic in to unity

* Saved unity files

* Finally referenced in the game

* Attempting to init packages

* Pushing for support

* ambiguous method compile error and MultiCall already bound runtime error fixed

* ProjectConfig returning bool

* Works without multicall again

* Calls are successful, return decode, not so much

* Results returned as expected

* Fixed merge, scripts still broken

* Auto-duplicate Package Samples

* retrigger checks

* Updated comments

* rebuilt & removed file again

* Auto-duplicate Package Samples

* Rebuilt

* Lint fix

* Rebuilt

---------

Co-authored-by: RyRy79261 <RyRy79261@users.noreply.github.com>
Co-authored-by: robGG1997 <robel@chainsafe.io>
Co-authored-by: Peter Kalambet <peter@kalambet.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement multicall on the SDK side
5 participants