Documentation ¶
Index ¶
Constants ¶
View Source
const (
BLOCKNUM = "blockNum"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BNBListener ¶
type BNBListener struct {
// contains filtered or unexported fields
}
func (*BNBListener) Accept ¶
func (bl *BNBListener) Accept(fromAddr, toAddr string) bool
func (*BNBListener) AttachObserver ¶
func (bl *BNBListener) AttachObserver(observer cache.Observer)
func (*BNBListener) NewBlockFilter ¶
func (bl *BNBListener) NewBlockFilter() error
func (*BNBListener) Notify ¶
func (bl *BNBListener) Notify(event interface{})
func (*BNBListener) SingleBlockFilter ¶
func (bl *BNBListener) SingleBlockFilter(height *big.Int) error
type BscListener ¶
type BscListener struct {
// contains filtered or unexported fields
}
func NewBscListener ¶
func NewBscListener() (*BscListener, error)
func (*BscListener) Run ¶
func (bl *BscListener) Run()
type ERC20Listener ¶
type ERC20Listener struct {
// contains filtered or unexported fields
}
func (*ERC20Listener) Accept ¶
func (e *ERC20Listener) Accept(fromAddr, toAddr string) bool
func (*ERC20Listener) AttachObserver ¶
func (e *ERC20Listener) AttachObserver(observer cache.Observer)
func (*ERC20Listener) NewEventFilter ¶
func (el *ERC20Listener) NewEventFilter(contractAddr string) error
func (*ERC20Listener) Notify ¶
func (e *ERC20Listener) Notify(event interface{})
type ERC721Listener ¶
type ERC721Listener struct {
// contains filtered or unexported fields
}
func (*ERC721Listener) Accept ¶
func (e *ERC721Listener) Accept(fromAddr, toAddr string) bool
func (*ERC721Listener) AttachObserver ¶
func (e *ERC721Listener) AttachObserver(observer cache.Observer)
func (*ERC721Listener) NewEventFilter ¶
func (el *ERC721Listener) NewEventFilter() error
func (*ERC721Listener) Notify ¶
func (e *ERC721Listener) Notify(event interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.