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

Parameter
Description

_tranche

AA or BB Tranche token address

Return values

Value
Description

_val

APR for the specific tranche

Last updated