command

package
v1.3.24 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePower

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

func NewChangePower

func NewChangePower(blockHeight int64, params model.PowerChangeParams) *ChangePower

func (*ChangePower) Exec

func (cmd *ChangePower) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*ChangePower) Name

func (*ChangePower) Name() string

Name returns name of command

func (*ChangePower) Version

func (*ChangePower) Version() int

Version returns version of command

type CreateAccountTransfer

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

func NewCreateAccountTransfer

func NewCreateAccountTransfer(
	blockHeight int64,
	params model.AccountTransferParams,
) *CreateAccountTransfer

func (*CreateAccountTransfer) Exec

Exec process the command data and return the event accordingly

func (*CreateAccountTransfer) Name

func (*CreateAccountTransfer) Name() string

Name returns name of command

func (*CreateAccountTransfer) Version

func (*CreateAccountTransfer) Version() int

Version returns version of command

type CreateBlock

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

func NewCreateBLock

func NewCreateBLock(block *model_usecase.Block) *CreateBlock

func (*CreateBlock) Exec

func (cmd *CreateBlock) Exec() (event_entity.Event, error)

func (*CreateBlock) Name

func (_ *CreateBlock) Name() string

func (*CreateBlock) Version

func (_ *CreateBlock) Version() int

type CreateBlockCommission

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

func NewCreateBlockCommission

func NewCreateBlockCommission(blockHeight int64, validator string, amount coin.DecCoins) *CreateBlockCommission

func (*CreateBlockCommission) Exec

Exec process the command data and return the event accordingly

func (*CreateBlockCommission) Name

func (*CreateBlockCommission) Name() string

Name returns name of command

func (*CreateBlockCommission) Version

func (*CreateBlockCommission) Version() int

Version returns version of command

type CreateBlockProposerReward

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

func NewCreateBlockProposerReward

func NewCreateBlockProposerReward(blockHeight int64, validator string, amount coin.DecCoins) *CreateBlockProposerReward

func (*CreateBlockProposerReward) Exec

Exec process the command data and return the event accordingly

func (*CreateBlockProposerReward) Name

Name returns name of command

func (*CreateBlockProposerReward) Version

func (*CreateBlockProposerReward) Version() int

Version returns version of command

type CreateBlockReward

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

func NewCreateBlockReward

func NewCreateBlockReward(blockHeight int64, validator string, amount coin.DecCoins) *CreateBlockReward

func (*CreateBlockReward) Exec

func (cmd *CreateBlockReward) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*CreateBlockReward) Name

func (*CreateBlockReward) Name() string

Name returns name of command

func (*CreateBlockReward) Version

func (*CreateBlockReward) Version() int

Version returns version of command

type CreateCompleteUnbonding

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

func NewCreateCompleteBonding

func NewCreateCompleteBonding(blockHeight int64, params model.CompleteBondingParams) *CreateCompleteUnbonding

func (*CreateCompleteUnbonding) Exec

Exec process the command data and return the event accordingly

func (*CreateCompleteUnbonding) Name

Name returns name of command

func (*CreateCompleteUnbonding) Version

func (*CreateCompleteUnbonding) Version() int

Version returns version of command

type CreateCronosSendToIBC

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

func NewCreateCronosSendToIBC

func NewCreateCronosSendToIBC(
	blockHeight int64,
	params model.CronosSendToIBCParams,
) *CreateCronosSendToIBC

func (*CreateCronosSendToIBC) Exec

Exec process the command data and return the event accordingly

func (*CreateCronosSendToIBC) Name

func (*CreateCronosSendToIBC) Name() string

Name returns name of command

func (*CreateCronosSendToIBC) Version

func (*CreateCronosSendToIBC) Version() int

Version returns version of command

type CreateGenesis

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

func NewCreateGenesis

func NewCreateGenesis(genesis genesis.Genesis) *CreateGenesis

func (*CreateGenesis) Exec

func (cmd *CreateGenesis) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*CreateGenesis) Name

func (*CreateGenesis) Name() string

Name returns name of command

