Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #203 from equilibria-xyz/arjun/0-price-comment
Browse files Browse the repository at this point in the history
[Fix][Sherlock M-4] Add comment that Perennial does not support 0-value payoffs
  • Loading branch information
arjun-io authored Jul 25, 2023
2 parents 9f153c9 + 3e039ee commit d9838bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/perennial/contracts/product/UPayoffProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import "../interfaces/types/PayoffDefinition.sol";
* @notice Library for manage storing, surfacing, and upgrading a payoff provider.
* @dev Uses an unstructured storage pattern to store the oracle address and payoff definition which allows this
provider to be safely used with upgradeable contracts.
Perennial does not support 0-value payoffs.
*/
abstract contract UPayoffProvider is IPayoffProvider, UInitializable {
/// @dev The oracle contract address
Expand Down

0 comments on commit d9838bb

Please sign in to comment.