eth

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BurnMonitorName = "BURN MONITOR"
)
View Source
const (
	MintExecutorName string = "MINT EXECUTOR"
)
View Source
const (
	MintSignerName = "MINT SIGNER"
)

Variables

This section is empty.

Functions

func NewBurnMonitor

func NewBurnMonitor(wg *sync.WaitGroup, lastHealth models.ServiceHealth) app.Service

func NewMintExecutor added in v0.1.9

func NewMintExecutor(wg *sync.WaitGroup, lastHealth models.ServiceHealth) app.Service

func NewMintSigner added in v0.1.9

func NewMintSigner(wg *sync.WaitGroup, lastHealth models.ServiceHealth) app.Service

func ValidateNetwork

func ValidateNetwork()

Types

type BurnMonitorRunner

type BurnMonitorRunner struct {
	// contains filtered or unexported fields
}

func (*BurnMonitorRunner) HandleBurnEvent

func (x *BurnMonitorRunner) HandleBurnEvent(event *autogen.WrappedPocketBurnAndBridge) bool

func (*BurnMonitorRunner) InitStartBlockNumber added in v0.1.9

func (x *BurnMonitorRunner) InitStartBlockNumber(lastHealth models.ServiceHealth)

func (*BurnMonitorRunner) Run

func (x *BurnMonitorRunner) Run()

func (*BurnMonitorRunner) Status

func (*BurnMonitorRunner) SyncBlocks

func (x *BurnMonitorRunner) SyncBlocks(startBlockNumber uint64, endBlockNumber uint64) bool

func (*BurnMonitorRunner) SyncTxs

func (x *BurnMonitorRunner) SyncTxs() bool

func (*BurnMonitorRunner) UpdateCurrentBlockNumber

func (x *BurnMonitorRunner) UpdateCurrentBlockNumber()

type MintExecutorRunner

type MintExecutorRunner struct {
	// contains filtered or unexported fields
}

func (*MintExecutorRunner) HandleMintEvent

func (x *MintExecutorRunner) HandleMintEvent(event *autogen.WrappedPocketMinted) bool

func (*MintExecutorRunner) InitStartBlockNumber added in v0.1.9

func (x *MintExecutorRunner) InitStartBlockNumber(lastHealth models.ServiceHealth)

func (*MintExecutorRunner) Run

func (x *MintExecutorRunner) Run()

func (*MintExecutorRunner) Status

func (*MintExecutorRunner) SyncBlocks

func (x *MintExecutorRunner) SyncBlocks(startBlockNumber uint64, endBlockNumber uint64) bool

func (*MintExecutorRunner) SyncTxs

func (x *MintExecutorRunner) SyncTxs() bool

func (*MintExecutorRunner) UpdateCurrentBlockNumber

func (x *MintExecutorRunner) UpdateCurrentBlockNumber()

type MintSignerRunner

type MintSignerRunner struct {
	// contains filtered or unexported fields
}

func (*MintSignerRunner) FindNonce

func (x *MintSignerRunner) FindNonce(mint *models.Mint) (*big.Int, error)

func (*MintSignerRunner) HandleMint

func (x *MintSignerRunner) HandleMint(mint *models.Mint) bool

func (*MintSignerRunner) Run

func (x *MintSignerRunner) Run()

func (*MintSignerRunner) Status

func (x *MintSignerRunner) Status() models.RunnerStatus

func (*MintSignerRunner) SyncTxs

func (x *MintSignerRunner) SyncTxs() bool

func (*MintSignerRunner) UpdateBlocks

func (x *MintSignerRunner) UpdateBlocks()

func (*MintSignerRunner) UpdateDomainData added in v0.1.10

func (x *MintSignerRunner) UpdateDomainData()

func (*MintSignerRunner) UpdateMaxMintLimit added in v0.1.10

func (x *MintSignerRunner) UpdateMaxMintLimit()

func (*MintSignerRunner) UpdateValidatorCount added in v0.1.10

func (x *MintSignerRunner) UpdateValidatorCount()

func (*MintSignerRunner) ValidateMint added in v0.1.3

func (x *MintSignerRunner) ValidateMint(mint *models.Mint) (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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