Documentation ¶
Index ¶
- func GetFlapKickConfig() shared_t.EventTransformerConfig
- type FlapKickConverter
- type FlapKickEntity
- type FlapKickModel
- type FlapKickRepository
- func (repository *FlapKickRepository) Create(headerID int64, models []interface{}) error
- func (repository *FlapKickRepository) MarkHeaderChecked(headerID int64) error
- func (repository FlapKickRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
- func (repository FlapKickRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
- func (repository *FlapKickRepository) SetDB(db *postgres.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFlapKickConfig ¶
func GetFlapKickConfig() shared_t.EventTransformerConfig
Types ¶
type FlapKickConverter ¶
type FlapKickConverter struct { }
func (FlapKickConverter) ToEntities ¶
func (FlapKickConverter) ToEntities(contractAbi string, ethLogs []types.Log) ([]interface{}, error)
func (FlapKickConverter) ToModels ¶
func (FlapKickConverter) ToModels(entities []interface{}) ([]interface{}, error)
type FlapKickEntity ¶
type FlapKickModel ¶
type FlapKickRepository ¶
type FlapKickRepository struct {
// contains filtered or unexported fields
}
func (*FlapKickRepository) Create ¶
func (repository *FlapKickRepository) Create(headerID int64, models []interface{}) error
func (*FlapKickRepository) MarkHeaderChecked ¶
func (repository *FlapKickRepository) MarkHeaderChecked(headerID int64) error
func (FlapKickRepository) MissingHeaders ¶
func (repository FlapKickRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
func (FlapKickRepository) RecheckHeaders ¶
func (repository FlapKickRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
func (*FlapKickRepository) SetDB ¶
func (repository *FlapKickRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.