diff options
author | Jacob Evans <jacob@dekz.net> | 2018-11-30 10:25:36 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-12-04 06:14:00 +0800 |
commit | 0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f (patch) | |
tree | 2f7a9cb190a538d94e1e71e050f9c4a6c7f4f152 /packages/types/src | |
parent | a882a399378f75261e9fe68e6f20b1d4bb8d59c0 (diff) | |
download | dexon-sol-tools-0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f.tar dexon-sol-tools-0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f.tar.gz dexon-sol-tools-0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f.tar.bz2 dexon-sol-tools-0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f.tar.lz dexon-sol-tools-0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f.tar.xz dexon-sol-tools-0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f.tar.zst dexon-sol-tools-0bffc3d10e5b7c55fabfd4f0e5dcceefe468aa5f.zip |
chore: Add RevertReasons for DutchAuction. Test revert reasons
Diffstat (limited to 'packages/types/src')
-rw-r--r-- | packages/types/src/index.ts | 6 |
1 files changed, 6 insertions, 0 deletions
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 { |