diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-30 05:34:46 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-06-30 07:25:16 +0800 |
commit | d4852092b84936a7c2db207899321ad2a1955e64 (patch) | |
tree | b693ee17fce41377eb0e18e24f054b9845ef0588 /packages/contracts/src/utils/core_combinatorial_utils.ts | |
parent | 622ce0bf2ee348cd8640cd589962bd88a6d632fb (diff) | |
download | dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar.gz dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar.bz2 dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar.lz dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar.xz dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.tar.zst dexon-0x-contracts-d4852092b84936a7c2db207899321ad2a1955e64.zip |
Make registerAssetProxy append only
Diffstat (limited to 'packages/contracts/src/utils/core_combinatorial_utils.ts')
-rw-r--r-- | packages/contracts/src/utils/core_combinatorial_utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/core_combinatorial_utils.ts b/packages/contracts/src/utils/core_combinatorial_utils.ts index 5b725fbe3..93f4fc79d 100644 --- a/packages/contracts/src/utils/core_combinatorial_utils.ts +++ b/packages/contracts/src/utils/core_combinatorial_utils.ts @@ -96,8 +96,8 @@ export async function coreCombinatorialUtilsFactoryAsync( zrxAssetData, ); const exchangeWrapper = new ExchangeWrapper(exchangeContract, provider); - await exchangeWrapper.registerAssetProxyAsync(AssetProxyId.ERC20, erc20Proxy.address, ownerAddress); - await exchangeWrapper.registerAssetProxyAsync(AssetProxyId.ERC721, erc721Proxy.address, ownerAddress); + await exchangeWrapper.registerAssetProxyAsync(erc20Proxy.address, ownerAddress); + await exchangeWrapper.registerAssetProxyAsync(erc721Proxy.address, ownerAddress); await web3Wrapper.awaitTransactionSuccessAsync( await erc20Proxy.addAuthorizedAddress.sendTransactionAsync(exchangeContract.address, { |