aboutsummaryrefslogtreecommitdiffstats
path: root/src/types.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:00:37 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-03 00:00:37 +0800
commitabf2cf4c5e2ea6d09d862871adfa16ca108907e2 (patch)
tree576899e4e72b89e62300443e613735f3f5e70ba7 /src/types.ts
parent54e8bf773091eb2c8587c72e50892afec42abb9d (diff)
downloaddexon-sol-tools-abf2cf4c5e2ea6d09d862871adfa16ca108907e2.tar
dexon-sol-tools-abf2cf4c5e2ea6d09d862871adfa16ca108907e2.tar.gz
dexon-sol-tools-abf2cf4c5e2ea6d09d862871adfa16ca108907e2.tar.bz2
dexon-sol-tools-abf2cf4c5e2ea6d09d862871adfa16ca108907e2.tar.lz
dexon-sol-tools-abf2cf4c5e2ea6d09d862871adfa16ca108907e2.tar.xz
dexon-sol-tools-abf2cf4c5e2ea6d09d862871adfa16ca108907e2.tar.zst
dexon-sol-tools-abf2cf4c5e2ea6d09d862871adfa16ca108907e2.zip
Move FillOrderValidatinErrs to ExchangeContractErrs
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/types.ts b/src/types.ts
index e4a7da5d7..6cd5a93fe 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -89,13 +89,6 @@ export const ExchangeContractErrs = strEnum([
'ORDER_REMAINING_FILL_AMOUNT_ZERO',
'ORDER_FILL_ROUNDING_ERROR',
'FILL_BALANCE_ALLOWANCE_ERROR',
-]);
-export type ExchangeContractErrs = keyof typeof ExchangeContractErrs;
-
-export const FillOrderValidationErrs = strEnum([
- 'FILL_AMOUNT_IS_ZERO',
- 'TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER',
- 'FILL_ORDER_EXPIRED',
'NOT_ENOUGH_TAKER_BALANCE',
'NOT_ENOUGH_TAKER_ALLOWANCE',
'NOT_ENOUGH_MAKER_BALANCE',
@@ -104,9 +97,10 @@ export const FillOrderValidationErrs = strEnum([
'NOT_ENOUGH_TAKER_FEE_ALLOWANCE',
'NOT_ENOUGH_MAKER_FEE_BALANCE',
'NOT_ENOUGH_MAKER_FEE_ALLOWANCE',
- 'ROUNDING_ERROR',
+ 'TRANSACTION_SENDER_IS_NOT_FILL_ORDER_TAKER',
+
]);
-export type FillOrderValidationErrs = keyof typeof FillOrderValidationErrs;
+export type ExchangeContractErrs = keyof typeof ExchangeContractErrs;
export interface ContractResponse {
logs: ContractEvent[];