Actions
Git Source - Generated with forge doc
Library to define different pool actions.
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.
State Variables
INCREASE_LIQUIDITY
uint256 internal constant INCREASE_LIQUIDITY = 0x00;
DECREASE_LIQUIDITY
uint256 internal constant DECREASE_LIQUIDITY = 0x01;
MINT_POSITION
uint256 internal constant MINT_POSITION = 0x02;
BURN_POSITION
uint256 internal constant BURN_POSITION = 0x03;
INCREASE_LIQUIDITY_FROM_DELTAS
uint256 internal constant INCREASE_LIQUIDITY_FROM_DELTAS = 0x04;
MINT_POSITION_FROM_DELTAS
uint256 internal constant MINT_POSITION_FROM_DELTAS = 0x05;
SWAP_EXACT_IN_SINGLE
uint256 internal constant SWAP_EXACT_IN_SINGLE = 0x06;
SWAP_EXACT_IN
uint256 internal constant SWAP_EXACT_IN = 0x07;
SWAP_EXACT_OUT_SINGLE
uint256 internal constant SWAP_EXACT_OUT_SINGLE = 0x08;
SWAP_EXACT_OUT
uint256 internal constant SWAP_EXACT_OUT = 0x09;
DONATE
uint256 internal constant DONATE = 0x0a;
SETTLE
uint256 internal constant SETTLE = 0x0b;
SETTLE_ALL
uint256 internal constant SETTLE_ALL = 0x0c;
SETTLE_PAIR
uint256 internal constant SETTLE_PAIR = 0x0d;
TAKE
uint256 internal constant TAKE = 0x0e;
TAKE_ALL
uint256 internal constant TAKE_ALL = 0x0f;
TAKE_PORTION
uint256 internal constant TAKE_PORTION = 0x10;