sequencerv1

package
v1.36.11-2024041701505... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const Action_BridgeLockAction_case case_Action_Value = 11
View Source
const Action_FeeAssetChangeAction_case case_Action_Value = 9
View Source
const Action_IbcAction_case case_Action_Value = 6
View Source
const Action_IbcRelayerChangeAction_case case_Action_Value = 8
View Source
const Action_Ics20Withdrawal_case case_Action_Value = 7
View Source
const Action_InitBridgeAccountAction_case case_Action_Value = 10
View Source
const Action_MintAction_case case_Action_Value = 5
View Source
const Action_SequenceAction_case case_Action_Value = 2
View Source
const Action_SudoAddressChangeAction_case case_Action_Value = 4
View Source
const Action_TransferAction_case case_Action_Value = 1
View Source
const Action_ValidatorUpdateAction_case case_Action_Value = 3
View Source
const Action_Value_not_set_case case_Action_Value = 0
View Source
const FeeAssetChangeAction_Addition_case case_FeeAssetChangeAction_Value = 1
View Source
const FeeAssetChangeAction_Removal_case case_FeeAssetChangeAction_Value = 2
View Source
const FeeAssetChangeAction_Value_not_set_case case_FeeAssetChangeAction_Value = 0
View Source
const IbcRelayerChangeAction_Addition_case case_IbcRelayerChangeAction_Value = 1
View Source
const IbcRelayerChangeAction_Removal_case case_IbcRelayerChangeAction_Value = 2
View Source
const IbcRelayerChangeAction_Value_not_set_case case_IbcRelayerChangeAction_Value = 0
View Source
const RollupData_Deposit_case case_RollupData_Value = 2
View Source
const RollupData_SequencedData_case case_RollupData_Value = 1
View Source
const RollupData_Value_not_set_case case_RollupData_Value = 0

Variables

View Source
var File_astria_sequencer_v1_account_proto protoreflect.FileDescriptor
View Source
var File_astria_sequencer_v1_asset_proto protoreflect.FileDescriptor
View Source
var File_astria_sequencer_v1_block_proto protoreflect.FileDescriptor
View Source
var File_astria_sequencer_v1_celestia_proto protoreflect.FileDescriptor
View Source
var File_astria_sequencer_v1_merkle_proto protoreflect.FileDescriptor
View Source
var File_astria_sequencer_v1_service_proto protoreflect.FileDescriptor
View Source
var File_astria_sequencer_v1_transaction_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Action

type Action struct {

	// Types that are valid to be assigned to Value:
	//
	//	*Action_TransferAction
	//	*Action_SequenceAction
	//	*Action_ValidatorUpdateAction
	//	*Action_SudoAddressChangeAction
	//	*Action_MintAction
	//	*Action_IbcAction
	//	*Action_Ics20Withdrawal
	//	*Action_IbcRelayerChangeAction
	//	*Action_FeeAssetChangeAction
	//	*Action_InitBridgeAccountAction
	//	*Action_BridgeLockAction
	Value isAction_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Action) ClearBridgeLockAction

func (x *Action) ClearBridgeLockAction()

func (*Action) ClearFeeAssetChangeAction

func (x *Action) ClearFeeAssetChangeAction()

func (*Action) ClearIbcAction

func (x *Action) ClearIbcAction()

func (*Action) ClearIbcRelayerChangeAction

func (x *Action) ClearIbcRelayerChangeAction()

func (*Action) ClearIcs20Withdrawal

func (x *Action) ClearIcs20Withdrawal()

func (*Action) ClearInitBridgeAccountAction

func (x *Action) ClearInitBridgeAccountAction()

func (*Action) ClearMintAction

func (x *Action) ClearMintAction()

func (*Action) ClearSequenceAction

func (x *Action) ClearSequenceAction()

func (*Action) ClearSudoAddressChangeAction

func (x *Action) ClearSudoAddressChangeAction()

func (*Action) ClearTransferAction

func (x *Action) ClearTransferAction()

func (*Action) ClearValidatorUpdateAction

func (x *Action) ClearValidatorUpdateAction()

func (*Action) ClearValue

func (x *Action) ClearValue()

func (*Action) GetBridgeLockAction

func (x *Action) GetBridgeLockAction() *BridgeLockAction

func (*Action) GetFeeAssetChangeAction

func (x *Action) GetFeeAssetChangeAction() *FeeAssetChangeAction

func (*Action) GetIbcAction

func (x *Action) GetIbcAction() *v1.IbcRelay

func (*Action) GetIbcRelayerChangeAction

func (x *Action) GetIbcRelayerChangeAction() *IbcRelayerChangeAction

func (*Action) GetIcs20Withdrawal

func (x *Action) GetIcs20Withdrawal() *Ics20Withdrawal

func (*Action) GetInitBridgeAccountAction

func (x *Action) GetInitBridgeAccountAction() *InitBridgeAccountAction

func (*Action) GetMintAction

func (x *Action) GetMintAction() *MintAction

func (*Action) GetSequenceAction

func (x *Action) GetSequenceAction() *SequenceAction

func (*Action) GetSudoAddressChangeAction

func (x *Action) GetSudoAddressChangeAction() *SudoAddressChangeAction

func (*Action) GetTransferAction

func (x *Action) GetTransferAction() *TransferAction

func (*Action) GetValidatorUpdateAction

func (x *Action) GetValidatorUpdateAction() *abci.ValidatorUpdate

func (*Action) GetValue

func (x *Action) GetValue() isAction_Value

func (*Action) HasBridgeLockAction

func (x *Action) HasBridgeLockAction() bool

func (*Action) HasFeeAssetChangeAction

func (x *Action) HasFeeAssetChangeAction() bool

func (*Action) HasIbcAction

func (x *Action) HasIbcAction() bool

func (*Action) HasIbcRelayerChangeAction

func (x *Action) HasIbcRelayerChangeAction() bool

func (*Action) HasIcs20Withdrawal

func (x *Action) HasIcs20Withdrawal() bool

func (*Action) HasInitBridgeAccountAction

func (x *Action) HasInitBridgeAccountAction() bool

func (*Action) HasMintAction

func (x *Action) HasMintAction() bool

func (*Action) HasSequenceAction

func (x *Action) HasSequenceAction() bool

func (*Action) HasSudoAddressChangeAction

func (x *Action) HasSudoAddressChangeAction() bool

func (*Action) HasTransferAction

func (x *Action) HasTransferAction() bool

func (*Action) HasValidatorUpdateAction

func (x *Action) HasValidatorUpdateAction() bool

func (*Action) HasValue

func (x *Action) HasValue() bool

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset

func (x *Action) Reset()

func (*Action) SetBridgeLockAction

func (x *Action) SetBridgeLockAction(v *BridgeLockAction)

func (*Action) SetFeeAssetChangeAction

func (x *Action) SetFeeAssetChangeAction(v *FeeAssetChangeAction)

func (*Action) SetIbcAction

func (x *Action) SetIbcAction(v *v1.IbcRelay)

func (*Action) SetIbcRelayerChangeAction

func (x *Action) SetIbcRelayerChangeAction(v *IbcRelayerChangeAction)

func (*Action) SetIcs20Withdrawal

func (x *Action) SetIcs20Withdrawal(v *Ics20Withdrawal)

func (*Action) SetInitBridgeAccountAction

func (x *Action) SetInitBridgeAccountAction(v *InitBridgeAccountAction)

func (*Action) SetMintAction

func (x *Action) SetMintAction(v *MintAction)

func (*Action) SetSequenceAction

func (x *Action) SetSequenceAction(v *SequenceAction)

func (*Action) SetSudoAddressChangeAction

func (x *Action) SetSudoAddressChangeAction(v *SudoAddressChangeAction)

func (*Action) SetTransferAction

func (x *Action) SetTransferAction(v *TransferAction)

func (*Action) SetValidatorUpdateAction

func (x *Action) SetValidatorUpdateAction(v *abci.ValidatorUpdate)

func (*Action) String

func (x *Action) String() string

func (*Action) WhichValue

func (x *Action) WhichValue() case_Action_Value

type Action_BridgeLockAction

type Action_BridgeLockAction struct {
	BridgeLockAction *BridgeLockAction `protobuf:"bytes,11,opt,name=bridge_lock_action,json=bridgeLockAction,proto3,oneof"`
}

