types

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MsgTypeBitsUnknown int = iota

	MsgTypeBitsSetWithdrawAddress
	MsgTypeBitsWithdrawDelegatorReward
	MsgTypeBitsWithdrawValidatorCommission
	MsgTypeBitsFundCommunityPool

	MsgTypeBitsCreateValidator
	MsgTypeBitsEditValidator
	MsgTypeBitsDelegate
	MsgTypeBitsBeginRedelegate
	MsgTypeBitsUndelegate
	MsgTypeBitsCancelUnbondingDelegation

	MsgTypeBitsUnjail

	MsgTypeBitsSend
	MsgTypeBitsMultiSend

	MsgTypeBitsCreateVestingAccount
	MsgTypeBitsCreatePermanentLockedAccount
	MsgTypeBitsCreatePeriodicVestingAccount

	MsgTypeBitsPayForBlobs

	MsgTypeBitsGrant
	MsgTypeBitsExec
	MsgTypeBitsRevoke

	MsgTypeBitsGrantAllowance
	MsgTypeBitsRevokeAllowance

	MsgTypeBitsRegisterEVMAddress

	MsgTypeBitsSubmitProposal
	MsgTypeBitsExecLegacyContent
	MsgTypeBitsVote
	MsgTypeBitsVoteWeighted
	MsgTypeBitsDeposit

	MsgTypeBitsIBCTransfer

	MsgTypeBitsVerifyInvariant

	MsgTypeBitsSubmitEvidence

	MsgTypeBitsSendNFT

	MsgTypeBitsCreateGroup
	MsgTypeBitsUpdateGroupMembers
	MsgTypeBitsUpdateGroupAdmin
	MsgTypeBitsUpdateGroupMetadata
	MsgTypeBitsCreateGroupPolicy
	MsgTypeBitsUpdateGroupPolicyAdmin
	MsgTypeBitsCreateGroupWithPolicy
	MsgTypeBitsUpdateGroupPolicyDecisionPolicy
	MsgTypeBitsUpdateGroupPolicyMetadata
	MsgTypeBitsSubmitProposalGroup
	MsgTypeBitsWithdrawProposal
	MsgTypeBitsVoteGroup
	MsgTypeBitsExecGroup
	MsgTypeBitsLeaveGroup

	MsgTypeBitsSoftwareUpgrade
	MsgTypeBitsCancelUpgrade

	MsgTypeBitsRegisterInterchainAccount
	MsgTypeBitsSendTx

	MsgTypeBitsRegisterPayee
	MsgTypeBitsRegisterCounterpartyPayee
	MsgTypeBitsPayPacketFee
	MsgTypeBitsPayPacketFeeAsync

	MsgTypeBitsTransfer

	MsgTypeBitsCreateClient
	MsgTypeBitsUpdateClient
	MsgTypeBitsUpgradeClient
	MsgTypeBitsSubmitMisbehaviour

	MsgTypeBitsConnectionOpenInit
	MsgTypeBitsConnectionOpenTry
	MsgTypeBitsConnectionOpenAck
	MsgTypeBitsConnectionOpenConfirm

	MsgTypeBitsChannelOpenInit
	MsgTypeBitsChannelOpenTry
	MsgTypeBitsChannelOpenAck
	MsgTypeBitsChannelOpenConfirm
	MsgTypeBitsChannelCloseInit
	MsgTypeBitsChannelCloseConfirm
	MsgTypeBitsRecvPacket
	MsgTypeBitsTimeout
	MsgTypeBitsTimeoutOnClose
	MsgTypeBitsAcknowledgement
)

Variables

View Source
var ErrInvalidEventType = fmt.Errorf("not a valid EventType, try [%s]", strings.Join(_EventTypeNames, ", "))
View Source
var ErrInvalidModuleName = errors.New("not a valid ModuleName")
View Source
var ErrInvalidMsgAddressType = errors.New("not a valid MsgAddressType")
View Source
var ErrInvalidMsgType = fmt.Errorf("not a valid MsgType, try [%s]", strings.Join(_MsgTypeNames, ", "))
View Source
var ErrInvalidStakingLogType = fmt.Errorf("not a valid StakingLogType, try [%s]", strings.Join(_StakingLogTypeNames, ", "))
View Source
var ErrInvalidStatus = fmt.Errorf("not a valid Status, try [%s]", strings.Join(_StatusNames, ", "))

Functions

func EventTypeNames added in v1.1.3

func EventTypeNames() []string

EventTypeNames returns a list of possible string values of EventType.

func MsgTypeNames added in v1.1.3

func MsgTypeNames() []string

MsgTypeNames returns a list of possible string values of MsgType.

func StakingLogTypeNames added in v1.6.0

func StakingLogTypeNames() []string

StakingLogTypeNames returns a list of possible string values of StakingLogType.

func StatusNames added in v1.1.3

func StatusNames() []string

StatusNames returns a list of possible string values of Status.

Types

type Bits

type Bits struct {
	// contains filtered or unexported fields
}

func NewBits

func NewBits(value int) Bits

func NewBitsFromString

func NewBitsFromString(value string) (Bits, error)

func NewBitsWithPosition

func NewBitsWithPosition(position int) Bits

func NewEmptyBits

