Overview
Price adapters provide USD-denominated pricing for all assets in the Multiliquid Protocol. Each asset RWA has an associated price adapter that the MultiliquidSwap contract queries during swap calculations. Interface:src/interface/IPriceAdapter.sol
Price Adapter Interface
All price adapters implement a simple, standardized interface:- $1.00 =
1000000000000000000(1e18) - $1.05 =
1050000000000000000(1.05e18) - $0.99 =
990000000000000000(0.99e18)
Adapter Types
ULTRAAdapter
Fetches ULTRA (Delta Wellington Ultra Short Treasury On-Chain Fund) price from ULTRA’s manager contract. Location:src/PriceAdapters/ULTRAAdapter.sol
Implementation:
- ULTRA Manager contract must be available
getNavPerShare()must return current NAV
JTRSYAdapter
Fetches JTRSY (Janus Henderson Anemoy Treasury Fund) price from JTRSY’s vault contract. Location:src/PriceAdapters/JTRSYAdapter.sol
Implementation:
- JTRSY Vault contract must be available
sharePrice()must return current share price
USTBAdapter
Fetches USTB (Superstate Short Duration US Government Securities Fund) price from USTB’s implementation contract. Location:src/PriceAdapters/USTBAdapter.sol
Implementation:
- USTB contract must be available
getPrice()must return current price (6 decimals)
DollarPeggedAdapter
For RWAs with a NAV pegged to $1 USD (e.g., BENJI, WTGXX). Implementation:- BENJI (Franklin OnChain US Gov Money Fund)
- WTGXX (WisdomTree US Dollar Digital Fund)
- Other RWAs with $1.00 target NAV
- No external dependencies
- Zero gas cost (pure function)
- Deterministic pricing
Next: Integration Guide
Learn how to integrate Multiliquid into your application