utils

package
v2.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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