web3.unity icon indicating copy to clipboard operation
web3.unity copied to clipboard

[V2] Runtime Contract object

Open LuaxY opened this issue 2 years ago • 0 comments

Create a class Contract that take a provider and/or a signer as parameter to interact with, the contract address and the contract ABI.

The contract ABI will be parsed to generate list of method and member callable.

The Contract class will provide method like

Call(string method, object parameters);
Send(string method, object parameters, BigNumber value);

and will return the result as an array of object to be cast by the game developer.

This will not be type-safe.

LuaxY avatar Sep 14 '22 16:09 LuaxY