Transaction Hash:
Block:
19571512 at Apr-02-2024 11:56:11 PM +UTC
Transaction Fee:
0.061951797996208974 ETH
$171.09
Gas Used:
2,698,633 Gas / 22.956733278 Gwei
Emitted Events:
0 |
UniswapV2Factory.PairCreated( token0=ENA, token1=WETH9, pair=UniswapV2Pair, 314966 )
|
1 |
ENA.Transfer( from=[Sender] 0x5dd449463cdd73ea265f6822b13abc673b50648b, to=UniswapV2Pair, value=5000000000000000000000 )
|
2 |
WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=4500000000000000000 )
|
3 |
WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=4500000000000000000 )
|
4 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=0x0000000000000000000000000000000000000000, value=1000 )
|
5 |
UniswapV2Pair.Transfer( from=0x0000000000000000000000000000000000000000, to=[Sender] 0x5dd449463cdd73ea265f6822b13abc673b50648b, value=149999999999999999000 )
|
6 |
UniswapV2Pair.Sync( reserve0=5000000000000000000000, reserve1=4500000000000000000 )
|
7 |
UniswapV2Pair.Mint( sender=[Receiver] UniswapV2Router02, amount0=5000000000000000000000, amount1=4500000000000000000 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x57e114B6...3181e6061 | |||||
0x5C69bEe7...B9cc5aA6f | (Uniswap V2: Factory Contract) | ||||
0x5dd44946...73b50648b |
4.620911551359484341 Eth
Nonce: 20
|
0.058959753363275367 Eth
Nonce: 21
| 4.561951797996208974 | ||
0x77777A6C...0F660eC94
Miner
| (MEV Builder: 0x777...C94) | 4.479110297225101724 Eth | 4.47914568397324671 Eth | 0.000035386748144986 | |
0x8824d47e...bf3471e6d |
0 Eth
Nonce: 0
|
0 Eth
Nonce: 1
| |||
0xC02aaA39...83C756Cc2 | 2,965,566.065037793824919755 Eth | 2,965,570.565037793824919755 Eth | 4.5 |
Execution Trace
ETH 4.5
UniswapV2Router02.addLiquidityETH( token=0x57e114B691Db790C35207b2e685D4A43181e6061, amountTokenDesired=5000000000000000000000, amountTokenMin=5000000000000000000000, amountETHMin=4500000000000000000, to=0x5dd449463CDD73EA265f6822b13abc673b50648b, deadline=1712102735 ) => ( amountToken=5000000000000000000000, amountETH=4500000000000000000, liquidity=149999999999999999000 )
-
UniswapV2Factory.getPair( 0x57e114B691Db790C35207b2e685D4A43181e6061, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( 0x0000000000000000000000000000000000000000 )
UniswapV2Factory.createPair( tokenA=0x57e114B691Db790C35207b2e685D4A43181e6061, tokenB=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 ) => ( pair=0x8824d47e0aF318a56E7f9ee17F7Fc2dbf3471e6d )
-
UniswapV2Pair.60806040( )
-
UniswapV2Pair.initialize( _token0=0x57e114B691Db790C35207b2e685D4A43181e6061, _token1=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 )
-
-
UniswapV2Pair.STATICCALL( )
-
ENA.transferFrom( from=0x5dd449463CDD73EA265f6822b13abc673b50648b, to=0x8824d47e0aF318a56E7f9ee17F7Fc2dbf3471e6d, amount=5000000000000000000000 ) => ( True )
- ETH 4.5
WETH9.CALL( )
-
WETH9.transfer( dst=0x8824d47e0aF318a56E7f9ee17F7Fc2dbf3471e6d, wad=4500000000000000000 ) => ( True )
UniswapV2Pair.mint( to=0x5dd449463CDD73EA265f6822b13abc673b50648b ) => ( liquidity=149999999999999999000 )
-
ENA.balanceOf( account=0x8824d47e0aF318a56E7f9ee17F7Fc2dbf3471e6d ) => ( 5000000000000000000000 )
-
WETH9.balanceOf( 0x8824d47e0aF318a56E7f9ee17F7Fc2dbf3471e6d ) => ( 4500000000000000000 )
-
UniswapV2Factory.STATICCALL( )
-
addLiquidityETH[UniswapV2Router02 (ln:292)]
_addLiquidity[UniswapV2Router02 (ln:300)]
getPair[UniswapV2Router02 (ln:257)]
createPair[UniswapV2Router02 (ln:258)]
getReserves[UniswapV2Router02 (ln:260)]
sortTokens[UniswapV2Library (ln:702)]
getReserves[UniswapV2Library (ln:703)]
pairFor[UniswapV2Library (ln:703)]
sortTokens[UniswapV2Library (ln:691)]
pairFor[UniswapV2Router02 (ln:308)]
sortTokens[UniswapV2Library (ln:691)]
safeTransferFrom[UniswapV2Router02 (ln:309)]
call[TransferHelper (ln:772)]
encodeWithSelector[TransferHelper (ln:772)]
decode[TransferHelper (ln:773)]
deposit[UniswapV2Router02 (ln:310)]
transfer[UniswapV2Router02 (ln:311)]
mint[UniswapV2Router02 (ln:312)]
safeTransferETH[UniswapV2Router02 (ln:314)]
File 1 of 5: UniswapV2Router02
File 2 of 5: UniswapV2Factory
File 3 of 5: UniswapV2Pair
File 4 of 5: ENA
File 5 of 5: WETH9
12345678910111213141516pragma solidity =0.6.6;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;
File 2 of 5: 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;
File 3 of 5: 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 4 of 5: ENA
12345678910111213141516// SPDX-License-Identifier: GPL-3.0pragma solidity 0.8.20;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol";import "@openzeppelin/contracts/access/Ownable2Step.sol";import "./interfaces/IENADefinitions.sol";/*** @title ENA* @notice Governance token for the Ethena protocol*/contract ENA is Ownable2Step, ERC20Burnable, ERC20Permit, IENADefinitions {/// @notice Maximum inflation rate per year (percentage) expressed as an integeruint8 public constant MAX_INFLATION = 10;/// @notice The maximum frequency of inflationary mint invocationsuint32 public constant MINT_WAIT_PERIOD = 365 days;
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;