Skip to content

PoolConfigurator

Methods

Risk or Pool Admins

setSiloedBorrowing

function setSiloedBorrowing(address asset, bool newSiloed) external

Call Params

NameTypeDescription
assetaddressaddress of reserve's underlying asset.
newSiloedboolEnable/Disable SIloed Borrowing for the reserve.
  • enableBorrowingOnReserve

  • disableBorrowingOnReserve

  • configureReserveAsCollateral

  • enableReserveStableRate

  • disableReserveStableRate

  • freezeReserve

  • unfreezeReserve

  • setBorrowableInIsolation

  • setReserveFactor

  • setDebtCeiling

  • setSiloedBorrowing

  • setBorrowCap

    Allows RISK_ADMIN and POOL_ADMIN to add/update cap on the total borrow that can be borrowed from the reserve. Once the borrow cap is reached, no more borrow (variable or stable) for the given reserve asset can be initiated.

    Param NameTypeDescription
    assetaddressAddress of the underlying asset.
    newBorrowCapuint256Borrow cap in whole tokens. borrowCap == 0 => no cap
  • setSupplyCap

    Allows RISK_ADMIN and POOL_ADMIN to add/update liquidity supply cap on the reserve. Once the supply cap is reached, no more liquidity for the given reserve asset can be supplied to the pool.

    Param NameTypeDescription
    assetaddressAddress of the underlying asset.
    newSupplyCapuint256Supply cap in whole tokens. supplyCap == 0 => no cap
  • setLiquidationProtocolFee

  • setEModeCategory

    Allows RISK_ADMIN and POOL_ADMINS to configure existing or add new eModeCategory

    ParamTypeDescription
    categoryIduint8Category id ≠ 0. NOTE: category 0 is reserved for default category i.e. non-eMode
    ltvuint16Loan to value for given eMode categoryId. Must be ≤ liquidationThreshold
    liquidationThresholduint16Liquidation threshold for given eMode categoryId.
    liquidationBonusuint16Liquidation bonus for given eMode categoryId
    oracleaddressAddress of custom price oracle for category
    labelstringCustom label for the category
  • setAssetEModeCategory

    Allows RISK_ADMIN and POOL_ADMINS to configure eModeCategory of an asset.

    Param NameTypeDescription
    assetaddressAddress of the reserve asset being configured
    categoryIduint8≠ 0 one of the already defined eModeCategory = 0 for default aka non-eMode category
  • setUnbackedMintCap

  • setReserveInterestRateStrategyAddress

Asset Listing or Pool Admins

  • initReserves

Only Pool Admin

  • dropReserve
  • updateSpToken
  • updateStableDebtToken
  • updateVariableDebtToken
  • activateReserve
  • deactivateReserve
  • updateBridgeProtocolFee
  • updateFlashloanPremiumTotal
  • updateFlashloanPremiumToProtocol