Skip to content

Commit

Permalink
natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
snreynolds committed Dec 2, 2024
1 parent 1d92e95 commit 3e4afbe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libraries/Actions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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;
}

0 comments on commit 3e4afbe

Please sign in to comment.