sequencerv1

package
v1.33.0-20240417015050... 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

This section is empty.

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 assignable 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) Descriptor deprecated

func (*Action) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

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 (m *Action) GetValue() isAction_Value

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

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 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) Descriptor deprecated

func (*AssetBalance) Descriptor() ([]byte, []int)

Deprecated: Use AssetBalance.ProtoReflect.Descriptor instead.

func (*AssetBalance) GetBalance

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

func (*AssetBalance) GetDenom

func (x *AssetBalance) GetDenom() string

func (*AssetBalance) ProtoMessage

func (*AssetBalance) ProtoMessage()

func (*AssetBalance) ProtoReflect

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

func (*AssetBalance) Reset

func (x *AssetBalance) Reset()

func (*AssetBalance) String

func (x *AssetBalance) String() string

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) Descriptor deprecated

func (*BalanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use BalanceResponse.ProtoReflect.Descriptor instead.

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

func (x *BalanceResponse) String() string

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) Descriptor deprecated

func (*BridgeLockAction) Descriptor() ([]byte, []int)

Deprecated: Use BridgeLockAction.ProtoReflect.Descriptor instead.

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

func (*BridgeLockAction) ProtoMessage()

func (*BridgeLockAction) ProtoReflect

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

func (*BridgeLockAction) Reset

func (x *BridgeLockAction) Reset()

func (*BridgeLockAction) String

func (x *BridgeLockAction) String() string

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) Descriptor deprecated

func (*CelestiaRollupBlob) Descriptor() ([]byte, []int)

Deprecated: Use CelestiaRollupBlob.ProtoReflect.Descriptor instead.

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

func (*CelestiaRollupBlob) ProtoMessage()

func (*CelestiaRollupBlob) ProtoReflect

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

func (*CelestiaRollupBlob) Reset

func (x *CelestiaRollupBlob) Reset()

func (*CelestiaRollupBlob) String

func (x *CelestiaRollupBlob) String() string

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) Descriptor deprecated

func (*CelestiaSequencerBlob) Descriptor() ([]byte, []int)

Deprecated: Use CelestiaSequencerBlob.ProtoReflect.Descriptor instead.

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

func (*CelestiaSequencerBlob) ProtoMessage()

func (*CelestiaSequencerBlob) ProtoReflect

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

func (*CelestiaSequencerBlob) Reset

func (x *CelestiaSequencerBlob) Reset()

func (*CelestiaSequencerBlob) String

func (x *CelestiaSequencerBlob) String() string

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) Descriptor deprecated

func (*Denom) Descriptor() ([]byte, []int)

Deprecated: Use Denom.ProtoReflect.Descriptor instead.

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

func (x *Denom) String() string

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) Descriptor deprecated

func (*Deposit) Descriptor() ([]byte, []int)

Deprecated: Use Deposit.ProtoReflect.Descriptor instead.

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

func (*Deposit) ProtoMessage()

func (*Deposit) ProtoReflect

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

func (*Deposit) Reset

func (x *Deposit) Reset()

func (*Deposit) String

func (x *Deposit) String() string

type FeeAssetChangeAction

type FeeAssetChangeAction struct {

	// Types that are assignable 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) Descriptor deprecated

func (*FeeAssetChangeAction) Descriptor() ([]byte, []int)

Deprecated: Use FeeAssetChangeAction.ProtoReflect.Descriptor instead.

func (*FeeAssetChangeAction) GetAddition

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

func (*FeeAssetChangeAction) GetRemoval

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

func (*FeeAssetChangeAction) GetValue

func (m *FeeAssetChangeAction) GetValue() isFeeAssetChangeAction_Value

func (*FeeAssetChangeAction) ProtoMessage

func (*FeeAssetChangeAction) ProtoMessage()

func (*FeeAssetChangeAction) ProtoReflect

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

func (*FeeAssetChangeAction) Reset

func (x *FeeAssetChangeAction) Reset()

func (*FeeAssetChangeAction) String

func (x *FeeAssetChangeAction) String() string

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 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) Descriptor deprecated

func (*FilteredSequencerBlock) Descriptor() ([]byte, []int)

Deprecated: Use FilteredSequencerBlock.ProtoReflect.Descriptor instead.

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

func (*FilteredSequencerBlock) ProtoMessage()

func (*FilteredSequencerBlock) ProtoReflect

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

func (*FilteredSequencerBlock) Reset

func (x *FilteredSequencerBlock) Reset()

func (*FilteredSequencerBlock) String

func (x *FilteredSequencerBlock) String() string

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) Descriptor deprecated

func (*GetFilteredSequencerBlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFilteredSequencerBlockRequest.ProtoReflect.Descriptor instead.

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

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) Descriptor deprecated

func (*GetSequencerBlockRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSequencerBlockRequest.ProtoReflect.Descriptor instead.

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

func (x *GetSequencerBlockRequest) String() string

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) Descriptor deprecated

func (*IbcHeight) Descriptor() ([]byte, []int)

Deprecated: Use IbcHeight.ProtoReflect.Descriptor instead.

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

func (x *IbcHeight) String() string

type IbcRelayerChangeAction

type IbcRelayerChangeAction struct {

	// Types that are assignable 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) Descriptor deprecated

func (*IbcRelayerChangeAction) Descriptor() ([]byte, []int)

Deprecated: Use IbcRelayerChangeAction.ProtoReflect.Descriptor instead.

func (*IbcRelayerChangeAction) GetAddition

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

func (*IbcRelayerChangeAction) GetRemoval

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

func (*IbcRelayerChangeAction) GetValue

func (m *IbcRelayerChangeAction) GetValue() isIbcRelayerChangeAction_Value

func (*IbcRelayerChangeAction) ProtoMessage

func (*IbcRelayerChangeAction) ProtoMessage()

func (*IbcRelayerChangeAction) ProtoReflect

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

func (*IbcRelayerChangeAction) Reset

func (x *IbcRelayerChangeAction) Reset()

func (*IbcRelayerChangeAction) String

func (x *IbcRelayerChangeAction) String() string

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 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) Descriptor deprecated