func NewEmptyBits() Bits

func (*Bits) Clear

func (b *Bits) Clear(flag Bits)

func (Bits) CountBits

func (b Bits) CountBits() int

func (Bits) Empty

func (b Bits) Empty() bool

func (Bits) Has

func (b Bits) Has(flag Bits) bool

func (Bits) HasBit

func (b Bits) HasBit(position int) bool

func (*Bits) Set

func (b *Bits) Set(flag Bits)

func (*Bits) SetBit

func (b *Bits) SetBit(position int)

func (Bits) String

func (b Bits) String() string

type EventType

type EventType string

swagger:enum EventType

ENUM(
	unknown,
	coin_received,
	coinbase,
	coin_spent,
	burn,
	mint,
	message,
	proposer_reward,
	rewards,
	commission,
	liveness,
	transfer,

	celestia.blob.v1.EventPayForBlobs,

	redelegate,
	AttestationRequest,
	withdraw_rewards,
	withdraw_commission,
	set_withdraw_address,
	create_validator,
	delegate,
	edit_validator,
	unbond,
	tx,
	complete_redelegation,
	complete_unbonding

	use_feegrant,
	revoke_feegrant,
	set_feegrant,
	update_feegrant,
	slash,

	proposal_vote,
	proposal_deposit,
	submit_proposal,

	cosmos.authz.v1beta1.EventGrant,

	send_packet,
	ibc_transfer,

	fungible_token_packet,
	acknowledge_packet,

	create_client,
	update_client,

	connection_open_try,
	connection_open_init,
	connection_open_confirm,
	connection_open_ack,

	channel_open_try,
	channel_open_init,
	channel_open_confirm,
	channel_open_ack,

	recv_packet,
	write_acknowledgement,

	timeout,
	timeout_packet,

	cosmos.authz.v1beta1.EventRevoke,
	cosmos.authz.v1.EventRevoke,
	cancel_unbonding_delegation
)
const (
	// EventTypeUnknown is a EventType of type unknown.
	EventTypeUnknown EventType = "unknown"
	// EventTypeCoinReceived is a EventType of type coin_received.
	EventTypeCoinReceived EventType = "coin_received"
	// EventTypeCoinbase is a EventType of type coinbase.
	EventTypeCoinbase EventType = "coinbase"
	// EventTypeCoinSpent is a EventType of type coin_spent.
	EventTypeCoinSpent EventType = "coin_spent"
	// EventTypeBurn is a EventType of type burn.
	EventTypeBurn EventType = "burn"
	// EventTypeMint is a EventType of type mint.
	EventTypeMint EventType = "mint"
	// EventTypeMessage is a EventType of type message.
	EventTypeMessage EventType = "message"
	// EventTypeProposerReward is a EventType of type proposer_reward.
	EventTypeProposerReward EventType = "proposer_reward"
	// EventTypeRewards is a EventType of type rewards.
	EventTypeRewards EventType = "rewards"
	// EventTypeCommission is a EventType of type commission.
	EventTypeCommission EventType = "commission"
	// EventTypeLiveness is a EventType of type liveness.
	EventTypeLiveness EventType = "liveness"
	// EventTypeTransfer is a EventType of type transfer.
	EventTypeTransfer EventType = "transfer"
	// EventTypeCelestiablobv1EventPayForBlobs is a EventType of type celestia.blob.v1.EventPayForBlobs.
	EventTypeCelestiablobv1EventPayForBlobs EventType = "celestia.blob.v1.EventPayForBlobs"
	// EventTypeRedelegate is a EventType of type redelegate.
	EventTypeRedelegate EventType = "redelegate"
	// EventTypeAttestationRequest is a EventType of type AttestationRequest.
	EventTypeAttestationRequest EventType = "AttestationRequest"
	// EventTypeWithdrawRewards is a EventType of type withdraw_rewards.
	EventTypeWithdrawRewards EventType = "withdraw_rewards"
	// EventTypeWithdrawCommission is a EventType of type withdraw_commission.
	EventTypeWithdrawCommission EventType = "withdraw_commission"
	// EventTypeSetWithdrawAddress is a EventType of type set_withdraw_address.
	EventTypeSetWithdrawAddress EventType = "set_withdraw_address"
	// EventTypeCreateValidator is a EventType of type create_validator.
	EventTypeCreateValidator EventType = "create_validator"
	// EventTypeDelegate is a EventType of type delegate.
	EventTypeDelegate EventType = "delegate"
	// EventTypeEditValidator is a EventType of type edit_validator.
	EventTypeEditValidator EventType = "edit_validator"
	// EventTypeUnbond is a EventType of type unbond.
	EventTypeUnbond EventType = "unbond"
	// EventTypeTx is a EventType of type tx.
	EventTypeTx EventType = "tx"
	// EventTypeCompleteRedelegation is a EventType of type complete_redelegation.
	EventTypeCompleteRedelegation EventType = "complete_redelegation"
	// EventTypeCompleteUnbonding is a EventType of type complete_unbonding.
	EventTypeCompleteUnbonding EventType = "complete_unbonding"
	// EventTypeUseFeegrant is a EventType of type use_feegrant.
	EventTypeUseFeegrant EventType = "use_feegrant"
	// EventTypeRevokeFeegrant is a EventType of type revoke_feegrant.
	EventTypeRevokeFeegrant EventType = "revoke_feegrant"
	// EventTypeSetFeegrant is a EventType of type set_feegrant.
	EventTypeSetFeegrant EventType = "set_feegrant"
	// EventTypeUpdateFeegrant is a EventType of type update_feegrant.
	EventTypeUpdateFeegrant EventType = "update_feegrant"
	// EventTypeSlash is a EventType of type slash.
	EventTypeSlash EventType = "slash"
	// EventTypeProposalVote is a EventType of type proposal_vote.
	EventTypeProposalVote EventType = "proposal_vote"
	// EventTypeProposalDeposit is a EventType of type proposal_deposit.
	EventTypeProposalDeposit EventType = "proposal_deposit"
	// EventTypeSubmitProposal is a EventType of type submit_proposal.
	EventTypeSubmitProposal EventType = "submit_proposal"
	// EventTypeCosmosauthzv1beta1EventGrant is a EventType of type cosmos.authz.v1beta1.EventGrant.
	EventTypeCosmosauthzv1beta1EventGrant EventType = "cosmos.authz.v1beta1.EventGrant"
	// EventTypeSendPacket is a EventType of type send_packet.
	EventTypeSendPacket EventType = "send_packet"
	// EventTypeIbcTransfer is a EventType of type ibc_transfer.
	EventTypeIbcTransfer EventType = "ibc_transfer"
	// EventTypeFungibleTokenPacket is a EventType of type fungible_token_packet.
	EventTypeFungibleTokenPacket EventType = "fungible_token_packet"
	// EventTypeAcknowledgePacket is a EventType of type acknowledge_packet.
	EventTypeAcknowledgePacket EventType = "acknowledge_packet"
	// EventTypeCreateClient is a EventType of type create_client.
	EventTypeCreateClient EventType = "create_client"
	// EventTypeUpdateClient is a EventType of type update_client.
	EventTypeUpdateClient EventType = "update_client"
	// EventTypeConnectionOpenTry is a EventType of type connection_open_try.
	EventTypeConnectionOpenTry EventType = "connection_open_try"
	// EventTypeConnectionOpenInit is a EventType of type connection_open_init.
	EventTypeConnectionOpenInit EventType = "connection_open_init"
	// EventTypeConnectionOpenConfirm is a EventType of type connection_open_confirm.
	EventTypeConnectionOpenConfirm EventType = "connection_open_confirm"
	// EventTypeConnectionOpenAck is a EventType of type connection_open_ack.
	EventTypeConnectionOpenAck EventType = "connection_open_ack"
	// EventTypeChannelOpenTry is a EventType of type channel_open_try.
	EventTypeChannelOpenTry EventType = "channel_open_try"
	// EventTypeChannelOpenInit is a EventType of type channel_open_init.
	EventTypeChannelOpenInit EventType = "channel_open_init"
	// EventTypeChannelOpenConfirm is a EventType of type channel_open_confirm.
	EventTypeChannelOpenConfirm EventType = "channel_open_confirm"
	// EventTypeChannelOpenAck is a EventType of type channel_open_ack.
	EventTypeChannelOpenAck EventType = "channel_open_ack"
	// EventTypeRecvPacket is a EventType of type recv_packet.
	EventTypeRecvPacket EventType = "recv_packet"
	// EventTypeWriteAcknowledgement is a EventType of type write_acknowledgement.
	EventTypeWriteAcknowledgement EventType = "write_acknowledgement"
	// EventTypeTimeout is a EventType of type timeout.
	EventTypeTimeout EventType = "timeout"
	// EventTypeTimeoutPacket is a EventType of type timeout_packet.
	EventTypeTimeoutPacket EventType = "timeout_packet"
	// EventTypeCosmosauthzv1beta1EventRevoke is a EventType of type cosmos.authz.v1beta1.EventRevoke.
	EventTypeCosmosauthzv1beta1EventRevoke EventType = "cosmos.authz.v1beta1.EventRevoke"
	// EventTypeCosmosauthzv1EventRevoke is a EventType of type cosmos.authz.v1.EventRevoke.
	EventTypeCosmosauthzv1EventRevoke EventType = "cosmos.authz.v1.EventRevoke"
	// EventTypeCancelUnbondingDelegation is a EventType of type cancel_unbonding_delegation.
	EventTypeCancelUnbondingDelegation EventType = "cancel_unbonding_delegation"
)

