Documentation ¶
Index ¶
- Variables
- type Iweth
- type IwethCaller
- type IwethCallerRaw
- type IwethCallerSession
- type IwethFilterer
- type IwethRaw
- func (_Iweth *IwethRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Iweth *IwethRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Iweth *IwethRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IwethSession
- type IwethTransactor
- type IwethTransactorRaw
- type IwethTransactorSession
Constants ¶
This section is empty.
Variables ¶
var IwethABI = IwethMetaData.ABI
IwethABI is the input ABI used to generate the binding from. Deprecated: Use IwethMetaData.ABI instead.
var IwethMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IwethMetaData contains all meta data concerning the Iweth contract.
Functions ¶
This section is empty.
Types ¶
type Iweth ¶
type Iweth struct { IwethCaller // Read-only binding to the contract IwethTransactor // Write-only binding to the contract IwethFilterer // Log filterer for contract events }
Iweth is an auto generated Go binding around an Ethereum contract.
type IwethCaller ¶
type IwethCaller struct {
// contains filtered or unexported fields
}
IwethCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIwethCaller ¶
func NewIwethCaller(address common.Address, caller bind.ContractCaller) (*IwethCaller, error)
NewIwethCaller creates a new read-only instance of Iweth, bound to a specific deployed contract.
type IwethCallerRaw ¶
type IwethCallerRaw struct {
Contract *IwethCaller // Generic read-only contract binding to access the raw methods on
}
IwethCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IwethCallerRaw) Call ¶
func (_Iweth *IwethCallerRaw) 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 IwethCallerSession ¶
type IwethCallerSession struct { Contract *IwethCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IwethCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IwethFilterer ¶
type IwethFilterer struct {
// contains filtered or unexported fields
}
IwethFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIwethFilterer ¶
func NewIwethFilterer(address common.Address, filterer bind.ContractFilterer) (*IwethFilterer, error)
NewIwethFilterer creates a new log filterer instance of Iweth, bound to a specific deployed contract.
type IwethRaw ¶
type IwethRaw struct {
Contract *Iweth // Generic contract binding to access the raw methods on
}
IwethRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IwethRaw) Call ¶
func (_Iweth *IwethRaw) 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 (*IwethRaw) Transact ¶
func (_Iweth *IwethRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IwethRaw) Transfer ¶
func (_Iweth *IwethRaw) 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 IwethSession ¶
type IwethSession struct { Contract *Iweth // 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 }
IwethSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IwethSession) Deposit ¶
func (_Iweth *IwethSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*IwethSession) Withdraw ¶
func (_Iweth *IwethSession) Withdraw(arg0 *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 ) returns()
type IwethTransactor ¶
type IwethTransactor struct {
// contains filtered or unexported fields
}
IwethTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIwethTransactor ¶
func NewIwethTransactor(address common.Address, transactor bind.ContractTransactor) (*IwethTransactor, error)
NewIwethTransactor creates a new write-only instance of Iweth, bound to a specific deployed contract.
func (*IwethTransactor) Deposit ¶
func (_Iweth *IwethTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*IwethTransactor) Withdraw ¶
func (_Iweth *IwethTransactor) Withdraw(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 ) returns()
type IwethTransactorRaw ¶
type IwethTransactorRaw struct {
Contract *IwethTransactor // Generic write-only contract binding to access the raw methods on
}
IwethTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IwethTransactorRaw) Transact ¶
func (_Iweth *IwethTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IwethTransactorRaw) Transfer ¶
func (_Iweth *IwethTransactorRaw) 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 IwethTransactorSession ¶
type IwethTransactorSession struct { Contract *IwethTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IwethTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IwethTransactorSession) Deposit ¶
func (_Iweth *IwethTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*IwethTransactorSession) Withdraw ¶
func (_Iweth *IwethTransactorSession) Withdraw(arg0 *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 ) returns()