Transaction Hash:
Block:
18630553 at Nov-22-2023 11:27:35 PM +UTC
Transaction Fee:
0.006117891205294154 ETH
$15.60
Gas Used:
154,583 Gas / 39.576740038 Gwei
Emitted Events:
318 |
Permit2.Permit( owner=[Sender] 0xb6d470ab7871b8cfa8f2ff6a44c9c6e9ea2544df, token=TOADKILLER, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1703287609, nonce=0 )
|
319 |
TOADKILLER.Approval( owner=[Sender] 0xb6d470ab7871b8cfa8f2ff6a44c9c6e9ea2544df, spender=Permit2, value=0 )
|
320 |
TOADKILLER.Transfer( from=[Sender] 0xb6d470ab7871b8cfa8f2ff6a44c9c6e9ea2544df, to=UniswapV2Pair, value=115750984710391949362104287563 )
|
321 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=657709088471810487 )
|
322 |
UniswapV2Pair.Sync( reserve0=31683403980192778863317538048583, reserve1=179910406369738214773 )
|
323 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=115750984710391949362104287563, amount1In=0, amount0Out=0, amount1Out=657709088471810487, to=[Receiver] UniversalRouter )
|
324 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=657709088471810487 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x370a366f...E0cce1955 | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 7.647672299601849999 Eth | 7.647687757901849999 Eth | 0.0000154583 | |
0x9F6FACb4...C7Cf55973 | |||||
0xb6d470ab...9EA2544df |
0.041982592898854747 Eth
Nonce: 1266
|
0.69357379016537108 Eth
Nonce: 1267
| 0.651591197266516333 | ||
0xC02aaA39...83C756Cc2 | 3,047,752.455211355257817297 Eth | 3,047,751.79750226678600681 Eth | 0.657709088471810487 |
Execution Trace
UniversalRouter.execute( commands=0x0A080C, inputs=[AAAAAAAAAAAAAAAANwo2b0AuLkHNu+VOzsEqrgzOGVUAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlhhs5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlXpVBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQfyWqHJjiuVJVUNg1uqEKY9e8BGYpL/MGgleg6ur/7lHPO9y9XJ+26j9bxdhKlBeGMMr83WwEUM51Qhi9r4Fx1cbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAXYC+G6EZR46HoLBSwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkNP3Zkdc58AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAANwo2b0AuLkHNu+VOzsEqrgzOGVUAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJDT92ZHXOfA==], deadline=1700696219 )
Permit2.permit( owner=0xb6d470ab7871b8Cfa8F2ff6A44C9C6E9EA2544df, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x370a366f402e2e41CDBbE54EcEC12aaE0cce1955, valueString:0x370a366f402e2e41CDBbE54EcEC12aaE0cce1955}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1703287609, valueString:1703287609}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x370a366f402e2e41CDBbE54EcEC12aaE0cce1955, valueString:0x370a366f402e2e41CDBbE54EcEC12aaE0cce1955}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1703287609, valueString:1703287609}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}]}, {name:spender, type:address, order:2, indexed:false, value:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, valueString:0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD}, {name:sigDeadline, type:uint256, order:3, indexed:false, value:1700697409, valueString:1700697409}], signature=0xFC96A872638AE549554360D6EA84298F5EF01198A4BFCC1A095E83ABABFFB9473CEF72F5727EDBA8FD6F17612A505E18C32BF375B0114339D50862F6BE05C7571B )
-
Null: 0x000...001.d2f5e428( )
-
Permit2.transferFrom( from=0xb6d470ab7871b8Cfa8F2ff6A44C9C6E9EA2544df, to=0x9F6FACb42177f5aF680F9f17CDF750bC7Cf55973, amount=115750984710391949362104287563, token=0x370a366f402e2e41CDBbE54EcEC12aaE0cce1955 )
-
TOADKILLER.transferFrom( from=0xb6d470ab7871b8Cfa8F2ff6A44C9C6E9EA2544df, to=0x9F6FACb42177f5aF680F9f17CDF750bC7Cf55973, amount=115750984710391949362104287563 ) => ( True )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
TOADKILLER.balanceOf( account=0x9F6FACb42177f5aF680F9f17CDF750bC7Cf55973 ) => ( 31683403980192778863317538048583 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=657709088471810487, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=657709088471810487 ) => ( True )
-
TOADKILLER.balanceOf( account=0x9F6FACb42177f5aF680F9f17CDF750bC7Cf55973 ) => ( 31683403980192778863317538048583 )
-
WETH9.balanceOf( 0x9F6FACb42177f5aF680F9f17CDF750bC7Cf55973 ) => ( 179910406369738214773 )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 657709088471810487 )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 657709088471810487 )
WETH9.withdraw( wad=657709088471810487 )
- ETH 0.657709088471810487
UniversalRouter.CALL( )
- ETH 0.657709088471810487
- ETH 0.657709088471810487
0xb6d470ab7871b8cfa8f2ff6a44c9c6e9ea2544df.CALL( )
execute[UniversalRouter (ln:16)]
execute[UniversalRouter (ln:21)]
execute[UniversalRouter (ln:21)]
File 1 of 5: UniversalRouter
File 2 of 5: Permit2
File 3 of 5: TOADKILLER
File 4 of 5: UniswapV2Pair
File 5 of 5: WETH9
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: 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;
File 3 of 5: TOADKILLER
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity ^0.8.9;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";contract TOADKILLER is ERC20, ERC20Burnable {constructor() ERC20("TOAD KILLER", "TOAD") {_mint(msg.sender, 420690000000000 * 10 ** decimals());}}// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)pragma solidity ^0.8.0;import "./IERC20.sol";import "./extensions/IERC20Metadata.sol";import "../../utils/Context.sol";/*** @dev Implementation of the {IERC20} interface.
File 4 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 5 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;