diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-08-25 08:29:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-25 08:29:09 +0800 |
commit | 74ce893f520db6ae4617432975b5c9321ff5b89b (patch) | |
tree | 45853fe1c16066290834ee5827b3c269a9fb7734 /packages/types | |
parent | 94e01be9ed5bfe2d0ace4cd0562fced889b34108 (diff) | |
parent | cc1fac9bbee2656bdb327490de42922abfc5125a (diff) | |
download | dexon-0x-contracts-74ce893f520db6ae4617432975b5c9321ff5b89b.tar.gz dexon-0x-contracts-74ce893f520db6ae4617432975b5c9321ff5b89b.tar.zst dexon-0x-contracts-74ce893f520db6ae4617432975b5c9321ff5b89b.zip |
Merge pull request #1003 from 0xProject/feature/contracts/roundup
[contracts] Add getPartialAmountCeil and isRoundingErrorCeil
Diffstat (limited to 'packages/types')
-rw-r--r-- | packages/types/src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 4375fc631..f07d7f756 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -172,6 +172,7 @@ export enum RevertReason { InvalidSender = 'INVALID_SENDER', InvalidOrderSignature = 'INVALID_ORDER_SIGNATURE', InvalidTakerAmount = 'INVALID_TAKER_AMOUNT', + DivisionByZero = 'DIVISION_BY_ZERO', RoundingError = 'ROUNDING_ERROR', InvalidSignature = 'INVALID_SIGNATURE', SignatureIllegal = 'SIGNATURE_ILLEGAL', |