Transaction Hash:
Block:
18276816 at Oct-04-2023 11:20:23 AM +UTC
Transaction Fee:
0.001223151556281967 ETH
$3.09
Gas Used:
185,869 Gas / 6.580718443 Gwei
Emitted Events:
287 |
Permit2.Permit( owner=[Sender] 0xe0503e158ae3e23b9ecd9cade437eb607104ba71, token=Cavachon, spender=[Receiver] UniversalRouter, amount=1461501637330902918203684832716283019655932542975, expiration=1699010410, nonce=0 )
|
288 |
Cavachon.Transfer( from=[Sender] 0xe0503e158ae3e23b9ecd9cade437eb607104ba71, to=UniswapV2Pair, value=214623797240358478745161807343 )
|
289 |
Cavachon.Approval( owner=[Sender] 0xe0503e158ae3e23b9ecd9cade437eb607104ba71, spender=Permit2, value=115792089237316195423570985008687907853269984665425940242217225529167967832592 )
|
290 |
WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniversalRouter, wad=22779567899832153 )
|
291 |
UniswapV2Pair.Sync( reserve0=9929601133023043478, reserve1=93488355919545999218898400257140 )
|
292 |
UniswapV2Pair.Swap( sender=[Receiver] UniversalRouter, amount0In=0, amount1In=214623797240358478745161807343, amount0Out=22779567899832153, amount1Out=0, to=[Receiver] UniversalRouter )
|
293 |
WETH9.Withdrawal( src=[Receiver] UniversalRouter, wad=22779567899832153 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x00000000...43aC78BA3 | (Uniswap Protocol: Permit2) | ||||
0x1f9090aa...8e676c326
Miner
| 1.461891014771358547 Eth | 1.461909601671358547 Eth | 0.0000185869 | ||
0x966b947d...e4e1e7Ea4 | |||||
0xC02aaA39...83C756Cc2 | 3,171,380.118745355210712433 Eth | 3,171,380.09596578731088028 Eth | 0.022779567899832153 | ||
0xC1534Fe9...33bd0ED34 | |||||
0xe0503E15...07104ba71 |
0.007517914499712718 Eth
Nonce: 91
|
0.029074330843262904 Eth
Nonce: 92
| 0.021556416343550186 |
Execution Trace
UniversalRouter.execute( commands=0x0A080C, inputs=[AAAAAAAAAAAAAAAAwVNP6Ta+ADaceoJ6bnMaIzvQ7TQAAAAAAAAAAAAAAAD//////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlRNdqAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/yRo6/XA5XNSWxkfVpsydSyt/rQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlHVFyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQWXi9Ci9tNf+wr2JFtpB6ckd6x1FPPl+I0Wie7+CyAkRKBgbKVR1uA8uH+/C7gkY5KJOOjr1eqUbPw/bAORtLIEbAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAArV8pOHBFsUsvcW17wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABNE1RvPoJtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAwVNP6Ta+ADaceoJ6bnMaIzvQ7TQAAAAAAAAAAAAAAADAKqo5siP+jQoOXE8n6tkIPHVswg==, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATRNUbz6CbQ==], deadline=1696420199 )
Permit2.permit( owner=0xe0503E158ae3e23b9ecd9cade437Eb607104ba71, permitSingle=[{name:details, type:tuple, order:1, indexed:false, value:[{name:token, type:address, order:1, indexed:false, value:0xC1534Fe936Be00369C7a827a6e731A233bd0ED34, valueString:0xC1534Fe936Be00369C7a827a6e731A233bd0ED34}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1699010410, valueString:1699010410}, {name:nonce, type:uint48, order:4, indexed:false, value:0, valueString:0}], valueString:[{name:token, type:address, order:1, indexed:false, value:0xC1534Fe936Be00369C7a827a6e731A233bd0ED34, valueString:0xC1534Fe936Be00369C7a827a6e731A233bd0ED34}, {name:amount, type:uint160, order:2, indexed:false, value:1461501637330902918203684832716283019655932542975, valueString:1461501637330902918203684832716283019655932542975}, {name:expiration, type:uint48, order:3, indexed:false, value:1699010410, valueString:1699010410}, {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:1696420210, valueString:1696420210}], signature=0x65E2F428BDB4D7FEC2BD8916DA41E9C91DEB1D453CF97E2345A27BBF82C8091128181B295475B80F2E1FEFC2EE0918E4A24E3A3AF57AA51B3F0FDB00E46D2C811B )
-
Null: 0x000...001.6018e4f2( )
-
Permit2.transferFrom( from=0xe0503E158ae3e23b9ecd9cade437Eb607104ba71, to=0x966b947dE8928c68C7dA737C7EF7685e4e1e7Ea4, amount=214623797240358478745161807343, token=0xC1534Fe936Be00369C7a827a6e731A233bd0ED34 )
-
Cavachon.transferFrom( sender=0xe0503E158ae3e23b9ecd9cade437Eb607104ba71, recipient=0x966b947dE8928c68C7dA737C7EF7685e4e1e7Ea4, amount=214623797240358478745161807343 ) => ( True )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 0 )
-
UniswapV2Pair.STATICCALL( )
-
Cavachon.balanceOf( account=0x966b947dE8928c68C7dA737C7EF7685e4e1e7Ea4 ) => ( 93488355919545999218898400257140 )
UniswapV2Pair.swap( amount0Out=22779567899832153, amount1Out=0, to=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, data=0x )
-
WETH9.transfer( dst=0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD, wad=22779567899832153 ) => ( True )
-
WETH9.balanceOf( 0x966b947dE8928c68C7dA737C7EF7685e4e1e7Ea4 ) => ( 9929601133023043478 )
-
Cavachon.balanceOf( account=0x966b947dE8928c68C7dA737C7EF7685e4e1e7Ea4 ) => ( 93488355919545999218898400257140 )
-
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 22779567899832153 )
-
WETH9.balanceOf( 0x3fC91A3afd70395Cd496C647d5a6CC9D4B2b7FAD ) => ( 22779567899832153 )
WETH9.withdraw( wad=22779567899832153 )
- ETH 0.022779567899832153
UniversalRouter.CALL( )
- ETH 0.022779567899832153
- ETH 0.022779567899832153
0xe0503e158ae3e23b9ecd9cade437eb607104ba71.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: Cavachon
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: Cavachon
12345678910111213141516/*Twitter: https://twitter.com/CavachonEthTelegram: https://t.me/CavachonCoinMedium: https://medium.com/@dev_72199/cavachon-6730e21a7470Web: https://www.cavachon.ioWeb REDIR http://www.cavachon.bizWeb REDIR http://www.cavachon.clubWeb REDIR http://www.cavachon.infoWeb REDIR http://www.cavachon.liveWeb REDIR http://www.cavachon.onlineWeb REDIR http://www.cavachon.pro
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;