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