Transaction Hash:
Block:
12833416 at Jul-15-2021 07:30:15 PM +UTC
Transaction Fee:
0.09167744 ETH
$334.75
Gas Used:
2,291,936 Gas / 40 Gwei
Emitted Events:
104 |
UniswapV2Factory.PairCreated( token0=CloverToken, token1=WETH9, pair=UniswapV2Pair, 1544 )
|
105 |
CloverToken.Transfer( from=[Sender] 0xcd1b1b38c65e1917057de3e8d8d1a22eb4f032b0, to=UniswapV2Pair, value=1920000000000000000000 )
|
106 |
CloverToken.Approval( owner=[Sender] 0xcd1b1b38c65e1917057de3e8d8d1a22eb4f032b0, spender=[Receiver] UniswapV2Router02, value=115792089237316195423570985008687907853269984665640564037537584007913129639935 )
|
107 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=20000000000000000000 )
|
108 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=20000000000000000000 )
|
109 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=0x0000000000000000000000000000000000000000, value=1000 )
|
110 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0xcd1b1b38c65e1917057de3e8d8d1a22eb4f032b0, value=195959179422654246855 )
|
111 |
UniswapV2Pair.Sync( reserve0=1920000000000000000000, reserve1=20000000000000000000 )
|
112 |
UniswapV2Pair.Mint( sender=[Receiver] UniswapV2Router02, amount0=1920000000000000000000, amount1=20000000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x782BC0Ba...Cb3063243 |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
| |||
0x80C62FE4...ED085bf52 | |||||
0xC02aaA39...83C756Cc2 | 7,063,373.665678984356631769 Eth | 7,063,393.665678984356631769 Eth | 20 | ||
0xC0AEe478...cE9e4f2Ac | (SushiSwap: SushiV2Factory) | ||||
0xc8F595E2...25223b7C9
Miner
| (Miner: 0xc8F...7C9) | 10,230.238875104614449722 Eth | 10,230.330552544614449722 Eth | 0.09167744 | |
0xcD1B1B38...eb4f032B0 |
49.99810936 Eth
Nonce: 1
|
29.90643192 Eth
Nonce: 2
| 20.09167744 |
Execution Trace
ETH 20
UniswapV2Router02.addLiquidityETH( token=0x80C62FE4487E1351b47Ba49809EBD60ED085bf52, amountTokenDesired=1920000000000000000000, amountTokenMin=1920000000000000000000, amountETHMin=20000000000000000000, to=0xcD1B1B38c65E1917057dE3e8D8D1A22eb4f032B0, deadline=1626379096 ) => ( amountToken=1920000000000000000000, amountETH=20000000000000000000, liquidity=195959179422654246855 )
-
UniswapV2Factory.getPair( 0x80C62FE4487E1351b47Ba49809EBD60ED085bf52, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV2Factory.createPair( tokenA=0x80C62FE4487E1351b47Ba49809EBD60ED085bf52, tokenB=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( pair=0x782BC0Ba081A8e1a1fB575878C0A96ACb3063243 )
-
UniswapV2Pair.60806040( )
-
UniswapV2Pair.initialize( _token0=0x80C62FE4487E1351b47Ba49809EBD60ED085bf52, _token1=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 )
-
-
UniswapV2Pair.STATICCALL( )
-
CloverToken.transferFrom( sender=0xcD1B1B38c65E1917057dE3e8D8D1A22eb4f032B0, recipient=0x782BC0Ba081A8e1a1fB575878C0A96ACb3063243, amount=1920000000000000000000 ) => ( True )
- ETH 20
WETH9.CALL( )
-
WETH9.transfer( dst=0x782BC0Ba081A8e1a1fB575878C0A96ACb3063243, wad=20000000000000000000 ) => ( True )
UniswapV2Pair.mint( to=0xcD1B1B38c65E1917057dE3e8D8D1A22eb4f032B0 ) => ( liquidity=195959179422654246855 )
-
CloverToken.balanceOf( account=0x782BC0Ba081A8e1a1fB575878C0A96ACb3063243 ) => ( 1920000000000000000000 )
-
WETH9.balanceOf( 0x782BC0Ba081A8e1a1fB575878C0A96ACb3063243 ) => ( 20000000000000000000 )
-
UniswapV2Factory.STATICCALL( )
-
UniswapV2Factory.STATICCALL( )
-
addLiquidityETH[UniswapV2Router02 (ln:463)]
_addLiquidity[UniswapV2Router02 (ln:471)]
getPair[UniswapV2Router02 (ln:428)]
createPair[UniswapV2Router02 (ln:429)]
getReserves[UniswapV2Router02 (ln:431)]
sortTokens[UniswapV2Library (ln:105)]
getReserves[UniswapV2Library (ln:106)]
pairFor[UniswapV2Library (ln:106)]
sortTokens[UniswapV2Library (ln:94)]
pairFor[UniswapV2Router02 (ln:479)]
sortTokens[UniswapV2Library (ln:94)]
safeTransferFrom[UniswapV2Router02 (ln:480)]
call[TransferHelper (ln:181)]
encodeWithSelector[TransferHelper (ln:181)]
decode[TransferHelper (ln:182)]
deposit[UniswapV2Router02 (ln:481)]
transfer[UniswapV2Router02 (ln:482)]
mint[UniswapV2Router02 (ln:483)]
safeTransferETH[UniswapV2Router02 (ln:485)]
File 1 of 5: UniswapV2Router02
File 2 of 5: UniswapV2Factory
File 3 of 5: UniswapV2Pair
File 4 of 5: CloverToken
File 5 of 5: WETH9
12345678910111213141516// File: contracts/uniswapv2/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 2 of 5: UniswapV2Factory
12345678910111213141516// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.solpragma solidity >=0.5.0;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 migrator() 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);
File 3 of 5: UniswapV2Pair
12345678910111213141516// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.solpragma solidity >=0.5.0;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 migrator() 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);
File 4 of 5: CloverToken
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.0;import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol";// Clover ERC20 token contractcontract CloverToken is ERC20PresetMinterPauser {constructor() ERC20PresetMinterPauser("Clover", "CLV") {}}// SPDX-License-Identifier: MITpragma solidity ^0.8.0;import "../utils/Context.sol";import "../utils/introspection/ERC165.sol";/*** @dev External interface of AccessControl declared to support ERC165 detection.*/interface IAccessControl {function hasRole(bytes32 role, address account) external view returns (bool);
File 5 of 5: 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;