Documentation ¶
Index ¶
- type Config
- type Dependencies
- type IRecorder
- type Recorder
- func (r *Recorder) Block(height int64) (*common.Block, error)
- func (r *Recorder) ChainID() string
- func (r *Recorder) ChainName() string
- func (r *Recorder) Delete(tx *gorm.DB, height int64) error
- func (r *Recorder) LatestBlockCached() *common.Block
- func (r *Recorder) Record(tx *gorm.DB, b *block.Log) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { Client map[string]client.ETHClient DB *gorm.DB ERC721SwapAgent map[string]erc721agent.SwapAgent ERC721Token map[string]erc721token.IToken ERC1155SwapAgent map[string]erc1155agent.SwapAgent ERC1155Token map[string]erc1155token.IToken }
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func NewRecorder ¶
func NewRecorder(c *Config, d *Dependencies) *Recorder
func (*Recorder) LatestBlockCached ¶
Click to show internal directories.
Click to hide internal directories.