github.com/status-im/status-go@v1.1.0/contracts/uniswapV3/interfaces/pool/IUniswapV3PoolOwnerActions.sol (about)

     1  // SPDX-License-Identifier: GPL-2.0-or-later
     2  pragma solidity >=0.5.0;
     3  
     4  /// @title Permissioned pool actions
     5  /// @notice Contains pool methods that may only be called by the factory owner
     6  interface IUniswapV3PoolOwnerActions {
     7      /// @notice Set the denominator of the protocol's % share of the fees
     8      /// @param feeProtocol0 new protocol fee for token0 of the pool
     9      /// @param feeProtocol1 new protocol fee for token1 of the pool
    10      function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) external;
    11  
    12      /// @notice Collect the protocol fee accrued to the pool
    13      /// @param recipient The address to which collected protocol fees should be sent
    14      /// @param amount0Requested The maximum amount of token0 to send, can be 0 to collect fees in only token1
    15      /// @param amount1Requested The maximum amount of token1 to send, can be 0 to collect fees in only token0
    16      /// @return amount0 The protocol fee collected in token0
    17      /// @return amount1 The protocol fee collected in token1
    18      function collectProtocol(
    19          address recipient,
    20          uint128 amount0Requested,
    21          uint128 amount1Requested
    22      ) external returns (uint128 amount0, uint128 amount1);
    23  }