IPool
Inherits: IERC4626
Functions
configurator
Returns the address of the pool configurator.
Returns
configurator_
address
The address of the pool configurator.
depositWithPermit
Deposits assets into the pool with the permit signature.
Parameters
assets
uint256
The amount of assets to deposit.
receiver
address
The address of the receiver.
deadline
uint256
The deadline of the permit signature.
v
uint8
The v of the permit signature.
r
bytes32
The r of the permit signature.
s
bytes32
The s of the permit signature.
Returns
shares_
uint256
The corresponding amount of shares minted.
mintWithPermit
Mints shares from the pool with the permit signature.
Parameters
shares
uint256
The amount of shares to mint.
receiver
address
The address of the receiver.
maxAssets
uint256
The maximum amount of assets to deposit.
deadline
uint256
The deadline of the permit signature.
v
uint8
The v of the permit signature.
r
bytes32
The r of the permit signature.
s
bytes32
The s of the permit signature.
Returns
assets_
uint256
The corresponding amount of assets deposited.
removeShares
Remove shares from the pool.
Parameters
shares_
uint256
The amount of shares to remove.
owner_
address
The owner of the shares.
Returns
sharesReturned_
uint256
The amount of shares returned.
requestRedeem
Request the redemption of shares from the pool.
Parameters
shares_
uint256
The amount of shares to redeem.
owner_
address
The owner of the shares.
balanceOfAssets
Returns of the balance of the account.
Parameters
account_
address
The address of the account.
Returns
assets_
uint256
The amount of assets.
convertToExitAssets
Returns the amount of assets that can be withdrawn for the amount of shares.
Parameters
shares_
uint256
The amount of shares.
Returns
assets_
uint256
The amount of assets.
convertToExitShares
Returns the amount of shares that will be burned to withdraw the amount of assets.
Parameters
assets_
uint256
The amount of assets to withdraw.
Returns
shares_
uint256
The amount of shares.
unrealizedLosses
Returns the unrealized losses of the pool.
Returns
unrealizedLosses_
uint256
The unrealized losses.
Last updated