aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-12 03:23:20 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:17 +0800
commit32a7442845f8b8db37f9a67648e5d3beac36490c (patch)
tree6a94d5efcd8940281a425584b254bc7e4ba5867b /packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
parenta0dfdefd165ce8b8eb0e76707391f5efb8485040 (diff)
downloaddexon-0x-contracts-32a7442845f8b8db37f9a67648e5d3beac36490c.tar.gz
dexon-0x-contracts-32a7442845f8b8db37f9a67648e5d3beac36490c.tar.zst
dexon-0x-contracts-32a7442845f8b8db37f9a67648e5d3beac36490c.zip
Minor style improvements to asset proxy utils
Diffstat (limited to 'packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts')
-rw-r--r--packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts b/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
index 7ee2f98f0..624f2666f 100644
--- a/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
+++ b/packages/contracts/test/asset_proxy_dispatcher/dispatcher.ts
@@ -13,9 +13,9 @@ import { ERC721ProxyContract } from '../../src/contract_wrappers/generated/e_r_c
import { ERC20Proxy_v1Contract } from '../../src/contract_wrappers/generated/erc20proxy_v1';
import { TokenTransferProxyContract } from '../../src/contract_wrappers/generated/token_transfer_proxy';
import {
- encodeERC20ProxyMetadata,
- encodeERC20ProxyMetadata_V1,
- encodeERC721ProxyMetadata,
+ encodeERC20ProxyData,
+ encodeERC20V1ProxyData,
+ encodeERC721ProxyData,
} from '../../src/utils/asset_proxy_utils';
import { Balances } from '../../src/utils/balances';
import { constants } from '../../src/utils/constants';
@@ -268,7 +268,7 @@ describe('AssetProxyDispatcher', () => {
);
// Construct metadata for ERC20 proxy
- const encodedProxyMetadata = encodeERC20ProxyMetadata(zrx.address);
+ const encodedProxyMetadata = encodeERC20ProxyData(zrx.address);
// Perform a transfer from makerAddress to takerAddress
const balances = await dmyBalances.getAsync();
@@ -293,7 +293,7 @@ describe('AssetProxyDispatcher', () => {
it('should throw if delegating to unregistered proxy', async () => {
// Construct metadata for ERC20 proxy
- const encodedProxyMetadata = encodeERC20ProxyMetadata(zrx.address);
+ const encodedProxyMetadata = encodeERC20ProxyData(zrx.address);
// Perform a transfer from makerAddress to takerAddress
const balances = await dmyBalances.getAsync();
@@ -319,7 +319,7 @@ describe('AssetProxyDispatcher', () => {
);
// Construct metadata for ERC20 proxy
- const encodedProxyMetadata = encodeERC20ProxyMetadata(zrx.address);
+ const encodedProxyMetadata = encodeERC20ProxyData(zrx.address);
// Perform a transfer from makerAddress to takerAddress
const balances = await dmyBalances.getAsync();