aboutsummaryrefslogtreecommitdiffstats
path: root/packages/fill-scenarios
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-18 21:18:54 +0800
committerGitHub <noreply@github.com>2018-07-18 21:18:54 +0800
commite2fb49a8f871fd4b631bb01bb641c632b7c19435 (patch)
tree6a04c7686159cfa80435e47e08ceb08533c0dd77 /packages/fill-scenarios
parentf3241ff86a0d99f4291c5a5f4eaaa5ebe1736da0 (diff)
parentb9e7973a0f92661f2e469b748a162b0d3bb53624 (diff)
downloaddexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.gz
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.bz2
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.lz
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.xz
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.tar.zst
dexon-sol-tools-e2fb49a8f871fd4b631bb01bb641c632b7c19435.zip
Merge pull request #884 from 0xProject/export-more-0x.js
Export missing V2 pieces from 0x.js
Diffstat (limited to 'packages/fill-scenarios')
-rw-r--r--packages/fill-scenarios/src/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/fill-scenarios/src/index.ts b/packages/fill-scenarios/src/index.ts
index 3ffcb3aa9..f4d085b68 100644
--- a/packages/fill-scenarios/src/index.ts
+++ b/packages/fill-scenarios/src/index.ts
@@ -1,4 +1,4 @@
-import { assetProxyUtils, orderFactory } from '@0xproject/order-utils';
+import { assetDataUtils, orderFactory } from '@0xproject/order-utils';
import { OrderWithoutExchangeAddress, SignedOrder } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
import { Web3Wrapper } from '@0xproject/web3-wrapper';
@@ -146,9 +146,9 @@ export class FillScenarios {
feeRecepientAddress: string,
expirationTimeSeconds?: BigNumber,
): Promise<SignedOrder> {
- const makerERC20AssetData = assetProxyUtils.decodeERC20AssetData(makerAssetData);
+ const makerERC20AssetData = assetDataUtils.decodeERC20AssetData(makerAssetData);
const makerTokenAddress = makerERC20AssetData.tokenAddress;
- const takerERC20AssetData = assetProxyUtils.decodeERC20AssetData(takerAssetData);
+ const takerERC20AssetData = assetDataUtils.decodeERC20AssetData(takerAssetData);
const takerTokenAddress = takerERC20AssetData.tokenAddress;
await Promise.all([
this._increaseERC20BalanceAndAllowanceAsync(makerTokenAddress, makerAddress, makerFillableAmount),