From 3e4afbecb453d9c0a1217c265394fa289a5a327b Mon Sep 17 00:00:00 2001 From: Sara Reynolds Date: Mon, 2 Dec 2024 14:52:16 -0500 Subject: [PATCH 1/2] natspec --- src/libraries/Actions.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libraries/Actions.sol b/src/libraries/Actions.sol index ab34c9c2..5da55ebb 100644 --- a/src/libraries/Actions.sol +++ b/src/libraries/Actions.sol @@ -3,6 +3,7 @@ pragma solidity ^0.8.0; /// @notice Library to define different pool actions. /// @dev These are suggested common commands, however additional commands should be defined as required +/// Some of these actions are not actually supposed in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts. library Actions { // pool actions // liquidity actions @@ -18,7 +19,9 @@ library Actions { uint256 constant SWAP_EXACT_IN = 0x07; uint256 constant SWAP_EXACT_OUT_SINGLE = 0x08; uint256 constant SWAP_EXACT_OUT = 0x09; + // donate + // note this is not supported in the position manager or router uint256 constant DONATE = 0x0a; // closing deltas on the pool manager @@ -40,6 +43,7 @@ library Actions { uint256 constant UNWRAP = 0x16; // minting/burning 6909s to close deltas + // note this is not supported in the position manager or router uint256 constant MINT_6909 = 0x17; uint256 constant BURN_6909 = 0x18; } From a412208d6505c480c9ab699f3d974ebc79fcd609 Mon Sep 17 00:00:00 2001 From: Sara Reynolds <30504811+snreynolds@users.noreply.github.com> Date: Mon, 2 Dec 2024 14:57:06 -0500 Subject: [PATCH 2/2] Update src/libraries/Actions.sol Co-authored-by: Alice <34962750+hensha256@users.noreply.github.com> --- src/libraries/Actions.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Actions.sol b/src/libraries/Actions.sol index 5da55ebb..f8703847 100644 --- a/src/libraries/Actions.sol +++ b/src/libraries/Actions.sol @@ -3,7 +3,7 @@ pragma solidity ^0.8.0; /// @notice Library to define different pool actions. /// @dev These are suggested common commands, however additional commands should be defined as required -/// Some of these actions are not actually supposed in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts. +/// Some of these actions are not supported in the Router contracts or Position Manager contracts, but are left as they may be helpful commands for other peripheral contracts. library Actions { // pool actions // liquidity actions