Transaction Hash:
Block:
19503443 at Mar-24-2024 09:13:23 AM +UTC
Transaction Fee:
0.001807980765609525 ETH
$6.11
Gas Used:
116,675 Gas / 15.495871143 Gwei
Emitted Events:
369 |
WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=800000000000000000 )
|
370 |
TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000001385fc1fe0418ea0b4fcf7adc61fc7535ab7f80d, 0x000000000000000000000000a8ab8dc3a156aa7aa0d8e6f4507017488ac50359, 0000000000000000000000000000000000000000000000c5bb849044cc96b254 )
|
371 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV3Pool, wad=800000000000000000 )
|
372 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Sender] 0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359, amount0=-3647520665927964602964, amount1=800000000000000000, sqrtPriceX96=1171683876240275123451331387, liquidity=315037802335268725356425, tick=-84283 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1385Fc1F...35AB7F80d | (Uniswap V3: DEAI 2) | ||||
0x1495bc9e...0cF0C05ea | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 5.479293295051229034 Eth | 5.479293411726229034 Eth | 0.000000116675 | |
0xa8ab8Dc3...88AC50359 |
4.011727885639003828 Eth
Nonce: 135
|
3.209919904873394303 Eth
Nonce: 136
| 0.801807980765609525 | ||
0xC02aaA39...83C756Cc2 | 2,970,969.798006557399725048 Eth | 2,970,970.598006557399725048 Eth | 0.8 |
Execution Trace
ETH 0.8
UniversalRouter.execute( commands=0x0B00, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALGivC7FAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALGivC7FAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAxO9VaIEjvalGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArwCqqObIj/o0KDlxPJ+rZCDx1bMIAC7gUlbyeRK8fi8tiJ40r7EVAzwwF6gAAAAAAAAAAAAAAAAAAAAAAAAAAAA==], deadline=1711271771 )
- ETH 0.8
WETH9.CALL( )
UniswapV3Pool.swap( recipient=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, zeroForOne=False, amountSpecified=800000000000000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003FC91A3AFD70395CD496C647D5A6CC9D4B2B7FAD000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB81495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000000000000000000000000000000000000000000 ) => ( amount0=-3647520665927964602964, amount1=800000000000000000 )
TransparentUpgradeableProxy.a9059cbb( )
-
DEAI.transfer( to=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, amount=3647520665927964602964 ) => ( True )
-
-
WETH9.balanceOf( 0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 1138704426197450783848 )
UniversalRouter.uniswapV3SwapCallback( amount0Delta=-3647520665927964602964, amount1Delta=800000000000000000, data=0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003FC91A3AFD70395CD496C647D5A6CC9D4B2B7FAD000000000000000000000000000000000000000000000000000000000000002BC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000BB81495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000000000000000000000000000000000000000000 )
-
WETH9.transfer( dst=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d, wad=800000000000000000 ) => ( True )
-
-
WETH9.balanceOf( 0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 1139504426197450783848 )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 5: UniversalRouter
File 2 of 5: WETH9
File 3 of 5: TransparentUpgradeableProxy
File 4 of 5: UniswapV3Pool
File 5 of 5: DEAI
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: 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 5: TransparentUpgradeableProxy
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/
File 4 of 5: 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 5 of 5: DEAI
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)pragma solidity ^0.8.0;import "./IAccessControlUpgradeable.sol";import "../utils/ContextUpgradeable.sol";import "../utils/StringsUpgradeable.sol";import "../utils/introspection/ERC165Upgradeable.sol";import {Initializable} from "../proxy/utils/Initializable.sol";/*** @dev Contract module that allows children to implement role-based access* control mechanisms. This is a lightweight version that doesn't allow enumerating role* members except through off-chain means by accessing the contract event logs. Some* applications may benefit from on-chain enumerability, for those cases see* {AccessControlEnumerable}.** Roles are referred to by their `bytes32` identifier. These should be exposed