aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-03-24 06:33:49 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:17 +0800
commit3541f5e1dac692fa12fafd4822dc98aa7afe5c1c (patch)
treeceb98de2233188ac0aad1f04cfa25a1290198290 /packages/contracts/src/utils
parent8f809e3a292c55e0f6440f9cf7c8746ede7ad583 (diff)
downloaddexon-sol-tools-3541f5e1dac692fa12fafd4822dc98aa7afe5c1c.tar.gz
dexon-sol-tools-3541f5e1dac692fa12fafd4822dc98aa7afe5c1c.tar.zst
dexon-sol-tools-3541f5e1dac692fa12fafd4822dc98aa7afe5c1c.zip
Separate filled/cancelled errors
Diffstat (limited to 'packages/contracts/src/utils')
-rw-r--r--packages/contracts/src/utils/types.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts
index 460d0a58a..ce87e9851 100644
--- a/packages/contracts/src/utils/types.ts
+++ b/packages/contracts/src/utils/types.ts
@@ -75,7 +75,8 @@ export interface TokenInfoByNetwork {
export enum ExchangeContractErrs {
ERROR_ORDER_EXPIRED,
- ERROR_ORDER_FULLY_FILLED_OR_CANCELLED,
+ ERROR_ORDER_FULLY_FILLED,
+ ERROR_ORDER_CANCELLED,
ERROR_ROUNDING_ERROR_TOO_LARGE,
ERROR_INSUFFICIENT_BALANCE_OR_ALLOWANCE,
}