func (*Ics20Withdrawal) Descriptor() ([]byte, []int)

Deprecated: Use Ics20Withdrawal.ProtoReflect.Descriptor instead.

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

func (*Ics20Withdrawal) ProtoMessage()

func (*Ics20Withdrawal) ProtoReflect

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

func (*Ics20Withdrawal) Reset

func (x *Ics20Withdrawal) Reset()

func (*Ics20Withdrawal) String

func (x *Ics20Withdrawal) String() string

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) Descriptor deprecated

func (*InitBridgeAccountAction) Descriptor() ([]byte, []int)

Deprecated: Use InitBridgeAccountAction.ProtoReflect.Descriptor instead.

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

func (x *InitBridgeAccountAction) String() string

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) Descriptor deprecated

func (*MintAction) Descriptor() ([]byte, []int)

Deprecated: Use MintAction.ProtoReflect.Descriptor instead.

func (*MintAction) GetAmount

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

func (*MintAction) GetTo

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

func (*MintAction) ProtoMessage

func (*MintAction) ProtoMessage()

func (*MintAction) ProtoReflect

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

func (*MintAction) Reset

func (x *MintAction) Reset()

func (*MintAction) String

func (x *MintAction) String() string

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) Descriptor deprecated

func (*NonceResponse) Descriptor() ([]byte, []int)

Deprecated: Use NonceResponse.ProtoReflect.Descriptor instead.

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

func (x *NonceResponse) String() string

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) Descriptor deprecated

func (*Proof) Descriptor() ([]byte, []int)

Deprecated: Use Proof.ProtoReflect.Descriptor instead.

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

func (x *Proof) String() string

type RollupData

type RollupData struct {

	// Types that are assignable 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) Descriptor deprecated

func (*RollupData) Descriptor() ([]byte, []int)

Deprecated: Use RollupData.ProtoReflect.Descriptor instead.

func (*RollupData) GetDeposit

func (x *RollupData) GetDeposit() *Deposit

func (*RollupData) GetSequencedData

func (x *RollupData) GetSequencedData() []byte

func (*RollupData) GetValue

func (m *RollupData) GetValue() isRollupData_Value

func (*RollupData) ProtoMessage

func (*RollupData) ProtoMessage()

func (*RollupData) ProtoReflect

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

func (*RollupData) Reset

func (x *RollupData) Reset()

func (*RollupData) String

func (x *RollupData) String() string

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 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) Descriptor deprecated

func (*RollupTransactions) Descriptor() ([]byte, []int)

Deprecated: Use RollupTransactions.ProtoReflect.Descriptor instead.

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

func (*RollupTransactions) ProtoMessage()

func (*RollupTransactions) ProtoReflect

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

func (*RollupTransactions) Reset

func (x *RollupTransactions) Reset()

func (*RollupTransactions) String

func (x *RollupTransactions) String() string

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) Descriptor deprecated

func (*SequenceAction) Descriptor() ([]byte, []int)

Deprecated: Use SequenceAction.ProtoReflect.Descriptor instead.

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

func (x *SequenceAction) String() string

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) Descriptor deprecated

func (*SequencerBlock) Descriptor() ([]byte, []int)

Deprecated: Use SequencerBlock.ProtoReflect.Descriptor instead.

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

func (*SequencerBlock) ProtoMessage()

func (*SequencerBlock) ProtoReflect

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

func (*SequencerBlock) Reset

func (x *SequencerBlock) Reset()

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) Descriptor deprecated

func (*SequencerBlockHeader) Descriptor() ([]byte, []int)

Deprecated: Use SequencerBlockHeader.ProtoReflect.Descriptor instead.

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

func (*SequencerBlockHeader) ProtoMessage()

func (*SequencerBlockHeader) ProtoReflect

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

func (*SequencerBlockHeader) Reset

func (x *SequencerBlockHeader) Reset()

func (*SequencerBlockHeader) String

func (x *SequencerBlockHeader) String() string

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) Descriptor deprecated

func (*SignedTransaction) Descriptor() ([]byte, []int)

Deprecated: Use SignedTransaction.ProtoReflect.Descriptor instead.

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

func (*SignedTransaction) ProtoMessage()

func (*SignedTransaction) ProtoReflect

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

func (*SignedTransaction) Reset

func (x *SignedTransaction) Reset()

func (*SignedTransaction) String

func (x *SignedTransaction) String() string

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) Descriptor deprecated

func (*SudoAddressChangeAction) Descriptor() ([]byte, []int)

Deprecated: Use SudoAddressChangeAction.ProtoReflect.Descriptor instead.

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

func (x *SudoAddressChangeAction) String() string

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) Descriptor deprecated

func (*TransferAction) Descriptor() ([]byte, []int)

Deprecated: Use TransferAction.ProtoReflect.Descriptor instead.

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

func (*TransferAction) ProtoMessage()

func (*TransferAction) ProtoReflect

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

func (*TransferAction) Reset

func (x *TransferAction) Reset()

func (*TransferAction) String

func (x *TransferAction) String() string

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) Descriptor deprecated

func (*UnsignedTransaction) Descriptor() ([]byte, []int)

Deprecated: Use UnsignedTransaction.ProtoReflect.Descriptor instead.

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

func (x *UnsignedTransaction) String() string

Jump to

Keyboard shortcuts

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