getContractValue
Developers > Yield Tranches > Methods > getContractValue
This method calculates the current total value locked (in token
terms).
Function
Return values
Value
Description
_val
TVL (is the sum of unlent balance in the contract + the balance in lending - the reduction for harvested rewards - unclaimedFee)
Last updated
Was this helpful?