diff options
author | Fabio Berger <me@fabioberger.com> | 2017-06-03 00:34:24 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-06-03 00:34:24 +0800 |
commit | 0c98f4c754a6a3aceeaf93f40ee431850a28c7e9 (patch) | |
tree | 53f569617f061273b70460c1a57279716d412b73 /test/utils/fill_scenarios.ts | |
parent | 3551f0791408a5c91f357130740cb81f72b59f9f (diff) | |
parent | cc6b27cbb179de3e5ac124bfddac63f66e16737a (diff) | |
download | dexon-sol-tools-0c98f4c754a6a3aceeaf93f40ee431850a28c7e9.tar dexon-sol-tools-0c98f4c754a6a3aceeaf93f40ee431850a28c7e9.tar.gz dexon-sol-tools-0c98f4c754a6a3aceeaf93f40ee431850a28c7e9.tar.bz2 dexon-sol-tools-0c98f4c754a6a3aceeaf93f40ee431850a28c7e9.tar.lz dexon-sol-tools-0c98f4c754a6a3aceeaf93f40ee431850a28c7e9.tar.xz dexon-sol-tools-0c98f4c754a6a3aceeaf93f40ee431850a28c7e9.tar.zst dexon-sol-tools-0c98f4c754a6a3aceeaf93f40ee431850a28c7e9.zip |
Merge branch 'fillOrderAsync' of github.com:0xProject/0x.js into fillOrderAsync
Diffstat (limited to 'test/utils/fill_scenarios.ts')
-rw-r--r-- | test/utils/fill_scenarios.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/utils/fill_scenarios.ts b/test/utils/fill_scenarios.ts index 8260b76ab..f95b06663 100644 --- a/test/utils/fill_scenarios.ts +++ b/test/utils/fill_scenarios.ts @@ -22,7 +22,7 @@ export class FillScenarios { fillableAmount: BigNumber.BigNumber, expirationUnixTimestampSec?: BigNumber.BigNumber): Promise<SignedOrder> { - return this.createAsymetricFillableSignedOrderAsync( + return this.createAsymmetricFillableSignedOrderAsync( makerTokenAddress, takerTokenAddress, makerAddress, takerAddress, fillableAmount, fillableAmount, expirationUnixTimestampSec, ); @@ -34,24 +34,24 @@ export class FillScenarios { fillableAmount: BigNumber.BigNumber, feeRecepient: string, expirationUnixTimestampSec?: BigNumber.BigNumber, ): Promise<SignedOrder> { - return this.createAsymetricFillableSignedOrderWithFeesAsync( + return this.createAsymmetricFillableSignedOrderWithFeesAsync( makerTokenAddress, takerTokenAddress, makerFee, takerFee, makerAddress, takerAddress, fillableAmount, fillableAmount, feeRecepient, expirationUnixTimestampSec, ); } - public async createAsymetricFillableSignedOrderAsync( + public async createAsymmetricFillableSignedOrderAsync( makerTokenAddress: string, takerTokenAddress: string, makerAddress: string, takerAddress: string, makerFillableAmount: BigNumber.BigNumber, takerFillableAmount: BigNumber.BigNumber, expirationUnixTimestampSec?: BigNumber.BigNumber): Promise<SignedOrder> { const makerFee = new BigNumber(0); const takerFee = new BigNumber(0); const feeRecepient = constants.NULL_ADDRESS; - return this.createAsymetricFillableSignedOrderWithFeesAsync( + return this.createAsymmetricFillableSignedOrderWithFeesAsync( makerTokenAddress, takerTokenAddress, makerFee, takerFee, makerAddress, takerAddress, makerFillableAmount, takerFillableAmount, feeRecepient, expirationUnixTimestampSec, ); } - private async createAsymetricFillableSignedOrderWithFeesAsync( + private async createAsymmetricFillableSignedOrderWithFeesAsync( makerTokenAddress: string, takerTokenAddress: string, makerFee: BigNumber.BigNumber, takerFee: BigNumber.BigNumber, makerAddress: string, takerAddress: string, |