cli

package
v0.51.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

func ClearContractAdminCmd() *cobra.Command

ClearContractAdminCmd clears an admin for a contract

func ExecuteContractCmd

func ExecuteContractCmd() *cobra.Command

ExecuteContractCmd will instantiate a contract from previously uploaded code.

func ExtendUnsafeResetAllCmd added in v0.41.0

func ExtendUnsafeResetAllCmd(rootCmd *cobra.Command)

ExtendUnsafeResetAllCmd - also clear wasm dir

func GetCmdBuildAddress added in v0.29.0

func GetCmdBuildAddress() *cobra.Command

GetCmdBuildAddress build a contract address

func GetCmdGetContractHistory added in v0.10.0

func GetCmdGetContractHistory() *cobra.Command

GetCmdGetContractHistory prints the code history for a given contract

func GetCmdGetContractInfo

func GetCmdGetContractInfo() *cobra.Command

GetCmdGetContractInfo gets details about a given contract

func GetCmdGetContractState

func GetCmdGetContractState() *cobra.Command

GetCmdGetContractState dumps full internal state of a given contract

func GetCmdGetContractStateAll

func GetCmdGetContractStateAll() *cobra.Command

func GetCmdGetContractStateRaw

func GetCmdGetContractStateRaw() *cobra.Command

func GetCmdGetContractStateSmart

func GetCmdGetContractStateSmart() *cobra.Command

func GetCmdLibVersion added in v0.27.0

func GetCmdLibVersion() *cobra.Command

GetCmdLibVersion gets current libwasmvm version.

func GetCmdListCode

func GetCmdListCode() *cobra.Command

GetCmdListCode lists all wasm code uploaded

func GetCmdListContractByCode

func GetCmdListContractByCode() *cobra.Command

GetCmdListContractByCode lists all wasm code uploaded for given code id

func GetCmdListContractsByCreator added in v0.30.0

func GetCmdListContractsByCreator() *cobra.Command

GetCmdListContractsByCreator lists all contracts by creator

func GetCmdListPinnedCode added in v0.20.0

func GetCmdListPinnedCode() *cobra.Command

GetCmdListPinnedCode lists all wasm code ids that are pinned

func GetCmdQueryCode

func GetCmdQueryCode() *cobra.Command

GetCmdQueryCode returns the bytecode for a given contract

func GetCmdQueryCodeInfo added in v0.27.0

func GetCmdQueryCodeInfo() *cobra.Command

GetCmdQueryCodeInfo returns the code info for a given code id

func GetCmdQueryParams added in v0.29.0

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements a command to return the current wasm parameters.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func GrantAuthorizationCmd added in v0.30.0

func GrantAuthorizationCmd() *cobra.Command

func GrantCmd added in v0.42.0

func GrantCmd() *cobra.Command

func GrantStoreCodeAuthorizationCmd added in v0.42.0

func GrantStoreCodeAuthorizationCmd() *cobra.Command

func InstantiateContract2Cmd added in v0.29.0

func InstantiateContract2Cmd() *cobra.Command

InstantiateContract2Cmd will instantiate a contract from previously uploaded code with predicable address generated

func InstantiateContractCmd

func InstantiateContractCmd() *cobra.Command

InstantiateContractCmd will instantiate a contract from previously uploaded code.

func MigrateContractCmd added in v0.9.0

func MigrateContractCmd() *cobra.Command

MigrateContractCmd will migrate a contract to a new code version

func ProposalAddCodeUploadParamsAddresses added in v0.41.0

func ProposalAddCodeUploadParamsAddresses() *cobra.Command

func ProposalClearContractAdminCmd added in v0.10.0

func ProposalClearContractAdminCmd() *cobra.Command

func ProposalExecuteContractCmd added in v0.22.0

func ProposalExecuteContractCmd() *cobra.Command

func ProposalInstantiateContract2Cmd added in v0.31.0

func ProposalInstantiateContract2Cmd() *cobra.Command

func ProposalInstantiateContractCmd added in v0.10.0

func ProposalInstantiateContractCmd() *cobra.Command

func ProposalMigrateContractCmd added in v0.10.0

func ProposalMigrateContractCmd() *cobra.Command

func ProposalPinCodesCmd added in v0.22.0

func ProposalPinCodesCmd() *cobra.Command

func ProposalRemoveCodeUploadParamsAddresses added in v0.41.0

func ProposalRemoveCodeUploadParamsAddresses() *cobra.Command

func ProposalStoreAndInstantiateContractCmd added in v0.30.0

func ProposalStoreAndInstantiateContractCmd() *cobra.Command

func ProposalStoreAndMigrateContractCmd added in v0.42.0

func ProposalStoreAndMigrateContractCmd() *cobra.Command

func ProposalStoreCodeCmd added in v0.10.0

func ProposalStoreCodeCmd() *cobra.Command

func ProposalSudoContractCmd added in v0.22.0

func ProposalSudoContractCmd() *cobra.Command

func ProposalUnpinCodesCmd added in v0.22.0

func ProposalUnpinCodesCmd() *cobra.Command

func ProposalUpdateContractAdminCmd added in v0.10.0

func ProposalUpdateContractAdminCmd() *cobra.Command

func ProposalUpdateInstantiateConfigCmd added in v0.27.0

func ProposalUpdateInstantiateConfigCmd() *cobra.Command

func StoreCodeCmd

func StoreCodeCmd() *cobra.Command

StoreCodeCmd will upload code to be reused.

func SubmitProposalCmd added in v0.40.0

func SubmitProposalCmd() *cobra.Command

func UpdateContractAdminCmd added in v0.9.0

func UpdateContractAdminCmd() *cobra.Command

UpdateContractAdminCmd sets an new admin for a contract

func UpdateContractLabelCmd added in v0.43.0

func UpdateContractLabelCmd() *cobra.Command

UpdateContractLabelCmd sets an new label for a contract

func UpdateInstantiateConfigCmd added in v0.31.0

func UpdateInstantiateConfigCmd() *cobra.Command

UpdateInstantiateConfigCmd updates instantiate config for a smart contract.

Types

This section is empty.

Jump to

Keyboard shortcuts

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