Price Oracles
Price Oracle (for Lending Markets)
Lending markets need a reliable price oracle to value collateral accurately, enforce LTV limits, calculate health factors, and trigger liquidations safely. YieldFi vault tokens are designed to be first-class collateral assets, so each vault ERC-20 token exposes an onchain price feed that tracks the vault’s underlying value and can be consumed directly by lending protocols or by adapter contracts.
Pricing Methodology
Each vault token tracks a reference value that reflects the economic value of its underlying assets and strategy performance (net of applicable fees). As this reference value changes, the oracle updates the price, so the token’s onchain price follows the same source of truth as used for vault accounting.
To strengthen transparency, we use a proof-of-reserve design for the oracle infrastructure. When assets or collateral sit offchain, independent third parties verify balances and provide attestations. This gives additional assurance that underlying collateral supports the token’s reference value.
For canonical settlement, the vault processes redemptions at the designated onchain oracle price. This keeps issuance and redemption consistent with the same price that lending markets rely on.
Oracle Interface (Chainlink-Compatible)
Each vault token implements a Chainlink-style interface via:
latestRoundData()→ returns(roundId, answer, startedAt, updatedAt, answeredInRound)This enables standard oracle plumbing, staleness checks (viaupdatedAt), and compatibility with existing DeFi integrations.
NAV-Based Pricing (ERC-4626 Semantics)
For direct valuation of shares against underlying assets:
convertToAssets(uint256 shares)→ pass1e18shares to get the underlying asset amount implied by NAV (i.e., “price per token” in asset units).
Simplified Rate Read
For protocols that want a single standardized value:
getRate()→ returns the current price/rate in 18 decimals.
Together, these functions provide a transparent, reference-driven oracle that lending markets can depend on for consistent collateral valuation and risk management.
The Oracle Price and related verification procedures are provided for reference purposes only. They do not create any legal entitlement to the underlying assets or represent a guaranteed value.
Redemption amounts are set at the issuer determined reference and may differ from the oracle reference price. Please review the Legal Documents and Risk Disclaimer.
Last updated