precompilebind

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: GPL-3.0, LGPL-3.0 Imports: 6 Imported by: 1

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, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

(c) 2019-2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

(c) 2019-2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

(c) 2019-2022, Ava Labs, Inc. All rights reserved. See the file LICENSE for licensing terms.

(c) 2019-2022, Ava Labs, Inc. 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 added in v0.5.1

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.

Jump to

Keyboard shortcuts

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