Transaction Hash:
Block:
17218577 at May-08-2023 09:55:47 PM +UTC
Transaction Fee:
0.011908597362449226 ETH
$32.91
Gas Used:
129,278 Gas / 92.116194267 Gwei
Emitted Events:
367 |
WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=355481272405706852 )
|
368 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=[Receiver] UniversalRouter, wad=355481272405706852 )
|
369 |
MongCoin.Transfer( from=UniswapV3Pool, to=[Sender] 0xd01777f28cbbb8b8bad19a99bb133b1af356490f, value=5021479828315365869820096251 )
|
370 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV3Pool, wad=355481272405706852 )
|
371 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Sender] 0xd01777f28cbbb8b8bad19a99bb133b1af356490f, amount0=-5021479828315365869820096251, amount1=355481272405706852, sqrtPriceX96=666179125517100822988499, liquidity=4801042893694733166954521, tick=-233738 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1ce27055...f8B47FD9C | |||||
0x690B9A9E...Db4FaC990
Miner
| (builder0x69) | 1.457682804648609942 Eth | 1.457696651689783348 Eth | 0.000013847041173406 | |
0x95Ad5d38...B36A94EA5 | (Uniswap V3: $MONG) | ||||
0xC02aaA39...83C756Cc2 | 3,573,647.133540954916961485 Eth | 3,573,647.489022227322668337 Eth | 0.355481272405706852 | ||
0xd01777F2...Af356490f |
0.84481272405706852 Eth
Nonce: 67
|
0.477422854288912442 Eth
Nonce: 68
| 0.367389869768156078 |
Execution Trace
ETH 0.355481272405706852
UniversalRouter.execute( commands=0x0B00, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE7uxVdgvIZA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE7uxVdgvIZAAAAAAAAAAAAAAAAAAAAAAAAAAAEC0/PKdTxaBDMRy3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArwCqqObIj/o0KDlxPJ+rZCDx1bMIAJxAc4nBVfB9oz7V3uFZ2YxC/i0f9nAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==], deadline=1683584723 )
- ETH 0.355481272405706852
WETH9.CALL( )
-
WETH9.transfer( dst=0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B, wad=355481272405706852 ) => ( True )
UniswapV3Pool.swap( recipient=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, zeroForOne=False, amountSpecified=355481272405706852, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000EF1C6E67703C7BD7107EED8303FBE6EC2554BF6B000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20027101CE270557C1F68CFB577B856766310BF8B47FD9C000000000000000000000000000000000000000000 ) => ( amount0=-5021479828315365869820096251, amount1=355481272405706852 )
-
MongCoin.transfer( to=0xd01777F28CBbb8B8bAD19A99BB133B1Af356490f, amount=5021479828315365869820096251 ) => ( True )
-
WETH9.balanceOf( 0x95Ad5d38aD6BB17500E9a57BFeb6569B36A94EA5 ) => ( 27863448144349509733 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=-5021479828315365869820096251, amount1Delta=355481272405706852, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000EF1C6E67703C7BD7107EED8303FBE6EC2554BF6B000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC20027101CE270557C1F68CFB577B856766310BF8B47FD9C000000000000000000000000000000000000000000 )
-
WETH9.transfer( dst=0x95Ad5d38aD6BB17500E9a57BFeb6569B36A94EA5, wad=355481272405706852 ) => ( True )
-
-
WETH9.balanceOf( 0x95Ad5d38aD6BB17500E9a57BFeb6569B36A94EA5 ) => ( 28218929416755216585 )
-
File 1 of 4: UniversalRouter
File 2 of 4: WETH9
File 3 of 4: UniswapV3Pool
File 4 of 4: MongCoin
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity ^0.8.17;import {Dispatcher} from './base/Dispatcher.sol';import {RewardsCollector} from './base/RewardsCollector.sol';import {RouterParameters, RouterImmutables} from './base/RouterImmutables.sol';import {Constants} from './libraries/Constants.sol';import {Commands} from './libraries/Commands.sol';import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';import {ReentrancyLock} from './base/ReentrancyLock.sol';contract UniversalRouter is RouterImmutables, IUniversalRouter, Dispatcher, RewardsCollector, ReentrancyLock {modifier checkDeadline(uint256 deadline) {if (block.timestamp > deadline) revert TransactionDeadlinePassed();_;}constructor(RouterParameters memory params) RouterImmutables(params) {}/// @inheritdoc IUniversalRouter
File 2 of 4: 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 3 of 4: UniswapV3Pool
12345678910111213141516// SPDX-License-Identifier: BUSL-1.1pragma solidity =0.7.6;import './interfaces/IUniswapV3Pool.sol';import './NoDelegateCall.sol';import './libraries/LowGasSafeMath.sol';import './libraries/SafeCast.sol';import './libraries/Tick.sol';import './libraries/TickBitmap.sol';import './libraries/Position.sol';import './libraries/Oracle.sol';import './libraries/FullMath.sol';import './libraries/FixedPoint128.sol';import './libraries/TransferHelper.sol';import './libraries/TickMath.sol';import './libraries/LiquidityMath.sol';import './libraries/SqrtPriceMath.sol';
File 4 of 4: 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].