func EventTypeValues

func EventTypeValues() []EventType

EventTypeValues returns a list of the values for EventType

func ParseEventType

func ParseEventType(name string) (EventType, error)

ParseEventType attempts to convert a string to a EventType.

func (EventType) IsValid

func (x EventType) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (EventType) MarshalText

func (x EventType) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (*EventType) Scan

func (x *EventType) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (EventType) String

func (x EventType) String() string

String implements the Stringer interface.

func (*EventType) UnmarshalText

func (x *EventType) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

func (EventType) Value

func (x EventType) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type ModuleName

type ModuleName string

swagger:enum ModuleName

ENUM(
	auth,
	blob,
	crisis,
	distribution,
	indexer,
	gov,
	slashing,
	staking,
	consensus
)
const (
	// ModuleNameAuth is a ModuleName of type auth.
	ModuleNameAuth ModuleName = "auth"
	// ModuleNameBlob is a ModuleName of type blob.
	ModuleNameBlob ModuleName = "blob"
	// ModuleNameCrisis is a ModuleName of type crisis.
	ModuleNameCrisis ModuleName = "crisis"
	// ModuleNameDistribution is a ModuleName of type distribution.
	ModuleNameDistribution ModuleName = "distribution"
	// ModuleNameIndexer is a ModuleName of type indexer.
	ModuleNameIndexer ModuleName = "indexer"
	// ModuleNameGov is a ModuleName of type gov.
	ModuleNameGov ModuleName = "gov"
	// ModuleNameSlashing is a ModuleName of type slashing.
	ModuleNameSlashing ModuleName = "slashing"
	// ModuleNameStaking is a ModuleName of type staking.
	ModuleNameStaking ModuleName = "staking"
	// ModuleNameConsensus is a ModuleName of type consensus.
	ModuleNameConsensus ModuleName = "consensus"
)

