aboutsummaryrefslogtreecommitdiffstats
path: root/packages/fill-scenarios/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fill-scenarios/src/index.ts')
-rw-r--r--packages/fill-scenarios/src/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/fill-scenarios/src/index.ts b/packages/fill-scenarios/src/index.ts
index dc877a0fd..038826af2 100644
--- a/packages/fill-scenarios/src/index.ts
+++ b/packages/fill-scenarios/src/index.ts
@@ -169,10 +169,10 @@ export class FillScenarios {
feeRecepientAddress: string,
expirationTimeSeconds?: BigNumber,
): Promise<SignedOrder> {
- const makerERC20ProxyData = assetProxyUtils.decodeERC20ProxyData(makerAssetData);
- const makerTokenAddress = makerERC20ProxyData.tokenAddress;
- const takerERC20ProxyData = assetProxyUtils.decodeERC20ProxyData(takerAssetData);
- const takerTokenAddress = takerERC20ProxyData.tokenAddress;
+ const makerERC20AssetData = assetProxyUtils.decodeERC20AssetData(makerAssetData);
+ const makerTokenAddress = makerERC20AssetData.tokenAddress;
+ const takerERC20AssetData = assetProxyUtils.decodeERC20AssetData(takerAssetData);
+ const takerTokenAddress = takerERC20AssetData.tokenAddress;
await Promise.all([
this._increaseERC20BalanceAndAllowanceAsync(makerTokenAddress, makerAddress, makerFillableAmount),
this._increaseERC20BalanceAndAllowanceAsync(takerTokenAddress, takerAddress, takerFillableAmount),