type Action_FeeAssetChangeAction

type Action_FeeAssetChangeAction struct {
	FeeAssetChangeAction *FeeAssetChangeAction `protobuf:"bytes,9,opt,name=fee_asset_change_action,json=feeAssetChangeAction,proto3,oneof"`
}

type Action_IbcAction

type Action_IbcAction struct {
	IbcAction *v1.IbcRelay `protobuf:"bytes,6,opt,name=ibc_action,json=ibcAction,proto3,oneof"`
}

type Action_IbcRelayerChangeAction

type Action_IbcRelayerChangeAction struct {
	IbcRelayerChangeAction *IbcRelayerChangeAction `protobuf:"bytes,8,opt,name=ibc_relayer_change_action,json=ibcRelayerChangeAction,proto3,oneof"`
}

type Action_Ics20Withdrawal

type Action_Ics20Withdrawal struct {
	Ics20Withdrawal *Ics20Withdrawal `protobuf:"bytes,7,opt,name=ics20_withdrawal,json=ics20Withdrawal,proto3,oneof"`
}

type Action_InitBridgeAccountAction

type Action_InitBridgeAccountAction struct {
	InitBridgeAccountAction *InitBridgeAccountAction `protobuf:"bytes,10,opt,name=init_bridge_account_action,json=initBridgeAccountAction,proto3,oneof"`
}

type Action_MintAction

type Action_MintAction struct {
	MintAction *MintAction `protobuf:"bytes,5,opt,name=mint_action,json=mintAction,proto3,oneof"`
}

type Action_SequenceAction

type Action_SequenceAction struct {
	SequenceAction *SequenceAction `protobuf:"bytes,2,opt,name=sequence_action,json=sequenceAction,proto3,oneof"`
}

type Action_SudoAddressChangeAction

type Action_SudoAddressChangeAction struct {
	SudoAddressChangeAction *SudoAddressChangeAction `protobuf:"bytes,4,opt,name=sudo_address_change_action,json=sudoAddressChangeAction,proto3,oneof"`
}

type Action_TransferAction

type Action_TransferAction struct {
	TransferAction *TransferAction `protobuf:"bytes,1,opt,name=transfer_action,json=transferAction,proto3,oneof"`
}

type Action_ValidatorUpdateAction

type Action_ValidatorUpdateAction struct {
	ValidatorUpdateAction *abci.ValidatorUpdate `protobuf:"bytes,3,opt,name=validator_update_action,json=validatorUpdateAction,proto3,oneof"`
}

type Action_builder

type Action_builder struct {

	// Fields of oneof Value:
	TransferAction          *TransferAction
	SequenceAction          *SequenceAction
	ValidatorUpdateAction   *abci.ValidatorUpdate
	SudoAddressChangeAction *SudoAddressChangeAction
	MintAction              *MintAction
	IbcAction               *v1.IbcRelay
	Ics20Withdrawal         *Ics20Withdrawal
	IbcRelayerChangeAction  *IbcRelayerChangeAction
	FeeAssetChangeAction    *FeeAssetChangeAction
	InitBridgeAccountAction *InitBridgeAccountAction
	BridgeLockAction        *BridgeLockAction
	// contains filtered or unexported fields
}

func (Action_builder) Build

func (b0 Action_builder) Build() *Action

type AssetBalance