func (*CreateGenesis) Version

func (*CreateGenesis) Version() int

Version returns version of command

type CreateGenesisValidator

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

func (*CreateGenesisValidator) Exec

func (*CreateGenesisValidator) Name

func (*CreateGenesisValidator) Version

func (*CreateGenesisValidator) Version() int

type CreateMint

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

func NewCreateMint

func NewCreateMint(blockHeight int64, params model.MintParams) *CreateMint

func (*CreateMint) Exec

func (cmd *CreateMint) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*CreateMint) Name

func (*CreateMint) Name() string

Name returns name of command

func (*CreateMint) Version

func (*CreateMint) Version() int

Version returns version of command

type CreateMsgAlreadyRelayedIBCAcknowledgement

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

func (*CreateMsgAlreadyRelayedIBCAcknowledgement) Exec

func (*CreateMsgAlreadyRelayedIBCAcknowledgement) Name

func (*CreateMsgAlreadyRelayedIBCAcknowledgement) Version

type CreateMsgAlreadyRelayedIBCRecvPacket

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

func (*CreateMsgAlreadyRelayedIBCRecvPacket) Exec

func (*CreateMsgAlreadyRelayedIBCRecvPacket) Name

func (*CreateMsgAlreadyRelayedIBCRecvPacket) Version

type CreateMsgAlreadyRelayedIBCTimeout

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

func NewCreateMsgAlreadyRelayedIBCTimeout

func NewCreateMsgAlreadyRelayedIBCTimeout(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgTimeoutParams,
) *CreateMsgAlreadyRelayedIBCTimeout

func (*CreateMsgAlreadyRelayedIBCTimeout) Exec

func (*CreateMsgAlreadyRelayedIBCTimeout) Name

func (*CreateMsgAlreadyRelayedIBCTimeout) Version

type CreateMsgAlreadyRelayedIBCTimeoutOnClose

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

func (*CreateMsgAlreadyRelayedIBCTimeoutOnClose) Exec

func (*CreateMsgAlreadyRelayedIBCTimeoutOnClose) Name

func (*CreateMsgAlreadyRelayedIBCTimeoutOnClose) Version

type CreateMsgBeginRedelegate

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

CreateMsgBeginRedelegate is a command to create MsgBeginRedelegate event

func NewCreateMsgBeginRedelegate

func NewCreateMsgBeginRedelegate(msgCommonParams event.MsgCommonParams, params model.MsgBeginRedelegateParams) *CreateMsgBeginRedelegate

NewCreateMsgBeginRedelegate create a new instance of CreateMsgBeginRedelegate command

func (*CreateMsgBeginRedelegate) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgBeginRedelegate) Name

Name returns name of command

func (*CreateMsgBeginRedelegate) Version

func (*CreateMsgBeginRedelegate) Version() int

Version returns version of command

type CreateMsgCreateValidator

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

func NewCreateMsgCreateValidator

func NewCreateMsgCreateValidator(msgCommonParams event.MsgCommonParams, params model.MsgCreateValidatorParams) *CreateMsgCreateValidator

func (*CreateMsgCreateValidator) Exec

func (*CreateMsgCreateValidator) Name

func (*CreateMsgCreateValidator) Version

func (*CreateMsgCreateValidator) Version() int

type CreateMsgCreateVestingAccount

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

func NewCreateMsgCreateVestingAccount

func NewCreateMsgCreateVestingAccount(
	msgCommonParams event.MsgCommonParams,
	params model.MsgCreateVestingAccountParams,
) *CreateMsgCreateVestingAccount

func (*CreateMsgCreateVestingAccount) Exec

func (*CreateMsgCreateVestingAccount) Name

func (*CreateMsgCreateVestingAccount) Version

type CreateMsgDelegate

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

CreateMsgDelegate is a command to create MsgDelegate event

func NewCreateMsgDelegate

func NewCreateMsgDelegate(msgCommonParams event.MsgCommonParams, params model.MsgDelegateParams) *CreateMsgDelegate

