monitor

package
v0.16.15 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 18 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(uint64, common.Hash, common.Address) error

type ContractAddr

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

type DeleteTask

type DeleteTask func(uint64, common.Hash) error

type ScannedBlockNumber

type ScannedBlockNumber func() (uint64, error)

type UpsertBlockHead

type UpsertBlockHead func(uint64, common.Hash) error

type UpsertNBits

type UpsertNBits func(uint32) error

type UpsertProject

type UpsertProject func(uint64, string, common.Hash) error

type UpsertProver

type UpsertProver func(uint64, common.Address) 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