type AssetBalance struct {
	Denom   string      `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Balance *v1.Uint128 `protobuf:"bytes,2,opt,name=balance,proto3" json:"balance,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetBalance) ClearBalance

func (x *AssetBalance) ClearBalance()

func (*AssetBalance) GetBalance

func (x *AssetBalance) GetBalance() *v1.Uint128

func (*AssetBalance) GetDenom

func (x *AssetBalance) GetDenom() string

func (*AssetBalance) HasBalance

func (x *AssetBalance) HasBalance() bool

func (*AssetBalance) ProtoMessage

func (*AssetBalance) ProtoMessage()

func (*AssetBalance) ProtoReflect

func (x *AssetBalance) ProtoReflect() protoreflect.Message

func (*AssetBalance) Reset

func (x *AssetBalance) Reset()

func (*AssetBalance) SetBalance

func (x *AssetBalance) SetBalance(v *v1.Uint128)

func (*AssetBalance) SetDenom

func (x *AssetBalance) SetDenom(v string)

func (*AssetBalance) String

func (x *AssetBalance) String() string

type AssetBalance_builder

type AssetBalance_builder struct {
	Denom   string
	Balance *v1.Uint128
	// contains filtered or unexported fields
}

func (AssetBalance_builder) Build

func (b0 AssetBalance_builder) Build() *AssetBalance

type BalanceResponse

type BalanceResponse struct {
	Height   uint64          `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Balances []*AssetBalance `protobuf:"bytes,3,rep,name=balances,proto3" json:"balances,omitempty"`
	// contains filtered or unexported fields
}

A response containing the balance of an account.

func (*BalanceResponse) GetBalances

func (x *BalanceResponse) GetBalances() []*AssetBalance

func (*BalanceResponse) GetHeight

func (x *BalanceResponse) GetHeight() uint64

func (*BalanceResponse) ProtoMessage

func (*BalanceResponse) ProtoMessage()

func (*BalanceResponse) ProtoReflect

func (x *BalanceResponse) ProtoReflect() protoreflect.Message

func (*BalanceResponse) Reset

func (x *BalanceResponse) Reset()

func (*BalanceResponse) SetBalances

func (x *BalanceResponse) SetBalances(v []*AssetBalance)

func (*BalanceResponse) SetHeight

func (x *BalanceResponse) SetHeight(v uint64)

func (*BalanceResponse) String

func (x *BalanceResponse) String() string

type BalanceResponse_builder

type BalanceResponse_builder struct {
	Height   uint64
	Balances []*AssetBalance
	// contains filtered or unexported fields
}

func (BalanceResponse_builder) Build

type BridgeLockAction

type BridgeLockAction struct {

	// the address of the bridge account to transfer to
	To []byte `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	// the amount to transfer
	Amount *v11.Uint128 `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// the asset to be transferred
	AssetId []byte `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// the asset used to pay the transaction fee
	FeeAssetId []byte `protobuf:"bytes,4,opt,name=fee_asset_id,json=feeAssetId,proto3" json:"fee_asset_id,omitempty"`
	// the address on the destination chain which
	// will receive the bridged funds
	DestinationChainAddress string `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

`BridgeLockAction` represents a transaction that transfers funds from a sequencer account to a bridge account.

It's the same as a `TransferAction` but with the added `destination_chain_address` field.

func (*BridgeLockAction) ClearAmount

func (x *BridgeLockAction) ClearAmount()

func (*BridgeLockAction) GetAmount

func (x *BridgeLockAction) GetAmount() *v11.Uint128

func (*BridgeLockAction) GetAssetId

func (x *BridgeLockAction) GetAssetId() []byte

func (*BridgeLockAction) GetDestinationChainAddress

func (x *BridgeLockAction) GetDestinationChainAddress() string

func (*BridgeLockAction) GetFeeAssetId

func (x *BridgeLockAction) GetFeeAssetId() []byte

func (*BridgeLockAction) GetTo

func (x *BridgeLockAction) GetTo() []byte

func (*BridgeLockAction) HasAmount

func (x *BridgeLockAction) HasAmount() bool

func (*BridgeLockAction) ProtoMessage

func (*BridgeLockAction) ProtoMessage()

func (*BridgeLockAction) ProtoReflect

func (x *BridgeLockAction) ProtoReflect() protoreflect.Message

func (*BridgeLockAction) Reset

func (x *BridgeLockAction) Reset()

func (*BridgeLockAction) SetAmount

func (x *BridgeLockAction) SetAmount(v *v11.Uint128)

func (*BridgeLockAction) SetAssetId

func (x *BridgeLockAction) SetAssetId(v []byte)

func (*BridgeLockAction) SetDestinationChainAddress

func (x *BridgeLockAction) SetDestinationChainAddress(v string)

func (*BridgeLockAction) SetFeeAssetId

func (x *BridgeLockAction) SetFeeAssetId(v []byte)

func (*BridgeLockAction) SetTo

func (x *BridgeLockAction) SetTo(v []byte)

func (*BridgeLockAction) String

func (x *BridgeLockAction) String() string

type BridgeLockAction_builder

type BridgeLockAction_builder struct {

	// the address of the bridge account to transfer to
	To []byte
	// the amount to transfer
	Amount *v11.Uint128
	// the asset to be transferred
	AssetId []byte
	// the asset used to pay the transaction fee
	FeeAssetId []byte
	// the address on the destination chain which
	// will receive the bridged funds
	DestinationChainAddress string
	// contains filtered or unexported fields
}

func (BridgeLockAction_builder) Build

type CelestiaRollupBlob

type CelestiaRollupBlob 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 []byte `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.sequencerblock.v1alpha1.SequencerBlock.rollup_transactions_proof`.
	Proof *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 are submitted to celestia.

The transactions contained in the item belong to a rollup identified by `rollup_id`, and were included in the sequencer block identified by `sequencer_block_hash`.

func (*CelestiaRollupBlob) ClearProof

func (x *CelestiaRollupBlob) ClearProof()

func (*CelestiaRollupBlob) GetProof

func (x *CelestiaRollupBlob) GetProof() *Proof

func (*CelestiaRollupBlob) GetRollupId

func (x *CelestiaRollupBlob) GetRollupId() []byte

func (*CelestiaRollupBlob) GetSequencerBlockHash

func (x *CelestiaRollupBlob) GetSequencerBlockHash() []byte

func (*CelestiaRollupBlob) GetTransactions

func (x *CelestiaRollupBlob) GetTransactions() [][]byte

func (*CelestiaRollupBlob) HasProof

func (x *CelestiaRollupBlob) HasProof() bool

func (*CelestiaRollupBlob) ProtoMessage

func (*CelestiaRollupBlob) ProtoMessage()

func (*CelestiaRollupBlob) ProtoReflect

func (x *CelestiaRollupBlob) ProtoReflect() protoreflect.Message

func (*CelestiaRollupBlob) Reset

func (x *CelestiaRollupBlob) Reset()

func (*CelestiaRollupBlob) SetProof

func (x *CelestiaRollupBlob) SetProof(v *Proof)

func (*CelestiaRollupBlob) SetRollupId

func (x *CelestiaRollupBlob) SetRollupId(v []byte)

func (*CelestiaRollupBlob) SetSequencerBlockHash

func (x *CelestiaRollupBlob) SetSequencerBlockHash(v []byte)

func (*CelestiaRollupBlob) SetTransactions

func (x *CelestiaRollupBlob) SetTransactions(v [][]byte)

func (*CelestiaRollupBlob) String

func (x *CelestiaRollupBlob) String() string

type CelestiaRollupBlob_builder

type CelestiaRollupBlob_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 []byte
	// A list of opaque bytes that are serialized rollup transactions.
	Transactions [][]byte
	// The proof that these rollup transactions are included in sequencer block.
	// `astria.sequencerblock.v1alpha1.SequencerBlock.rollup_transactions_proof`.
	Proof *Proof
	// contains filtered or unexported fields
}

func (CelestiaRollupBlob_builder) Build

type CelestiaSequencerBlob

type CelestiaSequencerBlob struct {

	// The original CometBFT header that is the input to this blob's original sequencer block.
	// Corresponds to `astria.SequencerBlock.header`.
	Header *types.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// 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`.
	RollupIds [][]byte `protobuf:"bytes,2,rep,name=rollup_ids,json=rollupIds,proto3" json:"rollup_ids,omitempty"`
	// The Merkle Tree Hash of the rollup transactions. Corresponds to
	// `MHT(astria.SequencerBlock.rollup_transactions)`, the Merkle
	// Tree Hash deriveed from the rollup transactions.
	// Always 32 bytes.
	RollupTransactionsRoot []byte `` /* 129-byte string literal not displayed */
	// The proof that the rollup transactions are included in sequencer block.
	// Corresponds to `astria.sequencerblock.v1alpha1.SequencerBlock.rollup_transactions_proof`.
	RollupTransactionsProof *Proof `` /* 132-byte string literal not displayed */
	// The proof that the rollup IDs are included in sequencer block.
	// Corresponds to `astria.sequencerblock.v1alpha1.SequencerBlock.rollup_ids_proof`.
	RollupIdsProof *Proof `protobuf:"bytes,5,opt,name=rollup_ids_proof,json=rollupIdsProof,proto3" json:"rollup_ids_proof,omitempty"`
	// contains filtered or unexported fields
}

The metadata of a sequencer block that is submitted to celestia.

It is created by splitting a `astria.SequencerBlock` into a `CelestiaSequencerBlob` (which can be thought of as a header), and a sequence ofj `CelestiaRollupBlob`s.

The original sequencer block (and in turn CometBFT block) can be identified by the block hash calculated from `header`.

func (*CelestiaSequencerBlob) ClearHeader

func (x *CelestiaSequencerBlob) ClearHeader()

func (*CelestiaSequencerBlob) ClearRollupIdsProof

func (x *CelestiaSequencerBlob) ClearRollupIdsProof()

func (*CelestiaSequencerBlob) ClearRollupTransactionsProof

func (x *CelestiaSequencerBlob) ClearRollupTransactionsProof()

func (*CelestiaSequencerBlob) GetHeader

func (x *CelestiaSequencerBlob) GetHeader() *types.Header

func (*CelestiaSequencerBlob) GetRollupIds

func (x *CelestiaSequencerBlob) GetRollupIds() [][]byte

func (*CelestiaSequencerBlob) GetRollupIdsProof

func (x *CelestiaSequencerBlob) GetRollupIdsProof() *Proof

func (*CelestiaSequencerBlob) GetRollupTransactionsProof

func (x *CelestiaSequencerBlob) GetRollupTransactionsProof() *Proof

func (*CelestiaSequencerBlob) GetRollupTransactionsRoot

func (x *CelestiaSequencerBlob) GetRollupTransactionsRoot() []byte

func (*CelestiaSequencerBlob) HasHeader

func (x *CelestiaSequencerBlob) HasHeader() bool

func (*CelestiaSequencerBlob) HasRollupIdsProof

func (x *CelestiaSequencerBlob) HasRollupIdsProof() bool

func (*CelestiaSequencerBlob) HasRollupTransactionsProof

func (x *CelestiaSequencerBlob) HasRollupTransactionsProof() bool

func (*CelestiaSequencerBlob) ProtoMessage

func (*CelestiaSequencerBlob) ProtoMessage()

func (*CelestiaSequencerBlob) ProtoReflect

func (x *CelestiaSequencerBlob) ProtoReflect() protoreflect.Message

func (*CelestiaSequencerBlob) Reset

func (x *CelestiaSequencerBlob) Reset()

func (*CelestiaSequencerBlob) SetHeader

func (x *CelestiaSequencerBlob) SetHeader(v *types.Header)

func (*CelestiaSequencerBlob) SetRollupIds

func (x *CelestiaSequencerBlob) SetRollupIds(v [][]byte)

func (*CelestiaSequencerBlob) SetRollupIdsProof

func (x *CelestiaSequencerBlob) SetRollupIdsProof(v *Proof)

func (*CelestiaSequencerBlob) SetRollupTransactionsProof

func (x *CelestiaSequencerBlob) SetRollupTransactionsProof(v *Proof)

func (*CelestiaSequencerBlob) SetRollupTransactionsRoot

func (x *CelestiaSequencerBlob) SetRollupTransactionsRoot(v []byte)

func (*CelestiaSequencerBlob) String

func (x *CelestiaSequencerBlob) String() string

type CelestiaSequencerBlob_builder

type CelestiaSequencerBlob_builder struct {

	// The original CometBFT header that is the input to this blob's original sequencer block.
	// Corresponds to `astria.SequencerBlock.header`.
	Header *types.Header
	// 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`.
	RollupIds [][]byte
	// The Merkle Tree Hash of the rollup transactions. Corresponds to
	// `MHT(astria.SequencerBlock.rollup_transactions)`, the Merkle
	// Tree Hash deriveed from the rollup transactions.
	// Always 32 bytes.
	RollupTransactionsRoot []byte
	// The proof that the rollup transactions are included in sequencer block.
	// Corresponds to `astria.sequencerblock.v1alpha1.SequencerBlock.rollup_transactions_proof`.
	RollupTransactionsProof *Proof
	// The proof that the rollup IDs are included in sequencer block.
	// Corresponds to `astria.sequencerblock.v1alpha1.SequencerBlock.rollup_ids_proof`.
	RollupIdsProof *Proof
	// contains filtered or unexported fields
}

func (CelestiaSequencerBlob_builder) Build

type Denom

type Denom struct {
	Id        []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	BaseDenom string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// contains filtered or unexported fields
}

/ Represents a denomination of some asset used within the sequencer. / The `id` is used to identify the asset and for balance accounting.

func (*Denom) GetBaseDenom

func (x *Denom) GetBaseDenom() string

func (*Denom) GetId

func (x *Denom) GetId() []byte

func (*Denom) ProtoMessage

func (*Denom) ProtoMessage()

func (*Denom) ProtoReflect

func (x *Denom) ProtoReflect() protoreflect.Message

func (*Denom) Reset

func (x *Denom) Reset()

func (*Denom) SetBaseDenom

func (x *Denom) SetBaseDenom(v string)

func (*Denom) SetId

func (x *Denom) SetId(v []byte)

func (*Denom) String

func (x *Denom) String() string

type Denom_builder

type Denom_builder struct {
	Id        []byte
	BaseDenom string
	// contains filtered or unexported fields
}

func (Denom_builder) Build

func (b0 Denom_builder) Build() *Denom

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 []byte `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 []byte      `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"`
	AssetId  []byte      `protobuf:"bytes,4,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// the address on the destination chain which
	// will receive the bridged funds
	DestinationChainAddress string `` /* 132-byte string literal not displayed */
	// 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) ClearAmount

func (x *Deposit) ClearAmount()

func (*Deposit) GetAmount

func (x *Deposit) GetAmount() *v1.Uint128

func (*Deposit) GetAssetId

func (x *Deposit) GetAssetId() []byte

func (*Deposit) GetBridgeAddress

func (x *Deposit) GetBridgeAddress() []byte

func (*Deposit) GetDestinationChainAddress

func (x *Deposit) GetDestinationChainAddress() string

func (*Deposit) GetRollupId

func (x *Deposit) GetRollupId() []byte

func (*Deposit) HasAmount

func (x *Deposit) HasAmount() bool

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect

func (x *Deposit) ProtoReflect() protoreflect.Message

func (*Deposit) Reset

func (x *Deposit) Reset()

func (*Deposit) SetAmount

func (x *Deposit) SetAmount(v *v1.Uint128)

func (*Deposit) SetAssetId

func (x *Deposit) SetAssetId(v []byte)

func (*Deposit) SetBridgeAddress

func (x *Deposit) SetBridgeAddress(v []byte)

func (*Deposit) SetDestinationChainAddress

func (x *Deposit) SetDestinationChainAddress(v string)

func (*Deposit) SetRollupId

func (x *Deposit) SetRollupId(v []byte)

func (*Deposit) String

func (x *Deposit) String() string

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 []byte
	// the rollup_id which the funds are being deposited to
	RollupId []byte
	Amount   *v1.Uint128
	AssetId  []byte
	// the address on the destination chain which
	// will receive the bridged funds
	DestinationChainAddress string
	// contains filtered or unexported fields
}

func (Deposit_builder) Build

func (b0 Deposit_builder) Build() *Deposit

type FeeAssetChangeAction

type FeeAssetChangeAction struct {

	// Types that are valid to be assigned to Value:
	//
	//	*FeeAssetChangeAction_Addition
	//	*FeeAssetChangeAction_Removal
	Value isFeeAssetChangeAction_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

`FeeAssetChangeAction` represents a transaction that adds or removes an asset for fee payments. The bytes contained in each variant are the 32-byte asset ID to add or remove.

func (*FeeAssetChangeAction) ClearAddition

func (x *FeeAssetChangeAction) ClearAddition()

func (*FeeAssetChangeAction) ClearRemoval

func (x *FeeAssetChangeAction) ClearRemoval()

func (*FeeAssetChangeAction) ClearValue

func (x *FeeAssetChangeAction) ClearValue()

func (*FeeAssetChangeAction) GetAddition

func (x *FeeAssetChangeAction) GetAddition() []byte

func (*FeeAssetChangeAction) GetRemoval

func (x *FeeAssetChangeAction) GetRemoval() []byte

func (*FeeAssetChangeAction) GetValue

func (x *FeeAssetChangeAction) GetValue() isFeeAssetChangeAction_Value

func (*FeeAssetChangeAction) HasAddition

func (x *FeeAssetChangeAction) HasAddition() bool

func (*FeeAssetChangeAction) HasRemoval

func (x *FeeAssetChangeAction) HasRemoval() bool

func (*FeeAssetChangeAction) HasValue

func (x *FeeAssetChangeAction) HasValue() bool

func (*FeeAssetChangeAction) ProtoMessage

func (*FeeAssetChangeAction) ProtoMessage()

func (*FeeAssetChangeAction) ProtoReflect

func (x *FeeAssetChangeAction) ProtoReflect() protoreflect.Message

func (*FeeAssetChangeAction) Reset

func (x *FeeAssetChangeAction) Reset()

func (*FeeAssetChangeAction) SetAddition

func (x *FeeAssetChangeAction) SetAddition(v []byte)

func (*FeeAssetChangeAction) SetRemoval

func (x *FeeAssetChangeAction) SetRemoval(v []byte)

func (*FeeAssetChangeAction) String

func (x *FeeAssetChangeAction) String() string

func (*FeeAssetChangeAction) WhichValue

func (x *FeeAssetChangeAction) WhichValue() case_FeeAssetChangeAction_Value

type FeeAssetChangeAction_Addition

type FeeAssetChangeAction_Addition struct {
	Addition []byte `protobuf:"bytes,1,opt,name=addition,proto3,oneof"`
}

type FeeAssetChangeAction_Removal

type FeeAssetChangeAction_Removal struct {
	Removal []byte `protobuf:"bytes,2,opt,name=removal,proto3,oneof"`
}

type FeeAssetChangeAction_builder

type FeeAssetChangeAction_builder struct {

	// Fields of oneof Value:
	Addition []byte
	Removal  []byte
	// contains filtered or unexported fields
}

func (FeeAssetChangeAction_builder) Build

type FilteredSequencerBlock

type FilteredSequencerBlock struct {

	// The original CometBFT header that was the input to this sequencer block.
	CometbftHeader *types.Header `protobuf:"bytes,1,opt,name=cometbft_header,json=cometbftHeader,proto3" json:"cometbft_header,omitempty"`
	// A subset 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 Merkle Tree Hash of all the rollup transactions in the block (not just the
	// subset included). Corresponds to `MHT(astria.SequencerBlock.rollup_transactions)`,
	// the Merkle Tree Hash derived from the rollup transactions.
	// Always 32 bytes.
	RollupTransactionsRoot []byte `` /* 129-byte string literal not displayed */
	// 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 *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 [][]byte `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 *Proof `protobuf:"bytes,6,opt,name=rollup_ids_proof,json=rollupIdsProof,proto3" json:"rollup_ids_proof,omitempty"`
	// contains filtered or unexported fields
}

