ETH Price: $3,567.85 (+3.60%)

Transaction Decoder

Block:
16320681 at Jan-02-2023 05:48:11 PM +UTC
Transaction Fee:
0.002961784812303639 ETH $10.57
Gas Used:
174,923 Gas / 16.931934693 Gwei

Emitted Events:

177 OldCryptoCoin.Transfer( from=[Sender] 0x48724f4ca21ac6fdb6304d470f009bab8166b1fb, to=UniswapV2Pair, value=5604810783166722248335 )
178 OldCryptoCoin.Approval( owner=[Sender] 0x48724f4ca21ac6fdb6304d470f009bab8166b1fb, spender=[Receiver] SwapRouter02, value=115792089237316195423570985008687907853269984665640564033852773224746407391600 )
179 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] SwapRouter02, wad=229355675505790282 )
180 UniswapV2Pair.Sync( reserve0=163440041407932476837290, reserve1=6478244377031703493 )
181 UniswapV2Pair.Swap( sender=[Receiver] SwapRouter02, amount0In=5604810783166722248335, amount1In=0, amount0Out=0, amount1Out=229355675505790282, to=[Receiver] SwapRouter02 )
182 WETH9.Withdrawal( src=[Receiver] SwapRouter02, wad=229355675505790282 )

Account State Difference:

  Address   Before After State Difference Code
0x1b6FFa7D...C73B904E1
0x48724F4C...B8166b1fB
0.180711762418960683 Eth
Nonce: 128
0.407105653112447326 Eth
Nonce: 129
0.226393890693486643
0xb47123bD...f22596EEE
0xC02aaA39...83C756Cc2 3,798,729.288720581462230704 Eth3,798,729.059364905956440422 Eth0.229355675505790282
(Flashbots: Builder)
1.195363722918793373 Eth1.195626107418793373 Eth0.0002623845

Execution Trace

SwapRouter02.multicall( deadline=1672683467, data=[RytD8wAAAAAAAAAAAAAAAAAAAAAAAAAAAAABL9Zf77rbaI6PAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgvlHvz05S8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAC0cSO9fVu3T4W1CusbyrkPIllu7gAAAAAAAAAAAAAAAMAqqjmyI/6NCg5cTyfq2Qg8dWzC, SUBLfAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIL5R789OUvAAAAAAAAAAAAAAAASHJPTKIaxv22ME1HDwCbq4Fmsfs=] ) => ( [AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAy7VxY2+DUo=, ] )
  • SwapRouter02.swapExactTokensForTokens( amountIn=5604810783166722248335, amountOutMin=147463334075360559, path=[0xb47123bD7d5BB74F85b50AeB1Bcab90f22596EEE, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], to=0x0000000000000000000000000000000000000002 ) => ( amountOut=229355675505790282 )
    • OldCryptoCoin.transferFrom( sender=0x48724F4Ca21ac6fdb6304D470F009BaB8166b1fB, recipient=0x1b6FFa7Dc4f68e1a76386902BE3c1cbC73B904E1, amount=5604810783166722248335 ) => ( True )
    • WETH9.balanceOf( 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 ) => ( 0 )
    • UniswapV2Pair.STATICCALL( )
    • OldCryptoCoin.balanceOf( account=0x1b6FFa7Dc4f68e1a76386902BE3c1cbC73B904E1 ) => ( 163440041407932476837290 )
    • UniswapV2Pair.swap( amount0Out=0, amount1Out=229355675505790282, to=0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45, data=0x )
      • WETH9.transfer( dst=0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45, wad=229355675505790282 ) => ( True )
      • OldCryptoCoin.balanceOf( account=0x1b6FFa7Dc4f68e1a76386902BE3c1cbC73B904E1 ) => ( 163440041407932476837290 )
      • WETH9.balanceOf( 0x1b6FFa7Dc4f68e1a76386902BE3c1cbC73B904E1 ) => ( 6478244377031703493 )
      • WETH9.balanceOf( 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 ) => ( 229355675505790282 )
      • SwapRouter02.unwrapWETH9( amountMinimum=147463334075360559, recipient=0x48724F4Ca21ac6fdb6304D470F009BaB8166b1fB )
        • WETH9.balanceOf( 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 ) => ( 229355675505790282 )
        • WETH9.withdraw( wad=229355675505790282 )
          • ETH 0.229355675505790282 SwapRouter02.CALL( )
          • ETH 0.229355675505790282 0x48724f4ca21ac6fdb6304d470f009bab8166b1fb.CALL( )
            File 1 of 4: SwapRouter02
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            // SPDX-License-Identifier: GPL-2.0-or-later
            pragma solidity =0.7.6;
            pragma abicoder v2;
            import '@uniswap/v3-periphery/contracts/base/SelfPermit.sol';
            import '@uniswap/v3-periphery/contracts/base/PeripheryImmutableState.sol';
            import './interfaces/ISwapRouter02.sol';
            import './V2SwapRouter.sol';
            import './V3SwapRouter.sol';
            import './base/ApproveAndCall.sol';
            import './base/MulticallExtended.sol';
            /// @title Uniswap V2 and V3 Swap Router
            contract SwapRouter02 is ISwapRouter02, V2SwapRouter, V3SwapRouter, ApproveAndCall, MulticallExtended, SelfPermit {
            constructor(
            address _factoryV2,
            address factoryV3,
            address _positionManager,
            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

            File 2 of 4: UniswapV2Pair
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            // File: contracts/interfaces/IUniswapV2Pair.sol
            pragma 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);
            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

            File 3 of 4: OldCryptoCoin
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            /**
            */
            abstract contract Context {
            function _msgSender() internal view virtual returns (address) {
            return msg.sender;
            }
            }
            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);
            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

            File 4 of 4: WETH9
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            // 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;
            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX