diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-09-21 21:58:04 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-09-21 21:58:04 +0800 |
commit | c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e (patch) | |
tree | c1fe70d472f4e8df391d2a1f686beb835b03a2b0 /packages/asset-buyer/src/utils/assert.ts | |
parent | 8dea48ebeff775f7437c45f5a6d39dfc7dbf704e (diff) | |
download | dexon-0x-contracts-c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e.tar dexon-0x-contracts-c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e.tar.gz dexon-0x-contracts-c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e.tar.bz2 dexon-0x-contracts-c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e.tar.lz dexon-0x-contracts-c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e.tar.xz dexon-0x-contracts-c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e.tar.zst dexon-0x-contracts-c64dcec772d8f5bfa7a32c5e60bfe808229d4d5e.zip |
More renaming
Diffstat (limited to 'packages/asset-buyer/src/utils/assert.ts')
-rw-r--r-- | packages/asset-buyer/src/utils/assert.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/asset-buyer/src/utils/assert.ts b/packages/asset-buyer/src/utils/assert.ts index 1d57ae9b8..2c3426894 100644 --- a/packages/asset-buyer/src/utils/assert.ts +++ b/packages/asset-buyer/src/utils/assert.ts @@ -18,10 +18,10 @@ export const assert = { sharedAssert.isNumber(`${variableName}.feePercentage`, buyQuote.feePercentage); } }, - isValidOrderFetcher(variableName: string, orderFetcher: OrderProvider): void { + isValidOrderProvider(variableName: string, orderFetcher: OrderProvider): void { sharedAssert.isFunction(`${variableName}.fetchOrdersAsync`, orderFetcher.getOrdersAsync); }, - isValidOrderFetcherRequest(variableName: string, orderFetcherRequest: OrderProviderRequest): void { + isValidOrderProviderRequest(variableName: string, orderFetcherRequest: OrderProviderRequest): void { sharedAssert.isHexString(`${variableName}.makerAssetData`, orderFetcherRequest.makerAssetData); sharedAssert.isHexString(`${variableName}.takerAssetData`, orderFetcherRequest.takerAssetData); sharedAssert.isNumber(`${variableName}.networkId`, orderFetcherRequest.networkId); |