Technical Reference

ABIs and Interface specifications for Spline contracts.

This section details the technical interfaces for each of the relevant Spline contracts. Current version on Starknet mainnet is v0.1.7 .

User interactions with Spline for adding and removing liquidity to a particular Ekubo pool occur through the LiquidityProvider contract. The liquidity provider adds and removes liquidity over multiple tick range positions on the Ekubo pool when the user calls these functions, managing the Ekubo positions for the user. The liquidity provider then mints or burns an associated ERC-20 LiquidityProviderToken to or from the user as the user's share of the total liquidity in the Ekubo pool.

Each liquidity provider contract references a liquidity profile when provisioning liquidity. The LiquidityProfile contract has view functions the liquidity provider queries to make the required update calls to the Ekubo pool according to the specified liquidity profile.

Last updated