geth

package
v0.0.0-...-5288846 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ReverterABI = "" /* 146-byte string literal not displayed */

ReverterABI is the input ABI used to generate the binding from.

Variables

View Source
var ReverterBin = "" /* 404-byte string literal not displayed */

ReverterBin is the compiled bytecode used for deploying new contracts.

View Source
var ReverterFuncSigs = map[string]string{
	"7da3c3ab": "revert()",
}

ReverterFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type Reverter

type Reverter struct {
	ReverterCaller     // Read-only binding to the contract
	ReverterTransactor // Write-only binding to the contract
	ReverterFilterer   // Log filterer for contract events
}

Reverter is an auto generated Go binding around an Ethereum contract.

func DeployReverter

func DeployReverter(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Reverter, error)

DeployReverter deploys a new Ethereum contract, binding an instance of Reverter to it.

func NewReverter

func NewReverter(address common.Address, backend bind.ContractBackend) (*Reverter, error)

NewReverter creates a new instance of Reverter, bound to a specific deployed contract.

type ReverterCaller

type ReverterCaller struct {
	// contains filtered or unexported fields
}

ReverterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewReverterCaller

func NewReverterCaller(address common.Address, caller bind.ContractCaller) (*ReverterCaller, error)

NewReverterCaller creates a new read-only instance of Reverter, bound to a specific deployed contract.

type ReverterCallerRaw

type ReverterCallerRaw struct {
	Contract *ReverterCaller // Generic read-only contract binding to access the raw methods on
}

ReverterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ReverterCallerRaw) Call

func (_Reverter *ReverterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ReverterCallerSession

type ReverterCallerSession struct {
	Contract *ReverterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

ReverterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type ReverterFilterer

type ReverterFilterer struct {
	// contains filtered or unexported fields
}

ReverterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewReverterFilterer

func NewReverterFilterer(address common.Address, filterer bind.ContractFilterer) (*ReverterFilterer, error)

NewReverterFilterer creates a new log filterer instance of Reverter, bound to a specific deployed contract.

type ReverterRaw

type ReverterRaw struct {
	Contract *Reverter // Generic contract binding to access the raw methods on
}

ReverterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ReverterRaw) Call

func (_Reverter *ReverterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ReverterRaw) Transact

func (_Reverter *ReverterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ReverterRaw) Transfer

func (_Reverter *ReverterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ReverterSession

type ReverterSession struct {
	Contract     *Reverter         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ReverterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ReverterSession) Revert

func (_Reverter *ReverterSession) Revert() (*types.Transaction, error)

Revert is a paid mutator transaction binding the contract method 0x7da3c3ab.

Solidity: function revert() returns()

type ReverterTransactor

type ReverterTransactor struct {
	// contains filtered or unexported fields
}

ReverterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewReverterTransactor

func NewReverterTransactor(address common.Address, transactor bind.ContractTransactor) (*ReverterTransactor, error)

NewReverterTransactor creates a new write-only instance of Reverter, bound to a specific deployed contract.

func (*ReverterTransactor) Revert

func (_Reverter *ReverterTransactor) Revert(opts *bind.TransactOpts) (*types.Transaction, error)

Revert is a paid mutator transaction binding the contract method 0x7da3c3ab.

Solidity: function revert() returns()

type ReverterTransactorRaw

type ReverterTransactorRaw struct {
	Contract *ReverterTransactor // Generic write-only contract binding to access the raw methods on
}

ReverterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ReverterTransactorRaw) Transact

func (_Reverter *ReverterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ReverterTransactorRaw) Transfer

func (_Reverter *ReverterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ReverterTransactorSession

type ReverterTransactorSession struct {
	Contract     *ReverterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

ReverterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ReverterTransactorSession) Revert

func (_Reverter *ReverterTransactorSession) Revert() (*types.Transaction, error)

Revert is a paid mutator transaction binding the contract method 0x7da3c3ab.

Solidity: function revert() returns()

Jump to

Keyboard shortcuts

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