Documentation ¶
Index ¶
- Constants
- func NewBurnMonitor(wg *sync.WaitGroup, lastHealth models.ServiceHealth) app.Service
- func NewMintExecutor(wg *sync.WaitGroup, lastHealth models.ServiceHealth) app.Service
- func NewMintSigner(wg *sync.WaitGroup, lastHealth models.ServiceHealth) app.Service
- func ValidateNetwork()
- type BurnMonitorRunner
- func (x *BurnMonitorRunner) HandleBurnEvent(event *autogen.WrappedPocketBurnAndBridge) bool
- func (x *BurnMonitorRunner) InitStartBlockNumber(lastHealth models.ServiceHealth)
- func (x *BurnMonitorRunner) Run()
- func (x *BurnMonitorRunner) Status() models.RunnerStatus
- func (x *BurnMonitorRunner) SyncBlocks(startBlockNumber uint64, endBlockNumber uint64) bool
- func (x *BurnMonitorRunner) SyncTxs() bool
- func (x *BurnMonitorRunner) UpdateCurrentBlockNumber()
- type MintExecutorRunner
- func (x *MintExecutorRunner) HandleMintEvent(event *autogen.WrappedPocketMinted) bool
- func (x *MintExecutorRunner) InitStartBlockNumber(lastHealth models.ServiceHealth)
- func (x *MintExecutorRunner) Run()
- func (x *MintExecutorRunner) Status() models.RunnerStatus
- func (x *MintExecutorRunner) SyncBlocks(startBlockNumber uint64, endBlockNumber uint64) bool
- func (x *MintExecutorRunner) SyncTxs() bool
- func (x *MintExecutorRunner) UpdateCurrentBlockNumber()
- type MintSignerRunner
- func (x *MintSignerRunner) FindNonce(mint *models.Mint) (*big.Int, error)
- func (x *MintSignerRunner) HandleMint(mint *models.Mint) bool
- func (x *MintSignerRunner) Run()
- func (x *MintSignerRunner) Status() models.RunnerStatus
- func (x *MintSignerRunner) SyncTxs() bool
- func (x *MintSignerRunner) UpdateBlocks()
- func (x *MintSignerRunner) UpdateDomainData()
- func (x *MintSignerRunner) UpdateMaxMintLimit()
- func (x *MintSignerRunner) UpdateValidatorCount()
- func (x *MintSignerRunner) ValidateMint(mint *models.Mint) (bool, error)
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 NewMintExecutor ¶ added in v0.1.9
func NewMintSigner ¶ added in v0.1.9
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 (x *BurnMonitorRunner) Status() models.RunnerStatus
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 (x *MintExecutorRunner) Status() models.RunnerStatus
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) 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)
Click to show internal directories.
Click to hide internal directories.