diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-08 23:40:46 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-08 23:40:46 +0800 |
commit | 98e8105ec5a629ce67f34216df72e11422649c4e (patch) | |
tree | a30bc127779789aae5eff5457366264d09a9e31b /packages/contracts/util/constants.ts | |
parent | 4a94a2b4e81d8b5d773ebeaa671b78ac4bf9a408 (diff) | |
parent | 03902b0b26fe443705dde20c42e78e1cb4bd3c4b (diff) | |
download | dexon-sol-tools-98e8105ec5a629ce67f34216df72e11422649c4e.tar dexon-sol-tools-98e8105ec5a629ce67f34216df72e11422649c4e.tar.gz dexon-sol-tools-98e8105ec5a629ce67f34216df72e11422649c4e.tar.bz2 dexon-sol-tools-98e8105ec5a629ce67f34216df72e11422649c4e.tar.lz dexon-sol-tools-98e8105ec5a629ce67f34216df72e11422649c4e.tar.xz dexon-sol-tools-98e8105ec5a629ce67f34216df72e11422649c4e.tar.zst dexon-sol-tools-98e8105ec5a629ce67f34216df72e11422649c4e.zip |
Merge branch 'development' into extractDocs
* development:
Added base-contract package to README
Update yarn.lock
Improve README
Feedback
README on derivation path
Use our dev seed derivation path.
README
Add ledger-node package as optional dependency
Force shouldGetChainCode to true in types
Nuke tests for now
Remove old ledger
Update ledgerco packages
Remove only
Fix a typo
Add PR name
Improve an error message when an inorrect number of constructor params is passed
Diffstat (limited to 'packages/contracts/util/constants.ts')
-rw-r--r-- | packages/contracts/util/constants.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/contracts/util/constants.ts b/packages/contracts/util/constants.ts index e61b2f802..9bb090a2a 100644 --- a/packages/contracts/util/constants.ts +++ b/packages/contracts/util/constants.ts @@ -1,3 +1,8 @@ +const DUMMY_TOKEN_NAME = ''; +const DUMMY_TOKEN_SYMBOL = ''; +const DUMMY_TOKEN_DECIMALS = 18; +const DUMMY_TOKEN_TOTAL_SUPPLY = 0; + export const constants = { NULL_BYTES: '0x', INVALID_OPCODE: 'invalid opcode', @@ -6,4 +11,5 @@ export const constants = { MAX_ETHERTOKEN_WITHDRAW_GAS: 43000, MAX_TOKEN_TRANSFERFROM_GAS: 80000, MAX_TOKEN_APPROVE_GAS: 60000, + DUMMY_TOKEN_ARGS: [DUMMY_TOKEN_NAME, DUMMY_TOKEN_SYMBOL, DUMMY_TOKEN_DECIMALS, DUMMY_TOKEN_TOTAL_SUPPLY], }; |