func ModuleNameValues

func ModuleNameValues() []ModuleName

ModuleNameValues returns a list of the values for ModuleName

func ParseModuleName

func ParseModuleName(name string) (ModuleName, error)

ParseModuleName attempts to convert a string to a ModuleName.

func (ModuleName) IsValid

func (x ModuleName) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (ModuleName) MarshalText

func (x ModuleName) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (*ModuleName) Scan

func (x *ModuleName) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (ModuleName) String

func (x ModuleName) String() string

String implements the Stringer interface.

func (*ModuleName) UnmarshalText

func (x *ModuleName) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

func (ModuleName) Value

func (x ModuleName) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type MsgAddressType

type MsgAddressType string

swagger:enum MsgAddressType

ENUM(
	validator,
	delegator,
	depositor,

	validatorSrc,
	validatorDst,

	fromAddress,
	toAddress,
	input,
	output,

	grantee,
	granter,
	signer,
	withdraw,

	voter,
	proposer,
	authority,

	sender,
	receiver,

	submitter,

	admin,
	newAdmin,
	groupPolicyAddress,
	executor,
	groupMember,

	owner,

	relayer,
	payee,
)
const (
	// MsgAddressTypeValidator is a MsgAddressType of type validator.
	MsgAddressTypeValidator MsgAddressType = "validator"
	// MsgAddressTypeDelegator is a MsgAddressType of type delegator.
	MsgAddressTypeDelegator MsgAddressType = "delegator"
	// MsgAddressTypeDepositor is a MsgAddressType of type depositor.
	MsgAddressTypeDepositor MsgAddressType = "depositor"
	// MsgAddressTypeValidatorSrc is a MsgAddressType of type validatorSrc.
	MsgAddressTypeValidatorSrc MsgAddressType = "validatorSrc"
	// MsgAddressTypeValidatorDst is a MsgAddressType of type validatorDst.
	MsgAddressTypeValidatorDst MsgAddressType = "validatorDst"
	// MsgAddressTypeFromAddress is a MsgAddressType of type fromAddress.
	MsgAddressTypeFromAddress MsgAddressType = "fromAddress"
	// MsgAddressTypeToAddress is a MsgAddressType of type toAddress.
	MsgAddressTypeToAddress MsgAddressType = "toAddress"
	// MsgAddressTypeInput is a MsgAddressType of type input.
	MsgAddressTypeInput MsgAddressType = "input"
	// MsgAddressTypeOutput is a MsgAddressType of type output.
	MsgAddressTypeOutput MsgAddressType = "output"
	// MsgAddressTypeGrantee is a MsgAddressType of type grantee.
	MsgAddressTypeGrantee MsgAddressType = "grantee"
	// MsgAddressTypeGranter is a MsgAddressType of type granter.
	MsgAddressTypeGranter MsgAddressType = "granter"
	// MsgAddressTypeSigner is a MsgAddressType of type signer.
	MsgAddressTypeSigner MsgAddressType = "signer"
	// MsgAddressTypeWithdraw is a MsgAddressType of type withdraw.
	MsgAddressTypeWithdraw MsgAddressType = "withdraw"
	// MsgAddressTypeVoter is a MsgAddressType of type voter.
	MsgAddressTypeVoter MsgAddressType = "voter"
	// MsgAddressTypeProposer is a MsgAddressType of type proposer.
	MsgAddressTypeProposer MsgAddressType = "proposer"
	// MsgAddressTypeAuthority is a MsgAddressType of type authority.
	MsgAddressTypeAuthority MsgAddressType = "authority"
	// MsgAddressTypeSender is a MsgAddressType of type sender.
	MsgAddressTypeSender MsgAddressType = "sender"
	// MsgAddressTypeReceiver is a MsgAddressType of type receiver.
	MsgAddressTypeReceiver MsgAddressType = "receiver"
	// MsgAddressTypeSubmitter is a MsgAddressType of type submitter.
	MsgAddressTypeSubmitter MsgAddressType = "submitter"
	// MsgAddressTypeAdmin is a MsgAddressType of type admin.
	MsgAddressTypeAdmin MsgAddressType = "admin"
	// MsgAddressTypeNewAdmin is a MsgAddressType of type newAdmin.
	MsgAddressTypeNewAdmin MsgAddressType = "newAdmin"
	// MsgAddressTypeGroupPolicyAddress is a MsgAddressType of type groupPolicyAddress.
	MsgAddressTypeGroupPolicyAddress MsgAddressType = "groupPolicyAddress"
	// MsgAddressTypeExecutor is a MsgAddressType of type executor.
	MsgAddressTypeExecutor MsgAddressType = "executor"
	// MsgAddressTypeGroupMember is a MsgAddressType of type groupMember.
	MsgAddressTypeGroupMember MsgAddressType = "groupMember"
	// MsgAddressTypeOwner is a MsgAddressType of type owner.
	MsgAddressTypeOwner MsgAddressType = "owner"
	// MsgAddressTypeRelayer is a MsgAddressType of type relayer.
	MsgAddressTypeRelayer MsgAddressType = "relayer"
	// MsgAddressTypePayee is a MsgAddressType of type payee.
	MsgAddressTypePayee MsgAddressType = "payee"
)

