incrementer

package
v0.0.0-...-e382abe Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IncrementerABI = IncrementerMetaData.ABI

IncrementerABI is the input ABI used to generate the binding from. Deprecated: Use IncrementerMetaData.ABI instead.

View Source
var IncrementerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_incrementer\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"get\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"increment\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IncrementerMetaData contains all meta data concerning the Incrementer contract.

Functions

This section is empty.

Types

type Incrementer

type Incrementer struct {
	IncrementerCaller     // Read-only binding to the contract
	IncrementerTransactor // Write-only binding to the contract
	IncrementerFilterer   // Log filterer for contract events
}

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

func NewIncrementer

func NewIncrementer(address common.Address, backend bind.ContractBackend) (*Incrementer, error)

NewIncrementer creates a new instance of Incrementer, bound to a specific deployed contract.

type IncrementerCaller

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

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

func NewIncrementerCaller

func NewIncrementerCaller(address common.Address, caller bind.ContractCaller) (*IncrementerCaller, error)

NewIncrementerCaller creates a new read-only instance of Incrementer, bound to a specific deployed contract.

func (*IncrementerCaller) Get

func (_Incrementer *IncrementerCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() view returns(uint256)

type IncrementerCallerRaw

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

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

func (*IncrementerCallerRaw) Call

func (_Incrementer *IncrementerCallerRaw) 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 IncrementerCallerSession

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

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

func (*IncrementerCallerSession) Get

func (_Incrementer *IncrementerCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() view returns(uint256)

type IncrementerFilterer

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

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

func NewIncrementerFilterer

func NewIncrementerFilterer(address common.Address, filterer bind.ContractFilterer) (*IncrementerFilterer, error)

NewIncrementerFilterer creates a new log filterer instance of Incrementer, bound to a specific deployed contract.

type IncrementerRaw

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

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

func (*IncrementerRaw) Call

func (_Incrementer *IncrementerRaw) 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 (*IncrementerRaw) Transact

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

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

func (*IncrementerRaw) Transfer

func (_Incrementer *IncrementerRaw) 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 IncrementerSession

type IncrementerSession struct {
	Contract     *Incrementer      // 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
}

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

func (*IncrementerSession) Get

func (_Incrementer *IncrementerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() view returns(uint256)

func (*IncrementerSession) Increment

func (_Incrementer *IncrementerSession) Increment() (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

type IncrementerTransactor

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

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

func NewIncrementerTransactor

func NewIncrementerTransactor(address common.Address, transactor bind.ContractTransactor) (*IncrementerTransactor, error)

NewIncrementerTransactor creates a new write-only instance of Incrementer, bound to a specific deployed contract.

func (*IncrementerTransactor) Increment

func (_Incrementer *IncrementerTransactor) Increment(opts *bind.TransactOpts) (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

type IncrementerTransactorRaw

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

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

func (*IncrementerTransactorRaw) Transact

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

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

func (*IncrementerTransactorRaw) Transfer

func (_Incrementer *IncrementerTransactorRaw) 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 IncrementerTransactorSession

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

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

func (*IncrementerTransactorSession) Increment

func (_Incrementer *IncrementerTransactorSession) Increment() (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

Jump to

Keyboard shortcuts

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