# Developers

- [Technical Reference](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference.md)
- [Core](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core.md)
- [BonsaiswapV3Factory](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/bonsaiswapv3factory.md)
- [BonsaiswapV3Pool](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/bonsaiswapv3pool.md)
- [BonsaiswapV3PoolDeployer](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/bonsaiswapv3pooldeployer.md)
- [Interfaces](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces.md)
- [IERC20Minimal](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/ierc20minimal.md)
- [IBonsaiswapV3Factory](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/ibonsaiswapv3factory.md)
- [IBonsaiswapV3Pool](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/ibonsaiswapv3pool.md)
- [IBonsaiswapV3PoolDeployer](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/ibonsaiswapv3pooldeployer.md)
- [callback](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/callback.md)
- [IBonsaiswapV3FlashCallback](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/callback/ibonsaiswapv3flashcallback.md)
- [IBonsaiswapV3MintCallback](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/callback/ibonsaiswapv3mintcallback.md)
- [IBonsaiswapV3SwapCallback](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/callback/ibonsaiswapv3swapcallback.md)
- [Pool](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/pool.md)
- [IBonsaiswapV3PoolActions](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/pool/ibonsaiswapv3poolactions.md)
- [IBonsaiswapV3PoolDerivedState](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/pool/ibonsaiswapv3poolderivedstate.md)
- [IBonsaiswapV3PoolEvents](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/pool/ibonsaiswapv3poolevents.md)
- [IBonsaiswapV3PoolImmutables](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/pool/ibonsaiswapv3poolimmutables.md)
- [IBonsaiswapV3PoolOwnerActions](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/pool/ibonsaiswapv3poolowneractions.md)
- [IBonsaiswapV3PoolState](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/interfaces/pool/ibonsaiswapv3poolstate.md)
- [Libraries](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries.md)
- [BitMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/bitmath.md)
- [FixedPoint128](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/fixedpoint128.md)
- [FixedPoint96](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/fixedpoint96.md)
- [FullMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/fullmath.md)
- [LiquidityMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/liquiditymath.md)
- [LowGasSafeMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/lowgassafemath.md)
- [Oracle](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/oracle.md)
- [Position](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/position.md)
- [SafeCast](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/safecast.md)
- [SecondsOutside](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/secondsoutside.md)
- [SqrtPriceMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/sqrtpricemath.md)
- [SwapMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/swapmath.md)
- [Tick](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/tick.md)
- [TickBitmap](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/tickbitmap.md)
- [TickMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/tickmath.md)
- [TransferHelper](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/transferhelper.md)
- [UnsafeMath](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/core/libraries/unsafemath.md)
- [Periphery](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery.md)
- [Base](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base.md)
- [BlockTimestamp](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/blocktimestamp.md)
- [ERC721Permit](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/erc721permit.md)
- [LiquidityManagement](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/liquiditymanagement.md)
- [Multicall](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/multicall.md)
- [PeripheryImmutableState](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/peripheryimmutablestate.md)
- [PeripheryPayments](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/peripherypayments.md)
- [PeripheryPaymentsWithFee](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/peripherypaymentswithfee.md)
- [PoolInitializer](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/poolinitializer.md)
- [SelfPermit](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/base/selfpermit.md)
- [Interfaces](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces.md)
- [IERC20Metadata](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/ierc20metadata.md)
- [IERC721Permit](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/ierc721permit.md)
- [IMulticall](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/imulticall.md)
- [INonfungiblePositionManager](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/inonfungiblepositionmanager.md)
- [INonfungibleTokenPositionDescriptor](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/inonfungibletokenpositiondescriptor.md)
- [IPeripheryImmutableState](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iperipheryimmutablestate.md)
- [IPeripheryPayments](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iperipherypayments.md)
- [IPeripheryPaymentsWithFee](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iperipherypaymentswithfee.md)
- [IPoolInitializer](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/ipoolinitializer.md)
- [IQuoter](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iquoter.md)
- [IQuoterV2](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iquoterv2.md)
- [ISelfPermit](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iselfpermit.md)
- [ISwapRouter](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iswaprouter.md)
- [ITickLens](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/iticklens.md)
- [external](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/external.md)
- [IERC1271](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/external/ierc1271.md)
- [IERC20PermitAllowed](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/external/ierc20permitallowed.md)
- [IWETH9](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/interfaces/external/iweth9.md)
- [Lens](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/lens.md)
- [Quoter](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/lens/quoter.md)
- [QuoterV2](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/lens/quoterv2.md)
- [TickLens](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/lens/ticklens.md)
- [Libraries](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries.md)
- [Base64](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/base64.md)
- [BytesLib](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/byteslib.md)
- [CallbackValidation](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/callbackvalidation.md)
- [ChainId](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/chainid.md)
- [HexStrings](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/hexstrings.md)
- [LiquidityAmounts](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/liquidityamounts.md)
- [NFTDescriptor](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/nftdescriptor.md)
- [NFTSVG](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/nftsvg.md)
- [OracleLibrary](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/oraclelibrary.md)
- [Path](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/path.md)
- [PoolAddress](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/pooladdress.md)
- [PoolTicksCounter](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/pooltickscounter.md)
- [PositionKey](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/positionkey.md)
- [TokenRatioSortOrder](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/tokenratiosortorder.md)
- [TransferHelper](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/transferhelper.md)
- [WeightedOracleLibrary](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/libraries/weightedoraclelibrary.md)
- [NonfungiblePositionManager](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/nonfungiblepositionmanager.md)
- [NonfungibleTokenPositionDescriptor](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/nonfungibletokenpositiondescriptor.md)
- [SwapRouter](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/swaprouter.md)
- [V3Migrator](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/periphery/v3migrator.md)
- [Deployment Addresses](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/deployment-addresses.md)
- [Error Codes](https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers/technical-reference/error-codes.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bonsaiswap.gitbook.io/bonsaiswap-docs/developers.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.
