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
- func (_IWETH *IWETHTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWETH *IWETHTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IWETH *IWETHTransactor) Withdraw(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)
- 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: "[{\"constant\":false,\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"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) Transfer ¶
func (_IWETH *IWETHSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
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) Transfer ¶
func (_IWETH *IWETHTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
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) Transfer ¶
func (_IWETH *IWETHTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
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()