types

package
v0.0.0-...-2ce015d Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "strongforce"

ModuleName - the name of the module

View Source
const RouterKey = "strongforce"

RouterKey - the key used for routes

View Source
const StoreKey = "strongforce"

StoreKey - the key used for state storage

View Source
const TypeStoreKey = "contractsType"

Variables

This section is empty.

Functions

func GetCmdAddresses

func GetCmdAddresses(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdAddressesForType

func GetCmdAddressesForType(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetCmdExecuteAction

func GetCmdExecuteAction(cdc *codec.Codec) *cobra.Command

GetCmdExecuteAction is the CLI command for sending a ExecuteAction transaction

func GetCmdGetState

func GetCmdGetState(queryRoute string, cdc *codec.Codec) *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command

GetQueryCmd generates the entrypoint for the strongforce module

func GetTxCmd

func GetTxCmd(cdc *codec.Codec) *cobra.Command

GetTxCmd generates the entrypoint for the strongforce module

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

RegisterCodec registers strongforce types in the codec

Types

type MsgExecuteAction

type MsgExecuteAction struct {
	Doer   types.AccAddress
	Action []byte
}

MsgExecuteAction represents a request to execute an action

func NewMsgExecuteAction

func NewMsgExecuteAction(doer types.AccAddress, action []byte) MsgExecuteAction

NewMsgExecuteAction is the constructor for MsgExecuteAction

func (MsgExecuteAction) GetSignBytes

func (msg MsgExecuteAction) GetSignBytes() []byte

GetSignBytes - Implements types.Message

func (MsgExecuteAction) GetSigners

func (msg MsgExecuteAction) GetSigners() []types.AccAddress

GetSigners - Implements types.Message

func (MsgExecuteAction) Route

func (msg MsgExecuteAction) Route() string

Route - Implements types.Message

func (MsgExecuteAction) Type

func (msg MsgExecuteAction) Type() string

Type - Implements types.Message

func (MsgExecuteAction) ValidateBasic

func (msg MsgExecuteAction) ValidateBasic() types.Error

ValidateBasic - Implements types.Message

Jump to

Keyboard shortcuts

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