Developers > Yield Tranches > Methods > getContractValue
This method calculates the current total value locked (in token terms).
token
Note 1: unclaimedFeesare not included in the contract value.
unclaimedFees
Note 2: fees that will be taken (in the next _updateAccounting call) are counted
_updateAccounting
function getContractValue( ) external view returns (uint256)
_val
TVL (is the sum of unlent balance in the contract + the balance in lending - the reduction for harvested rewards - unclaimedFee)
Unlent balance (unlentPerc) is currently set at 2% of the total funds.
unlentPerc
Last updated 2 years ago
Was this helpful?