aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-16 23:58:24 +0800
committerFabio Berger <me@fabioberger.com>2018-10-16 23:58:24 +0800
commitc333d093b585fa0250a6973f2d396eb3cf227334 (patch)
treea00b3d77fb78c744ee0fee2b57ef25ce775b087d /packages/testnet-faucets/src/ts
parent1cfcc82ea9869e14c1a1b78e1376c89fdbeb91f4 (diff)
parent72f5719b3412da7840a7b85e4dce512ecbaece4d (diff)
downloaddexon-sol-tools-c333d093b585fa0250a6973f2d396eb3cf227334.tar
dexon-sol-tools-c333d093b585fa0250a6973f2d396eb3cf227334.tar.gz
dexon-sol-tools-c333d093b585fa0250a6973f2d396eb3cf227334.tar.bz2
dexon-sol-tools-c333d093b585fa0250a6973f2d396eb3cf227334.tar.lz
dexon-sol-tools-c333d093b585fa0250a6973f2d396eb3cf227334.tar.xz
dexon-sol-tools-c333d093b585fa0250a6973f2d396eb3cf227334.tar.zst
dexon-sol-tools-c333d093b585fa0250a6973f2d396eb3cf227334.zip
merge development
Diffstat (limited to 'packages/testnet-faucets/src/ts')
-rw-r--r--packages/testnet-faucets/src/ts/handler.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/testnet-faucets/src/ts/handler.ts b/packages/testnet-faucets/src/ts/handler.ts
index be42ebde8..5cc52e489 100644
--- a/packages/testnet-faucets/src/ts/handler.ts
+++ b/packages/testnet-faucets/src/ts/handler.ts
@@ -65,7 +65,10 @@ export class Handler {
const web3Wrapper = new Web3Wrapper(providerObj);
// tslint:disable-next-line:custom-no-magic-numbers
const networkId = parseInt(networkIdString, 10);
- const contractWrappers = new ContractWrappers(providerObj, { networkId });
+ const contractWrappersConfig = {
+ networkId,
+ };
+ const contractWrappers = new ContractWrappers(providerObj, contractWrappersConfig);
const dispatchQueue = new DispatchQueue();
this._networkConfigByNetworkId[networkId] = {
dispatchQueue,
@@ -172,7 +175,7 @@ export class Handler {
makerAssetData,
takerAssetData,
salt: generatePseudoRandomSalt(),
- exchangeAddress: networkConfig.contractWrappers.exchange.getContractAddress(),
+ exchangeAddress: networkConfig.contractWrappers.exchange.address,
feeRecipientAddress: NULL_ADDRESS,
senderAddress: NULL_ADDRESS,
// tslint:disable-next-line:custom-no-magic-numbers