Transaction Hash:
Block:
20765611 at Sep-16-2024 08:38:11 PM +UTC
Transaction Fee:
0.001485706316323262 ETH
$3.70
Gas Used:
209,546 Gas / 7.090120147 Gwei
Emitted Events:
121 |
WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=71000000000000000 )
|
122 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV2Pair, wad=71000000000000000 )
|
123 |
Chefdotfun.Transfer( from=UniswapV2Pair, to=Chefdotfun, value=265818997825756809654 )
|
124 |
Chefdotfun.Transfer( from=UniswapV2Pair, to=[Receiver] UniversalRouter, value=5050560958689379383444 )
|
125 |
UniswapV2Pair.Sync( reserve0=5570379377583462872999624, reserve1=74239973667463256016 )
|
126 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=71000000000000000, amount0Out=5316379956515136193098, amount1Out=0, to=[Receiver] UniversalRouter )
|
127 |
Chefdotfun.Transfer( from=[Receiver] UniversalRouter, to=FeeCollector, value=12626402396723448458 )
|
128 |
Chefdotfun.Transfer( from=[Receiver] UniversalRouter, to=[Sender] 0x9374176ba0e0e56d1f244b2f4ba32a794bf06e0e, value=5037934556292655934986 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 13.063649855080385139 Eth | 13.063872310400388033 Eth | 0.000222455320002894 | |
0x6a9bd61F...8F32E8a3F | |||||
0x8f2Bf2f5...3202b8636 | |||||
0x9374176B...94BF06e0e |
0.140002512521633934 Eth
Nonce: 202
|
0.067516806205310672 Eth
Nonce: 203
| 0.072485706316323262 | ||
0xC02aaA39...83C756Cc2 | 2,912,639.886871988562803948 Eth | 2,912,639.957871988562803948 Eth | 0.071 |
Execution Trace
ETH 0.071
UniversalRouter.execute( commands=0x0B080604, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/D4fsw2AAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/D4fsw2AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtocTVfCAhaW3AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAACPK/L1nN975K7nFQC5QZYjICuGNg==, AAAAAAAAAAAAAAAAjyvy9Zzfe+Su5xUAuUGWIyArhjYAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAAjyvy9Zzfe+Su5xUAuUGWIyArhjYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAthJCAeJ19fQF], deadline=1726519643 )
- ETH 0.071
WETH9.CALL( )
-
WETH9.transfer( dst=0x6a9bd61F5BE68A57ECe1780b9C00e868F32E8a3F, wad=71000000000000000 ) => ( True )
-
Chefdotfun.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0x6a9bd61F5BE68A57ECe1780b9C00e868F32E8a3F ) => ( 74239973667463256016 )
UniswapV2Pair.swap( amount0Out=5316379956515136193098, amount1Out=0, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
Chefdotfun.transfer( to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, amount=5316379956515136193098 ) => ( True )
-
Chefdotfun.balanceOf( account=0x6a9bd61F5BE68A57ECe1780b9C00e868F32E8a3F ) => ( 5570379377583462872999624 )
-
WETH9.balanceOf( 0x6a9bd61F5BE68A57ECe1780b9C00e868F32E8a3F ) => ( 74239973667463256016 )
-
-
Chefdotfun.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 5050560958689379383444 )
-
Chefdotfun.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 5050560958689379383444 )
-
Chefdotfun.transfer( to=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, amount=12626402396723448458 ) => ( True )
-
Chefdotfun.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 5037934556292655934986 )
-
Chefdotfun.transfer( to=0x9374176Ba0e0E56D1F244B2f4Ba32A794BF06e0e, amount=5037934556292655934986 ) => ( True )
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: UniswapV2Pair
File 4 of 5: Chefdotfun
File 5 of 5: FeeCollector
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: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma solidity >=0.5.0;interface IUniswapV2Pair {event Approval(address indexed owner, address indexed spender, uint value);event Transfer(address indexed from, address indexed to, uint value);function name() external pure returns (string memory);function symbol() external pure returns (string memory);function decimals() external pure returns (uint8);function totalSupply() external view returns (uint);function balanceOf(address owner) external view returns (uint);function allowance(address owner, address spender) external view returns (uint);function approve(address spender, uint value) external returns (bool);
File 4 of 5: Chefdotfun
123456789101112131415pragma solidity 0.8.25;// SPDX-License-Identifier: MIT/**Let's cook CryptocurrencyChef.fun is a cutting-edge platform designed to simplify the process of token deployment and provide investors with early access to promising cryptoprojects that are technically safe.App: https://chef.fun/Website: https://web.chef.fun/Documentation: https://chef-fun-organization.gitbook.io/chef.funTwitter: https://x.com/chefdotfunTelegram Portal: https://t.me/chefdotfun*/abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}
File 5 of 5: FeeCollector
12345678910111213141516// SPDX-License-Identifier: GPL-2.0-or-laterpragma solidity ^0.8.0;import {Owned} from "solmate/auth/Owned.sol";import {ERC20} from "solmate/tokens/ERC20.sol";import {SafeTransferLib} from "solmate/utils/SafeTransferLib.sol";import {IFeeCollector} from "./interfaces/IFeeCollector.sol";import {IPermit2} from "./external/IPermit2.sol";/// @notice The collector of protocol fees that will be used to swap and send to a fee recipient address.contract FeeCollector is Owned, IFeeCollector {using SafeTransferLib for ERC20;address public universalRouter;ERC20 public immutable feeToken;IPermit2 public immutable permit2;uint256 public constant MAX_APPROVAL_AMOUNT = type(uint256).max;uint160 public constant MAX_PERMIT2_APPROVAL_AMOUNT = type(uint160).max;uint48 public constant MAX_PERMIT2_DEADLINE = type(uint48).max;