Documentation ¶
Index ¶
- Variables
- type WETH9
- type WETH9Approval
- type WETH9ApprovalIterator
- type WETH9Caller
- func (_WETH9 *WETH9Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WETH9 *WETH9Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_WETH9 *WETH9Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WETH9 *WETH9Caller) Name(opts *bind.CallOpts) (string, error)
- func (_WETH9 *WETH9Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WETH9 *WETH9Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type WETH9CallerRaw
- type WETH9CallerSession
- func (_WETH9 *WETH9CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WETH9 *WETH9CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_WETH9 *WETH9CallerSession) Decimals() (uint8, error)
- func (_WETH9 *WETH9CallerSession) Name() (string, error)
- func (_WETH9 *WETH9CallerSession) Symbol() (string, error)
- func (_WETH9 *WETH9CallerSession) TotalSupply() (*big.Int, error)
- type WETH9Deposit
- type WETH9DepositIterator
- type WETH9Filterer
- func (_WETH9 *WETH9Filterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*WETH9ApprovalIterator, error)
- func (_WETH9 *WETH9Filterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*WETH9DepositIterator, error)
- func (_WETH9 *WETH9Filterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*WETH9TransferIterator, error)
- func (_WETH9 *WETH9Filterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*WETH9WithdrawalIterator, error)
- func (_WETH9 *WETH9Filterer) ParseApproval(log types.Log) (*WETH9Approval, error)
- func (_WETH9 *WETH9Filterer) ParseDeposit(log types.Log) (*WETH9Deposit, error)
- func (_WETH9 *WETH9Filterer) ParseTransfer(log types.Log) (*WETH9Transfer, error)
- func (_WETH9 *WETH9Filterer) ParseWithdrawal(log types.Log) (*WETH9Withdrawal, error)
- func (_WETH9 *WETH9Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WETH9Approval, src []common.Address, ...) (event.Subscription, error)
- func (_WETH9 *WETH9Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WETH9Deposit, dst []common.Address) (event.Subscription, error)
- func (_WETH9 *WETH9Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WETH9Transfer, src []common.Address, ...) (event.Subscription, error)
- func (_WETH9 *WETH9Filterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WETH9Withdrawal, src []common.Address) (event.Subscription, error)
- type WETH9Interface
- type WETH9Raw
- func (_WETH9 *WETH9Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WETH9 *WETH9Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WETH9 *WETH9Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WETH9Session
- func (_WETH9 *WETH9Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_WETH9 *WETH9Session) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Session) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_WETH9 *WETH9Session) Decimals() (uint8, error)
- func (_WETH9 *WETH9Session) Deposit() (*types.Transaction, error)
- func (_WETH9 *WETH9Session) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Session) Name() (string, error)
- func (_WETH9 *WETH9Session) Receive() (*types.Transaction, error)
- func (_WETH9 *WETH9Session) Symbol() (string, error)
- func (_WETH9 *WETH9Session) TotalSupply() (*big.Int, error)
- func (_WETH9 *WETH9Session) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Session) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Session) Withdraw(wad *big.Int) (*types.Transaction, error)
- type WETH9Transactor
- func (_WETH9 *WETH9Transactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Transactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WETH9 *WETH9Transactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WETH9 *WETH9Transactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Transactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9Transactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
- type WETH9TransactorRaw
- type WETH9TransactorSession
- func (_WETH9 *WETH9TransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9TransactorSession) Deposit() (*types.Transaction, error)
- func (_WETH9 *WETH9TransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9TransactorSession) Receive() (*types.Transaction, error)
- func (_WETH9 *WETH9TransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9TransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_WETH9 *WETH9TransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)
- type WETH9Transfer
- type WETH9TransferIterator
- type WETH9Withdrawal
- type WETH9WithdrawalIterator
Constants ¶
This section is empty.
Variables ¶
View Source
var WETH9ABI = WETH9MetaData.ABI
View Source
var WETH9Bin = WETH9MetaData.Bin
View Source
var WETH9MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"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\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"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\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"guy\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"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\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x60c0604052600d60809081526c2bb930b83832b21022ba3432b960991b60a05260009061002c9082610114565b506040805180820190915260048152630ae8aa8960e31b60208201526001906100559082610114565b506002805460ff1916601217905534801561006f57600080fd5b506101d3565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061009f57607f821691505b6020821081036100bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561010f57600081815260208120601f850160051c810160208610156100ec5750805b601f850160051c820191505b8181101561010b578281556001016100f8565b5050505b505050565b81516001600160401b0381111561012d5761012d610075565b6101418161013b845461008b565b846100c5565b602080601f831160018114610176576000841561015e5750858301515b600019600386901b1c1916600185901b17855561010b565b600085815260208120601f198616915b828110156101a557888601518255948401946001909101908401610186565b50858210156101c35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61099c80620001e36000396000f3fe6080604052600436106100cb5760003560e01c806340c10f1911610074578063a9059cbb1161004e578063a9059cbb14610225578063d0e30db014610245578063dd62ed3e1461024d57600080fd5b806340c10f19146101c357806370a08231146101e357806395d89b411461021057600080fd5b806323b872dd116100a557806323b872dd146101575780632e1a7d4d14610177578063313ce5671461019757600080fd5b806306fdde03146100df578063095ea7b31461010a57806318160ddd1461013a57600080fd5b366100da576100d8610285565b005b600080fd5b3480156100eb57600080fd5b506100f46102e0565b6040516101019190610785565b60405180910390f35b34801561011657600080fd5b5061012a61012536600461081a565b61036e565b6040519015158152602001610101565b34801561014657600080fd5b50475b604051908152602001610101565b34801561016357600080fd5b5061012a610172366004610844565b6103e8565b34801561018357600080fd5b506100d8610192366004610880565b610649565b3480156101a357600080fd5b506002546101b19060ff1681565b60405160ff9091168152602001610101565b3480156101cf57600080fd5b506100d86101de36600461081a565b61071c565b3480156101ef57600080fd5b506101496101fe366004610899565b60036020526000908152604090205481565b34801561021c57600080fd5b506100f461075a565b34801561023157600080fd5b5061012a61024036600461081a565b610767565b6100d861077b565b34801561025957600080fd5b506101496102683660046108b4565b600460209081526000928352604080842090915290825290205481565b33600090815260036020526040812080543492906102a4908490610916565b909155505060405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b600080546102ed90610929565b80601f016020809104026020016040519081016040528092919081815260200182805461031990610929565b80156103665780601f1061033b57610100808354040283529160200191610366565b820191906000526020600020905b81548152906001019060200180831161034957829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103d69086815260200190565b60405180910390a35060015b92915050565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812054821115610447576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff841633148015906104ad575073ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091529020546fffffffffffffffffffffffffffffffff14155b156105625773ffffffffffffffffffffffffffffffffffffffff8416600090815260046020908152604080832033845290915290205482111561051c576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff841660009081526004602090815260408083203384529091528120805484929061055c90849061097c565b90915550505b73ffffffffffffffffffffffffffffffffffffffff84166000908152600360205260408120805484929061059790849061097c565b909155505073ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080548492906105d1908490610916565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161063791815260200190565b60405180910390a35060019392505050565b33600090815260036020526040902054811115610692576040517ff4d678b800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600090815260036020526040812080548392906106b190849061097c565b9091555050604051339082156108fc029083906000818181858888f193505050501580156106e3573d6000803e3d6000fd5b5060405181815233907f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b659060200160405180910390a250565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054839290610751908490610916565b90915550505050565b600180546102ed90610929565b60006107743384846103e8565b9392505050565b610783610285565b565b600060208083528351808285015260005b818110156107b257858101830151858201604001528201610796565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461081557600080fd5b919050565b6000806040838503121561082d57600080fd5b610836836107f1565b946020939093013593505050565b60008060006060848603121561085957600080fd5b610862846107f1565b9250610870602085016107f1565b9150604084013590509250925092565b60006020828403121561089257600080fd5b5035919050565b6000602082840312156108ab57600080fd5b610774826107f1565b600080604083850312156108c757600080fd5b6108d0836107f1565b91506108de602084016107f1565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156103e2576103e26108e7565b600181811c9082168061093d57607f821691505b602082108103610976577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b818103818111156103e2576103e26108e756fea164736f6c6343000813000a",
}
Functions ¶
This section is empty.
Types ¶
type WETH9 ¶
type WETH9 struct { WETH9Caller WETH9Transactor WETH9Filterer // contains filtered or unexported fields }
func DeployWETH9 ¶
func DeployWETH9(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *WETH9, error)
type WETH9Approval ¶
func (WETH9Approval) Topic ¶
func (WETH9Approval) Topic() common.Hash
type WETH9ApprovalIterator ¶
type WETH9ApprovalIterator struct { Event *WETH9Approval // contains filtered or unexported fields }
func (*WETH9ApprovalIterator) Close ¶
func (it *WETH9ApprovalIterator) Close() error
func (*WETH9ApprovalIterator) Error ¶
func (it *WETH9ApprovalIterator) Error() error
func (*WETH9ApprovalIterator) Next ¶
func (it *WETH9ApprovalIterator) Next() bool
type WETH9Caller ¶
type WETH9Caller struct {
// contains filtered or unexported fields
}
func NewWETH9Caller ¶
func NewWETH9Caller(address common.Address, caller bind.ContractCaller) (*WETH9Caller, error)
func (*WETH9Caller) Decimals ¶
func (_WETH9 *WETH9Caller) Decimals(opts *bind.CallOpts) (uint8, error)
func (*WETH9Caller) TotalSupply ¶
type WETH9CallerRaw ¶
type WETH9CallerRaw struct {
Contract *WETH9Caller
}
type WETH9CallerSession ¶
type WETH9CallerSession struct { Contract *WETH9Caller CallOpts bind.CallOpts }
func (*WETH9CallerSession) Decimals ¶
func (_WETH9 *WETH9CallerSession) Decimals() (uint8, error)
func (*WETH9CallerSession) Name ¶
func (_WETH9 *WETH9CallerSession) Name() (string, error)
func (*WETH9CallerSession) Symbol ¶
func (_WETH9 *WETH9CallerSession) Symbol() (string, error)
func (*WETH9CallerSession) TotalSupply ¶
func (_WETH9 *WETH9CallerSession) TotalSupply() (*big.Int, error)
type WETH9Deposit ¶
func (WETH9Deposit) Topic ¶
func (WETH9Deposit) Topic() common.Hash
type WETH9DepositIterator ¶
type WETH9DepositIterator struct { Event *WETH9Deposit // contains filtered or unexported fields }
func (*WETH9DepositIterator) Close ¶
func (it *WETH9DepositIterator) Close() error
func (*WETH9DepositIterator) Error ¶
func (it *WETH9DepositIterator) Error() error
func (*WETH9DepositIterator) Next ¶
func (it *WETH9DepositIterator) Next() bool
type WETH9Filterer ¶
type WETH9Filterer struct {
// contains filtered or unexported fields
}
func NewWETH9Filterer ¶
func NewWETH9Filterer(address common.Address, filterer bind.ContractFilterer) (*WETH9Filterer, error)
func (*WETH9Filterer) FilterApproval ¶
func (_WETH9 *WETH9Filterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*WETH9ApprovalIterator, error)
func (*WETH9Filterer) FilterDeposit ¶
func (_WETH9 *WETH9Filterer) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*WETH9DepositIterator, error)
func (*WETH9Filterer) FilterTransfer ¶
func (_WETH9 *WETH9Filterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*WETH9TransferIterator, error)
func (*WETH9Filterer) FilterWithdrawal ¶
func (_WETH9 *WETH9Filterer) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*WETH9WithdrawalIterator, error)
func (*WETH9Filterer) ParseApproval ¶
func (_WETH9 *WETH9Filterer) ParseApproval(log types.Log) (*WETH9Approval, error)
func (*WETH9Filterer) ParseDeposit ¶
func (_WETH9 *WETH9Filterer) ParseDeposit(log types.Log) (*WETH9Deposit, error)
func (*WETH9Filterer) ParseTransfer ¶
func (_WETH9 *WETH9Filterer) ParseTransfer(log types.Log) (*WETH9Transfer, error)
func (*WETH9Filterer) ParseWithdrawal ¶
func (_WETH9 *WETH9Filterer) ParseWithdrawal(log types.Log) (*WETH9Withdrawal, error)
func (*WETH9Filterer) WatchApproval ¶
func (_WETH9 *WETH9Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WETH9Approval, src []common.Address, guy []common.Address) (event.Subscription, error)
func (*WETH9Filterer) WatchDeposit ¶
func (_WETH9 *WETH9Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WETH9Deposit, dst []common.Address) (event.Subscription, error)
func (*WETH9Filterer) WatchTransfer ¶
func (_WETH9 *WETH9Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WETH9Transfer, src []common.Address, dst []common.Address) (event.Subscription, error)
func (*WETH9Filterer) WatchWithdrawal ¶
func (_WETH9 *WETH9Filterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WETH9Withdrawal, src []common.Address) (event.Subscription, error)
type WETH9Interface ¶
type WETH9Interface interface { Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error) Decimals(opts *bind.CallOpts) (uint8, error) Name(opts *bind.CallOpts) (string, error) Symbol(opts *bind.CallOpts) (string, error) TotalSupply(opts *bind.CallOpts) (*big.Int, error) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error) Deposit(opts *bind.TransactOpts) (*types.Transaction, error) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error) Receive(opts *bind.TransactOpts) (*types.Transaction, error) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*WETH9ApprovalIterator, error) WatchApproval(opts *bind.WatchOpts, sink chan<- *WETH9Approval, src []common.Address, guy []common.Address) (event.Subscription, error) ParseApproval(log types.Log) (*WETH9Approval, error) FilterDeposit(opts *bind.FilterOpts, dst []common.Address) (*WETH9DepositIterator, error) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WETH9Deposit, dst []common.Address) (event.Subscription, error) ParseDeposit(log types.Log) (*WETH9Deposit, error) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*WETH9TransferIterator, error) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WETH9Transfer, src []common.Address, dst []common.Address) (event.Subscription, error) ParseTransfer(log types.Log) (*WETH9Transfer, error) FilterWithdrawal(opts *bind.FilterOpts, src []common.Address) (*WETH9WithdrawalIterator, error) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *WETH9Withdrawal, src []common.Address) (event.Subscription, error) ParseWithdrawal(log types.Log) (*WETH9Withdrawal, error) ParseLog(log types.Log) (generated.AbigenLog, error) Address() common.Address }
type WETH9Raw ¶
type WETH9Raw struct {
Contract *WETH9
}
func (*WETH9Raw) Transact ¶
func (_WETH9 *WETH9Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*WETH9Raw) Transfer ¶
func (_WETH9 *WETH9Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type WETH9Session ¶
type WETH9Session struct { Contract *WETH9 CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*WETH9Session) Approve ¶
func (_WETH9 *WETH9Session) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9Session) Decimals ¶
func (_WETH9 *WETH9Session) Decimals() (uint8, error)
func (*WETH9Session) Deposit ¶
func (_WETH9 *WETH9Session) Deposit() (*types.Transaction, error)
func (*WETH9Session) Mint ¶
func (_WETH9 *WETH9Session) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
func (*WETH9Session) Name ¶
func (_WETH9 *WETH9Session) Name() (string, error)
func (*WETH9Session) Receive ¶
func (_WETH9 *WETH9Session) Receive() (*types.Transaction, error)
func (*WETH9Session) Symbol ¶
func (_WETH9 *WETH9Session) Symbol() (string, error)
func (*WETH9Session) TotalSupply ¶
func (_WETH9 *WETH9Session) TotalSupply() (*big.Int, error)
func (*WETH9Session) Transfer ¶
func (_WETH9 *WETH9Session) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9Session) TransferFrom ¶
func (_WETH9 *WETH9Session) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9Session) Withdraw ¶
func (_WETH9 *WETH9Session) Withdraw(wad *big.Int) (*types.Transaction, error)
type WETH9Transactor ¶
type WETH9Transactor struct {
// contains filtered or unexported fields
}
func NewWETH9Transactor ¶
func NewWETH9Transactor(address common.Address, transactor bind.ContractTransactor) (*WETH9Transactor, error)
func (*WETH9Transactor) Approve ¶
func (_WETH9 *WETH9Transactor) Approve(opts *bind.TransactOpts, guy common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9Transactor) Deposit ¶
func (_WETH9 *WETH9Transactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
func (*WETH9Transactor) Mint ¶
func (_WETH9 *WETH9Transactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
func (*WETH9Transactor) Receive ¶
func (_WETH9 *WETH9Transactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
func (*WETH9Transactor) Transfer ¶
func (_WETH9 *WETH9Transactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9Transactor) TransferFrom ¶
func (_WETH9 *WETH9Transactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9Transactor) Withdraw ¶
func (_WETH9 *WETH9Transactor) Withdraw(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)
type WETH9TransactorRaw ¶
type WETH9TransactorRaw struct {
Contract *WETH9Transactor
}
func (*WETH9TransactorRaw) Transact ¶
func (_WETH9 *WETH9TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*WETH9TransactorRaw) Transfer ¶
func (_WETH9 *WETH9TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type WETH9TransactorSession ¶
type WETH9TransactorSession struct { Contract *WETH9Transactor TransactOpts bind.TransactOpts }
func (*WETH9TransactorSession) Approve ¶
func (_WETH9 *WETH9TransactorSession) Approve(guy common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9TransactorSession) Deposit ¶
func (_WETH9 *WETH9TransactorSession) Deposit() (*types.Transaction, error)
func (*WETH9TransactorSession) Mint ¶
func (_WETH9 *WETH9TransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
func (*WETH9TransactorSession) Receive ¶
func (_WETH9 *WETH9TransactorSession) Receive() (*types.Transaction, error)
func (*WETH9TransactorSession) Transfer ¶
func (_WETH9 *WETH9TransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9TransactorSession) TransferFrom ¶
func (_WETH9 *WETH9TransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
func (*WETH9TransactorSession) Withdraw ¶
func (_WETH9 *WETH9TransactorSession) Withdraw(wad *big.Int) (*types.Transaction, error)
type WETH9Transfer ¶
func (WETH9Transfer) Topic ¶
func (WETH9Transfer) Topic() common.Hash
type WETH9TransferIterator ¶
type WETH9TransferIterator struct { Event *WETH9Transfer // contains filtered or unexported fields }
func (*WETH9TransferIterator) Close ¶
func (it *WETH9TransferIterator) Close() error
func (*WETH9TransferIterator) Error ¶
func (it *WETH9TransferIterator) Error() error
func (*WETH9TransferIterator) Next ¶
func (it *WETH9TransferIterator) Next() bool
type WETH9Withdrawal ¶
func (WETH9Withdrawal) Topic ¶
func (WETH9Withdrawal) Topic() common.Hash
type WETH9WithdrawalIterator ¶
type WETH9WithdrawalIterator struct { Event *WETH9Withdrawal // contains filtered or unexported fields }
func (*WETH9WithdrawalIterator) Close ¶
func (it *WETH9WithdrawalIterator) Close() error
func (*WETH9WithdrawalIterator) Error ¶
func (it *WETH9WithdrawalIterator) Error() error
func (*WETH9WithdrawalIterator) Next ¶
func (it *WETH9WithdrawalIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.