alculator | 0xF81A3067ACF683B7f2f40a22bCF17c8310be2330 |
| BrokerLiquidator | 0x3AA647a1e902833b61E503DbBFbc58992daa4868 |
| LisUSD Vault | 0xE03D86e5Baa3509AC4A059A41737bAa8169B6529 |
# BSC Smart Lending
## Factory & Pool Info
| Contract | Address |
| ------------------ | ------------------------------------------ |
| StableSwapFactory | 0xDE9c8E1536989d8c3817afDabC37C0fb44cB49b4 |
| StableSwapPoolInfo | 0x73D2623C8497421B55234e6B25fB744625557a1A |
## slisBNB / BNB
| Contract | Address |
| ------------------------------------------------- | ------------------------------------------ |
| StableSwapLPCollateral | 0x719f6445cdAC08B84611D0F19d733F57214bcfee |
| StableSwapPool | 0x3DcEA6AFBA8af84b25F1f8947058AF1ac4c06131 |
| StableSwapLP | 0x1bc8b041c1b89b0109E56f2Eb197B5c09BCC1Cf0 |
| SmartProvider | 0xC3be83DE4b19aFC4F6021Ea5011B75a3542024dE |
| StableSwapPool (lisAster/ASTER) | 0x510D69b25A2177EDdCe9becdB0A66a511C944840 |
| StableSwapLP (lisAster/ASTER) | 0x0f84dD5EBfceb6fE65B1552A310a000349278068 |
| StableSwapLPCollateral (lisAster & ASTER-SmartLP) | 0xC970dc3aF680C2F316b821842E5782a05e886a90 |
| SmartProvider (lisAster & ASTER-SmartLP) | 0x1cc913Cde4dF80d271230F615482c1270c0a56C8 |
## solvBTC / BTCB
| Contract | Address |
| ---------------------- | ------------------------------------------ |
| StableSwapLPCollateral | 0x6f4d7532A402D76F552E1F047Ff7e23bFe1A9f03 |
| StableSwapPool | 0x45409865870f0CBC71c01CC00fF8c0b2DE3EB7D9 |
| StableSwapLP | 0x3F5AF48B4A3Ac89177cA6aFb59E5469F7ef5cE45 |
| SmartProvider | 0xA5F53ca56d87d7d4fEC508665D23f29bfb2749DB |
## U / USDT
| Contract | Address |
| ---------------------- | ------------------------------------------ |
| StableSwapPool | 0x6783a05B98Cb83c3f456197A035b9C17a9d57388 |
| StableSwapLP | 0x0F6E7eb2700BC499448008841a61c3aBd820c95d |
| StableSwapLPCollateral | 0xbBD3e74E69e6BDDDA8e5AAdC1460611A8f7cd05a |
| SmartProvider | 0x9994D77E5cdcAD9f9055b13402A7BF8C24d4C841 |
## USDC / USDT
| Contract | Address |
| ---------------------- | ------------------------------------------ |
| StableSwapPool | 0xF5448fC2bEB9324900d08225fE4530bA3bBf654f |
| StableSwapLP | 0xF6136d7e72446C724ecAeef514AE7B2ab4dbb60B |
| StableSwapLPCollateral | 0x23BC296d67619eA11C9a8B49B8C396B798AF3330 |
| SmartProvider | 0x5fD3971104cF3bAB1dC89EF904Da26F54f75C06B |
## USDC / USDT (Narrow Pair)
| Contract | Address |
| -------------- | ------------------------------------------ |
| StableSwapPool | 0x529E7aE9474a9F871D3C32aF15Ea2D2A4168eF28 |
| StableSwapLP | 0x30b6880e7D8F006E0a04E01B8EAb3a1bA288644d |
## USD1 / USDT
| Contract | Address |
| ---------------------- | ------------------------------------------ |
| StableSwapPool | 0x723ccd2FB5897673Ad108706578886baA15d7242 |
| StableSwapLP | 0x639526a3fAdcB1b1b4B9512592E9bcD3b47E9e2B |
| StableSwapLPCollateral | 0x091e6Ed7794d74b73081D32cAb59fa47ff15418d |
| SmartProvider | 0x791cd65F2B8cB7cA3a6c1C4D28A0b23D8E566495 |
## lisUSD / USDT
| Contract | Address |
| ---------------------- | ------------------------------------------ |
| StableSwapPool | 0x8df7891fb2Cb3e98C7AB3cfB4d9A59FbCC63c956 |
| StableSwapLP | 0x05f657273A8bc6612E0f20E1C2E947dFEF9fFcAA |
| StableSwapLPCollateral | 0x6c7EbA17dDB5D0435FCFb9053BB3087c1d10beB3 |
| SmartProvider | 0x6A39B04f8a7DB71Cee17f9978004C028bfF2e144 |
# BSC Oracles
PTLinearDiscountOracle contracts for principal token pricing.
## Stock Oracle
Oracle contracts for tokenized stock price feeds.
| Contract | Address |
| ----------------- | ------------------------------------------ |
| StockOracle | 0x526D09c604A17D98cb1f260a7774A239990dbDfb |
| StockOracleSwitch | 0xb4678C3E8B49d2b95Da48458f98805da193A8498 |
## PT-sUSDE / PT-USDe (2025 Maturity)
| Contract | Quote Asset | Address |
| ------------------------------------------- | ----------- | ------------------------------------------ |
| PTLinearDiscountOracle (PT-sUSDE-26JUN2025) | USDe | 0x56007BD39899bb2bEbC4086a64b5B9B7832614C6 |
| PTLinearDiscountOracle (PT-sUSDE-26JUN2025) | USDT | 0x89852C82e4a7aa41c7691b374d5D5Ef8487eC370 |
| PTLinearDiscountOracle (PT-sUSDE-26JUN2025) | USD1 | 0xFd31ADF830Fd68d3E646792917e4dDB1d9AB5665 |
| PTLinearDiscountOracle (PT-USDe-7AUG2025) | USDT | 0x1CCEfa30385d5Fd7c6259362eC110e403974d7A2 |
| PTLinearDiscountOracle (PT-USDe-7AUG2025) | USD1 | 0x2311F923Ca3FdCfF03522700b482644A929dDE70 |
## PT-clisBNB
| Contract | Address |
| -------------------------------------------------- | ------------------------------------------ |
| PTLinearDiscountPriceOracle (PT-clisBNB-30OCT2025) | 0x1a438f71bc56514F47142c96A8f580AB5767aC17 |
## PT-USR / PT-Sigma
| Contract | Quote | Address |
| ---------------------------------------------------------- | ----- | ------------------------------------------ |
| PTLinearDiscountOracle (PT-USR-27NOV2025) | USD1 | 0xC36a8F8Ad34A68942979bb50B7792862eFb59cF3 |
| PTLinearDiscountOracle (PT-USR-27NOV2025) | USDT | 0x01ccc0f0ae8907bD3EFA947B2Ce841082Bcce29f |
| PTLinearDiscountOracle (PT-Sigma-Stability-Pool-25SEP2025) | USD1 | 0x68A892d8bC5A41503534C86F7F20a72322A2CDB1 |
| PTLinearDiscountOracle (PT-Sigma-Stability-Pool-25SEP2025) | USDT | 0x39D5348B0363AC9D0d4168Bac9A5B8A1E9DBd511 |
## PendleSpark
| Contract | Address |
| -------------------------------------------------- | ------------------------------------------ |
| PendleSparkLinearDiscountOracle (PT-USDe-7AUG2025) | 0x91D6887f588BFcbC824b9994418867077e1cB59F |
## OFT-PT-USDe
| Contract | Quote | Address |
| ---------------------------------------------- | ----- | ------------------------------------------ |
| PTLinearDiscountOracle (OFT-PT-USDe-05Feb2026) | USD1 | 0x1d25Dd52fd8A509719cBb983f04FAe5B7D00eC86 |
| PTLinearDiscountOracle (OFT-PT-USDe-05Feb2026) | USDT | 0x155e987d0d48Ac35D3C2F2c3B16664944D918bA5 |
## PT-USDe-09Apr2026 (Plasma)
| Contract | Quote | Address |
| --------------------------------------------------- | ----- | ------------------------------------------ |
| PTLinearDiscountOracle (PT-USDe-09Apr2026-(Plasma)) | USD1 | 0x9A7B029b2Fb0fF2CbA4b8d5C0753862fbD027a63 |
| PTLinearDiscountOracle (PT-USDe-09Apr2026-(Plasma)) | USDT | 0x784554Ac9fd7474488aEF89618F9bB549400f748 |
| PTLinearDiscountOracle (PT-USDe-09Apr2026-(Plasma)) | U | 0x9bb8A4190EE7568Dc3E68A95e8b0afA692B478d0 |
| PTLinearDiscountOracle (PT-sUSDe-09Apr2026(Plasma)) | USD1 | 0x9B7FAE34238E37dF77d35559eF62995c066B5e11 |
| PTLinearDiscountOracle (PT-sUSDe-09Apr2026(Plasma)) | USDT | 0xd69E4BF784185139994eeb3F0Db9Ea307d31FDdB |
| PTLinearDiscountOracle (PT-sUSDe-09Apr2026(Plasma)) | U | 0x09E664516C91461d8ed58C934Af48048D2534fe9 |
## PT-USDe-07May2026
| Contract | Quote | Address |
| ------------------------------------------ | ----- | ------------------------------------------ |
| PTLinearDiscountOracle (PT-USDe-07May2026) | USD1 | 0xB2477a5c274d1E23111Bf86fD9130dd411E522B8 |
| PTLinearDiscountOracle (PT-USDe-07May2026) | USDT | 0xcaBe73db8650eBD169e2C41ceeCa01406B191151 |
| PTLinearDiscountOracle (PT-USDe-07May2026) | U | 0x80C9BA83fC7495dC7721a1903522587b1021A0BE |
## PT-srUSDe-02ARP2026
| Contract | Quote | Address |
| -------------------------------------------- | ----- | ------------------------------------------ |
| PTLinearDiscountOracle (PT-srUSDe-02ARP2026) | USD1 | 0x301B8285cc11357BD4FbFa98d56591e1320BcD6c |
| PTLinearDiscountOracle (PT-srUSDe-02ARP2026) | USDT | 0x6606cC0A12EA21002c39C3ee018F0Bdb9A2A39B2 |
| PTLinearDiscountOracle (PT-srUSDe-02ARP2026) | U | 0x64f9de3C60bf5ff2e8BC824781F1Dfb7A8766F76 |
# BSC Credit
Credit lending related contracts. See [Credit Loans](/for-developer/credit-loans) for product documentation.
| Contract | Address |
| --------------------------------------------- | ------------------------------------------ |
| CreditToken | 0x1f9831626CE85909794eEaA5C35BF34DB3eB52d8 |
| CreditBroker | 0x2A6704D56BDedF4c7564C9534D7fa8D8D204D578 |
| CreditBrokerInterestRelayer | 0xBd94C4E931c1a15941B6273A952Af322891adC47 |
| CreditBrokerInfo | 0x8E58Eb6Eba37ff00BF920Da0DD7Dd63a6576dD63 |
| MoolahVault (Credit Vault) | 0x4E82Fa869F8D05c8F94900d4652Fdb82f3C7A004 |
| LendingRewardsDistributorV2 (Credit Emission) | 0xC003fb7485ec58a24F26abcAf7646707AbC4886C |
# Ethereum
| Contract | Address |
| ------------------------------------------------- | ------------------------------------------ |
| Moolah | 0xf820fB4680712CD7263a0D3D024D5b5aEA82Fd70 |
| MoolahVault(USD1) | 0x1A9BeE2F5c85F6b4a0221fB1C733246AF5306Ae3 |
| MoolahVault(USDT) | 0x28643FFD79256719D6AcbCF25Cb44576cAeBCf12 |
| MoolahVault(USDC) | 0x9651Ae50a5763c6f9B883f9d50e8116281CFcab2 |
| IRM | 0x8b7d334d243b74D63C4b963893267A0F5240F990 |
| FixedRateIRM | 0x9A7cA2CfB886132B6024789163e770979E4222e1 |
| Liquidator | 0x5Bf5c3B5f5c29dBC647d2557Cc22B00ED29f301C |
| PublicLiquidator | 0x796302e041d1715a8b1f16Fd7d7CBA38bb031DE5 |
| Manager TimeLock | 0x375fdA2Bf66f4CE85EAB29AB6407dCd4a4C428BA |
| Admin TimeLock | 0xa18ae79AEDA3e711E0CD64cfe1Cd06402d400D61 |
| LendingFeeRecipient | 0xd10a024602E042dcb9C19e21682c3b896c8B0d30 |
| PTLinearDiscountOracle (PT-USDe-27NOV2025 / USD1) | 0xb169d2459F51d02d7fC8A39498ec2801652b594c |
| ResilientOracle | 0xA64FE284EB8279B9b63946DD51813b0116099301 |
| BoundValidator | 0x3127b40bd2E591BFa088CA98b92ED9a41dD370a1 |
| ETHProvider | 0xFe34BF713F3C2499026cdFA5af43eb22AA2d1aDb |
| StableSwapFactory | 0xF6c9ffA64bD0aE8a068dd7b7d954c654A3E7F8a6 |
| StableSwapPoolInfo | 0xd2231A59936E39d48f5C0D735bF073C7ee3dE02A |
| StableSwapLPCollateral (ETH & wstETH-SmartLP) | 0xDB8aAB8a0b28F3ceAaC07E749559C45fAc8B775c |
| StableSwapLPCollateral (USDT & USDC-SmartLP) | 0x0c1BFFa53Cf93220381D88C8FA1bf823a932Aa23 |
| StableSwapLPCollateral (USDT & USD1-SmartLP) | 0x986325959E84a46361D4A4CF18b9e95F2206405B |
| StableSwapLPCollateral (WBTC & cbBTC-SmartLP) | 0x5432E4FE5736B9B7ddc1Be34ac45bdB557f2bE22 |
| StableSwapLPCollateral (USDT & USDe-SmartLP) | 0xCC28Aa85f146F28Fc3F47B28334BE3Cc3646EA16 |
| StableSwapLPCollateral (USDC & USDe-SmartLP) | 0xE830a2F63eeE5d3cEaDEda0C138cc176B037dae8 |
| StableSwapLP (ETH & wstETH-LP) | 0x6905809790F8D33B3414B88d23A0CFf7Ec194E59 |
| StableSwapLP (USDT & USDC-LP) | 0x923C67CeD114dd7341e65C0e2be47f3b0927d667 |
| StableSwapLP (USDT & USD1-LP) | 0xA7ABa0A4603d274D2536AE21cF6AbE7aa7293d9e |
| StableSwapLP (WBTC & cbBTC-LP) | 0x6Ee2d8B77f5559d88057738821951a855EB5F123 |
| StableSwapLP (USDT & USDe-LP) | 0x0d893A28e0E5cc661866Eb63C3451BEE590387C3 |
| StableSwapLP (USDC & USDe-LP) | 0x0c7E7C34512AB591545db02e4Fd7fE0a7B84A34F |
| StableSwapPool (ETH / wstETH pool) | 0x23072d031d5Af614395C8E58B7f7e91F003b331a |
| StableSwapPool (USDT / USDC pool) | 0x35c9a4DaE1ff05788f24B5B32721D89340CBB636 |
| StableSwapPool (USDT / USD1 pool) | 0xD46Bfa2B03A8467d3fe1685D8d79eb195CB19675 |
| StableSwapPool (WBTC / cbBTC pool) | 0x94E4A9f24A954047adB3AD4434bf1174F6824e16 |
| StableSwapPool (USDT / USDe pool) | 0x56a475772Fc0a63752Bc16ddC7e2F7a38eb97f86 |
| StableSwapPool (USDC / USDe pool) | 0xA838D405c6E62b1E030ABE802fA42b2Eb307Cb78 |
| SmartProvider (ETH & wstETH) | 0x92729237Ce941142c686f908136bFA93E9aC935c |
| SmartProvider (USDT & USDC) | 0x50dce7e3b24510Ec6eC2F7ad3b2035aa32861aeC |
| SmartProvider (USDT & USD1) | 0x61864d70C652D7a6a4fc4Fc5aFb6b7FebDC4B194 |
| SmartProvider (WBTC & cbBTC) | 0x893666d84B374f96Ab500f56728283eeBB94A9ac |
| SmartProvider (USDT & USDe) | 0xDfdB56a9e2F68c74Fca76c95E852D920890b36D4 |
| SmartProvider (USDC & USDe) | 0x6Ae702D18B0fCff0deB7273d4453E9AF67EC153B |
| MoolahVaultFactory | 0xa91D9E7343d7EEe8Ed2C8f55e9162827850A7F17 |
| MarketFactory | 0xA2ff080D4c0b71B6c8796129DD4aCc0B09D7592c |
| RateCalculator | 0xeA00cE2992656A0F1DeDf3bBF082A3c725477796 |
| BrokerLiquidator | 0x0aEfEC58e6339c663E80306e38fFEBbAe0820C70 |
| MoolahVault (WETH) | 0x2E3BbD03DbC6D890c8c7e06BE4e065c5c0EeE7e8 |
| ListaRevenueDistributor | 0x0fe5741e8dFe53618c4056F745fad531118640D9 |
| BrokerInterestRelayer | 0xeBf4A1f9EF14De6C69F3F60881314372A31C056a |
| LendingBroker (wBETH/WETH) | 0x2B7cb7Fe6C545e23cb96f2B8E7e5120fF9e16444 |
| LendingBroker (wstETH/WETH) | 0x39acab377A7cA24c1BF4B2AE5294F57519d8719B |
| BatchManagementUtils | 0xe0830369D616410B80f8591267771D76E244d419 |
| BrokerInterestLockBuffer | 0x85616B54C80fA11285567DFCD073BF24cA6aD7fa |
| LiquidationVault | 0xC1D8F6072D8a987BCbB675dc4805E8A2dE604899 |
| RevenueCollector | 0x8a6e34A7860dD9C46770635fe3Da4073C56f8131 |
| BrokerInterestLockBuffer (USDT vault) | 0xf307A2DFcE4A64ceA2960241d387e3e671eE6762 |
| BrokerInterestLockBuffer (USDC vault) | 0xf9eb9EDCe360D98240dB4F72B9665a37789593Dc |
| BrokerInterestRelayer (USDT vault) | 0x2d3097F1dd408be90dBF8200b08d9F5f7a43F764 |
| BrokerInterestRelayer (USDC vault) | 0xDBd85270726a03d8cFb086Ca4B35B0715d16F358 |
| LendingBroker (sUSDS/USDT) | 0x1961ef66C252cDCB09FaF464Ea1360Ca4bb4269C |
| LendingBroker (sUSDS/USDC) | 0x0780b0E16C6d60798AFee808633f1E91665b403a |
| StableSwapPool | 0x0a935ea575bf50CE8DC0FF61ae24B21BbcCfc554 |
| StableSwapLP | 0x12d0218A282Fc449Eb910B39b47527296664A522 |
| StableSwapPool | 0x2Bc918B6D3CB09cD415fA3AC74CE582F4Cd853e4 |
| StableSwapLP | 0x65cB8747a87AFD4AEF50221F97DEC0F058F185Ba |
| StableSwapLPCollateral | 0xB2ebbe4FC0c37425cFDE99c7693a87e6c902987D |
| SmartProvider | 0x7F9DbdD3941FB9d33cfFeCf75F1bEfF147863021 |
| StableSwapLPCollateral | 0x4772B3356791F8e584200429909f7295EF16E9Fd |
| SmartProvider | 0x94A58615a100604fDE7fcac44258A5cD4B7c79e7 |
| PositionManager | 0x6d9eD2A68c2759DA53A74D6a85Cd486737257A82 |
# V3 Dex
## Overview
Lista V3 Dex is a concentrated-liquidity automated market maker (AMM) on BNB Smart Chain. Liquidity providers concentrate capital within chosen price ranges (tick ranges) rather than across the full price curve, and each liquidity position is held as an ERC-721 NFT. These are not the pools behind Smart Lending — that product takes **StableSwap** LP as collateral through `SmartProvider`; see [Smart Lending & StableSwap](/for-developer/lista-lending/stableswap-integration). The protocol is a Uniswap V3 fork, so the canonical Uniswap V3 model and tooling apply directly.
## Contents
* [Architecture & Mechanics](/for-developer/dex/mechanics) — Lista-specific deployment details (fee tiers, NFT name, upgradeable position manager, pool init-code hash) and how to build against the V3 fork.
* [Smart Contract](/for-developer/dex/smart-contract) — deployed addresses.
# Architecture & Mechanics
Lista V3 Dex is a concentrated-liquidity automated market maker (AMM) deployed on BNB Smart Chain.
> **Lista V3 is a fork of Uniswap V3.** The canonical Uniswap V3 model, math, contract interfaces, and SDKs (e.g. `@uniswap/v3-sdk`, `@uniswap/sdk-core`) apply directly. Contracts are renamed (`ListaV3Factory`, `ListaV3Pool`) but their interfaces, events, and behaviour match Uniswap V3. Four things differ in Lista's deployment and will break a copied V3 integration if you miss them: the enabled fee tiers, the NFT name, an upgradeable position manager, and — for off-chain address derivation — a Lista-specific pool init-code hash (see [Building on Lista V3](#building-on-lista-v3)). For the underlying math, use the Uniswap V3 whitepaper.
For deployed contract addresses see [Smart Contract](/for-developer/dex/smart-contract).
## Component contracts
| Contract | Role |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ProxyAdmin` | Admin of the upgradeable proxies in the deployment (e.g. the position manager). |
| `ListaV3Factory` | Deploys and registers one pool per `(token0, token1, fee)` tuple; owns the enabled fee-tier → tick-spacing table. |
| `ListaV3Pool` | The core AMM contract for a single pair + fee tier. Holds liquidity, `slot0` price/tick state, fee accumulators, ticks, and positions. Created by the factory. |
| `NonfungiblePositionManager` | Periphery contract that wraps liquidity positions as ERC-721 NFTs and handles mint / increase / decrease / collect / burn. Deployed behind a transparent proxy. |
| `NonfungibleTokenPositionDescriptor` | Renders on-chain token metadata (`tokenURI`) for position NFTs. |
| `SwapRouter` | Periphery contract for executing single-hop and multi-hop swaps with slippage and deadline protection. |
The `*Pool` rows in [Smart Contract](/for-developer/dex/smart-contract) are individual pools deployed by the factory, not a singleton — every distinct `(token0, token1, fee)` combination is its own `ListaV3Pool` instance.
## AMM model
### Factory → Pool
A pool is uniquely identified by the ordered token pair and the fee tier. Tokens are sorted by address so that `token0 < token1`; the factory stores the pool both ways in `getPool[token0][token1][fee]`.
```solidity
// ListaV3Factory
function createPool(address tokenA, address tokenB, uint24 fee) external returns (address pool);
function getPool(address tokenA, address tokenB, uint24 fee) external view returns (address pool);
function feeAmountTickSpacing(uint24 fee) external view returns (int24);
event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool);
```
`createPool` derives `tickSpacing` from the fee tier, deploys the pool deterministically, and emits `PoolCreated`. A newly created pool must be initialized once via `initialize(sqrtPriceX96)` before liquidity can be added. The pool address is deterministic (CREATE2 from the pool key), but Lista's pools have their own bytecode, so off-chain derivation must use **Lista's** pool init-code hash — not Uniswap's — or simply read `factory.getPool(token0, token1, fee)`. See [Building on Lista V3](#building-on-lista-v3) for the hash.
### Positions as ERC-721 (NonfungiblePositionManager)
Liquidity positions are minted as ERC-721 NFTs. The collection is named **`Lista V3 Positions NFT`** with symbol **`LISTA-V3`**. Unlike Uniswap's immutable position manager, the Lista deployment is an upgradeable contract (transparent proxy + `initialize()`); the ERC-721 token semantics are otherwise standard and it supports EIP-712 permit.
```solidity
// params: upstream INonfungiblePositionManager.MintParams, unchanged
function mint(MintParams calldata params)
external payable
returns (uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1);
function increaseLiquidity(IncreaseLiquidityParams calldata params)
external payable returns (uint128 liquidity, uint256 amount0, uint256 amount1);
function decreaseLiquidity(DecreaseLiquidityParams calldata params)
external payable returns (uint256 amount0, uint256 amount1);
function collect(CollectParams calldata params)
external payable returns (uint256 amount0, uint256 amount1);
function burn(uint256 tokenId) external payable;
```
Reading a position returns the full Uniswap V3 position tuple:
```solidity
function positions(uint256 tokenId) external view returns (
uint96 nonce,
address operator,
address token0,
address token1,
uint24 fee,
int24 tickLower,
int24 tickUpper,
uint128 liquidity,
uint256 feeGrowthInside0LastX128,
uint256 feeGrowthInside1LastX128,
uint128 tokensOwed0,
uint128 tokensOwed1
);
```
`tokensOwed0` / `tokensOwed1` are the position's uncollected balance, credited on liquidity changes and realized via `collect`. They hold **more than fees**: `decreaseLiquidity` adds the withdrawn principal to them rather than transferring it, so removing liquidity moves no tokens on its own — a follow-up `collect` is required to receive both the principal and the accrued fees.
### Swaps (SwapRouter)
Swaps are routed through the `SwapRouter`, which supports exact-input and exact-output, single-hop and multi-hop. Single-hop selects a pool by `(tokenIn, tokenOut, fee)`; multi-hop uses a packed `path` (20-byte token, 3-byte fee, 20-byte token, …).
```solidity
// SwapRouter
// params: upstream ISwapRouter.ExactInputSingleParams, unchanged
function exactInputSingle(ExactInputSingleParams calldata params) external payable re프로젝트로 돌아가기