You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libraries/Actions.sol
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ pragma solidity ^0.8.0;
3
3
4
4
/// @notice Library to define different pool actions.
5
5
/// @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.
6
7
libraryActions {
7
8
// pool actions
8
9
// liquidity actions
@@ -18,7 +19,9 @@ library Actions {
18
19
uint256constant SWAP_EXACT_IN =0x07;
19
20
uint256constant SWAP_EXACT_OUT_SINGLE =0x08;
20
21
uint256constant SWAP_EXACT_OUT =0x09;
22
+
21
23
// donate
24
+
// note this is not supported in the position manager or router
22
25
uint256constant DONATE =0x0a;
23
26
24
27
// closing deltas on the pool manager
@@ -40,6 +43,7 @@ library Actions {
40
43
uint256constant UNWRAP =0x16;
41
44
42
45
// minting/burning 6909s to close deltas
46
+
// note this is not supported in the position manager or router
0 commit comments