How to Supply #

Collateral #

In order to borrow assets from the unFederalReserve protocol, users need to first supply another type of crypto as collateral. This is provided using the same mint function used for supplying assets. Supplied collateral assets earn interest while in the protocol, but users cannot redeem or transfer assets while they are being used as collateral.

Supply APY #

Supply APY = 100 * CompSpeed * eRSDLPrice * BlocksPerYear / (TotalSupply * ExchangeRate * UnderlyingPrice/1000000000000000000/1000000000000000000)/1000000000000000000

where

  • CompSpeed - amount of eRSDL that is distributed, per block, to suppliers and borrowers in each market.
  • eRSDLPrice - current listed price of eRSDL token.
  • BlocksPerYear - amount of mined blocks in Ethereum network - 2,102,400 (15 sec per block)
  • UnderlyingPrice - price of borrowed asset
  • Total Supply - number of tokens currently in circulation in this unToken market
  • UndelryingPrice - price of a supplied asset
  • ExchangeRate - exchange rate between an unToken and the underlying asset.
    Each unToken is convertible into an ever increasing quantity of the underlying asset, as interest accrues in the market:
    ExchangeRate = (UnderlyingBalance + TotalBorrows) / TotalSupply
    • UnderlyingBalance - amount of underlying balance owned by this unToken contract
    • Total Borrows - amount of underlying currently loaned out by the market, and the amount upon which interest is accumulated to suppliers of the market.
    • Total Supply - number of tokens currently in circulation in this unToken market