Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GenericTestConfig = transformer.EventTransformerConfig{ TransformerName: "generic-test-transformer", ContractAddresses: []string{fakeAddress().Hex()}, ContractAbi: randomString(100), Topic: topic0, StartingBlockNumber: startingBlockNumber, EndingBlockNumber: startingBlockNumber + 1, }
View Source
var GenericTestLog = func() types.Log { return types.Log{ Address: fakeAddress(), Topics: []common.Hash{common.HexToHash(topic0), fakeHash()}, Data: hexutil.MustDecode(fakeHash().Hex()), BlockNumber: uint64(startingBlockNumber), TxHash: fakeHash(), TxIndex: uint(rand.Int31()), BlockHash: fakeHash(), Index: uint(rand.Int31()), } }
Functions ¶
This section is empty.
Types ¶
type GenericEntity ¶
type GenericEntity struct{}
type GenericModel ¶
type GenericModel struct{}
Click to show internal directories.
Click to hide internal directories.