Documentation ¶
Index ¶
- Constants
- func GetCmdAddresses(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdAddressesForType(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdExecuteAction(cdc *codec.Codec) *cobra.Command
- func GetCmdGetState(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func RegisterCodec(cdc *codec.Codec)
- type MsgExecuteAction
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 GetCmdAddressesForType ¶
func GetCmdExecuteAction ¶
GetCmdExecuteAction is the CLI command for sending a ExecuteAction transaction
func GetQueryCmd ¶
GetQueryCmd generates the entrypoint for the strongforce module
func RegisterCodec ¶
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
Click to show internal directories.
Click to hide internal directories.