Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventNameNewPriorityRequest = "NewPriorityRequest" EventNameBlockCommit = "BlockCommit" EventNameBlockVerification = "BlockVerification" EventTypeNewPriorityRequest = 0 EventTypeCommittedBlock = 1 EventTypeVerifiedBlock = 2 EventTypeRevertedBlock = 3 EventNameNewAsset = "NewAsset" EventNameNewGovernor = "NewGovernor" EventNameNewAssetGovernance = "NewAssetGovernance" EventNameValidatorStatusUpdate = "ValidatorStatusUpdate" EventNameAssetPausedUpdate = "AssetPausedUpdate" EventTypeAddAsset = 4 EventTypeNewGovernor = 5 EventTypeNewAssetGovernance = 6 EventTypeValidatorStatusUpdate = 7 EventTypeAssetPausedUpdate = 8 PendingStatus = priorityrequest.PendingStatus TxTypeRegisterZns = types.TxTypeRegisterZns TxTypeDeposit = types.TxTypeDeposit TxTypeDepositNft = types.TxTypeDepositNft TxTypeFullExit = types.TxTypeFullExit TxTypeFullExitNft = types.TxTypeFullExitNft )
Variables ¶
View Source
var (
ZkBNBContractAbi, _ = abi.JSON(strings.NewReader(zkbnb.ZkBNBMetaData.ABI))
GovernanceContractAbi, _ = abi.JSON(strings.NewReader(zkbnb.GovernanceMetaData.ABI))
)
Functions ¶
func ComputeL1TxTxHash ¶
func EmptyCallOpts ¶
Types ¶
type GovernancePendingChanges ¶
type GovernancePendingChanges struct {
// contains filtered or unexported fields
}
func NewGovernancePendingChanges ¶
func NewGovernancePendingChanges() *GovernancePendingChanges
type Monitor ¶
type Monitor struct { Config config.Config BlockModel block.BlockModel TxModel tx.TxModel TxPoolModel tx.TxPoolModel SysConfigModel sysconfig.SysConfigModel L1RollupTxModel l1rolluptx.L1RollupTxModel ProofModel proof.ProofModel L2AssetModel asset.AssetModel PriorityRequestModel priorityrequest.PriorityRequestModel L1SyncedBlockModel l1syncedblock.L1SyncedBlockModel // contains filtered or unexported fields }
func NewMonitor ¶
func (*Monitor) CleanHistoryBlocks ¶
func (*Monitor) MonitorGenericBlocks ¶
func (*Monitor) MonitorGovernanceBlocks ¶
func (*Monitor) MonitorPriorityRequests ¶
Click to show internal directories.
Click to hide internal directories.