diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-11-09 05:57:36 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-11-29 08:38:10 +0800 |
commit | 8b91727364c205cd2bd44abdabd62c1044dd13d4 (patch) | |
tree | 92bdaa2550955b4e81daa75f600561dd5d4a474c /packages/order-utils/test/abi_samples.ts | |
parent | 8f61f6d0f9532e95fd32cbab8dd0344b42de2da7 (diff) | |
download | dexon-0x-contracts-8b91727364c205cd2bd44abdabd62c1044dd13d4.tar dexon-0x-contracts-8b91727364c205cd2bd44abdabd62c1044dd13d4.tar.gz dexon-0x-contracts-8b91727364c205cd2bd44abdabd62c1044dd13d4.tar.bz2 dexon-0x-contracts-8b91727364c205cd2bd44abdabd62c1044dd13d4.tar.lz dexon-0x-contracts-8b91727364c205cd2bd44abdabd62c1044dd13d4.tar.xz dexon-0x-contracts-8b91727364c205cd2bd44abdabd62c1044dd13d4.tar.zst dexon-0x-contracts-8b91727364c205cd2bd44abdabd62c1044dd13d4.zip |
types with default widths
Diffstat (limited to 'packages/order-utils/test/abi_samples.ts')
-rw-r--r-- | packages/order-utils/test/abi_samples.ts | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/order-utils/test/abi_samples.ts b/packages/order-utils/test/abi_samples.ts index 7939cbaeb..921408724 100644 --- a/packages/order-utils/test/abi_samples.ts +++ b/packages/order-utils/test/abi_samples.ts @@ -34,6 +34,41 @@ export const stringAbi = { type: 'function', } as MethodAbi; +export const typesWithDefaultWidthsAbi = { + constant: false, + inputs: [ + { + name: 'someUint', + type: 'uint', + }, + { + name: 'someInt', + type: 'int', + }, + { + name: 'someByte', + type: 'byte', + }, + { + name: 'someUint', + type: 'uint[]', + }, + { + name: 'someInt', + type: 'int[]', + }, + { + name: 'someByte', + type: 'byte[]', + }, + ], + name: 'simpleFunction', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function', +} as MethodAbi; + export const multiDimensionalArraysStaticTypeAbi = { constant: false, inputs: [ |