ETH Price: $4,624.11 (+7.74%)

Transaction Decoder

Block:
12455234 at May-18-2021 12:45:42 AM +UTC
Transaction Fee:
0.0068208294 ETH $31.54
Gas Used:
126,546 Gas / 53.9 Gwei

Emitted Events:

147 WETH9.Deposit( dst=UniswapV2Router02, wad=2972660486321281 )
148 WETH9.Transfer( src=UniswapV2Router02, dst=UniswapV2Pair, wad=2972660486321281 )
149 TokenMintERC20Token.Transfer( from=UniswapV2Pair, to=[Receiver] SwapProxy, value=601857761718681232040910 )
150 UniswapV2Pair.Sync( reserve0=455880937926440978969146395249, reserve1=2244908328754617276599 )
151 UniswapV2Pair.Swap( sender=UniswapV2Router02, amount0In=0, amount1In=2972660486321281, amount0Out=601857761718681232040910, amount1Out=0, to=[Receiver] SwapProxy )
152 TokenMintERC20Token.Transfer( from=[Receiver] SwapProxy, to=[Sender] 0x9042f624d48cabe282420a5b0304018529f6f11e, value=601857761718681232040910 )
153 SwapProxy.TokensTraded( sender=[Sender] 0x9042f624d48cabe282420a5b0304018529f6f11e, from=0xEeeeeEee...eeeeeEEeE, to=TokenMintERC20Token, fromAmount=2972660486321281, toAmount=601857761718681232040910, fee=14937992393574 )

Account State Difference:

  Address   Before After State Difference Code
0x382fFCe2...5BF282bA1
(Coinbase: Fees)
2.479561139407674111 Eth2.479576077400067685 Eth0.000014937992393574
(Spark Pool)
72.957641553446944015 Eth72.964462382846944015 Eth0.0068208294
0x811beEd0...F7AF1954f
0x9042F624...529F6F11E
0.019265513131461966 Eth
Nonce: 1
0.009457085252747111 Eth
Nonce: 2
0.009808427878714855
0x95aD61b0...f0B64C4cE
0xC02aaA39...83C756Cc2 6,509,295.801082118698042286 Eth6,509,295.804054779184363567 Eth0.002972660486321281

Execution Trace

ETH 0.002987598478714855 SwapProxy.swapETHForTokens( path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE], minAmount=584350666065215154117548, fee=14937992393574 )
  • ETH 0.000014937992393574 Coinbase: Fees.CALL( )
  • ETH 0.002972660486321281 UniswapV2Router02.swapExactETHForTokens( amountOutMin=584350666065215154117548, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE], to=0x8dF6084e3b84a65Ab9Dd2325b5422e5dEBD8944a, deadline=1621298742 ) => ( amounts=[2972660486321281, 601857761718681232040910] )
    • UniswapV2Pair.STATICCALL( )
    • ETH 0.002972660486321281 WETH9.CALL( )
    • WETH9.transfer( dst=0x811beEd0119b4AfCE20D2583EB608C6F7AF1954f, wad=2972660486321281 ) => ( True )
    • UniswapV2Pair.swap( amount0Out=601857761718681232040910, amount1Out=0, to=0x8dF6084e3b84a65Ab9Dd2325b5422e5dEBD8944a, data=0x )
      • TokenMintERC20Token.transfer( recipient=0x8dF6084e3b84a65Ab9Dd2325b5422e5dEBD8944a, amount=601857761718681232040910 ) => ( True )
      • TokenMintERC20Token.balanceOf( account=0x811beEd0119b4AfCE20D2583EB608C6F7AF1954f ) => ( 455880937926440978969146395249 )
      • WETH9.balanceOf( 0x811beEd0119b4AfCE20D2583EB608C6F7AF1954f ) => ( 2244908328754617276599 )
      • TokenMintERC20Token.transfer( recipient=0x9042F624d48CAbE282420a5b0304018529F6F11E, amount=601857761718681232040910 ) => ( True )
        File 1 of 5: SwapProxy
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        // SPDX-License-Identifier: GNU-3.0
        pragma solidity =0.6.12;
        import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
        import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol';
        import '@openzeppelin/contracts/access/Ownable.sol';
        import '@openzeppelin/contracts/utils/ReentrancyGuard.sol';
        import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';
        /**
        @title Coinbase Wallet Swap Proxy
        This contract is meant to be stateless and not meant to custody funds.
        Any funds sent directly to this contract may not be recoverable.
        */
        contract SwapProxy is ReentrancyGuard, Ownable {
        using SafeERC20 for IERC20;
        using SafeMath for uint256;
        // ETH Indicator
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

        File 2 of 5: 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

        File 3 of 5: UniswapV2Router02
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        pragma solidity =0.6.6;
        interface IUniswapV2Factory {
        event PairCreated(address indexed token0, address indexed token1, address pair, uint);
        function feeTo() external view returns (address);
        function feeToSetter() external view returns (address);
        function getPair(address tokenA, address tokenB) external view returns (address pair);
        function allPairs(uint) external view returns (address pair);
        function allPairsLength() external view returns (uint);
        function createPair(address tokenA, address tokenB) external returns (address pair);
        function setFeeTo(address) external;
        function setFeeToSetter(address) external;
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

        File 4 of 5: 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 5 of 5: TokenMintERC20Token
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        /**
        *Submitted for verification at Etherscan.io on 2019-08-02
        */
        // File: contracts\open-zeppelin-contracts\token\ERC20\IERC20.sol
        pragma solidity ^0.5.0;
        /**
        * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
        * the optional functions; to access them see `ERC20Detailed`.
        */
        interface IERC20 {
        /**
        * @dev Returns the amount of tokens in existence.
        */
        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX