ETH Price: $1,854.88 (-1.94%)

Transaction Decoder

Block:
13807820 at Dec-15-2021 05:23:20 AM +UTC
Transaction Fee:
0.007504387508085324 ETH $13.92
Gas Used:
101,604 Gas / 73.859173931 Gwei

Emitted Events:

104 WETH9.Deposit( dst=[Receiver] UniswapV2Router02, wad=50000000000000000 )
105 WETH9.Transfer( src=[Receiver] UniswapV2Router02, dst=UniswapV2Pair, wad=50000000000000000 )
106 IDEX.Transfer( from=UniswapV2Pair, to=[Sender] 0x408bae146b1f7cadcda88476a7349a3fa5de6a81, value=640412178986873352608 )
107 UniswapV2Pair.Sync( reserve0=50551416246158141522195, reserve1=3984947183324313417 )
108 UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=0, amount1In=50000000000000000, amount0Out=640412178986873352608, amount1Out=0, to=[Sender] 0x408bae146b1f7cadcda88476a7349a3fa5de6a81 )

Account State Difference:

  Address   Before After State Difference Code
0x408BAE14...FA5dE6A81
0.072794209320670432 Eth
Nonce: 4
0.015289821812585108 Eth
Nonce: 5
0.057504387508085324
(Miner: 0x537...aaD)
34.516596342771556775 Eth34.516748748771556775 Eth0.000152406
0xB7052682...F5CbDcfAE
0xC02aaA39...83C756Cc2 7,278,989.40147703384948478 Eth7,278,989.45147703384948478 Eth0.05
0xFCFe058E...935FE0A64

Execution Trace

ETH 0.05 UniswapV2Router02.swapExactETHForTokens( amountOutMin=637226048743157564784, path=[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, 0xB705268213D593B8FD88d3FDEFF93AFF5CbDcfAE], to=0x408BAE146B1F7CadcDA88476a7349A3FA5dE6A81, deadline=1639547419 ) => ( amounts=[50000000000000000, 640412178986873352608] )
  • UniswapV2Pair.STATICCALL( )
  • ETH 0.05 WETH9.CALL( )
  • WETH9.transfer( dst=0xFCFe058EFA0bE5BCcFdD45e2C079997935FE0A64, wad=50000000000000000 ) => ( True )
  • UniswapV2Pair.swap( amount0Out=640412178986873352608, amount1Out=0, to=0x408BAE146B1F7CadcDA88476a7349A3FA5dE6A81, data=0x )
    • IDEX.transfer( to=0x408BAE146B1F7CadcDA88476a7349A3FA5dE6A81, value=640412178986873352608 ) => ( True )
    • IDEX.balanceOf( owner=0xFCFe058EFA0bE5BCcFdD45e2C079997935FE0A64 ) => ( 50551416246158141522195 )
    • WETH9.balanceOf( 0xFCFe058EFA0bE5BCcFdD45e2C079997935FE0A64 ) => ( 3984947183324313417 )
      File 1 of 4: 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 2 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

      File 3 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 4 of 4: IDEX
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      pragma solidity ^0.5.6;
      /**
      * @title SafeMath
      * @dev Unsigned math operations with safety checks that revert on error.
      */
      library SafeMath {
      /**
      * @dev Multiplies two unsigned integers, reverts on overflow.
      */
      function mul(uint256 a, uint256 b) internal pure returns (uint256) {
      // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
      // benefit is lost if 'b' is also tested.
      // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
      if (a == 0) {
      return 0;
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX