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/migrations/src | |
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/migrations/src')
-rw-r--r-- | packages/migrations/src/migration.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts index c684c4970..99d1719f1 100644 --- a/packages/migrations/src/migration.ts +++ b/packages/migrations/src/migration.ts @@ -141,6 +141,14 @@ export async function runMigrationsAsync(provider: Provider, txDefaults: Partial zrxAssetData, ); + // DutchAuction + const dutchAuction = await wrappers.DutchAuctionContract.deployFrom0xArtifactAsync( + artifacts.DutchAuction, + provider, + txDefaults, + exchange.address, + ); + // Fund the Forwarder with ZRX const zrxDecimals = await zrxToken.decimals.callAsync(); const zrxForwarderAmount = Web3Wrapper.toBaseUnitAmount(new BigNumber(5000), zrxDecimals); @@ -157,6 +165,7 @@ export async function runMigrationsAsync(provider: Provider, txDefaults: Partial assetProxyOwner: assetProxyOwner.address, forwarder: forwarder.address, orderValidator: orderValidator.address, + dutchAuction: dutchAuction.address, }; } |