func MsgAddressTypeValues

func MsgAddressTypeValues() []MsgAddressType

MsgAddressTypeValues returns a list of the values for MsgAddressType

func ParseMsgAddressType

func ParseMsgAddressType(name string) (MsgAddressType, error)

ParseMsgAddressType attempts to convert a string to a MsgAddressType.

func (MsgAddressType) IsValid

func (x MsgAddressType) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (MsgAddressType) MarshalText

func (x MsgAddressType) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (*MsgAddressType) Scan

func (x *MsgAddressType) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (MsgAddressType) String

func (x MsgAddressType) String() string

String implements the Stringer interface.

func (*MsgAddressType) UnmarshalText

func (x *MsgAddressType) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

func (MsgAddressType) Value

func (x MsgAddressType) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type MsgType

type MsgType string

swagger:enum MsgType

ENUM(
	MsgUnknown,

	MsgSetWithdrawAddress,
	MsgWithdrawDelegatorReward,
	MsgWithdrawValidatorCommission,
	MsgFundCommunityPool,

	MsgCreateValidator,
	MsgEditValidator,
	MsgDelegate,
	MsgBeginRedelegate,
	MsgUndelegate,
	MsgCancelUnbondingDelegation,

	MsgUnjail,

	MsgSend,
	MsgMultiSend,

	MsgCreateVestingAccount,
	MsgCreatePermanentLockedAccount,
	MsgCreatePeriodicVestingAccount,

	MsgPayForBlobs,

	MsgGrant,
	MsgExec,
	MsgRevoke,

	MsgGrantAllowance,
	MsgRevokeAllowance,

	MsgRegisterEVMAddress,

	MsgSubmitProposal,
	MsgExecLegacyContent,
	MsgVote,
	MsgVoteWeighted,
	MsgDeposit,

	IBCTransfer,

	MsgVerifyInvariant,

	MsgSubmitEvidence,

	MsgSendNFT,

	MsgCreateGroup,
	MsgUpdateGroupMembers,
	MsgUpdateGroupAdmin,
	MsgUpdateGroupMetadata,
	MsgCreateGroupPolicy,
	MsgUpdateGroupPolicyAdmin,
	MsgCreateGroupWithPolicy,
	MsgUpdateGroupPolicyDecisionPolicy,
	MsgUpdateGroupPolicyMetadata,
	MsgSubmitProposalGroup,
	MsgWithdrawProposal,
	MsgVoteGroup,
	MsgExecGroup,
	MsgLeaveGroup,

	MsgSoftwareUpgrade,
	MsgCancelUpgrade,

	MsgRegisterInterchainAccount,
	MsgSendTx,

	MsgRegisterPayee,
	MsgRegisterCounterpartyPayee,
	MsgPayPacketFee,
	MsgPayPacketFeeAsync,

	MsgTransfer,

	MsgCreateClient,
	MsgUpdateClient,
	MsgUpgradeClient,
	MsgSubmitMisbehaviour,

	MsgConnectionOpenInit,
	MsgConnectionOpenTry,
	MsgConnectionOpenAck,
	MsgConnectionOpenConfirm,

	MsgChannelOpenInit,
	MsgChannelOpenTry,
	MsgChannelOpenAck,
	MsgChannelOpenConfirm,
	MsgChannelCloseInit,
	MsgChannelCloseConfirm,
	MsgRecvPacket,
	MsgTimeout,
	MsgTimeoutOnClose,
	MsgAcknowledgement,
)
const (
	// MsgUnknown is a MsgType of type MsgUnknown.
	MsgUnknown MsgType = "MsgUnknown"
	// MsgSetWithdrawAddress is a MsgType of type MsgSetWithdrawAddress.
	MsgSetWithdrawAddress MsgType = "MsgSetWithdrawAddress"
	// MsgWithdrawDelegatorReward is a MsgType of type MsgWithdrawDelegatorReward.
	MsgWithdrawDelegatorReward MsgType = "MsgWithdrawDelegatorReward"
	// MsgWithdrawValidatorCommission is a MsgType of type MsgWithdrawValidatorCommission.
	MsgWithdrawValidatorCommission MsgType = "MsgWithdrawValidatorCommission"
	// MsgFundCommunityPool is a MsgType of type MsgFundCommunityPool.
	MsgFundCommunityPool MsgType = "MsgFundCommunityPool"
	// MsgCreateValidator is a MsgType of type MsgCreateValidator.
	MsgCreateValidator MsgType = "MsgCreateValidator"
	// MsgEditValidator is a MsgType of type MsgEditValidator.
	MsgEditValidator MsgType = "MsgEditValidator"
	// MsgDelegate is a MsgType of type MsgDelegate.
	MsgDelegate MsgType = "MsgDelegate"
	// MsgBeginRedelegate is a MsgType of type MsgBeginRedelegate.
	MsgBeginRedelegate MsgType = "MsgBeginRedelegate"
	// MsgUndelegate is a MsgType of type MsgUndelegate.
	MsgUndelegate MsgType = "MsgUndelegate"
	// MsgCancelUnbondingDelegation is a MsgType of type MsgCancelUnbondingDelegation.
	MsgCancelUnbondingDelegation MsgType = "MsgCancelUnbondingDelegation"
	// MsgUnjail is a MsgType of type MsgUnjail.
	MsgUnjail MsgType = "MsgUnjail"
	// MsgSend is a MsgType of type MsgSend.
	MsgSend MsgType = "MsgSend"
	// MsgMultiSend is a MsgType of type MsgMultiSend.
	MsgMultiSend MsgType = "MsgMultiSend"
	// MsgCreateVestingAccount is a MsgType of type MsgCreateVestingAccount.
	MsgCreateVestingAccount MsgType = "MsgCreateVestingAccount"
	// MsgCreatePermanentLockedAccount is a MsgType of type MsgCreatePermanentLockedAccount.
	MsgCreatePermanentLockedAccount MsgType = "MsgCreatePermanentLockedAccount"
	// MsgCreatePeriodicVestingAccount is a MsgType of type MsgCreatePeriodicVestingAccount.
	MsgCreatePeriodicVestingAccount MsgType = "MsgCreatePeriodicVestingAccount"
	// MsgPayForBlobs is a MsgType of type MsgPayForBlobs.
	MsgPayForBlobs MsgType = "MsgPayForBlobs"
	// MsgGrant is a MsgType of type MsgGrant.
	MsgGrant MsgType = "MsgGrant"
	// MsgExec is a MsgType of type MsgExec.
	MsgExec MsgType = "MsgExec"
	// MsgRevoke is a MsgType of type MsgRevoke.
	MsgRevoke MsgType = "MsgRevoke"
	// MsgGrantAllowance is a MsgType of type MsgGrantAllowance.
	MsgGrantAllowance MsgType = "MsgGrantAllowance"
	// MsgRevokeAllowance is a MsgType of type MsgRevokeAllowance.
	MsgRevokeAllowance MsgType = "MsgRevokeAllowance"
	// MsgRegisterEVMAddress is a MsgType of type MsgRegisterEVMAddress.
	MsgRegisterEVMAddress MsgType = "MsgRegisterEVMAddress"
	// MsgSubmitProposal is a MsgType of type MsgSubmitProposal.
	MsgSubmitProposal MsgType = "MsgSubmitProposal"
	// MsgExecLegacyContent is a MsgType of type MsgExecLegacyContent.
	MsgExecLegacyContent MsgType = "MsgExecLegacyContent"
	// MsgVote is a MsgType of type MsgVote.
	MsgVote MsgType = "MsgVote"
	// MsgVoteWeighted is a MsgType of type MsgVoteWeighted.
	MsgVoteWeighted MsgType = "MsgVoteWeighted"
	// MsgDeposit is a MsgType of type MsgDeposit.
	MsgDeposit MsgType = "MsgDeposit"
	// IBCTransfer is a MsgType of type IBCTransfer.
	IBCTransfer MsgType = "IBCTransfer"
	// MsgVerifyInvariant is a MsgType of type MsgVerifyInvariant.
	MsgVerifyInvariant MsgType = "MsgVerifyInvariant"
	// MsgSubmitEvidence is a MsgType of type MsgSubmitEvidence.
	MsgSubmitEvidence MsgType = "MsgSubmitEvidence"
	// MsgSendNFT is a MsgType of type MsgSendNFT.
	MsgSendNFT MsgType = "MsgSendNFT"
	// MsgCreateGroup is a MsgType of type MsgCreateGroup.
	MsgCreateGroup MsgType = "MsgCreateGroup"
	// MsgUpdateGroupMembers is a MsgType of type MsgUpdateGroupMembers.
	MsgUpdateGroupMembers MsgType = "MsgUpdateGroupMembers"
	// MsgUpdateGroupAdmin is a MsgType of type MsgUpdateGroupAdmin.
	MsgUpdateGroupAdmin MsgType = "MsgUpdateGroupAdmin"
	// MsgUpdateGroupMetadata is a MsgType of type MsgUpdateGroupMetadata.
	MsgUpdateGroupMetadata MsgType = "MsgUpdateGroupMetadata"
	// MsgCreateGroupPolicy is a MsgType of type MsgCreateGroupPolicy.
	MsgCreateGroupPolicy MsgType = "MsgCreateGroupPolicy"
	// MsgUpdateGroupPolicyAdmin is a MsgType of type MsgUpdateGroupPolicyAdmin.
	MsgUpdateGroupPolicyAdmin MsgType = "MsgUpdateGroupPolicyAdmin"
	// MsgCreateGroupWithPolicy is a MsgType of type MsgCreateGroupWithPolicy.
	MsgCreateGroupWithPolicy MsgType = "MsgCreateGroupWithPolicy"
	// MsgUpdateGroupPolicyDecisionPolicy is a MsgType of type MsgUpdateGroupPolicyDecisionPolicy.
	MsgUpdateGroupPolicyDecisionPolicy MsgType = "MsgUpdateGroupPolicyDecisionPolicy"
	// MsgUpdateGroupPolicyMetadata is a MsgType of type MsgUpdateGroupPolicyMetadata.
	MsgUpdateGroupPolicyMetadata MsgType = "MsgUpdateGroupPolicyMetadata"
	// MsgSubmitProposalGroup is a MsgType of type MsgSubmitProposalGroup.
	MsgSubmitProposalGroup MsgType = "MsgSubmitProposalGroup"
	// MsgWithdrawProposal is a MsgType of type MsgWithdrawProposal.
	MsgWithdrawProposal MsgType = "MsgWithdrawProposal"
	// MsgVoteGroup is a MsgType of type MsgVoteGroup.
	MsgVoteGroup MsgType = "MsgVoteGroup"
	// MsgExecGroup is a MsgType of type MsgExecGroup.
	MsgExecGroup MsgType = "MsgExecGroup"
	// MsgLeaveGroup is a MsgType of type MsgLeaveGroup.
	MsgLeaveGroup MsgType = "MsgLeaveGroup"
	// MsgSoftwareUpgrade is a MsgType of type MsgSoftwareUpgrade.
	MsgSoftwareUpgrade MsgType = "MsgSoftwareUpgrade"
	// MsgCancelUpgrade is a MsgType of type MsgCancelUpgrade.
	MsgCancelUpgrade MsgType = "MsgCancelUpgrade"
	// MsgRegisterInterchainAccount is a MsgType of type MsgRegisterInterchainAccount.
	MsgRegisterInterchainAccount MsgType = "MsgRegisterInterchainAccount"
	// MsgSendTx is a MsgType of type MsgSendTx.
	MsgSendTx MsgType = "MsgSendTx"
	// MsgRegisterPayee is a MsgType of type MsgRegisterPayee.
	MsgRegisterPayee MsgType = "MsgRegisterPayee"
	// MsgRegisterCounterpartyPayee is a MsgType of type MsgRegisterCounterpartyPayee.
	MsgRegisterCounterpartyPayee MsgType = "MsgRegisterCounterpartyPayee"
	// MsgPayPacketFee is a MsgType of type MsgPayPacketFee.
	MsgPayPacketFee MsgType = "MsgPayPacketFee"
	// MsgPayPacketFeeAsync is a MsgType of type MsgPayPacketFeeAsync.
	MsgPayPacketFeeAsync MsgType = "MsgPayPacketFeeAsync"
	// MsgTransfer is a MsgType of type MsgTransfer.
	MsgTransfer MsgType = "MsgTransfer"
	// MsgCreateClient is a MsgType of type MsgCreateClient.
	MsgCreateClient MsgType = "MsgCreateClient"
	// MsgUpdateClient is a MsgType of type MsgUpdateClient.
	MsgUpdateClient MsgType = "MsgUpdateClient"
	// MsgUpgradeClient is a MsgType of type MsgUpgradeClient.
	MsgUpgradeClient MsgType = "MsgUpgradeClient"
	// MsgSubmitMisbehaviour is a MsgType of type MsgSubmitMisbehaviour.
	MsgSubmitMisbehaviour MsgType = "MsgSubmitMisbehaviour"
	// MsgConnectionOpenInit is a MsgType of type MsgConnectionOpenInit.
	MsgConnectionOpenInit MsgType = "MsgConnectionOpenInit"
	// MsgConnectionOpenTry is a MsgType of type MsgConnectionOpenTry.
	MsgConnectionOpenTry MsgType = "MsgConnectionOpenTry"
	// MsgConnectionOpenAck is a MsgType of type MsgConnectionOpenAck.
	MsgConnectionOpenAck MsgType = "MsgConnectionOpenAck"
	// MsgConnectionOpenConfirm is a MsgType of type MsgConnectionOpenConfirm.
	MsgConnectionOpenConfirm MsgType = "MsgConnectionOpenConfirm"
	// MsgChannelOpenInit is a MsgType of type MsgChannelOpenInit.
	MsgChannelOpenInit MsgType = "MsgChannelOpenInit"
	// MsgChannelOpenTry is a MsgType of type MsgChannelOpenTry.
	MsgChannelOpenTry MsgType = "MsgChannelOpenTry"
	// MsgChannelOpenAck is a MsgType of type MsgChannelOpenAck.
	MsgChannelOpenAck MsgType = "MsgChannelOpenAck"
	// MsgChannelOpenConfirm is a MsgType of type MsgChannelOpenConfirm.
	MsgChannelOpenConfirm MsgType = "MsgChannelOpenConfirm"
	// MsgChannelCloseInit is a MsgType of type MsgChannelCloseInit.
	MsgChannelCloseInit MsgType = "MsgChannelCloseInit"
	// MsgChannelCloseConfirm is a MsgType of type MsgChannelCloseConfirm.
	MsgChannelCloseConfirm MsgType = "MsgChannelCloseConfirm"
	// MsgRecvPacket is a MsgType of type MsgRecvPacket.
	MsgRecvPacket MsgType = "MsgRecvPacket"
	// MsgTimeout is a MsgType of type MsgTimeout.
	MsgTimeout MsgType = "MsgTimeout"
	// MsgTimeoutOnClose is a MsgType of type MsgTimeoutOnClose.
	MsgTimeoutOnClose MsgType = "MsgTimeoutOnClose"
	// MsgAcknowledgement is a MsgType of type MsgAcknowledgement.
	MsgAcknowledgement MsgType = "MsgAcknowledgement"
)

