Transaction Hash:
Block:
12391411 at May-08-2021 04:08:05 AM +UTC
Transaction Fee:
0.190468476 ETH
$770.41
Gas Used:
5,290,791 Gas / 36 Gwei
Emitted Events:
160 |
UniswapV2Pair.Approval( owner=[Sender] 0xa25696f8b49c7ca500c21b0024dd97069815f345, spender=[Receiver] V3Migrator, value=107783866172408179413 )
|
161 |
UniswapV3Factory.PoolCreated( token0=FetchToken, token1=WETH9, fee=3000, tickSpacing=60, pool=0x744159757cac173a7a3ecf5e97adb10d1a725377 )
|
162 |
0x744159757cac173a7a3ecf5e97adb10d1a725377.0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95( 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95, 000000000000000000000000000000000000000003487ac8573f1bf81a865481, fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeaba4 )
|
163 |
UniswapV2Pair.Transfer( from=[Sender] 0xa25696f8b49c7ca500c21b0024dd97069815f345, to=UniswapV2Pair, value=107783866172408179413 )
|
164 |
UniswapV2Pair.Transfer( from=UniswapV2Pair, to=0x0000000000000000000000000000000000000000, value=107783866172408179413 )
|
165 |
FetchToken.Transfer( from=UniswapV2Pair, to=[Receiver] V3Migrator, value=12385599299160459401972 )
|
166 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] V3Migrator, wad=2037130439024604610 )
|
167 |
UniswapV2Pair.Sync( reserve0=235241060004945135413579, reserve1=38691444173958564829 )
|
168 |
UniswapV2Pair.Burn( sender=[Receiver] V3Migrator, amount0=12385599299160459401972, amount1=2037130439024604610, to=[Receiver] V3Migrator )
|
169 |
FetchToken.Approval( owner=[Receiver] V3Migrator, spender=NonfungiblePositionManager, value=12385599299160459401972 )
|
170 |
WETH9.Approval( src=[Receiver] V3Migrator, guy=NonfungiblePositionManager, wad=2037130439024604610 )
|
171 |
FetchToken.Transfer( from=[Receiver] V3Migrator, to=0x744159757cac173a7a3ecf5e97adb10d1a725377, value=12385599299160459401972 )
|
172 |
FetchToken.Approval( owner=[Receiver] V3Migrator, spender=NonfungiblePositionManager, value=0 )
|
173 |
WETH9.Transfer( src=[Receiver] V3Migrator, dst=0x744159757cac173a7a3ecf5e97adb10d1a725377, wad=511108808008631391 )
|
174 |
0x744159757cac173a7a3ecf5e97adb10d1a725377.0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde( 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde, 0x000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88, 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeab74, 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeac64, 000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88, 000000000000000000000000000000000000000000000385515256dedfd3af9b, 00000000000000000000000000000000000000000000029f6cb80cde72435af4, 0000000000000000000000000000000000000000000000000717d2c0beed845f )
|
175 |
NonfungiblePositionManager.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0xa25696f8b49c7ca500c21b0024dd97069815f345, tokenId=10178 )
|
176 |
NonfungiblePositionManager.IncreaseLiquidity( tokenId=10178, liquidity=16626376251992706363291, amount0=12385599299160459401972, amount1=511108808008631391 )
|
177 |
WETH9.Approval( src=[Receiver] V3Migrator, guy=NonfungiblePositionManager, wad=0 )
|
178 |
WETH9.Withdrawal( src=[Receiver] V3Migrator, wad=1526021631015973219 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1F98431c...6ea31F984 | (Uniswap V3: Factory) | ||||
0x4042A04c...6C02a330b | |||||
0x74415975...d1a725377 | (Uniswap V3: FET) |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
| ||
0xA25696f8...69815F345 |
1.01070399469671764 Eth
Nonce: 278
|
2.346257149712690859 Eth
Nonce: 279
| 1.335553155015973219 | ||
0xaea46A60...7EF41Ad85 | |||||
0xC02aaA39...83C756Cc2 | 6,688,716.876853352283840205 Eth | 6,688,715.350831721267866986 Eth | 1.526021631015973219 | ||
0xC36442b4...7Ab11FE88 | |||||
0xc8F595E2...25223b7C9
Miner
| (Miner: 0xc8F...7C9) | 879.554165630668323959 Eth | 879.744634106668323959 Eth | 0.190468476 |
Execution Trace
V3Migrator.multicall( data=[85lcZwAAAAAAAAAAAAAAAEBCoExU7xM6wqPJPbadQ8bAKjMLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF1803OGyhqtUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYJYXZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAco6KrlB1sbasmvkfk0hz/UZw5Z8cOz+L8BNOTJLo3zmUw8refCTf5DLIIbh5155km3SD+0NFOihYTunuupc/zmg==, E+rVYgAAAAAAAAAAAAAAAK6kamA2invQYO7H34y6Q7fvQa2FAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALuAAAAAAAAAAAAAAAAAAAAAAAAAAAA0h6yFc/G/gahlSB, 1E8r8gAAAAAAAAAAAAAAAEBCoExU7xM6wqPJPbadQ8bAKjMLAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAF1803OGyhqtUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZAAAAAAAAAAAAAAAAK6kamA2invQYO7H34y6Q7fvQa2FAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALuP///////////////////////////////////////qt0///////////////////////////////////////+rGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAofswPfwQr5wFgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbYRPn/7OJLAAAAAAAAAAAAAAAAolaW+LScfKUAwhsAJN2XBpgV80UAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYJYXZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB] ) => ( results=[, AAAAAAAAAAAAAAAAdEFZdXysFzp6Ps9el62xDRpyU3c=, ] )
V3Migrator.selfPermit( token=0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b, value=107783866172408179413, deadline=1620449124, v=28, r=A3A2AB941D6C6DAB26BE47E4D21CFF519C3967C70ECFE2FC04D39324BA37CE65, s=30F2B79F0937F90CB2086E1E75E79926DD20FED0D14E8A1613BA7BAEA5CFF39A )
UniswapV2Pair.permit( owner=0xA25696f8B49c7CA500c21B0024dD97069815F345, spender=0xA5644E29708357803b5A882D272c41cC0dF92B34, value=107783866172408179413, deadline=1620449124, v=28, r=A3A2AB941D6C6DAB26BE47E4D21CFF519C3967C70ECFE2FC04D39324BA37CE65, s=30F2B79F0937F90CB2086E1E75E79926DD20FED0D14E8A1613BA7BAEA5CFF39A )
-
Null: 0x000...001.f967f9df( )
-
V3Migrator.createAndInitializePoolIfNecessary( token0=0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85, token1=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, fee=3000, sqrtPriceX96=1016077512822787702622934145 ) => ( pool=0x744159757caC173A7A3eCf5e97ADB10d1a725377 )
-
UniswapV3Factory.getPool( 0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 3000 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV3Factory.createPool( tokenA=0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85, tokenB=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, fee=3000 ) => ( pool=0x744159757caC173A7A3eCf5e97ADB10d1a725377 )
Uniswap V3: FET.61016060( )
-
UniswapV3Factory.STATICCALL( )
-
-
Uniswap V3: FET.f637731d( )
-
V3Migrator.migrate( params=[{name:pair, type:address, order:1, indexed:false, value:0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b, valueString:0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b}, {name:liquidityToMigrate, type:uint256, order:2, indexed:false, value:107783866172408179413, valueString:107783866172408179413}, {name:percentageToMigrate, type:uint8, order:3, indexed:false, value:100, valueString:100}, {name:token0, type:address, order:4, indexed:false, value:0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85, valueString:0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85}, {name:token1, type:address, order:5, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:fee, type:uint24, order:6, indexed:false, value:3000, valueString:3000}, {name:tickLower, type:int24, order:7, indexed:false, value:-87180, valueString:-87180}, {name:tickUpper, type:int24, order:8, indexed:false, value:-86940, valueString:-86940}, {name:amount0Min, type:uint256, order:9, indexed:false, value:11952103323689843322902, valueString:11952103323689843322902}, {name:amount1Min, type:uint256, order:10, indexed:false, value:493219999728329291, valueString:493219999728329291}, {name:recipient, type:address, order:11, indexed:false, value:0xA25696f8B49c7CA500c21B0024dD97069815F345, valueString:0xA25696f8B49c7CA500c21B0024dD97069815F345}, {name:deadline, type:uint256, order:12, indexed:false, value:1620449124, valueString:1620449124}, {name:refundAsETH, type:bool, order:13, indexed:false, value:true, valueString:True}] )
-
UniswapV2Pair.transferFrom( from=0xA25696f8B49c7CA500c21B0024dD97069815F345, to=0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b, value=107783866172408179413 ) => ( True )
UniswapV2Pair.burn( to=0xA5644E29708357803b5A882D272c41cC0dF92B34 ) => ( amount0=12385599299160459401972, amount1=2037130439024604610 )
-
FetchToken.balanceOf( account=0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b ) => ( 247626659304105594815551 )
-
WETH9.balanceOf( 0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b ) => ( 40728574612983169439 )
-
UniswapV2Factory.STATICCALL( )
-
FetchToken.transfer( recipient=0xA5644E29708357803b5A882D272c41cC0dF92B34, amount=12385599299160459401972 ) => ( True )
-
WETH9.transfer( dst=0xA5644E29708357803b5A882D272c41cC0dF92B34, wad=2037130439024604610 ) => ( True )
-
FetchToken.balanceOf( account=0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b ) => ( 235241060004945135413579 )
-
WETH9.balanceOf( 0x4042A04c54eF133aC2a3C93DB69d43C6C02a330b ) => ( 38691444173958564829 )
-
-
FetchToken.approve( spender=0xC36442b4a4522E871399CD717aBDD847Ab11FE88, amount=12385599299160459401972 ) => ( True )
-
WETH9.approve( guy=0xC36442b4a4522E871399CD717aBDD847Ab11FE88, wad=2037130439024604610 ) => ( True )
NonfungiblePositionManager.mint( params=[{name:token0, type:address, order:1, indexed:false, value:0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85, valueString:0xaea46A60368A7bD060eec7DF8CBa43b7EF41Ad85}, {name:token1, type:address, order:2, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:fee, type:uint24, order:3, indexed:false, value:3000, valueString:3000}, {name:tickLower, type:int24, order:4, indexed:false, value:-87180, valueString:-87180}, {name:tickUpper, type:int24, order:5, indexed:false, value:-86940, valueString:-86940}, {name:amount0Desired, type:uint256, order:6, indexed:false, value:12385599299160459401972, valueString:12385599299160459401972}, {name:amount1Desired, type:uint256, order:7, indexed:false, value:2037130439024604610, valueString:2037130439024604610}, {name:amount0Min, type:uint256, order:8, indexed:false, value:11952103323689843322902, valueString:11952103323689843322902}, {name:amount1Min, type:uint256, order:9, indexed:false, value:493219999728329291, valueString:493219999728329291}, {name:recipient, type:address, order:10, indexed:false, value:0xA25696f8B49c7CA500c21B0024dD97069815F345, valueString:0xA25696f8B49c7CA500c21B0024dD97069815F345}, {name:deadline, type:uint256, order:11, indexed:false, value:1620449124, valueString:1620449124}] ) => ( tokenId=10178, liquidity=16626376251992706363291, amount0=12385599299160459401972, amount1=511108808008631391 )
-
Uniswap V3: FET.STATICCALL( )
Uniswap V3: FET.3c8a7d8d( )
-
FetchToken.balanceOf( account=0x744159757caC173A7A3eCf5e97ADB10d1a725377 ) => ( 0 )
-
WETH9.balanceOf( 0x744159757caC173A7A3eCf5e97ADB10d1a725377 ) => ( 0 )
NonfungiblePositionManager.uniswapV3MintCallback( amount0Owed=12385599299160459401972, amount1Owed=511108808008631391, data=0x000000000000000000000000AEA46A60368A7BD060EEC7DF8CBA43B7EF41AD85000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000000000000000000000000000000000000000000BB8000000000000000000000000A5644E29708357803B5A882D272C41CC0DF92B34 )
-
FetchToken.transferFrom( sender=0xA5644E29708357803b5A882D272c41cC0dF92B34, recipient=0x744159757caC173A7A3eCf5e97ADB10d1a725377, amount=12385599299160459401972 ) => ( True )
-
WETH9.transferFrom( src=0xA5644E29708357803b5A882D272c41cC0dF92B34, dst=0x744159757caC173A7A3eCf5e97ADB10d1a725377, wad=511108808008631391 ) => ( True )
-
-
FetchToken.balanceOf( account=0x744159757caC173A7A3eCf5e97ADB10d1a725377 ) => ( 12385599299160459401972 )
-
WETH9.balanceOf( 0x744159757caC173A7A3eCf5e97ADB10d1a725377 ) => ( 511108808008631391 )
-
-
Uniswap V3: FET.514ea4bf( )
-
-
WETH9.approve( guy=0xC36442b4a4522E871399CD717aBDD847Ab11FE88, wad=0 ) => ( True )
WETH9.withdraw( wad=1526021631015973219 )
- ETH 1.526021631015973219
V3Migrator.CALL( )
- ETH 1.526021631015973219
- ETH 1.526021631015973219
0xa25696f8b49c7ca500c21b0024dd97069815f345.CALL( )
-
multicall[Multicall (ln:444)]
delegatecall[Multicall (ln:447)]
revert[Multicall (ln:450)]
revert[Multicall (ln:454)]
decode[Multicall (ln:454)]
File 1 of 7: V3Migrator
File 2 of 7: UniswapV2Pair
File 3 of 7: UniswapV3Factory
File 4 of 7: FetchToken
File 5 of 7: WETH9
File 6 of 7: NonfungiblePositionManager
File 7 of 7: UniswapV2Factory
12345678910111213141516// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity =0.7.6;pragma abicoder v2;import '@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol';import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';import './interfaces/INonfungiblePositionManager.sol';import './libraries/TransferHelper.sol';import './interfaces/IV3Migrator.sol';import './base/PeripheryImmutableState.sol';import './base/Multicall.sol';import './base/SelfPermit.sol';import './interfaces/external/IWETH9.sol';import './base/PoolInitializer.sol';/// @title Uniswap V3 Migratorcontract V3Migrator is IV3Migrator, PeripheryImmutableState, PoolInitializer, Multicall, SelfPermit {using LowGasSafeMath for uint256;
File 2 of 7: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma solidity >=0.5.0;interface IUniswapV2Pair {event Approval(address indexed owner, address indexed spender, uint value);event Transfer(address indexed from, address indexed to, uint value);function name() external pure returns (string memory);function symbol() external pure returns (string memory);function decimals() external pure returns (uint8);function totalSupply() external view returns (uint);function balanceOf(address owner) external view returns (uint);function allowance(address owner, address spender) external view returns (uint);function approve(address spender, uint value) external returns (bool);
File 3 of 7: UniswapV3Factory
12345678910111213141516// SPDX-License-Identifier: BUSL-1.1pragma solidity =0.7.6;import './interfaces/IUniswapV3Factory.sol';import './UniswapV3PoolDeployer.sol';import './NoDelegateCall.sol';import './UniswapV3Pool.sol';/// @title Canonical Uniswap V3 factory/// @notice Deploys Uniswap V3 pools and manages ownership and control over pool protocol feescontract UniswapV3Factory is IUniswapV3Factory, UniswapV3PoolDeployer, NoDelegateCall {/// @inheritdoc IUniswapV3Factoryaddress public override owner;/// @inheritdoc IUniswapV3Factorymapping(uint24 => int24) public override feeAmountTickSpacing;/// @inheritdoc IUniswapV3Factorymapping(address => mapping(address => mapping(uint24 => address))) public override getPool;constructor() {
File 4 of 7: FetchToken
12345678910111213141516// SPDX-License-Identifier: Apache-2.0pragma solidity 0.6.2;/*** @dev Library for managing* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive* types.** Sets have the following properties:** - Elements are added, removed, and checked for existence in constant time* (O(1)).* - Elements are enumerated in O(n). No guarantees are made on the ordering.** ```* contract Example {
File 5 of 7: WETH9
12345678910111213141516// Copyright (C) 2015, 2016, 2017 Dapphub// This program is free software: you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation, either version 3 of the License, or// (at your option) any later version.// This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the// GNU General Public License for more details.// You should have received a copy of the GNU General Public License// along with this program. If not, see <http://www.gnu.org/licenses/>.pragma solidity ^0.4.18;
File 6 of 7: NonfungiblePositionManager
12345678910111213141516// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity =0.7.6;pragma abicoder v2;import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';import '@uniswap/v3-core/contracts/libraries/FixedPoint128.sol';import '@uniswap/v3-core/contracts/libraries/FullMath.sol';import './interfaces/INonfungiblePositionManager.sol';import './interfaces/INonfungibleTokenPositionDescriptor.sol';import './libraries/PositionKey.sol';import './libraries/PoolAddress.sol';import './base/LiquidityManagement.sol';import './base/PeripheryImmutableState.sol';import './base/Multicall.sol';import './base/ERC721Permit.sol';import './base/PeripheryValidation.sol';import './base/SelfPermit.sol';
File 7 of 7: UniswapV2Factory
12345678910111213141516pragma solidity =0.5.16;interface IUniswapV2Factory {event PairCreated(address indexed token0, address indexed token1, address pair, uint);function feeTo() external view returns (address);function feeToSetter() external view returns (address);function getPair(address tokenA, address tokenB) external view returns (address pair);function allPairs(uint) external view returns (address pair);function allPairsLength() external view returns (uint);function createPair(address tokenA, address tokenB) external returns (address pair);function setFeeTo(address) external;function setFeeToSetter(address) external;