Skip to main content

FinancialProductLibraryTest

FinancialProductLibraryTest#

Functions#

constructor(struct FixedPoint.Unsigned _priceTransformationScalar, struct FixedPoint.Unsigned _collateralRequirementTransformationScalar, bytes32 _transformedPriceIdentifier) (public)
setShouldRevert(bool _shouldRevert) (public)
transformPrice(struct FixedPoint.Unsigned oraclePrice, uint256 requestTime) → struct FixedPoint.Unsigned (public)
transformCollateralRequirement(struct FixedPoint.Unsigned price, struct FixedPoint.Unsigned collateralRequirement) → struct FixedPoint.Unsigned (public)
transformPriceIdentifier(bytes32 priceIdentifier, uint256 requestTime) → bytes32 (public)