diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-20 01:51:12 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:23:29 +0800 |
commit | cd73a047efbc1b7afa884ef27a1cc4991e20efd8 (patch) | |
tree | 4355fd034ec22a5e5412aca1876ee09a9d848eb4 /packages/pipeline/src/zrx.ts | |
parent | 57e7119c0d4f1ab7dd1d4c0118e72dc1706e2151 (diff) | |
download | dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.gz dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.bz2 dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.lz dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.xz dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.zst dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.zip |
Remove old code. Create function for getting contract events via etherscan
Diffstat (limited to 'packages/pipeline/src/zrx.ts')
-rw-r--r-- | packages/pipeline/src/zrx.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/packages/pipeline/src/zrx.ts b/packages/pipeline/src/zrx.ts deleted file mode 100644 index cbe10a55a..000000000 --- a/packages/pipeline/src/zrx.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { ExchangeEvents, ZeroEx } from '0x.js'; -import * as dotenv from 'dotenv'; -import * as Web3 from 'web3'; -dotenv.config(); -const provider = new Web3.providers.HttpProvider(process.env.WEB3_PROVIDER_URL); -const web3 = new Web3(provider); -const MAINNET = 1; -const zrx = new ZeroEx(provider, { - networkId: MAINNET, -}); -export { web3, zrx }; |