diff options
author | Kadinsky <kandinsky454@protonmail.ch> | 2018-10-16 21:21:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 21:21:46 +0800 |
commit | e62458705039f6a187ff23e4e4ee1737476eb431 (patch) | |
tree | 27497ebaf0e7da27561620b28b28cc30833261fc /packages/asset-buyer/src/asset_buyer.ts | |
parent | 05bf7a8280bcb46144dfef9b30bb7c0e2e4a15aa (diff) | |
parent | 5938e8a52daa913668593977e44ca25e38a29e41 (diff) | |
download | dexon-0x-contracts-e62458705039f6a187ff23e4e4ee1737476eb431.tar.gz dexon-0x-contracts-e62458705039f6a187ff23e4e4ee1737476eb431.tar.zst dexon-0x-contracts-e62458705039f6a187ff23e4e4ee1737476eb431.zip |
Merge pull request #1105 from 0xProject/feature/contracts-artifacts-re-org
Reorganize and modularize generated contract wrappers and artifacts
Diffstat (limited to 'packages/asset-buyer/src/asset_buyer.ts')
-rw-r--r-- | packages/asset-buyer/src/asset_buyer.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/asset-buyer/src/asset_buyer.ts b/packages/asset-buyer/src/asset_buyer.ts index 50343efde..4739e5a29 100644 --- a/packages/asset-buyer/src/asset_buyer.ts +++ b/packages/asset-buyer/src/asset_buyer.ts @@ -283,13 +283,13 @@ export class AssetBuyer { * Will throw if WETH does not exist for the current network. */ private _getEtherTokenAssetDataOrThrow(): string { - return assetDataUtils.getEtherTokenAssetDataOrThrow(this._contractWrappers); + return assetDataUtils.getEtherTokenAssetData(this._contractWrappers); } /** * Get the assetData that represents the ZRX token. * Will throw if ZRX does not exist for the current network. */ private _getZrxTokenAssetDataOrThrow(): string { - return assetDataUtils.getZrxTokenAssetDataOrThrow(this._contractWrappers); + return this._contractWrappers.exchange.getZRXAssetData(); } } |