func MsgTypeValues

func MsgTypeValues() []MsgType

MsgTypeValues returns a list of the values for MsgType

func ParseMsgType

func ParseMsgType(name string) (MsgType, error)

ParseMsgType attempts to convert a string to a MsgType.

func (MsgType) IsValid

func (x MsgType) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (MsgType) MarshalText

func (x MsgType) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (*MsgType) Scan

func (x *MsgType) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (MsgType) String

func (x MsgType) String() string

String implements the Stringer interface.

func (*MsgType) UnmarshalText

func (x *MsgType) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

func (MsgType) Value

func (x MsgType) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type MsgTypeBits

type MsgTypeBits struct {
	Bits
}

func NewMsgTypeBitMask

func NewMsgTypeBitMask(values ...MsgType) MsgTypeBits

func NewMsgTypeBits

func NewMsgTypeBits() MsgTypeBits

func (MsgTypeBits) HasOne

func (mask MsgTypeBits) HasOne(value MsgTypeBits) bool

func (MsgTypeBits) Names

func (mask MsgTypeBits) Names() []MsgType

func (*MsgTypeBits) Scan

func (mask *MsgTypeBits) Scan(src interface{}) (err error)

func (*MsgTypeBits) SetByMsgType

func (mask *MsgTypeBits) SetByMsgType(value MsgType)

