Documentation ¶
Index ¶
- Variables
- type Erc4626
- type Erc4626Approval
- type Erc4626ApprovalIterator
- type Erc4626Caller
- func (_Erc4626 *Erc4626Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) Asset(opts *bind.CallOpts) (common.Address, error)
- func (_Erc4626 *Erc4626Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Erc4626 *Erc4626Caller) MaxDeposit(opts *bind.CallOpts, receiver common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) MaxMint(opts *bind.CallOpts, receiver common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) MaxWithdraw(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) Name(opts *bind.CallOpts) (string, error)
- func (_Erc4626 *Erc4626Caller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) PreviewMint(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Erc4626 *Erc4626Caller) TotalAssets(opts *bind.CallOpts) (*big.Int, error)
- func (_Erc4626 *Erc4626Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type Erc4626CallerRaw
- type Erc4626CallerSession
- func (_Erc4626 *Erc4626CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) Asset() (common.Address, error)
- func (_Erc4626 *Erc4626CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) ConvertToAssets(shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) ConvertToShares(assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) Decimals() (uint8, error)
- func (_Erc4626 *Erc4626CallerSession) MaxDeposit(receiver common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) MaxMint(receiver common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) MaxRedeem(owner common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) MaxWithdraw(owner common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) Name() (string, error)
- func (_Erc4626 *Erc4626CallerSession) PreviewDeposit(assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) PreviewMint(shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) PreviewRedeem(shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) PreviewWithdraw(assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) Symbol() (string, error)
- func (_Erc4626 *Erc4626CallerSession) TotalAssets() (*big.Int, error)
- func (_Erc4626 *Erc4626CallerSession) TotalSupply() (*big.Int, error)
- type Erc4626Deposit
- type Erc4626DepositIterator
- type Erc4626Filterer
- func (_Erc4626 *Erc4626Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc4626ApprovalIterator, error)
- func (_Erc4626 *Erc4626Filterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, owner []common.Address) (*Erc4626DepositIterator, error)
- func (_Erc4626 *Erc4626Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Erc4626TransferIterator, error)
- func (_Erc4626 *Erc4626Filterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address, ...) (*Erc4626WithdrawIterator, error)
- func (_Erc4626 *Erc4626Filterer) ParseApproval(log types.Log) (*Erc4626Approval, error)
- func (_Erc4626 *Erc4626Filterer) ParseDeposit(log types.Log) (*Erc4626Deposit, error)
- func (_Erc4626 *Erc4626Filterer) ParseTransfer(log types.Log) (*Erc4626Transfer, error)
- func (_Erc4626 *Erc4626Filterer) ParseWithdraw(log types.Log) (*Erc4626Withdraw, error)
- func (_Erc4626 *Erc4626Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc4626Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_Erc4626 *Erc4626Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *Erc4626Deposit, sender []common.Address, ...) (event.Subscription, error)
- func (_Erc4626 *Erc4626Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc4626Transfer, from []common.Address, ...) (event.Subscription, error)
- func (_Erc4626 *Erc4626Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *Erc4626Withdraw, sender []common.Address, ...) (event.Subscription, error)
- type Erc4626Raw
- func (_Erc4626 *Erc4626Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Erc4626 *Erc4626Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Erc4626Session
- func (_Erc4626 *Erc4626Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Session) Asset() (common.Address, error)
- func (_Erc4626 *Erc4626Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) ConvertToAssets(shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) ConvertToShares(assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) Decimals() (uint8, error)
- func (_Erc4626 *Erc4626Session) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Session) MaxDeposit(receiver common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) MaxMint(receiver common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) MaxRedeem(owner common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) MaxWithdraw(owner common.Address) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Session) Name() (string, error)
- func (_Erc4626 *Erc4626Session) PreviewDeposit(assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) PreviewMint(shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) PreviewRedeem(shares *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) PreviewWithdraw(assets *big.Int) (*big.Int, error)
- func (_Erc4626 *Erc4626Session) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Session) Symbol() (string, error)
- func (_Erc4626 *Erc4626Session) TotalAssets() (*big.Int, error)
- func (_Erc4626 *Erc4626Session) TotalSupply() (*big.Int, error)
- func (_Erc4626 *Erc4626Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Session) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- type Erc4626Transactor
- func (_Erc4626 *Erc4626Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Transactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Transactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Transactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Erc4626 *Erc4626Transactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, ...) (*types.Transaction, error)
- type Erc4626TransactorRaw
- type Erc4626TransactorSession
- func (_Erc4626 *Erc4626TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626TransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626TransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626TransactorSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- func (_Erc4626 *Erc4626TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Erc4626 *Erc4626TransactorSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
- type Erc4626Transfer
- type Erc4626TransferIterator
- type Erc4626Withdraw
- type Erc4626WithdrawIterator
Constants ¶
This section is empty.
Variables ¶
var Erc4626ABI = Erc4626MetaData.ABI
Erc4626ABI is the input ABI used to generate the binding from. Deprecated: Use Erc4626MetaData.ABI instead.
var Erc4626MetaData = &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\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"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\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"assetTokenAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAssets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxShares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxShares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAssets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalManagedAssets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\":\"amount\",\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
Erc4626MetaData contains all meta data concerning the Erc4626 contract.
Functions ¶
This section is empty.
Types ¶
type Erc4626 ¶
type Erc4626 struct { Erc4626Caller // Read-only binding to the contract Erc4626Transactor // Write-only binding to the contract Erc4626Filterer // Log filterer for contract events }
Erc4626 is an auto generated Go binding around an Ethereum contract.
func NewErc4626 ¶
NewErc4626 creates a new instance of Erc4626, bound to a specific deployed contract.
type Erc4626Approval ¶
type Erc4626Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc4626Approval represents a Approval event raised by the Erc4626 contract.
type Erc4626ApprovalIterator ¶
type Erc4626ApprovalIterator struct { Event *Erc4626Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc4626ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Erc4626 contract.
func (*Erc4626ApprovalIterator) Close ¶
func (it *Erc4626ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc4626ApprovalIterator) Error ¶
func (it *Erc4626ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc4626ApprovalIterator) Next ¶
func (it *Erc4626ApprovalIterator) 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 Erc4626Caller ¶
type Erc4626Caller struct {
// contains filtered or unexported fields
}
Erc4626Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewErc4626Caller ¶
func NewErc4626Caller(address common.Address, caller bind.ContractCaller) (*Erc4626Caller, error)
NewErc4626Caller creates a new read-only instance of Erc4626, bound to a specific deployed contract.
func (*Erc4626Caller) Allowance ¶
func (_Erc4626 *Erc4626Caller) 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 (*Erc4626Caller) Asset ¶
Asset is a free data retrieval call binding the contract method 0x38d52e0f.
Solidity: function asset() view returns(address assetTokenAddress)
func (*Erc4626Caller) BalanceOf ¶
func (_Erc4626 *Erc4626Caller) 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 (*Erc4626Caller) ConvertToAssets ¶
func (_Erc4626 *Erc4626Caller) ConvertToAssets(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.
Solidity: function convertToAssets(uint256 shares) view returns(uint256 assets)
func (*Erc4626Caller) ConvertToShares ¶
func (_Erc4626 *Erc4626Caller) ConvertToShares(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.
Solidity: function convertToShares(uint256 assets) view returns(uint256 shares)
func (*Erc4626Caller) Decimals ¶
func (_Erc4626 *Erc4626Caller) 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 (*Erc4626Caller) MaxDeposit ¶
func (_Erc4626 *Erc4626Caller) MaxDeposit(opts *bind.CallOpts, receiver common.Address) (*big.Int, error)
MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.
Solidity: function maxDeposit(address receiver) view returns(uint256 maxAssets)
func (*Erc4626Caller) MaxMint ¶
func (_Erc4626 *Erc4626Caller) MaxMint(opts *bind.CallOpts, receiver common.Address) (*big.Int, error)
MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.
Solidity: function maxMint(address receiver) view returns(uint256 maxShares)
func (*Erc4626Caller) MaxRedeem ¶
func (_Erc4626 *Erc4626Caller) MaxRedeem(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.
Solidity: function maxRedeem(address owner) view returns(uint256 maxShares)
func (*Erc4626Caller) MaxWithdraw ¶
func (_Erc4626 *Erc4626Caller) MaxWithdraw(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.
Solidity: function maxWithdraw(address owner) view returns(uint256 maxAssets)
func (*Erc4626Caller) Name ¶
func (_Erc4626 *Erc4626Caller) 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 (*Erc4626Caller) PreviewDeposit ¶
func (_Erc4626 *Erc4626Caller) PreviewDeposit(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.
Solidity: function previewDeposit(uint256 assets) view returns(uint256 shares)
func (*Erc4626Caller) PreviewMint ¶
PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.
Solidity: function previewMint(uint256 shares) view returns(uint256 assets)
func (*Erc4626Caller) PreviewRedeem ¶
func (_Erc4626 *Erc4626Caller) PreviewRedeem(opts *bind.CallOpts, shares *big.Int) (*big.Int, error)
PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.
Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)
func (*Erc4626Caller) PreviewWithdraw ¶
func (_Erc4626 *Erc4626Caller) PreviewWithdraw(opts *bind.CallOpts, assets *big.Int) (*big.Int, error)
PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.
Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)
func (*Erc4626Caller) Symbol ¶
func (_Erc4626 *Erc4626Caller) 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 (*Erc4626Caller) TotalAssets ¶
TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.
Solidity: function totalAssets() view returns(uint256 totalManagedAssets)
func (*Erc4626Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Erc4626CallerRaw ¶
type Erc4626CallerRaw struct {
Contract *Erc4626Caller // Generic read-only contract binding to access the raw methods on
}
Erc4626CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Erc4626CallerRaw) Call ¶
func (_Erc4626 *Erc4626CallerRaw) 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 Erc4626CallerSession ¶
type Erc4626CallerSession struct { Contract *Erc4626Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Erc4626CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Erc4626CallerSession) Allowance ¶
func (_Erc4626 *Erc4626CallerSession) 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 (*Erc4626CallerSession) Asset ¶
func (_Erc4626 *Erc4626CallerSession) Asset() (common.Address, error)
Asset is a free data retrieval call binding the contract method 0x38d52e0f.
Solidity: function asset() view returns(address assetTokenAddress)
func (*Erc4626CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Erc4626CallerSession) ConvertToAssets ¶
ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.
Solidity: function convertToAssets(uint256 shares) view returns(uint256 assets)
func (*Erc4626CallerSession) ConvertToShares ¶
ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.
Solidity: function convertToShares(uint256 assets) view returns(uint256 shares)
func (*Erc4626CallerSession) Decimals ¶
func (_Erc4626 *Erc4626CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*Erc4626CallerSession) MaxDeposit ¶
MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.
Solidity: function maxDeposit(address receiver) view returns(uint256 maxAssets)
func (*Erc4626CallerSession) MaxMint ¶
MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.
Solidity: function maxMint(address receiver) view returns(uint256 maxShares)
func (*Erc4626CallerSession) MaxRedeem ¶
MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.
Solidity: function maxRedeem(address owner) view returns(uint256 maxShares)
func (*Erc4626CallerSession) MaxWithdraw ¶
MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.
Solidity: function maxWithdraw(address owner) view returns(uint256 maxAssets)
func (*Erc4626CallerSession) Name ¶
func (_Erc4626 *Erc4626CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Erc4626CallerSession) PreviewDeposit ¶
PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.
Solidity: function previewDeposit(uint256 assets) view returns(uint256 shares)
func (*Erc4626CallerSession) PreviewMint ¶
PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.
Solidity: function previewMint(uint256 shares) view returns(uint256 assets)
func (*Erc4626CallerSession) PreviewRedeem ¶
PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.
Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)
func (*Erc4626CallerSession) PreviewWithdraw ¶
PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.
Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)
func (*Erc4626CallerSession) Symbol ¶
func (_Erc4626 *Erc4626CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Erc4626CallerSession) TotalAssets ¶
func (_Erc4626 *Erc4626CallerSession) TotalAssets() (*big.Int, error)
TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.
Solidity: function totalAssets() view returns(uint256 totalManagedAssets)
func (*Erc4626CallerSession) TotalSupply ¶
func (_Erc4626 *Erc4626CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type Erc4626Deposit ¶
type Erc4626Deposit struct { Sender common.Address Owner common.Address Assets *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc4626Deposit represents a Deposit event raised by the Erc4626 contract.
type Erc4626DepositIterator ¶
type Erc4626DepositIterator struct { Event *Erc4626Deposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc4626DepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the Erc4626 contract.
func (*Erc4626DepositIterator) Close ¶
func (it *Erc4626DepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc4626DepositIterator) Error ¶
func (it *Erc4626DepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc4626DepositIterator) Next ¶
func (it *Erc4626DepositIterator) 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 Erc4626Filterer ¶
type Erc4626Filterer struct {
// contains filtered or unexported fields
}
Erc4626Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewErc4626Filterer ¶
func NewErc4626Filterer(address common.Address, filterer bind.ContractFilterer) (*Erc4626Filterer, error)
NewErc4626Filterer creates a new log filterer instance of Erc4626, bound to a specific deployed contract.
func (*Erc4626Filterer) FilterApproval ¶
func (_Erc4626 *Erc4626Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Erc4626ApprovalIterator, 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 (*Erc4626Filterer) FilterDeposit ¶
func (_Erc4626 *Erc4626Filterer) FilterDeposit(opts *bind.FilterOpts, sender []common.Address, owner []common.Address) (*Erc4626DepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.
Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
func (*Erc4626Filterer) FilterTransfer ¶
func (_Erc4626 *Erc4626Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Erc4626TransferIterator, 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 (*Erc4626Filterer) FilterWithdraw ¶
func (_Erc4626 *Erc4626Filterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address, owner []common.Address) (*Erc4626WithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.
Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
func (*Erc4626Filterer) ParseApproval ¶
func (_Erc4626 *Erc4626Filterer) ParseApproval(log types.Log) (*Erc4626Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*Erc4626Filterer) ParseDeposit ¶
func (_Erc4626 *Erc4626Filterer) ParseDeposit(log types.Log) (*Erc4626Deposit, error)
ParseDeposit is a log parse operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.
Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
func (*Erc4626Filterer) ParseTransfer ¶
func (_Erc4626 *Erc4626Filterer) ParseTransfer(log types.Log) (*Erc4626Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*Erc4626Filterer) ParseWithdraw ¶
func (_Erc4626 *Erc4626Filterer) ParseWithdraw(log types.Log) (*Erc4626Withdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.
Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
func (*Erc4626Filterer) WatchApproval ¶
func (_Erc4626 *Erc4626Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc4626Approval, 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 (*Erc4626Filterer) WatchDeposit ¶
func (_Erc4626 *Erc4626Filterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *Erc4626Deposit, sender []common.Address, owner []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7.
Solidity: event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
func (*Erc4626Filterer) WatchTransfer ¶
func (_Erc4626 *Erc4626Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc4626Transfer, 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 (*Erc4626Filterer) WatchWithdraw ¶
func (_Erc4626 *Erc4626Filterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *Erc4626Withdraw, sender []common.Address, receiver []common.Address, owner []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db.
Solidity: event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
type Erc4626Raw ¶
type Erc4626Raw struct {
Contract *Erc4626 // Generic contract binding to access the raw methods on
}
Erc4626Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*Erc4626Raw) Call ¶
func (_Erc4626 *Erc4626Raw) 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 (*Erc4626Raw) Transact ¶
func (_Erc4626 *Erc4626Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc4626Raw) Transfer ¶
func (_Erc4626 *Erc4626Raw) 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 Erc4626Session ¶
type Erc4626Session struct { Contract *Erc4626 // 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 }
Erc4626Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Erc4626Session) Allowance ¶
func (_Erc4626 *Erc4626Session) 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 (*Erc4626Session) Approve ¶
func (_Erc4626 *Erc4626Session) 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 (*Erc4626Session) Asset ¶
func (_Erc4626 *Erc4626Session) Asset() (common.Address, error)
Asset is a free data retrieval call binding the contract method 0x38d52e0f.
Solidity: function asset() view returns(address assetTokenAddress)
func (*Erc4626Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*Erc4626Session) ConvertToAssets ¶
ConvertToAssets is a free data retrieval call binding the contract method 0x07a2d13a.
Solidity: function convertToAssets(uint256 shares) view returns(uint256 assets)
func (*Erc4626Session) ConvertToShares ¶
ConvertToShares is a free data retrieval call binding the contract method 0xc6e6f592.
Solidity: function convertToShares(uint256 assets) view returns(uint256 shares)
func (*Erc4626Session) Decimals ¶
func (_Erc4626 *Erc4626Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*Erc4626Session) Deposit ¶
func (_Erc4626 *Erc4626Session) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)
func (*Erc4626Session) MaxDeposit ¶
MaxDeposit is a free data retrieval call binding the contract method 0x402d267d.
Solidity: function maxDeposit(address receiver) view returns(uint256 maxAssets)
func (*Erc4626Session) MaxMint ¶
MaxMint is a free data retrieval call binding the contract method 0xc63d75b6.
Solidity: function maxMint(address receiver) view returns(uint256 maxShares)
func (*Erc4626Session) MaxRedeem ¶
MaxRedeem is a free data retrieval call binding the contract method 0xd905777e.
Solidity: function maxRedeem(address owner) view returns(uint256 maxShares)
func (*Erc4626Session) MaxWithdraw ¶
MaxWithdraw is a free data retrieval call binding the contract method 0xce96cb77.
Solidity: function maxWithdraw(address owner) view returns(uint256 maxAssets)
func (*Erc4626Session) Mint ¶
func (_Erc4626 *Erc4626Session) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)
func (*Erc4626Session) Name ¶
func (_Erc4626 *Erc4626Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*Erc4626Session) PreviewDeposit ¶
PreviewDeposit is a free data retrieval call binding the contract method 0xef8b30f7.
Solidity: function previewDeposit(uint256 assets) view returns(uint256 shares)
func (*Erc4626Session) PreviewMint ¶
PreviewMint is a free data retrieval call binding the contract method 0xb3d7f6b9.
Solidity: function previewMint(uint256 shares) view returns(uint256 assets)
func (*Erc4626Session) PreviewRedeem ¶
PreviewRedeem is a free data retrieval call binding the contract method 0x4cdad506.
Solidity: function previewRedeem(uint256 shares) view returns(uint256 assets)
func (*Erc4626Session) PreviewWithdraw ¶
PreviewWithdraw is a free data retrieval call binding the contract method 0x0a28a477.
Solidity: function previewWithdraw(uint256 assets) view returns(uint256 shares)
func (*Erc4626Session) Redeem ¶
func (_Erc4626 *Erc4626Session) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xba087652.
Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*Erc4626Session) Symbol ¶
func (_Erc4626 *Erc4626Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*Erc4626Session) TotalAssets ¶
func (_Erc4626 *Erc4626Session) TotalAssets() (*big.Int, error)
TotalAssets is a free data retrieval call binding the contract method 0x01e1d114.
Solidity: function totalAssets() view returns(uint256 totalManagedAssets)
func (*Erc4626Session) TotalSupply ¶
func (_Erc4626 *Erc4626Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*Erc4626Session) Transfer ¶
func (_Erc4626 *Erc4626Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*Erc4626Session) TransferFrom ¶
func (_Erc4626 *Erc4626Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*Erc4626Session) Withdraw ¶
func (_Erc4626 *Erc4626Session) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xb460af94.
Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)
type Erc4626Transactor ¶
type Erc4626Transactor struct {
// contains filtered or unexported fields
}
Erc4626Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewErc4626Transactor ¶
func NewErc4626Transactor(address common.Address, transactor bind.ContractTransactor) (*Erc4626Transactor, error)
NewErc4626Transactor creates a new write-only instance of Erc4626, bound to a specific deployed contract.
func (*Erc4626Transactor) Approve ¶
func (_Erc4626 *Erc4626Transactor) 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 (*Erc4626Transactor) Deposit ¶
func (_Erc4626 *Erc4626Transactor) Deposit(opts *bind.TransactOpts, assets *big.Int, receiver common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)
func (*Erc4626Transactor) Mint ¶
func (_Erc4626 *Erc4626Transactor) Mint(opts *bind.TransactOpts, shares *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)
func (*Erc4626Transactor) Redeem ¶
func (_Erc4626 *Erc4626Transactor) Redeem(opts *bind.TransactOpts, shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xba087652.
Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*Erc4626Transactor) Transfer ¶
func (_Erc4626 *Erc4626Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*Erc4626Transactor) TransferFrom ¶
func (_Erc4626 *Erc4626Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*Erc4626Transactor) Withdraw ¶
func (_Erc4626 *Erc4626Transactor) Withdraw(opts *bind.TransactOpts, assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xb460af94.
Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)
type Erc4626TransactorRaw ¶
type Erc4626TransactorRaw struct {
Contract *Erc4626Transactor // Generic write-only contract binding to access the raw methods on
}
Erc4626TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Erc4626TransactorRaw) Transact ¶
func (_Erc4626 *Erc4626TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Erc4626TransactorRaw) Transfer ¶
func (_Erc4626 *Erc4626TransactorRaw) 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 Erc4626TransactorSession ¶
type Erc4626TransactorSession struct { Contract *Erc4626Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Erc4626TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*Erc4626TransactorSession) Approve ¶
func (_Erc4626 *Erc4626TransactorSession) 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 (*Erc4626TransactorSession) Deposit ¶
func (_Erc4626 *Erc4626TransactorSession) Deposit(assets *big.Int, receiver common.Address) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x6e553f65.
Solidity: function deposit(uint256 assets, address receiver) returns(uint256 shares)
func (*Erc4626TransactorSession) Mint ¶
func (_Erc4626 *Erc4626TransactorSession) Mint(shares *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 shares, address receiver) returns(uint256 assets)
func (*Erc4626TransactorSession) Redeem ¶
func (_Erc4626 *Erc4626TransactorSession) Redeem(shares *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Redeem is a paid mutator transaction binding the contract method 0xba087652.
Solidity: function redeem(uint256 shares, address receiver, address owner) returns(uint256 assets)
func (*Erc4626TransactorSession) Transfer ¶
func (_Erc4626 *Erc4626TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*Erc4626TransactorSession) TransferFrom ¶
func (_Erc4626 *Erc4626TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*Erc4626TransactorSession) Withdraw ¶
func (_Erc4626 *Erc4626TransactorSession) Withdraw(assets *big.Int, receiver common.Address, owner common.Address) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xb460af94.
Solidity: function withdraw(uint256 assets, address receiver, address owner) returns(uint256 shares)
type Erc4626Transfer ¶
type Erc4626Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc4626Transfer represents a Transfer event raised by the Erc4626 contract.
type Erc4626TransferIterator ¶
type Erc4626TransferIterator struct { Event *Erc4626Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc4626TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Erc4626 contract.
func (*Erc4626TransferIterator) Close ¶
func (it *Erc4626TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc4626TransferIterator) Error ¶
func (it *Erc4626TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc4626TransferIterator) Next ¶
func (it *Erc4626TransferIterator) 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 Erc4626Withdraw ¶
type Erc4626Withdraw struct { Sender common.Address Receiver common.Address Owner common.Address Assets *big.Int Raw types.Log // Blockchain specific contextual infos }
Erc4626Withdraw represents a Withdraw event raised by the Erc4626 contract.
type Erc4626WithdrawIterator ¶
type Erc4626WithdrawIterator struct { Event *Erc4626Withdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Erc4626WithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the Erc4626 contract.
func (*Erc4626WithdrawIterator) Close ¶
func (it *Erc4626WithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Erc4626WithdrawIterator) Error ¶
func (it *Erc4626WithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Erc4626WithdrawIterator) Next ¶
func (it *Erc4626WithdrawIterator) 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.