Documentation ¶
Index ¶
- Variables
- type IWETH9
- type IWETH9Approval
- type IWETH9ApprovalIterator
- type IWETH9Caller
- func (_IWETH9 *IWETH9Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IWETH9 *IWETH9Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_IWETH9 *IWETH9Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IWETH9CallerRaw
- type IWETH9CallerSession
- type IWETH9Deposit
- type IWETH9DepositIterator
- type IWETH9Filterer
- func (_IWETH9 *IWETH9Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IWETH9ApprovalIterator, error)
- func (_IWETH9 *IWETH9Filterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*IWETH9DepositIterator, error)
- func (_IWETH9 *IWETH9Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IWETH9TransferIterator, error)
- func (_IWETH9 *IWETH9Filterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*IWETH9WithdrawalIterator, error)
- func (_IWETH9 *IWETH9Filterer) ParseApproval(log types.Log) (*IWETH9Approval, error)
- func (_IWETH9 *IWETH9Filterer) ParseDeposit(log types.Log) (*IWETH9Deposit, error)
- func (_IWETH9 *IWETH9Filterer) ParseTransfer(log types.Log) (*IWETH9Transfer, error)
- func (_IWETH9 *IWETH9Filterer) ParseWithdrawal(log types.Log) (*IWETH9Withdrawal, error)
- func (_IWETH9 *IWETH9Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IWETH9Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IWETH9 *IWETH9Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *IWETH9Deposit, dst []common.Address) (event.Subscription, error)
- func (_IWETH9 *IWETH9Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IWETH9Transfer, from []common.Address, ...) (event.Subscription, error)
- func (_IWETH9 *IWETH9Filterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *IWETH9Withdrawal, src []common.Address) (event.Subscription, error)
- type IWETH9Raw
- func (_IWETH9 *IWETH9Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IWETH9 *IWETH9Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IWETH9Session
- func (_IWETH9 *IWETH9Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IWETH9 *IWETH9Session) Approve(spender common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Session) BalanceOf(owner common.Address) (*big.Int, error)
- func (_IWETH9 *IWETH9Session) Deposit() (*types.Transaction, error)
- func (_IWETH9 *IWETH9Session) TotalSupply() (*big.Int, error)
- func (_IWETH9 *IWETH9Session) Transfer(to common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Session) TransferFrom(from common.Address, to common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Session) Withdraw(wad *big.Int) (*types.Transaction, error)
- type IWETH9Transactor
- func (_IWETH9 *IWETH9Transactor) Approve(opts *bind.TransactOpts, spender common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Transactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Transactor) Transfer(opts *bind.TransactOpts, to common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9Transactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
- type IWETH9TransactorRaw
- type IWETH9TransactorSession
- func (_IWETH9 *IWETH9TransactorSession) Approve(spender common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9TransactorSession) Deposit() (*types.Transaction, error)
- func (_IWETH9 *IWETH9TransactorSession) Transfer(to common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9TransactorSession) TransferFrom(from common.Address, to common.Address, wad *big.Int) (*types.Transaction, error)
- func (_IWETH9 *IWETH9TransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)
- type IWETH9Transfer
- type IWETH9TransferIterator
- type IWETH9Withdrawal
- type IWETH9WithdrawalIterator
Constants ¶
This section is empty.
Variables ¶
var IWETH9ABI = IWETH9MetaData.ABI
IWETH9ABI is the input ABI used to generate the binding from. Deprecated: Use IWETH9MetaData.ABI instead.
var IWETH9MetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IWETH9MetaData contains all meta data concerning the IWETH9 contract.
Functions ¶
This section is empty.
Types ¶
type IWETH9 ¶
type IWETH9 struct { IWETH9Caller // Read-only binding to the contract IWETH9Transactor // Write-only binding to the contract IWETH9Filterer // Log filterer for contract events }
IWETH9 is an auto generated Go binding around an Ethereum contract.
type IWETH9Approval ¶
type IWETH9Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IWETH9Approval represents a Approval event raised by the IWETH9 contract.
type IWETH9ApprovalIterator ¶
type IWETH9ApprovalIterator struct { Event *IWETH9Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWETH9ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IWETH9 contract.
func (*IWETH9ApprovalIterator) Close ¶
func (it *IWETH9ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWETH9ApprovalIterator) Error ¶
func (it *IWETH9ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWETH9ApprovalIterator) Next ¶
func (it *IWETH9ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IWETH9Caller ¶
type IWETH9Caller struct {
// contains filtered or unexported fields
}
IWETH9Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIWETH9Caller ¶
func NewIWETH9Caller(address common.Address, caller bind.ContractCaller) (*IWETH9Caller, error)
NewIWETH9Caller creates a new read-only instance of IWETH9, bound to a specific deployed contract.
func (*IWETH9Caller) Allowance ¶
func (_IWETH9 *IWETH9Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IWETH9Caller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*IWETH9Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IWETH9CallerRaw ¶
type IWETH9CallerRaw struct {
Contract *IWETH9Caller // Generic read-only contract binding to access the raw methods on
}
IWETH9CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IWETH9CallerRaw) Call ¶
func (_IWETH9 *IWETH9CallerRaw) 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 IWETH9CallerSession ¶
type IWETH9CallerSession struct { Contract *IWETH9Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IWETH9CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IWETH9CallerSession) Allowance ¶
func (_IWETH9 *IWETH9CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IWETH9CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*IWETH9CallerSession) TotalSupply ¶
func (_IWETH9 *IWETH9CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IWETH9Deposit ¶
type IWETH9Deposit struct { Dst common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
IWETH9Deposit represents a Deposit event raised by the IWETH9 contract.
type IWETH9DepositIterator ¶
type IWETH9DepositIterator struct { Event *IWETH9Deposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWETH9DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the IWETH9 contract.
func (*IWETH9DepositIterator) Close ¶
func (it *IWETH9DepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWETH9DepositIterator) Error ¶
func (it *IWETH9DepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWETH9DepositIterator) Next ¶
func (it *IWETH9DepositIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IWETH9Filterer ¶
type IWETH9Filterer struct {
// contains filtered or unexported fields
}
IWETH9Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIWETH9Filterer ¶
func NewIWETH9Filterer(address common.Address, filterer bind.ContractFilterer) (*IWETH9Filterer, error)
NewIWETH9Filterer creates a new log filterer instance of IWETH9, bound to a specific deployed contract.
func (*IWETH9Filterer) FilterApproval ¶
func (_IWETH9 *IWETH9Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IWETH9ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IWETH9Filterer) FilterDeposit ¶
func (_IWETH9 *IWETH9Filterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*IWETH9DepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed dst, uint256 wad)
func (*IWETH9Filterer) FilterTransfer ¶
func (_IWETH9 *IWETH9Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IWETH9TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IWETH9Filterer) FilterWithdrawal ¶
func (_IWETH9 *IWETH9Filterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*IWETH9WithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed src, uint256 wad)
func (*IWETH9Filterer) ParseApproval ¶
func (_IWETH9 *IWETH9Filterer) ParseApproval(log types.Log) (*IWETH9Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IWETH9Filterer) ParseDeposit ¶
func (_IWETH9 *IWETH9Filterer) ParseDeposit(log types.Log) (*IWETH9Deposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed dst, uint256 wad)
func (*IWETH9Filterer) ParseTransfer ¶
func (_IWETH9 *IWETH9Filterer) ParseTransfer(log types.Log) (*IWETH9Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IWETH9Filterer) ParseWithdrawal ¶
func (_IWETH9 *IWETH9Filterer) ParseWithdrawal(log types.Log) (*IWETH9Withdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed src, uint256 wad)
func (*IWETH9Filterer) WatchApproval ¶
func (_IWETH9 *IWETH9Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IWETH9Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IWETH9Filterer) WatchDeposit ¶
func (_IWETH9 *IWETH9Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *IWETH9Deposit, dst []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed dst, uint256 wad)
func (*IWETH9Filterer) WatchTransfer ¶
func (_IWETH9 *IWETH9Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IWETH9Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IWETH9Filterer) WatchWithdrawal ¶
func (_IWETH9 *IWETH9Filterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *IWETH9Withdrawal, src []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65.
Solidity: event Withdrawal(address indexed src, uint256 wad)
type IWETH9Raw ¶
type IWETH9Raw struct {
Contract *IWETH9 // Generic contract binding to access the raw methods on
}
IWETH9Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IWETH9Raw) Call ¶
func (_IWETH9 *IWETH9Raw) 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 (*IWETH9Raw) Transact ¶
func (_IWETH9 *IWETH9Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IWETH9Raw) Transfer ¶
func (_IWETH9 *IWETH9Raw) 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 IWETH9Session ¶
type IWETH9Session struct { Contract *IWETH9 // 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 }
IWETH9Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IWETH9Session) Allowance ¶
func (_IWETH9 *IWETH9Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IWETH9Session) Approve ¶
func (_IWETH9 *IWETH9Session) Approve(spender common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 wad) returns(bool)
func (*IWETH9Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*IWETH9Session) Deposit ¶
func (_IWETH9 *IWETH9Session) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*IWETH9Session) TotalSupply ¶
func (_IWETH9 *IWETH9Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IWETH9Session) Transfer ¶
func (_IWETH9 *IWETH9Session) Transfer(to common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 wad) returns(bool)
func (*IWETH9Session) TransferFrom ¶
func (_IWETH9 *IWETH9Session) TransferFrom(from common.Address, to common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 wad) returns(bool)
func (*IWETH9Session) Withdraw ¶
func (_IWETH9 *IWETH9Session) Withdraw(wad *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 wad) returns()
type IWETH9Transactor ¶
type IWETH9Transactor struct {
// contains filtered or unexported fields
}
IWETH9Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIWETH9Transactor ¶
func NewIWETH9Transactor(address common.Address, transactor bind.ContractTransactor) (*IWETH9Transactor, error)
NewIWETH9Transactor creates a new write-only instance of IWETH9, bound to a specific deployed contract.
func (*IWETH9Transactor) Approve ¶
func (_IWETH9 *IWETH9Transactor) Approve(opts *bind.TransactOpts, spender common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 wad) returns(bool)
func (*IWETH9Transactor) Deposit ¶
func (_IWETH9 *IWETH9Transactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*IWETH9Transactor) Transfer ¶
func (_IWETH9 *IWETH9Transactor) Transfer(opts *bind.TransactOpts, to common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 wad) returns(bool)
func (*IWETH9Transactor) TransferFrom ¶
func (_IWETH9 *IWETH9Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 wad) returns(bool)
func (*IWETH9Transactor) Withdraw ¶
func (_IWETH9 *IWETH9Transactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 wad) returns()
type IWETH9TransactorRaw ¶
type IWETH9TransactorRaw struct {
Contract *IWETH9Transactor // Generic write-only contract binding to access the raw methods on
}
IWETH9TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IWETH9TransactorRaw) Transact ¶
func (_IWETH9 *IWETH9TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IWETH9TransactorRaw) Transfer ¶
func (_IWETH9 *IWETH9TransactorRaw) 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 IWETH9TransactorSession ¶
type IWETH9TransactorSession struct { Contract *IWETH9Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IWETH9TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IWETH9TransactorSession) Approve ¶
func (_IWETH9 *IWETH9TransactorSession) Approve(spender common.Address, wad *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 wad) returns(bool)
func (*IWETH9TransactorSession) Deposit ¶
func (_IWETH9 *IWETH9TransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*IWETH9TransactorSession) Transfer ¶
func (_IWETH9 *IWETH9TransactorSession) Transfer(to common.Address, wad *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 wad) returns(bool)
func (*IWETH9TransactorSession) TransferFrom ¶
func (_IWETH9 *IWETH9TransactorSession) TransferFrom(from common.Address, to common.Address, wad *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 wad) returns(bool)
func (*IWETH9TransactorSession) Withdraw ¶
func (_IWETH9 *IWETH9TransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 wad) returns()
type IWETH9Transfer ¶
type IWETH9Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IWETH9Transfer represents a Transfer event raised by the IWETH9 contract.
type IWETH9TransferIterator ¶
type IWETH9TransferIterator struct { Event *IWETH9Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWETH9TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IWETH9 contract.
func (*IWETH9TransferIterator) Close ¶
func (it *IWETH9TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWETH9TransferIterator) Error ¶
func (it *IWETH9TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWETH9TransferIterator) Next ¶
func (it *IWETH9TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IWETH9Withdrawal ¶
type IWETH9Withdrawal struct { Src common.Address Wad *big.Int Raw types.Log // Blockchain specific contextual infos }
IWETH9Withdrawal represents a Withdrawal event raised by the IWETH9 contract.
type IWETH9WithdrawalIterator ¶
type IWETH9WithdrawalIterator struct { Event *IWETH9Withdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IWETH9WithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the IWETH9 contract.
func (*IWETH9WithdrawalIterator) Close ¶
func (it *IWETH9WithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IWETH9WithdrawalIterator) Error ¶
func (it *IWETH9WithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IWETH9WithdrawalIterator) Next ¶
func (it *IWETH9WithdrawalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.