tranchePrice

Developers > Yield Tranches > Methods > tranchePrice

This method returns the last tranche price saved on the last smart contract interaction (it may not include interest earned since the last update. For an up-to-date price, check the virtualPrice method).

Function

function tranchePrice(
    address _tranche
) external view returns (uint256)

Parameters

ParameterDescription

_tranche

Tranche address

Return values

ValueDescription

_tranchePrice

Last saved tranche price.

This price gets updated right before each deposit and redeems call in order to split the interest accrued since the last interaction.

Last updated