cosmos

package
v0.0.1-gowrapper-test Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BroadcastMode_name = map[int32]string{
		0: "BLOCK",
		1: "SYNC",
		2: "ASYNC",
	}
	BroadcastMode_value = map[string]int32{
		"BLOCK": 0,
		"SYNC":  1,
		"ASYNC": 2,
	}
)

Enum value maps for BroadcastMode.

View Source
var (
	SigningMode_name = map[int32]string{
		0: "JSON",
		1: "Protobuf",
	}
	SigningMode_value = map[string]int32{
		"JSON":     0,
		"Protobuf": 1,
	}
)

Enum value maps for SigningMode.

View Source
var (
	TxHasher_name = map[int32]string{
		0: "UseDefault",
		1: "Sha256",
		2: "Keccak256",
	}
	TxHasher_value = map[string]int32{
		"UseDefault": 0,
		"Sha256":     1,
		"Keccak256":  2,
	}
)

Enum value maps for TxHasher.

View Source
var (
	SignerPublicKeyType_name = map[int32]string{
		0: "Secp256k1",
		1: "Secp256k1Extended",
	}
	SignerPublicKeyType_value = map[string]int32{
		"Secp256k1":         0,
		"Secp256k1Extended": 1,
	}
)

Enum value maps for SignerPublicKeyType.

View Source
var (
	Message_AuthorizationType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "DELEGATE",
		2: "UNDELEGATE",
		3: "REDELEGATE",
	}
	Message_AuthorizationType_value = map[string]int32{
		"UNSPECIFIED": 0,
		"DELEGATE":    1,
		"UNDELEGATE":  2,
		"REDELEGATE":  3,
	}
)

Enum value maps for Message_AuthorizationType.

View Source
var (
	Message_VoteOption_name = map[int32]string{
		0: "_UNSPECIFIED",
		1: "YES",
		2: "ABSTAIN",
		3: "NO",
		4: "NO_WITH_VETO",
	}
	Message_VoteOption_value = map[string]int32{
		"_UNSPECIFIED": 0,
		"YES":          1,
		"ABSTAIN":      2,
		"NO":           3,
		"NO_WITH_VETO": 4,
	}
)

Enum value maps for Message_VoteOption.

View Source
var File_Cosmos_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Amount