func (MsgTypeBits) Value

func (mask MsgTypeBits) Value() (driver.Value, error)

type StakingLogType added in v1.6.0

type StakingLogType string

swagger:enum StakingLogType

ENUM(
	delegation,
	unbonding,
	rewards,
	commissions
)
const (
	// StakingLogTypeDelegation is a StakingLogType of type delegation.
	StakingLogTypeDelegation StakingLogType = "delegation"
	// StakingLogTypeUnbonding is a StakingLogType of type unbonding.
	StakingLogTypeUnbonding StakingLogType = "unbonding"
	// StakingLogTypeRewards is a StakingLogType of type rewards.
	StakingLogTypeRewards StakingLogType = "rewards"
	// StakingLogTypeCommissions is a StakingLogType of type commissions.
	StakingLogTypeCommissions StakingLogType = "commissions"
)

func ParseStakingLogType added in v1.6.0

func ParseStakingLogType(name string) (StakingLogType, error)

ParseStakingLogType attempts to convert a string to a StakingLogType.

func StakingLogTypeValues added in v1.6.0

func StakingLogTypeValues() []StakingLogType

StakingLogTypeValues returns a list of the values for StakingLogType

func (StakingLogType) IsValid added in v1.6.0

func (x StakingLogType) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (StakingLogType) MarshalText added in v1.6.0

