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
_tranche
Address of the requested tranche
Return values
Value
Description
_virtualPrice
Tranche price considering all interest since last interaction
Last updated