Generic watcher that takes a contract address, grabs the contract abi and starting block number, creates custom event filters, and extracts and transforms event data into postgres. Can configure to look at only a subset of events through CLI flag. Building but needs testing.

This commit is contained in:
Ian Norden
2018-11-03 14:00:25 -05:00
parent 57820ff473
commit 8ce75fe5ad
13 changed files with 1011 additions and 1 deletions
+4
View File
@@ -32,6 +32,10 @@ var (
startingBlockNumber int64
syncAll bool
endingBlockNumber int64
network string
contractAddress string
contractAddresses []string
contractEvents []string
)
var rootCmd = &cobra.Command{