`FilteredSequencerBlock` is similar to `SequencerBlock` but with a subset of the rollup transactions.

func (*FilteredSequencerBlock) ClearCometbftHeader

func (x *FilteredSequencerBlock) ClearCometbftHeader()

func (*FilteredSequencerBlock) ClearRollupIdsProof

func (x *FilteredSequencerBlock) ClearRollupIdsProof()

func (*FilteredSequencerBlock) ClearRollupTransactionsProof

func (x *FilteredSequencerBlock) ClearRollupTransactionsProof()

func (*FilteredSequencerBlock) GetAllRollupIds

func (x *FilteredSequencerBlock) GetAllRollupIds() [][]byte

func (*FilteredSequencerBlock) GetCometbftHeader

func (x *FilteredSequencerBlock) GetCometbftHeader() *types.Header

func (*FilteredSequencerBlock) GetRollupIdsProof

func (x *FilteredSequencerBlock) GetRollupIdsProof() *Proof

func (*FilteredSequencerBlock) GetRollupTransactions

func (x *FilteredSequencerBlock) GetRollupTransactions() []*RollupTransactions

func (*FilteredSequencerBlock) GetRollupTransactionsProof

func (x *FilteredSequencerBlock) GetRollupTransactionsProof() *Proof

func (*FilteredSequencerBlock) GetRollupTransactionsRoot

