Documentation ¶
Index ¶
- func CmdDecryptText() *cobra.Command
- func ExecuteContractCmd() *cobra.Command
- func ExecuteWithData(cmd *cobra.Command, contractAddress sdk.AccAddress, msg []byte, amount string, ...) error
- func GetCmdCodeHashByCodeID() *cobra.Command
- func GetCmdCodeHashByContractAddress() *cobra.Command
- func GetCmdGetContractInfo() *cobra.Command
- func GetCmdListCode() *cobra.Command
- func GetCmdListContractByCode() *cobra.Command
- func GetCmdQuery() *cobra.Command
- func GetCmdQueryCode() *cobra.Command
- func GetCmdQueryLabel() *cobra.Command
- func GetCodeHashByCodeId(cliCtx client.Context, codeID string) ([]byte, error)
- func GetCodeHashByContractAddr(cliCtx client.Context, contractAddr sdk.AccAddress) ([]byte, error)
- func GetQueryCmd() *cobra.Command
- func GetQueryDecryptTxCmd() *cobra.Command
- func GetTxCmd() *cobra.Command
- func InstantiateContractCmd() *cobra.Command
- func QueryWithData(contractAddress sdk.AccAddress, queryData []byte, cliCtx client.Context) error
- func StoreCodeCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdDecryptText ¶
func ExecuteContractCmd ¶
ExecuteContractCmd will instantiate a contract from previously uploaded code.
func ExecuteWithData ¶
func GetCmdCodeHashByCodeID ¶
GetCmdCodeHashByID return the code hash of a contract by ID
func GetCmdCodeHashByContractAddress ¶
GetCmdListCode lists all wasm code uploaded
func GetCmdGetContractInfo ¶
GetCmdGetContractInfo gets details about a given contract
func GetCmdListCode ¶
GetCmdListCode lists all wasm code uploaded
func GetCmdListContractByCode ¶
GetCmdListContractByCode lists all wasm code uploaded for given code id
func GetCmdQuery ¶
func GetCmdQueryCode ¶
GetCmdQueryCode returns the bytecode for a given contract
func GetCmdQueryLabel ¶
GetCmdListCode lists all wasm code uploaded
func GetCodeHashByCodeId ¶
func GetQueryCmd ¶
func GetQueryDecryptTxCmd ¶
QueryDecryptTxCmd the default command for a tx query + IO decryption if I'm the tx sender. Coppied from https://github.com/cosmos/cosmos-sdk/blob/v0.38.4/x/auth/client/cli/query.go#L157-L184 and added IO decryption (Could not wrap it because it prints directly to stdout)
func InstantiateContractCmd ¶
InstantiateContractCmd will instantiate a contract from previously uploaded code.
func QueryWithData ¶
Types ¶
This section is empty.