utils

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 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