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