Documentation ¶
Index ¶
- func GetAddress(cdc *codec.Codec, cliCtx context.CLIContext, addressOrName string) (sdk.AccAddress, error)
- func GetContractType(strContractType string) util.ContractType
- func GetLocalWalletInfo(valueFromFromFlag string, kb keys.Keybase, cdc *codec.Codec, ...) (keys.Info, error)
- func ReplaceBase64HashToBech32(path, valueStr string) string
- type Bigsun
- type Hdac
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddress ¶ added in v0.5.0
func GetAddress(cdc *codec.Codec, cliCtx context.CLIContext, addressOrName string) (sdk.AccAddress, error)
GetAddress searches address in nickname mapping
func GetContractType ¶ added in v0.5.0
func GetContractType(strContractType string) util.ContractType
func GetLocalWalletInfo ¶ added in v0.6.0
func GetLocalWalletInfo(valueFromFromFlag string, kb keys.Keybase, cdc *codec.Codec, cliCtx context.CLIContext) (keys.Info, error)
GetLocalWalletInfo takes wallet info from local Rules:
- If --from exists, search according to: (1) Local wallet alias (2) Address (3) Nickname
- If --from doesn't exist, (1) If only one wallet exists, take this (2) If not, raise error
func ReplaceBase64HashToBech32 ¶ added in v0.9.0
ReplaceBase64HashToBech32 for replace hashes for empty path query
Types ¶
Click to show internal directories.
Click to hide internal directories.