Skip to main content
Helpful?

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

State Variables

INCREASE_LIQUIDITY

uint256 constant INCREASE_LIQUIDITY = 0x00;

DECREASE_LIQUIDITY

uint256 constant DECREASE_LIQUIDITY = 0x01;

MINT_POSITION

uint256 constant MINT_POSITION = 0x02;

BURN_POSITION

uint256 constant BURN_POSITION = 0x03;

SWAP_EXACT_IN_SINGLE

uint256 constant SWAP_EXACT_IN_SINGLE = 0x04;

SWAP_EXACT_IN

uint256 constant SWAP_EXACT_IN = 0x05;

SWAP_EXACT_OUT_SINGLE

uint256 constant SWAP_EXACT_OUT_SINGLE = 0x06;

SWAP_EXACT_OUT

uint256 constant SWAP_EXACT_OUT = 0x07;
uint256 constant DONATE = 0x08;

SETTLE

uint256 constant SETTLE = 0x09;

SETTLE_ALL

uint256 constant SETTLE_ALL = 0x10;

SETTLE_PAIR

uint256 constant SETTLE_PAIR = 0x11;

TAKE

uint256 constant TAKE = 0x12;

TAKE_ALL

uint256 constant TAKE_ALL = 0x13;

TAKE_PORTION

uint256 constant TAKE_PORTION = 0x14;

TAKE_PAIR

uint256 constant TAKE_PAIR = 0x15;

SETTLE_TAKE_PAIR

uint256 constant SETTLE_TAKE_PAIR = 0x16;

CLOSE_CURRENCY

uint256 constant CLOSE_CURRENCY = 0x17;

CLEAR_OR_TAKE

uint256 constant CLEAR_OR_TAKE = 0x18;

SWEEP

uint256 constant SWEEP = 0x19;

MINT_6909

uint256 constant MINT_6909 = 0x20;

BURN_6909

uint256 constant BURN_6909 = 0x21;
Helpful?