github.com/status-im/status-go@v1.1.0/contracts/uniswapV3/interfaces/callback/IUniswapV3MintCallback.sol (about) 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 pragma solidity >=0.5.0; 3 4 /// @title Callback for IUniswapV3PoolActions#mint 5 /// @notice Any contract that calls IUniswapV3PoolActions#mint must implement this interface 6 interface IUniswapV3MintCallback { 7 /// @notice Called to `msg.sender` after minting liquidity to a position from IUniswapV3Pool#mint. 8 /// @dev In the implementation you must pay the pool tokens owed for the minted liquidity. 9 /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. 10 /// @param amount0Owed The amount of token0 due to the pool for the minted liquidity 11 /// @param amount1Owed The amount of token1 due to the pool for the minted liquidity 12 /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#mint call 13 function uniswapV3MintCallback( 14 uint256 amount0Owed, 15 uint256 amount1Owed, 16 bytes calldata data 17 ) external; 18 }