NewCreateMsgDelegate create a new instance of CreateMsgDelegate command

func (*CreateMsgDelegate) Exec

func (cmd *CreateMsgDelegate) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*CreateMsgDelegate) Name

func (*CreateMsgDelegate) Name() string

Name returns name of command

func (*CreateMsgDelegate) Version

func (*CreateMsgDelegate) Version() int

Version returns version of command

type CreateMsgDeposit

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

func NewCreateMsgDeposit

func NewCreateMsgDeposit(
	msgCommonParams event.MsgCommonParams,
	params model.MsgDepositParams,
) *CreateMsgDeposit

func (*CreateMsgDeposit) Exec

func (cmd *CreateMsgDeposit) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*CreateMsgDeposit) Name

func (*CreateMsgDeposit) Name() string

Name returns name of command

func (*CreateMsgDeposit) Version

func (*CreateMsgDeposit) Version() int

Version returns version of command

type CreateMsgEditValidator

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

func NewCreateMsgEditValidator

func NewCreateMsgEditValidator(msgCommonParams event.MsgCommonParams, params model.MsgEditValidatorParams) *CreateMsgEditValidator

func (*CreateMsgEditValidator) Exec

func (*CreateMsgEditValidator) Name

func (*CreateMsgEditValidator) Version

func (*CreateMsgEditValidator) Version() int

type CreateMsgExec

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

func NewCreateMsgExec

func NewCreateMsgExec(
	msgCommonParams event.MsgCommonParams,
	params model.MsgExecParams,
) *CreateMsgExec

func (*CreateMsgExec) Exec

func (cmd *CreateMsgExec) Exec() (entity_event.Event, error)

func (*CreateMsgExec) Name

func (*CreateMsgExec) Name() string

func (*CreateMsgExec) Version

func (*CreateMsgExec) Version() int

type CreateMsgFundCommunityPool

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

func NewCreateMsgFundCommunityPool

func NewCreateMsgFundCommunityPool(
	msgCommonParams event.MsgCommonParams,
	params model.MsgFundCommunityPoolParams,
) *CreateMsgFundCommunityPool

func (*CreateMsgFundCommunityPool) Exec

func (*CreateMsgFundCommunityPool) Name

func (*CreateMsgFundCommunityPool) Version

func (_ *CreateMsgFundCommunityPool) Version() int

type CreateMsgGrant

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

func NewCreateMsgGrant

func NewCreateMsgGrant(
	msgCommonParams event.MsgCommonParams,
	params model.MsgGrantParams,
) *CreateMsgGrant

func (*CreateMsgGrant) Exec

func (cmd *CreateMsgGrant) Exec() (entity_event.Event, error)

func (*CreateMsgGrant) Name

func (*CreateMsgGrant) Name() string

func (*CreateMsgGrant) Version

func (*CreateMsgGrant) Version() int

type CreateMsgGrantAllowance

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

func NewCreateMsgGrantAllowance

func NewCreateMsgGrantAllowance(
	msgCommonParams event.MsgCommonParams,
	params model.MsgGrantAllowanceParams,
) *CreateMsgGrantAllowance

func (*CreateMsgGrantAllowance) Exec

func (*CreateMsgGrantAllowance) Name

func (*CreateMsgGrantAllowance) Version

func (*CreateMsgGrantAllowance) Version() int

type CreateMsgIBCAcknowledgement

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

func NewCreateMsgIBCAcknowledgement

func NewCreateMsgIBCAcknowledgement(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgAcknowledgementParams,
) *CreateMsgIBCAcknowledgement

func (*CreateMsgIBCAcknowledgement) Exec

func (*CreateMsgIBCAcknowledgement) Name

func (*CreateMsgIBCAcknowledgement) Version

func (*CreateMsgIBCAcknowledgement) Version() int

type CreateMsgIBCChannelCloseConfirm

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

func (*CreateMsgIBCChannelCloseConfirm) Exec

func (*CreateMsgIBCChannelCloseConfirm) Name

func (*CreateMsgIBCChannelCloseConfirm) Version

