diff options
author | Greg Hysen <hysz@users.noreply.github.com> | 2019-01-08 08:16:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 08:16:06 +0800 |
commit | 0ac36cef288deecd36caa601c53d13517eef5ca8 (patch) | |
tree | 6ee5fc237d649116e02da241a3c2ebe3d5029dee /packages/contract-wrappers/src/types.ts | |
parent | 7dda953bc929e218121c331fedb3884b24555855 (diff) | |
parent | 04db7f0fae02ef29795d0f65deb71e64b5552233 (diff) | |
download | dexon-sol-tools-0ac36cef288deecd36caa601c53d13517eef5ca8.tar dexon-sol-tools-0ac36cef288deecd36caa601c53d13517eef5ca8.tar.gz dexon-sol-tools-0ac36cef288deecd36caa601c53d13517eef5ca8.tar.bz2 dexon-sol-tools-0ac36cef288deecd36caa601c53d13517eef5ca8.tar.lz dexon-sol-tools-0ac36cef288deecd36caa601c53d13517eef5ca8.tar.xz dexon-sol-tools-0ac36cef288deecd36caa601c53d13517eef5ca8.tar.zst dexon-sol-tools-0ac36cef288deecd36caa601c53d13517eef5ca8.zip |
Merge pull request #1465 from 0xProject/feature/contracts/dutchAuctionWrapper
Dutch Auction Wrapper
Diffstat (limited to 'packages/contract-wrappers/src/types.ts')
-rw-r--r-- | packages/contract-wrappers/src/types.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/contract-wrappers/src/types.ts b/packages/contract-wrappers/src/types.ts index 14d4649ae..945ca88cd 100644 --- a/packages/contract-wrappers/src/types.ts +++ b/packages/contract-wrappers/src/types.ts @@ -9,7 +9,7 @@ import { WETH9Events, } from '@0x/abi-gen-wrappers'; import { ContractAddresses } from '@0x/contract-addresses'; -import { OrderState, SignedOrder } from '@0x/types'; +import { AssetData, OrderState, SignedOrder } from '@0x/types'; import { BigNumber } from '@0x/utils'; import { BlockParam, ContractEventArg, DecodedLogArgs, LogEntryEvent, LogWithDecodedArgs } from 'ethereum-types'; @@ -206,3 +206,13 @@ export interface BalanceAndAllowance { balance: BigNumber; allowance: BigNumber; } + +export enum DutchAuctionWrapperError { + AssetDataMismatch = 'ASSET_DATA_MISMATCH', +} + +export interface DutchAuctionData { + assetData: AssetData; + beginTimeSeconds: BigNumber; + beginAmount: BigNumber; +} |