Documentation ¶
Index ¶
- func HexStringsToAddresses(strings []string) (addresses []common.Address)
- func HexToInt64(byteString string) int64
- func HexToString(byteString string) string
- type ContractTransformer
- type ContractTransformerInitializer
- type EventTransformer
- type EventTransformerConfig
- type EventTransformerInitializer
- type StorageTransformer
- type StorageTransformerInitializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HexStringsToAddresses ¶
func HexToInt64 ¶
func HexToString ¶
Types ¶
type ContractTransformer ¶
type ContractTransformer interface { Init() error Execute() error GetConfig() config.ContractConfig }
type ContractTransformerInitializer ¶
type ContractTransformerInitializer func(db *postgres.DB, bc core.BlockChain) ContractTransformer
type EventTransformer ¶
type EventTransformer interface { Execute(logs []core.HeaderSyncLog) error GetConfig() EventTransformerConfig }
type EventTransformerConfig ¶
type EventTransformerInitializer ¶
type EventTransformerInitializer func(db *postgres.DB) EventTransformer
type StorageTransformer ¶
type StorageTransformer interface { Execute(diff utils.StorageDiff) error KeccakContractAddress() common.Hash }
type StorageTransformerInitializer ¶
type StorageTransformerInitializer func(db *postgres.DB) StorageTransformer
Click to show internal directories.
Click to hide internal directories.