type CreateMsgIBCChannelCloseInit

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

func NewCreateMsgIBCChannelCloseInit

func NewCreateMsgIBCChannelCloseInit(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgChannelCloseInitParams,
) *CreateMsgIBCChannelCloseInit

func (*CreateMsgIBCChannelCloseInit) Exec

func (*CreateMsgIBCChannelCloseInit) Name

func (*CreateMsgIBCChannelCloseInit) Version

func (*CreateMsgIBCChannelCloseInit) Version() int

type CreateMsgIBCChannelOpenAck

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

func NewCreateMsgIBCChannelOpenAck

func NewCreateMsgIBCChannelOpenAck(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgChannelOpenAckParams,
) *CreateMsgIBCChannelOpenAck

func (*CreateMsgIBCChannelOpenAck) Exec

func (*CreateMsgIBCChannelOpenAck) Name

func (*CreateMsgIBCChannelOpenAck) Version

func (*CreateMsgIBCChannelOpenAck) Version() int

type CreateMsgIBCChannelOpenConfirm

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

func NewCreateMsgIBCChannelOpenConfirm

func NewCreateMsgIBCChannelOpenConfirm(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgChannelOpenConfirmParams,
) *CreateMsgIBCChannelOpenConfirm

func (*CreateMsgIBCChannelOpenConfirm) Exec

func (*CreateMsgIBCChannelOpenConfirm) Name

func (*CreateMsgIBCChannelOpenConfirm) Version

type CreateMsgIBCChannelOpenInit

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

func NewCreateMsgIBCChannelOpenInit

func NewCreateMsgIBCChannelOpenInit(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgChannelOpenInitParams,
) *CreateMsgIBCChannelOpenInit

func (*CreateMsgIBCChannelOpenInit) Exec

func (*CreateMsgIBCChannelOpenInit) Name

func (*CreateMsgIBCChannelOpenInit) Version

func (*CreateMsgIBCChannelOpenInit) Version() int

type CreateMsgIBCChannelOpenTry

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

func NewCreateMsgIBCChannelOpenTry

func NewCreateMsgIBCChannelOpenTry(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgChannelOpenTryParams,
) *CreateMsgIBCChannelOpenTry

func (*CreateMsgIBCChannelOpenTry) Exec

func (*CreateMsgIBCChannelOpenTry) Name

func (*CreateMsgIBCChannelOpenTry) Version

func (*CreateMsgIBCChannelOpenTry) Version() int

type CreateMsgIBCConnectionOpenAck

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

func NewCreateMsgIBCConnectionOpenAck

func NewCreateMsgIBCConnectionOpenAck(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgConnectionOpenAckParams,
) *CreateMsgIBCConnectionOpenAck

func (*CreateMsgIBCConnectionOpenAck) Exec

func (*CreateMsgIBCConnectionOpenAck) Name

func (*CreateMsgIBCConnectionOpenAck) Version

type CreateMsgIBCConnectionOpenConfirm

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

func (*CreateMsgIBCConnectionOpenConfirm) Exec

func (*CreateMsgIBCConnectionOpenConfirm) Name

func (*CreateMsgIBCConnectionOpenConfirm) Version

type CreateMsgIBCConnectionOpenInit

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

func NewCreateMsgIBCConnectionOpenInit

func NewCreateMsgIBCConnectionOpenInit(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgConnectionOpenInitParams,
) *CreateMsgIBCConnectionOpenInit

func (*CreateMsgIBCConnectionOpenInit) Exec

func (*CreateMsgIBCConnectionOpenInit) Name

func (*CreateMsgIBCConnectionOpenInit) Version

type CreateMsgIBCConnectionOpenTry

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

func NewCreateMsgIBCConnectionOpenTry

func NewCreateMsgIBCConnectionOpenTry(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgConnectionOpenTryParams,
) *CreateMsgIBCConnectionOpenTry

func (*CreateMsgIBCConnectionOpenTry) Exec

func (*CreateMsgIBCConnectionOpenTry) Name

