cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 33 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func ClearContractAdminCmd() *cobra.Command

ClearContractAdminCmd clears an admin for a contract

func ExecuteContractCmd

func ExecuteContractCmd() *cobra.Command

ExecuteContractCmd will execute a contract method using its address and JSON-encoded arguments.

func ExtendUnsafeResetAllCmd

func ExtendUnsafeResetAllCmd(rootCmd *cobra.Command)

ExtendUnsafeResetAllCmd - also clear wasm dir

func GetCmdBuildAddress

func GetCmdBuildAddress() *cobra.Command

GetCmdBuildAddress build a contract address

func GetCmdGetContractHistory

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

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

func GetCmdListContractsByCreator() *cobra.Command

GetCmdListContractsByCreator lists all contracts by creator

func GetCmdListPinnedCode

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

func GetCmdQueryCodeInfo() *cobra.Command

GetCmdQueryCodeInfo returns the code info for a given code id

func GetCmdQueryParams

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

func GrantAuthorizationCmd() *cobra.Command

func GrantCmd

func GrantCmd() *cobra.Command

func GrantStoreCodeAuthorizationCmd

func GrantStoreCodeAuthorizationCmd() *cobra.Command

func InstantiateContract2Cmd

func InstantiateContract2Cmd() *cobra.Command

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

func InstantiateContractCmd

func InstantiateContractCmd() *cobra.Command

InstantiateContractCmd will instantiate a contract from previously uploaded code.

func MigrateContractCmd

func MigrateContractCmd() *cobra.Command

MigrateContractCmd will migrate a contract to a new code version

func ProposalAddCodeUploadParamsAddresses

func ProposalAddCodeUploadParamsAddresses() *cobra.Command

func ProposalClearContractAdminCmd

func ProposalClearContractAdminCmd() *cobra.Command

func ProposalExecuteContractCmd

func ProposalExecuteContractCmd() *cobra.Command

func ProposalInstantiateContract2Cmd

func ProposalInstantiateContract2Cmd() *cobra.Command

func ProposalInstantiateContractCmd

func ProposalInstantiateContractCmd() *cobra.Command

func ProposalMigrateContractCmd

func ProposalMigrateContractCmd() *cobra.Command

func ProposalPinCodesCmd

func ProposalPinCodesCmd() *cobra.Command

func ProposalRemoveCodeUploadParamsAddresses

func ProposalRemoveCodeUploadParamsAddresses() *cobra.Command

func ProposalStoreAndInstantiateContractCmd

func ProposalStoreAndInstantiateContractCmd() *cobra.Command

func ProposalStoreAndMigrateContractCmd

func ProposalStoreAndMigrateContractCmd() *cobra.Command

func ProposalStoreCodeCmd

func ProposalStoreCodeCmd() *cobra.Command

func ProposalSudoContractCmd

func ProposalSudoContractCmd() *cobra.Command

func ProposalUnpinCodesCmd

func ProposalUnpinCodesCmd() *cobra.Command

func ProposalUpdateContractAdminCmd

func ProposalUpdateContractAdminCmd() *cobra.Command

func ProposalUpdateInstantiateConfigCmd

func ProposalUpdateInstantiateConfigCmd() *cobra.Command

func StoreCodeCmd

func StoreCodeCmd() *cobra.Command

StoreCodeCmd will upload code to be reused.

func SubmitProposalCmd

func SubmitProposalCmd() *cobra.Command

func UpdateContractAdminCmd

func UpdateContractAdminCmd() *cobra.Command

UpdateContractAdminCmd sets an new admin for a contract

func UpdateContractLabelCmd

func UpdateContractLabelCmd() *cobra.Command

UpdateContractLabelCmd sets an new label for a contract

func UpdateInstantiateConfigCmd

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