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
  • How it works visualized
  • Protocol Math
  • Assets
  • Notational Token (Not for Lending or Borrowing Just for Liquidity Displays)
  • Exchange Rate

Finny

Finny is a decentralized lending and borrowing protocol hosted on the Internet computer.

Our canister principal is listed below:

z4viz-kiaaa-aaaal-qbxmq-cai

How it works visualized

Protocol Math

All math on Finny is done using integers. All assets have a token decimal cutoff that represents the smallest decimal unit of that asset. For example the ICP token has 8 decimals. If you want to signify 5.2 ICP you need would enter in 520_000_000 as into the protocol. See below for other assets and token decimals. Liquidity is denominated in USD with 8 decimals.

Assets

fToken
fToken Decimal
Underlying
Underlying Decimal

fICP

8

ICP

8

fCkBtc

8

CkBtc

8

fXTC

8

XTC

12

Notational Token (Not for Lending or Borrowing Just for Liquidity Displays)

Token
Decimal

USD

9

Exchange Rate

The exchange rate is given by the amount of tokens one would receive for 1 underlying token.

exchangeRateMantissan=(totalCashn+totalBorrowsn−totalReservesn)∗mantissatotalfTokenSupplynexchangeRateMantissa_{n} =\\\frac{ (totalCash_{n}+totalBorrows_{n}-totalReserves_{n})*mantissa}{totalfTokenSupply_{n}}exchangeRateMantissan​=totalfTokenSupplyn​(totalCashn​+totalBorrowsn​−totalReservesn​)∗mantissa​

NextGlobal Variables

Last updated 1 year ago