Documentation
¶
Index ¶
- Constants
- Variables
- type DataItem
- func (x *DataItem) ClearExtendedCommitInfo()
- func (x *DataItem) ClearRollupIdsRoot()
- func (x *DataItem) ClearRollupTransactionsRoot()
- func (x *DataItem) ClearUpgradeChangeHashes()
- func (x *DataItem) ClearValue()
- func (x *DataItem) GetExtendedCommitInfo() []byte
- func (x *DataItem) GetRollupIdsRoot() []byte
- func (x *DataItem) GetRollupTransactionsRoot() []byte
- func (x *DataItem) GetUpgradeChangeHashes() *DataItem_UpgradeChangeHashes
- func (x *DataItem) GetValue() isDataItem_Value
- func (x *DataItem) HasExtendedCommitInfo() bool
- func (x *DataItem) HasRollupIdsRoot() bool
- func (x *DataItem) HasRollupTransactionsRoot() bool
- func (x *DataItem) HasUpgradeChangeHashes() bool
- func (x *DataItem) HasValue() bool
- func (*DataItem) ProtoMessage()
- func (x *DataItem) ProtoReflect() protoreflect.Message
- func (x *DataItem) Reset()
- func (x *DataItem) SetExtendedCommitInfo(v []byte)
- func (x *DataItem) SetRollupIdsRoot(v []byte)
- func (x *DataItem) SetRollupTransactionsRoot(v []byte)
- func (x *DataItem) SetUpgradeChangeHashes(v *DataItem_UpgradeChangeHashes)
- func (x *DataItem) String() string
- func (x *DataItem) WhichValue() case_DataItem_Value
- type DataItem_ExtendedCommitInfo
- type DataItem_RollupIdsRoot
- type DataItem_RollupTransactionsRoot
- type DataItem_UpgradeChangeHashes
- func (x *DataItem_UpgradeChangeHashes) GetHashes() [][]byte
- func (*DataItem_UpgradeChangeHashes) ProtoMessage()
- func (x *DataItem_UpgradeChangeHashes) ProtoReflect() protoreflect.Message
- func (x *DataItem_UpgradeChangeHashes) Reset()
- func (x *DataItem_UpgradeChangeHashes) SetHashes(v [][]byte)
- func (x *DataItem_UpgradeChangeHashes) String() string
- type DataItem_UpgradeChangeHashes_
- type DataItem_UpgradeChangeHashes_builder
- type DataItem_builder
- type Deposit
- func (x *Deposit) ClearAmount()
- func (x *Deposit) ClearBridgeAddress()
- func (x *Deposit) ClearRollupId()
- func (x *Deposit) ClearSourceTransactionId()
- func (x *Deposit) GetAmount() *v1.Uint128
- func (x *Deposit) GetAsset() string
- func (x *Deposit) GetBridgeAddress() *v1.Address
- func (x *Deposit) GetDestinationChainAddress() string
- func (x *Deposit) GetRollupId() *v1.RollupId
- func (x *Deposit) GetSourceActionIndex() uint64
- func (x *Deposit) GetSourceTransactionId() *v1.TransactionId
- func (x *Deposit) HasAmount() bool
- func (x *Deposit) HasBridgeAddress() bool
- func (x *Deposit) HasRollupId() bool
- func (x *Deposit) HasSourceTransactionId() bool
- func (*Deposit) ProtoMessage()
- func (x *Deposit) ProtoReflect() protoreflect.Message
- func (x *Deposit) Reset()
- func (x *Deposit) SetAmount(v *v1.Uint128)
- func (x *Deposit) SetAsset(v string)
- func (x *Deposit) SetBridgeAddress(v *v1.Address)
- func (x *Deposit) SetDestinationChainAddress(v string)
- func (x *Deposit) SetRollupId(v *v1.RollupId)
- func (x *Deposit) SetSourceActionIndex(v uint64)
- func (x *Deposit) SetSourceTransactionId(v *v1.TransactionId)
- func (x *Deposit) String() string
- type Deposit_builder
- type ExtendedCommitInfoWithProof
- func (x *ExtendedCommitInfoWithProof) ClearProof()
- func (x *ExtendedCommitInfoWithProof) GetExtendedCommitInfo() []byte
- func (x *ExtendedCommitInfoWithProof) GetProof() *v1.Proof
- func (x *ExtendedCommitInfoWithProof) HasProof() bool
- func (*ExtendedCommitInfoWithProof) ProtoMessage()
- func (x *ExtendedCommitInfoWithProof) ProtoReflect() protoreflect.Message
- func (x *ExtendedCommitInfoWithProof) Reset()
- func (x *ExtendedCommitInfoWithProof) SetExtendedCommitInfo(v []byte)
- func (x *ExtendedCommitInfoWithProof) SetProof(v *v1.Proof)
- func (x *ExtendedCommitInfoWithProof) String() string
- type ExtendedCommitInfoWithProof_builder
- type FilteredSequencerBlock
- func (x *FilteredSequencerBlock) ClearExtendedCommitInfoWithProof()
- func (x *FilteredSequencerBlock) ClearHeader()
- func (x *FilteredSequencerBlock) ClearRollupIdsProof()
- func (x *FilteredSequencerBlock) ClearRollupTransactionsProof()
- func (x *FilteredSequencerBlock) GetAllRollupIds() []*v1.RollupId
- func (x *FilteredSequencerBlock) GetBlockHash() []byte
- func (x *FilteredSequencerBlock) GetExtendedCommitInfoWithProof() *ExtendedCommitInfoWithProof
- func (x *FilteredSequencerBlock) GetHeader() *SequencerBlockHeader
- func (x *FilteredSequencerBlock) GetRollupIdsProof() *v1.Proof
- func (x *FilteredSequencerBlock) GetRollupTransactions() []*RollupTransactions
- func (x *FilteredSequencerBlock) GetRollupTransactionsProof() *v1.Proof
- func (x *FilteredSequencerBlock) GetUpgradeChangeHashes() [][]byte
- func (x *FilteredSequencerBlock) HasExtendedCommitInfoWithProof() bool
- func (x *FilteredSequencerBlock) HasHeader() bool
- func (x *FilteredSequencerBlock) HasRollupIdsProof() bool
- func (x *FilteredSequencerBlock) HasRollupTransactionsProof() bool
- func (*FilteredSequencerBlock) ProtoMessage()
- func (x *FilteredSequencerBlock) ProtoReflect() protoreflect.Message
- func (x *FilteredSequencerBlock) Reset()
- func (x *FilteredSequencerBlock) SetAllRollupIds(v []*v1.RollupId)
- func (x *FilteredSequencerBlock) SetBlockHash(v []byte)
- func (x *FilteredSequencerBlock) SetExtendedCommitInfoWithProof(v *ExtendedCommitInfoWithProof)
- func (x *FilteredSequencerBlock) SetHeader(v *SequencerBlockHeader)
- func (x *FilteredSequencerBlock) SetRollupIdsProof(v *v1.Proof)
- func (x *FilteredSequencerBlock) SetRollupTransactions(v []*RollupTransactions)
- func (x *FilteredSequencerBlock) SetRollupTransactionsProof(v *v1.Proof)
- func (x *FilteredSequencerBlock) SetUpgradeChangeHashes(v [][]byte)
- func (x *FilteredSequencerBlock) String() string
- type FilteredSequencerBlock_builder
- type GetFilteredSequencerBlockRequest
- func (x *GetFilteredSequencerBlockRequest) GetHeight() uint64
- func (x *GetFilteredSequencerBlockRequest) GetRollupIds() []*v1.RollupId
- func (*GetFilteredSequencerBlockRequest) ProtoMessage()
- func (x *GetFilteredSequencerBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetFilteredSequencerBlockRequest) Reset()
- func (x *GetFilteredSequencerBlockRequest) SetHeight(v uint64)
- func (x *GetFilteredSequencerBlockRequest) SetRollupIds(v []*v1.RollupId)
- func (x *GetFilteredSequencerBlockRequest) String() string
- type GetFilteredSequencerBlockRequest_builder
- type GetPendingNonceRequest
- func (x *GetPendingNonceRequest) ClearAddress()
- func (x *GetPendingNonceRequest) GetAddress() *v1.Address
- func (x *GetPendingNonceRequest) HasAddress() bool
- func (*GetPendingNonceRequest) ProtoMessage()
- func (x *GetPendingNonceRequest) ProtoReflect() protoreflect.Message
- func (x *GetPendingNonceRequest) Reset()
- func (x *GetPendingNonceRequest) SetAddress(v *v1.Address)
- func (x *GetPendingNonceRequest) String() string
- type GetPendingNonceRequest_builder
- type GetPendingNonceResponse
- func (x *GetPendingNonceResponse) GetInner() uint32
- func (*GetPendingNonceResponse) ProtoMessage()
- func (x *GetPendingNonceResponse) ProtoReflect() protoreflect.Message
- func (x *GetPendingNonceResponse) Reset()
- func (x *GetPendingNonceResponse) SetInner(v uint32)
- func (x *GetPendingNonceResponse) String() string
- type GetPendingNonceResponse_builder
- type GetSequencerBlockRequest
- func (x *GetSequencerBlockRequest) GetHeight() uint64
- func (*GetSequencerBlockRequest) ProtoMessage()
- func (x *GetSequencerBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetSequencerBlockRequest) Reset()
- func (x *GetSequencerBlockRequest) SetHeight(v uint64)
- func (x *GetSequencerBlockRequest) String() string
- type GetSequencerBlockRequest_builder
- type GetUpgradesInfoRequest
- type GetUpgradesInfoRequest_builder
- type GetUpgradesInfoResponse
- func (x *GetUpgradesInfoResponse) GetApplied() []*GetUpgradesInfoResponse_ChangeInfo
- func (x *GetUpgradesInfoResponse) GetScheduled() []*GetUpgradesInfoResponse_ChangeInfo
- func (*GetUpgradesInfoResponse) ProtoMessage()
- func (x *GetUpgradesInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetUpgradesInfoResponse) Reset()
- func (x *GetUpgradesInfoResponse) SetApplied(v []*GetUpgradesInfoResponse_ChangeInfo)
- func (x *GetUpgradesInfoResponse) SetScheduled(v []*GetUpgradesInfoResponse_ChangeInfo)
- func (x *GetUpgradesInfoResponse) String() string
- type GetUpgradesInfoResponse_ChangeInfo
- func (x *GetUpgradesInfoResponse_ChangeInfo) GetActivationHeight() uint64
- func (x *GetUpgradesInfoResponse_ChangeInfo) GetAppVersion() uint64
- func (x *GetUpgradesInfoResponse_ChangeInfo) GetBase64Hash() string
- func (x *GetUpgradesInfoResponse_ChangeInfo) GetChangeName() string
- func (*GetUpgradesInfoResponse_ChangeInfo) ProtoMessage()
- func (x *GetUpgradesInfoResponse_ChangeInfo) ProtoReflect() protoreflect.Message
- func (x *GetUpgradesInfoResponse_ChangeInfo) Reset()
- func (x *GetUpgradesInfoResponse_ChangeInfo) SetActivationHeight(v uint64)
- func (x *GetUpgradesInfoResponse_ChangeInfo) SetAppVersion(v uint64)
- func (x *GetUpgradesInfoResponse_ChangeInfo) SetBase64Hash(v string)
- func (x *GetUpgradesInfoResponse_ChangeInfo) SetChangeName(v string)
- func (x *GetUpgradesInfoResponse_ChangeInfo) String() string
- type GetUpgradesInfoResponse_ChangeInfo_builder
- type GetUpgradesInfoResponse_builder
- type GetValidatorNameRequest
- func (x *GetValidatorNameRequest) ClearAddress()
- func (x *GetValidatorNameRequest) GetAddress() *v1.Address
- func (x *GetValidatorNameRequest) HasAddress() bool
- func (*GetValidatorNameRequest) ProtoMessage()
- func (x *GetValidatorNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetValidatorNameRequest) Reset()
- func (x *GetValidatorNameRequest) SetAddress(v *v1.Address)
- func (x *GetValidatorNameRequest) String() string
- type GetValidatorNameRequest_builder
- type GetValidatorNameResponse
- func (x *GetValidatorNameResponse) GetName() string
- func (*GetValidatorNameResponse) ProtoMessage()
- func (x *GetValidatorNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetValidatorNameResponse) Reset()
- func (x *GetValidatorNameResponse) SetName(v string)
- func (x *GetValidatorNameResponse) String() string
- type GetValidatorNameResponse_builder
- type Price
- func (x *Price) ClearCurrencyPair()
- func (x *Price) ClearPrice()
- func (x *Price) GetCurrencyPair() *v2.CurrencyPair
- func (x *Price) GetDecimals() uint64
- func (x *Price) GetPrice() *v1.Int128
- func (x *Price) HasCurrencyPair() bool
- func (x *Price) HasPrice() bool
- func (*Price) ProtoMessage()
- func (x *Price) ProtoReflect() protoreflect.Message
- func (x *Price) Reset()
- func (x *Price) SetCurrencyPair(v *v2.CurrencyPair)
- func (x *Price) SetDecimals(v uint64)
- func (x *Price) SetPrice(v *v1.Int128)
- func (x *Price) String() string
- type PriceFeedData
- type PriceFeedData_builder
- type Price_builder
- type RollupData
- func (x *RollupData) ClearDeposit()
- func (x *RollupData) ClearPriceFeedData()
- func (x *RollupData) ClearSequencedData()
- func (x *RollupData) ClearValue()
- func (x *RollupData) GetDeposit() *Deposit
- func (x *RollupData) GetPriceFeedData() *PriceFeedData
- func (x *RollupData) GetSequencedData() []byte
- func (x *RollupData) GetValue() isRollupData_Value
- func (x *RollupData) HasDeposit() bool
- func (x *RollupData) HasPriceFeedData() bool
- func (x *RollupData) HasSequencedData() bool
- func (x *RollupData) HasValue() bool
- func (*RollupData) ProtoMessage()
- func (x *RollupData) ProtoReflect() protoreflect.Message
- func (x *RollupData) Reset()
- func (x *RollupData) SetDeposit(v *Deposit)
- func (x *RollupData) SetPriceFeedData(v *PriceFeedData)
- func (x *RollupData) SetSequencedData(v []byte)
- func (x *RollupData) String() string
- func (x *RollupData) WhichValue() case_RollupData_Value
- type RollupData_Deposit
- type RollupData_PriceFeedData
- type RollupData_SequencedData
- type RollupData_builder
- type RollupTransactions
- func (x *RollupTransactions) ClearProof()
- func (x *RollupTransactions) ClearRollupId()
- func (x *RollupTransactions) GetProof() *v1.Proof
- func (x *RollupTransactions) GetRollupId() *v1.RollupId
- func (x *RollupTransactions) GetTransactions() [][]byte
- func (x *RollupTransactions) HasProof() bool
- func (x *RollupTransactions) HasRollupId() bool
- func (*RollupTransactions) ProtoMessage()
- func (x *RollupTransactions) ProtoReflect() protoreflect.Message
- func (x *RollupTransactions) Reset()
- func (x *RollupTransactions) SetProof(v *v1.Proof)
- func (x *RollupTransactions) SetRollupId(v *v1.RollupId)
- func (x *RollupTransactions) SetTransactions(v [][]byte)
- func (x *RollupTransactions) String() string
- type RollupTransactions_builder
- type SequencerBlock
- func (x *SequencerBlock) ClearExtendedCommitInfoWithProof()
- func (x *SequencerBlock) ClearHeader()
- func (x *SequencerBlock) ClearRollupIdsProof()
- func (x *SequencerBlock) ClearRollupTransactionsProof()
- func (x *SequencerBlock) GetBlockHash() []byte
- func (x *SequencerBlock) GetExtendedCommitInfoWithProof() *ExtendedCommitInfoWithProof
- func (x *SequencerBlock) GetHeader() *SequencerBlockHeader
- func (x *SequencerBlock) GetRollupIdsProof() *v1.Proof
- func (x *SequencerBlock) GetRollupTransactions() []*RollupTransactions
- func (x *SequencerBlock) GetRollupTransactionsProof() *v1.Proof
- func (x *SequencerBlock) GetUpgradeChangeHashes() [][]byte
- func (x *SequencerBlock) HasExtendedCommitInfoWithProof() bool
- func (x *SequencerBlock) HasHeader() bool
- func (x *SequencerBlock) HasRollupIdsProof() bool
- func (x *SequencerBlock) HasRollupTransactionsProof() bool
- func (*SequencerBlock) ProtoMessage()
- func (x *SequencerBlock) ProtoReflect() protoreflect.Message
- func (x *SequencerBlock) Reset()
- func (x *SequencerBlock) SetBlockHash(v []byte)
- func (x *SequencerBlock) SetExtendedCommitInfoWithProof(v *ExtendedCommitInfoWithProof)
- func (x *SequencerBlock) SetHeader(v *SequencerBlockHeader)
- func (x *SequencerBlock) SetRollupIdsProof(v *v1.Proof)
- func (x *SequencerBlock) SetRollupTransactions(v []*RollupTransactions)
- func (x *SequencerBlock) SetRollupTransactionsProof(v *v1.Proof)
- func (x *SequencerBlock) SetUpgradeChangeHashes(v [][]byte)
- func (x *SequencerBlock) String() string
- type SequencerBlockHeader
- func (x *SequencerBlockHeader) ClearTime()
- func (x *SequencerBlockHeader) GetChainId() string
- func (x *SequencerBlockHeader) GetDataHash() []byte
- func (x *SequencerBlockHeader) GetHeight() uint64
- func (x *SequencerBlockHeader) GetProposerAddress() []byte
- func (x *SequencerBlockHeader) GetRollupTransactionsRoot() []byte
- func (x *SequencerBlockHeader) GetTime() *timestamppb.Timestamp
- func (x *SequencerBlockHeader) HasTime() bool
- func (*SequencerBlockHeader) ProtoMessage()
- func (x *SequencerBlockHeader) ProtoReflect() protoreflect.Message
- func (x *SequencerBlockHeader) Reset()
- func (x *SequencerBlockHeader) SetChainId(v string)
- func (x *SequencerBlockHeader) SetDataHash(v []byte)
- func (x *SequencerBlockHeader) SetHeight(v uint64)
- func (x *SequencerBlockHeader) SetProposerAddress(v []byte)
- func (x *SequencerBlockHeader) SetRollupTransactionsRoot(v []byte)
- func (x *SequencerBlockHeader) SetTime(v *timestamppb.Timestamp)
- func (x *SequencerBlockHeader) String() string
- type SequencerBlockHeader_builder
- type SequencerBlock_builder
- type SubmittedMetadata
- func (x *SubmittedMetadata) ClearExtendedCommitInfoWithProof()
- func (x *SubmittedMetadata) ClearHeader()
- func (x *SubmittedMetadata) ClearRollupIdsProof()
- func (x *SubmittedMetadata) ClearRollupTransactionsProof()
- func (x *SubmittedMetadata) GetBlockHash() []byte
- func (x *SubmittedMetadata) GetExtendedCommitInfoWithProof() *ExtendedCommitInfoWithProof
- func (x *SubmittedMetadata) GetHeader() *SequencerBlockHeader
- func (x *SubmittedMetadata) GetRollupIds() []*v1.RollupId
- func (x *SubmittedMetadata) GetRollupIdsProof() *v1.Proof
- func (x *SubmittedMetadata) GetRollupTransactionsProof() *v1.Proof
- func (x *SubmittedMetadata) GetUpgradeChangeHashes() [][]byte
- func (x *SubmittedMetadata) HasExtendedCommitInfoWithProof() bool
- func (x *SubmittedMetadata) HasHeader() bool
- func (x *SubmittedMetadata) HasRollupIdsProof() bool
- func (x *SubmittedMetadata) HasRollupTransactionsProof() bool
- func (*SubmittedMetadata) ProtoMessage()
- func (x *SubmittedMetadata) ProtoReflect() protoreflect.Message
- func (x *SubmittedMetadata) Reset()
- func (x *SubmittedMetadata) SetBlockHash(v []byte)
- func (x *SubmittedMetadata) SetExtendedCommitInfoWithProof(v *ExtendedCommitInfoWithProof)
- func (x *SubmittedMetadata) SetHeader(v *SequencerBlockHeader)
- func (x *SubmittedMetadata) SetRollupIds(v []*v1.RollupId)
- func (x *SubmittedMetadata) SetRollupIdsProof(v *v1.Proof)
- func (x *SubmittedMetadata) SetRollupTransactionsProof(v *v1.Proof)
- func (x *SubmittedMetadata) SetUpgradeChangeHashes(v [][]byte)
- func (x *SubmittedMetadata) String() string
- type SubmittedMetadataList
- func (x *SubmittedMetadataList) GetEntries() []*SubmittedMetadata
- func (*SubmittedMetadataList) ProtoMessage()
- func (x *SubmittedMetadataList) ProtoReflect() protoreflect.Message
- func (x *SubmittedMetadataList) Reset()
- func (x *SubmittedMetadataList) SetEntries(v []*SubmittedMetadata)
- func (x *SubmittedMetadataList) String() string
- type SubmittedMetadataList_builder
- type SubmittedMetadata_builder
- type SubmittedRollupData
- func (x *SubmittedRollupData) ClearProof()
- func (x *SubmittedRollupData) ClearRollupId()
- func (x *SubmittedRollupData) GetProof() *v1.Proof
- func (x *SubmittedRollupData) GetRollupId() *v1.RollupId
- func (x *SubmittedRollupData) GetSequencerBlockHash() []byte
- func (x *SubmittedRollupData) GetTransactions() [][]byte
- func (x *SubmittedRollupData) HasProof() bool
- func (x *SubmittedRollupData) HasRollupId() bool
- func (*SubmittedRollupData) ProtoMessage()
- func (x *SubmittedRollupData) ProtoReflect() protoreflect.Message
- func (x *SubmittedRollupData) Reset()
- func (x *SubmittedRollupData) SetProof(v *v1.Proof)
- func (x *SubmittedRollupData) SetRollupId(v *v1.RollupId)
- func (x *SubmittedRollupData) SetSequencerBlockHash(v []byte)
- func (x *SubmittedRollupData) SetTransactions(v [][]byte)
- func (x *SubmittedRollupData) String() string
- type SubmittedRollupDataList
- func (x *SubmittedRollupDataList) GetEntries() []*SubmittedRollupData
- func (*SubmittedRollupDataList) ProtoMessage()
- func (x *SubmittedRollupDataList) ProtoReflect() protoreflect.Message
- func (x *SubmittedRollupDataList) Reset()
- func (x *SubmittedRollupDataList) SetEntries(v []*SubmittedRollupData)
- func (x *SubmittedRollupDataList) String() string
- type SubmittedRollupDataList_builder
- type SubmittedRollupData_builder
Constants ¶
const DataItem_ExtendedCommitInfo_case case_DataItem_Value = 4
const DataItem_RollupIdsRoot_case case_DataItem_Value = 2
const DataItem_RollupTransactionsRoot_case case_DataItem_Value = 1
const DataItem_UpgradeChangeHashes_case case_DataItem_Value = 3
const DataItem_Value_not_set_case case_DataItem_Value = 0
const RollupData_Deposit_case case_RollupData_Value = 2
const RollupData_PriceFeedData_case case_RollupData_Value = 3
const RollupData_SequencedData_case case_RollupData_Value = 1
const RollupData_Value_not_set_case case_RollupData_Value = 0
Variables ¶
var File_astria_sequencerblock_v1_block_proto protoreflect.FileDescriptor
var File_astria_sequencerblock_v1_celestia_proto protoreflect.FileDescriptor
var File_astria_sequencerblock_v1_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DataItem ¶
type DataItem struct {
// Types that are valid to be assigned to Value:
//
// *DataItem_RollupTransactionsRoot
// *DataItem_RollupIdsRoot
// *DataItem_UpgradeChangeHashes_
// *DataItem_ExtendedCommitInfo
Value isDataItem_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
Wraps the initial elements of the `txs` field of CometBFT requests/responses like `PrepareProposal` and `FinalizeBlock`.
These special elements always appear before all the actual rollup txs in a defined order.
Rollup txs are not included in this enum as wrapping them would cause them to be indexed under a different hash from their original one by CometBFT, making it difficult for clients to identify their txs and meaning they would not be cleared out of the CometBFT mempool when added to a block.
func (*DataItem) GetUpgradeChangeHashes ¶
func (x *DataItem) GetUpgradeChangeHashes() *DataItem_UpgradeChangeHashes
func (*DataItem) ProtoReflect ¶
func (x *DataItem) ProtoReflect() protoreflect.Message
func (*DataItem) SetUpgradeChangeHashes ¶
func (x *DataItem) SetUpgradeChangeHashes(v *DataItem_UpgradeChangeHashes)
type DataItem_ExtendedCommitInfo ¶
type DataItem_ExtendedCommitInfo struct {
ExtendedCommitInfo []byte `protobuf:"bytes,4,opt,name=extended_commit_info,json=extendedCommitInfo,proto3,oneof"`
}
type DataItem_RollupIdsRoot ¶
type DataItem_RollupIdsRoot struct {
RollupIdsRoot []byte `protobuf:"bytes,2,opt,name=rollup_ids_root,json=rollupIdsRoot,proto3,oneof"`
}
type DataItem_RollupTransactionsRoot ¶
type DataItem_RollupTransactionsRoot struct {
RollupTransactionsRoot []byte `protobuf:"bytes,1,opt,name=rollup_transactions_root,json=rollupTransactionsRoot,proto3,oneof"`
}
type DataItem_UpgradeChangeHashes ¶
type DataItem_UpgradeChangeHashes struct {
Hashes [][]byte `protobuf:"bytes,1,rep,name=hashes,proto3" json:"hashes,omitempty"`
// contains filtered or unexported fields
}
func (*DataItem_UpgradeChangeHashes) GetHashes ¶
func (x *DataItem_UpgradeChangeHashes) GetHashes() [][]byte
func (*DataItem_UpgradeChangeHashes) ProtoMessage ¶
func (*DataItem_UpgradeChangeHashes) ProtoMessage()
func (*DataItem_UpgradeChangeHashes) ProtoReflect ¶
func (x *DataItem_UpgradeChangeHashes) ProtoReflect() protoreflect.Message
func (*DataItem_UpgradeChangeHashes) Reset ¶
func (x *DataItem_UpgradeChangeHashes) Reset()
func (*DataItem_UpgradeChangeHashes) SetHashes ¶
func (x *DataItem_UpgradeChangeHashes) SetHashes(v [][]byte)
func (*DataItem_UpgradeChangeHashes) String ¶
func (x *DataItem_UpgradeChangeHashes) String() string
type DataItem_UpgradeChangeHashes_ ¶
type DataItem_UpgradeChangeHashes_ struct {
UpgradeChangeHashes *DataItem_UpgradeChangeHashes `protobuf:"bytes,3,opt,name=upgrade_change_hashes,json=upgradeChangeHashes,proto3,oneof"`
}
type DataItem_UpgradeChangeHashes_builder ¶
type DataItem_UpgradeChangeHashes_builder struct {
Hashes [][]byte
// contains filtered or unexported fields
}
func (DataItem_UpgradeChangeHashes_builder) Build ¶
func (b0 DataItem_UpgradeChangeHashes_builder) Build() *DataItem_UpgradeChangeHashes
type DataItem_builder ¶
type DataItem_builder struct {
// Fields of oneof Value:
RollupTransactionsRoot []byte
RollupIdsRoot []byte
UpgradeChangeHashes *DataItem_UpgradeChangeHashes
ExtendedCommitInfo []byte
// contains filtered or unexported fields
}
func (DataItem_builder) Build ¶
func (b0 DataItem_builder) Build() *DataItem
type Deposit ¶
type Deposit struct {
// the address the funds were locked in on the sequencer.
// this is required as initializing an account as a bridge account
// is permissionless, so the rollup consensus needs to know and enshrine
// which accounts it accepts as valid bridge accounts.
BridgeAddress *v1.Address `protobuf:"bytes,1,opt,name=bridge_address,json=bridgeAddress,proto3" json:"bridge_address,omitempty"`
// the rollup_id which the funds are being deposited to
RollupId *v1.RollupId `protobuf:"bytes,2,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
Amount *v1.Uint128 `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
Asset string `protobuf:"bytes,4,opt,name=asset,proto3" json:"asset,omitempty"`
// the address on the destination chain which
// will receive the bridged funds
DestinationChainAddress string `` /* 132-byte string literal not displayed */
// the transaction ID of the source action for the deposit, consisting
// of the transaction hash.
SourceTransactionId *v1.TransactionId `protobuf:"bytes,6,opt,name=source_transaction_id,json=sourceTransactionId,proto3" json:"source_transaction_id,omitempty"`
// index of the deposit's source action within its transaction
SourceActionIndex uint64 `protobuf:"varint,7,opt,name=source_action_index,json=sourceActionIndex,proto3" json:"source_action_index,omitempty"`
// contains filtered or unexported fields
}
`Deposit` represents a deposit from the sequencer to a rollup.
A `Deposit` is similar to an emitted event, in that the sequencer application detects transfers to bridge accounts and the corresponding rollup ID and includes a `Deposit` corresponding to that within the respective rollup's data.
A `Deposit` notifies a rollup that funds were locked to some account on the sequencer, however it's up to the rollup what to do with that info.
func (*Deposit) GetSourceTransactionId ¶
func (x *Deposit) GetSourceTransactionId() *v1.TransactionId
func (*Deposit) ProtoReflect ¶
func (x *Deposit) ProtoReflect() protoreflect.Message
func (*Deposit) SetSourceTransactionId ¶
func (x *Deposit) SetSourceTransactionId(v *v1.TransactionId)
type Deposit_builder ¶
type Deposit_builder struct {
// the address the funds were locked in on the sequencer.
// this is required as initializing an account as a bridge account
// is permissionless, so the rollup consensus needs to know and enshrine
// which accounts it accepts as valid bridge accounts.
BridgeAddress *v1.Address
// the rollup_id which the funds are being deposited to
RollupId *v1.RollupId
Amount *v1.Uint128
Asset string
// the address on the destination chain which
// will receive the bridged funds
DestinationChainAddress string
// the transaction ID of the source action for the deposit, consisting
// of the transaction hash.
SourceTransactionId *v1.TransactionId
// index of the deposit's source action within its transaction
SourceActionIndex uint64
// contains filtered or unexported fields
}
func (Deposit_builder) Build ¶
func (b0 Deposit_builder) Build() *Deposit
type ExtendedCommitInfoWithProof ¶
type ExtendedCommitInfoWithProof struct {
// The extended commit info for the block, if vote extensions were enabled at this height.
ExtendedCommitInfo []byte `protobuf:"bytes,1,opt,name=extended_commit_info,json=extendedCommitInfo,proto3" json:"extended_commit_info,omitempty"`
// The proof that the extended commit info is included in the cometbft block data (if it
// exists).
Proof *v1.Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
// contains filtered or unexported fields
}
If no upgrade change hashes exist in the block, this will be the third item in the cometbft block data field, otherwise it will be fourth.
func (*ExtendedCommitInfoWithProof) ClearProof ¶
func (x *ExtendedCommitInfoWithProof) ClearProof()
func (*ExtendedCommitInfoWithProof) GetExtendedCommitInfo ¶
func (x *ExtendedCommitInfoWithProof) GetExtendedCommitInfo() []byte
func (*ExtendedCommitInfoWithProof) GetProof ¶
func (x *ExtendedCommitInfoWithProof) GetProof() *v1.Proof
func (*ExtendedCommitInfoWithProof) HasProof ¶
func (x *ExtendedCommitInfoWithProof) HasProof() bool
func (*ExtendedCommitInfoWithProof) ProtoMessage ¶
func (*ExtendedCommitInfoWithProof) ProtoMessage()
func (*ExtendedCommitInfoWithProof) ProtoReflect ¶
func (x *ExtendedCommitInfoWithProof) ProtoReflect() protoreflect.Message
func (*ExtendedCommitInfoWithProof) Reset ¶
func (x *ExtendedCommitInfoWithProof) Reset()
func (*ExtendedCommitInfoWithProof) SetExtendedCommitInfo ¶
func (x *ExtendedCommitInfoWithProof) SetExtendedCommitInfo(v []byte)
func (*ExtendedCommitInfoWithProof) SetProof ¶
func (x *ExtendedCommitInfoWithProof) SetProof(v *v1.Proof)
func (*ExtendedCommitInfoWithProof) String ¶
func (x *ExtendedCommitInfoWithProof) String() string
type ExtendedCommitInfoWithProof_builder ¶
type ExtendedCommitInfoWithProof_builder struct {
// The extended commit info for the block, if vote extensions were enabled at this height.
ExtendedCommitInfo []byte
// The proof that the extended commit info is included in the cometbft block data (if it
// exists).
Proof *v1.Proof
// contains filtered or unexported fields
}
func (ExtendedCommitInfoWithProof_builder) Build ¶
func (b0 ExtendedCommitInfoWithProof_builder) Build() *ExtendedCommitInfoWithProof
type FilteredSequencerBlock ¶
type FilteredSequencerBlock struct {
// / The block hash of the cometbft block that corresponds to this sequencer block.
BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
// the block header, which contains sequencer-specific commitments.
Header *SequencerBlockHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
// A subset of rollup transactions that were included in this block.
RollupTransactions []*RollupTransactions `protobuf:"bytes,3,rep,name=rollup_transactions,json=rollupTransactions,proto3" json:"rollup_transactions,omitempty"`
// The proof that the rollup transactions are included in the CometBFT block this
// sequencer block is derived form. This proof together with
// `rollup_transactions_root = Sha256(MTH(rollup_transactions))` must match `header.data_hash`.
// `MTH(rollup_transactions)` is the Merkle Tree Hash derived from the
// rollup transactions.
RollupTransactionsProof *v1.Proof `` /* 132-byte string literal not displayed */
// The rollup IDs for which `CelestiaRollupBlob`s were submitted to celestia.
// Corresponds to the `astria.sequencer.v1.RollupTransactions.rollup_id` field
// and is extracted from `astria.SequencerBlock.rollup_transactions`.
// Note that these are all the rollup IDs in the sequencer block, not merely those in
// `rollup_transactions` field. This is necessary to prove that no rollup IDs were omitted.
AllRollupIds []*v1.RollupId `protobuf:"bytes,5,rep,name=all_rollup_ids,json=allRollupIds,proto3" json:"all_rollup_ids,omitempty"`
// The proof that the `rollup_ids` are included
// in the CometBFT block this sequencer block is derived form.
//
// This proof is used to verify that the relayer that posts to celestia
// includes all rollup IDs and does not censor any.
//
// This proof together with `Sha256(MTH(rollup_ids))` must match `header.data_hash`.
// `MTH(rollup_ids)` is the Merkle Tree Hash derived from the rollup IDs listed in
// the rollup transactions.
RollupIdsProof *v1.Proof `protobuf:"bytes,6,opt,name=rollup_ids_proof,json=rollupIdsProof,proto3" json:"rollup_ids_proof,omitempty"`
// The SHA256 digests of all upgrade changes applied during this block, if an upgrade was
// activated at this height.
UpgradeChangeHashes [][]byte `protobuf:"bytes,7,rep,name=upgrade_change_hashes,json=upgradeChangeHashes,proto3" json:"upgrade_change_hashes,omitempty"`
// The extended commit info with proof for the block, if vote extensions were enabled at this
// height.
ExtendedCommitInfoWithProof *ExtendedCommitInfoWithProof `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
`FilteredSequencerBlock` is similar to `SequencerBlock` but with a subset of the rollup transactions.
func (*FilteredSequencerBlock) ClearExtendedCommitInfoWithProof ¶
func (x *FilteredSequencerBlock) ClearExtendedCommitInfoWithProof()
func (*FilteredSequencerBlock) ClearHeader ¶
func (x *FilteredSequencerBlock) ClearHeader()
func (*FilteredSequencerBlock) ClearRollupIdsProof ¶
func (x *FilteredSequencerBlock) ClearRollupIdsProof()
func (*FilteredSequencerBlock) ClearRollupTransactionsProof ¶
func (x *FilteredSequencerBlock) ClearRollupTransactionsProof()
func (*FilteredSequencerBlock) GetAllRollupIds ¶
func (x *FilteredSequencerBlock) GetAllRollupIds() []*v1.RollupId
func (*FilteredSequencerBlock) GetBlockHash ¶
func (x *FilteredSequencerBlock) GetBlockHash() []byte
func (*FilteredSequencerBlock) GetExtendedCommitInfoWithProof ¶
func (x *FilteredSequencerBlock) GetExtendedCommitInfoWithProof() *ExtendedCommitInfoWithProof
func (*FilteredSequencerBlock) GetHeader ¶
func (x *FilteredSequencerBlock) GetHeader() *SequencerBlockHeader
func (*FilteredSequencerBlock) GetRollupIdsProof ¶
func (x *FilteredSequencerBlock) GetRollupIdsProof() *v1.Proof
func (*FilteredSequencerBlock) GetRollupTransactions ¶
func (x *FilteredSequencerBlock) GetRollupTransactions() []*RollupTransactions
func (*FilteredSequencerBlock) GetRollupTransactionsProof ¶
func (x *FilteredSequencerBlock) GetRollupTransactionsProof() *v1.Proof
func (*FilteredSequencerBlock) GetUpgradeChangeHashes ¶
func (x *FilteredSequencerBlock) GetUpgradeChangeHashes() [][]byte
func (*FilteredSequencerBlock) HasExtendedCommitInfoWithProof ¶
func (x *FilteredSequencerBlock) HasExtendedCommitInfoWithProof() bool
func (*FilteredSequencerBlock) HasHeader ¶
func (x *FilteredSequencerBlock) HasHeader() bool
func (*FilteredSequencerBlock) HasRollupIdsProof ¶
func (x *FilteredSequencerBlock) HasRollupIdsProof() bool
func (*FilteredSequencerBlock) HasRollupTransactionsProof ¶
func (x *FilteredSequencerBlock) HasRollupTransactionsProof() bool
func (*FilteredSequencerBlock) ProtoMessage ¶
func (*FilteredSequencerBlock) ProtoMessage()
func (*FilteredSequencerBlock) ProtoReflect ¶
func (x *FilteredSequencerBlock) ProtoReflect() protoreflect.Message
func (*FilteredSequencerBlock) Reset ¶
func (x *FilteredSequencerBlock) Reset()
func (*FilteredSequencerBlock) SetAllRollupIds ¶
func (x *FilteredSequencerBlock) SetAllRollupIds(v []*v1.RollupId)
func (*FilteredSequencerBlock) SetBlockHash ¶
func (x *FilteredSequencerBlock) SetBlockHash(v []byte)
func (*FilteredSequencerBlock) SetExtendedCommitInfoWithProof ¶
func (x *FilteredSequencerBlock) SetExtendedCommitInfoWithProof(v *ExtendedCommitInfoWithProof)
func (*FilteredSequencerBlock) SetHeader ¶
func (x *FilteredSequencerBlock) SetHeader(v *SequencerBlockHeader)
func (*FilteredSequencerBlock) SetRollupIdsProof ¶
func (x *FilteredSequencerBlock) SetRollupIdsProof(v *v1.Proof)
func (*FilteredSequencerBlock) SetRollupTransactions ¶
func (x *FilteredSequencerBlock) SetRollupTransactions(v []*RollupTransactions)
func (*FilteredSequencerBlock) SetRollupTransactionsProof ¶
func (x *FilteredSequencerBlock) SetRollupTransactionsProof(v *v1.Proof)
func (*FilteredSequencerBlock) SetUpgradeChangeHashes ¶
func (x *FilteredSequencerBlock) SetUpgradeChangeHashes(v [][]byte)
func (*FilteredSequencerBlock) String ¶
func (x *FilteredSequencerBlock) String() string
type FilteredSequencerBlock_builder ¶
type FilteredSequencerBlock_builder struct {
// / The block hash of the cometbft block that corresponds to this sequencer block.
BlockHash []byte
// the block header, which contains sequencer-specific commitments.
Header *SequencerBlockHeader
// A subset of rollup transactions that were included in this block.
RollupTransactions []*RollupTransactions
// The proof that the rollup transactions are included in the CometBFT block this
// sequencer block is derived form. This proof together with
// `rollup_transactions_root = Sha256(MTH(rollup_transactions))` must match `header.data_hash`.
// `MTH(rollup_transactions)` is the Merkle Tree Hash derived from the
// rollup transactions.
RollupTransactionsProof *v1.Proof
// The rollup IDs for which `CelestiaRollupBlob`s were submitted to celestia.
// Corresponds to the `astria.sequencer.v1.RollupTransactions.rollup_id` field
// and is extracted from `astria.SequencerBlock.rollup_transactions`.
// Note that these are all the rollup IDs in the sequencer block, not merely those in
// `rollup_transactions` field. This is necessary to prove that no rollup IDs were omitted.
AllRollupIds []*v1.RollupId
// The proof that the `rollup_ids` are included
// in the CometBFT block this sequencer block is derived form.
//
// This proof is used to verify that the relayer that posts to celestia
// includes all rollup IDs and does not censor any.
//
// This proof together with `Sha256(MTH(rollup_ids))` must match `header.data_hash`.
// `MTH(rollup_ids)` is the Merkle Tree Hash derived from the rollup IDs listed in
// the rollup transactions.
RollupIdsProof *v1.Proof
// The SHA256 digests of all upgrade changes applied during this block, if an upgrade was
// activated at this height.
UpgradeChangeHashes [][]byte
// The extended commit info with proof for the block, if vote extensions were enabled at this
// height.
ExtendedCommitInfoWithProof *ExtendedCommitInfoWithProof
// contains filtered or unexported fields
}
func (FilteredSequencerBlock_builder) Build ¶
func (b0 FilteredSequencerBlock_builder) Build() *FilteredSequencerBlock
type GetFilteredSequencerBlockRequest ¶
type GetFilteredSequencerBlockRequest struct {
// The height of the block to retrieve.
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// The 32 bytes identifying a rollup. Usually the sha256 hash of a plain rollup name.
RollupIds []*v1.RollupId `protobuf:"bytes,2,rep,name=rollup_ids,json=rollupIds,proto3" json:"rollup_ids,omitempty"`
// contains filtered or unexported fields
}
func (*GetFilteredSequencerBlockRequest) GetHeight ¶
func (x *GetFilteredSequencerBlockRequest) GetHeight() uint64
func (*GetFilteredSequencerBlockRequest) GetRollupIds ¶
func (x *GetFilteredSequencerBlockRequest) GetRollupIds() []*v1.RollupId
func (*GetFilteredSequencerBlockRequest) ProtoMessage ¶
func (*GetFilteredSequencerBlockRequest) ProtoMessage()
func (*GetFilteredSequencerBlockRequest) ProtoReflect ¶
func (x *GetFilteredSequencerBlockRequest) ProtoReflect() protoreflect.Message
func (*GetFilteredSequencerBlockRequest) Reset ¶
func (x *GetFilteredSequencerBlockRequest) Reset()
func (*GetFilteredSequencerBlockRequest) SetHeight ¶
func (x *GetFilteredSequencerBlockRequest) SetHeight(v uint64)
func (*GetFilteredSequencerBlockRequest) SetRollupIds ¶
func (x *GetFilteredSequencerBlockRequest) SetRollupIds(v []*v1.RollupId)
func (*GetFilteredSequencerBlockRequest) String ¶
func (x *GetFilteredSequencerBlockRequest) String() string
type GetFilteredSequencerBlockRequest_builder ¶
type GetFilteredSequencerBlockRequest_builder struct {
// The height of the block to retrieve.
Height uint64
// The 32 bytes identifying a rollup. Usually the sha256 hash of a plain rollup name.
RollupIds []*v1.RollupId
// contains filtered or unexported fields
}
func (GetFilteredSequencerBlockRequest_builder) Build ¶
func (b0 GetFilteredSequencerBlockRequest_builder) Build() *GetFilteredSequencerBlockRequest
type GetPendingNonceRequest ¶
type GetPendingNonceRequest struct {
// The account to retrieve the pending nonce for.
Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*GetPendingNonceRequest) ClearAddress ¶
func (x *GetPendingNonceRequest) ClearAddress()
func (*GetPendingNonceRequest) GetAddress ¶
func (x *GetPendingNonceRequest) GetAddress() *v1.Address
func (*GetPendingNonceRequest) HasAddress ¶
func (x *GetPendingNonceRequest) HasAddress() bool
func (*GetPendingNonceRequest) ProtoMessage ¶
func (*GetPendingNonceRequest) ProtoMessage()
func (*GetPendingNonceRequest) ProtoReflect ¶
func (x *GetPendingNonceRequest) ProtoReflect() protoreflect.Message
func (*GetPendingNonceRequest) Reset ¶
func (x *GetPendingNonceRequest) Reset()
func (*GetPendingNonceRequest) SetAddress ¶
func (x *GetPendingNonceRequest) SetAddress(v *v1.Address)
func (*GetPendingNonceRequest) String ¶
func (x *GetPendingNonceRequest) String() string
type GetPendingNonceRequest_builder ¶
type GetPendingNonceRequest_builder struct {
// The account to retrieve the pending nonce for.
Address *v1.Address
// contains filtered or unexported fields
}
func (GetPendingNonceRequest_builder) Build ¶
func (b0 GetPendingNonceRequest_builder) Build() *GetPendingNonceRequest
type GetPendingNonceResponse ¶
type GetPendingNonceResponse struct {
// The pending nonce for the given account.
Inner uint32 `protobuf:"varint,1,opt,name=inner,proto3" json:"inner,omitempty"`
// contains filtered or unexported fields
}
func (*GetPendingNonceResponse) GetInner ¶
func (x *GetPendingNonceResponse) GetInner() uint32
func (*GetPendingNonceResponse) ProtoMessage ¶
func (*GetPendingNonceResponse) ProtoMessage()
func (*GetPendingNonceResponse) ProtoReflect ¶
func (x *GetPendingNonceResponse) ProtoReflect() protoreflect.Message
func (*GetPendingNonceResponse) Reset ¶
func (x *GetPendingNonceResponse) Reset()
func (*GetPendingNonceResponse) SetInner ¶
func (x *GetPendingNonceResponse) SetInner(v uint32)
func (*GetPendingNonceResponse) String ¶
func (x *GetPendingNonceResponse) String() string
type GetPendingNonceResponse_builder ¶
type GetPendingNonceResponse_builder struct {
// The pending nonce for the given account.
Inner uint32
// contains filtered or unexported fields
}
func (GetPendingNonceResponse_builder) Build ¶
func (b0 GetPendingNonceResponse_builder) Build() *GetPendingNonceResponse
type GetSequencerBlockRequest ¶
type GetSequencerBlockRequest struct {
// The height of the block to retrieve.
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*GetSequencerBlockRequest) GetHeight ¶
func (x *GetSequencerBlockRequest) GetHeight() uint64
func (*GetSequencerBlockRequest) ProtoMessage ¶
func (*GetSequencerBlockRequest) ProtoMessage()
func (*GetSequencerBlockRequest) ProtoReflect ¶
func (x *GetSequencerBlockRequest) ProtoReflect() protoreflect.Message
func (*GetSequencerBlockRequest) Reset ¶
func (x *GetSequencerBlockRequest) Reset()
func (*GetSequencerBlockRequest) SetHeight ¶
func (x *GetSequencerBlockRequest) SetHeight(v uint64)
func (*GetSequencerBlockRequest) String ¶
func (x *GetSequencerBlockRequest) String() string
type GetSequencerBlockRequest_builder ¶
type GetSequencerBlockRequest_builder struct {
// The height of the block to retrieve.
Height uint64
// contains filtered or unexported fields
}
func (GetSequencerBlockRequest_builder) Build ¶
func (b0 GetSequencerBlockRequest_builder) Build() *GetSequencerBlockRequest
type GetUpgradesInfoRequest ¶
type GetUpgradesInfoRequest struct {
// contains filtered or unexported fields
}
func (*GetUpgradesInfoRequest) ProtoMessage ¶
func (*GetUpgradesInfoRequest) ProtoMessage()
func (*GetUpgradesInfoRequest) ProtoReflect ¶
func (x *GetUpgradesInfoRequest) ProtoReflect() protoreflect.Message
func (*GetUpgradesInfoRequest) Reset ¶
func (x *GetUpgradesInfoRequest) Reset()
func (*GetUpgradesInfoRequest) String ¶
func (x *GetUpgradesInfoRequest) String() string
type GetUpgradesInfoRequest_builder ¶
type GetUpgradesInfoRequest_builder struct {
// contains filtered or unexported fields
}
func (GetUpgradesInfoRequest_builder) Build ¶
func (b0 GetUpgradesInfoRequest_builder) Build() *GetUpgradesInfoRequest
type GetUpgradesInfoResponse ¶
type GetUpgradesInfoResponse struct {
Applied []*GetUpgradesInfoResponse_ChangeInfo `protobuf:"bytes,1,rep,name=applied,proto3" json:"applied,omitempty"`
Scheduled []*GetUpgradesInfoResponse_ChangeInfo `protobuf:"bytes,2,rep,name=scheduled,proto3" json:"scheduled,omitempty"`
// contains filtered or unexported fields
}
func (*GetUpgradesInfoResponse) GetApplied ¶
func (x *GetUpgradesInfoResponse) GetApplied() []*GetUpgradesInfoResponse_ChangeInfo
func (*GetUpgradesInfoResponse) GetScheduled ¶
func (x *GetUpgradesInfoResponse) GetScheduled() []*GetUpgradesInfoResponse_ChangeInfo
func (*GetUpgradesInfoResponse) ProtoMessage ¶
func (*GetUpgradesInfoResponse) ProtoMessage()
func (*GetUpgradesInfoResponse) ProtoReflect ¶
func (x *GetUpgradesInfoResponse) ProtoReflect() protoreflect.Message
func (*GetUpgradesInfoResponse) Reset ¶
func (x *GetUpgradesInfoResponse) Reset()
func (*GetUpgradesInfoResponse) SetApplied ¶
func (x *GetUpgradesInfoResponse) SetApplied(v []*GetUpgradesInfoResponse_ChangeInfo)
func (*GetUpgradesInfoResponse) SetScheduled ¶
func (x *GetUpgradesInfoResponse) SetScheduled(v []*GetUpgradesInfoResponse_ChangeInfo)
func (*GetUpgradesInfoResponse) String ¶
func (x *GetUpgradesInfoResponse) String() string
type GetUpgradesInfoResponse_ChangeInfo ¶
type GetUpgradesInfoResponse_ChangeInfo struct {
// The block height at which this change was applied.
ActivationHeight uint64 `protobuf:"varint,1,opt,name=activation_height,json=activationHeight,proto3" json:"activation_height,omitempty"`
// The human-readable name assigned to to this change.
ChangeName string `protobuf:"bytes,2,opt,name=change_name,json=changeName,proto3" json:"change_name,omitempty"`
// The app version running after the change was applied.
AppVersion uint64 `protobuf:"varint,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
// The SHA256 digest of this change after Borsh-encoding. The digest is base64 (standard) encoded.
Base64Hash string `protobuf:"bytes,4,opt,name=base64_hash,json=base64Hash,proto3" json:"base64_hash,omitempty"`
// contains filtered or unexported fields
}
Brief details of a given upgrade change.
func (*GetUpgradesInfoResponse_ChangeInfo) GetActivationHeight ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) GetActivationHeight() uint64
func (*GetUpgradesInfoResponse_ChangeInfo) GetAppVersion ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) GetAppVersion() uint64
func (*GetUpgradesInfoResponse_ChangeInfo) GetBase64Hash ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) GetBase64Hash() string
func (*GetUpgradesInfoResponse_ChangeInfo) GetChangeName ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) GetChangeName() string
func (*GetUpgradesInfoResponse_ChangeInfo) ProtoMessage ¶
func (*GetUpgradesInfoResponse_ChangeInfo) ProtoMessage()
func (*GetUpgradesInfoResponse_ChangeInfo) ProtoReflect ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) ProtoReflect() protoreflect.Message
func (*GetUpgradesInfoResponse_ChangeInfo) Reset ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) Reset()
func (*GetUpgradesInfoResponse_ChangeInfo) SetActivationHeight ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) SetActivationHeight(v uint64)
func (*GetUpgradesInfoResponse_ChangeInfo) SetAppVersion ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) SetAppVersion(v uint64)
func (*GetUpgradesInfoResponse_ChangeInfo) SetBase64Hash ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) SetBase64Hash(v string)
func (*GetUpgradesInfoResponse_ChangeInfo) SetChangeName ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) SetChangeName(v string)
func (*GetUpgradesInfoResponse_ChangeInfo) String ¶
func (x *GetUpgradesInfoResponse_ChangeInfo) String() string
type GetUpgradesInfoResponse_ChangeInfo_builder ¶
type GetUpgradesInfoResponse_ChangeInfo_builder struct {
// The block height at which this change was applied.
ActivationHeight uint64
// The human-readable name assigned to to this change.
ChangeName string
// The app version running after the change was applied.
AppVersion uint64
// The SHA256 digest of this change after Borsh-encoding. The digest is base64 (standard) encoded.
Base64Hash string
// contains filtered or unexported fields
}
func (GetUpgradesInfoResponse_ChangeInfo_builder) Build ¶
func (b0 GetUpgradesInfoResponse_ChangeInfo_builder) Build() *GetUpgradesInfoResponse_ChangeInfo
type GetUpgradesInfoResponse_builder ¶
type GetUpgradesInfoResponse_builder struct {
Applied []*GetUpgradesInfoResponse_ChangeInfo
Scheduled []*GetUpgradesInfoResponse_ChangeInfo
// contains filtered or unexported fields
}
func (GetUpgradesInfoResponse_builder) Build ¶
func (b0 GetUpgradesInfoResponse_builder) Build() *GetUpgradesInfoResponse
type GetValidatorNameRequest ¶
type GetValidatorNameRequest struct {
// The account to retrieve the validator name for.
Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*GetValidatorNameRequest) ClearAddress ¶
func (x *GetValidatorNameRequest) ClearAddress()
func (*GetValidatorNameRequest) GetAddress ¶
func (x *GetValidatorNameRequest) GetAddress() *v1.Address
func (*GetValidatorNameRequest) HasAddress ¶
func (x *GetValidatorNameRequest) HasAddress() bool
func (*GetValidatorNameRequest) ProtoMessage ¶
func (*GetValidatorNameRequest) ProtoMessage()
func (*GetValidatorNameRequest) ProtoReflect ¶
func (x *GetValidatorNameRequest) ProtoReflect() protoreflect.Message
func (*GetValidatorNameRequest) Reset ¶
func (x *GetValidatorNameRequest) Reset()
func (*GetValidatorNameRequest) SetAddress ¶
func (x *GetValidatorNameRequest) SetAddress(v *v1.Address)
func (*GetValidatorNameRequest) String ¶
func (x *GetValidatorNameRequest) String() string
type GetValidatorNameRequest_builder ¶
type GetValidatorNameRequest_builder struct {
// The account to retrieve the validator name for.
Address *v1.Address
// contains filtered or unexported fields
}
func (GetValidatorNameRequest_builder) Build ¶
func (b0 GetValidatorNameRequest_builder) Build() *GetValidatorNameRequest
type GetValidatorNameResponse ¶
type GetValidatorNameResponse struct {
// The validator name for the given account.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetValidatorNameResponse) GetName ¶
func (x *GetValidatorNameResponse) GetName() string
func (*GetValidatorNameResponse) ProtoMessage ¶
func (*GetValidatorNameResponse) ProtoMessage()
func (*GetValidatorNameResponse) ProtoReflect ¶
func (x *GetValidatorNameResponse) ProtoReflect() protoreflect.Message
func (*GetValidatorNameResponse) Reset ¶
func (x *GetValidatorNameResponse) Reset()
func (*GetValidatorNameResponse) SetName ¶
func (x *GetValidatorNameResponse) SetName(v string)
func (*GetValidatorNameResponse) String ¶
func (x *GetValidatorNameResponse) String() string
type GetValidatorNameResponse_builder ¶
type GetValidatorNameResponse_builder struct {
// The validator name for the given account.
Name string
// contains filtered or unexported fields
}
func (GetValidatorNameResponse_builder) Build ¶
func (b0 GetValidatorNameResponse_builder) Build() *GetValidatorNameResponse
type Price ¶
type Price struct {
CurrencyPair *v2.CurrencyPair `protobuf:"bytes,1,opt,name=currency_pair,json=currencyPair,proto3" json:"currency_pair,omitempty"`
Price *v1.Int128 `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
Decimals uint64 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`
// contains filtered or unexported fields
}
func (*Price) GetCurrencyPair ¶
func (x *Price) GetCurrencyPair() *v2.CurrencyPair
func (*Price) ProtoReflect ¶
func (x *Price) ProtoReflect() protoreflect.Message
func (*Price) SetCurrencyPair ¶
func (x *Price) SetCurrencyPair(v *v2.CurrencyPair)
type PriceFeedData ¶
type PriceFeedData struct {
Prices []*Price `protobuf:"bytes,1,rep,name=prices,proto3" json:"prices,omitempty"`
// contains filtered or unexported fields
}
func (*PriceFeedData) GetPrices ¶
func (x *PriceFeedData) GetPrices() []*Price
func (*PriceFeedData) ProtoMessage ¶
func (*PriceFeedData) ProtoMessage()
func (*PriceFeedData) ProtoReflect ¶
func (x *PriceFeedData) ProtoReflect() protoreflect.Message
func (*PriceFeedData) Reset ¶
func (x *PriceFeedData) Reset()
func (*PriceFeedData) SetPrices ¶
func (x *PriceFeedData) SetPrices(v []*Price)
func (*PriceFeedData) String ¶
func (x *PriceFeedData) String() string
type PriceFeedData_builder ¶
type PriceFeedData_builder struct {
Prices []*Price
// contains filtered or unexported fields
}
func (PriceFeedData_builder) Build ¶
func (b0 PriceFeedData_builder) Build() *PriceFeedData
type Price_builder ¶
type Price_builder struct {
CurrencyPair *v2.CurrencyPair
Price *v1.Int128
Decimals uint64
// contains filtered or unexported fields
}
func (Price_builder) Build ¶
func (b0 Price_builder) Build() *Price
type RollupData ¶
type RollupData struct {
// Types that are valid to be assigned to Value:
//
// *RollupData_SequencedData
// *RollupData_Deposit
// *RollupData_PriceFeedData
Value isRollupData_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
A piece of data that is sent to a rollup execution node.
The data can be either sequenced data (originating from a `SequenceAction` submitted by a user) or a `Deposit` originating from a `BridgeLockAction`.
The rollup node receives this type from conductor and must decode them accordingly.
func (*RollupData) ClearDeposit ¶
func (x *RollupData) ClearDeposit()
func (*RollupData) ClearPriceFeedData ¶
func (x *RollupData) ClearPriceFeedData()
func (*RollupData) ClearSequencedData ¶
func (x *RollupData) ClearSequencedData()
func (*RollupData) ClearValue ¶
func (x *RollupData) ClearValue()
func (*RollupData) GetDeposit ¶
func (x *RollupData) GetDeposit() *Deposit
func (*RollupData) GetPriceFeedData ¶
func (x *RollupData) GetPriceFeedData() *PriceFeedData
func (*RollupData) GetSequencedData ¶
func (x *RollupData) GetSequencedData() []byte
func (*RollupData) GetValue ¶
func (x *RollupData) GetValue() isRollupData_Value
func (*RollupData) HasDeposit ¶
func (x *RollupData) HasDeposit() bool
func (*RollupData) HasPriceFeedData ¶
func (x *RollupData) HasPriceFeedData() bool
func (*RollupData) HasSequencedData ¶
func (x *RollupData) HasSequencedData() bool
func (*RollupData) HasValue ¶
func (x *RollupData) HasValue() bool
func (*RollupData) ProtoMessage ¶
func (*RollupData) ProtoMessage()
func (*RollupData) ProtoReflect ¶
func (x *RollupData) ProtoReflect() protoreflect.Message
func (*RollupData) Reset ¶
func (x *RollupData) Reset()
func (*RollupData) SetDeposit ¶
func (x *RollupData) SetDeposit(v *Deposit)
func (*RollupData) SetPriceFeedData ¶
func (x *RollupData) SetPriceFeedData(v *PriceFeedData)
func (*RollupData) SetSequencedData ¶
func (x *RollupData) SetSequencedData(v []byte)
func (*RollupData) String ¶
func (x *RollupData) String() string
func (*RollupData) WhichValue ¶
func (x *RollupData) WhichValue() case_RollupData_Value
type RollupData_Deposit ¶
type RollupData_Deposit struct {
Deposit *Deposit `protobuf:"bytes,2,opt,name=deposit,proto3,oneof"`
}
type RollupData_PriceFeedData ¶
type RollupData_PriceFeedData struct {
PriceFeedData *PriceFeedData `protobuf:"bytes,3,opt,name=price_feed_data,json=priceFeedData,proto3,oneof"`
}
type RollupData_SequencedData ¶
type RollupData_SequencedData struct {
SequencedData []byte `protobuf:"bytes,1,opt,name=sequenced_data,json=sequencedData,proto3,oneof"`
}
type RollupData_builder ¶
type RollupData_builder struct {
// Fields of oneof Value:
SequencedData []byte
Deposit *Deposit
PriceFeedData *PriceFeedData
// contains filtered or unexported fields
}
func (RollupData_builder) Build ¶
func (b0 RollupData_builder) Build() *RollupData
type RollupTransactions ¶
type RollupTransactions struct {
// The 32 bytes identifying a rollup. Usually the sha256 hash of a plain rollup name.
RollupId *v1.RollupId `protobuf:"bytes,1,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
// The serialized bytes of the rollup data.
// Each entry is a protobuf-encoded `RollupData` message.
Transactions [][]byte `protobuf:"bytes,2,rep,name=transactions,proto3" json:"transactions,omitempty"`
// The proof that these rollup transactions are included in sequencer block.
// `astria.sequencer.v1alpha.SequencerBlock.rollup_transactions_proof`.
Proof *v1.Proof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"`
// contains filtered or unexported fields
}
`RollupTransactions` are a sequence of opaque bytes together with a 32 byte identifier of that rollup.
The binary encoding is understood as an implementation detail of the services sending and receiving the transactions.
func (*RollupTransactions) ClearProof ¶
func (x *RollupTransactions) ClearProof()
func (*RollupTransactions) ClearRollupId ¶
func (x *RollupTransactions) ClearRollupId()
func (*RollupTransactions) GetProof ¶
func (x *RollupTransactions) GetProof() *v1.Proof
func (*RollupTransactions) GetRollupId ¶
func (x *RollupTransactions) GetRollupId() *v1.RollupId
func (*RollupTransactions) GetTransactions ¶
func (x *RollupTransactions) GetTransactions() [][]byte
func (*RollupTransactions) HasProof ¶
func (x *RollupTransactions) HasProof() bool
func (*RollupTransactions) HasRollupId ¶
func (x *RollupTransactions) HasRollupId() bool
func (*RollupTransactions) ProtoMessage ¶
func (*RollupTransactions) ProtoMessage()
func (*RollupTransactions) ProtoReflect ¶
func (x *RollupTransactions) ProtoReflect() protoreflect.Message
func (*RollupTransactions) Reset ¶
func (x *RollupTransactions) Reset()
func (*RollupTransactions) SetProof ¶
func (x *RollupTransactions) SetProof(v *v1.Proof)
func (*RollupTransactions) SetRollupId ¶
func (x *RollupTransactions) SetRollupId(v *v1.RollupId)
func (*RollupTransactions) SetTransactions ¶
func (x *RollupTransactions) SetTransactions(v [][]byte)
func (*RollupTransactions) String ¶
func (x *RollupTransactions) String() string
type RollupTransactions_builder ¶
type RollupTransactions_builder struct {
// The 32 bytes identifying a rollup. Usually the sha256 hash of a plain rollup name.
RollupId *v1.RollupId
// The serialized bytes of the rollup data.
// Each entry is a protobuf-encoded `RollupData` message.
Transactions [][]byte
// The proof that these rollup transactions are included in sequencer block.
// `astria.sequencer.v1alpha.SequencerBlock.rollup_transactions_proof`.
Proof *v1.Proof
// contains filtered or unexported fields
}
func (RollupTransactions_builder) Build ¶
func (b0 RollupTransactions_builder) Build() *RollupTransactions
type SequencerBlock ¶
type SequencerBlock struct {
// the block header, which contains sequencer-specific commitments.
Header *SequencerBlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
// The collection of rollup transactions that were included in this block.
RollupTransactions []*RollupTransactions `protobuf:"bytes,2,rep,name=rollup_transactions,json=rollupTransactions,proto3" json:"rollup_transactions,omitempty"`
// The proof that the rollup transactions are included in the CometBFT block this
// sequencer block is derived form. This proof together with
// `Sha256(MTH(rollup_transactions))` must match `header.data_hash`.
// `MTH(rollup_transactions)` is the Merkle Tree Hash derived from the
// rollup transactions.
RollupTransactionsProof *v1.Proof `` /* 132-byte string literal not displayed */
// The proof that the rollup IDs listed in `rollup_transactions` are included
// in the CometBFT block this sequencer block is derived form.
//
// This proof is used to verify that the relayer that posts to celestia
// includes all rollup IDs and does not censor any.
//
// This proof together with `Sha256(MTH(rollup_ids))` must match `header.data_hash`.
// `MTH(rollup_ids)` is the Merkle Tree Hash derived from the rollup IDs listed in
// the rollup transactions.
RollupIdsProof *v1.Proof `protobuf:"bytes,4,opt,name=rollup_ids_proof,json=rollupIdsProof,proto3" json:"rollup_ids_proof,omitempty"`
// / The block hash of the cometbft block that corresponds to this sequencer block.
BlockHash []byte `protobuf:"bytes,5,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
// The SHA256 digests of all upgrade changes applied during this block, if an upgrade was
// activated at this height.
UpgradeChangeHashes [][]byte `protobuf:"bytes,6,rep,name=upgrade_change_hashes,json=upgradeChangeHashes,proto3" json:"upgrade_change_hashes,omitempty"`
// The extended commit info with proof for the block, if vote extensions were enabled at this
// height.
ExtendedCommitInfoWithProof *ExtendedCommitInfoWithProof `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
`SequencerBlock` is constructed from a tendermint/cometbft block by converting its opaque `data` bytes into sequencer specific types.
func (*SequencerBlock) ClearExtendedCommitInfoWithProof ¶
func (x *SequencerBlock) ClearExtendedCommitInfoWithProof()
func (*SequencerBlock) ClearHeader ¶
func (x *SequencerBlock) ClearHeader()
func (*SequencerBlock) ClearRollupIdsProof ¶
func (x *SequencerBlock) ClearRollupIdsProof()
func (*SequencerBlock) ClearRollupTransactionsProof ¶
func (x *SequencerBlock) ClearRollupTransactionsProof()
func (*SequencerBlock) GetBlockHash ¶
func (x *SequencerBlock) GetBlockHash() []byte
func (*SequencerBlock) GetExtendedCommitInfoWithProof ¶
func (x *SequencerBlock) GetExtendedCommitInfoWithProof() *ExtendedCommitInfoWithProof
func (*SequencerBlock) GetHeader ¶
func (x *SequencerBlock) GetHeader() *SequencerBlockHeader
func (*SequencerBlock) GetRollupIdsProof ¶
func (x *SequencerBlock) GetRollupIdsProof() *v1.Proof
func (*SequencerBlock) GetRollupTransactions ¶
func (x *SequencerBlock) GetRollupTransactions() []*RollupTransactions
func (*SequencerBlock) GetRollupTransactionsProof ¶
func (x *SequencerBlock) GetRollupTransactionsProof() *v1.Proof
func (*SequencerBlock) GetUpgradeChangeHashes ¶
func (x *SequencerBlock) GetUpgradeChangeHashes() [][]byte
func (*SequencerBlock) HasExtendedCommitInfoWithProof ¶
func (x *SequencerBlock) HasExtendedCommitInfoWithProof() bool
func (*SequencerBlock) HasHeader ¶
func (x *SequencerBlock) HasHeader() bool
func (*SequencerBlock) HasRollupIdsProof ¶
func (x *SequencerBlock) HasRollupIdsProof() bool
func (*SequencerBlock) HasRollupTransactionsProof ¶
func (x *SequencerBlock) HasRollupTransactionsProof() bool
func (*SequencerBlock) ProtoMessage ¶
func (*SequencerBlock) ProtoMessage()
func (*SequencerBlock) ProtoReflect ¶
func (x *SequencerBlock) ProtoReflect() protoreflect.Message
func (*SequencerBlock) Reset ¶
func (x *SequencerBlock) Reset()
func (*SequencerBlock) SetBlockHash ¶
func (x *SequencerBlock) SetBlockHash(v []byte)
func (*SequencerBlock) SetExtendedCommitInfoWithProof ¶
func (x *SequencerBlock) SetExtendedCommitInfoWithProof(v *ExtendedCommitInfoWithProof)
func (*SequencerBlock) SetHeader ¶
func (x *SequencerBlock) SetHeader(v *SequencerBlockHeader)
func (*SequencerBlock) SetRollupIdsProof ¶
func (x *SequencerBlock) SetRollupIdsProof(v *v1.Proof)
func (*SequencerBlock) SetRollupTransactions ¶
func (x *SequencerBlock) SetRollupTransactions(v []*RollupTransactions)
func (*SequencerBlock) SetRollupTransactionsProof ¶
func (x *SequencerBlock) SetRollupTransactionsProof(v *v1.Proof)
func (*SequencerBlock) SetUpgradeChangeHashes ¶
func (x *SequencerBlock) SetUpgradeChangeHashes(v [][]byte)
func (*SequencerBlock) String ¶
func (x *SequencerBlock) String() string
type SequencerBlockHeader ¶
type SequencerBlockHeader struct {
// the cometbft chain ID of the sequencer chain
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// the height of this sequencer block
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// the timestamp of this sequencer block
Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
// the data_hash of the sequencer block (merkle root of all transaction hashes)
DataHash []byte `protobuf:"bytes,4,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
// the cometbft proposer address of the sequencer block
ProposerAddress []byte `protobuf:"bytes,5,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
// The 32-byte merkle root of all the rollup transactions in the block,
// Corresponds to `MHT(astria.SequencerBlock.rollup_transactions)`,
RollupTransactionsRoot []byte `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SequencerBlockHeader) ClearTime ¶
func (x *SequencerBlockHeader) ClearTime()
func (*SequencerBlockHeader) GetChainId ¶
func (x *SequencerBlockHeader) GetChainId() string
func (*SequencerBlockHeader) GetDataHash ¶
func (x *SequencerBlockHeader) GetDataHash() []byte
func (*SequencerBlockHeader) GetHeight ¶
func (x *SequencerBlockHeader) GetHeight() uint64
func (*SequencerBlockHeader) GetProposerAddress ¶
func (x *SequencerBlockHeader) GetProposerAddress() []byte
func (*SequencerBlockHeader) GetRollupTransactionsRoot ¶
func (x *SequencerBlockHeader) GetRollupTransactionsRoot() []byte
func (*SequencerBlockHeader) GetTime ¶
func (x *SequencerBlockHeader) GetTime() *timestamppb.Timestamp
func (*SequencerBlockHeader) HasTime ¶
func (x *SequencerBlockHeader) HasTime() bool
func (*SequencerBlockHeader) ProtoMessage ¶
func (*SequencerBlockHeader) ProtoMessage()
func (*SequencerBlockHeader) ProtoReflect ¶
func (x *SequencerBlockHeader) ProtoReflect() protoreflect.Message
func (*SequencerBlockHeader) Reset ¶
func (x *SequencerBlockHeader) Reset()
func (*SequencerBlockHeader) SetChainId ¶
func (x *SequencerBlockHeader) SetChainId(v string)
func (*SequencerBlockHeader) SetDataHash ¶
func (x *SequencerBlockHeader) SetDataHash(v []byte)
func (*SequencerBlockHeader) SetHeight ¶
func (x *SequencerBlockHeader) SetHeight(v uint64)
func (*SequencerBlockHeader) SetProposerAddress ¶
func (x *SequencerBlockHeader) SetProposerAddress(v []byte)
func (*SequencerBlockHeader) SetRollupTransactionsRoot ¶
func (x *SequencerBlockHeader) SetRollupTransactionsRoot(v []byte)
func (*SequencerBlockHeader) SetTime ¶
func (x *SequencerBlockHeader) SetTime(v *timestamppb.Timestamp)
func (*SequencerBlockHeader) String ¶
func (x *SequencerBlockHeader) String() string
type SequencerBlockHeader_builder ¶
type SequencerBlockHeader_builder struct {
// the cometbft chain ID of the sequencer chain
ChainId string
// the height of this sequencer block
Height uint64
// the timestamp of this sequencer block
Time *timestamppb.Timestamp
// the data_hash of the sequencer block (merkle root of all transaction hashes)
DataHash []byte
// the cometbft proposer address of the sequencer block
ProposerAddress []byte
// The 32-byte merkle root of all the rollup transactions in the block,
// Corresponds to `MHT(astria.SequencerBlock.rollup_transactions)`,
RollupTransactionsRoot []byte
// contains filtered or unexported fields
}
func (SequencerBlockHeader_builder) Build ¶
func (b0 SequencerBlockHeader_builder) Build() *SequencerBlockHeader
type SequencerBlock_builder ¶
type SequencerBlock_builder struct {
// the block header, which contains sequencer-specific commitments.
Header *SequencerBlockHeader
// The collection of rollup transactions that were included in this block.
RollupTransactions []*RollupTransactions
// The proof that the rollup transactions are included in the CometBFT block this
// sequencer block is derived form. This proof together with
// `Sha256(MTH(rollup_transactions))` must match `header.data_hash`.
// `MTH(rollup_transactions)` is the Merkle Tree Hash derived from the
// rollup transactions.
RollupTransactionsProof *v1.Proof
// The proof that the rollup IDs listed in `rollup_transactions` are included
// in the CometBFT block this sequencer block is derived form.
//
// This proof is used to verify that the relayer that posts to celestia
// includes all rollup IDs and does not censor any.
//
// This proof together with `Sha256(MTH(rollup_ids))` must match `header.data_hash`.
// `MTH(rollup_ids)` is the Merkle Tree Hash derived from the rollup IDs listed in
// the rollup transactions.
RollupIdsProof *v1.Proof
// / The block hash of the cometbft block that corresponds to this sequencer block.
BlockHash []byte
// The SHA256 digests of all upgrade changes applied during this block, if an upgrade was
// activated at this height.
UpgradeChangeHashes [][]byte
// The extended commit info with proof for the block, if vote extensions were enabled at this
// height.
ExtendedCommitInfoWithProof *ExtendedCommitInfoWithProof
// contains filtered or unexported fields
}
func (SequencerBlock_builder) Build ¶
func (b0 SequencerBlock_builder) Build() *SequencerBlock
type SubmittedMetadata ¶
type SubmittedMetadata struct {
// the 32-byte block hash of the sequencer block.
BlockHash []byte `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
// the block header, which contains sequencer-specific commitments.
Header *SequencerBlockHeader `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
// The rollup IDs that had transactions included in the `astria.sequencerblock.v1.SequencerBlock`
// that this object is derived from.
// Corresponds to `astria.sequencerblock.v1.RollupTransactions.rollup_id`
// extracted from `astria.sequencerblock.v1.SsequencerBlock.rollup_transactions`.
RollupIds []*v1.RollupId `protobuf:"bytes,3,rep,name=rollup_ids,json=rollupIds,proto3" json:"rollup_ids,omitempty"`
// The proof that the rollup transactions are included in sequencer block.
// Corresponds to `astria.sequencerblock.v1.SequencerBlock.rollup_transactions_proof`.
RollupTransactionsProof *v1.Proof `` /* 132-byte string literal not displayed */
// The proof that the rollup IDs are included in sequencer block.
// Corresponds to `astria.sequencerblock.v1.SequencerBlock.rollup_ids_proof`.
RollupIdsProof *v1.Proof `protobuf:"bytes,5,opt,name=rollup_ids_proof,json=rollupIdsProof,proto3" json:"rollup_ids_proof,omitempty"`
// The SHA256 digests of all upgrade changes applied during this block, if an upgrade was
// activated at this height.
UpgradeChangeHashes [][]byte `protobuf:"bytes,6,rep,name=upgrade_change_hashes,json=upgradeChangeHashes,proto3" json:"upgrade_change_hashes,omitempty"`
// The extended commit info with proof for the block, if vote extensions were enabled at this
// height.
ExtendedCommitInfoWithProof *ExtendedCommitInfoWithProof `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
The metadata of a sequencer block that is submitted to a Data Availability provider like Celestia
It is created by splitting an `astria.sequencerblock.v1.SequencerBlock` into a `astria.sequencerblock.v1.SubmittedMetadata` (this object), and a sequence of `astria.sequencerblock.v1alpha.SubmittedRollupData` (one object per rollup that had data included in the sequencer block).
The original sequencer block (and in turn CometBFT block) can be identified by the `block_hash` field.
func (*SubmittedMetadata) ClearExtendedCommitInfoWithProof ¶
func (x *SubmittedMetadata) ClearExtendedCommitInfoWithProof()
func (*SubmittedMetadata) ClearHeader ¶
func (x *SubmittedMetadata) ClearHeader()
func (*SubmittedMetadata) ClearRollupIdsProof ¶
func (x *SubmittedMetadata) ClearRollupIdsProof()
func (*SubmittedMetadata) ClearRollupTransactionsProof ¶
func (x *SubmittedMetadata) ClearRollupTransactionsProof()
func (*SubmittedMetadata) GetBlockHash ¶
func (x *SubmittedMetadata) GetBlockHash() []byte
func (*SubmittedMetadata) GetExtendedCommitInfoWithProof ¶
func (x *SubmittedMetadata) GetExtendedCommitInfoWithProof() *ExtendedCommitInfoWithProof
func (*SubmittedMetadata) GetHeader ¶
func (x *SubmittedMetadata) GetHeader() *SequencerBlockHeader
func (*SubmittedMetadata) GetRollupIds ¶
func (x *SubmittedMetadata) GetRollupIds() []*v1.RollupId
func (*SubmittedMetadata) GetRollupIdsProof ¶
func (x *SubmittedMetadata) GetRollupIdsProof() *v1.Proof
func (*SubmittedMetadata) GetRollupTransactionsProof ¶
func (x *SubmittedMetadata) GetRollupTransactionsProof() *v1.Proof
func (*SubmittedMetadata) GetUpgradeChangeHashes ¶
func (x *SubmittedMetadata) GetUpgradeChangeHashes() [][]byte
func (*SubmittedMetadata) HasExtendedCommitInfoWithProof ¶
func (x *SubmittedMetadata) HasExtendedCommitInfoWithProof() bool
func (*SubmittedMetadata) HasHeader ¶
func (x *SubmittedMetadata) HasHeader() bool
func (*SubmittedMetadata) HasRollupIdsProof ¶
func (x *SubmittedMetadata) HasRollupIdsProof() bool
func (*SubmittedMetadata) HasRollupTransactionsProof ¶
func (x *SubmittedMetadata) HasRollupTransactionsProof() bool
func (*SubmittedMetadata) ProtoMessage ¶
func (*SubmittedMetadata) ProtoMessage()
func (*SubmittedMetadata) ProtoReflect ¶
func (x *SubmittedMetadata) ProtoReflect() protoreflect.Message
func (*SubmittedMetadata) Reset ¶
func (x *SubmittedMetadata) Reset()
func (*SubmittedMetadata) SetBlockHash ¶
func (x *SubmittedMetadata) SetBlockHash(v []byte)
func (*SubmittedMetadata) SetExtendedCommitInfoWithProof ¶
func (x *SubmittedMetadata) SetExtendedCommitInfoWithProof(v *ExtendedCommitInfoWithProof)
func (*SubmittedMetadata) SetHeader ¶
func (x *SubmittedMetadata) SetHeader(v *SequencerBlockHeader)
func (*SubmittedMetadata) SetRollupIds ¶
func (x *SubmittedMetadata) SetRollupIds(v []*v1.RollupId)
func (*SubmittedMetadata) SetRollupIdsProof ¶
func (x *SubmittedMetadata) SetRollupIdsProof(v *v1.Proof)
func (*SubmittedMetadata) SetRollupTransactionsProof ¶
func (x *SubmittedMetadata) SetRollupTransactionsProof(v *v1.Proof)
func (*SubmittedMetadata) SetUpgradeChangeHashes ¶
func (x *SubmittedMetadata) SetUpgradeChangeHashes(v [][]byte)
func (*SubmittedMetadata) String ¶
func (x *SubmittedMetadata) String() string
type SubmittedMetadataList ¶
type SubmittedMetadataList struct {
Entries []*SubmittedMetadata `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
A sequence of `astria.sequencerblock.v1.SubmittedMetadata` submitted to Celestia.
func (*SubmittedMetadataList) GetEntries ¶
func (x *SubmittedMetadataList) GetEntries() []*SubmittedMetadata
func (*SubmittedMetadataList) ProtoMessage ¶
func (*SubmittedMetadataList) ProtoMessage()
func (*SubmittedMetadataList) ProtoReflect ¶
func (x *SubmittedMetadataList) ProtoReflect() protoreflect.Message
func (*SubmittedMetadataList) Reset ¶
func (x *SubmittedMetadataList) Reset()
func (*SubmittedMetadataList) SetEntries ¶
func (x *SubmittedMetadataList) SetEntries(v []*SubmittedMetadata)
func (*SubmittedMetadataList) String ¶
func (x *SubmittedMetadataList) String() string
type SubmittedMetadataList_builder ¶
type SubmittedMetadataList_builder struct {
Entries []*SubmittedMetadata
// contains filtered or unexported fields
}
func (SubmittedMetadataList_builder) Build ¶
func (b0 SubmittedMetadataList_builder) Build() *SubmittedMetadataList
type SubmittedMetadata_builder ¶
type SubmittedMetadata_builder struct {
// the 32-byte block hash of the sequencer block.
BlockHash []byte
// the block header, which contains sequencer-specific commitments.
Header *SequencerBlockHeader
// The rollup IDs that had transactions included in the `astria.sequencerblock.v1.SequencerBlock`
// that this object is derived from.
// Corresponds to `astria.sequencerblock.v1.RollupTransactions.rollup_id`
// extracted from `astria.sequencerblock.v1.SsequencerBlock.rollup_transactions`.
RollupIds []*v1.RollupId
// The proof that the rollup transactions are included in sequencer block.
// Corresponds to `astria.sequencerblock.v1.SequencerBlock.rollup_transactions_proof`.
RollupTransactionsProof *v1.Proof
// The proof that the rollup IDs are included in sequencer block.
// Corresponds to `astria.sequencerblock.v1.SequencerBlock.rollup_ids_proof`.
RollupIdsProof *v1.Proof
// The SHA256 digests of all upgrade changes applied during this block, if an upgrade was
// activated at this height.
UpgradeChangeHashes [][]byte
// The extended commit info with proof for the block, if vote extensions were enabled at this
// height.
ExtendedCommitInfoWithProof *ExtendedCommitInfoWithProof
// contains filtered or unexported fields
}
func (SubmittedMetadata_builder) Build ¶
func (b0 SubmittedMetadata_builder) Build() *SubmittedMetadata
type SubmittedRollupData ¶
type SubmittedRollupData struct {
// The hash of the sequencer block. Must be 32 bytes.
SequencerBlockHash []byte `protobuf:"bytes,1,opt,name=sequencer_block_hash,json=sequencerBlockHash,proto3" json:"sequencer_block_hash,omitempty"`
// The 32 bytes identifying the rollup this blob belongs to. Matches
// `astria.sequencer.v1.RollupTransactions.rollup_id`
RollupId *v1.RollupId `protobuf:"bytes,2,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
// A list of opaque bytes that are serialized rollup transactions.
Transactions [][]byte `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
// The proof that these rollup transactions are included in sequencer block.
// `astria.sequencer.v1alpha.SequencerBlock.rollup_transactions_proof`.
Proof *v1.Proof `protobuf:"bytes,4,opt,name=proof,proto3" json:"proof,omitempty"`
// contains filtered or unexported fields
}
A collection of transactions belonging to a specific Rollup that is submitted to a Data Availability provider like Celestia.
It is created by splitting an `astria.sequencerblock.v1.SequencerBlock` into a `astria.sequencerblock.v1.SubmittedMetadata`, and a sequence of `astria.sequencerblock.v1alpha.SubmittedRollupData` (this object; one object per rollup that had data included in the sequencer block).
The original sequencer block (and in turn CometBFT block) can be identified by the `sequencer_block_hash` field.
func (*SubmittedRollupData) ClearProof ¶
func (x *SubmittedRollupData) ClearProof()
func (*SubmittedRollupData) ClearRollupId ¶
func (x *SubmittedRollupData) ClearRollupId()
func (*SubmittedRollupData) GetProof ¶
func (x *SubmittedRollupData) GetProof() *v1.Proof
func (*SubmittedRollupData) GetRollupId ¶
func (x *SubmittedRollupData) GetRollupId() *v1.RollupId
func (*SubmittedRollupData) GetSequencerBlockHash ¶
func (x *SubmittedRollupData) GetSequencerBlockHash() []byte
func (*SubmittedRollupData) GetTransactions ¶
func (x *SubmittedRollupData) GetTransactions() [][]byte
func (*SubmittedRollupData) HasProof ¶
func (x *SubmittedRollupData) HasProof() bool
func (*SubmittedRollupData) HasRollupId ¶
func (x *SubmittedRollupData) HasRollupId() bool
func (*SubmittedRollupData) ProtoMessage ¶
func (*SubmittedRollupData) ProtoMessage()
func (*SubmittedRollupData) ProtoReflect ¶
func (x *SubmittedRollupData) ProtoReflect() protoreflect.Message
func (*SubmittedRollupData) Reset ¶
func (x *SubmittedRollupData) Reset()
func (*SubmittedRollupData) SetProof ¶
func (x *SubmittedRollupData) SetProof(v *v1.Proof)
func (*SubmittedRollupData) SetRollupId ¶
func (x *SubmittedRollupData) SetRollupId(v *v1.RollupId)
func (*SubmittedRollupData) SetSequencerBlockHash ¶
func (x *SubmittedRollupData) SetSequencerBlockHash(v []byte)
func (*SubmittedRollupData) SetTransactions ¶
func (x *SubmittedRollupData) SetTransactions(v [][]byte)
func (*SubmittedRollupData) String ¶
func (x *SubmittedRollupData) String() string
type SubmittedRollupDataList ¶
type SubmittedRollupDataList struct {
Entries []*SubmittedRollupData `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
// contains filtered or unexported fields
}
A sequence of `astria.sequencerblock.v1.SubmittedRollupData` submitted to Celestia.
func (*SubmittedRollupDataList) GetEntries ¶
func (x *SubmittedRollupDataList) GetEntries() []*SubmittedRollupData
func (*SubmittedRollupDataList) ProtoMessage ¶
func (*SubmittedRollupDataList) ProtoMessage()
func (*SubmittedRollupDataList) ProtoReflect ¶
func (x *SubmittedRollupDataList) ProtoReflect() protoreflect.Message
func (*SubmittedRollupDataList) Reset ¶
func (x *SubmittedRollupDataList) Reset()
func (*SubmittedRollupDataList) SetEntries ¶
func (x *SubmittedRollupDataList) SetEntries(v []*SubmittedRollupData)
func (*SubmittedRollupDataList) String ¶
func (x *SubmittedRollupDataList) String() string
type SubmittedRollupDataList_builder ¶
type SubmittedRollupDataList_builder struct {
Entries []*SubmittedRollupData
// contains filtered or unexported fields
}
func (SubmittedRollupDataList_builder) Build ¶
func (b0 SubmittedRollupDataList_builder) Build() *SubmittedRollupDataList
type SubmittedRollupData_builder ¶
type SubmittedRollupData_builder struct {
// The hash of the sequencer block. Must be 32 bytes.
SequencerBlockHash []byte
// The 32 bytes identifying the rollup this blob belongs to. Matches
// `astria.sequencer.v1.RollupTransactions.rollup_id`
RollupId *v1.RollupId
// A list of opaque bytes that are serialized rollup transactions.
Transactions [][]byte
// The proof that these rollup transactions are included in sequencer block.
// `astria.sequencer.v1alpha.SequencerBlock.rollup_transactions_proof`.
Proof *v1.Proof
// contains filtered or unexported fields
}
func (SubmittedRollupData_builder) Build ¶
func (b0 SubmittedRollupData_builder) Build() *SubmittedRollupData
Source Files
¶
- block.pb.go
- celestia.pb.go
- service.pb.go