diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-09-20 02:25:46 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 06:23:32 +0800 |
commit | 2b7f94c00f7fd38cfaa50540c6bef8237306c064 (patch) | |
tree | bb759b1161d3bc8a12382dce6814b3d2cf26dd0a /packages/pipeline/src/index.ts | |
parent | cd73a047efbc1b7afa884ef27a1cc4991e20efd8 (diff) | |
download | dexon-0x-contracts-2b7f94c00f7fd38cfaa50540c6bef8237306c064.tar dexon-0x-contracts-2b7f94c00f7fd38cfaa50540c6bef8237306c064.tar.gz dexon-0x-contracts-2b7f94c00f7fd38cfaa50540c6bef8237306c064.tar.bz2 dexon-0x-contracts-2b7f94c00f7fd38cfaa50540c6bef8237306c064.tar.lz dexon-0x-contracts-2b7f94c00f7fd38cfaa50540c6bef8237306c064.tar.xz dexon-0x-contracts-2b7f94c00f7fd38cfaa50540c6bef8237306c064.tar.zst dexon-0x-contracts-2b7f94c00f7fd38cfaa50540c6bef8237306c064.zip |
Restructure pipeline package. Create data-sources dir
Diffstat (limited to 'packages/pipeline/src/index.ts')
-rw-r--r-- | packages/pipeline/src/index.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/pipeline/src/index.ts b/packages/pipeline/src/index.ts new file mode 100644 index 000000000..c9254cc2a --- /dev/null +++ b/packages/pipeline/src/index.ts @@ -0,0 +1,8 @@ +import { Etherscan } from './data-sources/etherscan'; + +const etherscan = new Etherscan(process.env.ETHERSCAN_API_KEY as string); + +(async () => { + const events = await etherscan.getContractEventsAsync('0x4f833a24e1f95d70f028921e27040ca56e09ab0b'); + console.log(events); +})(); |