aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-09-26 17:55:07 +0800
committerFabio Berger <me@fabioberger.com>2017-09-26 17:55:07 +0800
commitd3f729dd7197b9c6c64c41740803a73488977ebc (patch)
tree54372d978994f1b1d2e1834ad47b404e686c4cb3 /src/contract_wrappers
parent9effd572298a9e758078c512eabacc4573524efe (diff)
downloaddexon-sol-tools-d3f729dd7197b9c6c64c41740803a73488977ebc.tar
dexon-sol-tools-d3f729dd7197b9c6c64c41740803a73488977ebc.tar.gz
dexon-sol-tools-d3f729dd7197b9c6c64c41740803a73488977ebc.tar.bz2
dexon-sol-tools-d3f729dd7197b9c6c64c41740803a73488977ebc.tar.lz
dexon-sol-tools-d3f729dd7197b9c6c64c41740803a73488977ebc.tar.xz
dexon-sol-tools-d3f729dd7197b9c6c64c41740803a73488977ebc.tar.zst
dexon-sol-tools-d3f729dd7197b9c6c64c41740803a73488977ebc.zip
rename validateOrderFillableThrowIfNotFillableAsync to validateOrderFillableOrThrowAsync
Diffstat (limited to 'src/contract_wrappers')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index b56431082..a53d33ca9 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -632,13 +632,13 @@ export class ExchangeWrapper extends ContractWrapper {
* interface. Allows specifying a specific fillTakerTokenAmount
* to validate for.
*/
- public async validateOrderFillableThrowIfNotFillableAsync(
+ public async validateOrderFillableOrThrowAsync(
signedOrder: SignedOrder, opts: ValidateOrderFillableOpts,
): Promise<void> {
assert.doesConformToSchema('signedOrder', signedOrder, schemas.signedOrderSchema);
const zrxTokenAddress = await this._getZRXTokenAddressAsync();
const expectedFillTakerTokenAmount = !_.isUndefined(opts) ? opts.expectedFillTakerTokenAmount : undefined;
- await this._orderValidationUtils.validateOrderFillableThrowIfNotFillableAsync(
+ await this._orderValidationUtils.validateOrderFillableOrThrowAsync(
signedOrder, zrxTokenAddress, expectedFillTakerTokenAmount,
);
}