The Finny Ecosystem
  • Finny
  • Global Variables
  • Market Variables
  • Protocol Interaction Practical
  • Liquidation
  • ABOUT THE PROTOCOL
    • Theoretical Tx Fee Explanation
    • Finny Reserve
    • Exchange Rate Canister
  • For Later
    • Interest Rates
    • Protocol interaction Theory
    • Protocol Interaction (Read)
    • Token List
    • Single sided vaults
  • Core concepts
    • $FINNY
  • Extras
    • Official Links
Powered by GitBook
On this page
  1. ABOUT THE PROTOCOL

Exchange Rate Canister

PreviousFinny ReserveNextFor Later

Last updated 10 months ago

Our Price Feed Data is given by Dfinity's (e)xchange rate canister (xrc). Calls to borrow, redeem (if in any markets) and liquidate call the xrc. The principal of the canister is listed below.

uf6dk-hyaaa-aaaaq-qaaaq-cai

Extracted from from the following repos:

-

-

The corresponding symbols to pass into the exchange rate canister below.

Token
Exchange Rate Canister Symbol
Asset Class

XTC

CXDR

FiatCurrency

ICP

ICP

Cryptocurrency

CKBTC

BTC

Cryptocurrency

The candid notation of the two parameters

type symbol = text;
type AssetClass = variant { Cryptocurrency; FiatCurrency; };
https://github.com/THLO/xrc_demo
https://github.com/dfinity/exchange-rate-canister