Skip to main content

Reference

Interfaces, signatures, parameters, and generated references.

Lookup friendly
TOC available

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;
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;

TAKE_PAIR​

uint256 internal constant TAKE_PAIR = 0x11;

CLOSE_CURRENCY​

uint256 internal constant CLOSE_CURRENCY = 0x12;

CLEAR_OR_TAKE​

uint256 internal constant CLEAR_OR_TAKE = 0x13;

SWEEP​

uint256 internal constant SWEEP = 0x14;

WRAP​

uint256 internal constant WRAP = 0x15;

UNWRAP​

uint256 internal constant UNWRAP = 0x16;

MINT_6909​

uint256 internal constant MINT_6909 = 0x17;

BURN_6909​

uint256 internal constant BURN_6909 = 0x18;