Documentation ¶
Index ¶
- func ClearContractAdminCmd() *cobra.Command
- func ExecuteContractCmd() *cobra.Command
- func GenesisExecuteContractCmd(defaultNodeHome string) *cobra.Command
- func GenesisInstantiateContractCmd(defaultNodeHome string) *cobra.Command
- func GenesisListCodesCmd(defaultNodeHome string) *cobra.Command
- func GenesisListContractsCmd(defaultNodeHome string) *cobra.Command
- func GenesisStoreCodeCmd(defaultNodeHome string) *cobra.Command
- func GetCmdGetContractHistory() *cobra.Command
- func GetCmdGetContractInfo() *cobra.Command
- func GetCmdGetContractState() *cobra.Command
- func GetCmdGetContractStateAll() *cobra.Command
- func GetCmdGetContractStateRaw() *cobra.Command
- func GetCmdGetContractStateSmart() *cobra.Command
- func GetCmdListCode() *cobra.Command
- func GetCmdListContractByCode() *cobra.Command
- func GetCmdQueryCode() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func InstantiateContractCmd() *cobra.Command
- func MigrateContractCmd() *cobra.Command
- func ProposalClearContractAdminCmd() *cobra.Command
- func ProposalInstantiateContractCmd() *cobra.Command
- func ProposalMigrateContractCmd() *cobra.Command
- func ProposalStoreCodeCmd() *cobra.Command
- func ProposalUpdateContractAdminCmd() *cobra.Command
- func StoreCodeCmd() *cobra.Command
- func UpdateContractAdminCmd() *cobra.Command
- type VanillaStdJsonMarshaller
- func (x VanillaStdJsonMarshaller) MarshalInterfaceJSON(i proto.Message) ([]byte, error)
- func (x VanillaStdJsonMarshaller) MarshalJSON(o proto.Message) ([]byte, error)
- func (x VanillaStdJsonMarshaller) MustMarshalJSON(o proto.Message) []byte
- func (x VanillaStdJsonMarshaller) MustUnmarshalJSON(bz []byte, ptr proto.Message)
- func (x VanillaStdJsonMarshaller) UnmarshalInterfaceJSON(bz []byte, ptr interface{}) error
- func (x VanillaStdJsonMarshaller) UnmarshalJSON(bz []byte, ptr proto.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearContractAdminCmd ¶
ClearContractAdminCmd clears an admin for a contract
func ExecuteContractCmd ¶
ExecuteContractCmd will instantiate a contract from previously uploaded code.
func GenesisExecuteContractCmd ¶
GenesisInstantiateContractCmd cli command to add a `MsgExecuteContract` to the wasm section of the genesis that is executed on block 0.
func GenesisInstantiateContractCmd ¶
GenesisInstantiateContractCmd cli command to add a `MsgInstantiateContract` to the wasm section of the genesis that is executed on block 0.
func GenesisListCodesCmd ¶
GenesisListCodesCmd cli command to list all codes stored in the genesis wasm.code section as well as from messages that are queued in the wasm.genMsgs section.
func GenesisListContractsCmd ¶
GenesisListContractsCmd cli command to list all contracts stored in the genesis wasm.contract section as well as from messages that are queued in the wasm.genMsgs section.
func GenesisStoreCodeCmd ¶
GenesisStoreCodeCmd cli command to add a `MsgStoreCode` to the wasm section of the genesis that is executed on block 0.
func GetCmdGetContractHistory ¶
GetCmdGetContractHistory prints the code history for a given contract
func GetCmdGetContractInfo ¶
GetCmdGetContractInfo gets details about a given contract
func GetCmdGetContractState ¶
GetCmdGetContractState dumps full internal state of a given contract
func GetCmdListCode ¶
GetCmdListCode lists all wasm code uploaded
func GetCmdListContractByCode ¶
GetCmdListContractByCode lists all wasm code uploaded for given code id
func GetCmdQueryCode ¶
GetCmdQueryCode returns the bytecode for a given contract
func GetQueryCmd ¶
func InstantiateContractCmd ¶
InstantiateContractCmd will instantiate a contract from previously uploaded code.
func MigrateContractCmd ¶
MigrateContractCmd will migrate a contract to a new code version
func ProposalStoreCodeCmd ¶
func UpdateContractAdminCmd ¶
UpdateContractAdminCmd sets an new admin for a contract
Types ¶
type VanillaStdJsonMarshaller ¶
type VanillaStdJsonMarshaller struct { }
func (VanillaStdJsonMarshaller) MarshalInterfaceJSON ¶
func (x VanillaStdJsonMarshaller) MarshalInterfaceJSON(i proto.Message) ([]byte, error)
func (VanillaStdJsonMarshaller) MarshalJSON ¶
func (x VanillaStdJsonMarshaller) MarshalJSON(o proto.Message) ([]byte, error)
func (VanillaStdJsonMarshaller) MustMarshalJSON ¶
func (x VanillaStdJsonMarshaller) MustMarshalJSON(o proto.Message) []byte
func (VanillaStdJsonMarshaller) MustUnmarshalJSON ¶
func (x VanillaStdJsonMarshaller) MustUnmarshalJSON(bz []byte, ptr proto.Message)
func (VanillaStdJsonMarshaller) UnmarshalInterfaceJSON ¶
func (x VanillaStdJsonMarshaller) UnmarshalInterfaceJSON(bz []byte, ptr interface{}) error
func (VanillaStdJsonMarshaller) UnmarshalJSON ¶
func (x VanillaStdJsonMarshaller) UnmarshalJSON(bz []byte, ptr proto.Message) error