aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
diff options
context:
space:
mode:
authorKadinsky <kandinsky454@protonmail.ch>2018-10-16 21:21:46 +0800
committerGitHub <noreply@github.com>2018-10-16 21:21:46 +0800
commite62458705039f6a187ff23e4e4ee1737476eb431 (patch)
tree27497ebaf0e7da27561620b28b28cc30833261fc /packages/website/ts/utils/utils.ts
parent05bf7a8280bcb46144dfef9b30bb7c0e2e4a15aa (diff)
parent5938e8a52daa913668593977e44ca25e38a29e41 (diff)
downloaddexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar
dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.gz
dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.bz2
dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.lz
dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.xz
dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.tar.zst
dexon-sol-tools-e62458705039f6a187ff23e4e4ee1737476eb431.zip
Merge pull request #1105 from 0xProject/feature/contracts-artifacts-re-org
Reorganize and modularize generated contract wrappers and artifacts
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-rw-r--r--packages/website/ts/utils/utils.ts7
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',