Documentation ¶
Index ¶
- Variables
- func ClearContractAdminCmd() *cobra.Command
- func ExecuteContractCmd() *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 InstantiateContract2Cmd() *cobra.Command
- func InstantiateContractCmd() *cobra.Command
- func MigrateContractCmd() *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 ProposalStoreAndInstantiateContractCmd() *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 ¶
ClearContractAdminCmd clears an admin for a contract
func ExecuteContractCmd ¶
ExecuteContractCmd will instantiate a contract from previously uploaded code.
func GetCmdBuildAddress ¶
GetCmdBuildAddress build a contract address
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 GetCmdLibVersion ¶
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 ¶
GetCmdListContractsByCreator lists all contracts by creator
func GetCmdListPinnedCode ¶
GetCmdListPinnedCode lists all wasm code ids that are pinned
func GetCmdQueryCode ¶
GetCmdQueryCode returns the bytecode for a given contract
func GetCmdQueryCodeInfo ¶
GetCmdQueryCodeInfo returns the code info for a given code id
func GetCmdQueryParams ¶
GetCmdQueryParams implements a command to return the current wasm parameters.
func GetQueryCmd ¶
func GrantAuthorizationCmd ¶
func InstantiateContract2Cmd ¶
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 ¶
MigrateContractCmd will migrate a contract to a new code version
func ProposalPinCodesCmd ¶
func ProposalStoreCodeCmd ¶
func ProposalSudoContractCmd ¶
func ProposalUnpinCodesCmd ¶
func SubmitProposalCmd ¶
func UpdateContractAdminCmd ¶
UpdateContractAdminCmd sets an new admin for a contract
func UpdateInstantiateConfigCmd ¶
UpdateInstantiateConfigCmd updates instantiate config for a smart contract.
Types ¶
This section is empty.