aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-13 09:36:33 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 19:04:25 +0800
commitb818a62d745b2e91a8808ded9bac279d2dbf8a7e (patch)
treeda2a095d1ee14ea7e1226de8911a5c323229be07 /packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts
parente69cdfb7b5b0b4c7517d5439d45888702c6a1b71 (diff)
downloaddexon-sol-tools-b818a62d745b2e91a8808ded9bac279d2dbf8a7e.tar.gz
dexon-sol-tools-b818a62d745b2e91a8808ded9bac279d2dbf8a7e.tar.zst
dexon-sol-tools-b818a62d745b2e91a8808ded9bac279d2dbf8a7e.zip
Configure linter with --format stylish and fix linter errors
Diffstat (limited to 'packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts')
-rw-r--r--packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts b/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts
index 5ce8381cd..e25c6a731 100644
--- a/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts
+++ b/packages/pipeline/src/data_sources/contract-wrappers/exchange_events.ts
@@ -8,8 +8,8 @@ const NUM_BLOCKS_PER_QUERY = 100000; // Number of blocks to query for events at
const EXCHANGE_START_BLOCK = 6271590; // Block number when the Exchange contract was deployed to mainnet.
export class ExchangeEventsSource {
- private _exchangeWrapper: ExchangeWrapper;
- private _web3Wrapper: Web3Wrapper;
+ private readonly _exchangeWrapper: ExchangeWrapper;
+ private readonly _web3Wrapper: Web3Wrapper;
constructor(provider: Web3ProviderEngine, networkId: number) {
this._web3Wrapper = new Web3Wrapper(provider);
const contractWrappers = new ContractWrappers(provider, { networkId });