# LFJ Developer Docs

## Developers Documentation

- [Introduction](https://developers.lfj.gg/intro.md)
- [LB V2.2 Key Changes](https://developers.lfj.gg/key-changes.md)
- [Guides](https://developers.lfj.gg/guides.md)
- [Swap Tokens](https://developers.lfj.gg/guides/swap-tokens.md)
- [Add/Remove Liquidity](https://developers.lfj.gg/guides/add-remove-liquidity.md)
- [Tracking Volume](https://developers.lfj.gg/guides/tracking-volume.md)
- [Tracking Pool Balances](https://developers.lfj.gg/guides/tracking-pool-balances.md)
- [Finding The Best Quote](https://developers.lfj.gg/guides/best-quote.md)
- [Byte32 Decoding](https://developers.lfj.gg/guides/byte-32-decoding.md)
- [Price From Bin Id](https://developers.lfj.gg/guides/price-from-id.md)
- [Bin Id From Price](https://developers.lfj.gg/guides/id-from-price.md)
- [Finding Liquidity Depth](https://developers.lfj.gg/guides/liquidity-depth.md)
- [User Balances](https://developers.lfj.gg/guides/user-balances.md)
- [Concepts](https://developers.lfj.gg/concepts.md)
- [Concentrated Liquidity](https://developers.lfj.gg/concepts/concentrated-liquidity.md)
- [Bin Math](https://developers.lfj.gg/concepts/bin-math.md)
- [Bin Liquidity](https://developers.lfj.gg/concepts/bin-liquidity.md)
- [Swaps](https://developers.lfj.gg/concepts/swaps.md)
- [Fees](https://developers.lfj.gg/concepts/fees.md)
- [Oracle](https://developers.lfj.gg/concepts/oracle.md)
- [Contracts](https://developers.lfj.gg/contracts.md)
- [Interfaces](https://developers.lfj.gg/contracts/interfaces.md)
- [ILBLegacyFactory](https://developers.lfj.gg/contracts/interfaces/ilblegacyfactory.md)
- [ILBLegacyToken](https://developers.lfj.gg/contracts/interfaces/ilblegacytoken.md)
- [ILBLegacyPair](https://developers.lfj.gg/contracts/interfaces/ilblegacypair.md)
- [ILBLegacyRouter](https://developers.lfj.gg/contracts/interfaces/ilblegacyrouter.md)
- [ILBFlashLoanCallback](https://developers.lfj.gg/contracts/interfaces/ilbflashloancallback.md)
- [IPendingOwnable](https://developers.lfj.gg/contracts/interfaces/ipendingownable.md)
- [IJoeFactory](https://developers.lfj.gg/contracts/interfaces/ijoefactory.md)
- [IJoePair](https://developers.lfj.gg/contracts/interfaces/ijoepair.md)
- [IJoeRouter01](https://developers.lfj.gg/contracts/interfaces/ijoerouter01.md)
- [IJoeRouter02](https://developers.lfj.gg/contracts/interfaces/ijoerouter02.md)
- [IWNATIVE](https://developers.lfj.gg/contracts/interfaces/iwnative.md)
- [ILBFactory](https://developers.lfj.gg/contracts/interfaces/ilbfactory.md)
- [ILBHooks](https://developers.lfj.gg/contracts/interfaces/ilbhooks.md)
- [ILBPair](https://developers.lfj.gg/contracts/interfaces/ilbpair.md)
- [ILBRouter](https://developers.lfj.gg/contracts/interfaces/ilbrouter.md)
- [ILBToken](https://developers.lfj.gg/contracts/interfaces/ilbtoken.md)
- [Libraries](https://developers.lfj.gg/contracts/libraries.md)
- [Math](https://developers.lfj.gg/contracts/libraries/math.md)
- [BitMath](https://developers.lfj.gg/contracts/libraries/math/bitmath.md)
- [Encoded](https://developers.lfj.gg/contracts/libraries/math/encoded.md)
- [LiquidityConfigurations](https://developers.lfj.gg/contracts/libraries/math/liquidityconfigurations.md)
- [PackedUint128Math](https://developers.lfj.gg/contracts/libraries/math/packeduint128math.md)
- [SafeCast](https://developers.lfj.gg/contracts/libraries/math/safecast.md)
- [SampleMath](https://developers.lfj.gg/contracts/libraries/math/samplemath.md)
- [TreeMath](https://developers.lfj.gg/contracts/libraries/math/treemath.md)
- [Uint128x128Math](https://developers.lfj.gg/contracts/libraries/math/uint128x128math.md)
- [Uint256x256Math](https://developers.lfj.gg/contracts/libraries/math/uint256x256math.md)
- [BinHelper](https://developers.lfj.gg/contracts/libraries/binhelper.md)
- [Clone](https://developers.lfj.gg/contracts/libraries/clone.md)
- [Constants](https://developers.lfj.gg/contracts/libraries/constants.md)
- [FeeHelper](https://developers.lfj.gg/contracts/libraries/feehelper.md)
- [Hooks](https://developers.lfj.gg/contracts/libraries/hooks.md)
- [ImmutableClone](https://developers.lfj.gg/contracts/libraries/immutableclone.md)
- [JoeLibrary](https://developers.lfj.gg/contracts/libraries/joelibrary.md)
- [OracleHelper](https://developers.lfj.gg/contracts/libraries/oraclehelper.md)
- [PairParameterHelper](https://developers.lfj.gg/contracts/libraries/pairparameterhelper.md)
- [PriceHelper](https://developers.lfj.gg/contracts/libraries/pricehelper.md)
- [ReentrancyGuardUpgradeable](https://developers.lfj.gg/contracts/libraries/reentrancyguardupgradeable.md)
- [TokenHelper](https://developers.lfj.gg/contracts/libraries/tokenhelper.md)
- [LBBaseHooks](https://developers.lfj.gg/contracts/lbbasehooks.md)
- [LBFactory](https://developers.lfj.gg/contracts/lbfactory.md)
- [LBPair](https://developers.lfj.gg/contracts/lbpair.md)
- [LBQuoter](https://developers.lfj.gg/contracts/lbquoter.md)
- [LBRouter](https://developers.lfj.gg/contracts/lbrouter.md)
- [LBToken](https://developers.lfj.gg/contracts/lbtoken.md)
- [Deployment Addresses](https://developers.lfj.gg/deployment-addresses.md)
- [Monad Mainnet](https://developers.lfj.gg/deployment-addresses/monad-mainnet.md)
- [Avalanche C-Chain](https://developers.lfj.gg/deployment-addresses/avalanche.md)
- [Monad Testnet](https://developers.lfj.gg/deployment-addresses/monad_testnet.md)
- [Fuji Testnet](https://developers.lfj.gg/deployment-addresses/fuji.md)
- [Arbitrum One](https://developers.lfj.gg/deployment-addresses/arbitrum.md)
- [Legacy Pools](https://developers.lfj.gg/deployment-addresses/legacy-pools.md)
- [Binance Smart Chain](https://developers.lfj.gg/deployment-addresses/legacy-pools/bsc.md)
- [Binance Smart Chain Testnet](https://developers.lfj.gg/deployment-addresses/legacy-pools/bsc_testnet.md)
- [Ethereum Mainnet](https://developers.lfj.gg/deployment-addresses/legacy-pools/ethereum.md)
- [SDK](https://developers.lfj.gg/sdk.md)
- [Introduction](https://developers.lfj.gg/sdk/intro.md)
- [Making a Trade](https://developers.lfj.gg/sdk/trade.md)
- [Adding Liquidity](https://developers.lfj.gg/sdk/addliquidity.md)
- [Removing Liquidity](https://developers.lfj.gg/sdk/removeliquidity.md)
- [Audits](https://developers.lfj.gg/sdk/audits.md)
- [Introduction to POE](https://developers.lfj.gg/poe/introduction-to-poe.md)
- [Tracking Price](https://developers.lfj.gg/poe/tracking-price.md)
- [Tracking Liquidity](https://developers.lfj.gg/poe/tracking-liquidity.md)
- [Discovering Pools](https://developers.lfj.gg/poe/discovering-pools.md)
- [Making a Swap with POE](https://developers.lfj.gg/poe/making-a-swap-with-poe.md)
- [POE Contracts](https://developers.lfj.gg/poe/poe-contracts.md)
- [CLAP Oracle Formula](https://developers.lfj.gg/poe/clap-oracle-formula.md)
- [Discovering Pools](https://developers.lfj.gg/poe/discovering-pools-1.md)
- [Joe V1 Contracts](https://developers.lfj.gg/amm/contracts.md)
- [Joe V1 Audits](https://developers.lfj.gg/amm/audits.md)
- [Joe V1 Infra](https://developers.lfj.gg/amm/audits/subgraphs.md)
- [API Access Requests](https://developers.lfj.gg/lfj-dex-api/api-access-requests.md)
- [Dex Analytics](https://developers.lfj.gg/lfj-dex-api/dex-analytics.md)
- [Pools](https://developers.lfj.gg/lfj-dex-api/pools.md)
- [Rewards](https://developers.lfj.gg/lfj-dex-api/rewards.md)
- [Token Supply](https://developers.lfj.gg/lfj-dex-api/token-supply.md)
- [User](https://developers.lfj.gg/lfj-dex-api/user.md)
- [Vaults](https://developers.lfj.gg/lfj-dex-api/vaults.md)
- [Models](https://developers.lfj.gg/lfj-dex-api/models.md)
- [API Access Requests](https://developers.lfj.gg/lfj-router-api/api-access-requests.md)
- [LFJ Router API](https://developers.lfj.gg/lfj-router-api/lfj-router-api.md)
- [Models](https://developers.lfj.gg/lfj-router-api/models.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://developers.lfj.gg/intro.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
