Transaction Hash:
Block:
19490332 at Mar-22-2024 01:02:23 PM +UTC
Transaction Fee:
0.00357580742282676 ETH
$10.61
Gas Used:
139,240 Gas / 25.680892149 Gwei
Emitted Events:
542 |
WETH9.Transfer( src=UniswapV3Pool, dst=[Receiver] UniversalRouter, wad=1144099039975730715 )
|
543 |
TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000a8ab8dc3a156aa7aa0d8e6f4507017488ac50359, 0x0000000000000000000000001385fc1fe0418ea0b4fcf7adc61fc7535ab7f80d, 0000000000000000000000000000000000000000000002c0bb3dd30c4e200000 )
|
544 |
UniswapV3Pool.Swap( sender=[Receiver] UniversalRouter, recipient=[Receiver] UniversalRouter, amount0=13000000000000000000000, amount1=-1144099039975730715, sqrtPriceX96=743726141996126361231749274, liquidity=69752685266159154530803, tick=-93373 )
|
545 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=1144099039975730715 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x1385Fc1F...35AB7F80d | (Uniswap V3: DEAI 2) | ||||
0x1495bc9e...0cF0C05ea | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 6.347751521647372511 Eth | 6.347751660887372511 Eth | 0.00000013924 | |
0xa8ab8Dc3...88AC50359 |
4.117424082474872599 Eth
Nonce: 121
|
5.257947315027776554 Eth
Nonce: 122
| 1.140523232552903955 | ||
0xC02aaA39...83C756Cc2 | 2,967,635.299974105643808657 Eth | 2,967,634.155875065668077942 Eth | 1.144099039975730715 |
Execution Trace
UniversalRouter.execute( commands=0x000C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsC7PdMMTiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/TCCJklSXIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArFJW8nkSvH4vLYieNK+xFQM8MBeoAC7jAKqo5siP+jQoOXE8n6tkIPHVswgAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0wgiZJUlyA==], deadline=1711112663 )
UniswapV3Pool.swap( recipient=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, zeroForOne=True, amountSpecified=13000000000000000000000, sqrtPriceLimitX96=4295128740, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B1495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 ) => ( amount0=13000000000000000000000, amount1=-1144099039975730715 )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=1144099039975730715 ) => ( True )
TransparentUpgradeableProxy.70a08231( )
-
DEAI.balanceOf( account=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 3386882990469053180879427 )
-
UniversalRouter.uniswapV3SwapCallback( amount0Delta=13000000000000000000000, amount1Delta=-1144099039975730715, data=0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000A8AB8DC3A156AA7AA0D8E6F4507017488AC50359000000000000000000000000000000000000000000000000000000000000002B1495BC9E44AF1F8BCB62278D2BEC4540CF0C05EA000BB8C02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2000000000000000000000000000000000000000000 )
Permit2.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d, amount=13000000000000000000000, token=0x1495bc9e44Af1F8BCB62278D2bEC4540cF0C05ea )
TransparentUpgradeableProxy.23b872dd( )
-
DEAI.transferFrom( from=0xa8ab8Dc3a156Aa7Aa0d8E6F4507017488AC50359, to=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d, amount=13000000000000000000000 ) => ( True )
-
TransparentUpgradeableProxy.70a08231( )
-
DEAI.balanceOf( account=0x1385Fc1Fe0418ea0B4Fcf7Adc61FC7535AB7F80d ) => ( 3399882990469053180879427 )
-
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 1144099039975730715 )
WETH9.withdraw( wad=1144099039975730715 )
- ETH 1.144099039975730715
UniversalRouter.CALL( )
- ETH 1.144099039975730715
- ETH 1.144099039975730715
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;