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