diff options
author | Jacob Evans <jacob@dekz.net> | 2018-11-26 06:37:31 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-11-26 06:37:31 +0800 |
commit | 99e92a346b134c1e91ecf02db8124614d8fd971d (patch) | |
tree | a0077c41e1fb0950cb20abfb9540bbd846054903 /packages | |
parent | f0f6b26c3bb206f59549e086b788da85bedd26f2 (diff) | |
download | dexon-sol-tools-99e92a346b134c1e91ecf02db8124614d8fd971d.tar dexon-sol-tools-99e92a346b134c1e91ecf02db8124614d8fd971d.tar.gz dexon-sol-tools-99e92a346b134c1e91ecf02db8124614d8fd971d.tar.bz2 dexon-sol-tools-99e92a346b134c1e91ecf02db8124614d8fd971d.tar.lz dexon-sol-tools-99e92a346b134c1e91ecf02db8124614d8fd971d.tar.xz dexon-sol-tools-99e92a346b134c1e91ecf02db8124614d8fd971d.tar.zst dexon-sol-tools-99e92a346b134c1e91ecf02db8124614d8fd971d.zip |
chore: Fund forwarder in migrations
Diffstat (limited to 'packages')
-rw-r--r-- | packages/migrations/src/migration.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts index 04d1abd4c..e4febb1f8 100644 --- a/packages/migrations/src/migration.ts +++ b/packages/migrations/src/migration.ts @@ -141,6 +141,11 @@ export async function runMigrationsAsync(provider: Provider, txDefaults: Partial zrxAssetData, ); + // Fund the Forwarder with ZRX + await web3Wrapper.awaitTransactionSuccessAsync( + await zrxToken.transfer.sendTransactionAsync(forwarder.address, new BigNumber(1000000000000000000), txDefaults), + ); + return { erc20Proxy: erc20Proxy.address, erc721Proxy: erc721Proxy.address, |