Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBaseAccount is the error for BaseAccount assertion ErrBaseAccount = errors.New("the account is not a BaseAccount") // ErrEmptyCVMCode is the error when the query of the CVM code is empty ErrEmptyCVMCode = errors.New("the cvm code is empty") // ErrEmptyCVMAbi is the error when the query of the CVM abi is empty ErrEmptyCVMAbi = errors.New("the cvm abi is empty") )
Functions ¶
func QueryCVMAccount ¶
func QueryCVMAccount(cliCtx client.Context, address string, account *authtypes.BaseAccount) (*types.CVMAccount, error)
QueryCVMAccount is to query the cvm contract related info by addresss
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.