Transaction Hash:
Block:
12379302 at May-06-2021 07:02:57 AM +UTC
Transaction Fee:
0.185554775 ETH
$573.53
Gas Used:
5,301,565 Gas / 35 Gwei
Emitted Events:
86 |
UniswapV2Pair.Approval( owner=[Sender] 0xcf8b4de779c0c55b10986b62c4c1f970daf34a5b, spender=[Receiver] V3Migrator, value=366424506611454374560 )
|
87 |
UniswapV3Factory.PoolCreated( token0=GamerCoin, token1=WETH9, fee=10000, tickSpacing=200, pool=0xdeaf677af91ec0655124860e1a15177aee86303e )
|
88 |
0xdeaf677af91ec0655124860e1a15177aee86303e.0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95( 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95, 000000000000000000000000000000000000000003046b38556016c51410bdbf, fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea50b )
|
89 |
UniswapV2Pair.Transfer( from=[Sender] 0xcf8b4de779c0c55b10986b62c4c1f970daf34a5b, to=UniswapV2Pair, value=366424506611454374560 )
|
90 |
UniswapV2Pair.Transfer( from=UniswapV2Pair, to=0x0000000000000000000000000000000000000000, value=366424506611454374560 )
|
91 |
GamerCoin.Transfer( from=UniswapV2Pair, to=[Receiver] V3Migrator, value=32995965507306953656604 )
|
92 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] V3Migrator, wad=4583725163146426121 )
|
93 |
UniswapV2Pair.Sync( reserve0=167405596653664217880605, reserve1=23255608194371950493 )
|
94 |
UniswapV2Pair.Burn( sender=[Receiver] V3Migrator, amount0=32995965507306953656604, amount1=4583725163146426121, to=[Receiver] V3Migrator )
|
95 |
GamerCoin.Approval( owner=[Receiver] V3Migrator, spender=NonfungiblePositionManager, value=32995965507306953656604 )
|
96 |
WETH9.Approval( src=[Receiver] V3Migrator, guy=NonfungiblePositionManager, wad=4583725163146426121 )
|
97 |
GamerCoin.Transfer( from=[Receiver] V3Migrator, to=0xdeaf677af91ec0655124860e1a15177aee86303e, value=32995965507306953656603 )
|
98 |
GamerCoin.Approval( owner=[Receiver] V3Migrator, spender=NonfungiblePositionManager, value=1 )
|
99 |
WETH9.Transfer( src=[Receiver] V3Migrator, dst=0xdeaf677af91ec0655124860e1a15177aee86303e, wad=1960642444365022475 )
|
100 |
0xdeaf677af91ec0655124860e1a15177aee86303e.0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde( 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde, 0x000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88, 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea458, 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffea6b0, 000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe88, 0000000000000000000000000000000000000000000003f42747ffa0fa642a77, 0000000000000000000000000000000000000000000006fcb70200c728b0491b, 0000000000000000000000000000000000000000000000001b3599ea4bee450b )
|
101 |
NonfungiblePositionManager.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0xcf8b4de779c0c55b10986b62c4c1f970daf34a5b, tokenId=3214 )
|
102 |
NonfungiblePositionManager.IncreaseLiquidity( tokenId=3214, liquidity=18670935514551752600183, amount0=32995965507306953656603, amount1=1960642444365022475 )
|
103 |
GamerCoin.Approval( owner=[Receiver] V3Migrator, spender=NonfungiblePositionManager, value=0 )
|
104 |
GamerCoin.Transfer( from=[Receiver] V3Migrator, to=[Sender] 0xcf8b4de779c0c55b10986b62c4c1f970daf34a5b, value=1 )
|
105 |
WETH9.Approval( src=[Receiver] V3Migrator, guy=NonfungiblePositionManager, wad=0 )
|
106 |
WETH9.Withdrawal( src=[Receiver] V3Migrator, wad=2623082718781403646 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1F98431c...6ea31F984 | (Uniswap V3: Factory) | ||||
0x728f30fa...8E0B1387d | |||||
0xC02aaA39...83C756Cc2 | 6,762,140.628612406193486137 Eth | 6,762,138.005529687412082491 Eth | 2.623082718781403646 | ||
0xC36442b4...7Ab11FE88 | |||||
0xc365c331...C4058C8E1
Miner
| (Binance Pool) | 9,090.08059726860503116 Eth | 9,090.26615204360503116 Eth | 0.185554775 | |
0xC6b9c3fa...eeA7a1c78 | |||||
0xcf8b4dE7...0daF34A5b |
1.694083369271452869 Eth
Nonce: 82
|
4.131611313052856515 Eth
Nonce: 83
| 2.437527943781403646 | ||
0xdEAf677a...aeE86303e | (Uniswap V3: GHX) |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
|
Execution Trace
V3Migrator.multicall( data=[85lcZwAAAAAAAAAAAAAAAMa5w/oDcwPRDVDXGuPO2w7qehx4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT3SlbXOWC8qAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYJOZ5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcHu/AqacmuQKz1igneM6PutYCtEUmoHe3ndqzLqIbO+dKUohFkmbuCQJWauJRqr+6Lpqa0JWGMZmPdD3I0cKlcA==, E+rVYgAAAAAAAAAAAAAAAHKPMPovEAdCx5SdGWGAT6jgsTh9AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnEAAAAAAAAAAAAAAAAAAAAAAAAAAAAwRrOFVgFsUUEL2/, 1E8r8gAAAAAAAAAAAAAAAMa5w/oDcwPRDVDXGuPO2w7qehx4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT3SlbXOWC8qAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZAAAAAAAAAAAAAAAAHKPMPovEAdCx5SdGWGAT6jgsTh9AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAnEP///////////////////////////////////////qRY///////////////////////////////////////+prAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABvPFc+m77FM+fgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsSxfIVyoSxAAAAAAAAAAAAAAAAz4tN53nAxVsQmGtixMH5cNrzSlsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYJOZ5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB] ) => ( results=[, AAAAAAAAAAAAAAAA3q9nevkewGVRJIYOGhUXeu6GMD4=, ] )
V3Migrator.selfPermit( token=0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78, value=366424506611454374560, deadline=1620285924, v=28, r=1EEFC0A9A726B902B3D6282778CE8FBAD602B44526A077B79DDAB32EA21B3BE7, s=4A5288459266EE0902566AE251AABFBA2E9A9AD0958631998F743DC8D1C2A570 )
UniswapV2Pair.permit( owner=0xcf8b4dE779c0C55b10986B62C4C1F970daF34A5b, spender=0xA5644E29708357803b5A882D272c41cC0dF92B34, value=366424506611454374560, deadline=1620285924, v=28, r=1EEFC0A9A726B902B3D6282778CE8FBAD602B44526A077B79DDAB32EA21B3BE7, s=4A5288459266EE0902566AE251AABFBA2E9A9AD0958631998F743DC8D1C2A570 )
-
Null: 0x000...001.08f775c0( )
-
V3Migrator.createAndInitializePoolIfNecessary( token0=0x728f30fa2f100742C7949D1961804FA8E0B1387d, token1=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, fee=10000, sqrtPriceX96=933797065125771029335031231 ) => ( pool=0xdEAf677af91Ec0655124860e1A15177aeE86303e )
-
UniswapV3Factory.getPool( 0x728f30fa2f100742C7949D1961804FA8E0B1387d, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 10000 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV3Factory.createPool( tokenA=0x728f30fa2f100742C7949D1961804FA8E0B1387d, tokenB=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, fee=10000 ) => ( pool=0xdEAf677af91Ec0655124860e1A15177aeE86303e )
Uniswap V3: GHX.61016060( )
-
UniswapV3Factory.STATICCALL( )
-
-
Uniswap V3: GHX.f637731d( )
-
V3Migrator.migrate( params=[{name:pair, type:address, order:1, indexed:false, value:0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78, valueString:0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78}, {name:liquidityToMigrate, type:uint256, order:2, indexed:false, value:366424506611454374560, valueString:366424506611454374560}, {name:percentageToMigrate, type:uint8, order:3, indexed:false, value:100, valueString:100}, {name:token0, type:address, order:4, indexed:false, value:0x728f30fa2f100742C7949D1961804FA8E0B1387d, valueString:0x728f30fa2f100742C7949D1961804FA8E0B1387d}, {name:token1, type:address, order:5, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:fee, type:uint24, order:6, indexed:false, value:10000, valueString:10000}, {name:tickLower, type:int24, order:7, indexed:false, value:-89000, valueString:-89000}, {name:tickUpper, type:int24, order:8, indexed:false, value:-88400, valueString:-88400}, {name:amount0Min, type:uint256, order:9, indexed:false, value:32830985679770418888318, valueString:32830985679770418888318}, {name:amount1Min, type:uint256, order:10, indexed:false, value:1950839232143197361, valueString:1950839232143197361}, {name:recipient, type:address, order:11, indexed:false, value:0xcf8b4dE779c0C55b10986B62C4C1F970daF34A5b, valueString:0xcf8b4dE779c0C55b10986B62C4C1F970daF34A5b}, {name:deadline, type:uint256, order:12, indexed:false, value:1620285924, valueString:1620285924}, {name:refundAsETH, type:bool, order:13, indexed:false, value:true, valueString:True}] )
-
UniswapV2Pair.transferFrom( from=0xcf8b4dE779c0C55b10986B62C4C1F970daF34A5b, to=0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78, value=366424506611454374560 ) => ( True )
UniswapV2Pair.burn( to=0xA5644E29708357803b5A882D272c41cC0dF92B34 ) => ( amount0=32995965507306953656604, amount1=4583725163146426121 )
-
GamerCoin.balanceOf( account=0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78 ) => ( 200401562160971171537209 )
-
WETH9.balanceOf( 0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78 ) => ( 27839333357518376614 )
-
UniswapV2Factory.STATICCALL( )
-
GamerCoin.transfer( recipient=0xA5644E29708357803b5A882D272c41cC0dF92B34, amount=32995965507306953656604 ) => ( True )
-
WETH9.transfer( dst=0xA5644E29708357803b5A882D272c41cC0dF92B34, wad=4583725163146426121 ) => ( True )
-
GamerCoin.balanceOf( account=0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78 ) => ( 167405596653664217880605 )
-
WETH9.balanceOf( 0xC6b9c3fa037303D10d50d71AE3cEdB0eeA7a1c78 ) => ( 23255608194371950493 )
-
-
GamerCoin.approve( spender=0xC36442b4a4522E871399CD717aBDD847Ab11FE88, amount=32995965507306953656604 ) => ( True )
-
WETH9.approve( guy=0xC36442b4a4522E871399CD717aBDD847Ab11FE88, wad=4583725163146426121 ) => ( True )
NonfungiblePositionManager.mint( params=[{name:token0, type:address, order:1, indexed:false, value:0x728f30fa2f100742C7949D1961804FA8E0B1387d, valueString:0x728f30fa2f100742C7949D1961804FA8E0B1387d}, {name:token1, type:address, order:2, indexed:false, value:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, valueString:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2}, {name:fee, type:uint24, order:3, indexed:false, value:10000, valueString:10000}, {name:tickLower, type:int24, order:4, indexed:false, value:-89000, valueString:-89000}, {name:tickUpper, type:int24, order:5, indexed:false, value:-88400, valueString:-88400}, {name:amount0Desired, type:uint256, order:6, indexed:false, value:32995965507306953656604, valueString:32995965507306953656604}, {name:amount1Desired, type:uint256, order:7, indexed:false, value:4583725163146426121, valueString:4583725163146426121}, {name:amount0Min, type:uint256, order:8, indexed:false, value:32830985679770418888318, valueString:32830985679770418888318}, {name:amount1Min, type:uint256, order:9, indexed:false, value:1950839232143197361, valueString:1950839232143197361}, {name:recipient, type:address, order:10, indexed:false, value:0xcf8b4dE779c0C55b10986B62C4C1F970daF34A5b, valueString:0xcf8b4dE779c0C55b10986B62C4C1F970daF34A5b}, {name:deadline, type:uint256, order:11, indexed:false, value:1620285924, valueString:1620285924}] ) => ( tokenId=3214, liquidity=18670935514551752600183, amount0=32995965507306953656603, amount1=1960642444365022475 )
-
Uniswap V3: GHX.STATICCALL( )
Uniswap V3: GHX.3c8a7d8d( )
-
GamerCoin.balanceOf( account=0xdEAf677af91Ec0655124860e1A15177aeE86303e ) => ( 0 )
-
WETH9.balanceOf( 0xdEAf677af91Ec0655124860e1A15177aeE86303e ) => ( 0 )
NonfungiblePositionManager.uniswapV3MintCallback( amount0Owed=32995965507306953656603, amount1Owed=1960642444365022475, data=0x000000000000000000000000728F30FA2F100742C7949D1961804FA8E0B1387D000000000000000000000000C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20000000000000000000000000000000000000000000000000000000000002710000000000000000000000000A5644E29708357803B5A882D272C41CC0DF92B34 )
-
GamerCoin.transferFrom( sender=0xA5644E29708357803b5A882D272c41cC0dF92B34, recipient=0xdEAf677af91Ec0655124860e1A15177aeE86303e, amount=32995965507306953656603 ) => ( True )
-
WETH9.transferFrom( src=0xA5644E29708357803b5A882D272c41cC0dF92B34, dst=0xdEAf677af91Ec0655124860e1A15177aeE86303e, wad=1960642444365022475 ) => ( True )
-
-
GamerCoin.balanceOf( account=0xdEAf677af91Ec0655124860e1A15177aeE86303e ) => ( 32995965507306953656603 )
-
WETH9.balanceOf( 0xdEAf677af91Ec0655124860e1A15177aeE86303e ) => ( 1960642444365022475 )
-
-
Uniswap V3: GHX.514ea4bf( )
-
-
GamerCoin.approve( spender=0xC36442b4a4522E871399CD717aBDD847Ab11FE88, amount=0 ) => ( True )
-
GamerCoin.transfer( recipient=0xcf8b4dE779c0C55b10986B62C4C1F970daF34A5b, amount=1 ) => ( True )
-
WETH9.approve( guy=0xC36442b4a4522E871399CD717aBDD847Ab11FE88, wad=0 ) => ( True )
WETH9.withdraw( wad=2623082718781403646 )
- ETH 2.623082718781403646
V3Migrator.CALL( )
- ETH 2.623082718781403646
- ETH 2.623082718781403646
0xcf8b4de779c0c55b10986b62c4c1f970daf34a5b.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: GamerCoin
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: GamerCoin
12345678910111213141516// SPDX-License-Identifier: UNLICENSEDpragma solidity 0.7.1;import "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol";contract GamerCoin is ERC20Burnable {constructor(uint256 initialBalance) ERC20("GamerCoin", "GHX") {_mint(msg.sender, initialBalance);}}// SPDX-License-Identifier: MITpragma solidity ^0.7.0;import "../../GSN/Context.sol";import "./ERC20.sol";/*** @dev Extension of {ERC20} that allows token holders to destroy both their own* tokens and those that they have an allowance for, in a way that can be* recognized off-chain (via event analysis).
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;