Skip to content

Commit

Permalink
Update IPoolManager.mdx (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
azanux authored Nov 7, 2024
1 parent 2afab76 commit c181c55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/contracts/v4/reference/core/IPoolManager.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Used in the `swap` function to define the behavior of our swap.
## initialize

```solidity
function initialize(PoolKey memory key, uint160 sqrtPriceX96, bytes calldata hookData)
function initialize(PoolKey memory key, uint160 sqrtPriceX96)
external
returns (int24 tick);
```
Expand All @@ -41,7 +41,6 @@ Initialize a new pool by defining its parameters: token pair, fee tier, tick spa
|---------------|-----------|--------------------------------------------------|
| key | PoolKey | The key defining the pool to initialize |
| sqrtPriceX96 | uint160 | The initial sqrt price of the pool as a Q64.96 value |
| hookData | bytes | Any additional data to pass to our hook contract on the before/after initialization hooks |

Returns the initial tick value of the pool.

Expand Down Expand Up @@ -115,4 +114,4 @@ Donates the specified currency amounts to the pool.
| amount1 | uint256 | The amount of token1 to donate |
| hookData | bytes | Any data to pass to a hook contract on the before/afterDonate hooks|

Returns the balance delta representing the donated amounts.
Returns the balance delta representing the donated amounts.

0 comments on commit c181c55

Please sign in to comment.