Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AccessPoints = []string{
"wss://ropsten.infura.io/ws/v3/831ab04fa4964991b5fba5c52106d7b0",
"wss://ropsten.infura.io/ws/v3/8b8db3cca50a4fcf97173b7619b1c4c3",
"ws://75.135.96.248:3334",
}
View Source
var RetryRule = map[int]int{
1: 5,
2: 10,
3: 15,
}
Functions ¶
func GetLoopOpts ¶
func GetLoopOpts(s uint64, e *uint64) *bind.FilterOpts
func GetWatchOpts ¶
Types ¶
type EventQueue ¶
type EventQueue []EventWrapper
func (*EventQueue) Insert ¶
func (q *EventQueue) Insert(blockNumber uint64, txIndex uint, name string, data interface{})
func (EventQueue) Len ¶
func (q EventQueue) Len() int
func (EventQueue) Less ¶
func (q EventQueue) Less(i, j int) bool
func (EventQueue) Swap ¶
func (q EventQueue) Swap(i, j int)
type EventWrapper ¶
Click to show internal directories.
Click to hide internal directories.