diff options
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/utils/asset_proxy_utils.ts | 2 | ||||
-rw-r--r-- | packages/contracts/src/utils/types.ts | 4 |
2 files changed, 3 insertions, 3 deletions
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', } |