RepoTokenUtils.sol#RepoTokenUtils
State Variables
THREESIXTY_DAYCOUNT_SECONDS
uint256 internal constant THREESIXTY_DAYCOUNT_SECONDS = 360 days;RATE_PRECISION
uint256 internal constant RATE_PRECISION = 1e18;Functions
calculatePresentValue
function calculatePresentValue(
uint256 repoTokenAmountInBaseAssetPrecision,
uint256 purchaseTokenPrecision,
uint256 redemptionTimestamp,
uint256 discountRate
) internal view returns (uint256 presentValue);Name
Type
Description
Name
Type
Description
getNormalizedRepoTokenAmount
Name
Type
Description
Name
Type
Description
Last updated