Skip to content

Commit

Permalink
feat: update IBinPoolManager doc per PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ChefMist committed Nov 13, 2024
1 parent c921baf commit 19ecc15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pool-bin/interfaces/IBinPoolManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ interface IBinPoolManager is IProtocolFees, IPoolManager, IExtsload {
function initialize(PoolKey memory key, uint24 activeId) external;

/// @notice Add liquidity to a pool
/// @dev For the first liquidity added to a bin, the share minted would be slightly lessser (1e3 lesser) to prevent
/// share inflation attack.
/// @return delta BalanceDelta, will be negative indicating how much total amt0 and amt1 liquidity added
/// @return mintArray Liquidity added in which ids, how much amt0, amt1 and how much liquidity added
function mint(PoolKey memory key, IBinPoolManager.MintParams calldata params, bytes calldata hookData)
Expand Down

0 comments on commit 19ecc15

Please sign in to comment.