beginning work on method polling; first need to generate list of token holder address in a completely generic/contratc agnostic fashion. Created address retriever that can iterate through any given contract's watched events, finding the inputs/arguments with address type, and generate a list from those values. Edit: Contract objects now cache every event emitted address as its event logs are transformed into the repo to grow a list of contract associated addresses as we go
This commit is contained in:
@@ -35,6 +35,8 @@ var (
|
||||
network string
|
||||
contractAddress string
|
||||
contractAddresses []string
|
||||
eventsOn bool
|
||||
methodsOn bool
|
||||
contractEvents []string
|
||||
contractMethods []string
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user