func (*CreateMsgIBCConnectionOpenTry) Version

type CreateMsgIBCCreateClient

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

func NewCreateMsgIBCCreateClient

func NewCreateMsgIBCCreateClient(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgCreateClientParams,
) *CreateMsgIBCCreateClient

func (*CreateMsgIBCCreateClient) Exec

func (*CreateMsgIBCCreateClient) Name

func (*CreateMsgIBCCreateClient) Version

func (*CreateMsgIBCCreateClient) Version() int

type CreateMsgIBCRecvPacket

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

func NewCreateMsgIBCRecvPacket

func NewCreateMsgIBCRecvPacket(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgRecvPacketParams,
) *CreateMsgIBCRecvPacket

func (*CreateMsgIBCRecvPacket) Exec

func (*CreateMsgIBCRecvPacket) Name

func (*CreateMsgIBCRecvPacket) Version

func (*CreateMsgIBCRecvPacket) Version() int

type CreateMsgIBCTimeout

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

func NewCreateMsgIBCTimeout

func NewCreateMsgIBCTimeout(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgTimeoutParams,
) *CreateMsgIBCTimeout

func (*CreateMsgIBCTimeout) Exec

func (*CreateMsgIBCTimeout) Name

func (*CreateMsgIBCTimeout) Name() string

func (*CreateMsgIBCTimeout) Version

func (*CreateMsgIBCTimeout) Version() int

type CreateMsgIBCTimeoutOnClose

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

func NewCreateMsgIBCTimeoutOnClose

func NewCreateMsgIBCTimeoutOnClose(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgTimeoutOnCloseParams,
) *CreateMsgIBCTimeoutOnClose

func (*CreateMsgIBCTimeoutOnClose) Exec

func (*CreateMsgIBCTimeoutOnClose) Name

func (*CreateMsgIBCTimeoutOnClose) Version

func (*CreateMsgIBCTimeoutOnClose) Version() int

type CreateMsgIBCTransferTransfer

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

func NewCreateMsgIBCTransferTransfer

func NewCreateMsgIBCTransferTransfer(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgTransferParams,
) *CreateMsgIBCTransferTransfer

func (*CreateMsgIBCTransferTransfer) Exec

func (*CreateMsgIBCTransferTransfer) Name

func (*CreateMsgIBCTransferTransfer) Version

func (*CreateMsgIBCTransferTransfer) Version() int

type CreateMsgIBCUpdateClient

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

func NewCreateMsgIBCUpdateClient

func NewCreateMsgIBCUpdateClient(
	msgCommonParams event.MsgCommonParams,
	params ibc_model.MsgUpdateClientParams,
) *CreateMsgIBCUpdateClient

func (*CreateMsgIBCUpdateClient) Exec

func (*CreateMsgIBCUpdateClient) Name

func (*CreateMsgIBCUpdateClient) Version

func (*CreateMsgIBCUpdateClient) Version() int

type CreateMsgMultiSend

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

func NewCreateMsgMultiSend

func NewCreateMsgMultiSend(msgCommonParams event.MsgCommonParams, params model.MsgMultiSendParams) *CreateMsgMultiSend

func (*CreateMsgMultiSend) Exec

func (cmd *CreateMsgMultiSend) Exec() (entity_event.Event, error)

func (*CreateMsgMultiSend) Name

func (_ *CreateMsgMultiSend) Name() string

func (*CreateMsgMultiSend) Version

func (_ *CreateMsgMultiSend) Version() int

type CreateMsgNFTBurnNFT

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

func NewCreateMsgNFTBurnNFT

func NewCreateMsgNFTBurnNFT(
	msgCommonParams event.MsgCommonParams,
	params model.MsgNFTBurnNFTParams,
) *CreateMsgNFTBurnNFT

func (*CreateMsgNFTBurnNFT) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgNFTBurnNFT) Name

func (*CreateMsgNFTBurnNFT) Name() string

Name returns name of command

func (*CreateMsgNFTBurnNFT) Version

func (*CreateMsgNFTBurnNFT) Version() int

