utils

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: Apache-2.0 Imports: 6 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 context.CLIContext, address string, account exported.Account) (*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