Skip to content

IFluidCLXStockOracle ​

Git Source

Inherits:IFluidOracle

Chainlink 24/5 × Backed wrapper stock oracle (session-aware caps). Not upgradeable.

Functions ​

getConfig ​

solidity
function getConfig() external view returns (Structs.CLXStockOracleConfig memory config_);

backedUnderlying ​

Backed underlying (wrapper.asset()); separate from getConfig() to keep that ABI stable.

solidity
function backedUnderlying() external view returns (address);

getExchangeRateOperateDebt ​

Debt operate: extended-hours clamp inverted vs collateral (floor downside).

solidity
function getExchangeRateOperateDebt() external view returns (uint256 exchangeRate_);

getExchangeRateLiquidateDebt ​

Debt liquidate: extended-hours clamp inverted vs collateral (cap upside).

solidity
function getExchangeRateLiquidateDebt() external view returns (uint256 exchangeRate_);

updateRegularHoursAnchor ​

Permissionless RTH anchor: latest CL round in current regular window (+ buffer); once the window is past, also the latest pre-window round within heartbeat of the close. Seals the close only after regularEnd + buffer; earlier calls store a hint, so late prints count. Gov / class ≥ 3 may roll out-of-band vs the gap reference — accepts a verified CL↔split re-sync.

solidity
function updateRegularHoursAnchor(uint80 roundId_) external;

Parameters

NameTypeDescription
roundId_uint80Start hint (0 = stored/latest). Walks to last in-window round.