From 24ae83fecbaef75bc53e73645199c09d88e5d76f Mon Sep 17 00:00:00 2001 From: Sara Reynolds <30504811+snreynolds@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:32:28 +0000 Subject: [PATCH] actions clarification natspec (#409) * natspec * Update src/libraries/Actions.sol Co-authored-by: Alice <34962750+hensha256@users.noreply.github.com> --------- Co-authored-by: Alice <34962750+hensha256@users.noreply.github.com> --- src/libraries/Actions.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libraries/Actions.sol b/src/libraries/Actions.sol index ab34c9c2..f8703847 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 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 @@ -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; }