We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c38c1b commit f64d5e3Copy full SHA for f64d5e3
src/math/Black76.sol
@@ -59,7 +59,7 @@ library Black76 {
59
* @return callPrice Call price for given Black76 parameters (18-decimal precision).
60
* @return putPrice Put price for given Black76 parameters (18-decimal precision).
61
*/
62
- function prices(Black76Inputs memory b76Input) internal pure returns (uint callPrice, uint putPrice) {
+ function prices(Black76Inputs memory b76Input) external pure returns (uint callPrice, uint putPrice) {
63
unchecked {
64
uint tAnnualised = annualise(b76Input.timeToExpirySec);
65
// products of <128 bit numbers, cannot overflow here when caseted to 256
0 commit comments