Version returns version of command

type CreateMsgNFTEditNFT

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

func NewCreateMsgNFTEditNFT

func NewCreateMsgNFTEditNFT(
	msgCommonParams event.MsgCommonParams,
	params model.MsgNFTEditNFTParams,
) *CreateMsgNFTEditNFT

func (*CreateMsgNFTEditNFT) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgNFTEditNFT) Name

func (*CreateMsgNFTEditNFT) Name() string

Name returns name of command

func (*CreateMsgNFTEditNFT) Version

func (*CreateMsgNFTEditNFT) Version() int

Version returns version of command

type CreateMsgNFTIssueDenom

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

func NewCreateMsgNFTIssueDenom

func NewCreateMsgNFTIssueDenom(
	msgCommonParams event.MsgCommonParams,
	params model.MsgNFTIssueDenomParams,
) *CreateMsgNFTIssueDenom

func (*CreateMsgNFTIssueDenom) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgNFTIssueDenom) Name

Name returns name of command

func (*CreateMsgNFTIssueDenom) Version

func (*CreateMsgNFTIssueDenom) Version() int

Version returns version of command

type CreateMsgNFTMintNFT

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

func NewCreateMsgNFTMintNFT

func NewCreateMsgNFTMintNFT(
	msgCommonParams event.MsgCommonParams,
	params model.MsgNFTMintNFTParams,
) *CreateMsgNFTMintNFT

func (*CreateMsgNFTMintNFT) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgNFTMintNFT) Name

func (*CreateMsgNFTMintNFT) Name() string

Name returns name of command

func (*CreateMsgNFTMintNFT) Version

func (*CreateMsgNFTMintNFT) Version() int

Version returns version of command

type CreateMsgNFTTransferNFT

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

func NewCreateMsgNFTTransferNFT

func NewCreateMsgNFTTransferNFT(
	msgCommonParams event.MsgCommonParams,
	params model.MsgNFTTransferNFTParams,
) *CreateMsgNFTTransferNFT

func (*CreateMsgNFTTransferNFT) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgNFTTransferNFT) Name

Name returns name of command

func (*CreateMsgNFTTransferNFT) Version

func (*CreateMsgNFTTransferNFT) Version() int

Version returns version of command

type CreateMsgRevoke

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

func NewCreateMsgRevoke

func NewCreateMsgRevoke(
	msgCommonParams event.MsgCommonParams,
	params model.MsgRevokeParams,
) *CreateMsgRevoke

func (*CreateMsgRevoke) Exec

func (cmd *CreateMsgRevoke) Exec() (entity_event.Event, error)

func (*CreateMsgRevoke) Name

func (*CreateMsgRevoke) Name() string

func (*CreateMsgRevoke) Version

func (*CreateMsgRevoke) Version() int

type CreateMsgRevokeAllowance

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

func NewCreateMsgRevokeAllowance

func NewCreateMsgRevokeAllowance(
	msgCommonParams event.MsgCommonParams,
	params model.MsgRevokeAllowanceParams,
) *CreateMsgRevokeAllowance

func (*CreateMsgRevokeAllowance) Exec

func (*CreateMsgRevokeAllowance) Name

func (*CreateMsgRevokeAllowance) Version

func (*CreateMsgRevokeAllowance) Version() int

type CreateMsgSend

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

func NewCreateMsgSend

func NewCreateMsgSend(msgCommonParams event.MsgCommonParams, params event.MsgSendCreatedParams) *CreateMsgSend

func (*CreateMsgSend) Exec

func (cmd *CreateMsgSend) Exec() (entity_event.Event, error)

func (*CreateMsgSend) Name

func (_ *CreateMsgSend) Name() string

func (*CreateMsgSend) Version

func (_ *CreateMsgSend) Version() int

type CreateMsgSetWithdrawAddress

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

func NewCreateMsgSetWithdrawAddress

func NewCreateMsgSetWithdrawAddress(
	msgCommonParams event.MsgCommonParams,
	params model.MsgSetWithdrawAddressParams,
) *CreateMsgSetWithdrawAddress

