Transaction Hash:
Block:
17502098 at Jun-17-2023 09:06:23 PM +UTC
Transaction Fee:
0.001733162130186354 ETH
$4.57
Gas Used:
114,534 Gas / 15.132293731 Gwei
Emitted Events:
191 |
MongCoin.Transfer( from=[Sender] 0xd01777f28cbbb8b8bad19a99bb133b1af356490f, to=UniswapV2Pair, value=6270457437650777777718361644 )
|
192 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=66048467852995794 )
|
193 |
UniswapV2Pair.Sync( reserve0=28742828856697740268978715373801, reserve1=303600945063530588477 )
|
194 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=6270457437650777777718361644, amount1In=0, amount0Out=0, amount1Out=66048467852995794, to=[Receiver] UniversalRouter )
|
195 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=66048467852995794 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1ce27055...f8B47FD9C | |||||
0x7054b0F9...80162775C | |||||
0xBaF6dC2E...Cd66C5e19
Miner
| (MEV Builder: 0xBaF...e19) | 3.412303854906092828 Eth | 3.412315308306092828 Eth | 0.0000114534 | |
0xC02aaA39...83C756Cc2 | 3,564,365.307601184981777589 Eth | 3,564,365.241552717128781795 Eth | 0.066048467852995794 | ||
0xd01777F2...Af356490f |
0.007874020617664546 Eth
Nonce: 107
|
0.072189326340473986 Eth
Nonce: 108
| 0.06431530572280944 |
Execution Trace
UniversalRouter.execute( commands=0x080C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAABRCzQLRpkHlQ/L+LAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADp8Mdy7Mc+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAHOJwVXwfaM+1d7hWdmMQv4tH/ZwAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6fDHcuzHPg==], deadline=1687037735 )
Permit2.transferFrom( from=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, to=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C, amount=6270457437650777777718361644, token=0x1ce270557C1f68Cfb577b856766310Bf8B47FD9C )
-
MongCoin.transferFrom( from=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, to=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C, amount=6270457437650777777718361644 ) => ( True )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
MongCoin.balanceOf( account=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 28742828856697740268978715373801 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=66048467852995794, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=66048467852995794 ) => ( True )
-
MongCoin.balanceOf( account=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 28742828856697740268978715373801 )
-
WETH9.balanceOf( 0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 303600945063530588477 )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 66048467852995794 )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 66048467852995794 )
WETH9.withdraw( wad=66048467852995794 )
- ETH 0.066048467852995794
UniversalRouter.CALL( )
- ETH 0.066048467852995794
- ETH 0.066048467852995794
0xd01777f28cbbb8b8bad19a99bb133b1af356490f.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 5: UniversalRouter
File 2 of 5: UniswapV2Pair
File 3 of 5: MongCoin
File 4 of 5: WETH9
File 5 of 5: Permit2
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity ^0.8.17;// Command implementationsimport {Dispatcher} from './base/Dispatcher.sol';import {RewardsCollector} from './base/RewardsCollector.sol';import {RouterParameters, RouterImmutables} from './base/RouterImmutables.sol';import {Commands} from './libraries/Commands.sol';import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';contract UniversalRouter is RouterImmutables, IUniversalRouter, Dispatcher, RewardsCollector {modifier checkDeadline(uint256 deadline) {if (block.timestamp > deadline) revert TransactionDeadlinePassed();_;}constructor(RouterParameters memory params) RouterImmutables(params) {}/// @inheritdoc IUniversalRouterfunction execute(bytes calldata commands, bytes[] calldata inputs, uint256 deadline)
File 2 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 3 of 5: MongCoin
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)pragma solidity ^0.8.0;import "./IERC20.sol";import "./extensions/IERC20Metadata.sol";import "../../utils/Context.sol";/*** @dev Implementation of the {IERC20} interface.** This implementation is agnostic to the way tokens are created. This means* that a supply mechanism has to be added in a derived contract using {_mint}.* For a generic mechanism see {ERC20PresetMinterPauser}.** TIP: For a detailed writeup see our guide* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How* to implement supply mechanisms].
File 4 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;
File 5 of 5: Permit2
12345678910111213141516// SPDX-License-Identifier: AGPL-3.0-onlypragma solidity >=0.8.0;/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation./// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.abstract contract ERC20 {/*//////////////////////////////////////////////////////////////EVENTS//////////////////////////////////////////////////////////////*/event Transfer(address indexed from, address indexed to, uint256 amount);event Approval(address indexed owner, address indexed spender, uint256 amount);/*//////////////////////////////////////////////////////////////METADATA STORAGE//////////////////////////////////////////////////////////////*/string public name;