aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/util/constants.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2017-12-13 07:39:29 +0800
committerGitHub <noreply@github.com>2017-12-13 07:39:29 +0800
commit5678196706a63d27fc5b00b5224c8213510e76f0 (patch)
treeb2077b02688fb7dff8272854a4e18f4ff852d086 /packages/contracts/util/constants.ts
parent6630b1d8a5658e1a7dcf9a42426ca39c4507f7db (diff)
parent987637abed4a74a3e851c54e93c0164607a5ab6f (diff)
downloaddexon-sol-tools-5678196706a63d27fc5b00b5224c8213510e76f0.tar
dexon-sol-tools-5678196706a63d27fc5b00b5224c8213510e76f0.tar.gz
dexon-sol-tools-5678196706a63d27fc5b00b5224c8213510e76f0.tar.bz2
dexon-sol-tools-5678196706a63d27fc5b00b5224c8213510e76f0.tar.lz
dexon-sol-tools-5678196706a63d27fc5b00b5224c8213510e76f0.tar.xz
dexon-sol-tools-5678196706a63d27fc5b00b5224c8213510e76f0.tar.zst
dexon-sol-tools-5678196706a63d27fc5b00b5224c8213510e76f0.zip
Merge pull request #255 from 0xProject/feature/updateWeth
Update WETH
Diffstat (limited to 'packages/contracts/util/constants.ts')
-rw-r--r--packages/contracts/util/constants.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/contracts/util/constants.ts b/packages/contracts/util/constants.ts
index 5beebc68c..e61b2f802 100644
--- a/packages/contracts/util/constants.ts
+++ b/packages/contracts/util/constants.ts
@@ -1,4 +1,9 @@
export const constants = {
NULL_BYTES: '0x',
INVALID_OPCODE: 'invalid opcode',
+ REVERT: 'revert',
+ TESTRPC_NETWORK_ID: 50,
+ MAX_ETHERTOKEN_WITHDRAW_GAS: 43000,
+ MAX_TOKEN_TRANSFERFROM_GAS: 80000,
+ MAX_TOKEN_APPROVE_GAS: 60000,
};