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) → struct FixedPoint.Unsigned (public)
transformCollateralRequirement(struct FixedPoint.Unsigned, struct FixedPoint.Unsigned collateralRequirement) → struct FixedPoint.Unsigned (public)
transformPriceIdentifier(bytes32, uint256) → bytes32 (public)