Перейти к содержимому
Проверенный контрактЧастичноеBUSL-1.1

UniswapV3Pool

Адрес0xe331de28cd81b768c19a366b0e4e4675c45ec2da
Баланс

0 ETH

 

Транзакций

9

 

Компилятор

solc 0.7.6

 

Тот же код

ещё 31 750 контрактов

 

Подробности

Компилятор
solc 0.7.6+commit.7338295f
Язык
solidity
Оптимизация
Да, 800 прогонов
Версия EVM
istanbul
Лицензия
BUSL-1.1
Совпадение
Частичноекод создания: да, код в сети: да
Проверен на Sourcify
Создан в блоке
12 377 321
Транзакция создания
0xebb8abf0cd…2076aad614
Основная копия (больше всего транзакций)
0xe0554a47…6d32939f

96 файлов

Исходный код большой: показывается один файл. Выберите файл в списке.

./contracts/interfaces/callback/IUniswapV3FlashCallback.sol

// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;

/// @title Callback for IUniswapV3PoolActions#flash
/// @notice Any contract that calls IUniswapV3PoolActions#flash must implement this interface
interface IUniswapV3FlashCallback {
    /// @notice Called to `msg.sender` after transferring to the recipient from IUniswapV3Pool#flash.
    /// @dev In the implementation you must repay the pool the tokens sent by flash plus the computed fee amounts.
    /// The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory.
    /// @param fee0 The fee amount in token0 due to the pool by the end of the flash
    /// @param fee1 The fee amount in token1 due to the pool by the end of the flash
    /// @param data Any data passed through by the caller via the IUniswapV3PoolActions#flash call
    function uniswapV3FlashCallback(
        uint256 fee0,
        uint256 fee1,
        bytes calldata data
    ) external;
}
Настройки компилятораПоказать
{
  "metadata": {
    "bytecodeHash": "none"
  },
  "libraries": {},
  "optimizer": {
    "runs": 800,
    "enabled": true
  },
  "evmVersion": "istanbul",
  "remappings": []
}

Исходный код и метаданные: Sourcify.

Исходный код принадлежит авторам контракта.