Documentation ¶
Index ¶
- Variables
- type Incrementer
- type IncrementerCaller
- type IncrementerCallerRaw
- type IncrementerCallerSession
- type IncrementerFilterer
- type IncrementerRaw
- func (_Incrementer *IncrementerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Incrementer *IncrementerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Incrementer *IncrementerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IncrementerSession
- type IncrementerTransactor
- type IncrementerTransactorRaw
- type IncrementerTransactorSession
Constants ¶
This section is empty.
Variables ¶
var IncrementerABI = IncrementerMetaData.ABI
IncrementerABI is the input ABI used to generate the binding from. Deprecated: Use IncrementerMetaData.ABI instead.
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.
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.
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()