Documentation ¶
Index ¶
- func GetDealConfig() shared_t.EventTransformerConfig
- type DealConverter
- type DealModel
- type DealRepository
- func (repository DealRepository) Create(headerID int64, models []interface{}) error
- func (repository DealRepository) MarkHeaderChecked(headerID int64) error
- func (repository DealRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
- func (repository DealRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
- func (repository *DealRepository) SetDB(db *postgres.DB)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDealConfig ¶
func GetDealConfig() shared_t.EventTransformerConfig
Types ¶
type DealConverter ¶
type DealConverter struct{}
type DealRepository ¶
type DealRepository struct {
// contains filtered or unexported fields
}
func (DealRepository) Create ¶
func (repository DealRepository) Create(headerID int64, models []interface{}) error
func (DealRepository) MarkHeaderChecked ¶
func (repository DealRepository) MarkHeaderChecked(headerID int64) error
func (DealRepository) MissingHeaders ¶
func (repository DealRepository) MissingHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
func (DealRepository) RecheckHeaders ¶
func (repository DealRepository) RecheckHeaders(startingBlockNumber, endingBlockNumber int64) ([]core.Header, error)
func (*DealRepository) SetDB ¶
func (repository *DealRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.