contract

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 added in v1.10.1

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