Documentation ¶
Overview ¶
Package bind generates Ethereum contract Go bindings.
Detailed usage document and tutorial available on the go-ethereum Wiki page: https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts
(c) 2019-2022, Lux Partners Limited. All rights reserved. See the file LICENSE for licensing terms.
(c) 2019-2022, Lux Partners Limited. All rights reserved. See the file LICENSE for licensing terms.
(c) 2019-2022, Lux Partners Limited. All rights reserved. See the file LICENSE for licensing terms.
(c) 2019-2022, Lux Partners Limited. All rights reserved. See the file LICENSE for licensing terms.
(c) 2019-2022, Lux Partners Limited. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindedFiles ¶
type BindedFiles struct { Contract string Config string Module string ConfigTest string ContractTest string }
BindedFiles contains the generated binding file contents. This is used to return the contents in a expandable way.
func PrecompileBind ¶
func PrecompileBind(types []string, abiData string, bytecodes []string, fsigs []map[string]string, pkg string, lang bind.Lang, libs map[string]string, aliases map[string]string, abifilename string, generateTests bool) (BindedFiles, error)
PrecompileBind generates a Go binding for a precompiled contract. It returns config binding and contract binding.