diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 00:21:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-02 00:21:12 +0800 |
commit | 0554f947b12f36a1cd5f7be469123e794b467f0b (patch) | |
tree | c3d1a55af98063dadfb37cf588adc6e00dfdf3b1 /src/types.ts | |
parent | 6ced554d9f6cf00d0d9e8f9ff8170af4f1cfbee3 (diff) | |
download | dexon-0x-contracts-0554f947b12f36a1cd5f7be469123e794b467f0b.tar dexon-0x-contracts-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.gz dexon-0x-contracts-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.bz2 dexon-0x-contracts-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.lz dexon-0x-contracts-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.xz dexon-0x-contracts-0554f947b12f36a1cd5f7be469123e794b467f0b.tar.zst dexon-0x-contracts-0554f947b12f36a1cd5f7be469123e794b467f0b.zip |
Add not enough taker balance tests
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 872422af6..ad5d8fb17 100644 --- a/src/types.ts +++ b/src/types.ts @@ -89,6 +89,10 @@ export const FillOrderValidationErrs = strEnum([ 'FILL_AMOUNT_IS_ZERO', 'NOT_A_TAKER', 'EXPIRED', + 'NOT_ENOUGH_TAKER_BALANCE', + 'NOT_ENOUGH_TAKER_ALLOWANCE', + 'NOT_ENOUGH_MAKER_BALANCE', + 'NOT_ENOUGH_MAKER_ALLOWANCE', ]); export type FillOrderValidationErrs = keyof typeof FillOrderValidationErrs; |