Documentation
¶
Index ¶
- type CheckpointMessages
- type CheckpointTaskResponse
- type MessageBlsAggregation
- type OperatorSetUpdateMessage
- type SignedCheckpointTaskResponse
- type SignedOperatorSetUpdateMessage
- type SignedStateRootUpdateMessage
- type StateRootUpdateMessage
- func (msg StateRootUpdateMessage) AbiEncode() ([]byte, error)
- func (msg StateRootUpdateMessage) Digest() ([32]byte, error)
- func (msg StateRootUpdateMessage) HasNearDaCommitment() bool
- func (msg StateRootUpdateMessage) Key() [32]byte
- func (msg StateRootUpdateMessage) ToBinding() servicemanager.StateRootUpdateMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckpointMessages ¶
type CheckpointMessages struct { StateRootUpdateMessages []StateRootUpdateMessage StateRootUpdateMessageAggregations []MessageBlsAggregation OperatorSetUpdateMessages []OperatorSetUpdateMessage OperatorSetUpdateMessageAggregations []MessageBlsAggregation }
type CheckpointTaskResponse ¶
type CheckpointTaskResponse struct { ReferenceTaskIndex coretypes.TaskIndex StateRootUpdatesRoot [32]byte OperatorSetUpdatesRoot [32]byte }
func NewCheckpointTaskResponseFromBinding ¶
func NewCheckpointTaskResponseFromBinding(binding taskmanager.CheckpointTaskResponse) CheckpointTaskResponse
func NewCheckpointTaskResponseFromMessages ¶
func NewCheckpointTaskResponseFromMessages(taskIndex coretypes.TaskIndex, checkpointMessages *CheckpointMessages) (CheckpointTaskResponse, error)
func (CheckpointTaskResponse) AbiEncode ¶
func (msg CheckpointTaskResponse) AbiEncode() ([]byte, error)
func (CheckpointTaskResponse) Digest ¶
func (msg CheckpointTaskResponse) Digest() ([32]byte, error)
func (CheckpointTaskResponse) ToBinding ¶
func (msg CheckpointTaskResponse) ToBinding() taskmanager.CheckpointTaskResponse
type MessageBlsAggregation ¶
type MessageBlsAggregation struct { EthBlockNumber coretypes.BlockNumber MessageDigest coretypes.MessageDigest NonSignersPubkeysG1 []*bls.G1Point QuorumApksG1 []*bls.G1Point SignersApkG2 *bls.G2Point SignersAggSigG1 *bls.Signature NonSignerQuorumBitmapIndices []uint32 QuorumApkIndices []uint32 TotalStakeIndices []uint32 NonSignerStakeIndices [][]uint32 }
func NewMessageBlsAggregationFromServiceResponse ¶
func NewMessageBlsAggregationFromServiceResponse(ethBlockNumber uint64, resp blsagg.BlsAggregationServiceResponse) (MessageBlsAggregation, error)
func (MessageBlsAggregation) ExtractBindingMainnet ¶
func (msg MessageBlsAggregation) ExtractBindingMainnet() taskmanager.IBLSSignatureCheckerNonSignerStakesAndSignature
func (MessageBlsAggregation) ExtractBindingRollup ¶
func (msg MessageBlsAggregation) ExtractBindingRollup() registryrollup.RollupOperatorsSignatureInfo
type OperatorSetUpdateMessage ¶
type OperatorSetUpdateMessage struct { Id coretypes.OperatorSetUpdateId Timestamp coretypes.Timestamp Operators []coretypes.RollupOperator }
func NewOperatorSetUpdateMessageFromBinding ¶
func NewOperatorSetUpdateMessageFromBinding(binding registryrollup.OperatorSetUpdateMessage) OperatorSetUpdateMessage
func (OperatorSetUpdateMessage) AbiEncode ¶
func (msg OperatorSetUpdateMessage) AbiEncode() ([]byte, error)
func (OperatorSetUpdateMessage) Digest ¶
func (msg OperatorSetUpdateMessage) Digest() ([32]byte, error)
func (OperatorSetUpdateMessage) Key ¶
func (msg OperatorSetUpdateMessage) Key() [32]byte
func (OperatorSetUpdateMessage) ToBinding ¶
func (msg OperatorSetUpdateMessage) ToBinding() registryrollup.OperatorSetUpdateMessage
type SignedCheckpointTaskResponse ¶
type SignedCheckpointTaskResponse struct { TaskResponse CheckpointTaskResponse BlsSignature bls.Signature OperatorId eigentypes.OperatorId }
func (*SignedCheckpointTaskResponse) IsValid ¶
func (s *SignedCheckpointTaskResponse) IsValid() error
type SignedOperatorSetUpdateMessage ¶
type SignedOperatorSetUpdateMessage struct { Message OperatorSetUpdateMessage BlsSignature bls.Signature OperatorId eigentypes.OperatorId }
func (*SignedOperatorSetUpdateMessage) IsValid ¶
func (s *SignedOperatorSetUpdateMessage) IsValid() error
type SignedStateRootUpdateMessage ¶
type SignedStateRootUpdateMessage struct { Message StateRootUpdateMessage BlsSignature bls.Signature OperatorId eigentypes.OperatorId }
func (*SignedStateRootUpdateMessage) IsValid ¶
func (s *SignedStateRootUpdateMessage) IsValid() error
type StateRootUpdateMessage ¶
type StateRootUpdateMessage struct { RollupId coretypes.RollupId BlockHeight coretypes.BlockNumber Timestamp coretypes.Timestamp NearDaTransactionId [32]byte NearDaCommitment [32]byte StateRoot [32]byte }
func NewStateRootUpdateMessageFromBinding ¶
func NewStateRootUpdateMessageFromBinding(binding servicemanager.StateRootUpdateMessage) StateRootUpdateMessage
func (StateRootUpdateMessage) AbiEncode ¶
func (msg StateRootUpdateMessage) AbiEncode() ([]byte, error)
func (StateRootUpdateMessage) Digest ¶
func (msg StateRootUpdateMessage) Digest() ([32]byte, error)
func (StateRootUpdateMessage) HasNearDaCommitment ¶
func (msg StateRootUpdateMessage) HasNearDaCommitment() bool
func (StateRootUpdateMessage) Key ¶
func (msg StateRootUpdateMessage) Key() [32]byte
func (StateRootUpdateMessage) ToBinding ¶
func (msg StateRootUpdateMessage) ToBinding() servicemanager.StateRootUpdateMessage
Click to show internal directories.
Click to hide internal directories.