What is Supply APY?
How income is calculated on supplied assets
Last updated
How income is calculated on supplied assets
Last updated
Users who supply collect an income from the users who borrow. This income is given in the same token as the supply and compounds with every new block that is added to the blockchain.
Both the Supply Rate (APR) and Supply APY of an asset on a specific market are calculated dynamically depending on the asset's utilization rate.
When the asset is available, interests are low to encourage borrowing.
When the asset is scarce: interests are high to encourage repayments of debt and additional supplying.
The Supply APY takes into account compound interest while the Supply Rate does not.
The graph of APR and APY dependence on Utilization Rate looks like this:
The Supply Rate (annual percentage rate, APR) refers to the yearly interest paid to investors without taking compounding into account.
Where:
The supplied amount grows with every new block thanks to compounding. Supply APY (annual percentage yield) is the yearly interest paid to investors including compounding interest.
Supply APY is calculated as follows:
Since roughly one new block is added to the Waves blockchain every minute, the following calculation is used:
The Supply Rate function is split in two parts around an optimal utilization rate :
, , are asset parameters,
is a share of the borrow interest rate sent to the protocol.