func (x *FilteredSequencerBlock) GetRollupTransactionsRoot() []byte

func (*FilteredSequencerBlock) HasCometbftHeader

func (x *FilteredSequencerBlock) HasCometbftHeader() 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 [][]byte)

func (*FilteredSequencerBlock) SetCometbftHeader

func (x *FilteredSequencerBlock) SetCometbftHeader(v *types.Header)

func (*FilteredSequencerBlock) SetRollupIdsProof

func (x *FilteredSequencerBlock) SetRollupIdsProof(v *Proof)

func (*FilteredSequencerBlock) SetRollupTransactions

func (x *FilteredSequencerBlock) SetRollupTransactions(v []*RollupTransactions)

func (*FilteredSequencerBlock) SetRollupTransactionsProof

func (x *FilteredSequencerBlock) SetRollupTransactionsProof(v *Proof)

func (*FilteredSequencerBlock) SetRollupTransactionsRoot

func (x *FilteredSequencerBlock) SetRollupTransactionsRoot(v []byte)

func (*FilteredSequencerBlock) String

func (x *FilteredSequencerBlock) String() string

type FilteredSequencerBlock_builder

type FilteredSequencerBlock_builder struct {

	// The original CometBFT header that was the input to this sequencer block.
	CometbftHeader *types.Header
	// A subset of rollup transactions that were included in this block.
	RollupTransactions []*RollupTransactions
	// The Merkle Tree Hash of all the rollup transactions in the block (not just the
	// subset included). Corresponds to `MHT(astria.SequencerBlock.rollup_transactions)`,
	// the Merkle Tree Hash derived from the rollup transactions.
	// Always 32 bytes.
	RollupTransactionsRoot []byte
	// 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 *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 [][]byte
	// 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 *Proof
	// contains filtered or unexported fields
}

func (FilteredSequencerBlock_builder) Build

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 [][]byte `protobuf:"bytes,2,rep,name=rollup_ids,json=rollupIds,proto3" json:"rollup_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFilteredSequencerBlockRequest) GetHeight

func (*GetFilteredSequencerBlockRequest) GetRollupIds

func (x *GetFilteredSequencerBlockRequest) GetRollupIds() [][]byte

func (*GetFilteredSequencerBlockRequest) ProtoMessage

func (*GetFilteredSequencerBlockRequest) ProtoMessage()

func (*GetFilteredSequencerBlockRequest) ProtoReflect

func (*GetFilteredSequencerBlockRequest) Reset

func (*GetFilteredSequencerBlockRequest) SetHeight

func (x *GetFilteredSequencerBlockRequest) SetHeight(v uint64)

func (*GetFilteredSequencerBlockRequest) SetRollupIds

func (x *GetFilteredSequencerBlockRequest) SetRollupIds(v [][]byte)

func (*GetFilteredSequencerBlockRequest) 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 [][]byte
	// contains filtered or unexported fields
}

func (GetFilteredSequencerBlockRequest_builder) Build

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

type IbcHeight

type IbcHeight struct {
	RevisionNumber uint64 `protobuf:"varint,1,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	RevisionHeight uint64 `protobuf:"varint,2,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
	// contains filtered or unexported fields
}

func (*IbcHeight) GetRevisionHeight

func (x *IbcHeight) GetRevisionHeight() uint64

func (*IbcHeight) GetRevisionNumber

func (x *IbcHeight) GetRevisionNumber() uint64

func (*IbcHeight) ProtoMessage

func (*IbcHeight) ProtoMessage()

func (*IbcHeight) ProtoReflect

func (x *IbcHeight) ProtoReflect() protoreflect.Message

func (*IbcHeight) Reset

func (x *IbcHeight) Reset()

func (*IbcHeight) SetRevisionHeight

func (x *IbcHeight) SetRevisionHeight(v uint64)

func (*IbcHeight) SetRevisionNumber

func (x *IbcHeight) SetRevisionNumber(v uint64)

func (*IbcHeight) String

func (x *IbcHeight) String() string

type IbcHeight_builder

type IbcHeight_builder struct {
	RevisionNumber uint64
	RevisionHeight uint64
	// contains filtered or unexported fields
}

func (IbcHeight_builder) Build

func (b0 IbcHeight_builder) Build() *IbcHeight

type IbcRelayerChangeAction

