contract

package
v2.1.0-rc12 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidArg = fmt.Errorf("invalid argument")
)

ErrInvalidArg indicates argument is invalid

Functions

func Compile

func Compile(sourceFiles ...string) (map[string]*compiler.Contract, error)

Compile compiles smart contract from source code

func NewContractCmd

func NewContractCmd(client ioctl.Client) *cobra.Command

NewContractCmd represents the contract command

func NewContractCompileCmd

func NewContractCompileCmd(client ioctl.Client) *cobra.Command

NewContractCompileCmd represents the contract compile command

func NewContractDeployCmd

func NewContractDeployCmd(client ioctl.Client) *cobra.Command

NewContractDeployCmd represents the contract deploy command

func NewContractInvokeCmd

func NewContractInvokeCmd(client ioctl.Client) *cobra.Command

NewContractInvokeCmd represents the contract invoke command

func NewContractPrepareCmd

func NewContractPrepareCmd(client ioctl.Client) *cobra.Command

NewContractPrepareCmd represents the contract prepare command

func NewContractTestBytecodeCmd

func NewContractTestBytecodeCmd(client ioctl.Client) *cobra.Command

NewContractTestBytecodeCmd represents the contract test bytecode command

func NewContractTestFunctionCmd

func NewContractTestFunctionCmd(client ioctl.Client) *cobra.Command

NewContractTestFunctionCmd represents the contract test function cmd

Types

This section is empty.

Jump to

Keyboard shortcuts

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