aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJacob Evans <dekz@dekz.net>2018-12-04 09:44:19 +0800
committerGitHub <noreply@github.com>2018-12-04 09:44:19 +0800
commita1e985a1cac46ecbc54c7ef5b846fb5faf2bede2 (patch)
tree22ae572b251938bd45e8fe23b1127e4a4a1a5a99 /packages
parent8c146ce231ab0c3b6948afa21effe2a9bf228432 (diff)
parent098a531de8776df3776017001014078a21eb4029 (diff)
downloaddexon-sol-tools-a1e985a1cac46ecbc54c7ef5b846fb5faf2bede2.tar.gz
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.json4
-rw-r--r--packages/types/src/index.ts6
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 {