BTB Finance for agents

Protocols / Dexs

Turbos Finance

Concentrated-liquidity (Uniswap-v3-style CLMM) DEX on Sui. Agents can quote and execute swaps, open/adjust/close LP positions (NFTs), and collect fees and rewards through Move calls or the official TypeScript SDK (turbos-clmm-sdk).

On-chainMIXED7 contractsWebsite · Docs

get_protocol({ "protocol": "turbos" })

Risks an agent should know

What an agent can do

swapSwap one coin for another.
SDK: q = sdk.trade.computeSwapResultV2({pools:[{pool, a2b, amountSpecified}], address, amountSpecifiedIsInput:true}); tx = sdk.trade.swap({routes:[{pool, a2b, nextTickIndex: sdk.math.bitsToNumber(q[0].tick_current_index.bits)}], coinTypeA, coinTypeB, address, amountA, amountB: q[0].amount_b, amountSpecifiedIsInput:true, slippage:"0.5"}); sign and execute. Direct: moveCall <published-at>::swap_router::swap_a_b (or swap_b_a) with the pool type args.
add liquidityOpen a CLMM position (NFT).
position_manager::mint with pool, Positions 0xf576…e52d, coin vectors, tick range (abs + is_neg), desired/min amounts, recipient, deadline (ms), clock 0x6, Versioned 0xf1cf…5b6f; or sdk.pool.addLiquidity.
remove liquidityWithdraw from a position.
position_manager::decrease_liquidity then collect (and collect_reward per reward index); burn the NFT when empty. SDK: removeLiquidity / decreaseLiquidity.
find a poolLocate the pool object for a pair/fee tier.
sdk.pool.getPools() or read the PoolConfig (0xc294…170c) pools table; pool type is Pool<CoinA, CoinB, FeeType>.

Contracts

sui

ContractAddressKey functionsTry
Turbos CLMM package (latest, published-at)
router · proxy
0xa5a0c25c79e428eba04fb98b3fb2a34db45ab26d4c8faf0d7e39d66a63891e64
source
writeswap_router::swap_a_b<CoinTypeA,CoinTypeB,FeeType>(pool: &mut Pool<A,B,Fee>, coins_a: vector<Coin<A>>, amount: u64, amount_threshold: u64, sqrt_price_limit: u128, is_exact_in: bool, recipient: address, deadline: u64, clock: &Clock, versioned: &Versioned, ctx)
writeswap_router::swap_b_a<CoinTypeA,CoinTypeB,FeeType>(pool: &mut Pool<A,B,Fee>, coins_b: vector<Coin<B>>, amount: u64, amount_threshold: u64, sqrt_price_limit: u128, is_exact_in: bool, recipient: address, deadline: u64, clock: &Clock, versioned: &Versioned, ctx)
writeswap_router::swap_a_b_with_return_<A,B,Fee>(...same args as swap_a_b) -> (Coin<B>, Coin<A>)
writeswap_router::swap_b_a_with_return_<A,B,Fee>(...same args as swap_b_a) -> (Coin<A>, Coin<B>)
writeswap_router::swap_a_b_b_c<CoinTypeA,FeeTypeA,CoinTypeB,FeeTypeB,CoinTypeC>(pool_a: &mut Pool<A,B,FeeA>, pool_b: &mut Pool<B,C,FeeB>, coins_a: vector<Coin<A>>, amount: u64, amount_threshold: u64, sqrt_price_limit_a: u128, sqrt_price_limit_b: u128, is_exact_in: bool, recipient: address, deadline: u64, clock, versioned, ctx)
readpool_fetcher::compute_swap_result<A,B,Fee>(pool: &mut Pool<A,B,Fee>, a_to_b: bool, amount_specified: u128, amount_specified_is_input: bool, sqrt_price_limit: u128, clock: &Clock, versioned: &Versioned, ctx) -> ComputeSwapState
writeposition_manager::mint<A,B,Fee>(pool: &mut Pool<A,B,Fee>, positions: &mut Positions, coins_a: vector<Coin<A>>, coins_b: vector<Coin<B>>, tick_lower_index: u32, tick_lower_index_is_neg: bool, tick_upper_index: u32, tick_upper_index_is_neg: bool, amount_a_desired: u64, amount_b_desired: u64, amount_a_min: u64, amount_b_min: u64, recipient: address, deadline: u64, clock: &Clock, versioned: &Versioned, ctx)
writeposition_manager::increase_liquidity<A,B,Fee>(pool: &mut Pool<A,B,Fee>, positions: &mut Positions, coins_a: vector<Coin<A>>, coins_b: vector<Coin<B>>, nft: &mut TurbosPositionNFT, amount_a_desired: u64, amount_b_desired: u64, amount_a_min: u64, amount_b_min: u64, deadline: u64, clock: &Clock, versioned: &Versioned, ctx)
+7 more via get_protocol
Turbos CLMM package (original id, used in type names)
other · proxy
0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1
source
PoolConfig (shared object, pool registry)
factory
0xc294552b2765353bcafa7c359cd28fd6bc237662e5db8f09877558d81669170c
source
Positions (shared object, position manager)
other
0xf5762ae5ae19a2016bb233c72d9a4b2cba5a302237a82724af66292ae43ae52d
source
Versioned (shared object, passed to every call)
other
0xf1cf0e81048df168ebeb1b8030fad24b3e0b53ae827c25053fff0779c1445b6f
source
Turbos Automated Rebalance Vault package (latest)
vault · proxy
0x0ca0dbe2da5ea7c7b0d0d0796e7918413f9328c4e4bf72e2f6bcd8bf3c993c45
source
TURBOS token (coin type)
token
0x5d1f47ea69bb0de31c313d7acf89b890dbb8991ea8e03c6c355171f84bb1ba4a::turbos::TURBOS
source

