diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 10:12:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-14 10:12:31 +0800 |
commit | 682fbd3b76faf8a5a84490fe53af7e0744c578c6 (patch) | |
tree | f76ab86ece2c182eee20cfff43d27ceb0909c1e2 /packages/0x.js/src/contract_wrappers | |
parent | 08963f269b543d0f6f125ff77efdda23339865ed (diff) | |
parent | 8de64c94950584b2b764394a749f63bcabe9219b (diff) | |
download | dexon-sol-tools-682fbd3b76faf8a5a84490fe53af7e0744c578c6.tar dexon-sol-tools-682fbd3b76faf8a5a84490fe53af7e0744c578c6.tar.gz dexon-sol-tools-682fbd3b76faf8a5a84490fe53af7e0744c578c6.tar.bz2 dexon-sol-tools-682fbd3b76faf8a5a84490fe53af7e0744c578c6.tar.lz dexon-sol-tools-682fbd3b76faf8a5a84490fe53af7e0744c578c6.tar.xz dexon-sol-tools-682fbd3b76faf8a5a84490fe53af7e0744c578c6.tar.zst dexon-sol-tools-682fbd3b76faf8a5a84490fe53af7e0744c578c6.zip |
Merge pull request #217 from dekz/fixCancelledNaming2
Standardise on Cancelled over canceled
Diffstat (limited to 'packages/0x.js/src/contract_wrappers')
-rw-r--r-- | packages/0x.js/src/contract_wrappers/exchange_wrapper.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts index 654637a38..5acfd3cc9 100644 --- a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts @@ -95,7 +95,7 @@ export class ExchangeWrapper extends ContractWrapper { * @param orderHash The hex encoded orderHash for which you would like to retrieve the * unavailable takerAmount. * @param methodOpts Optional arguments this method accepts. - * @return The amount of the order (in taker tokens) that has either been filled or canceled. + * @return The amount of the order (in taker tokens) that has either been filled or cancelled. */ public async getUnavailableTakerAmountAsync(orderHash: string, methodOpts?: MethodOpts): Promise<BigNumber> { @@ -133,7 +133,7 @@ export class ExchangeWrapper extends ContractWrapper { * @param methodOpts Optional arguments this method accepts. * @return The amount of the order (in taker tokens) that has been cancelled. */ - public async getCanceledTakerAmountAsync(orderHash: string, methodOpts?: MethodOpts): Promise<BigNumber> { + public async getCancelledTakerAmountAsync(orderHash: string, methodOpts?: MethodOpts): Promise<BigNumber> { assert.doesConformToSchema('orderHash', orderHash, schemas.orderHashSchema); const exchangeContract = await this._getExchangeContractAsync(); |