diff options
author | Jacob Evans <jacob@dekz.net> | 2017-11-14 01:54:31 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2017-11-14 05:35:37 +0800 |
commit | b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5 (patch) | |
tree | 9b8a6b8a0b7748f7053ad7afcf0ac53cb5a24320 /packages/0x.js/src/contract_wrappers | |
parent | c088d9ddd95d1c10025bee75a91a65f8479db277 (diff) | |
download | dexon-sol-tools-b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5.tar dexon-sol-tools-b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5.tar.gz dexon-sol-tools-b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5.tar.bz2 dexon-sol-tools-b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5.tar.lz dexon-sol-tools-b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5.tar.xz dexon-sol-tools-b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5.tar.zst dexon-sol-tools-b1b473d3cb73323bc879d8a7e8ac11e3cd13c8b5.zip |
Renamed canceled to cancelled
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(); |