Skip to content

Commit 24ae83f

Browse files
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>
1 parent 05ede29 commit 24ae83f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libraries/Actions.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pragma solidity ^0.8.0;
33

44
/// @notice Library to define different pool actions.
55
/// @dev These are suggested common commands, however additional commands should be defined as required
6+
/// 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.
67
library Actions {
78
// pool actions
89
// liquidity actions
@@ -18,7 +19,9 @@ library Actions {
1819
uint256 constant SWAP_EXACT_IN = 0x07;
1920
uint256 constant SWAP_EXACT_OUT_SINGLE = 0x08;
2021
uint256 constant SWAP_EXACT_OUT = 0x09;
22+
2123
// donate
24+
// note this is not supported in the position manager or router
2225
uint256 constant DONATE = 0x0a;
2326

2427
// closing deltas on the pool manager
@@ -40,6 +43,7 @@ library Actions {
4043
uint256 constant UNWRAP = 0x16;
4144

4245
// minting/burning 6909s to close deltas
46+
// note this is not supported in the position manager or router
4347
uint256 constant MINT_6909 = 0x17;
4448
uint256 constant BURN_6909 = 0x18;
4549
}

0 commit comments

Comments
 (0)