aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-19 21:27:48 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-20 21:01:59 +0800
commite92d6ff84f781005eb01cc5e82eed29a244c9ee8 (patch)
treed20d2e5f8cbaf1a95c86ebd079fd92e41a08ce20 /packages/0x.js/src/contract_wrappers
parent0056c66d324ca4d8cee82a84ff64b4832ea360f9 (diff)
downloaddexon-0x-contracts-e92d6ff84f781005eb01cc5e82eed29a244c9ee8.tar.gz
dexon-0x-contracts-e92d6ff84f781005eb01cc5e82eed29a244c9ee8.tar.zst
dexon-0x-contracts-e92d6ff84f781005eb01cc5e82eed29a244c9ee8.zip
Add EtherToken events to the ABI
Diffstat (limited to 'packages/0x.js/src/contract_wrappers')
-rw-r--r--packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts b/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
index 1edc50cb0..b1d5a0ccc 100644
--- a/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/ether_token_wrapper.ts
@@ -104,7 +104,7 @@ export class EtherTokenWrapper extends ContractWrapper {
assert.doesConformToSchema('blockRange', blockRange, schemas.blockRangeSchema);
assert.doesConformToSchema('indexFilterValues', indexFilterValues, schemas.indexFilterValuesSchema);
const logs = await this._getLogsAsync<ArgsType>(
- etherTokenAddress, eventName, blockRange, indexFilterValues, artifacts.TokenArtifact.abi,
+ etherTokenAddress, eventName, blockRange, indexFilterValues, artifacts.EtherTokenArtifact.abi,
);
return logs;
}
@@ -125,7 +125,7 @@ export class EtherTokenWrapper extends ContractWrapper {
assert.doesConformToSchema('indexFilterValues', indexFilterValues, schemas.indexFilterValuesSchema);
assert.isFunction('callback', callback);
const subscriptionToken = this._subscribe<ArgsType>(
- etherTokenAddress, eventName, indexFilterValues, artifacts.TokenArtifact.abi, callback,
+ etherTokenAddress, eventName, indexFilterValues, artifacts.EtherTokenArtifact.abi, callback,
);
return subscriptionToken;
}