Transaction Hash:
Block:
19529695 at Mar-28-2024 02:39:23 AM +UTC
Transaction Fee:
0.00341658829316946 ETH
$10.19
Gas Used:
129,670 Gas / 26.348332638 Gwei
Emitted Events:
474 |
WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] UniversalRouter, wad=469069275639899086 )
|
475 |
TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000a8ab8dc3a156aa7aa0d8e6f4507017488ac50359, 0x0000000000000000000000001385fc1fe0418ea0b4fcf7adc61fc7535ab7f80d, 0000000000000000000000000000000000000000000000a720664fd5290ea9f5 )
|
476 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Receiver] UniversalRouter, amount0=3082940901543268755957, amount1=-469069275639899086, sqrtPriceX96=978600041975304292818873126, liquidity=131569281360611673000258, tick=-87884 )
|
477 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=469069275639899086 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1385Fc1F...35AB7F80d | (Uniswap V3: DEAI 2) | ||||
0x1495bc9e...0cF0C05ea | |||||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 9.24991878185279773 Eth | 9.24991891152279773 Eth | 0.00000012967 | |
0xa8ab8Dc3...88AC50359 |
6.185824284172970156 Eth
Nonce: 153
|
6.651476971519699782 Eth
Nonce: 154
| 0.465652687346729626 | ||
0xC02aaA39...83C756Cc2 | 2,985,560.158826991610796039 Eth | 2,985,559.689757715970896953 Eth | 0.469069275639899086 |
Execution Trace
UniversalRouter.execute( commands=0x000C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKcgZk/VKQ6p9QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZziGNgomIRAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArFJW8nkSvH4vLYieNK+xFQM8MBeoAC7jAKqo5siP+jQoOXE8n6tkIPHVswgAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGc4hjYKJiEQ==], deadline=1711593671 )
UniswapV3Pool.swap( recipient=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, zeroForOne=True, amountSpecified=3082940901543268755957, sqrtPriceLimitX96=4295128740, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B1495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=3082940901543268755957, amount1=-469069275639899086 )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=469069275639899086 ) => ( True )
TransparentUpgradeableProxy.70a08231( )
-
DEAI.balanceOf( account=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 5760372562865013780655935 )
-
UniversalRouter.uniswapV3SwapCallback( amount0Delta=3082940901543268755957, amount1Delta=-469069275639899086, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B1495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d, amount=3082940901543268755957, token=0x1495bc9e44Af1F8BCB62278D2bEC4540cF0C05ea )
TransparentUpgradeableProxy.23b872dd( )
-
DEAI.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d, amount=3082940901543268755957 ) => ( True )
-
TransparentUpgradeableProxy.70a08231( )
-
DEAI.balanceOf( account=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 5763455503766557049411892 )
-
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 469069275639899086 )
WETH9.withdraw( wad=469069275639899086 )
- ETH 0.469069275639899086
UniversalRouter.CALL( )
- ETH 0.469069275639899086
- ETH 0.469069275639899086
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;