# Finterest

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

Our canister principal is listed below:

z4viz-kiaaa-aaaal-qbxmq-cai

All math on Finterest 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.

fToken | fToken Decimal | Underlying | Underlying Decimal |
---|---|---|---|

fICP | 8 | ICP | 8 |

fCkBtc | 8 | CkBtc | 8 |

fXTC | 8 | XTC | 12 |

Token | Decimal |
---|---|

USD | 9 |

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

$exchangeRateMantissa_{n} =\\\frac{ (totalCash_{n}+totalBorrows_{n}-totalReserves_{n})*mantissa}{totalfTokenSupply_{n}}$

Last modified 3mo ago