type Amount struct {

	// name of the denomination
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// amount, number as string
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

A denomination and an amount

func (*Amount) Descriptor deprecated

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

Deprecated: Use Amount.ProtoReflect.Descriptor instead.

func (*Amount) GetAmount

func (x *Amount) GetAmount() string

func (*Amount) GetDenom

func (x *Amount) GetDenom() string

func (*Amount) ProtoMessage

func (*Amount) ProtoMessage()

func (*Amount) ProtoReflect

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

func (*Amount) Reset

func (x *Amount) Reset()

func (*Amount) String

func (x *Amount) String() string

type BroadcastMode

type BroadcastMode int32

Transaction broadcast mode

const (
	BroadcastMode_BLOCK BroadcastMode = 0 // Wait for the tx to pass/fail CheckTx, DeliverTx, and be committed in a block
	BroadcastMode_SYNC  BroadcastMode = 1 // Wait for the tx to pass/fail CheckTx
	BroadcastMode_ASYNC BroadcastMode = 2 // Don't wait for pass/fail CheckTx; send and return tx immediately
)

func (BroadcastMode) Descriptor

func (BroadcastMode) Enum

func (x BroadcastMode) Enum() *BroadcastMode

func (BroadcastMode) EnumDescriptor deprecated

func (BroadcastMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use BroadcastMode.Descriptor instead.

func (BroadcastMode) Number

func (BroadcastMode) String

func (x BroadcastMode) String() string

func (BroadcastMode) Type

type Fee

type Fee struct {

	// Fee amount(s)
	Amounts []*Amount `protobuf:"bytes,1,rep,name=amounts,proto3" json:"amounts,omitempty"`
	// Gas price
	Gas uint64 `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"`
	// contains filtered or unexported fields
}

Fee incl. gas

func (*Fee) Descriptor deprecated

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

Deprecated: Use Fee.ProtoReflect.Descriptor instead.

func (*Fee) GetAmounts

func (x *Fee) GetAmounts() []*Amount

func (*Fee) GetGas

func (x *Fee) GetGas() uint64

func (*Fee) ProtoMessage

func (*Fee) ProtoMessage()

func (*Fee) ProtoReflect

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

func (*Fee) Reset

func (x *Fee) Reset()

func (*Fee) String

func (x *Fee) String() string

type Height

type Height struct {

	// the revision that the client is currently on
	RevisionNumber uint64 `protobuf:"varint,1,opt,name=revision_number,json=revisionNumber,proto3" json:"revision_number,omitempty"`
	// the height within the given revision
	RevisionHeight uint64 `protobuf:"varint,2,opt,name=revision_height,json=revisionHeight,proto3" json:"revision_height,omitempty"`
	// contains filtered or unexported fields
}

Block height, a revision and block height tuple. A height can be compared against another Height for the purposes of updating and freezing clients

func (*Height) Descriptor deprecated

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

Deprecated: Use Height.ProtoReflect.Descriptor instead.

func (*Height) GetRevisionHeight

func (x *Height) GetRevisionHeight() uint64

func (*Height) GetRevisionNumber

func (x *Height) GetRevisionNumber() uint64

func (*Height) ProtoMessage

func (*Height) ProtoMessage()

func (*Height) ProtoReflect

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

func (*Height) Reset

func (x *Height) Reset()

func (*Height) String

func (x *Height) String() string

type Message

type Message struct {

	// The payload message
	//
	// Types that are valid to be assigned to MessageOneof:
	//
	//	*Message_SendCoinsMessage
	//	*Message_TransferTokensMessage
	//	*Message_StakeMessage
	//	*Message_UnstakeMessage
	//	*Message_RestakeMessage
	//	*Message_WithdrawStakeRewardMessage
	//	*Message_RawJsonMessage
	//	*Message_WasmTerraExecuteContractTransferMessage
	//	*Message_WasmTerraExecuteContractSendMessage
	//	*Message_ThorchainSendMessage
	//	*Message_WasmTerraExecuteContractGeneric_
	//	*Message_WasmExecuteContractTransferMessage
	//	*Message_WasmExecuteContractSendMessage
	//	*Message_WasmExecuteContractGeneric_
	//	*Message_SignDirectMessage
	//	*Message_AuthGrant_
	//	*Message_AuthRevoke_
	//	*Message_SetWithdrawAddressMessage
	//	*Message_MsgVote_
	//	*Message_MsgStrideLiquidStakingStake_
	//	*Message_MsgStrideLiquidStakingRedeem_
	//	*Message_ThorchainDepositMessage
	//	*Message_WasmInstantiateContractMessage
	MessageOneof isMessage_MessageOneof `protobuf_oneof:"message_oneof"`
	// contains filtered or unexported fields
}

A transaction payload message

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetAuthGrant

func (x *Message) GetAuthGrant() *Message_AuthGrant

func (*Message) GetAuthRevoke

func (x *Message) GetAuthRevoke() *Message_AuthRevoke

func (*Message) GetMessageOneof

func (x *Message) GetMessageOneof() isMessage_MessageOneof

func (*Message) GetMsgStrideLiquidStakingRedeem

func (x *Message) GetMsgStrideLiquidStakingRedeem() *Message_MsgStrideLiquidStakingRedeem

func (*Message) GetMsgStrideLiquidStakingStake

func (x *Message) GetMsgStrideLiquidStakingStake() *Message_MsgStrideLiquidStakingStake

func (*Message) GetMsgVote

func (x *Message) GetMsgVote() *Message_MsgVote

func (*Message) GetRawJsonMessage

func (x *Message) GetRawJsonMessage() *Message_RawJSON

func (*Message) GetRestakeMessage

func (x *Message) GetRestakeMessage() *Message_BeginRedelegate

func (*Message) GetSendCoinsMessage

func (x *Message) GetSendCoinsMessage() *Message_Send

func (*Message) GetSetWithdrawAddressMessage

func (x *Message) GetSetWithdrawAddressMessage() *Message_SetWithdrawAddress

func (*Message) GetSignDirectMessage

func (x *Message) GetSignDirectMessage() *Message_SignDirect

func (*Message) GetStakeMessage

func (x *Message) GetStakeMessage() *Message_Delegate

func (*Message) GetThorchainDepositMessage

func (x *Message) GetThorchainDepositMessage() *Message_THORChainDeposit

func (*Message) GetThorchainSendMessage

func (x *Message) GetThorchainSendMessage() *Message_THORChainSend

func (*Message) GetTransferTokensMessage

func (x *Message) GetTransferTokensMessage() *Message_Transfer

func (*Message) GetUnstakeMessage

func (x *Message) GetUnstakeMessage() *Message_Undelegate

func (*Message) GetWasmExecuteContractGeneric

func (x *Message) GetWasmExecuteContractGeneric() *Message_WasmExecuteContractGeneric

func (*Message) GetWasmExecuteContractSendMessage

func (x *Message) GetWasmExecuteContractSendMessage() *Message_WasmExecuteContractSend

func (*Message) GetWasmExecuteContractTransferMessage

func (x *Message) GetWasmExecuteContractTransferMessage() *Message_WasmExecuteContractTransfer

func (*Message) GetWasmInstantiateContractMessage

func (x *Message) GetWasmInstantiateContractMessage() *Message_WasmInstantiateContract

func (*Message) GetWasmTerraExecuteContractGeneric

func (x *Message) GetWasmTerraExecuteContractGeneric() *Message_WasmTerraExecuteContractGeneric

func (*Message) GetWasmTerraExecuteContractSendMessage

func (x *Message) GetWasmTerraExecuteContractSendMessage() *Message_WasmTerraExecuteContractSend

func (*Message) GetWasmTerraExecuteContractTransferMessage

func (x *Message) GetWasmTerraExecuteContractTransferMessage() *Message_WasmTerraExecuteContractTransfer

func (*Message) GetWithdrawStakeRewardMessage

func (x *Message) GetWithdrawStakeRewardMessage() *Message_WithdrawDelegationReward

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_AuthGrant

type Message_AuthGrant struct {
	Granter string `protobuf:"bytes,1,opt,name=granter,proto3" json:"granter,omitempty"`
	Grantee string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// Types that are valid to be assigned to GrantType:
	//
	//	*Message_AuthGrant_GrantStake
	GrantType  isMessage_AuthGrant_GrantType `protobuf_oneof:"grant_type"`
	Expiration int64                         `protobuf:"varint,4,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgGrant

func (*Message_AuthGrant) Descriptor deprecated

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

Deprecated: Use Message_AuthGrant.ProtoReflect.Descriptor instead.

func (*Message_AuthGrant) GetExpiration

func (x *Message_AuthGrant) GetExpiration() int64

func (*Message_AuthGrant) GetGrantStake

func (x *Message_AuthGrant) GetGrantStake() *Message_StakeAuthorization

func (*Message_AuthGrant) GetGrantType

func (x *Message_AuthGrant) GetGrantType() isMessage_AuthGrant_GrantType

func (*Message_AuthGrant) GetGrantee

func (x *Message_AuthGrant) GetGrantee() string

func (*Message_AuthGrant) GetGranter

func (x *Message_AuthGrant) GetGranter() string

func (*Message_AuthGrant) ProtoMessage

func (*Message_AuthGrant) ProtoMessage()

func (*Message_AuthGrant) ProtoReflect

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

func (*Message_AuthGrant) Reset

func (x *Message_AuthGrant) Reset()

func (*Message_AuthGrant) String

func (x *Message_AuthGrant) String() string

type Message_AuthGrant_

type Message_AuthGrant_ struct {
	AuthGrant *Message_AuthGrant `protobuf:"bytes,17,opt,name=auth_grant,json=authGrant,proto3,oneof"`
}

type Message_AuthGrant_GrantStake

type Message_AuthGrant_GrantStake struct {
	GrantStake *Message_StakeAuthorization `protobuf:"bytes,3,opt,name=grant_stake,json=grantStake,proto3,oneof"`
}

type Message_AuthRevoke

type Message_AuthRevoke struct {
	Granter    string `protobuf:"bytes,1,opt,name=granter,proto3" json:"granter,omitempty"`
	Grantee    string `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`
	MsgTypeUrl string `protobuf:"bytes,3,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgRevoke

func (*Message_AuthRevoke) Descriptor deprecated

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

Deprecated: Use Message_AuthRevoke.ProtoReflect.Descriptor instead.

func (*Message_AuthRevoke) GetGrantee

func (x *Message_AuthRevoke) GetGrantee() string

func (*Message_AuthRevoke) GetGranter

func (x *Message_AuthRevoke) GetGranter() string

func (*Message_AuthRevoke) GetMsgTypeUrl

func (x *Message_AuthRevoke) GetMsgTypeUrl() string

func (*Message_AuthRevoke) ProtoMessage

func (*Message_AuthRevoke) ProtoMessage()

func (*Message_AuthRevoke) ProtoReflect

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

func (*Message_AuthRevoke) Reset

func (x *Message_AuthRevoke) Reset()

func (*Message_AuthRevoke) String

func (x *Message_AuthRevoke) String() string

type Message_AuthRevoke_

type Message_AuthRevoke_ struct {
	AuthRevoke *Message_AuthRevoke `protobuf:"bytes,18,opt,name=auth_revoke,json=authRevoke,proto3,oneof"`
}

type Message_AuthorizationType

type Message_AuthorizationType int32

AuthorizationType defines the type of staking module authorization type

Since: cosmos-sdk 0.43

const (
	// AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type
	Message_UNSPECIFIED Message_AuthorizationType = 0
	// AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate
	Message_DELEGATE Message_AuthorizationType = 1
	// AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate
	Message_UNDELEGATE Message_AuthorizationType = 2
	// AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate
	Message_REDELEGATE Message_AuthorizationType = 3
)

func (Message_AuthorizationType) Descriptor

func (Message_AuthorizationType) Enum

func (Message_AuthorizationType) EnumDescriptor deprecated

func (Message_AuthorizationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Message_AuthorizationType.Descriptor instead.

func (Message_AuthorizationType) Number

func (Message_AuthorizationType) String

func (x Message_AuthorizationType) String() string

func (Message_AuthorizationType) Type

type Message_BeginRedelegate

type Message_BeginRedelegate struct {
	DelegatorAddress    string  `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorSrcAddress string  `protobuf:"bytes,2,opt,name=validator_src_address,json=validatorSrcAddress,proto3" json:"validator_src_address,omitempty"`
	ValidatorDstAddress string  `protobuf:"bytes,3,opt,name=validator_dst_address,json=validatorDstAddress,proto3" json:"validator_dst_address,omitempty"`
	Amount              *Amount `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"`
	TypePrefix          string  `protobuf:"bytes,5,opt,name=type_prefix,json=typePrefix,proto3" json:"type_prefix,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgBeginRedelegate

func (*Message_BeginRedelegate) Descriptor deprecated

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

Deprecated: Use Message_BeginRedelegate.ProtoReflect.Descriptor instead.

func (*Message_BeginRedelegate) GetAmount

func (x *Message_BeginRedelegate) GetAmount() *Amount

func (*Message_BeginRedelegate) GetDelegatorAddress

func (x *Message_BeginRedelegate) GetDelegatorAddress() string

func (*Message_BeginRedelegate) GetTypePrefix

func (x *Message_BeginRedelegate) GetTypePrefix() string

func (*Message_BeginRedelegate) GetValidatorDstAddress

func (x *Message_BeginRedelegate) GetValidatorDstAddress() string

func (*Message_BeginRedelegate) GetValidatorSrcAddress

func (x *Message_BeginRedelegate) GetValidatorSrcAddress() string

func (*Message_BeginRedelegate) ProtoMessage

func (*Message_BeginRedelegate) ProtoMessage()

func (*Message_BeginRedelegate) ProtoReflect

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

func (*Message_BeginRedelegate) Reset

func (x *Message_BeginRedelegate) Reset()

func (*Message_BeginRedelegate) String

func (x *Message_BeginRedelegate) String() string

type Message_Delegate

type Message_Delegate struct {
	DelegatorAddress string  `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string  `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           *Amount `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	TypePrefix       string  `protobuf:"bytes,4,opt,name=type_prefix,json=typePrefix,proto3" json:"type_prefix,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgDelegate to stake

func (*Message_Delegate) Descriptor deprecated

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

Deprecated: Use Message_Delegate.ProtoReflect.Descriptor instead.

func (*Message_Delegate) GetAmount

func (x *Message_Delegate) GetAmount() *Amount

func (*Message_Delegate) GetDelegatorAddress

func (x *Message_Delegate) GetDelegatorAddress() string

func (*Message_Delegate) GetTypePrefix

func (x *Message_Delegate) GetTypePrefix() string

func (*Message_Delegate) GetValidatorAddress

func (x *Message_Delegate) GetValidatorAddress() string

func (*Message_Delegate) ProtoMessage

func (*Message_Delegate) ProtoMessage()

func (*Message_Delegate) ProtoReflect

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

func (*Message_Delegate) Reset

func (x *Message_Delegate) Reset()

func (*Message_Delegate) String

func (x *Message_Delegate) String() string

type Message_MsgStrideLiquidStakingRedeem

type Message_MsgStrideLiquidStakingRedeem struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount   string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	HostZone string `protobuf:"bytes,3,opt,name=host_zone,json=hostZone,proto3" json:"host_zone,omitempty"`
	Receiver string `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// contains filtered or unexported fields
}

func (*Message_MsgStrideLiquidStakingRedeem) Descriptor deprecated

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

Deprecated: Use Message_MsgStrideLiquidStakingRedeem.ProtoReflect.Descriptor instead.

func (*Message_MsgStrideLiquidStakingRedeem) GetAmount

func (*Message_MsgStrideLiquidStakingRedeem) GetCreator

func (*Message_MsgStrideLiquidStakingRedeem) GetHostZone

func (*Message_MsgStrideLiquidStakingRedeem) GetReceiver

func (*Message_MsgStrideLiquidStakingRedeem) ProtoMessage

func (*Message_MsgStrideLiquidStakingRedeem) ProtoMessage()

func (*Message_MsgStrideLiquidStakingRedeem) ProtoReflect

func (*Message_MsgStrideLiquidStakingRedeem) Reset

func (*Message_MsgStrideLiquidStakingRedeem) String

type Message_MsgStrideLiquidStakingRedeem_

type Message_MsgStrideLiquidStakingRedeem_ struct {
	MsgStrideLiquidStakingRedeem *Message_MsgStrideLiquidStakingRedeem `protobuf:"bytes,22,opt,name=msg_stride_liquid_staking_redeem,json=msgStrideLiquidStakingRedeem,proto3,oneof"`
}

type Message_MsgStrideLiquidStakingStake

type Message_MsgStrideLiquidStakingStake struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Amount    string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	HostDenom string `protobuf:"bytes,3,opt,name=host_denom,json=hostDenom,proto3" json:"host_denom,omitempty"`
	// contains filtered or unexported fields
}

func (*Message_MsgStrideLiquidStakingStake) Descriptor deprecated

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

Deprecated: Use Message_MsgStrideLiquidStakingStake.ProtoReflect.Descriptor instead.

func (*Message_MsgStrideLiquidStakingStake) GetAmount

func (*Message_MsgStrideLiquidStakingStake) GetCreator

func (*Message_MsgStrideLiquidStakingStake) GetHostDenom

func (x *Message_MsgStrideLiquidStakingStake) GetHostDenom() string

func (*Message_MsgStrideLiquidStakingStake) ProtoMessage

func (*Message_MsgStrideLiquidStakingStake) ProtoMessage()

func (*Message_MsgStrideLiquidStakingStake) ProtoReflect

func (*Message_MsgStrideLiquidStakingStake) Reset

func (*Message_MsgStrideLiquidStakingStake) String

type Message_MsgStrideLiquidStakingStake_

type Message_MsgStrideLiquidStakingStake_ struct {
	MsgStrideLiquidStakingStake *Message_MsgStrideLiquidStakingStake `protobuf:"bytes,21,opt,name=msg_stride_liquid_staking_stake,json=msgStrideLiquidStakingStake,proto3,oneof"`
}

type Message_MsgVote

type Message_MsgVote struct {
	ProposalId uint64             `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
	Voter      string             `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
	Option     Message_VoteOption `protobuf:"varint,3,opt,name=option,proto3,enum=TW.Cosmos.Proto.Message_VoteOption" json:"option,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgVote defines a message to cast a vote.

func (*Message_MsgVote) Descriptor deprecated

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

Deprecated: Use Message_MsgVote.ProtoReflect.Descriptor instead.

func (*Message_MsgVote) GetOption

func (x *Message_MsgVote) GetOption() Message_VoteOption

func (*Message_MsgVote) GetProposalId

func (x *Message_MsgVote) GetProposalId() uint64

func (*Message_MsgVote) GetVoter

func (x *Message_MsgVote) GetVoter() string

func (*Message_MsgVote) ProtoMessage

func (*Message_MsgVote) ProtoMessage()

func (*Message_MsgVote) ProtoReflect

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

func (*Message_MsgVote) Reset

func (x *Message_MsgVote) Reset()

func (*Message_MsgVote) String

func (x *Message_MsgVote) String() string

type Message_MsgVote_

type Message_MsgVote_ struct {
	MsgVote *Message_MsgVote `protobuf:"bytes,20,opt,name=msg_vote,json=msgVote,proto3,oneof"`
}

type Message_RawJSON

type Message_RawJSON struct {
	Type  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Message_RawJSON) Descriptor deprecated

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

Deprecated: Use Message_RawJSON.ProtoReflect.Descriptor instead.

func (*Message_RawJSON) GetType

func (x *Message_RawJSON) GetType() string

func (*Message_RawJSON) GetValue

func (x *Message_RawJSON) GetValue() string

func (*Message_RawJSON) ProtoMessage

func (*Message_RawJSON) ProtoMessage()

func (*Message_RawJSON) ProtoReflect

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

func (*Message_RawJSON) Reset

func (x *Message_RawJSON) Reset()

func (*Message_RawJSON) String

func (x *Message_RawJSON) String() string

type Message_RawJsonMessage

type Message_RawJsonMessage struct {
	RawJsonMessage *Message_RawJSON `protobuf:"bytes,7,opt,name=raw_json_message,json=rawJsonMessage,proto3,oneof"`
}

type Message_RestakeMessage

type Message_RestakeMessage struct {
	RestakeMessage *Message_BeginRedelegate `protobuf:"bytes,5,opt,name=restake_message,json=restakeMessage,proto3,oneof"`
}

type Message_Send

type Message_Send struct {
	FromAddress string    `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress   string    `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amounts     []*Amount `protobuf:"bytes,3,rep,name=amounts,proto3" json:"amounts,omitempty"`
	TypePrefix  string    `protobuf:"bytes,4,opt,name=type_prefix,json=typePrefix,proto3" json:"type_prefix,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgSend

func (*Message_Send) Descriptor deprecated

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

Deprecated: Use Message_Send.ProtoReflect.Descriptor instead.

func (*Message_Send) GetAmounts

func (x *Message_Send) GetAmounts() []*Amount

func (*Message_Send) GetFromAddress

func (x *Message_Send) GetFromAddress() string

func (*Message_Send) GetToAddress

func (x *Message_Send) GetToAddress() string

func (*Message_Send) GetTypePrefix

func (x *Message_Send) GetTypePrefix() string

func (*Message_Send) ProtoMessage

func (*Message_Send) ProtoMessage()

func (*Message_Send) ProtoReflect

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

func (*Message_Send) Reset

func (x *Message_Send) Reset()

func (*Message_Send) String

func (x *Message_Send) String() string

type Message_SendCoinsMessage

type Message_SendCoinsMessage struct {
	SendCoinsMessage *Message_Send `protobuf:"bytes,1,opt,name=send_coins_message,json=sendCoinsMessage,proto3,oneof"`
}

type Message_SetWithdrawAddress

type Message_SetWithdrawAddress struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	WithdrawAddress  string `protobuf:"bytes,2,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"`
	TypePrefix       string `protobuf:"bytes,3,opt,name=type_prefix,json=typePrefix,proto3" json:"type_prefix,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgSetWithdrawAddress

func (*Message_SetWithdrawAddress) Descriptor deprecated

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

Deprecated: Use Message_SetWithdrawAddress.ProtoReflect.Descriptor instead.

func (*Message_SetWithdrawAddress) GetDelegatorAddress

func (x *Message_SetWithdrawAddress) GetDelegatorAddress() string

func (*Message_SetWithdrawAddress) GetTypePrefix

func (x *Message_SetWithdrawAddress) GetTypePrefix() string

func (*Message_SetWithdrawAddress) GetWithdrawAddress

func (x *Message_SetWithdrawAddress) GetWithdrawAddress() string

func (*Message_SetWithdrawAddress) ProtoMessage

func (*Message_SetWithdrawAddress) ProtoMessage()

func (*Message_SetWithdrawAddress) ProtoReflect

func (*Message_SetWithdrawAddress) Reset

func (x *Message_SetWithdrawAddress) Reset()

func (*Message_SetWithdrawAddress) String

func (x *Message_SetWithdrawAddress) String() string

type Message_SetWithdrawAddressMessage

type Message_SetWithdrawAddressMessage struct {
	SetWithdrawAddressMessage *Message_SetWithdrawAddress `protobuf:"bytes,19,opt,name=set_withdraw_address_message,json=setWithdrawAddressMessage,proto3,oneof"`
}

type Message_SignDirect

type Message_SignDirect struct {

	// The prepared serialized TxBody
	// Required
	BodyBytes []byte `protobuf:"bytes,1,opt,name=body_bytes,json=bodyBytes,proto3" json:"body_bytes,omitempty"`
	// The prepared serialized AuthInfo
	// Optional. If not provided, will be generated from `SigningInput` parameters.
	AuthInfoBytes []byte `protobuf:"bytes,2,opt,name=auth_info_bytes,json=authInfoBytes,proto3" json:"auth_info_bytes,omitempty"`
	// contains filtered or unexported fields
}

For signing an already serialized transaction. Account number and chain ID must be set outside.

func (*Message_SignDirect) Descriptor deprecated

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

Deprecated: Use Message_SignDirect.ProtoReflect.Descriptor instead.

func (*Message_SignDirect) GetAuthInfoBytes

func (x *Message_SignDirect) GetAuthInfoBytes() []byte

func (*Message_SignDirect) GetBodyBytes

func (x *Message_SignDirect) GetBodyBytes() []byte

func (*Message_SignDirect) ProtoMessage

func (*Message_SignDirect) ProtoMessage()

func (*Message_SignDirect) ProtoReflect

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

func (*Message_SignDirect) Reset

func (x *Message_SignDirect) Reset()

func (*Message_SignDirect) String

func (x *Message_SignDirect) String() string

type Message_SignDirectMessage

type Message_SignDirectMessage struct {
	SignDirectMessage *Message_SignDirect `protobuf:"bytes,16,opt,name=sign_direct_message,json=signDirectMessage,proto3,oneof"`
}

type Message_StakeAuthorization

type Message_StakeAuthorization struct {

	// max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is
	// empty, there is no spend limit and any amount of coins can be delegated.
	MaxTokens *Amount `protobuf:"bytes,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"`
	// validators is the oneof that represents either allow_list or deny_list
	//
	// Types that are valid to be assigned to Validators:
	//
	//	*Message_StakeAuthorization_AllowList
	//	*Message_StakeAuthorization_DenyList
	Validators isMessage_StakeAuthorization_Validators `protobuf_oneof:"validators"`
	// authorization_type defines one of AuthorizationType.
	AuthorizationType Message_AuthorizationType `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

StakeAuthorization defines authorization for delegate/undelegate/redelegate.

Since: cosmos-sdk 0.43

func (*Message_StakeAuthorization) Descriptor deprecated

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

Deprecated: Use Message_StakeAuthorization.ProtoReflect.Descriptor instead.

func (*Message_StakeAuthorization) GetAllowList

func (*Message_StakeAuthorization) GetAuthorizationType

func (x *Message_StakeAuthorization) GetAuthorizationType() Message_AuthorizationType

func (*Message_StakeAuthorization) GetDenyList

func (*Message_StakeAuthorization) GetMaxTokens

func (x *Message_StakeAuthorization) GetMaxTokens() *Amount

func (*Message_StakeAuthorization) GetValidators

func (x *Message_StakeAuthorization) GetValidators() isMessage_StakeAuthorization_Validators

func (*Message_StakeAuthorization) ProtoMessage

func (*Message_StakeAuthorization) ProtoMessage()

func (*Message_StakeAuthorization) ProtoReflect

func (*Message_StakeAuthorization) Reset

func (x *Message_StakeAuthorization) Reset()

func (*Message_StakeAuthorization) String

func (x *Message_StakeAuthorization) String() string

type Message_StakeAuthorization_AllowList

type Message_StakeAuthorization_AllowList struct {
	// allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's
	// account.
	AllowList *Message_StakeAuthorization_Validators `protobuf:"bytes,2,opt,name=allow_list,json=allowList,proto3,oneof"`
}

type Message_StakeAuthorization_DenyList

type Message_StakeAuthorization_DenyList struct {
	// deny_list specifies list of validator addresses to whom grantee can not delegate tokens.
	DenyList *Message_StakeAuthorization_Validators `protobuf:"bytes,3,opt,name=deny_list,json=denyList,proto3,oneof"`
}

type Message_StakeAuthorization_Validators

type Message_StakeAuthorization_Validators struct {
	Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

Validators defines list of validator addresses.

func (*Message_StakeAuthorization_Validators) Descriptor deprecated

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

Deprecated: Use Message_StakeAuthorization_Validators.ProtoReflect.Descriptor instead.

func (*Message_StakeAuthorization_Validators) GetAddress

func (*Message_StakeAuthorization_Validators) ProtoMessage

func (*Message_StakeAuthorization_Validators) ProtoMessage()

func (*Message_StakeAuthorization_Validators) ProtoReflect

func (*Message_StakeAuthorization_Validators) Reset

func (*Message_StakeAuthorization_Validators) String

type Message_StakeMessage

type Message_StakeMessage struct {
	StakeMessage *Message_Delegate `protobuf:"bytes,3,opt,name=stake_message,json=stakeMessage,proto3,oneof"`
}

type Message_THORChainDeposit

type Message_THORChainDeposit struct {
	Coins  []*THORChainCoin `protobuf:"bytes,1,rep,name=coins,proto3" json:"coins,omitempty"`
	Memo   string           `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	Signer []byte           `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

thorchain/MsgDeposit

func (*Message_THORChainDeposit) Descriptor deprecated

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

Deprecated: Use Message_THORChainDeposit.ProtoReflect.Descriptor instead.

func (*Message_THORChainDeposit) GetCoins

func (x *Message_THORChainDeposit) GetCoins() []*THORChainCoin

func (*Message_THORChainDeposit) GetMemo

func (x *Message_THORChainDeposit) GetMemo() string

func (*Message_THORChainDeposit) GetSigner

func (x *Message_THORChainDeposit) GetSigner() []byte

func (*Message_THORChainDeposit) ProtoMessage

func (*Message_THORChainDeposit) ProtoMessage()

func (*Message_THORChainDeposit) ProtoReflect

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

func (*Message_THORChainDeposit) Reset

func (x *Message_THORChainDeposit) Reset()

func (*Message_THORChainDeposit) String

func (x *Message_THORChainDeposit) String() string

type Message_THORChainSend

type Message_THORChainSend struct {
	FromAddress []byte    `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress   []byte    `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amounts     []*Amount `protobuf:"bytes,3,rep,name=amounts,proto3" json:"amounts,omitempty"`
	// contains filtered or unexported fields
}

thorchain/MsgSend

func (*Message_THORChainSend) Descriptor deprecated

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

Deprecated: Use Message_THORChainSend.ProtoReflect.Descriptor instead.

func (*Message_THORChainSend) GetAmounts

func (x *Message_THORChainSend) GetAmounts() []*Amount

func (*Message_THORChainSend) GetFromAddress

func (x *Message_THORChainSend) GetFromAddress() []byte

func (*Message_THORChainSend) GetToAddress

func (x *Message_THORChainSend) GetToAddress() []byte

func (*Message_THORChainSend) ProtoMessage

func (*Message_THORChainSend) ProtoMessage()

func (*Message_THORChainSend) ProtoReflect

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

func (*Message_THORChainSend) Reset

func (x *Message_THORChainSend) Reset()

func (*Message_THORChainSend) String

func (x *Message_THORChainSend) String() string

type Message_ThorchainDepositMessage

type Message_ThorchainDepositMessage struct {
	ThorchainDepositMessage *Message_THORChainDeposit `protobuf:"bytes,23,opt,name=thorchain_deposit_message,json=thorchainDepositMessage,proto3,oneof"`
}

type Message_ThorchainSendMessage

type Message_ThorchainSendMessage struct {
	ThorchainSendMessage *Message_THORChainSend `protobuf:"bytes,10,opt,name=thorchain_send_message,json=thorchainSendMessage,proto3,oneof"`
}

type Message_Transfer

type Message_Transfer struct {

	// IBC port, e.g. "transfer"
	SourcePort string `protobuf:"bytes,1,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty"`
	// IBC connection channel, e.g. "channel-141", see apis /ibc/applications/transfer/v1beta1/denom_traces (connections) or /node_info (own channel)
	SourceChannel string  `protobuf:"bytes,2,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"`
	Token         *Amount `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	Sender        string  `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver      string  `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// Timeout block height. Either timeout height or timestamp should be set.
	// Recommendation is to set height, to rev. 1 and block current + 1000 (see api /blocks/latest)
	TimeoutHeight *Height `protobuf:"bytes,6,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	// Timeout timestamp (in nanoseconds) relative to the current block timestamp.  Either timeout height or timestamp should be set.
	TimeoutTimestamp uint64 `protobuf:"varint,7,opt,name=timeout_timestamp,json=timeoutTimestamp,proto3" json:"timeout_timestamp,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgTransfer, IBC transfer

func (*Message_Transfer) Descriptor deprecated

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

Deprecated: Use Message_Transfer.ProtoReflect.Descriptor instead.

func (*Message_Transfer) GetReceiver

func (x *Message_Transfer) GetReceiver() string

func (*Message_Transfer) GetSender

func (x *Message_Transfer) GetSender() string

func (*Message_Transfer) GetSourceChannel

func (x *Message_Transfer) GetSourceChannel() string

func (*Message_Transfer) GetSourcePort

func (x *Message_Transfer) GetSourcePort() string

func (*Message_Transfer) GetTimeoutHeight

func (x *Message_Transfer) GetTimeoutHeight() *Height

func (*Message_Transfer) GetTimeoutTimestamp

func (x *Message_Transfer) GetTimeoutTimestamp() uint64

func (*Message_Transfer) GetToken

func (x *Message_Transfer) GetToken() *Amount

func (*Message_Transfer) ProtoMessage

func (*Message_Transfer) ProtoMessage()

func (*Message_Transfer) ProtoReflect

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

func (*Message_Transfer) Reset

func (x *Message_Transfer) Reset()

func (*Message_Transfer) String

func (x *Message_Transfer) String() string

type Message_TransferTokensMessage

type Message_TransferTokensMessage struct {
	TransferTokensMessage *Message_Transfer `protobuf:"bytes,2,opt,name=transfer_tokens_message,json=transferTokensMessage,proto3,oneof"`
}

type Message_Undelegate

type Message_Undelegate struct {
	DelegatorAddress string  `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string  `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Amount           *Amount `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	TypePrefix       string  `protobuf:"bytes,4,opt,name=type_prefix,json=typePrefix,proto3" json:"type_prefix,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgUndelegate to unstake

func (*Message_Undelegate) Descriptor deprecated

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

Deprecated: Use Message_Undelegate.ProtoReflect.Descriptor instead.

func (*Message_Undelegate) GetAmount

func (x *Message_Undelegate) GetAmount() *Amount

func (*Message_Undelegate) GetDelegatorAddress

func (x *Message_Undelegate) GetDelegatorAddress() string

func (*Message_Undelegate) GetTypePrefix

func (x *Message_Undelegate) GetTypePrefix() string

func (*Message_Undelegate) GetValidatorAddress

func (x *Message_Undelegate) GetValidatorAddress() string

func (*Message_Undelegate) ProtoMessage

func (*Message_Undelegate) ProtoMessage()

func (*Message_Undelegate) ProtoReflect

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

func (*Message_Undelegate) Reset

func (x *Message_Undelegate) Reset()

func (*Message_Undelegate) String

func (x *Message_Undelegate) String() string

type Message_UnstakeMessage

type Message_UnstakeMessage struct {
	UnstakeMessage *Message_Undelegate `protobuf:"bytes,4,opt,name=unstake_message,json=unstakeMessage,proto3,oneof"`
}

type Message_VoteOption

type Message_VoteOption int32

VoteOption enumerates the valid vote options for a given governance proposal.

const (
	// _UNSPECIFIED defines a no-op vote option.
	Message__UNSPECIFIED Message_VoteOption = 0
	// YES defines a yes vote option.
	Message_YES Message_VoteOption = 1
	// ABSTAIN defines an abstain vote option.
	Message_ABSTAIN Message_VoteOption = 2
	// NO defines a no vote option.
	Message_NO Message_VoteOption = 3
	// NO_WITH_VETO defines a no with veto vote option.
	Message_NO_WITH_VETO Message_VoteOption = 4
)

func (Message_VoteOption) Descriptor

func (Message_VoteOption) Enum

func (Message_VoteOption) EnumDescriptor deprecated

func (Message_VoteOption) EnumDescriptor() ([]byte, []int)

Deprecated: Use Message_VoteOption.Descriptor instead.

func (Message_VoteOption) Number

func (Message_VoteOption) String

func (x Message_VoteOption) String() string

func (Message_VoteOption) Type

type Message_WasmExecuteContractGeneric

type Message_WasmExecuteContractGeneric struct {

	// sender address
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	// token contract address
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// execute_msg to be executed in the context of recipient contract
	ExecuteMsg string `protobuf:"bytes,3,opt,name=execute_msg,json=executeMsg,proto3" json:"execute_msg,omitempty"`
	// used in case you are sending native tokens along with this message
	// Gap in field numbering is intentional
	Coins []*Amount `protobuf:"bytes,5,rep,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

execute within wasm/MsgExecuteContract TODO replaces `ExecuteContract`.

func (*Message_WasmExecuteContractGeneric) Descriptor deprecated

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

Deprecated: Use Message_WasmExecuteContractGeneric.ProtoReflect.Descriptor instead.

func (*Message_WasmExecuteContractGeneric) GetCoins

func (x *Message_WasmExecuteContractGeneric) GetCoins() []*Amount

func (*Message_WasmExecuteContractGeneric) GetContractAddress

func (x *Message_WasmExecuteContractGeneric) GetContractAddress() string

func (*Message_WasmExecuteContractGeneric) GetExecuteMsg

func (x *Message_WasmExecuteContractGeneric) GetExecuteMsg() string

func (*Message_WasmExecuteContractGeneric) GetSenderAddress

func (x *Message_WasmExecuteContractGeneric) GetSenderAddress() string

func (*Message_WasmExecuteContractGeneric) ProtoMessage

func (*Message_WasmExecuteContractGeneric) ProtoMessage()

func (*Message_WasmExecuteContractGeneric) ProtoReflect

func (*Message_WasmExecuteContractGeneric) Reset

func (*Message_WasmExecuteContractGeneric) String

type Message_WasmExecuteContractGeneric_

type Message_WasmExecuteContractGeneric_ struct {
	WasmExecuteContractGeneric *Message_WasmExecuteContractGeneric `protobuf:"bytes,15,opt,name=wasm_execute_contract_generic,json=wasmExecuteContractGeneric,proto3,oneof"`
}

type Message_WasmExecuteContractSend

type Message_WasmExecuteContractSend struct {

	// sender address
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	// token contract address
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// size is uint128, as bigint
	Amount                   []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	RecipientContractAddress string `` /* 135-byte string literal not displayed */
	// execute_msg to be executed in the context of recipient contract
	Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`
	// used in case you are sending native tokens along with this message
	Coin []string `protobuf:"bytes,6,rep,name=coin,proto3" json:"coin,omitempty"`
	// contains filtered or unexported fields
}

send within wasm/MsgExecuteContract

func (*Message_WasmExecuteContractSend) Descriptor deprecated

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

Deprecated: Use Message_WasmExecuteContractSend.ProtoReflect.Descriptor instead.

func (*Message_WasmExecuteContractSend) GetAmount

func (x *Message_WasmExecuteContractSend) GetAmount() []byte

func (*Message_WasmExecuteContractSend) GetCoin

func (x *Message_WasmExecuteContractSend) GetCoin() []string

func (*Message_WasmExecuteContractSend) GetContractAddress

func (x *Message_WasmExecuteContractSend) GetContractAddress() string

func (*Message_WasmExecuteContractSend) GetMsg

func (*Message_WasmExecuteContractSend) GetRecipientContractAddress

func (x *Message_WasmExecuteContractSend) GetRecipientContractAddress() string

func (*Message_WasmExecuteContractSend) GetSenderAddress

func (x *Message_WasmExecuteContractSend) GetSenderAddress() string

func (*Message_WasmExecuteContractSend) ProtoMessage

func (*Message_WasmExecuteContractSend) ProtoMessage()

func (*Message_WasmExecuteContractSend) ProtoReflect

func (*Message_WasmExecuteContractSend) Reset

func (*Message_WasmExecuteContractSend) String

type Message_WasmExecuteContractSendMessage

type Message_WasmExecuteContractSendMessage struct {
	WasmExecuteContractSendMessage *Message_WasmExecuteContractSend `protobuf:"bytes,14,opt,name=wasm_execute_contract_send_message,json=wasmExecuteContractSendMessage,proto3,oneof"`
}

type Message_WasmExecuteContractTransfer

type Message_WasmExecuteContractTransfer struct {

	// sender address
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	// token contract address
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// size is uint128, as bigint
	Amount           []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	RecipientAddress string `protobuf:"bytes,4,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// contains filtered or unexported fields
}

transfer within wasm/MsgExecuteContract

func (*Message_WasmExecuteContractTransfer) Descriptor deprecated

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

Deprecated: Use Message_WasmExecuteContractTransfer.ProtoReflect.Descriptor instead.

func (*Message_WasmExecuteContractTransfer) GetAmount

func (x *Message_WasmExecuteContractTransfer) GetAmount() []byte

func (*Message_WasmExecuteContractTransfer) GetContractAddress

func (x *Message_WasmExecuteContractTransfer) GetContractAddress() string

func (*Message_WasmExecuteContractTransfer) GetRecipientAddress

func (x *Message_WasmExecuteContractTransfer) GetRecipientAddress() string

func (*Message_WasmExecuteContractTransfer) GetSenderAddress

func (x *Message_WasmExecuteContractTransfer) GetSenderAddress() string

func (*Message_WasmExecuteContractTransfer) ProtoMessage

func (*Message_WasmExecuteContractTransfer) ProtoMessage()

func (*Message_WasmExecuteContractTransfer) ProtoReflect

func (*Message_WasmExecuteContractTransfer) Reset

func (*Message_WasmExecuteContractTransfer) String

type Message_WasmExecuteContractTransferMessage

type Message_WasmExecuteContractTransferMessage struct {
	WasmExecuteContractTransferMessage *Message_WasmExecuteContractTransfer `protobuf:"bytes,13,opt,name=wasm_execute_contract_transfer_message,json=wasmExecuteContractTransferMessage,proto3,oneof"`
}

type Message_WasmInstantiateContract

type Message_WasmInstantiateContract struct {
	Sender    string    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Admin     string    `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
	CodeId    uint64    `protobuf:"varint,3,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"`
	Label     string    `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	Msg       []byte    `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`
	InitFunds []*Amount `protobuf:"bytes,6,rep,name=init_funds,json=initFunds,proto3" json:"init_funds,omitempty"`
	// contains filtered or unexported fields
}

MsgInstantiateContract defines a message for instantiating a new CosmWasm contract.

func (*Message_WasmInstantiateContract) Descriptor deprecated

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

Deprecated: Use Message_WasmInstantiateContract.ProtoReflect.Descriptor instead.

func (*Message_WasmInstantiateContract) GetAdmin

func (*Message_WasmInstantiateContract) GetCodeId

func (x *Message_WasmInstantiateContract) GetCodeId() uint64

func (*Message_WasmInstantiateContract) GetInitFunds

func (x *Message_WasmInstantiateContract) GetInitFunds() []*Amount

func (*Message_WasmInstantiateContract) GetLabel

func (*Message_WasmInstantiateContract) GetMsg

func (x *Message_WasmInstantiateContract) GetMsg() []byte

func (*Message_WasmInstantiateContract) GetSender

func (x *Message_WasmInstantiateContract) GetSender() string

func (*Message_WasmInstantiateContract) ProtoMessage

func (*Message_WasmInstantiateContract) ProtoMessage()

func (*Message_WasmInstantiateContract) ProtoReflect

func (*Message_WasmInstantiateContract) Reset

func (*Message_WasmInstantiateContract) String

type Message_WasmInstantiateContractMessage

type Message_WasmInstantiateContractMessage struct {
	WasmInstantiateContractMessage *Message_WasmInstantiateContract `protobuf:"bytes,24,opt,name=wasm_instantiate_contract_message,json=wasmInstantiateContractMessage,proto3,oneof"`
}

type Message_WasmTerraExecuteContractGeneric

type Message_WasmTerraExecuteContractGeneric struct {

	// sender address
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	// token contract address
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// execute_msg to be executed in the context of recipient contract
	ExecuteMsg string `protobuf:"bytes,3,opt,name=execute_msg,json=executeMsg,proto3" json:"execute_msg,omitempty"`
	// used in case you are sending native tokens along with this message
	// Gap in field numbering is intentional
	Coins []*Amount `protobuf:"bytes,5,rep,name=coins,proto3" json:"coins,omitempty"`
	// contains filtered or unexported fields
}

execute within wasm/MsgExecuteContract, used by Terra Classic

func (*Message_WasmTerraExecuteContractGeneric) Descriptor deprecated

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

Deprecated: Use Message_WasmTerraExecuteContractGeneric.ProtoReflect.Descriptor instead.

func (*Message_WasmTerraExecuteContractGeneric) GetCoins

func (*Message_WasmTerraExecuteContractGeneric) GetContractAddress

func (x *Message_WasmTerraExecuteContractGeneric) GetContractAddress() string

func (*Message_WasmTerraExecuteContractGeneric) GetExecuteMsg

func (*Message_WasmTerraExecuteContractGeneric) GetSenderAddress

func (x *Message_WasmTerraExecuteContractGeneric) GetSenderAddress() string

func (*Message_WasmTerraExecuteContractGeneric) ProtoMessage

func (*Message_WasmTerraExecuteContractGeneric) ProtoReflect

func (*Message_WasmTerraExecuteContractGeneric) Reset

func (*Message_WasmTerraExecuteContractGeneric) String

type Message_WasmTerraExecuteContractGeneric_

type Message_WasmTerraExecuteContractGeneric_ struct {
	WasmTerraExecuteContractGeneric *Message_WasmTerraExecuteContractGeneric `protobuf:"bytes,12,opt,name=wasm_terra_execute_contract_generic,json=wasmTerraExecuteContractGeneric,proto3,oneof"`
}

type Message_WasmTerraExecuteContractSend

type Message_WasmTerraExecuteContractSend struct {

	// sender address
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	// token contract address
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// size is uint128, as bigint
	Amount                   []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	RecipientContractAddress string `` /* 135-byte string literal not displayed */
	// execute_msg to be executed in the context of recipient contract
	Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`
	// used in case you are sending native tokens along with this message
	Coin []string `protobuf:"bytes,6,rep,name=coin,proto3" json:"coin,omitempty"`
	// contains filtered or unexported fields
}

send within wasm/MsgExecuteContract, used by Terra Classic

func (*Message_WasmTerraExecuteContractSend) Descriptor deprecated

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

Deprecated: Use Message_WasmTerraExecuteContractSend.ProtoReflect.Descriptor instead.

func (*Message_WasmTerraExecuteContractSend) GetAmount

func (x *Message_WasmTerraExecuteContractSend) GetAmount() []byte

func (*Message_WasmTerraExecuteContractSend) GetCoin

func (*Message_WasmTerraExecuteContractSend) GetContractAddress

func (x *Message_WasmTerraExecuteContractSend) GetContractAddress() string

func (*Message_WasmTerraExecuteContractSend) GetMsg

func (*Message_WasmTerraExecuteContractSend) GetRecipientContractAddress

func (x *Message_WasmTerraExecuteContractSend) GetRecipientContractAddress() string

func (*Message_WasmTerraExecuteContractSend) GetSenderAddress

func (x *Message_WasmTerraExecuteContractSend) GetSenderAddress() string

func (*Message_WasmTerraExecuteContractSend) ProtoMessage

func (*Message_WasmTerraExecuteContractSend) ProtoMessage()

func (*Message_WasmTerraExecuteContractSend) ProtoReflect

func (*Message_WasmTerraExecuteContractSend) Reset

func (*Message_WasmTerraExecuteContractSend) String

type Message_WasmTerraExecuteContractSendMessage

type Message_WasmTerraExecuteContractSendMessage struct {
	WasmTerraExecuteContractSendMessage *Message_WasmTerraExecuteContractSend `protobuf:"bytes,9,opt,name=wasm_terra_execute_contract_send_message,json=wasmTerraExecuteContractSendMessage,proto3,oneof"`
}

type Message_WasmTerraExecuteContractTransfer

type Message_WasmTerraExecuteContractTransfer struct {

	// sender address
	SenderAddress string `protobuf:"bytes,1,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"`
	// token contract address
	ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// size is uint128, as bigint
	Amount           []byte `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	RecipientAddress string `protobuf:"bytes,4,opt,name=recipient_address,json=recipientAddress,proto3" json:"recipient_address,omitempty"`
	// contains filtered or unexported fields
}

transfer within wasm/MsgExecuteContract, used by Terra Classic

func (*Message_WasmTerraExecuteContractTransfer) Descriptor deprecated

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

Deprecated: Use Message_WasmTerraExecuteContractTransfer.ProtoReflect.Descriptor instead.

func (*Message_WasmTerraExecuteContractTransfer) GetAmount

func (*Message_WasmTerraExecuteContractTransfer) GetContractAddress

func (x *Message_WasmTerraExecuteContractTransfer) GetContractAddress() string

func (*Message_WasmTerraExecuteContractTransfer) GetRecipientAddress

func (x *Message_WasmTerraExecuteContractTransfer) GetRecipientAddress() string

func (*Message_WasmTerraExecuteContractTransfer) GetSenderAddress

func (x *Message_WasmTerraExecuteContractTransfer) GetSenderAddress() string

func (*Message_WasmTerraExecuteContractTransfer) ProtoMessage

func (*Message_WasmTerraExecuteContractTransfer) ProtoReflect

func (*Message_WasmTerraExecuteContractTransfer) Reset

func (*Message_WasmTerraExecuteContractTransfer) String

type Message_WasmTerraExecuteContractTransferMessage

type Message_WasmTerraExecuteContractTransferMessage struct {
	WasmTerraExecuteContractTransferMessage *Message_WasmTerraExecuteContractTransfer `` /* 130-byte string literal not displayed */
}

type Message_WithdrawDelegationReward

type Message_WithdrawDelegationReward struct {
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	TypePrefix       string `protobuf:"bytes,3,opt,name=type_prefix,json=typePrefix,proto3" json:"type_prefix,omitempty"`
	// contains filtered or unexported fields
}

cosmos-sdk/MsgWithdrawDelegationReward

func (*Message_WithdrawDelegationReward) Descriptor deprecated

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

Deprecated: Use Message_WithdrawDelegationReward.ProtoReflect.Descriptor instead.

func (*Message_WithdrawDelegationReward) GetDelegatorAddress

func (x *Message_WithdrawDelegationReward) GetDelegatorAddress() string

func (*Message_WithdrawDelegationReward) GetTypePrefix

func (x *Message_WithdrawDelegationReward) GetTypePrefix() string

func (*Message_WithdrawDelegationReward) GetValidatorAddress

func (x *Message_WithdrawDelegationReward) GetValidatorAddress() string

func (*Message_WithdrawDelegationReward) ProtoMessage

func (*Message_WithdrawDelegationReward) ProtoMessage()

func (*Message_WithdrawDelegationReward) ProtoReflect

func (*Message_WithdrawDelegationReward) Reset

func (*Message_WithdrawDelegationReward) String

type Message_WithdrawStakeRewardMessage

type Message_WithdrawStakeRewardMessage struct {
	WithdrawStakeRewardMessage *Message_WithdrawDelegationReward `protobuf:"bytes,6,opt,name=withdraw_stake_reward_message,json=withdrawStakeRewardMessage,proto3,oneof"`
}

type SignerInfo

type SignerInfo struct {

	// Public key type used to sign a transaction.
	// It can be different from the value from `registry.json`.
	PublicKeyType SignerPublicKeyType `` /* 144-byte string literal not displayed */
	JsonType      string              `protobuf:"bytes,2,opt,name=json_type,json=jsonType,proto3" json:"json_type,omitempty"`
	ProtobufType  string              `protobuf:"bytes,3,opt,name=protobuf_type,json=protobufType,proto3" json:"protobuf_type,omitempty"`
	// contains filtered or unexported fields
}

Custom Signer info required to sign a transaction and generate a broadcast JSON message.

func (*SignerInfo) Descriptor deprecated

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

Deprecated: Use SignerInfo.ProtoReflect.Descriptor instead.

func (*SignerInfo) GetJsonType

func (x *SignerInfo) GetJsonType() string

func (*SignerInfo) GetProtobufType

func (x *SignerInfo) GetProtobufType() string

func (*SignerInfo) GetPublicKeyType

func (x *SignerInfo) GetPublicKeyType() SignerPublicKeyType

func (*SignerInfo) ProtoMessage

func (*SignerInfo) ProtoMessage()

func (*SignerInfo) ProtoReflect

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

func (*SignerInfo) Reset

func (x *SignerInfo) Reset()

func (*SignerInfo) String

func (x *SignerInfo) String() string

type SignerPublicKeyType

type SignerPublicKeyType int32
const (
	// Default public key type.
	SignerPublicKeyType_Secp256k1 SignerPublicKeyType = 0
	// Mostly used in Cosmos chains with EVM support.
	SignerPublicKeyType_Secp256k1Extended SignerPublicKeyType = 1
)

func (SignerPublicKeyType) Descriptor

func (SignerPublicKeyType) Enum

func (SignerPublicKeyType) EnumDescriptor deprecated

func (SignerPublicKeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SignerPublicKeyType.Descriptor instead.

func (SignerPublicKeyType) Number

func (SignerPublicKeyType) String

func (x SignerPublicKeyType) String() string

func (SignerPublicKeyType) Type

type SigningInput

type SigningInput struct {

	// Specify if protobuf (a.k.a. Stargate) or earlier JSON serialization is used
	SigningMode SigningMode `` /* 128-byte string literal not displayed */
	// Source account number
	AccountNumber uint64 `protobuf:"varint,2,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// Chain ID (string)
	ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Transaction fee
	Fee *Fee `protobuf:"bytes,4,opt,name=fee,proto3" json:"fee,omitempty"`
	// Optional memo
	Memo string `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
	// Sequence number (account specific)
	Sequence uint64 `protobuf:"varint,6,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// The secret private key used for signing (32 bytes).
	PrivateKey []byte `protobuf:"bytes,7,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// Payload message(s)
	Messages []*Message `protobuf:"bytes,8,rep,name=messages,proto3" json:"messages,omitempty"`
	// Broadcast mode (included in output, relevant when broadcasting)
	Mode      BroadcastMode `protobuf:"varint,9,opt,name=mode,proto3,enum=TW.Cosmos.Proto.BroadcastMode" json:"mode,omitempty"`
	PublicKey []byte        `protobuf:"bytes,10,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	TxHasher  TxHasher      `protobuf:"varint,11,opt,name=tx_hasher,json=txHasher,proto3,enum=TW.Cosmos.Proto.TxHasher" json:"tx_hasher,omitempty"`
	// Optional. If set, use a different Signer info when signing the transaction.
	SignerInfo *SignerInfo `protobuf:"bytes,12,opt,name=signer_info,json=signerInfo,proto3" json:"signer_info,omitempty"`
	// Optional timeout_height
	TimeoutHeight uint64 `protobuf:"varint,13,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	// contains filtered or unexported fields
}

Input data necessary to create a signed transaction.

func (*SigningInput) Descriptor deprecated

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

Deprecated: Use SigningInput.ProtoReflect.Descriptor instead.

func (*SigningInput) GetAccountNumber

func (x *SigningInput) GetAccountNumber() uint64

func (*SigningInput) GetChainId

func (x *SigningInput) GetChainId() string

func (*SigningInput) GetFee

func (x *SigningInput) GetFee() *Fee

func (*SigningInput) GetMemo

func (x *SigningInput) GetMemo() string

func (*SigningInput) GetMessages

func (x *SigningInput) GetMessages() []*Message

func (*SigningInput) GetMode

func (x *SigningInput) GetMode() BroadcastMode

func (*SigningInput) GetPrivateKey

func (x *SigningInput) GetPrivateKey() []byte

func (*SigningInput) GetPublicKey

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

func (*SigningInput) GetSequence

func (x *SigningInput) GetSequence() uint64

func (*SigningInput) GetSignerInfo

func (x *SigningInput) GetSignerInfo() *SignerInfo

func (*SigningInput) GetSigningMode

func (x *SigningInput) GetSigningMode() SigningMode

func (*SigningInput) GetTimeoutHeight

func (x *SigningInput) GetTimeoutHeight() uint64

func (*SigningInput) GetTxHasher

func (x *SigningInput) GetTxHasher() TxHasher

func (*SigningInput) ProtoMessage

func (*SigningInput) ProtoMessage()

func (*SigningInput) ProtoReflect

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

func (*SigningInput) Reset

func (x *SigningInput) Reset()

func (*SigningInput) String

func (x *SigningInput) String() string

type SigningMode

type SigningMode int32

Options for transaction encoding: JSON (Amino, older) or Protobuf.

const (
	SigningMode_JSON     SigningMode = 0 // JSON format, Pre-Stargate
	SigningMode_Protobuf SigningMode = 1 // Protobuf-serialized (binary), Stargate
)

func (SigningMode) Descriptor

func (SigningMode) Enum

func (x SigningMode) Enum() *SigningMode

func (SigningMode) EnumDescriptor deprecated

func (SigningMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SigningMode.Descriptor instead.

func (SigningMode) Number

func (x SigningMode) Number() protoreflect.EnumNumber

func (SigningMode) String

func (x SigningMode) String() string

func (SigningMode) Type

type SigningOutput

type SigningOutput struct {

	// Signature
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// Signed transaction in JSON (pre-Stargate case)
	Json string `protobuf:"bytes,2,opt,name=json,proto3" json:"json,omitempty"`
	// Signed transaction containing protobuf encoded, Base64-encoded form (Stargate case),
	// wrapped in a ready-to-broadcast json.
	Serialized string `protobuf:"bytes,3,opt,name=serialized,proto3" json:"serialized,omitempty"`
	// signatures array json string
	SignatureJson string `protobuf:"bytes,4,opt,name=signature_json,json=signatureJson,proto3" json:"signature_json,omitempty"`
	// error description
	ErrorMessage string              `protobuf:"bytes,5,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	Error        common.SigningError `protobuf:"varint,6,opt,name=error,proto3,enum=TW.Common.Proto.SigningError" json:"error,omitempty"`
	// contains filtered or unexported fields
}

Result containing the signed and encoded transaction.

func (*SigningOutput) Descriptor deprecated

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

Deprecated: Use SigningOutput.ProtoReflect.Descriptor instead.

func (*SigningOutput) GetError

func (x *SigningOutput) GetError() common.SigningError

func (*SigningOutput) GetErrorMessage

func (x *SigningOutput) GetErrorMessage() string

func (*SigningOutput) GetJson

func (x *SigningOutput) GetJson() string

func (*SigningOutput) GetSerialized

func (x *SigningOutput) GetSerialized() string

func (*SigningOutput) GetSignature

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

func (*SigningOutput) GetSignatureJson

func (x *SigningOutput) GetSignatureJson() string

func (*SigningOutput) ProtoMessage

func (*SigningOutput) ProtoMessage()

func (*SigningOutput) ProtoReflect

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

func (*SigningOutput) Reset

func (x *SigningOutput) Reset()

func (*SigningOutput) String

func (x *SigningOutput) String() string

type THORChainAsset

type THORChainAsset struct {
	Chain  string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
	Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
	Synth  bool   `protobuf:"varint,4,opt,name=synth,proto3" json:"synth,omitempty"`
	// contains filtered or unexported fields
}

func (*THORChainAsset) Descriptor deprecated

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

Deprecated: Use THORChainAsset.ProtoReflect.Descriptor instead.

func (*THORChainAsset) GetChain

func (x *THORChainAsset) GetChain() string

func (*THORChainAsset) GetSymbol

func (x *THORChainAsset) GetSymbol() string

func (*THORChainAsset) GetSynth

func (x *THORChainAsset) GetSynth() bool

func (*THORChainAsset) GetTicker

func (x *THORChainAsset) GetTicker() string

func (*THORChainAsset) ProtoMessage

func (*THORChainAsset) ProtoMessage()

func (*THORChainAsset) ProtoReflect

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

func (*THORChainAsset) Reset

func (x *THORChainAsset) Reset()

func (*THORChainAsset) String

func (x *THORChainAsset) String() string

type THORChainCoin

type THORChainCoin struct {
	Asset    *THORChainAsset `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	Amount   string          `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Decimals int64           `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"`
	// contains filtered or unexported fields
}

func (*THORChainCoin) Descriptor deprecated

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

Deprecated: Use THORChainCoin.ProtoReflect.Descriptor instead.

func (*THORChainCoin) GetAmount

func (x *THORChainCoin) GetAmount() string

func (*THORChainCoin) GetAsset

func (x *THORChainCoin) GetAsset() *THORChainAsset

func (*THORChainCoin) GetDecimals

func (x *THORChainCoin) GetDecimals() int64

func (*THORChainCoin) ProtoMessage

func (*THORChainCoin) ProtoMessage()

func (*THORChainCoin) ProtoReflect

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

func (*THORChainCoin) Reset

func (x *THORChainCoin) Reset()

func (*THORChainCoin) String

func (x *THORChainCoin) String() string

type TxHasher

type TxHasher int32
const (
	// For Cosmos chain, `Sha256` is used by default.
	TxHasher_UseDefault TxHasher = 0
	TxHasher_Sha256     TxHasher = 1
	TxHasher_Keccak256  TxHasher = 2
)

func (TxHasher) Descriptor

func (TxHasher) Descriptor() protoreflect.EnumDescriptor

func (TxHasher) Enum

func (x TxHasher) Enum() *TxHasher

func (TxHasher) EnumDescriptor deprecated

func (TxHasher) EnumDescriptor() ([]byte, []int)

Deprecated: Use TxHasher.Descriptor instead.

func (TxHasher) Number

func (x TxHasher) Number() protoreflect.EnumNumber

func (TxHasher) String

func (x TxHasher) String() string

func (TxHasher) Type

Jump to

Keyboard shortcuts

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