monitor

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 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, chainEndpoint string) error

Types

type AssignTask

type AssignTask func(taskID common.Hash, prover common.Address, projectID string) 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 string, uri string, hash common.Hash) error

type UpsertProjectDevice added in v0.20.1

type UpsertProjectDevice func(projectID string, 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