diff options
author | Jacob Evans <dekz@dekz.net> | 2018-12-04 09:44:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 09:44:19 +0800 |
commit | a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2 (patch) | |
tree | 22ae572b251938bd45e8fe23b1127e4a4a1a5a99 /packages | |
parent | 8c146ce231ab0c3b6948afa21effe2a9bf228432 (diff) | |
parent | 098a531de8776df3776017001014078a21eb4029 (diff) | |
download | dexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.tar dexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.tar.gz dexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.tar.bz2 dexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.tar.lz dexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.tar.xz dexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.tar.zst dexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.zip |
Merge pull request #1225 from 0xProject/feature/contracts/dutch-auction
Implement Basic Dutch Auction
Diffstat (limited to 'packages')
-rw-r--r-- | packages/types/CHANGELOG.json | 4 | ||||
-rw-r--r-- | packages/types/src/index.ts | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/packages/types/CHANGELOG.json b/packages/types/CHANGELOG.json index 53b24aff0..b09859101 100644 --- a/packages/types/CHANGELOG.json +++ b/packages/types/CHANGELOG.json @@ -5,6 +5,10 @@ { "note": "Add `LengthMismatch` and `LengthGreaterThan3Required` revert reasons", "pr": 1224 + }, + { + "note": "Add RevertReasons for DutchAuction contract", + "pr": 1225 } ] }, diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 26d8f8e22..6b728af71 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -237,6 +237,12 @@ export enum RevertReason { TxFullyConfirmed = 'TX_FULLY_CONFIRMED', TxNotFullyConfirmed = 'TX_NOT_FULLY_CONFIRMED', TimeLockIncomplete = 'TIME_LOCK_INCOMPLETE', + // DutchAuction + AuctionInvalidAmount = 'INVALID_AMOUNT', + AuctionExpired = 'AUCTION_EXPIRED', + AuctionNotStarted = 'AUCTION_NOT_STARTED', + AuctionInvalidBeginTime = 'INVALID_BEGIN_TIME', + InvalidAssetData = 'INVALID_ASSET_DATA', } export enum StatusCodes { |