type IbcRelayerChangeAction struct {

	// Types that are valid to be assigned to Value:
	//
	//	*IbcRelayerChangeAction_Addition
	//	*IbcRelayerChangeAction_Removal
	Value isIbcRelayerChangeAction_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

`IbcRelayerChangeAction` represents a transaction that adds or removes an IBC relayer address. The bytes contained in each variant are the address to add or remove.

func (*IbcRelayerChangeAction) ClearAddition

func (x *IbcRelayerChangeAction) ClearAddition()

func (*IbcRelayerChangeAction) ClearRemoval

func (x *IbcRelayerChangeAction) ClearRemoval()

func (*IbcRelayerChangeAction) ClearValue

func (x *IbcRelayerChangeAction) ClearValue()

func (*IbcRelayerChangeAction) GetAddition

func (x *IbcRelayerChangeAction) GetAddition() []byte

func (*IbcRelayerChangeAction) GetRemoval

func (x *IbcRelayerChangeAction) GetRemoval() []byte

func (*IbcRelayerChangeAction) GetValue

func (x *IbcRelayerChangeAction) GetValue() isIbcRelayerChangeAction_Value

func (*IbcRelayerChangeAction) HasAddition

func (x *IbcRelayerChangeAction) HasAddition() bool

func (*IbcRelayerChangeAction) HasRemoval

func (x *IbcRelayerChangeAction) HasRemoval() bool

func (*IbcRelayerChangeAction) HasValue

func (x *IbcRelayerChangeAction) HasValue() bool

func (*IbcRelayerChangeAction) ProtoMessage

func (*IbcRelayerChangeAction) ProtoMessage()

func (*IbcRelayerChangeAction) ProtoReflect

func (x *IbcRelayerChangeAction) ProtoReflect() protoreflect.Message

func (*IbcRelayerChangeAction) Reset

func (x *IbcRelayerChangeAction) Reset()

func (*IbcRelayerChangeAction) SetAddition

func (x *IbcRelayerChangeAction) SetAddition(v []byte)

func (*IbcRelayerChangeAction) SetRemoval

func (x *IbcRelayerChangeAction) SetRemoval(v []byte)

func (*IbcRelayerChangeAction) String

func (x *IbcRelayerChangeAction) String() string

func (*IbcRelayerChangeAction) WhichValue

func (x *IbcRelayerChangeAction) WhichValue() case_IbcRelayerChangeAction_Value

type IbcRelayerChangeAction_Addition

type IbcRelayerChangeAction_Addition struct {
	Addition []byte `protobuf:"bytes,1,opt,name=addition,proto3,oneof"`
}

type IbcRelayerChangeAction_Removal

type IbcRelayerChangeAction_Removal struct {
	Removal []byte `protobuf:"bytes,2,opt,name=removal,proto3,oneof"`
}

type IbcRelayerChangeAction_builder

type IbcRelayerChangeAction_builder struct {

	// Fields of oneof Value:
	Addition []byte
	Removal  []byte
	// contains filtered or unexported fields
}

func (IbcRelayerChangeAction_builder) Build

type Ics20Withdrawal

type Ics20Withdrawal struct {

	// first two fields are a transparent value consisting of an amount and a denom.
	Amount *v11.Uint128 `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom  string       `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// the address on the destination chain to send the transfer to.
	// this is not validated by Astria; it is up to the destination chain
	// to interpret it.
	DestinationChainAddress string `` /* 132-byte string literal not displayed */
	// an Astria address to use to return funds from this withdrawal
	// in the case it fails.
	ReturnAddress []byte `protobuf:"bytes,4,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"`
	// the height (on Astria) at which this transfer expires.
	TimeoutHeight *IbcHeight `protobuf:"bytes,5,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	// the unix timestamp (in nanoseconds) at which this transfer expires.
	TimeoutTime uint64 `protobuf:"varint,6,opt,name=timeout_time,json=timeoutTime,proto3" json:"timeout_time,omitempty"`
	// the source channel used for the withdrawal.
	SourceChannel string `protobuf:"bytes,7,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"`
	// the asset used to pay the transaction fee
	FeeAssetId []byte `protobuf:"bytes,8,opt,name=fee_asset_id,json=feeAssetId,proto3" json:"fee_asset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Ics20Withdrawal) ClearAmount

func (x *Ics20Withdrawal) ClearAmount()

func (*Ics20Withdrawal) ClearTimeoutHeight

func (x *Ics20Withdrawal) ClearTimeoutHeight()

func (*Ics20Withdrawal) GetAmount

func (x *Ics20Withdrawal) GetAmount() *v11.Uint128

func (*Ics20Withdrawal) GetDenom

func (x *Ics20Withdrawal) GetDenom() string

func (*Ics20Withdrawal) GetDestinationChainAddress

func (x *Ics20Withdrawal) GetDestinationChainAddress() string

func (*Ics20Withdrawal) GetFeeAssetId

func (x *Ics20Withdrawal) GetFeeAssetId() []byte

func (*Ics20Withdrawal) GetReturnAddress

func (x *Ics20Withdrawal) GetReturnAddress() []byte

func (*Ics20Withdrawal) GetSourceChannel

func (x *Ics20Withdrawal) GetSourceChannel() string

func (*Ics20Withdrawal) GetTimeoutHeight

func (x *Ics20Withdrawal) GetTimeoutHeight() *IbcHeight

func (*Ics20Withdrawal) GetTimeoutTime

func (x *Ics20Withdrawal) GetTimeoutTime() uint64

func (*Ics20Withdrawal) HasAmount

func (x *Ics20Withdrawal) HasAmount() bool

func (*Ics20Withdrawal) HasTimeoutHeight

func (x *Ics20Withdrawal) HasTimeoutHeight() bool

func (*Ics20Withdrawal) ProtoMessage

func (*Ics20Withdrawal) ProtoMessage()

func (*Ics20Withdrawal) ProtoReflect

func (x *Ics20Withdrawal) ProtoReflect() protoreflect.Message

func (*Ics20Withdrawal) Reset

func (x *Ics20Withdrawal) Reset()

func (*Ics20Withdrawal) SetAmount

func (x *Ics20Withdrawal) SetAmount(v *v11.Uint128)

func (*Ics20Withdrawal) SetDenom

func (x *Ics20Withdrawal) SetDenom(v string)

func (*Ics20Withdrawal) SetDestinationChainAddress

func (x *Ics20Withdrawal) SetDestinationChainAddress(v string)

func (*Ics20Withdrawal) SetFeeAssetId

func (x *Ics20Withdrawal) SetFeeAssetId(v []byte)

func (*Ics20Withdrawal) SetReturnAddress

func (x *Ics20Withdrawal) SetReturnAddress(v []byte)

func (*Ics20Withdrawal) SetSourceChannel

func (x *Ics20Withdrawal) SetSourceChannel(v string)

func (*Ics20Withdrawal) SetTimeoutHeight

func (x *Ics20Withdrawal) SetTimeoutHeight(v *IbcHeight)

func (*Ics20Withdrawal) SetTimeoutTime

func (x *Ics20Withdrawal) SetTimeoutTime(v uint64)

func (*Ics20Withdrawal) String

func (x *Ics20Withdrawal) String() string

type Ics20Withdrawal_builder

type Ics20Withdrawal_builder struct {

	// first two fields are a transparent value consisting of an amount and a denom.
	Amount *v11.Uint128
	Denom  string
	// the address on the destination chain to send the transfer to.
	// this is not validated by Astria; it is up to the destination chain
	// to interpret it.
	DestinationChainAddress string
	// an Astria address to use to return funds from this withdrawal
	// in the case it fails.
	ReturnAddress []byte
	// the height (on Astria) at which this transfer expires.
	TimeoutHeight *IbcHeight
	// the unix timestamp (in nanoseconds) at which this transfer expires.
	TimeoutTime uint64
	// the source channel used for the withdrawal.
	SourceChannel string
	// the asset used to pay the transaction fee
	FeeAssetId []byte
	// contains filtered or unexported fields
}

func (Ics20Withdrawal_builder) Build

type InitBridgeAccountAction

type InitBridgeAccountAction struct {

	// the rollup ID to register with the bridge account (the tx sender)
	RollupId []byte `protobuf:"bytes,1,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
	// the asset IDs accepted as an incoming transfer by the bridge account
	AssetIds [][]byte `protobuf:"bytes,2,rep,name=asset_ids,json=assetIds,proto3" json:"asset_ids,omitempty"`
	// the asset used to pay the transaction fee
	FeeAssetId []byte `protobuf:"bytes,3,opt,name=fee_asset_id,json=feeAssetId,proto3" json:"fee_asset_id,omitempty"`
	// contains filtered or unexported fields
}

`InitBridgeAccountAction` represents a transaction that initializes a bridge account for the given rollup on the chain.

The sender of the transaction is used as the owner of the bridge account and is the only actor authorized to transfer out of this account via a `TransferAction`.

func (*InitBridgeAccountAction) GetAssetIds

func (x *InitBridgeAccountAction) GetAssetIds() [][]byte

func (*InitBridgeAccountAction) GetFeeAssetId

func (x *InitBridgeAccountAction) GetFeeAssetId() []byte

func (*InitBridgeAccountAction) GetRollupId

func (x *InitBridgeAccountAction) GetRollupId() []byte

func (*InitBridgeAccountAction) ProtoMessage

func (*InitBridgeAccountAction) ProtoMessage()

func (*InitBridgeAccountAction) ProtoReflect

func (x *InitBridgeAccountAction) ProtoReflect() protoreflect.Message

func (*InitBridgeAccountAction) Reset

func (x *InitBridgeAccountAction) Reset()

func (*InitBridgeAccountAction) SetAssetIds

func (x *InitBridgeAccountAction) SetAssetIds(v [][]byte)

func (*InitBridgeAccountAction) SetFeeAssetId

func (x *InitBridgeAccountAction) SetFeeAssetId(v []byte)

func (*InitBridgeAccountAction) SetRollupId

func (x *InitBridgeAccountAction) SetRollupId(v []byte)

func (*InitBridgeAccountAction) String

func (x *InitBridgeAccountAction) String() string

type InitBridgeAccountAction_builder

type InitBridgeAccountAction_builder struct {

	// the rollup ID to register with the bridge account (the tx sender)
	RollupId []byte
	// the asset IDs accepted as an incoming transfer by the bridge account
	AssetIds [][]byte
	// the asset used to pay the transaction fee
	FeeAssetId []byte
	// contains filtered or unexported fields
}

func (InitBridgeAccountAction_builder) Build

type MintAction

type MintAction struct {
	To     []byte       `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Amount *v11.Uint128 `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

`MintAction` represents a minting transaction. It can only be executed by the chain's sudo address.

It contains the address to mint to, and the amount to mint.

func (*MintAction) ClearAmount

func (x *MintAction) ClearAmount()

func (*MintAction) GetAmount

func (x *MintAction) GetAmount() *v11.Uint128

func (*MintAction) GetTo

func (x *MintAction) GetTo() []byte

func (*MintAction) HasAmount

func (x *MintAction) HasAmount() bool

func (*MintAction) ProtoMessage

func (*MintAction) ProtoMessage()

func (*MintAction) ProtoReflect

func (x *MintAction) ProtoReflect() protoreflect.Message

func (*MintAction) Reset

func (x *MintAction) Reset()

func (*MintAction) SetAmount

func (x *MintAction) SetAmount(v *v11.Uint128)

func (*MintAction) SetTo

func (x *MintAction) SetTo(v []byte)

func (*MintAction) String

func (x *MintAction) String() string

type MintAction_builder

type MintAction_builder struct {
	To     []byte
	Amount *v11.Uint128
	// contains filtered or unexported fields
}

func (MintAction_builder) Build

func (b0 MintAction_builder) Build() *MintAction

type NonceResponse

type NonceResponse struct {
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	Nonce  uint32 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

A response containing the current nonce for an account.

func (*NonceResponse) GetHeight

func (x *NonceResponse) GetHeight() uint64

func (*NonceResponse) GetNonce

func (x *NonceResponse) GetNonce() uint32

func (*NonceResponse) ProtoMessage

func (*NonceResponse) ProtoMessage()

func (*NonceResponse) ProtoReflect

func (x *NonceResponse) ProtoReflect() protoreflect.Message

func (*NonceResponse) Reset

func (x *NonceResponse) Reset()

func (*NonceResponse) SetHeight

func (x *NonceResponse) SetHeight(v uint64)

func (*NonceResponse) SetNonce

func (x *NonceResponse) SetNonce(v uint32)

func (*NonceResponse) String

func (x *NonceResponse) String() string

type NonceResponse_builder

type NonceResponse_builder struct {
	Height uint64
	Nonce  uint32
	// contains filtered or unexported fields
}

func (NonceResponse_builder) Build

type Proof

type Proof struct {

	// A sequence of 32 byte hashes used to reconstruct a Merkle Tree Hash.
	AuditPath []byte `protobuf:"bytes,1,opt,name=audit_path,json=auditPath,proto3" json:"audit_path,omitempty"`
	// The index of the leaf this proof applies to.
	LeafIndex uint64 `protobuf:"varint,2,opt,name=leaf_index,json=leafIndex,proto3" json:"leaf_index,omitempty"`
	// The total size of the tree this proof was derived from.
	TreeSize uint64 `protobuf:"varint,3,opt,name=tree_size,json=treeSize,proto3" json:"tree_size,omitempty"`
	// contains filtered or unexported fields
}

A proof for a tree of the given size containing the audit path from a leaf to the root.

func (*Proof) GetAuditPath

func (x *Proof) GetAuditPath() []byte

func (*Proof) GetLeafIndex

func (x *Proof) GetLeafIndex() uint64

func (*Proof) GetTreeSize

func (x *Proof) GetTreeSize() uint64

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) ProtoReflect

func (x *Proof) ProtoReflect() protoreflect.Message

func (*Proof) Reset

func (x *Proof) Reset()

func (*Proof) SetAuditPath

func (x *Proof) SetAuditPath(v []byte)

func (*Proof) SetLeafIndex

func (x *Proof) SetLeafIndex(v uint64)

func (*Proof) SetTreeSize

func (x *Proof) SetTreeSize(v uint64)

func (*Proof) String

func (x *Proof) String() string

type Proof_builder

type Proof_builder struct {

	// A sequence of 32 byte hashes used to reconstruct a Merkle Tree Hash.
	AuditPath []byte
	// The index of the leaf this proof applies to.
	LeafIndex uint64
	// The total size of the tree this proof was derived from.
	TreeSize uint64
	// contains filtered or unexported fields
}

func (Proof_builder) Build

func (b0 Proof_builder) Build() *Proof

type RollupData

type RollupData struct {

	// Types that are valid to be assigned to Value:
	//
	//	*RollupData_SequencedData
	//	*RollupData_Deposit
	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) ClearSequencedData

func (x *RollupData) ClearSequencedData()

func (*RollupData) ClearValue

func (x *RollupData) ClearValue()

func (*RollupData) GetDeposit

func (x *RollupData) GetDeposit() *Deposit

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) 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) 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_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
	// 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.
	Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"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.SequencerBlock.rollup_transactions_proof`.
	Proof *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) GetId

func (x *RollupTransactions) GetId() []byte

func (*RollupTransactions) GetProof

func (x *RollupTransactions) GetProof() *Proof

func (*RollupTransactions) GetTransactions

func (x *RollupTransactions) GetTransactions() [][]byte

func (*RollupTransactions) HasProof

func (x *RollupTransactions) HasProof() 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) SetId

func (x *RollupTransactions) SetId(v []byte)

func (*RollupTransactions) SetProof

func (x *RollupTransactions) SetProof(v *Proof)

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.
	Id []byte
	// 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.SequencerBlock.rollup_transactions_proof`.
	Proof *Proof
	// contains filtered or unexported fields
}

