diff options
author | Fabio Berger <me@fabioberger.com> | 2018-12-19 21:05:59 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-12-19 21:05:59 +0800 |
commit | d2ef88f638ef2520b94049c1894f388f85ab7c35 (patch) | |
tree | 1d041d55fb3849646ac10a3778d61ce55bee2df0 /packages | |
parent | 90ee70db23251bfc68c7d4235be1bf1c4c6e6a92 (diff) | |
parent | bce7ae78bc78a27355d524eac8a6d0e91d05e522 (diff) | |
download | dexon-sol-tools-d2ef88f638ef2520b94049c1894f388f85ab7c35.tar.gz dexon-sol-tools-d2ef88f638ef2520b94049c1894f388f85ab7c35.tar.zst dexon-sol-tools-d2ef88f638ef2520b94049c1894f388f85ab7c35.zip |
Merge branch 'development' into features/orderwatcher_ws
* development: (74 commits)
Bump up stale to close to 30 days
Make @0x/contracts-test-utils a dependency instead of a devDependency
Fix test-publish failure in contracts packages
Fixed solhint errors
Added documentation to `LibAddressArray.append` and switched `if` to `require` smt
Updated changelogs for new contracts
Added `gas` field so tests pass on Geth;
Added Changelog for new Extensions
Updated comment `Execute fillOrder` -> `Execute exchange function`
Explicit returns
Prettier / Linter on contracts + TS
Refactoring balance threshold filter
Moved exchange calldata functions to separate mixin
Less Assembly. More Solidity. Less Efficiency. More Readability.
Run all tests for extensions
Cleaned up tests for balance threshold filter
Removed deprecated README + comments
removed unnecessary log
removed `only` from tests
solhint fixes
...
Diffstat (limited to 'packages')
-rw-r--r-- | packages/types/src/index.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 6b728af71..4470dd501 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -243,6 +243,10 @@ export enum RevertReason { AuctionNotStarted = 'AUCTION_NOT_STARTED', AuctionInvalidBeginTime = 'INVALID_BEGIN_TIME', InvalidAssetData = 'INVALID_ASSET_DATA', + // Balance Threshold Filter + InvalidOrBlockedExchangeSelector = 'INVALID_OR_BLOCKED_EXCHANGE_SELECTOR', + BalanceQueryFailed = 'BALANCE_QUERY_FAILED', + AtLeastOneAddressDoesNotMeetBalanceThreshold = 'AT_LEAST_ONE_ADDRESS_DOES_NOT_MEET_BALANCE_THRESHOLD', } export enum StatusCodes { |