Verified contractPartialBUSL-1.1
UniswapV3Pool
Address0x1cc05337fe9bca4fc5d569cfd56df31ceabc2bcb
- Balance
0 ETH
- Transactions
0
- 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
- 16,409,403
- Creation transaction
- 0x3bc924b0d0…ad7673159f
- Main copy (most transactions)
- 0xe0554a47…6d32939f
Read17
- factory() → (address)
- fee() → (uint24)
- feeGrowthGlobal0X128() → (uint256)
- feeGrowthGlobal1X128() → (uint256)
- liquidity() → (uint128)
- maxLiquidityPerTick() → (uint128)
- observations(uint256) → (uint32,int56,uint160,bool)
- observe(uint32[]) → (int56[],uint160[])
- positions(bytes32) → (uint128,uint256,uint256,uint128,uint128)
- protocolFees() → (uint128,uint128)
- slot0() → (uint160,int24,uint16,uint16,uint16,uint8,bool)
- snapshotCumulativesInside(int24,int24) → (int56,uint160,uint32)
- tickBitmap(int16) → (uint256)
- tickSpacing() → (int24)
- ticks(int24) → (uint128,int128,uint256,uint256,int56,uint160,uint32,bool)
- token0() → (address)
- token1() → (address)
Write9
- burn(int24,int24,uint128) → (uint256,uint256)
- collect(address,int24,int24,uint128,uint128) → (uint128,uint128)
- collectProtocol(address,uint128,uint128) → (uint128,uint128)
- flash(address,uint256,uint256,bytes)
- increaseObservationCardinalityNext(uint16)
- initialize(uint160)
- mint(address,int24,int24,uint128,bytes) → (uint256,uint256)
- setFeeProtocol(uint8,uint8)
- swap(address,bool,int256,uint160,bytes) → (int256,int256)
Events9
- Burn(address,int24,int24,uint128,uint256,uint256)
- Collect(address,address,int24,int24,uint128,uint128)
- CollectProtocol(address,address,uint128,uint128)
- Flash(address,address,uint256,uint256,uint256,uint256)
- IncreaseObservationCardinalityNext(uint16,uint16)
- Initialize(uint160,int24)
- Mint(address,address,int24,int24,uint128,uint256,uint256)
- SetFeeProtocol(uint8,uint8,uint8,uint8)
- Swap(address,address,int256,int256,uint160,uint128,int24)
ABI as JSON
[
{
"type": "constructor",
"inputs": [],
"stateMutability": "nonpayable"
},
{
"name": "Burn",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tickLower",
"type": "int24",
"indexed": true,
"internalType": "int24"
},
{
"name": "tickUpper",
"type": "int24",
"indexed": true,
"internalType": "int24"
},
{
"name": "amount",
"type": "uint128",
"indexed": false,
"internalType": "uint128"
},
{
"name": "amount0",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "amount1",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Collect",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "tickLower",
"type": "int24",
"indexed": true,
"internalType": "int24"
},
{
"name": "tickUpper",
"type": "int24",
"indexed": true,
"internalType": "int24"
},
{
"name": "amount0",
"type": "uint128",
"indexed": false,
"internalType": "uint128"
},
{
"name": "amount1",
"type": "uint128",
"indexed": false,
"internalType": "uint128"
}
],
"anonymous": false
},
{
"name": "CollectProtocol",
"type": "event",
"inputs": [
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount0",
"type": "uint128",
"indexed": false,
"internalType": "uint128"
},
{
"name": "amount1",
"type": "uint128",
"indexed": false,
"internalType": "uint128"
}
],
"anonymous": false
},
{
"name": "Flash",
"type": "event",
"inputs": [
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount0",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "amount1",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "paid0",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "paid1",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "IncreaseObservationCardinalityNext",
"type": "event",
"inputs": [
{
"name": "observationCardinalityNextOld",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
},
{
"name": "observationCardinalityNextNew",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
}
],
"anonymous": false
},
{
"name": "Initialize",
"type": "event",
"inputs": [
{
"name": "sqrtPriceX96",
"type": "uint160",
"indexed": false,
"internalType": "uint160"
},
{
"name": "tick",
"type": "int24",
"indexed": false,
"internalType": "int24"
}
],
"anonymous": false
},
{
"name": "Mint",
"type": "event",
"inputs": [
{
"name": "sender",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tickLower",
"type": "int24",
"indexed": true,
"internalType": "int24"
},
{
"name": "tickUpper",
"type": "int24",
"indexed": true,
"internalType": "int24"
},
{
"name": "amount",
"type": "uint128",
"indexed": false,
"internalType": "uint128"
},
{
"name": "amount0",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "amount1",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "SetFeeProtocol",
"type": "event",
"inputs": [
{
"name": "feeProtocol0Old",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
},
{
"name": "feeProtocol1Old",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
},
{
"name": "feeProtocol0New",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
},
{
"name": "feeProtocol1New",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
}
],
"anonymous": false
},
{
"name": "Swap",
"type": "event",
"inputs": [
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "amount0",
"type": "int256",
"indexed": false,
"internalType": "int256"
},
{
"name": "amount1",
"type": "int256",
"indexed": false,
"internalType": "int256"
},
{
"name": "sqrtPriceX96",
"type": "uint160",
"indexed": false,
"internalType": "uint160"
},
{
"name": "liquidity",
"type": "uint128",
"indexed": false,
"internalType": "uint128"
},
{
"name": "tick",
"type": "int24",
"indexed": false,
"internalType": "int24"
}
],
"anonymous": false
},
{
"name": "burn",
"type": "function",
"inputs": [
{
"name": "tickLower",
"type": "int24",
"internalType": "int24"
},
{
"name": "tickUpper",
"type": "int24",
"internalType": "int24"
},
{
"name": "amount",
"type": "uint128",
"internalType": "uint128"
}
],
"outputs": [
{
"name": "amount0",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amount1",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "collect",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "tickLower",
"type": "int24",
"internalType": "int24"
},
{
"name": "tickUpper",
"type": "int24",
"internalType": "int24"
},
{
"name": "amount0Requested",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "amount1Requested",
"type": "uint128",
"internalType": "uint128"
}
],
"outputs": [
{
"name": "amount0",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "amount1",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "nonpayable"
},
{
"name": "collectProtocol",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "amount0Requested",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "amount1Requested",
"type": "uint128",
"internalType": "uint128"
}
],
"outputs": [
{
"name": "amount0",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "amount1",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "nonpayable"
},
{
"name": "factory",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "fee",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint24",
"internalType": "uint24"
}
],
"stateMutability": "view"
},
{
"name": "feeGrowthGlobal0X128",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "feeGrowthGlobal1X128",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "flash",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "amount0",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amount1",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "increaseObservationCardinalityNext",
"type": "function",
"inputs": [
{
"name": "observationCardinalityNext",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "initialize",
"type": "function",
"inputs": [
{
"name": "sqrtPriceX96",
"type": "uint160",
"internalType": "uint160"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "liquidity",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "maxLiquidityPerTick",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "mint",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "tickLower",
"type": "int24",
"internalType": "int24"
},
{
"name": "tickUpper",
"type": "int24",
"internalType": "int24"
},
{
"name": "amount",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "amount0",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "amount1",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "observations",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "blockTimestamp",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "tickCumulative",
"type": "int56",
"internalType": "int56"
},
{
"name": "secondsPerLiquidityCumulativeX128",
"type": "uint160",
"internalType": "uint160"
},
{
"name": "initialized",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "observe",
"type": "function",
"inputs": [
{
"name": "secondsAgos",
"type": "uint32[]",
"internalType": "uint32[]"
}
],
"outputs": [
{
"name": "tickCumulatives",
"type": "int56[]",
"internalType": "int56[]"
},
{
"name": "secondsPerLiquidityCumulativeX128s",
"type": "uint160[]",
"internalType": "uint160[]"
}
],
"stateMutability": "view"
},
{
"name": "positions",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "liquidity",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "feeGrowthInside0LastX128",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeGrowthInside1LastX128",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "tokensOwed0",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "tokensOwed1",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "protocolFees",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "token0",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "token1",
"type": "uint128",
"internalType": "uint128"
}
],
"stateMutability": "view"
},
{
"name": "setFeeProtocol",
"type": "function",
"inputs": [
{
"name": "feeProtocol0",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "feeProtocol1",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "slot0",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "sqrtPriceX96",
"type": "uint160",
"internalType": "uint160"
},
{
"name": "tick",
"type": "int24",
"internalType": "int24"
},
{
"name": "observationIndex",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "observationCardinality",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "observationCardinalityNext",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "feeProtocol",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "unlocked",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "snapshotCumulativesInside",
"type": "function",
"inputs": [
{
"name": "tickLower",
"type": "int24",
"internalType": "int24"
},
{
"name": "tickUpper",
"type": "int24",
"internalType": "int24"
}
],
"outputs": [
{
"name": "tickCumulativeInside",
"type": "int56",
"internalType": "int56"
},
{
"name": "secondsPerLiquidityInsideX128",
"type": "uint160",
"internalType": "uint160"
},
{
"name": "secondsInside",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"name": "swap",
"type": "function",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
},
{
"name": "zeroForOne",
"type": "bool",
"internalType": "bool"
},
{
"name": "amountSpecified",
"type": "int256",
"internalType": "int256"
},
{
"name": "sqrtPriceLimitX96",
"type": "uint160",
"internalType": "uint160"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [
{
"name": "amount0",
"type": "int256",
"internalType": "int256"
},
{
"name": "amount1",
"type": "int256",
"internalType": "int256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "tickBitmap",
"type": "function",
"inputs": [
{
"name": "",
"type": "int16",
"internalType": "int16"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "tickSpacing",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "int24",
"internalType": "int24"
}
],
"stateMutability": "view"
},
{
"name": "ticks",
"type": "function",
"inputs": [
{
"name": "",
"type": "int24",
"internalType": "int24"
}
],
"outputs": [
{
"name": "liquidityGross",
"type": "uint128",
"internalType": "uint128"
},
{
"name": "liquidityNet",
"type": "int128",
"internalType": "int128"
},
{
"name": "feeGrowthOutside0X128",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "feeGrowthOutside1X128",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "tickCumulativeOutside",
"type": "int56",
"internalType": "int56"
},
{
"name": "secondsPerLiquidityOutsideX128",
"type": "uint160",
"internalType": "uint160"
},
{
"name": "secondsOutside",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "initialized",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "token0",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "token1",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.