diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-16 06:33:40 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:10 +0800 |
commit | 8a8b904a292063d1adb3df0a84023610a3985f7f (patch) | |
tree | cfb0772901ec1965e2a68fd728b639ff592edf75 /packages/utils/test/abi_samples.ts | |
parent | ebd4dbc6c6ebdf776ba1582367d3eda32717ba65 (diff) | |
download | dexon-sol-tools-8a8b904a292063d1adb3df0a84023610a3985f7f.tar.gz dexon-sol-tools-8a8b904a292063d1adb3df0a84023610a3985f7f.tar.zst dexon-sol-tools-8a8b904a292063d1adb3df0a84023610a3985f7f.zip |
Use new ABI Encoder for contracts
Diffstat (limited to 'packages/utils/test/abi_samples.ts')
-rw-r--r-- | packages/utils/test/abi_samples.ts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/utils/test/abi_samples.ts b/packages/utils/test/abi_samples.ts index 5e8268f1a..aa38711cd 100644 --- a/packages/utils/test/abi_samples.ts +++ b/packages/utils/test/abi_samples.ts @@ -34,6 +34,40 @@ export const stringAbi = { type: 'function', } as MethodAbi; + +export const GAbi = { + constant: false, + inputs: [ + { + components: [{ + name: 'a', + type: 'uint256', + }, + { + name: 'b', + type: 'string', + }, + { + name: 'e', + type: 'bytes', + }, + { + name: 'f', + type: 'address', + }], + + name: 'f', + type: 'tuple', + + } + ], + name: 'simpleFunction', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function', +} as MethodAbi; + export const optimizerAbi2 = { constant: false, inputs: [ |