Oracle
Oracle provides an interface allowing for a customization layer on top of other onchain oracles. Oracle is how Swapper determines prices for different assets.
Since Oracle itself is just an interface, most of these docs focus on the specific Oracle implementations offered by the Splits team. Currently, Splits offers one implementation, UniV3Oracle. We expect to offer another Chainlink-based implementation shortly.
UniV3Oracle
This Oracle implementation uses Uniswap's v3 (opens in a new tab) TWAP to price assets.
How it works
Default token pairs
The following token pairs are supported by our default, immutable deployment of this Oracle implementation.
Ethereum – 1
Addresses
Ethereum – 1