Chainlink

This oracle is designed to enable a wide amount of new pairs with a smart routing algorithm while leveraging feeds on the Chainlink's Feed Registry on Ethereum, and our own feed in all other deployed networks.

The Chainlink Feed Registry is an on-chain mapping of assets to feeds. It enables you to query Chainlink data feeds from asset addresses directly, without needing to know the feed contract addresses. They enable smart contracts to get the latest price of an asset in a single call, from a single contract.

Smart routing

The best way to explain how the router works, it's with an example: Let's say we need to understand how much $AAVE are 100 $MANA.

Our algorithm will query the available feeds and try to find the route to answer the quoting request. The path that will be taken will vary depending on which available feeds does the network have, but possible paths could be:

  • MANA/USD <=> USD/AAVE

  • MANA/ETH <=> ETH/AAVE

  • MANA/USD <=> USD/ETH <=> ETH/AAVE

  • MANA/ETH <=> ETH/USD <=> USD/AAVE

Last updated