getApr

Developers > Yield Tranches > Methods > getAPR

This method returns the current apr for a tranche based on trancheAPRSplitRatio and the provided AA (Senior) ratio.

Function

function getApr(
    address _tranche
) external view returns (uint256);

Parameters

ParameterDescription

_tranche

AA or BB Tranche token address

Return values

ValueDescription

_val

APR for the specific tranche

Last updated