func (*CreateMsgSetWithdrawAddress) Exec

func (*CreateMsgSetWithdrawAddress) Name

func (*CreateMsgSetWithdrawAddress) Version

func (_ *CreateMsgSetWithdrawAddress) Version() int

type CreateMsgSubmitCancelSoftwareUpgradeProposal

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

func (*CreateMsgSubmitCancelSoftwareUpgradeProposal) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgSubmitCancelSoftwareUpgradeProposal) Name

Name returns name of command

func (*CreateMsgSubmitCancelSoftwareUpgradeProposal) Version

Version returns version of command

type CreateMsgSubmitCommunityPoolSpendProposal

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

func (*CreateMsgSubmitCommunityPoolSpendProposal) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgSubmitCommunityPoolSpendProposal) Name

Name returns name of command

func (*CreateMsgSubmitCommunityPoolSpendProposal) Version

Version returns version of command

type CreateMsgSubmitParamChangeProposal

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

func (*CreateMsgSubmitParamChangeProposal) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgSubmitParamChangeProposal) Name

Name returns name of command

func (*CreateMsgSubmitParamChangeProposal) Version

Version returns version of command

type CreateMsgSubmitSoftwareUpgradeProposal

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

func (*CreateMsgSubmitSoftwareUpgradeProposal) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgSubmitSoftwareUpgradeProposal) Name

Name returns name of command

func (*CreateMsgSubmitSoftwareUpgradeProposal) Version

Version returns version of command

type CreateMsgSubmitTextProposal

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

func NewCreateMsgSubmitTextProposal

func NewCreateMsgSubmitTextProposal(
	msgCommonParams event.MsgCommonParams,
	params model.MsgSubmitTextProposalParams,
) *CreateMsgSubmitTextProposal

func (*CreateMsgSubmitTextProposal) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgSubmitTextProposal) Name

Name returns name of command

func (*CreateMsgSubmitTextProposal) Version

func (*CreateMsgSubmitTextProposal) Version() int

Version returns version of command

type CreateMsgUndelegate

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

CreateMsgUndelegate is a command to create MsgUndelegate event

func NewCreateMsgUndelegate

func NewCreateMsgUndelegate(msgCommonParams event.MsgCommonParams, params model.MsgUndelegateParams) *CreateMsgUndelegate

NewCreateMsgUndelegate create a new instance of CreateMsgUndelegate command

func (*CreateMsgUndelegate) Exec

Exec process the command data and return the event accordingly

func (*CreateMsgUndelegate) Name

func (*CreateMsgUndelegate) Name() string

Name returns name of command

func (*CreateMsgUndelegate) Version

func (*CreateMsgUndelegate) Version() int

Version returns version of command

type CreateMsgUnjail

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

CreateMsgUnjail is a command to create MsgUnjail event

func NewCreateMsgUnjail

func NewCreateMsgUnjail(msgCommonParams event.MsgCommonParams, params model.MsgUnjailParams) *CreateMsgUnjail

NewCreateMsgUnjail create a new instance of CreateMsgUnjail command

func (*CreateMsgUnjail) Exec

func (cmd *CreateMsgUnjail) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*CreateMsgUnjail) Name

func (*CreateMsgUnjail) Name() string

Name returns name of command

func (*CreateMsgUnjail) Version

func (*CreateMsgUnjail) Version() int

Version returns version of command

type CreateMsgVote

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

func NewCreateMsgVote

func NewCreateMsgVote(
	msgCommonParams event.MsgCommonParams,
	params model.MsgVoteParams,
) *CreateMsgVote

func (*CreateMsgVote) Exec

func (cmd *CreateMsgVote) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*CreateMsgVote) Name

func (*CreateMsgVote) Name() string

Name returns name of command

func (*CreateMsgVote) Version

func (*CreateMsgVote) Version() int

Version returns version of command

type CreateMsgWithdrawDelegatorReward

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

func (*CreateMsgWithdrawDelegatorReward) Exec

