Transaction Hash:
Block:
19490650 at Mar-22-2024 02:06:11 PM +UTC
Transaction Fee:
0.00527748720368345 ETH
$19.63
Gas Used:
135,350 Gas / 38.991408967 Gwei
Emitted Events:
377 |
WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] UniversalRouter, wad=553754519437908568 )
|
378 |
TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000a8ab8dc3a156aa7aa0d8e6f4507017488ac50359, 0x0000000000000000000000001385fc1fe0418ea0b4fcf7adc61fc7535ab7f80d, 00000000000000000000000000000000000000000000014542ba12a337c00000 )
|
379 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Receiver] UniversalRouter, amount0=6000000000000000000000, amount1=-553754519437908568, sqrtPriceX96=761966446027352997708346529, liquidity=69752685266159154530803, tick=-92889 )
|
380 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=553754519437908568 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1385Fc1F...35AB7F80d | (Uniswap V3: DEAI 2) | ||||
0x1495bc9e...0cF0C05ea | |||||
0xa8ab8Dc3...88AC50359 |
4.255016304657622282 Eth
Nonce: 123
|
4.8034933368918474 Eth
Nonce: 124
| 0.548477032234225118 | ||
0xb5D70Dd1...939C1916D
Miner
| (Fee Recipient: 0xb5d7...16d) | 0.707904497317675413 Eth | 0.707904632667675413 Eth | 0.00000013535 | |
0xC02aaA39...83C756Cc2 | 2,972,341.981790615785975033 Eth | 2,972,341.428036096348066465 Eth | 0.553754519437908568 |
Execution Trace
UniversalRouter.execute( commands=0x000C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUVCuhKjN8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeY3T9JhfceAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArFJW8nkSvH4vLYieNK+xFQM8MBeoAC7jAKqo5siP+jQoOXE8n6tkIPHVswgAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHmN0/SYX3Hg==], deadline=1711116515 )
UniswapV3Pool.swap( recipient=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, zeroForOne=True, amountSpecified=6000000000000000000000, sqrtPriceLimitX96=4295128740, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B1495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=6000000000000000000000, amount1=-553754519437908568 )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=553754519437908568 ) => ( True )
TransparentUpgradeableProxy.70a08231( )
-
DEAI.balanceOf( account=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 3218021267467664314716066 )
-
UniversalRouter.uniswapV3SwapCallback( amount0Delta=6000000000000000000000, amount1Delta=-553754519437908568, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B1495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d, amount=6000000000000000000000, token=0x1495bc9e44Af1F8BCB62278D2bEC4540cF0C05ea )
TransparentUpgradeableProxy.23b872dd( )
-
DEAI.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d, amount=6000000000000000000000 ) => ( True )
-
TransparentUpgradeableProxy.70a08231( )
-
DEAI.balanceOf( account=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 3224021267467664314716066 )
-
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 553754519437908568 )
WETH9.withdraw( wad=553754519437908568 )
- ETH 0.553754519437908568
UniversalRouter.CALL( )
- ETH 0.553754519437908568
- ETH 0.553754519437908568
0xa8ab8dc3a156aa7aa0d8e6f4507017488ac50359.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 6: UniversalRouter
File 2 of 6: UniswapV3Pool
File 3 of 6: WETH9
File 4 of 6: TransparentUpgradeableProxy
File 5 of 6: DEAI
File 6 of 6: 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 6: 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 3 of 6: 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 4 of 6: 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 5 of 6: 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
File 6 of 6: 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;