Structs§
- Close
Position Instruction - Represents the instructions and quotes for closing a liquidity position.
- Collect
Cyclone Fees Instruction - Represents the instructions and quotes for harvesting a position.
- Create
Pool Instructions - Represents the instructions and metadata for creating a pool.
- Cyclone
FeeTier Bonding Curve - Cyclone
FeeTier Fees - Cyclone
Graduate Instructions - Cyclone
Swap Instructions - Represents the instructions and quote for executing a token swap.
- Decrease
Liquidity Instruction - Represents the instructions and quote for decreasing liquidity in a position.
- Harvest
Position Instruction - Represents the instructions and quotes for harvesting a position.
- Hydrated
Bundled Position - Represents a single bundled position within a
PositionBundleaccount. - Hydrated
Position - Represents a single Position account.
- Hydrated
Position Bundle - Represents a Position Bundle account, which includes multiple bundled positions.
- Increase
Liquidity Instruction - Represents the instructions and quote for increasing liquidity in a position.
- Initialized
Cyclone - Represents an initialized pool.
- Initialized
Pool - Represents an initialized pool.
- NewConfig
- NewVortex
- Open
Position Instruction - Represents the instructions and quote for opening a liquidity position.
- Parsed
Token Account - Route
Exact InInstructions - Swap
Instructions - Represents the instructions and quote for executing a token swap.
- Uninitialized
Cyclone - Represents an uninitialized pool.
- Uninitialized
Pool - Represents an uninitialized pool.
Enums§
- Cyclone
Info - Represents information about a pool, either initialized or uninitialized.
- Cyclone
Swap Quote - Represents the quote for a swap operation.
- Cyclone
Swap Type - Represents the type of a swap operation.
- Decrease
Liquidity Param - Represents the parameters for decreasing liquidity in a pool.
- Increase
Liquidity Param - Represents the parameters for increasing liquidity in a position.
- Native
Mint Wrapping Strategy - Defines the strategy for handling SOL wrapping in a transaction.
- Pool
Info - Represents information about a pool, either initialized or uninitialized.
- Position
OrBundle - Represents either a standalone Position account or a Position Bundle account.
- Swap
Quote - Represents the quote for a swap operation.
- Swap
Type - Represents the type of a swap operation.
- Vortex
Config Input - Input type for setting the Vortex configuration.
Constants§
- DEFAULT_
FUNDER - The default funder for the Vortex program.
- DEFAULT_
NATIVE_ MINT_ WRAPPING_ STRATEGY - The default SOL wrapping strategy.
- DEFAULT_
SLIPPAGE_ TOLERANCE_ BPS - The default slippage tolerance, expressed in basis points. Value of 100 is equivalent to 1%.
- ECHO_
TICK_ SPACING - The tick spacing for the ECHO pool.
Statics§
- FUNDER
- The currently selected funder for the Vortex program.
- NATIVE_
MINT_ WRAPPING_ STRATEGY - The currently selected SOL wrapping strategy.
- SLIPPAGE_
TOLERANCE_ BPS - The currently selected slippage tolerance, expressed in basis points.
- VORTEX_
CONFIG_ ADDRESS - The currently selected address for the Vortex program’s config account.
- VORTEX_
CONFIG_ EXTENSION_ ADDRESS - The currently selected address for the Vortex program’s config extension account.
Functions§
- close_
position_ instructions - Generates instructions to close a liquidity position.
- collect_
cyclone_ fees_ instructions - create_
concentrated_ liquidity_ pool_ instructions - Creates the necessary instructions to initialize a Concentrated Liquidity Pool (CLMM).
- create_
echo_ instructions - Creates the necessary instructions to initialize a Echo Pool.
- cyclone_
swap_ instructions - Generates the instructions necessary to execute a token swap.
- decrease_
liquidity_ instructions - Generates instructions to decrease liquidity from an existing position.
- fetch_
concentrated_ liquidity_ pool - Fetches the details of a specific Concentrated Liquidity Pool.
- fetch_
cyclone - Fetches the details of a specific Echo Pool.
- fetch_
cyclone_ by_ token_ pair - Fetches all possible liquidity pools between two token mints in Valiant Vortex.
- fetch_
echo - Fetches the details of a specific Echo Pool.
- fetch_
positions_ for_ owner - Fetches all positions owned by a given wallet in the Valiant Vortex.
- fetch_
positions_ in_ vortex - Fetches all positions associated with a specific Vortex.
- fetch_
vortex_ by_ token_ pair - Fetches all possible liquidity pools between two token mints in Valiant Vortex.
- get_
account_ data_ size - Get the size of the account data for a token account
- get_
increase_ liquidity_ quote - graduate_
cyclone_ instructions - harvest_
position_ instructions - Generates instructions to harvest a position.
- increase_
liquidity_ instructions - Generates instructions to increase liquidity for an existing position.
- open_
full_ range_ position_ instructions - Opens a full-range position in a liquidity pool.
- open_
position_ instructions - Opens a position in a liquidity pool within a specific price range.
- order_
mints - Orders two mint addresses by their canonical byte order.
- reset_
configuration - Resets the configuration to its default values.
- resize_
config - resize_
vortex - route_
exact_ in_ instructions - set_
default_ cyclone_ bonding_ curve - set_
default_ cyclone_ fee_ rate - set_
default_ cyclone_ graduation_ creator_ fee_ rate - set_
default_ cyclone_ graduation_ fee_ rate - set_
default_ cyclone_ protocol_ fee_ rate - set_
funder - Sets the currently selected funder for the Vortex program.
- set_
native_ mint_ wrapping_ strategy - Sets the currently selected SOL wrapping strategy.
- set_
slippage_ tolerance_ bps - Sets the currently selected slippage tolerance, expressed in basis points.
- set_
vortex_ config_ address - Sets the currently selected address for the Vortex program’s config account.
- setup_
cyclone_ fee_ tier - swap_
instructions - Generates the instructions necessary to execute a token swap.