func (*CreateMsgWithdrawDelegatorReward) Name

func (*CreateMsgWithdrawDelegatorReward) Version

type CreateMsgWithdrawValidatorCommission

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

func (*CreateMsgWithdrawValidatorCommission) Exec

func (*CreateMsgWithdrawValidatorCommission) Name

func (*CreateMsgWithdrawValidatorCommission) Version

type CreateRawBlock

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

func NewCreateRawBlock

func NewCreateRawBlock(rawBlock *usecase_model.RawBlock) *CreateRawBlock

func (*CreateRawBlock) Exec

func (cmd *CreateRawBlock) Exec() (entity_event.Event, error)

func (*CreateRawBlock) Name

func (_ *CreateRawBlock) Name() string

func (*CreateRawBlock) Version

func (_ *CreateRawBlock) Version() int

type CreateTransaction

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

func NewCreateTransaction

func NewCreateTransaction(blockHeight int64, params model.CreateTransactionParams) *CreateTransaction

func (*CreateTransaction) Exec

func (cmd *CreateTransaction) Exec() (entity_event.Event, error)

func (*CreateTransaction) Name

func (_ *CreateTransaction) Name() string

func (*CreateTransaction) Version

func (_ *CreateTransaction) Version() int

type EndProposal

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

func NewEndProposal

func NewEndProposal(blockHeight int64, proposalId string, result string) *EndProposal

func (*EndProposal) Exec

func (cmd *EndProposal) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*EndProposal) Name

func (*EndProposal) Name() string

Name returns name of command

func (*EndProposal) Version

func (*EndProposal) Version() int

Version returns version of command

type GravityHandleEthereumSendToCosmos

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

func NewGravityHandleEthereumSendToCosmos

func NewGravityHandleEthereumSendToCosmos(
	blockHeight int64,
	params model.GravityEthereumSendToCosmosHandledEventParams,
) *GravityHandleEthereumSendToCosmos

FIXME: issue the command in parser after gathering real life example

func (*GravityHandleEthereumSendToCosmos) Exec

Exec process the command data and return the event accordingly

func (*GravityHandleEthereumSendToCosmos) Name

Name returns name of command

func (*GravityHandleEthereumSendToCosmos) Version

Version returns version of command

type InactiveProposal

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

func NewInactiveProposal

func NewInactiveProposal(blockHeight int64, proposalId string, result string) *InactiveProposal

func (*InactiveProposal) Exec

func (cmd *InactiveProposal) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*InactiveProposal) Name

func (*InactiveProposal) Name() string

Name returns name of command

func (*InactiveProposal) Version

func (*InactiveProposal) Version() int

Version returns version of command

type JailValidator

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

func NewJailValidator

func NewJailValidator(blockHeight int64, consensusNodeAddress string, reason string) *JailValidator

func (*JailValidator) Exec

func (cmd *JailValidator) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*JailValidator) Name

func (*JailValidator) Name() string

Name returns name of command

func (*JailValidator) Version

func (*JailValidator) Version() int

Version returns version of command

type SlashValidator

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

func NewSlashValidator

func NewSlashValidator(blockHeight int64, params model.SlashValidatorParams) *SlashValidator

func (*SlashValidator) Exec

func (cmd *SlashValidator) Exec() (entity_event.Event, error)

Exec process the command data and return the event accordingly

func (*SlashValidator) Name

func (*SlashValidator) Name() string

Name returns name of command

func (*SlashValidator) Version

func (*SlashValidator) Version() int

Version returns version of command

type StartProposalVotingPeriod

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

func NewStartProposalVotingPeriod

func NewStartProposalVotingPeriod(
	blockHeight int64,
	proposalId string,
) *StartProposalVotingPeriod

func (*StartProposalVotingPeriod) Exec

Exec process the command data and return the event accordingly

func (*StartProposalVotingPeriod) Name

Name returns name of command

func (*StartProposalVotingPeriod) Version

func (*StartProposalVotingPeriod) Version() int

Version returns version of command

Source Files

Jump to

Keyboard shortcuts

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