rpcbinding

package
v0.99.7 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(cfg binding.Config) error

Generate writes Go file containing smartcontract bindings to the `cfg.Output`. It doesn't check manifest from Config for validity, incorrect manifest can lead to unexpected results.

func NewConfig

func NewConfig() binding.Config

NewConfig initializes and returns a new config instance.

Types

type ContractTmpl

type ContractTmpl struct {
	binding.ContractTmpl

	SafeMethods []binding.MethodTmpl

	IsNep11D  bool
	IsNep11ND bool
	IsNep17   bool

	HasReader   bool
	HasWriter   bool
	HasIterator bool
}

Jump to

Keyboard shortcuts

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