Transaction Hash:
Block:
20829698 at Sep-25-2024 07:27:23 PM +UTC
Transaction Fee:
0.005551772916984888 ETH
$15.61
Gas Used:
164,604 Gas / 33.728055922 Gwei
Emitted Events:
214 |
WETH9.Deposit( dst=[Receiver] UniversalRouter, wad=30000000000000000 )
|
215 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=UniswapV2Pair, wad=30000000000000000 )
|
216 |
ChefToken.Transfer( from=UniswapV2Pair, to=ChefToken, value=58733176005526597493012 )
|
217 |
ChefToken.Transfer( from=UniswapV2Pair, to=[Receiver] UniversalRouter, value=332821330697984052460402 )
|
218 |
UniswapV2Pair.Sync( reserve0=99156328727496971630881278, reserve1=7604337011743666838 )
|
219 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=30000000000000000, amount0Out=391554506703510649953414, amount1Out=0, to=[Receiver] UniversalRouter )
|
220 |
ChefToken.Transfer( from=[Receiver] UniversalRouter, to=FeeCollector, value=832053326744960131151 )
|
221 |
ChefToken.Transfer( from=[Receiver] UniversalRouter, to=[Sender] 0x9374176ba0e0e56d1f244b2f4ba32a794bf06e0e, value=331989277371239092329251 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x5A3aD076...F172eD8Af | |||||
0x9374176B...94BF06e0e |
0.089741908924914318 Eth
Nonce: 230
|
0.05419013600792943 Eth
Nonce: 231
| 0.035551772916984888 | ||
0x94253510...32789876e | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 19.451837664690424965 Eth | 19.452332628918424965 Eth | 0.000494964228 | |
0xC02aaA39...83C756Cc2 | 2,909,263.688070435059736121 Eth | 2,909,263.718070435059736121 Eth | 0.03 |
Execution Trace
ETH 0.03
UniversalRouter.execute( commands=0x0B080604, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAapTXT0MAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAapTXT0MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtEJTqCxVFJ5CJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAACUJTUQSLMsZZoiYjM32eEjJ4mHbg==, AAAAAAAAAAAAAAAAlCU1EEizLGWaImIzN9nhIyeJh24AAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAAlCU1EEizLGWaImIzN9nhIyeJh24AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAs872Af4kOlOfa], deadline=1727293019 )
- ETH 0.03
WETH9.CALL( )
-
WETH9.transfer( dst=0x5A3aD0765420B01e934D9210Ab08107F172eD8Af, wad=30000000000000000 ) => ( True )
-
ChefToken.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
WETH9.balanceOf( 0x5A3aD0765420B01e934D9210Ab08107F172eD8Af ) => ( 7604337011743666838 )
UniswapV2Pair.swap( amount0Out=391554506703510649953414, amount1Out=0, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
ChefToken.transfer( to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, amount=391554506703510649953414 ) => ( True )
-
ChefToken.balanceOf( account=0x5A3aD0765420B01e934D9210Ab08107F172eD8Af ) => ( 99156328727496971630881278 )
-
WETH9.balanceOf( 0x5A3aD0765420B01e934D9210Ab08107F172eD8Af ) => ( 7604337011743666838 )
-
-
ChefToken.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 332821330697984052460402 )
-
ChefToken.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 332821330697984052460402 )
-
ChefToken.transfer( to=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, amount=832053326744960131151 ) => ( True )
-
ChefToken.balanceOf( account=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 331989277371239092329251 )
-
ChefToken.transfer( to=0x9374176Ba0e0E56D1F244B2f4Ba32A794BF06e0e, amount=331989277371239092329251 ) => ( 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: ChefToken
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: ChefToken
12345678910111213141516/*Deployed on chef.fun, the ultimate launchpad for memes and utility. Deploy for 100$ and get up to 20,000$ worth of benefits!More info: web.chef.funTwitter: https://x.com/chefdotfunTelegram: https://t.me/chefdotfun*/pragma solidity 0.8.19;// SPDX-License-Identifier: MITabstract contract Context {function _msgSender() internal view virtual returns (address) {
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;