monitor

package
v0.0.0-...-4d9bc2d Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WalletAssignEventName = "AssignWallet"
	WalletAssignEvent     = "AssignWallet(address,uint256,address,address,uint256,uint256)"
)
View Source
const (
	WalletTransferEventName = "Transfer"
	WalletTransferEvent     = "Transfer(address,address,uint256)"
)

Variables

This section is empty.

Functions

func Rebase

func Rebase(ctx context.Context)

func ScanTransferWatchForDb

func ScanTransferWatchForDb(monitorType []string)

func ScanWalletAssignWatch

func ScanWalletAssignWatch(lb loadbalance.LoadBalance, contractAddr string, deployedHeight, chainId uint64) error

func ScanWalletTransferWatch

func ScanWalletTransferWatch(lb loadbalance.LoadBalance, contractAddr string, deployedHeight, chainId uint64) error

func StartWalletAPR

func StartWalletAPR(ctx context.Context)

func WalletAssign

func WalletAssign(ctx context.Context)

func WalletTransfer

func WalletTransfer(ctx context.Context)

Types

type Result

type Result struct {
	ID  uint64
	Err error
}

type TransferEvent

type TransferEvent struct {
	From  common.Address
	To    common.Address
	Value *big.Int
}

Jump to

Keyboard shortcuts

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