IPoolConfigurator
Last updated
Last updated
Inherits: IPoolConfiguratorStorage, IPoolConfiguratorEvents
The initializer function for the pool configurator (must be called directly after deployment).
Parameters
Name | Type | Description |
---|---|---|
Sets the max cover liquidation for the pool configurator.
Parameters
Sets the min cover required for the pool configurator.
Parameters
Sets the pool limit for the pool configurator.
Parameters
Transfers to a new admin.
Parameters
Sets whether the pool is open to the public (permissioned or permissionless).
Parameters
Sets the admin fee rate that would be applied to the pool.
Parameters
Assigns a buyer to the pool.
Parameters
Sets the status of a seller.
Parameters
Sets the status of a lender (liquidity providers).
Parameters
Request funds from the pool and fund the loan manager.
Parameters
Triggers the defaults of a specific loan in the loan manager.
Parameters
Requests to redeem shares.
Parameters
Processes the redemption of shares for a specific owner.
Parameters
Returns
Removes shares from its withdrawal request.
Parameters
Returns
Pool admin deposits pool cover.
Parameters
Pool admin withdraws from pool cover.
Parameters
Returns the max cover liquidation of the pool.
Returns
Returns the min cover required for the pool configurator.
Returns
Returns the pool limit of the pool configurator.
Returns
Returns whether the pool is open to public.
Returns
Returns the admin fee of the pool.
Returns
Returns the max deposit amount of a receiver.
Parameters
Returns
Returns the max mint amount of a receiver.
Parameters
Returns
Returns the max redeem amount of an owner.
Parameters
Returns
Previews the amount of assets that can be redeemed for the amount of shares specified.
Parameters
Returns
Returns the total amount of assets in the pool.
Returns
Returns whether the pool currently has sufficient cover.
Returns
Returns the current amount of unrealized losses of the pool.
Returns
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
provider_
IPoolAddressesProvider
The address of the pool addresses provider.
poolAdmin_
address
The address of the pool admin.
asset_
address
The ERC20 asset used in the lending pool.
name_
string
The name of the pool token.
symbol_
string
The symbol of the pool token.
maxCoverLiquidation_
uint24
The max cover liquidation as a percentage for the pool admin.
minCover_
uint104
The min cover required for the pool admin.
poolLimit_
uint104
The size limit of the pool.
newAdmin_
address
The address of the new admin.
isOpenToPublic_
bool
Whether the pool is open to the public.
adminFee_
uint24
The new admin fee.
buyer_
address
The address of the buyer for this pool.
seller_
address
The address of the seller.
isValid_
bool
Whether the seller is valid.
lender_
address
The address of the lender.
isValid_
bool
Whether the lender is valid.
principal_
uint256
The amount of principal to request.
loanId_
uint16
The ID of the defaulted loan.
shares_
uint256
The amount of shares to redeem.
owner_
address
The owner of the shares.
shares_
uint256
The amount of shares to redeem.
owner_
address
The owner of the shares.
sender_
address
The sender of the process request.
redeemableShares_
uint256
The amount of redeemable shares.
resultingAssets_
uint256
The corresponding amount of assets with the redeemable shares.
shares_
uint256
The amount of shares to remove from withdrawal.
owner_
address
The owner of the shares.
sharesReturned_
uint256
The amount of shares returned.
amount_
uint256
The amount of assets to deposit as first-loss cover.
amount_
uint256
The amount of assets to withdraw from first-loss cover.
recipient_
address
The address of the recipient.
maxCoverLiquidation_
uint24
The max cover liquidation of the pool.
minCover_
uint104
The min cover required for the pool admin.
poolLimit_
uint104
The size limit of the pool.
openToPublic_
bool
Whether the pool is open to public.
adminFee_
uint24
The admin fee of the pool.
receiver_
address
The address of the receiver.
maxAssets_
uint256
The max amount of assets that can be deposited.
receiver_
address
The address of the receiver.
maxShares_
uint256
The max amount of shares that can be minted.
owner_
address
The address of the owner.
maxShares_
uint256
The max amount of shares that can be redeemed.
owner_
address
The address of the owner.
shares_
uint256
The amount of shares to redeem.
assets_
uint256
The amount of assets that would be received.
totalAssets_
uint256
The total amount of assets in the pool.
hasSufficientCover_
bool
Whether the pool currently has sufficient cover.
unrealizedLosses_
uint256
The current amount of unrealized losses of the pool.