virtualPrice
Developers > Yield Tranches > Methods > virtualPrice
Last updated
Was this helpful?
Developers > Yield Tranches > Methods > virtualPrice
Last updated
Was this helpful?
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
_tranche
Address of the requested tranche
_virtualPrice
Tranche price considering all interest since last interaction