monitor

package
v0.23.9 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 19 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 uint64, client *ethclient.Client) error

Types

type AssignTask

type AssignTask func(taskID common.Hash, prover common.Address) error

type ContractAddr

type ContractAddr struct {
	Prover      common.Address
	Project     common.Address
	Minter      common.Address
	TaskManager common.Address
	IoID        common.Address
}

type ScannedBlockNumber

type ScannedBlockNumber func() (uint64, error)

type SettleTask added in v0.17.0

type SettleTask func(taskID, tx common.Hash) error

type UpsertProject

type UpsertProject func(projectID *big.Int, uri string, hash common.Hash) error

type UpsertProjectDevice added in v0.20.1

type UpsertProjectDevice func(projectID *big.Int, address common.Address) error

type UpsertProver

type UpsertProver func(addr common.Address) error

type UpsertScannedBlockNumber

type UpsertScannedBlockNumber func(number uint64) error

Jump to

Keyboard shortcuts

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