func (RollupTransactions_builder) Build

type SequenceAction

type SequenceAction struct {
	RollupId []byte `protobuf:"bytes,1,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
	Data     []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// the asset used to pay the transaction fee
	FeeAssetId []byte `protobuf:"bytes,3,opt,name=fee_asset_id,json=feeAssetId,proto3" json:"fee_asset_id,omitempty"`
	// contains filtered or unexported fields
}

`SequenceAction` represents a transaction destined for another chain, ordered by the sequencer.

It contains the rollup ID of the destination chain, and the opaque transaction data.

func (*SequenceAction) GetData

func (x *SequenceAction) GetData() []byte

func (*SequenceAction) GetFeeAssetId

func (x *SequenceAction) GetFeeAssetId() []byte

func (*SequenceAction) GetRollupId

func (x *SequenceAction) GetRollupId() []byte

func (*SequenceAction) ProtoMessage

func (*SequenceAction) ProtoMessage()

func (*SequenceAction) ProtoReflect

func (x *SequenceAction) ProtoReflect() protoreflect.Message

func (*SequenceAction) Reset

func (x *SequenceAction) Reset()

func (*SequenceAction) SetData

func (x *SequenceAction) SetData(v []byte)

func (*SequenceAction) SetFeeAssetId

func (x *SequenceAction) SetFeeAssetId(v []byte)

func (*SequenceAction) SetRollupId

func (x *SequenceAction) SetRollupId(v []byte)

func (*SequenceAction) String

func (x *SequenceAction) String() string

type SequenceAction_builder

type SequenceAction_builder struct {
	RollupId []byte
	Data     []byte
	// the asset used to pay the transaction fee
	FeeAssetId []byte
	// contains filtered or unexported fields
}

func (SequenceAction_builder) Build

type SequencerBlock

type SequencerBlock struct {

	// / the block header, which contains the cometbft header and additional 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 *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 *Proof `protobuf:"bytes,4,opt,name=rollup_ids_proof,json=rollupIdsProof,proto3" json:"rollup_ids_proof,omitempty"`
	// 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) ClearHeader

func (x *SequencerBlock) ClearHeader()

func (*SequencerBlock) ClearRollupIdsProof

func (x *SequencerBlock) ClearRollupIdsProof()

func (*SequencerBlock) ClearRollupTransactionsProof

func (x *SequencerBlock) ClearRollupTransactionsProof()

func (*SequencerBlock) GetHeader

func (x *SequencerBlock) GetHeader() *SequencerBlockHeader

func (*SequencerBlock) GetRollupIdsProof

func (x *SequencerBlock) GetRollupIdsProof() *Proof

func (*SequencerBlock) GetRollupTransactions

func (x *SequencerBlock) GetRollupTransactions() []*RollupTransactions

func (*SequencerBlock) GetRollupTransactionsProof

func (x *SequencerBlock) GetRollupTransactionsProof() *Proof

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) SetHeader

func (x *SequencerBlock) SetHeader(v *SequencerBlockHeader)

func (*SequencerBlock) SetRollupIdsProof

func (x *SequencerBlock) SetRollupIdsProof(v *Proof)

func (*SequencerBlock) SetRollupTransactions

func (x *SequencerBlock) SetRollupTransactions(v []*RollupTransactions)

func (*SequencerBlock) SetRollupTransactionsProof

func (x *SequencerBlock) SetRollupTransactionsProof(v *Proof)

func (*SequencerBlock) String

func (x *SequencerBlock) String() string

type SequencerBlockHeader

type SequencerBlockHeader struct {

	// The original CometBFT header that was the input to this sequencer block.
	CometbftHeader *types.Header `protobuf:"bytes,1,opt,name=cometbft_header,json=cometbftHeader,proto3" json:"cometbft_header,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 */
	// The 32-byte merkle root of all the rollup IDs in the block.
	RollupIdsRoot []byte `protobuf:"bytes,3,opt,name=rollup_ids_root,json=rollupIdsRoot,proto3" json:"rollup_ids_root,omitempty"`
	// contains filtered or unexported fields
}

func (*SequencerBlockHeader) ClearCometbftHeader

func (x *SequencerBlockHeader) ClearCometbftHeader()

func (*SequencerBlockHeader) GetCometbftHeader

func (x *SequencerBlockHeader) GetCometbftHeader() *types.Header

func (*SequencerBlockHeader) GetRollupIdsRoot

func (x *SequencerBlockHeader) GetRollupIdsRoot() []byte

