Documentation ¶
Index ¶
- Variables
- func ClearContractAdminCmd() *cobra.Command
- func ExecuteContractCmd() *cobra.Command
- func ExtendUnsafeResetAllCmd(rootCmd *cobra.Command)
- func GetCmdBuildAddress() *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 GetCmdLibVersion() *cobra.Command
- func GetCmdListCode() *cobra.Command
- func GetCmdListContractByCode() *cobra.Command
- func GetCmdListContractsByCreator() *cobra.Command
- func GetCmdListPinnedCode() *cobra.Command
- func GetCmdQueryCode() *cobra.Command
- func GetCmdQueryCodeInfo() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func GrantAuthorizationCmd() *cobra.Command
- func GrantCmd() *cobra.Command
- func GrantStoreCodeAuthorizationCmd() *cobra.Command
- func InstantiateContract2Cmd() *cobra.Command
- func InstantiateContractCmd() *cobra.Command
- func MigrateContractCmd() *cobra.Command
- func ProposalAddCodeUploadParamsAddresses() *cobra.Command
- func ProposalClearContractAdminCmd() *cobra.Command
- func ProposalExecuteContractCmd() *cobra.Command
- func ProposalInstantiateContract2Cmd() *cobra.Command
- func ProposalInstantiateContractCmd() *cobra.Command
- func ProposalMigrateContractCmd() *cobra.Command
- func ProposalPinCodesCmd() *cobra.Command
- func ProposalRemoveCodeUploadParamsAddresses() *cobra.Command
- func ProposalStoreAndInstantiateContractCmd() *cobra.Command
- func ProposalStoreAndMigrateContractCmd() *cobra.Command
- func ProposalStoreCodeCmd() *cobra.Command
- func ProposalSudoContractCmd() *cobra.Command
- func ProposalUnpinCodesCmd() *cobra.Command
- func ProposalUpdateContractAdminCmd() *cobra.Command
- func ProposalUpdateInstantiateConfigCmd() *cobra.Command
- func StoreCodeCmd() *cobra.Command
- func SubmitProposalCmd() *cobra.Command
- func UpdateContractAdminCmd() *cobra.Command
- func UpdateInstantiateConfigCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
var DefaultGovAuthority = sdk.AccAddress(address.Module("gov"))
DefaultGovAuthority is set to the gov module address. Extension point for chains to overwrite the default
Functions ¶
func ClearContractAdminCmd ¶ added in v0.9.0
ClearContractAdminCmd clears an admin for a contract
func ExecuteContractCmd ¶
ExecuteContractCmd will instantiate a contract from previously uploaded code.
func ExtendUnsafeResetAllCmd ¶ added in v0.41.0
ExtendUnsafeResetAllCmd - also clear wasm dir
func GetCmdBuildAddress ¶ added in v0.29.0
GetCmdBuildAddress build a contract address
func GetCmdGetContractHistory ¶ added in v0.10.0
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 GetCmdLibVersion ¶ added in v0.27.0
GetCmdLibVersion gets current libwasmvm version.
func GetCmdListCode ¶
GetCmdListCode lists all wasm code uploaded
func GetCmdListContractByCode ¶
GetCmdListContractByCode lists all wasm code uploaded for given code id
func GetCmdListContractsByCreator ¶ added in v0.30.0
GetCmdListContractsByCreator lists all contracts by creator
func GetCmdListPinnedCode ¶ added in v0.20.0
GetCmdListPinnedCode lists all wasm code ids that are pinned
func GetCmdQueryCode ¶
GetCmdQueryCode returns the bytecode for a given contract
func GetCmdQueryCodeInfo ¶ added in v0.27.0
GetCmdQueryCodeInfo returns the code info for a given code id
func GetCmdQueryParams ¶ added in v0.29.0
GetCmdQueryParams implements a command to return the current wasm parameters.
func GetQueryCmd ¶
func GrantAuthorizationCmd ¶ added in v0.30.0
func GrantStoreCodeAuthorizationCmd ¶ added in v0.42.0
func InstantiateContract2Cmd ¶ added in v0.29.0
InstantiateContract2Cmd will instantiate a contract from previously uploaded code with predicable address generated
func InstantiateContractCmd ¶
InstantiateContractCmd will instantiate a contract from previously uploaded code.
func MigrateContractCmd ¶ added in v0.9.0
MigrateContractCmd will migrate a contract to a new code version
func ProposalAddCodeUploadParamsAddresses ¶ added in v0.41.0
func ProposalClearContractAdminCmd ¶ added in v0.10.0
func ProposalExecuteContractCmd ¶ added in v0.22.0
func ProposalInstantiateContract2Cmd ¶ added in v0.31.0
func ProposalInstantiateContractCmd ¶ added in v0.10.0
func ProposalMigrateContractCmd ¶ added in v0.10.0
func ProposalPinCodesCmd ¶ added in v0.22.0
func ProposalRemoveCodeUploadParamsAddresses ¶ added in v0.41.0
func ProposalStoreAndInstantiateContractCmd ¶ added in v0.30.0
func ProposalStoreAndMigrateContractCmd ¶ added in v0.42.0
func ProposalStoreCodeCmd ¶ added in v0.10.0
func ProposalSudoContractCmd ¶ added in v0.22.0
func ProposalUnpinCodesCmd ¶ added in v0.22.0
func ProposalUpdateContractAdminCmd ¶ added in v0.10.0
func ProposalUpdateInstantiateConfigCmd ¶ added in v0.27.0
func SubmitProposalCmd ¶ added in v0.40.0
func UpdateContractAdminCmd ¶ added in v0.9.0
UpdateContractAdminCmd sets an new admin for a contract
func UpdateInstantiateConfigCmd ¶ added in v0.31.0
UpdateInstantiateConfigCmd updates instantiate config for a smart contract.
Types ¶
This section is empty.