Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Build() error
- func (b *Builder) BuildAndRun() (*redo2.Recipet, error)
- func (b *Builder) SetBlockMargin(margin uint64) *Builder
- func (b *Builder) SetClient(conn *ethclient.Client) *Builder
- func (b *Builder) SetContract(addr common.Address, abi_str string, evt_names ...string) *Builder
- func (b *Builder) SetDataChan(dataCh chan<- Event, errChan chan<- error) *Builder
- func (b *Builder) SetFrom(f uint64) *Builder
- func (b *Builder) SetGracefullExit(yes bool) *Builder
- func (b *Builder) SetInterval(interval time.Duration) *Builder
- func (b *Builder) SetProgressChan(pc chan<- Progress) *Builder
- func (b *Builder) SetStep(f uint64) *Builder
- func (b *Builder) SetTo(f uint64) *Builder
- type Event
- type JSONObj
- type Progress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewScanBuilder ¶
func NewScanBuilder() *Builder
func (*Builder) SetBlockMargin ¶
func (*Builder) SetContract ¶
set addr to address(0) e.g.common.Address{} to filter any contracts with same abi
func (*Builder) SetDataChan ¶
func (*Builder) SetGracefullExit ¶
func (*Builder) SetProgressChan ¶
type Event ¶
Click to show internal directories.
Click to hide internal directories.