func (*SequencerBlockHeader) GetRollupTransactionsRoot

func (x *SequencerBlockHeader) GetRollupTransactionsRoot() []byte

func (*SequencerBlockHeader) HasCometbftHeader

func (x *SequencerBlockHeader) HasCometbftHeader() 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) SetCometbftHeader

func (x *SequencerBlockHeader) SetCometbftHeader(v *types.Header)

func (*SequencerBlockHeader) SetRollupIdsRoot

func (x *SequencerBlockHeader) SetRollupIdsRoot(v []byte)

func (*SequencerBlockHeader) SetRollupTransactionsRoot

func (x *SequencerBlockHeader) SetRollupTransactionsRoot(v []byte)

func (*SequencerBlockHeader) String

func (x *SequencerBlockHeader) String() string

type SequencerBlockHeader_builder

type SequencerBlockHeader_builder struct {

	// The original CometBFT header that was the input to this sequencer block.
	CometbftHeader *types.Header
	// The 32-byte merkle root of all the rollup transactions in the block,
	// Corresponds to `MHT(astria.SequencerBlock.rollup_transactions)`,
	RollupTransactionsRoot []byte
	// The 32-byte merkle root of all the rollup IDs in the block.
	RollupIdsRoot []byte
	// contains filtered or unexported fields
}

func (SequencerBlockHeader_builder) Build

type SequencerBlock_builder

type SequencerBlock_builder struct {

	// / the block header, which contains the cometbft header and additional 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 *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 *Proof
	// contains filtered or unexported fields
}

func (SequencerBlock_builder) Build

type SignedTransaction

type SignedTransaction struct {
	Signature   []byte               `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	PublicKey   []byte               `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Transaction *UnsignedTransaction `protobuf:"bytes,3,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

`SignedTransaction` is a transaction that has been signed by the given public key. It wraps an `UnsignedTransaction` with a signature and public key.

func (*SignedTransaction) ClearTransaction

func (x *SignedTransaction) ClearTransaction()

func (*SignedTransaction) GetPublicKey

func (x *SignedTransaction) GetPublicKey() []byte

func (*SignedTransaction) GetSignature

func (x *SignedTransaction) GetSignature() []byte

func (*SignedTransaction) GetTransaction

func (x *SignedTransaction) GetTransaction() *UnsignedTransaction

func (*SignedTransaction) HasTransaction

func (x *SignedTransaction) HasTransaction() bool

func (*SignedTransaction) ProtoMessage

func (*SignedTransaction) ProtoMessage()

func (*SignedTransaction) ProtoReflect

func (x *SignedTransaction) ProtoReflect() protoreflect.Message

func (*SignedTransaction) Reset

func (x *SignedTransaction) Reset()

func (*SignedTransaction) SetPublicKey

func (x *SignedTransaction) SetPublicKey(v []byte)

func (*SignedTransaction) SetSignature

func (x *SignedTransaction) SetSignature(v []byte)

func (*SignedTransaction) SetTransaction

func (x *SignedTransaction) SetTransaction(v *UnsignedTransaction)

func (*SignedTransaction) String

func (x *SignedTransaction) String() string

type SignedTransaction_builder

type SignedTransaction_builder struct {
	Signature   []byte
	PublicKey   []byte
	Transaction *UnsignedTransaction
	// contains filtered or unexported fields
}

func (SignedTransaction_builder) Build

type SudoAddressChangeAction

type SudoAddressChangeAction struct {
	NewAddress []byte `protobuf:"bytes,1,opt,name=new_address,json=newAddress,proto3" json:"new_address,omitempty"`
	// contains filtered or unexported fields
}

/ `SudoAddressChangeAction` represents a transaction that changes / the sudo address of the chain, which is the address authorized to / make validator update actions. / / It contains the new sudo address.

func (*SudoAddressChangeAction) GetNewAddress

func (x *SudoAddressChangeAction) GetNewAddress() []byte

func (*SudoAddressChangeAction) ProtoMessage

func (*SudoAddressChangeAction) ProtoMessage()

func (*SudoAddressChangeAction) ProtoReflect

func (x *SudoAddressChangeAction) ProtoReflect() protoreflect.Message

func (*SudoAddressChangeAction) Reset

func (x *SudoAddressChangeAction) Reset()

func (*SudoAddressChangeAction) SetNewAddress

func (x *SudoAddressChangeAction) SetNewAddress(v []byte)

func (*SudoAddressChangeAction) String

func (x *SudoAddressChangeAction) String() string

type SudoAddressChangeAction_builder

type SudoAddressChangeAction_builder struct {
	NewAddress []byte
	// contains filtered or unexported fields
}

func (SudoAddressChangeAction_builder) Build

type TransferAction

type TransferAction struct {
	To     []byte       `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Amount *v11.Uint128 `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// the asset to be transferred
	AssetId []byte `protobuf:"bytes,3,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
	// the asset used to pay the transaction fee
	FeeAssetId []byte `protobuf:"bytes,4,opt,name=fee_asset_id,json=feeAssetId,proto3" json:"fee_asset_id,omitempty"`
	// contains filtered or unexported fields
}

`TransferAction` represents a value transfer transaction.

Note: all values must be set (ie. not `None`), otherwise it will be considered invalid by the sequencer.

func (*TransferAction) ClearAmount

func (x *TransferAction) ClearAmount()

func (*TransferAction) GetAmount

func (x *TransferAction) GetAmount() *v11.Uint128

func (*TransferAction) GetAssetId

func (x *TransferAction) GetAssetId() []byte

func (*TransferAction) GetFeeAssetId

func (x *TransferAction) GetFeeAssetId() []byte

func (*TransferAction) GetTo

func (x *TransferAction) GetTo() []byte

func (*TransferAction) HasAmount

func (x *TransferAction) HasAmount() bool

func (*TransferAction) ProtoMessage

func (*TransferAction) ProtoMessage()

func (*TransferAction) ProtoReflect

func (x *TransferAction) ProtoReflect() protoreflect.Message

func (*TransferAction) Reset

func (x *TransferAction) Reset()

func (*TransferAction) SetAmount

func (x *TransferAction) SetAmount(v *v11.Uint128)

func (*TransferAction) SetAssetId

func (x *TransferAction) SetAssetId(v []byte)

func (*TransferAction) SetFeeAssetId

func (x *TransferAction) SetFeeAssetId(v []byte)

func (*TransferAction) SetTo

func (x *TransferAction) SetTo(v []byte)

func (*TransferAction) String

func (x *TransferAction) String() string

type TransferAction_builder

type TransferAction_builder struct {
	To     []byte
	Amount *v11.Uint128
	// the asset to be transferred
	AssetId []byte
	// the asset used to pay the transaction fee
	FeeAssetId []byte
	// contains filtered or unexported fields
}

func (TransferAction_builder) Build

type UnsignedTransaction

type UnsignedTransaction struct {
	Nonce   uint32    `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Actions []*Action `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

`UnsignedTransaction` is a transaction that does not have an attached signature. Note: `value` must be set, it cannot be `None`.

func (*UnsignedTransaction) GetActions

func (x *UnsignedTransaction) GetActions() []*Action

func (*UnsignedTransaction) GetNonce

func (x *UnsignedTransaction) GetNonce() uint32

func (*UnsignedTransaction) ProtoMessage

func (*UnsignedTransaction) ProtoMessage()

func (*UnsignedTransaction) ProtoReflect

func (x *UnsignedTransaction) ProtoReflect() protoreflect.Message

func (*UnsignedTransaction) Reset

func (x *UnsignedTransaction) Reset()

func (*UnsignedTransaction) SetActions

func (x *UnsignedTransaction) SetActions(v []*Action)

func (*UnsignedTransaction) SetNonce

func (x *UnsignedTransaction) SetNonce(v uint32)

func (*UnsignedTransaction) String

func (x *UnsignedTransaction) String() string

type UnsignedTransaction_builder

type UnsignedTransaction_builder struct {
	Nonce   uint32
	Actions []*Action
	// contains filtered or unexported fields
}

func (UnsignedTransaction_builder) Build

Source Files

  • account.pb.go
  • asset.pb.go
  • block.pb.go
  • celestia.pb.go
  • merkle.pb.go
  • service.pb.go
  • transaction.pb.go

Jump to

Keyboard shortcuts

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