chainsync

package
v0.0.0-...-1196ed7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GatewayOnboardedEvent   = common.BytesToHash(crypto.Keccak256([]byte("GatewayOnboarded(bytes32,address)")))
	GatewayOffboardedEvent  = common.BytesToHash(crypto.Keccak256([]byte("GatewayOffboarded(bytes32)")))
	GatewayUpdatedEvent     = common.BytesToHash(crypto.Keccak256([]byte("GatewayUpdated(bytes32)")))
	GatewayTransferredEvent = common.BytesToHash(crypto.Keccak256([]byte("GatewayTransferred(bytes32,address,address)")))
)

Functions

This section is empty.

Types

type ChainSync

type ChainSync struct {
	// contains filtered or unexported fields
}

func NewChainSync

func NewChainSync() (*ChainSync, error)

func (*ChainSync) Run

func (cs *ChainSync) Run(ctx context.Context) error

Run implements source.Source

func (*ChainSync) SetFuncs

func (cs *ChainSync) SetFuncs(pendingEventFunc interfac.PendingEventFunc, eventsFunc interfac.EventsFunc, setCurrentBlockFunc chainsync.SetCurrentBlockFunc, currentBlockFunc chainsync.CurrentBlockFunc)

SetFuncs implements source.Source

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL