monitor

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(h *Handler, addr *ContractAddr, beginningBlockNumber, ioIDProjectID uint64, client *ethclient.Client) error

Types

type ContractAddr

type ContractAddr struct {
	IoID    common.Address
	Project common.Address
}

type ScannedBlockNumber

type ScannedBlockNumber func() (uint64, error)

type UpdateDeviceOwner added in v1.2.4

type UpdateDeviceOwner func(*big.Int, common.Address) error

type UpsertDevice added in v1.2.0

type UpsertDevice func(t *db.Device) error

type UpsertProjectMetadata

type UpsertProjectMetadata func(projectID uint64, key [32]byte, value []byte) error

type UpsertScannedBlockNumber

type UpsertScannedBlockNumber func(uint64) error

Jump to

Keyboard shortcuts

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