diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 15:11:58 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-10-16 15:23:43 +0800 |
commit | 5bdfad9b415fc183102d5f5a7f3a08782921f003 (patch) | |
tree | dbb5635bf678e59126f07bd69364cfda43374a1c /packages/website/ts/utils | |
parent | 3c5812c5d20e98475ef8ce47b949596656f46a0d (diff) | |
download | dexon-sol-tools-5bdfad9b415fc183102d5f5a7f3a08782921f003.tar dexon-sol-tools-5bdfad9b415fc183102d5f5a7f3a08782921f003.tar.gz dexon-sol-tools-5bdfad9b415fc183102d5f5a7f3a08782921f003.tar.bz2 dexon-sol-tools-5bdfad9b415fc183102d5f5a7f3a08782921f003.tar.lz dexon-sol-tools-5bdfad9b415fc183102d5f5a7f3a08782921f003.tar.xz dexon-sol-tools-5bdfad9b415fc183102d5f5a7f3a08782921f003.tar.zst dexon-sol-tools-5bdfad9b415fc183102d5f5a7f3a08782921f003.zip |
Remove ContractNotFound errors in contract-wrappers
Diffstat (limited to 'packages/website/ts/utils')
-rw-r--r-- | packages/website/ts/utils/utils.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index d083e0ffc..d1628bc52 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -231,13 +231,6 @@ export const utils = { }, zeroExErrToHumanReadableErrMsg(error: ContractWrappersError | ExchangeContractErrs, takerAddress: string): string { const ContractWrappersErrorToHumanReadableError: { [error: string]: string } = { - [ContractWrappersError.ExchangeContractDoesNotExist]: 'Exchange contract does not exist', - [ContractWrappersError.EtherTokenContractDoesNotExist]: 'EtherToken contract does not exist', - [ContractWrappersError.ERC20ProxyContractDoesNotExist]: 'ERC20 proxy contract des not exist', - [ContractWrappersError.ERC721ProxyContractDoesNotExist]: 'ERC721 proxy contract des not exist', - [ContractWrappersError.ERC20TokenContractDoesNotExist]: 'ERC20 token contract does not exist', - [ContractWrappersError.ERC721TokenContractDoesNotExist]: 'ERC721 token contract does not exist', - [ContractWrappersError.ZRXContractDoesNotExist]: 'ZRX contract does not exist', [BlockchainCallErrs.UserHasNoAssociatedAddresses]: 'User has no addresses available', [OrderError.InvalidSignature]: 'Order signature is not valid', [ContractWrappersError.ContractNotDeployedOnNetwork]: 'Contract is not deployed on the detected network', |