# Development FAQ

* [How do I find the contract address for a pool or boosted position?](#how-do-i-find-the-contract-address-for-a-pool-or-boosted-position)
* [Are there testnet addresses for the Maverick contracts?](#are-there-testnet-addresses-for-the-maverick-contracts)
* [How do I calculate `amountOutMinimum`?](#how-do-i-calculate-amountoutminimum)
* [Is there an SDK that will give me the best path for a given trade?](#is-there-an-sdk-that-will-give-me-the-best-path-for-a-given-trade)
* [How do I find the `binID` for a pool?](#how-do-i-find-the-binid-for-a-pool)
* [When calling `removeLiquidity`, how do I find the `binID` and `amount` for a given wallet address?](#when-calling-removeliquidity-how-do-i-find-binid-and-amount-for-a-given-wallet-address)
* [What formula should I use to convert price to tick?](#what-formula-should-i-use-to-convert-price-to-tick)
* [How can I find the balance of an LP's token reserves?](#how-can-i-find-the-balance-of-an-lps-token-reserves)

***

#### How do I find the contract address for a pool or boosted position?

These are all linked on the page for each pool or boosted position.

<figure><img src="https://3522878855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1irpxOULWWoYXAKrwP4H%2Fuploads%2F4t32oRvQXlL5QqJKy6qr%2Fcontractlink.png?alt=media&#x26;token=a163301b-68a4-4f9d-b5af-e16fd1133e34" alt=""><figcaption><p>Click this icon to find the contract address for a pool or boosted position.</p></figcaption></figure>

#### Are there testnet addresses for the Maverick contracts?

The Maverick contracts are available on Ethereum Goerli for testing purposes. These are the same contracts used by Maverick on all networks. All addresses are listed [here](https://docs.mav.xyz/technical-reference/contract-addresses/v1-contract-addresses).

#### How do I calculate `amountOutMinimum`?

The PoolInformation contract has a `calculateSwap` estimator. It will tell you the output you can expect. Then you can set `amountOutMinimum` to a slightly smaller value, in order to limit slippage to a worst case value.<br>

#### Is there an SDK that will give me the best path for a given trade?

All of the aggregators (e.g., Odos, OpenOcean, 1inch, Paraswap) maintain APIs where you can route just through Maverick’s pools and find a best path.

#### How do I find the `binID` for a pool?

Use `binPositions` on the Pool contract: <https://github.com/maverickprotocol/maverick-v1-interfaces/blob/main/contracts/interfaces/IPool.sol#L106>

#### When calling `removeLiquidity`, how do I find `binId` and `amount` for a wallet address?

The PoolInformation contract has a view function that will tell you the `binId` of your positions.  Once you have that, the Pool contract has a `balanceOf` function that will tell you the amount per bin. You can also overestimate and the contract will only return the amount you actually have.

#### What formula should I use to convert `price` to `tick`?

The formula is `log_1.0001(price) = tick * tickSpacing`

#### How can I find the balance of an LP's token reserves?

Please see [this page](https://docs.mav.xyz/technical-reference/finding-lp-balances).
