aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-31 10:43:44 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-31 15:11:29 +0800
commitbc93ff0cb5c846fcb534f90b93e54bba0747f562 (patch)
tree17130dce53b94cfe992332ae7e44c0ac82349197 /packages/contract-wrappers/src
parent44498f2263ccfec805a6815a1ab673e2dd423e8d (diff)
downloaddexon-sol-tools-bc93ff0cb5c846fcb534f90b93e54bba0747f562.tar
dexon-sol-tools-bc93ff0cb5c846fcb534f90b93e54bba0747f562.tar.gz
dexon-sol-tools-bc93ff0cb5c846fcb534f90b93e54bba0747f562.tar.bz2
dexon-sol-tools-bc93ff0cb5c846fcb534f90b93e54bba0747f562.tar.lz
dexon-sol-tools-bc93ff0cb5c846fcb534f90b93e54bba0747f562.tar.xz
dexon-sol-tools-bc93ff0cb5c846fcb534f90b93e54bba0747f562.tar.zst
dexon-sol-tools-bc93ff0cb5c846fcb534f90b93e54bba0747f562.zip
Write initial test for forwarder_wrapper
Diffstat (limited to 'packages/contract-wrappers/src')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts b/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts
index 56533fb78..db1e5390a 100644
--- a/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts
+++ b/packages/contract-wrappers/src/contract_wrappers/forwarder_wrapper.ts
@@ -62,8 +62,8 @@ export class ForwarderWrapper extends ContractWrapper {
assert.doesConformToSchema('txOpts', txOpts, txOptsSchema);
const normalizedTakerAddress = takerAddress.toLowerCase();
const normalizedFeeRecipientAddress = feeRecipientAddress.toLowerCase();
- const ForwarderContractInstance = await this._getForwarderContractAsync();
- const txHash = await ForwarderContractInstance.marketSellOrdersWithEth.sendTransactionAsync(
+ const forwarderContractInstance = await this._getForwarderContractAsync();
+ const txHash = await forwarderContractInstance.marketSellOrdersWithEth.sendTransactionAsync(
signedOrders,
_.map(signedOrders, order => order.signature),
signedFeeOrders,
@@ -117,8 +117,8 @@ export class ForwarderWrapper extends ContractWrapper {
assert.doesConformToSchema('txOpts', txOpts, txOptsSchema);
const normalizedTakerAddress = takerAddress.toLowerCase();
const normalizedFeeRecipientAddress = feeRecipientAddress.toLowerCase();
- const ForwarderContractInstance = await this._getForwarderContractAsync();
- const txHash = await ForwarderContractInstance.marketBuyOrdersWithEth.sendTransactionAsync(
+ const forwarderContractInstance = await this._getForwarderContractAsync();
+ const txHash = await forwarderContractInstance.marketBuyOrdersWithEth.sendTransactionAsync(
signedOrders,
makerAssetFillAmount,
_.map(signedOrders, order => order.signature),