-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for reading from smart contracts (#207)
### What changed? Why? - Added a function to read from a smart contract. ### Testing - Added unit tests - Ran an e2e test locally ``` pureInt16: -32768 pureUint16: 65535 pureUint256: 115792089237316195423570985008687907853269984665640564039457584007913129639935 pureInt256: -57896044618658097711785492504343953926634992332820282019728792003956564819968 pureUint128: 340282366920938463463374607431768211455 pureUint64: 18446744073709551615 pureUint32: 4294967295 pureBool: true pureAddress: 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4 exampleFunction: false pureArray: [1, 2, 3] pureBytes: 0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003748656c6c6f2c20576f726c64212048656c6c6f2c20576f726c64212048656c6c6f2c20576f726c64212048656c6c6f2c20576f726c6421000000000000000000 pureBytes1: 0xff pureNestedStruct: {"a":1,"nestedFields":{"nestedArray":{"a":[0,0,0]},"a":2}} overload (x: 1, y: 2): [0, 0, 0] overload (no args): 1 overload (address arg): 1 ``` - Will fast-follow with e2e tests after releasing and wrapping up other work --------- Co-authored-by: Alexander Stone <[email protected]>
- Loading branch information
1 parent
23dba84
commit dc866ec
Showing
3 changed files
with
501 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.