From 4e093369f61403562d4d65fb33dcc0a2d09de3de Mon Sep 17 00:00:00 2001 From: Greg Hysen Date: Wed, 11 Apr 2018 15:17:08 -0700 Subject: Updated ERC20 v1 proxy names in tests --- packages/contracts/src/utils/asset_proxy_utils.ts | 2 +- packages/contracts/src/utils/types.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/contracts/src') diff --git a/packages/contracts/src/utils/asset_proxy_utils.ts b/packages/contracts/src/utils/asset_proxy_utils.ts index 7011e0e39..63de7252d 100644 --- a/packages/contracts/src/utils/asset_proxy_utils.ts +++ b/packages/contracts/src/utils/asset_proxy_utils.ts @@ -25,7 +25,7 @@ export function encodeUint256(value: BigNumber): Buffer { } export function encodeERC20V1ProxyData(tokenAddress: string): string { - const encodedAssetProxyId = encodeAssetProxyId(AssetProxyId.ERC20_V1); + const encodedAssetProxyId = encodeAssetProxyId(AssetProxyId.ERC20V1); const encodedAddress = encodeAddress(tokenAddress); const encodedMetadata = Buffer.concat([encodedAssetProxyId, encodedAddress]); const encodedMetadataHex = ethUtil.bufferToHex(encodedMetadata); diff --git a/packages/contracts/src/utils/types.ts b/packages/contracts/src/utils/types.ts index 8cfde8a07..f51dd5a1d 100644 --- a/packages/contracts/src/utils/types.ts +++ b/packages/contracts/src/utils/types.ts @@ -39,7 +39,7 @@ export interface CancelOrdersBefore { export enum AssetProxyId { INVALID, - ERC20_V1, + ERC20V1, ERC20, ERC721, } @@ -111,7 +111,7 @@ export enum ContractName { Arbitrage = 'Arbitrage', AssetProxyDispatcher = 'AssetProxyDispatcher', ERC20Proxy = 'ERC20Proxy', - ERC20Proxy_V1 = 'ERC20Proxy_v1', + ERC20V1Proxy = 'ERC20Proxy_v1', ERC721Proxy = 'ERC721Proxy', DummyERC721Token = 'DummyERC721Token', } -- cgit v1.2.3