Skip to main content

MarketSettleFacet.sol

MarketSettleFacet​

settle​

function settle(int16[] feeRates) external

Executes the settlement process for the Chromatic market.

This function settles the market by synchronizing the oracle version and calling the settle function of the liquidity pool.

  • Parameters:

    NameTypeDescription
    feeRatesint16[]The feeRate list of liquidity bin to settle.

settleAll​

function settleAll() external

Executes the settlement process for the Chromatic market.

This function settles the market by synchronizing the oracle version and calling the settle function of the liquidity pool.