Documentation
¶
Index ¶
- Variables
- type LidowstETH
- type LidowstETHCaller
- func (_LidowstETH *LidowstETHCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_LidowstETH *LidowstETHCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_LidowstETH *LidowstETHCaller) GetStETHByWstETH(opts *bind.CallOpts, _wstETHAmount *big.Int) (*big.Int, error)
- func (_LidowstETH *LidowstETHCaller) GetWstETHByStETH(opts *bind.CallOpts, _stETHAmount *big.Int) (*big.Int, error)
- func (_LidowstETH *LidowstETHCaller) Name(opts *bind.CallOpts) (string, error)
- func (_LidowstETH *LidowstETHCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHCaller) StETH(opts *bind.CallOpts) (common.Address, error)
- func (_LidowstETH *LidowstETHCaller) StEthPerToken(opts *bind.CallOpts) (*big.Int, error)
- func (_LidowstETH *LidowstETHCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_LidowstETH *LidowstETHCaller) TokensPerStEth(opts *bind.CallOpts) (*big.Int, error)
- func (_LidowstETH *LidowstETHCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type LidowstETHCallerRaw
- type LidowstETHCallerSession
- func (_LidowstETH *LidowstETHCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_LidowstETH *LidowstETHCallerSession) Decimals() (uint8, error)
- func (_LidowstETH *LidowstETHCallerSession) GetStETHByWstETH(_wstETHAmount *big.Int) (*big.Int, error)
- func (_LidowstETH *LidowstETHCallerSession) GetWstETHByStETH(_stETHAmount *big.Int) (*big.Int, error)
- func (_LidowstETH *LidowstETHCallerSession) Name() (string, error)
- func (_LidowstETH *LidowstETHCallerSession) Nonces(owner common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHCallerSession) StETH() (common.Address, error)
- func (_LidowstETH *LidowstETHCallerSession) StEthPerToken() (*big.Int, error)
- func (_LidowstETH *LidowstETHCallerSession) Symbol() (string, error)
- func (_LidowstETH *LidowstETHCallerSession) TokensPerStEth() (*big.Int, error)
- func (_LidowstETH *LidowstETHCallerSession) TotalSupply() (*big.Int, error)
- type LidowstETHFilterer
- type LidowstETHRaw
- func (_LidowstETH *LidowstETHRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_LidowstETH *LidowstETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LidowstETHSession
- func (_LidowstETH *LidowstETHSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_LidowstETH *LidowstETHSession) Decimals() (uint8, error)
- func (_LidowstETH *LidowstETHSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHSession) GetStETHByWstETH(_wstETHAmount *big.Int) (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) GetWstETHByStETH(_stETHAmount *big.Int) (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHSession) Name() (string, error)
- func (_LidowstETH *LidowstETHSession) Nonces(owner common.Address) (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHSession) StETH() (common.Address, error)
- func (_LidowstETH *LidowstETHSession) StEthPerToken() (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) Symbol() (string, error)
- func (_LidowstETH *LidowstETHSession) TokensPerStEth() (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) TotalSupply() (*big.Int, error)
- func (_LidowstETH *LidowstETHSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHSession) Unwrap(_wstETHAmount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHSession) Wrap(_stETHAmount *big.Int) (*types.Transaction, error)
- type LidowstETHTransactor
- func (_LidowstETH *LidowstETHTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactor) Unwrap(opts *bind.TransactOpts, _wstETHAmount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactor) Wrap(opts *bind.TransactOpts, _stETHAmount *big.Int) (*types.Transaction, error)
- type LidowstETHTransactorRaw
- type LidowstETHTransactorSession
- func (_LidowstETH *LidowstETHTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactorSession) Unwrap(_wstETHAmount *big.Int) (*types.Transaction, error)
- func (_LidowstETH *LidowstETHTransactorSession) Wrap(_stETHAmount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var LidowstETHABI = LidowstETHMetaData.ABI
LidowstETHABI is the input ABI used to generate the binding from. Deprecated: Use LidowstETHMetaData.ABI instead.
var LidowstETHMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"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\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_wstETHAmount\",\"type\":\"uint256\"}],\"name\":\"getStETHByWstETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_stETHAmount\",\"type\":\"uint256\"}],\"name\":\"getWstETHByStETH\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stEthPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tokensPerStEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_wstETHAmount\",\"type\":\"uint256\"}],\"name\":\"unwrap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_stETHAmount\",\"type\":\"uint256\"}],\"name\":\"wrap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
LidowstETHMetaData contains all meta data concerning the LidowstETH contract.
Functions ¶
This section is empty.
Types ¶
type LidowstETH ¶
type LidowstETH struct { LidowstETHCaller // Read-only binding to the contract LidowstETHTransactor // Write-only binding to the contract LidowstETHFilterer // Log filterer for contract events }
LidowstETH is an auto generated Go binding around an Ethereum contract.
func NewLidowstETH ¶
func NewLidowstETH(address common.Address, backend bind.ContractBackend) (*LidowstETH, error)
NewLidowstETH creates a new instance of LidowstETH, bound to a specific deployed contract.
type LidowstETHCaller ¶
type LidowstETHCaller struct {
// contains filtered or unexported fields
}
LidowstETHCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLidowstETHCaller ¶
func NewLidowstETHCaller(address common.Address, caller bind.ContractCaller) (*LidowstETHCaller, error)
NewLidowstETHCaller creates a new read-only instance of LidowstETH, bound to a specific deployed contract.
func (*LidowstETHCaller) Allowance ¶
func (_LidowstETH *LidowstETHCaller) 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 (*LidowstETHCaller) BalanceOf ¶
func (_LidowstETH *LidowstETHCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*LidowstETHCaller) DOMAINSEPARATOR ¶
func (_LidowstETH *LidowstETHCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*LidowstETHCaller) Decimals ¶
func (_LidowstETH *LidowstETHCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LidowstETHCaller) GetStETHByWstETH ¶
func (_LidowstETH *LidowstETHCaller) GetStETHByWstETH(opts *bind.CallOpts, _wstETHAmount *big.Int) (*big.Int, error)
GetStETHByWstETH is a free data retrieval call binding the contract method 0xbb2952fc.
Solidity: function getStETHByWstETH(uint256 _wstETHAmount) view returns(uint256)
func (*LidowstETHCaller) GetWstETHByStETH ¶
func (_LidowstETH *LidowstETHCaller) GetWstETHByStETH(opts *bind.CallOpts, _stETHAmount *big.Int) (*big.Int, error)
GetWstETHByStETH is a free data retrieval call binding the contract method 0xb0e38900.
Solidity: function getWstETHByStETH(uint256 _stETHAmount) view returns(uint256)
func (*LidowstETHCaller) Name ¶
func (_LidowstETH *LidowstETHCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LidowstETHCaller) Nonces ¶
func (_LidowstETH *LidowstETHCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*LidowstETHCaller) StETH ¶
StETH is a free data retrieval call binding the contract method 0xc1fe3e48.
Solidity: function stETH() view returns(address)
func (*LidowstETHCaller) StEthPerToken ¶
StEthPerToken is a free data retrieval call binding the contract method 0x035faf82.
Solidity: function stEthPerToken() view returns(uint256)
func (*LidowstETHCaller) Symbol ¶
func (_LidowstETH *LidowstETHCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LidowstETHCaller) TokensPerStEth ¶
TokensPerStEth is a free data retrieval call binding the contract method 0x9576a0c8.
Solidity: function tokensPerStEth() view returns(uint256)
func (*LidowstETHCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type LidowstETHCallerRaw ¶
type LidowstETHCallerRaw struct {
Contract *LidowstETHCaller // Generic read-only contract binding to access the raw methods on
}
LidowstETHCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LidowstETHCallerRaw) Call ¶
func (_LidowstETH *LidowstETHCallerRaw) 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 LidowstETHCallerSession ¶
type LidowstETHCallerSession struct { Contract *LidowstETHCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LidowstETHCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LidowstETHCallerSession) Allowance ¶
func (_LidowstETH *LidowstETHCallerSession) 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 (*LidowstETHCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*LidowstETHCallerSession) DOMAINSEPARATOR ¶
func (_LidowstETH *LidowstETHCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*LidowstETHCallerSession) Decimals ¶
func (_LidowstETH *LidowstETHCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LidowstETHCallerSession) GetStETHByWstETH ¶
func (_LidowstETH *LidowstETHCallerSession) GetStETHByWstETH(_wstETHAmount *big.Int) (*big.Int, error)
GetStETHByWstETH is a free data retrieval call binding the contract method 0xbb2952fc.
Solidity: function getStETHByWstETH(uint256 _wstETHAmount) view returns(uint256)
func (*LidowstETHCallerSession) GetWstETHByStETH ¶
func (_LidowstETH *LidowstETHCallerSession) GetWstETHByStETH(_stETHAmount *big.Int) (*big.Int, error)
GetWstETHByStETH is a free data retrieval call binding the contract method 0xb0e38900.
Solidity: function getWstETHByStETH(uint256 _stETHAmount) view returns(uint256)
func (*LidowstETHCallerSession) Name ¶
func (_LidowstETH *LidowstETHCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LidowstETHCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*LidowstETHCallerSession) StETH ¶
func (_LidowstETH *LidowstETHCallerSession) StETH() (common.Address, error)
StETH is a free data retrieval call binding the contract method 0xc1fe3e48.
Solidity: function stETH() view returns(address)
func (*LidowstETHCallerSession) StEthPerToken ¶
func (_LidowstETH *LidowstETHCallerSession) StEthPerToken() (*big.Int, error)
StEthPerToken is a free data retrieval call binding the contract method 0x035faf82.
Solidity: function stEthPerToken() view returns(uint256)
func (*LidowstETHCallerSession) Symbol ¶
func (_LidowstETH *LidowstETHCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LidowstETHCallerSession) TokensPerStEth ¶
func (_LidowstETH *LidowstETHCallerSession) TokensPerStEth() (*big.Int, error)
TokensPerStEth is a free data retrieval call binding the contract method 0x9576a0c8.
Solidity: function tokensPerStEth() view returns(uint256)
func (*LidowstETHCallerSession) TotalSupply ¶
func (_LidowstETH *LidowstETHCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type LidowstETHFilterer ¶
type LidowstETHFilterer struct {
// contains filtered or unexported fields
}
LidowstETHFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLidowstETHFilterer ¶
func NewLidowstETHFilterer(address common.Address, filterer bind.ContractFilterer) (*LidowstETHFilterer, error)
NewLidowstETHFilterer creates a new log filterer instance of LidowstETH, bound to a specific deployed contract.
type LidowstETHRaw ¶
type LidowstETHRaw struct {
Contract *LidowstETH // Generic contract binding to access the raw methods on
}
LidowstETHRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LidowstETHRaw) Call ¶
func (_LidowstETH *LidowstETHRaw) 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 (*LidowstETHRaw) Transact ¶
func (_LidowstETH *LidowstETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LidowstETHRaw) Transfer ¶
func (_LidowstETH *LidowstETHRaw) 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 LidowstETHSession ¶
type LidowstETHSession struct { Contract *LidowstETH // 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 }
LidowstETHSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LidowstETHSession) Allowance ¶
func (_LidowstETH *LidowstETHSession) 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 (*LidowstETHSession) Approve ¶
func (_LidowstETH *LidowstETHSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*LidowstETHSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*LidowstETHSession) DOMAINSEPARATOR ¶
func (_LidowstETH *LidowstETHSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*LidowstETHSession) Decimals ¶
func (_LidowstETH *LidowstETHSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*LidowstETHSession) DecreaseAllowance ¶
func (_LidowstETH *LidowstETHSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LidowstETHSession) GetStETHByWstETH ¶
GetStETHByWstETH is a free data retrieval call binding the contract method 0xbb2952fc.
Solidity: function getStETHByWstETH(uint256 _wstETHAmount) view returns(uint256)
func (*LidowstETHSession) GetWstETHByStETH ¶
GetWstETHByStETH is a free data retrieval call binding the contract method 0xb0e38900.
Solidity: function getWstETHByStETH(uint256 _stETHAmount) view returns(uint256)
func (*LidowstETHSession) IncreaseAllowance ¶
func (_LidowstETH *LidowstETHSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LidowstETHSession) Name ¶
func (_LidowstETH *LidowstETHSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*LidowstETHSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*LidowstETHSession) Permit ¶
func (_LidowstETH *LidowstETHSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*LidowstETHSession) StETH ¶
func (_LidowstETH *LidowstETHSession) StETH() (common.Address, error)
StETH is a free data retrieval call binding the contract method 0xc1fe3e48.
Solidity: function stETH() view returns(address)
func (*LidowstETHSession) StEthPerToken ¶
func (_LidowstETH *LidowstETHSession) StEthPerToken() (*big.Int, error)
StEthPerToken is a free data retrieval call binding the contract method 0x035faf82.
Solidity: function stEthPerToken() view returns(uint256)
func (*LidowstETHSession) Symbol ¶
func (_LidowstETH *LidowstETHSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*LidowstETHSession) TokensPerStEth ¶
func (_LidowstETH *LidowstETHSession) TokensPerStEth() (*big.Int, error)
TokensPerStEth is a free data retrieval call binding the contract method 0x9576a0c8.
Solidity: function tokensPerStEth() view returns(uint256)
func (*LidowstETHSession) TotalSupply ¶
func (_LidowstETH *LidowstETHSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*LidowstETHSession) Transfer ¶
func (_LidowstETH *LidowstETHSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LidowstETHSession) TransferFrom ¶
func (_LidowstETH *LidowstETHSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LidowstETHSession) Unwrap ¶
func (_LidowstETH *LidowstETHSession) Unwrap(_wstETHAmount *big.Int) (*types.Transaction, error)
Unwrap is a paid mutator transaction binding the contract method 0xde0e9a3e.
Solidity: function unwrap(uint256 _wstETHAmount) returns(uint256)
func (*LidowstETHSession) Wrap ¶
func (_LidowstETH *LidowstETHSession) Wrap(_stETHAmount *big.Int) (*types.Transaction, error)
Wrap is a paid mutator transaction binding the contract method 0xea598cb0.
Solidity: function wrap(uint256 _stETHAmount) returns(uint256)
type LidowstETHTransactor ¶
type LidowstETHTransactor struct {
// contains filtered or unexported fields
}
LidowstETHTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLidowstETHTransactor ¶
func NewLidowstETHTransactor(address common.Address, transactor bind.ContractTransactor) (*LidowstETHTransactor, error)
NewLidowstETHTransactor creates a new write-only instance of LidowstETH, bound to a specific deployed contract.
func (*LidowstETHTransactor) Approve ¶
func (_LidowstETH *LidowstETHTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*LidowstETHTransactor) DecreaseAllowance ¶
func (_LidowstETH *LidowstETHTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LidowstETHTransactor) IncreaseAllowance ¶
func (_LidowstETH *LidowstETHTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LidowstETHTransactor) Permit ¶
func (_LidowstETH *LidowstETHTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*LidowstETHTransactor) Transfer ¶
func (_LidowstETH *LidowstETHTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LidowstETHTransactor) TransferFrom ¶
func (_LidowstETH *LidowstETHTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LidowstETHTransactor) Unwrap ¶
func (_LidowstETH *LidowstETHTransactor) Unwrap(opts *bind.TransactOpts, _wstETHAmount *big.Int) (*types.Transaction, error)
Unwrap is a paid mutator transaction binding the contract method 0xde0e9a3e.
Solidity: function unwrap(uint256 _wstETHAmount) returns(uint256)
func (*LidowstETHTransactor) Wrap ¶
func (_LidowstETH *LidowstETHTransactor) Wrap(opts *bind.TransactOpts, _stETHAmount *big.Int) (*types.Transaction, error)
Wrap is a paid mutator transaction binding the contract method 0xea598cb0.
Solidity: function wrap(uint256 _stETHAmount) returns(uint256)
type LidowstETHTransactorRaw ¶
type LidowstETHTransactorRaw struct {
Contract *LidowstETHTransactor // Generic write-only contract binding to access the raw methods on
}
LidowstETHTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LidowstETHTransactorRaw) Transact ¶
func (_LidowstETH *LidowstETHTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LidowstETHTransactorRaw) Transfer ¶
func (_LidowstETH *LidowstETHTransactorRaw) 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 LidowstETHTransactorSession ¶
type LidowstETHTransactorSession struct { Contract *LidowstETHTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LidowstETHTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LidowstETHTransactorSession) Approve ¶
func (_LidowstETH *LidowstETHTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*LidowstETHTransactorSession) DecreaseAllowance ¶
func (_LidowstETH *LidowstETHTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LidowstETHTransactorSession) IncreaseAllowance ¶
func (_LidowstETH *LidowstETHTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LidowstETHTransactorSession) Permit ¶
func (_LidowstETH *LidowstETHTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*LidowstETHTransactorSession) Transfer ¶
func (_LidowstETH *LidowstETHTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LidowstETHTransactorSession) TransferFrom ¶
func (_LidowstETH *LidowstETHTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LidowstETHTransactorSession) Unwrap ¶
func (_LidowstETH *LidowstETHTransactorSession) Unwrap(_wstETHAmount *big.Int) (*types.Transaction, error)
Unwrap is a paid mutator transaction binding the contract method 0xde0e9a3e.
Solidity: function unwrap(uint256 _wstETHAmount) returns(uint256)
func (*LidowstETHTransactorSession) Wrap ¶
func (_LidowstETH *LidowstETHTransactorSession) Wrap(_stETHAmount *big.Int) (*types.Transaction, error)
Wrap is a paid mutator transaction binding the contract method 0xea598cb0.
Solidity: function wrap(uint256 _stETHAmount) returns(uint256)