func (x StakingLogType) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (*StakingLogType) Scan added in v1.6.0

func (x *StakingLogType) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (StakingLogType) String added in v1.6.0

func (x StakingLogType) String() string

String implements the Stringer interface.

func (*StakingLogType) UnmarshalText added in v1.6.0

func (x *StakingLogType) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

func (StakingLogType) Value added in v1.6.0

func (x StakingLogType) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type Status

type Status string

swagger:enum Status

ENUM(
	success,
	failed
)
const (
	// StatusSuccess is a Status of type success.
	StatusSuccess Status = "success"
	// StatusFailed is a Status of type failed.
	StatusFailed Status = "failed"
)

func ParseStatus

func ParseStatus(name string) (Status, error)

ParseStatus attempts to convert a string to a Status.

func StatusValues

func StatusValues() []Status

StatusValues returns a list of the values for Status

func (Status) IsValid

func (x Status) IsValid() bool

IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values

func (Status) MarshalText

func (x Status) MarshalText() ([]byte, error)

MarshalText implements the text marshaller method.

func (*Status) Scan

func (x *Status) Scan(value interface{}) (err error)

Scan implements the Scanner interface.

func (Status) String

func (x Status) String() string

String implements the Stringer interface.

func (*Status) UnmarshalText

func (x *Status) UnmarshalText(text []byte) error

UnmarshalText implements the text unmarshaller method.

func (Status) Value

func (x Status) Value() (driver.Value, error)

Value implements the driver Valuer interface.

Jump to

Keyboard shortcuts

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