forked from cerc-io/ipld-eth-server
Implement SingleTransformerConfig
This commit is contained in:
@@ -36,6 +36,15 @@ type TransformerConfig struct {
|
||||
EndingBlockNumber int64
|
||||
}
|
||||
|
||||
type SingleTransformerConfig struct {
|
||||
TransformerName string
|
||||
ContractAddresses []string
|
||||
ContractAbi string
|
||||
Topic string
|
||||
StartingBlockNumber int64
|
||||
EndingBlockNumber int64
|
||||
}
|
||||
|
||||
func HexToInt64(byteString string) int64 {
|
||||
value := common.HexToHash(byteString)
|
||||
return value.Big().Int64()
|
||||
|
||||
Reference in New Issue
Block a user