diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-22 23:12:17 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-22 23:12:17 +0800 |
commit | 914b00936199526f67398d5b9823f893f1773cdd (patch) | |
tree | d3f22e9e06dde606395728b600ba92dd8166df35 /packages/contracts/src/utils | |
parent | daa50442c90f30ce7a873bf228875241a083bba5 (diff) | |
download | dexon-sol-tools-914b00936199526f67398d5b9823f893f1773cdd.tar dexon-sol-tools-914b00936199526f67398d5b9823f893f1773cdd.tar.gz dexon-sol-tools-914b00936199526f67398d5b9823f893f1773cdd.tar.bz2 dexon-sol-tools-914b00936199526f67398d5b9823f893f1773cdd.tar.lz dexon-sol-tools-914b00936199526f67398d5b9823f893f1773cdd.tar.xz dexon-sol-tools-914b00936199526f67398d5b9823f893f1773cdd.tar.zst dexon-sol-tools-914b00936199526f67398d5b9823f893f1773cdd.zip |
Change Whitelist error messages to conform to rest and added revert reason checks to transactions tests
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r-- | packages/contracts/src/utils/types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts index 24183b549..c1eb72099 100644 --- a/packages/contracts/src/utils/types.ts +++ b/packages/contracts/src/utils/types.ts @@ -183,4 +183,6 @@ export enum ContractLibErrors { IndexOutOfBounds = 'INDEX_OUT_OF_BOUNDS', AuthorizedAddressMismatch = 'AUTHORIZED_ADDRESS_MISMATCH', OnlyContractOwner = 'ONLY_CONTRACT_OWNER', + MakerNotWhitelisted = 'MAKER_NOT_WHITELISTED', + TakerNotWhitelisted = 'TAKER_NOT_WHITELISTED', } |