Verified contractPartialBUSL-1.1
UniswapV3Pool
Address0xe35bfbf439d7c37e2df41bf1236ccf1dec0543fd
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.7.6
- Same code
31,750 more contracts
Details
- Compiler
- solc 0.7.6+commit.7338295f
- Language
- solidity
- Optimization
- Yes, 800 runs
- EVM version
- istanbul
- License
- BUSL-1.1
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 21,671,416
- Creation transaction
- 0x5bc0f3e51d…d36b37629e
- Main copy (most transactions)
- 0xe0554a47…6d32939f
96 files
The source code is large: one file is shown at a time. Choose a file in the list.
- contracts/UniswapV3Pool.solmain35.5 KB
- ./contracts/NoDelegateCall.sol1.08 KB
- ./contracts/UniswapV3Pool.sol35.5 KB
- ./contracts/interfaces/IERC20Minimal.sol3.07 KB
- ./contracts/interfaces/IUniswapV3Factory.sol4.04 KB
- ./contracts/interfaces/IUniswapV3Pool.sol809 B
- ./contracts/interfaces/IUniswapV3PoolDeployer.sol1.3 KB
- ./contracts/interfaces/callback/IUniswapV3FlashCallback.sol982 B
- ./contracts/interfaces/callback/IUniswapV3MintCallback.sol980 B
- ./contracts/interfaces/callback/IUniswapV3SwapCallback.sol1.29 KB
- ./contracts/interfaces/pool/IUniswapV3PoolActions.sol6.3 KB
- ./contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol2.6 KB
- ./contracts/interfaces/pool/IUniswapV3PoolEvents.sol5.96 KB
- ./contracts/interfaces/pool/IUniswapV3PoolImmutables.sol1.81 KB
- ./contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol1.19 KB
- ./contracts/interfaces/pool/IUniswapV3PoolState.sol6.51 KB
- ./contracts/libraries/BitMath.sol2.79 KB
- ./contracts/libraries/FixedPoint128.sol311 B
- ./contracts/libraries/FixedPoint96.sol380 B
- ./contracts/libraries/FullMath.sol5.12 KB
- ./contracts/libraries/LiquidityMath.sol622 B
- ./contracts/libraries/LowGasSafeMath.sol1.7 KB
- ./contracts/libraries/Oracle.sol16.41 KB
- ./contracts/libraries/Position.sol3.58 KB
- ./contracts/libraries/SafeCast.sol1.05 KB
- ./contracts/libraries/SqrtPriceMath.sol10.77 KB
- ./contracts/libraries/SwapMath.sol4.63 KB
- ./contracts/libraries/Tick.sol9.52 KB
- ./contracts/libraries/TickBitmap.sol4.11 KB
- ./contracts/libraries/TickMath.sol8.64 KB
- ./contracts/libraries/TransferHelper.sol933 B
- ./contracts/libraries/UnsafeMath.sol660 B
- contracts/@uniswap/v3-core/contracts/NoDelegateCall.sol1.08 KB
- contracts/@uniswap/v3-core/contracts/VitDEXPool.sol35.5 KB
- contracts/@uniswap/v3-core/contracts/interfaces/IERC20Minimal.sol3.07 KB
- contracts/@uniswap/v3-core/contracts/interfaces/IUniswapV3Factory.sol4.04 KB
- contracts/@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol809 B
- contracts/@uniswap/v3-core/contracts/interfaces/IUniswapV3PoolDeployer.sol1.3 KB
- contracts/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol982 B
- contracts/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3MintCallback.sol980 B
- contracts/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.sol1.29 KB
- contracts/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolActions.sol6.3 KB
- contracts/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol2.6 KB
- contracts/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolEvents.sol5.96 KB
- contracts/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolImmutables.sol1.81 KB
- contracts/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol1.19 KB
- contracts/@uniswap/v3-core/contracts/interfaces/pool/IUniswapV3PoolState.sol6.51 KB
- contracts/@uniswap/v3-core/contracts/libraries/BitMath.sol2.79 KB
- contracts/@uniswap/v3-core/contracts/libraries/FixedPoint128.sol311 B
- contracts/@uniswap/v3-core/contracts/libraries/FixedPoint96.sol380 B
- contracts/@uniswap/v3-core/contracts/libraries/FullMath.sol5.13 KB
- contracts/@uniswap/v3-core/contracts/libraries/LiquidityMath.sol622 B
- contracts/@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol1.7 KB
- contracts/@uniswap/v3-core/contracts/libraries/Oracle.sol16.42 KB
- contracts/@uniswap/v3-core/contracts/libraries/Position.sol3.58 KB
- contracts/@uniswap/v3-core/contracts/libraries/SafeCast.sol1.05 KB
- contracts/@uniswap/v3-core/contracts/libraries/SqrtPriceMath.sol10.77 KB
- contracts/@uniswap/v3-core/contracts/libraries/SwapMath.sol4.63 KB
- contracts/@uniswap/v3-core/contracts/libraries/Tick.sol9.71 KB
- contracts/@uniswap/v3-core/contracts/libraries/TickBitmap.sol4.11 KB
- contracts/@uniswap/v3-core/contracts/libraries/TickMath.sol8.65 KB
- contracts/@uniswap/v3-core/contracts/libraries/TransferHelper.sol933 B
- contracts/@uniswap/v3-core/contracts/libraries/UnsafeMath.sol660 B
- contracts/NoDelegateCall.sol1.08 KB
- contracts/UniswapV3Factory.sol2.85 KB
- contracts/UniswapV3PoolDeployer.sol1.41 KB
- contracts/UniswapV3Pool_VerifiedByNG.sol35.51 KB
- contracts/interfaces/IERC20Minimal.sol3.07 KB
- contracts/interfaces/IUniswapV3Factory.sol4.04 KB
- contracts/interfaces/IUniswapV3Pool.sol809 B
- contracts/interfaces/IUniswapV3PoolDeployer.sol1.3 KB
- contracts/interfaces/callback/IUniswapV3FlashCallback.sol982 B
- contracts/interfaces/callback/IUniswapV3MintCallback.sol980 B
- contracts/interfaces/callback/IUniswapV3SwapCallback.sol1.29 KB
- contracts/interfaces/pool/IUniswapV3PoolActions.sol6.3 KB
- contracts/interfaces/pool/IUniswapV3PoolDerivedState.sol2.6 KB
- contracts/interfaces/pool/IUniswapV3PoolEvents.sol5.96 KB
- contracts/interfaces/pool/IUniswapV3PoolImmutables.sol1.81 KB
- contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol1.19 KB
- contracts/interfaces/pool/IUniswapV3PoolState.sol6.51 KB
- contracts/libraries/BitMath.sol2.79 KB
- contracts/libraries/FixedPoint128.sol311 B
- contracts/libraries/FixedPoint96.sol380 B
- contracts/libraries/FullMath.sol5.13 KB
- contracts/libraries/LiquidityMath.sol622 B
- contracts/libraries/LowGasSafeMath.sol1.7 KB
- contracts/libraries/Oracle.sol16.42 KB
- contracts/libraries/Position.sol3.58 KB
- contracts/libraries/SafeCast.sol1.05 KB
- contracts/libraries/SqrtPriceMath.sol10.77 KB
- contracts/libraries/SwapMath.sol4.63 KB
- contracts/libraries/Tick.sol9.71 KB
- contracts/libraries/TickBitmap.sol4.11 KB
- contracts/libraries/TickMath.sol8.65 KB
- contracts/libraries/TransferHelper.sol933 B
- contracts/libraries/UnsafeMath.sol660 B
./contracts/interfaces/IERC20Minimal.sol
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.5.0;
/// @title Minimal ERC20 interface for Uniswap
/// @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3
interface IERC20Minimal {
/// @notice Returns the balance of a token
/// @param account The account for which to look up the number of tokens it has, i.e. its balance
/// @return The number of tokens held by the account
function balanceOf(address account) external view returns (uint256);
/// @notice Transfers the amount of token from the `msg.sender` to the recipient
/// @param recipient The account that will receive the amount transferred
/// @param amount The number of tokens to send from the sender to the recipient
/// @return Returns true for a successful transfer, false for an unsuccessful transfer
function transfer(address recipient, uint256 amount) external returns (bool);
/// @notice Returns the current allowance given to a spender by an owner
/// @param owner The account of the token owner
/// @param spender The account of the token spender
/// @return The current allowance granted by `owner` to `spender`
function allowance(address owner, address spender) external view returns (uint256);
/// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount`
/// @param spender The account which will be allowed to spend a given amount of the owners tokens
/// @param amount The amount of tokens allowed to be used by `spender`
/// @return Returns true for a successful approval, false for unsuccessful
function approve(address spender, uint256 amount) external returns (bool);
/// @notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender`
/// @param sender The account from which the transfer will be initiated
/// @param recipient The recipient of the transfer
/// @param amount The amount of the transfer
/// @return Returns true for a successful transfer, false for unsuccessful
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/// @notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`.
/// @param from The account from which the tokens were sent, i.e. the balance decreased
/// @param to The account to which the tokens were sent, i.e. the balance increased
/// @param value The amount of tokens that were transferred
event Transfer(address indexed from, address indexed to, uint256 value);
/// @notice Event emitted when the approval amount for the spender of a given owner's tokens changes.
/// @param owner The account that approved spending of its tokens
/// @param spender The account for which the spending allowance was modified
/// @param value The new allowance from the owner to the spender
event Approval(address indexed owner, address indexed spender, uint256 value);
}
Compiler settingsShow
{
"metadata": {
"bytecodeHash": "none"
},
"libraries": {},
"optimizer": {
"runs": 800,
"enabled": true
},
"evmVersion": "istanbul",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.