FluidLiquidityAdminModule

Git Source

Inherits:AdminModuleConstants, GuardianModule

Fluid Liquidity auth protected methods to configure things such as: guardians, auths, governance, revenue, token configs, allowances etc. Accessibility of methods is restricted to Governance, Auths or Guardians. Governance is Auth & Governance by default

Functions

constructor

constructor(uint256 nativeTokenMaxBorrowLimitCap_) AdminModuleConstants(nativeTokenMaxBorrowLimitCap_);

updateExchangePrices

gets the current updated exchange prices for n tokens and updates all prices, rates related data in storage.

function updateExchangePrices(address[] calldata tokens_)
    external
    returns (uint256[] memory supplyExchangePrices_, uint256[] memory borrowExchangePrices_);

Parameters

NameTypeDescription
tokens_address[]tokens to update exchange prices for

Returns

NameTypeDescription
supplyExchangePrices_uint256[]new supply rates of overall system for each token
borrowExchangePrices_uint256[]new borrow rates of overall system for each token