# Periphery

- [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)


---

# 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/technical-reference/periphery.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.
