virtualPrice
Developers > Yield Tranches > Methods > virtualPrice
This method calculates the current tranches price considering the interest that is yet to be split (i.e. the interest generated since the last interaction done on depositXX/withdrawXX/harvest).
This should always be of tranchePrice
Function
Parameters
Parameter | Description |
---|---|
| Address of the requested tranche |
Return values
Value | Description |
---|---|
| Tranche price considering all interest since last interaction |
Last updated