Transaction Hash:
Block:
21968535 at Mar-03-2025 07:45:59 PM +UTC
Transaction Fee:
0.000745499355698864 ETH
$1.43
Gas Used:
135,746 Gas / 5.491869784 Gwei
Emitted Events:
51 |
GroAI.Transfer( from=[Sender] 0xadc0aadfd1b659c53cb9538bf56e3fd6cc3503c2, to=UniswapV2Pair, value=120000000000000000000 )
|
52 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=69183174417276852 )
|
53 |
UniswapV2Pair.Sync( reserve0=3872039782832919648875, reserve1=2169659166802837206 )
|
54 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=120000000000000000000, amount1In=0, amount0Out=0, amount1Out=69183174417276852, to=[Receiver] UniversalRouter )
|
55 |
WETH9.Transfer( src=[Receiver] UniversalRouter, dst=FeeCollector, wad=172957936043192 )
|
56 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=69010216481233660 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x5E1DDCE1...3f676b807 | |||||
0x78e2535A...3B462eFF7 | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 5.01988485000121162 Eth | 5.02015634200121162 Eth | 0.000271492 | |
0xAdc0aadf...6CC3503C2 |
0.015288986601889565 Eth
Nonce: 433
|
0.083553703727424361 Eth
Nonce: 434
| 0.068264717125534796 | ||
0xC02aaA39...83C756Cc2 | 2,889,220.882204417468492203 Eth | 2,889,220.813194200987258543 Eth | 0.06901021648123366 |
Execution Trace
UniversalRouter.execute( commands=0x08060C, inputs=[AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaBVaQ2duAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAeOJTWuRMYkQqXmfArVml47Ri7/cAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAwCqqObIj/o0KDlxPJ+rZCDx1bMIAAAAAAAAAAAAAAAAAAAD+4ToQOhDVk7muBrPgXy5+HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZ, AAAAAAAAAAAAAAAArcCq39G2WcU8uVOL9W4/1sw1A8IAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8kQvHdq/lw==], deadline=1741032947 )
Permit2.transferFrom( from=0xAdc0aadfD1b659C53cB9538bf56E3FD6CC3503C2, to=0x5E1DDCE17F355994B9af9AB7945C2503f676b807, amount=120000000000000000000, token=0x78e2535Ae44C62442A5E67C0aD59a5e3B462eFF7 )
-
GroAI.transferFrom( from=0xAdc0aadfD1b659C53cB9538bf56E3FD6CC3503C2, to=0x5E1DDCE17F355994B9af9AB7945C2503f676b807, value=120000000000000000000 ) => ( True )
-
-
WETH9.balanceOf( 0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
GroAI.balanceOf( account=0x5E1DDCE17F355994B9af9AB7945C2503f676b807 ) => ( 3872039782832919648875 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=69183174417276852, to=0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af, data=0x )
-
WETH9.transfer( dst=0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af, wad=69183174417276852 ) => ( True )
-
GroAI.balanceOf( account=0x5E1DDCE17F355994B9af9AB7945C2503f676b807 ) => ( 3872039782832919648875 )
-
WETH9.balanceOf( 0x5E1DDCE17F355994B9af9AB7945C2503f676b807 ) => ( 2169659166802837206 )
-
-
WETH9.balanceOf( 0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af ) => ( 69183174417276852 )
-
WETH9.balanceOf( 0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af ) => ( 69183174417276852 )
-
WETH9.transfer( dst=0x000000fee13a103A10D593b9AE06b3e05F2E7E1c, wad=172957936043192 ) => ( True )
-
WETH9.balanceOf( 0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af ) => ( 69010216481233660 )
WETH9.withdraw( wad=69010216481233660 )
- ETH 0.06901021648123366
UniversalRouter.CALL( )
- ETH 0.06901021648123366
- ETH 0.06901021648123366
0xadc0aadfd1b659c53cb9538bf56e3fd6cc3503c2.CALL( )
File 1 of 6: UniversalRouter
File 2 of 6: UniswapV2Pair
File 3 of 6: GroAI
File 4 of 6: WETH9
File 5 of 6: FeeCollector
File 6 of 6: Permit2
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity ^0.8.24;// Command implementationsimport {Dispatcher} from './base/Dispatcher.sol';import {RouterParameters} from './types/RouterParameters.sol';import {PaymentsImmutables, PaymentsParameters} from './modules/PaymentsImmutables.sol';import {UniswapImmutables, UniswapParameters} from './modules/uniswap/UniswapImmutables.sol';import {V4SwapRouter} from './modules/uniswap/v4/V4SwapRouter.sol';import {Commands} from './libraries/Commands.sol';import {IUniversalRouter} from './interfaces/IUniversalRouter.sol';import {MigratorImmutables, MigratorParameters} from './modules/MigratorImmutables.sol';contract UniversalRouter is IUniversalRouter, Dispatcher {constructor(RouterParameters memory params)UniswapImmutables(UniswapParameters(params.v2Factory, params.v3Factory, params.pairInitCodeHash, params.poolInitCodeHash))
File 2 of 6: 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 3 of 6: GroAI
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.20;// Import the ERC20 contract from OpenZeppelin libraryimport "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/access/Ownable.sol";// Define the token contractcontract GroAI is ERC20,Ownable {uint256 public constant MAX_SUPPLY = 250000e18;address private constant OWNER = 0xcD8dDeE99C0c4Be4cD699661AE9c00C69D1Eb4A8;// Constructor to set token name and symbolconstructor() ERC20("Growth AI", "GRO-AI") Ownable(OWNER) {_mint(OWNER, MAX_SUPPLY); // Mint tokens to the contract deployer (owner)}}// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)pragma solidity ^0.8.20;
File 4 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 5 of 6: 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;
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;