aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-11 13:24:21 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:17 +0800
commitd72a7318658e3f6f860db7e9aa6dc9059451d7b0 (patch)
treebe32a2f0f862d388e0abc1f2bbfe4fffe8c69f8d /packages/contracts/test/exchange
parentf35fe56d9b60ccee84e1bb8898700f839f92a917 (diff)
downloaddexon-sol-tools-d72a7318658e3f6f860db7e9aa6dc9059451d7b0.tar.gz
dexon-sol-tools-d72a7318658e3f6f860db7e9aa6dc9059451d7b0.tar.zst
dexon-sol-tools-d72a7318658e3f6f860db7e9aa6dc9059451d7b0.zip
setAssetProxy to addAssetProxy
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r--packages/contracts/test/exchange/core.ts6
-rw-r--r--packages/contracts/test/exchange/helpers.ts4
-rw-r--r--packages/contracts/test/exchange/wrapper.ts4
3 files changed, 7 insertions, 7 deletions
diff --git a/packages/contracts/test/exchange/core.ts b/packages/contracts/test/exchange/core.ts
index f0856eac3..49a05fd5b 100644
--- a/packages/contracts/test/exchange/core.ts
+++ b/packages/contracts/test/exchange/core.ts
@@ -154,19 +154,19 @@ describe('Exchange', () => {
from: accounts[0],
});
const nilAddress = '0x0000000000000000000000000000000000000000';
- await assetProxyDispatcher.setAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20_V1,
erc20TransferProxyV1.address,
nilAddress,
{ from: accounts[0] },
);
- await assetProxyDispatcher.setAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20,
erc20TransferProxy.address,
nilAddress,
{ from: accounts[0] },
);
- await assetProxyDispatcher.setAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
AssetProxyId.ERC721,
erc721TransferProxy.address,
nilAddress,
diff --git a/packages/contracts/test/exchange/helpers.ts b/packages/contracts/test/exchange/helpers.ts
index 32e06e988..97421e644 100644
--- a/packages/contracts/test/exchange/helpers.ts
+++ b/packages/contracts/test/exchange/helpers.ts
@@ -69,13 +69,13 @@ describe('Exchange', () => {
from: accounts[0],
});
const nilAddress = '0x0000000000000000000000000000000000000000';
- await assetProxyDispatcher.setAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20_V1,
erc20TransferProxyV1.address,
nilAddress,
{ from: accounts[0] },
);
- await assetProxyDispatcher.setAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20,
erc20TransferProxy.address,
nilAddress,
diff --git a/packages/contracts/test/exchange/wrapper.ts b/packages/contracts/test/exchange/wrapper.ts
index 28547034e..f993eb2d3 100644
--- a/packages/contracts/test/exchange/wrapper.ts
+++ b/packages/contracts/test/exchange/wrapper.ts
@@ -119,13 +119,13 @@ describe('Exchange', () => {
from: accounts[0],
});
const nilAddress = '0x0000000000000000000000000000000000000000';
- await assetProxyDispatcher.setAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20_V1,
erc20TransferProxyV1.address,
nilAddress,
{ from: accounts[0] },
);
- await assetProxyDispatcher.setAssetProxy.sendTransactionAsync(
+ await assetProxyDispatcher.addAssetProxy.sendTransactionAsync(
AssetProxyId.ERC20,
erc20TransferProxy.address,
nilAddress,