aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/models/block.ts
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-09-20 01:51:12 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 19:03:11 +0800
commitd1026a64ba670a7c46ff3015cf907aee5a562de8 (patch)
tree41c88864dd296d0fb1e5c4edac94ac876e5d046f /packages/pipeline/src/models/block.ts
parentdda44500c52a4b72f6a27fb2384a3f43100a1b26 (diff)
downloaddexon-sol-tools-d1026a64ba670a7c46ff3015cf907aee5a562de8.tar
dexon-sol-tools-d1026a64ba670a7c46ff3015cf907aee5a562de8.tar.gz
dexon-sol-tools-d1026a64ba670a7c46ff3015cf907aee5a562de8.tar.bz2
dexon-sol-tools-d1026a64ba670a7c46ff3015cf907aee5a562de8.tar.lz
dexon-sol-tools-d1026a64ba670a7c46ff3015cf907aee5a562de8.tar.xz
dexon-sol-tools-d1026a64ba670a7c46ff3015cf907aee5a562de8.tar.zst
dexon-sol-tools-d1026a64ba670a7c46ff3015cf907aee5a562de8.zip
Remove old code. Create function for getting contract events via etherscan
Diffstat (limited to 'packages/pipeline/src/models/block.ts')
-rw-r--r--packages/pipeline/src/models/block.ts22
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/pipeline/src/models/block.ts b/packages/pipeline/src/models/block.ts
deleted file mode 100644
index a81cdb293..000000000
--- a/packages/pipeline/src/models/block.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-const block = {
- tableName: 'blocks',
- tableProperties: {
- id: {
- type: 'key',
- },
- timestamp: {
- type: 'timestamp',
- required: true,
- },
- block_number: {
- type: 'bigint',
- required: true,
- },
- },
-};
-const logToBlockSchemaMapping: any = {
- number: 'block_number',
- hash: 'block_hash',
- timestamp: 'timestamp',
-};
-export { block, logToBlockSchemaMapping };