Transaction Hash:
Block:
17614129 at Jul-03-2023 02:48:23 PM +UTC
Transaction Fee:
0.003390491005307406 ETH
$8.61
Gas Used:
124,938 Gas / 27.137388187 Gwei
Emitted Events:
364 |
MongCoin.Transfer( from=[Sender] 0xd01777f28cbbb8b8bad19a99bb133b1af356490f, to=UniswapV2Pair, value=35000000000000000000000000000 )
|
365 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=374285221519798977 )
|
366 |
UniswapV2Pair.Sync( reserve0=29439122362220515089132593376365, reserve1=315389839574121801583 )
|
367 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=35000000000000000000000000000, amount1In=0, amount0Out=0, amount1Out=374285221519798977, to=[Receiver] UniversalRouter )
|
368 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=374285221519798977 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1ce27055...f8B47FD9C | |||||
0x7054b0F9...80162775C | |||||
0x8306300f...835c1A81C
Miner
| (Frax Finance: Frx ETH Multisig) | 87.251811391925095908 Eth | 87.251823885725095908 Eth | 0.0000124938 | |
0xC02aaA39...83C756Cc2 | 3,381,527.381820252325589422 Eth | 3,381,527.007535030805790445 Eth | 0.374285221519798977 | ||
0xd01777F2...Af356490f |
0.014519745076117432 Eth
Nonce: 145
|
0.385414475590609003 Eth
Nonce: 146
| 0.370894730514491571 |
Execution Trace
UniversalRouter.execute( commands=0x080C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAHEXUknZgYhTuAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUrzJBIV8xOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAHOJwVXwfaM+1d7hWdmMQv4tH/ZwAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFK8yQSFfMTg==], deadline=1688397227 )
Permit2.transferFrom( from=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, to=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C, amount=35000000000000000000000000000, token=0x1ce270557C1f68Cfb577b856766310Bf8B47FD9C )
-
MongCoin.transferFrom( from=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, to=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C, amount=35000000000000000000000000000 ) => ( True )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
MongCoin.balanceOf( account=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 29439122362220515089132593376365 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=374285221519798977, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=374285221519798977 ) => ( True )
-
MongCoin.balanceOf( account=0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 29439122362220515089132593376365 )
-
WETH9.balanceOf( 0x7054b0F980a7EB5B3a6B3446F3c947D80162775C ) => ( 315389839574121801583 )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 374285221519798977 )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 374285221519798977 )
WETH9.withdraw( wad=374285221519798977 )
- ETH 0.374285221519798977
UniversalRouter.CALL( )
- ETH 0.374285221519798977
- ETH 0.374285221519798977
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;