transactionsv1alpha1

package
v1.34.1-20240509222808... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_astria_protocol_transactions_v1alpha1_types_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_InitBridgeAccountAction
	//	*Action_BridgeLockAction
	//	*Action_IbcAction
	//	*Action_Ics20Withdrawal
	//	*Action_SudoAddressChangeAction
	//	*Action_ValidatorUpdateAction
	//	*Action_IbcRelayerChangeAction
	//	*Action_FeeAssetChangeAction
	//	*Action_MintAction
	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,12,opt,name=bridge_lock_action,json=bridgeLockAction,proto3,oneof"`
}

type Action_FeeAssetChangeAction

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

type Action_IbcAction

type Action_IbcAction struct {
	// IBC user actions are defined on 21-30
	IbcAction *v1.IbcRelay `protobuf:"bytes,21,opt,name=ibc_action,json=ibcAction,proto3,oneof"`
}

type Action_IbcRelayerChangeAction

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

type Action_Ics20Withdrawal

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

type Action_InitBridgeAccountAction

type Action_InitBridgeAccountAction struct {
	// Bridge actions are defined on 11-20
	InitBridgeAccountAction *InitBridgeAccountAction `protobuf:"bytes,11,opt,name=init_bridge_account_action,json=initBridgeAccountAction,proto3,oneof"`
}

type Action_MintAction

type Action_MintAction struct {
	MintAction *MintAction `protobuf:"bytes,54,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 {
	// POA sudo actions are defined of 50-60
	SudoAddressChangeAction *SudoAddressChangeAction `protobuf:"bytes,50,opt,name=sudo_address_change_action,json=sudoAddressChangeAction,proto3,oneof"`
}

type Action_TransferAction

type Action_TransferAction struct {
	// Core protocol actions are defined on 1-10
	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,51,opt,name=validator_update_action,json=validatorUpdateAction,proto3,oneof"`
}

type BridgeLockAction

type BridgeLockAction struct {

	// the address of the bridge account to transfer to
	To *v11.Address `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() *v11.Address

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 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 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() *v11.Address

func (*IbcRelayerChangeAction) GetRemoval

func (x *IbcRelayerChangeAction) GetRemoval() *v11.Address

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 *v11.Address `protobuf:"bytes,1,opt,name=addition,proto3,oneof"`
}

type IbcRelayerChangeAction_Removal

type IbcRelayerChangeAction_Removal struct {
	Removal *v11.Address `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"`
	// a memo to include with the transfer
	Memo string `protobuf:"bytes,9,opt,name=memo,proto3" json:"memo,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) GetMemo

func (x *Ics20Withdrawal) GetMemo() string

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 *v11.RollupId `protobuf:"bytes,1,opt,name=rollup_id,json=rollupId,proto3" json:"rollup_id,omitempty"`
	// the asset ID accepted as an incoming transfer by the bridge account
	AssetId []byte `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,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) GetAssetId

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

func (*InitBridgeAccountAction) GetFeeAssetId

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

func (*InitBridgeAccountAction) GetRollupId

func (x *InitBridgeAccountAction) GetRollupId() *v11.RollupId

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     *v11.Address `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() *v11.Address

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 SequenceAction

type SequenceAction struct {
	RollupId *v11.RollupId `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() *v11.RollupId

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 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 *v11.Address `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() *v11.Address

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 TransactionParams

type TransactionParams struct {
	Nonce   uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

`TransactionParams` contains parameters that define the validity of the transaction.

func (*TransactionParams) Descriptor deprecated

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

Deprecated: Use TransactionParams.ProtoReflect.Descriptor instead.

func (*TransactionParams) GetChainId

func (x *TransactionParams) GetChainId() string

func (*TransactionParams) GetNonce

func (x *TransactionParams) GetNonce() uint32

func (*TransactionParams) ProtoMessage

func (*TransactionParams) ProtoMessage()

func (*TransactionParams) ProtoReflect

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

func (*TransactionParams) Reset

func (x *TransactionParams) Reset()

func (*TransactionParams) String

func (x *TransactionParams) String() string

type TransferAction

type TransferAction struct {
	To     *v11.Address `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() *v11.Address

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 {
	Actions []*Action          `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	Params  *TransactionParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params,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) GetParams

func (x *UnsignedTransaction) GetParams() *TransactionParams

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