Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDealConfig ¶
func GetDealConfig() shared_t.EventTransformerConfig
Types ¶
type DealConverter ¶
type DealConverter struct{}
func (DealConverter) ToModels ¶
func (DealConverter) ToModels(ethLogs []types.Log) (result []shared.InsertionModel, err error)
type DealRepository ¶
type DealRepository struct {
// contains filtered or unexported fields
}
func (DealRepository) Create ¶
func (repository DealRepository) Create(headerID int64, models []shared.InsertionModel) error
func (DealRepository) MarkHeaderChecked ¶
func (repository DealRepository) MarkHeaderChecked(headerID int64) error
func (*DealRepository) SetDB ¶
func (repository *DealRepository) SetDB(db *postgres.DB)
Click to show internal directories.
Click to hide internal directories.