From 3e039ee083e9ad019b7bfd05105524160cce39c7 Mon Sep 17 00:00:00 2001 From: Arjun Rao <2940142+arjun-io@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:20:15 -0400 Subject: [PATCH] Add comment that Perenial does not support 0-value payoffs --- packages/perennial/contracts/product/UPayoffProvider.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/perennial/contracts/product/UPayoffProvider.sol b/packages/perennial/contracts/product/UPayoffProvider.sol index 7b3b715a..e9d49ac7 100644 --- a/packages/perennial/contracts/product/UPayoffProvider.sol +++ b/packages/perennial/contracts/product/UPayoffProvider.sol @@ -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