APIs

turbos-clmm-sdk (npm)
auth: none
https://www.npmjs.com/package/turbos-clmm-sdk
Official TypeScript SDK: sdk.pool.getPools/getPool, sdk.trade.computeSwapResultV2 (quote) and sdk.trade.swap (builds the swap Transaction), sdk.pool.addLiquidity/increaseLiquidity/decreaseLiquidity/removeLiquidity, collectFee/collectReward, vault helpers. Init: new TurbosSdk(Network.mainnet).
Turbos contract config
auth: none
https://app.turbos.finance/sdk/contract.json
Official JSON of current package ids, shared objects and fee-tier Fee object ids for mainnet/testnet; the SDK reads it (sdk.contract.getConfig()). Re-read it after upgrades instead of hard-coding the published-at id.
Turbos Move interface
auth: none
https://github.com/turbos-finance/turbos-sui-move-interface
Move stubs for calling Turbos CLMM from your own package (tag mainnet-v0.1.8).

Notes

Sui is not one of the registry VM types, so vm = "mixed"; the VM is the Sui Move VM and chainId is null. Ids are Sui object/package ids. Mainnet ids come from the official Dev Overview table and the official contract.json (both agree); all were checked on Sui mainnet via GraphQL on 2026-11-25 (PoolConfig, Positions, Versioned are shared objects of the expected 0x91bf… types; the package exposes the listed functions with the listed parameters). Fee-tier Fee objects (needed only to create pools): 10bps 0x49dcf28ac3b5480e65bee812ad2d6e60108ab8037d5a815c3c11bbe7bc47c270, 500bps 0xdfcd1043f54fef3aa649eccd4d0b2b09a3da6c87a8a62736467b686268869365, 3000bps 0x6bc433c8604f58272155d0c65327ae0b316f63869e5de3846f70aef4625d8c46, 10000bps 0xd30c41ec4b4d0eb9b30b0b898c53f81cd53a9eb0f75b5d3273584cd874b2d4c4; full list (100, 1000, 1500, 2000, 2500, 7500, 20000, 40000 bps) in contract.json. The SDK getConfig doc example shows an older PackageId (0x2476…16c8); use contract.json. Vault objects (VaultGlobalConfig 0x2994c75a2ab419adfe16e143bf45ad44c3a5ccfc07c8fe8e31f7c883c8d84c2b, VaultRewarderManager, VaultUserTierConfig) are in contract.json; vault Move functions are not documented beyond the SDK, so no keyFunctions are given (use the SDK vault methods). Not included: Turbos Fun (bonding-curve launchpad, parrot_fun::buy/sell) because its package and config ids are not on an official page; Turbos OMM page is empty; TURBOS on BNB Chain (0xA1E6410bF311C03429B37A76a80C8A5E61616e7F per the token page) is out of scope of the Sui DEX entry. Individual pool ids are not listed: discover them from PoolConfig or the SDK.

Sources

Researched 2026-11-24. Addresses are copied from the official sources above; check them before moving large amounts.