aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-22 19:37:44 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-22 19:37:44 +0800
commite476682922ac57e268cf3bb7b3f46f8fba47497d (patch)
tree3fc60c4aa29e763150d0cb661790f3ec4730ccbb /packages
parente31ba2e12e90cca10037d2f6bf8ae17fe42e1991 (diff)
downloaddexon-0x-contracts-e476682922ac57e268cf3bb7b3f46f8fba47497d.tar.gz
dexon-0x-contracts-e476682922ac57e268cf3bb7b3f46f8fba47497d.tar.zst
dexon-0x-contracts-e476682922ac57e268cf3bb7b3f46f8fba47497d.zip
Remove redundant types
Diffstat (limited to 'packages')
-rw-r--r--packages/deployer/src/utils/types.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/packages/deployer/src/utils/types.ts b/packages/deployer/src/utils/types.ts
index 72ee0df2f..540b31aff 100644
--- a/packages/deployer/src/utils/types.ts
+++ b/packages/deployer/src/utils/types.ts
@@ -89,24 +89,6 @@ export interface ContractSpecificSourceData {
sourceTreeHash: Buffer;
}
-// TODO: Consolidate with 0x.js definitions once types are moved into a separate package.
-export enum ZeroExError {
- ContractDoesNotExist = 'CONTRACT_DOES_NOT_EXIST',
- ExchangeContractDoesNotExist = 'EXCHANGE_CONTRACT_DOES_NOT_EXIST',
- UnhandledError = 'UNHANDLED_ERROR',
- UserHasNoAssociatedAddress = 'USER_HAS_NO_ASSOCIATED_ADDRESSES',
- InvalidSignature = 'INVALID_SIGNATURE',
- ContractNotDeployedOnNetwork = 'CONTRACT_NOT_DEPLOYED_ON_NETWORK',
- InsufficientAllowanceForTransfer = 'INSUFFICIENT_ALLOWANCE_FOR_TRANSFER',
- InsufficientBalanceForTransfer = 'INSUFFICIENT_BALANCE_FOR_TRANSFER',
- InsufficientEthBalanceForDeposit = 'INSUFFICIENT_ETH_BALANCE_FOR_DEPOSIT',
- InsufficientWEthBalanceForWithdrawal = 'INSUFFICIENT_WETH_BALANCE_FOR_WITHDRAWAL',
- InvalidJump = 'INVALID_JUMP',
- OutOfGas = 'OUT_OF_GAS',
- NoNetworkId = 'NO_NETWORK_ID',
- SubscriptionNotFound = 'SUBSCRIPTION_NOT_FOUND',
-}
-
export interface Token {
address?: string;
name: string;