Transaction Hash:
Block:
20556412 at Aug-18-2024 03:28:47 PM +UTC
Transaction Fee:
0.000510024427324632 ETH
$1.92
Gas Used:
186,237 Gas / 2.738577336 Gwei
Emitted Events:
105 |
Permit2.Permit( owner=[Sender] 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937, token=Kendu, spender=[Receiver] UniversalRouter, amount=84984791246063019, expiration=1723996724, nonce=0 )
|
106 |
Kendu.Transfer( from=[Sender] 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937, to=UniswapV2Pair, value=849847912460631 )
|
107 |
Kendu.Transfer( from=[Sender] 0x2cd89badcb8c65a76c66379f62d3cdfd2b353937, to=0x000000000000000000000000000000000000dEaD, value=84134943333602388 )
|
108 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=1860336086446 )
|
109 |
UniswapV2Pair.Sync( reserve0=675268172145519349153, reserve1=1482623139663913554 )
|
110 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=849847912460631, amount1In=0, amount0Out=0, amount1Out=1860336086446, to=[Receiver] UniversalRouter )
|
111 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=1860336086446 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x07C86D36...6108Be29a | |||||
0x2CD89BAd...d2B353937 |
0.007931426604665406 Eth
Nonce: 21
|
0.00742326251342722 Eth
Nonce: 22
| 0.000508164091238186 | ||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 8.096436233961193208 Eth | 8.096622470961193208 Eth | 0.000186237 | |
0xC02aaA39...83C756Cc2 | 2,874,902.866914568862413813 Eth | 2,874,902.866912708526327367 Eth | 0.000001860336086446 | ||
0xd86DC686...1d5861eE5 |
Execution Trace
UniversalRouter.execute( commands=0x0A080C, inputs=[AAAAAAAAAAAAAAAAB8htNuHJU4xXXozpUHCx9hCL4poAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABLe03pYhFqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmwho0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmwho0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQeQIYrKgNI44es9PbW7KtBYiMaAYHT1bl1nLkrczwHsEHPkIvyGNSgzltz4UO7qiN8XmO8NJrIn1Es+ji4zbpOIcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABLe03pYhFqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAB8htNuHJU4xXXozpUHCx9hCL4poAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==], deadline=2576980377 )
Permit2.permit( owner=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0x07C86D36e1C9538C575e8ce95070B1F6108Be29a, valueString:0x07C86D36e1C9538C575e8ce95070B1F6108Be29a}, {name:amount, type:uint160, order:2, indexed:false, value:84984791246063019, valueString:84984791246063019}, {name:expiration, type:uint48, order:3, indexed:false, value:1723996724, valueString:1723996724}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0x07C86D36e1C9538C575e8ce95070B1F6108Be29a, valueString:0x07C86D36e1C9538C575e8ce95070B1F6108Be29a}, {name:amount, type:uint160, order:2, indexed:false, value:84984791246063019, valueString:84984791246063019}, {name:expiration, type:uint48, order:3, indexed:false, value:1723996724, valueString:1723996724}, {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:1723996724, valueString:1723996724}], signature=0xE40862B2A0348E387ACF4F6D6ECAB4162231A0181D3D5B9759CB92B733C07B041CF908BF218D4A0CE5B73E143BBAA237C5E63BC349AC89F512CFA38B8CDBA4E21C )
-
Null: 0x000...001.1f64c2e0( )
-
Permit2.transferFrom( from=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937, to=0xd86DC68635F7f4f67b9Df3d3d9645d71d5861eE5, amount=84984791246063019, token=0x07C86D36e1C9538C575e8ce95070B1F6108Be29a )
-
Kendu.transferFrom( sender=0x2CD89BAdcB8C65a76c66379F62d3CDFd2B353937, recipient=0xd86DC68635F7f4f67b9Df3d3d9645d71d5861eE5, amount=84984791246063019 ) => ( True )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
Kendu.balanceOf( account=0xd86DC68635F7f4f67b9Df3d3d9645d71d5861eE5 ) => ( 675268172145519349153 )
UniswapV2Pair.swap( amount0Out=0, amount1Out=1860336086446, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 1860336086446 )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 1860336086446 )
WETH9.withdraw( wad=1860336086446 )
- ETH 0.000001860336086446
UniversalRouter.CALL( )
- ETH 0.000001860336086446
- ETH 0.000001860336086446
0x2cd89badcb8c65a76c66379f62d3cdfd2b353937.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: UniswapV2Pair
File 4 of 5: Kendu
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: 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: Kendu
12345678910111213141516/**Uniting the six native Japanese dog breeds.Kendu is the keeper of peace, the preserver of life, and the protector of unity.Dog season is approaching, will you join the pack?*///SPDX-License-Identifier:MITpragma solidity ^0.8.18;interface IERC20 {function totalSupply() external view returns (uint256);function balanceOf(address account) external view returns (uint256);function transfer(address recipient, uint256 amount) external returns (bool);function allowance(address owner, address spender) external view returns (uint256);function approve(address spender, uint256 amount) 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;