ETH Price: $2,514.82 (-1.40%)

Transaction Decoder

Block:
11923554 at Feb-25-2021 02:08:11 AM +UTC
Transaction Fee:
0.0141309 ETH $35.54
Gas Used:
100,935 Gas / 140 Gwei

Emitted Events:

130 WrappedMIR.Transfer( from=[Sender] 0xc7d76d6b04ad5d0d06b888eb6c0734d75e36b6d1, to=UniswapV2Pair, value=2015517706789745074808 )
131 WrappedMIR.Approval( owner=[Sender] 0xc7d76d6b04ad5d0d06b888eb6c0734d75e36b6d1, spender=[Receiver] UniswapV2Router02, value=115792089237316195423570985008687907853269984665640564021955861718784837226248 )
132 WETH9.Transfer( src=UniswapV2Pair, dst=[Receiver] UniswapV2Router02, wad=6874344546972928601 )
133 UniswapV2Pair.Sync( reserve0=226483360822012955727709, reserve1=767898205690687517074 )
134 UniswapV2Pair.Swap( sender=[Receiver] UniswapV2Router02, amount0In=2015517706789745074808, amount1In=0, amount0Out=0, amount1Out=6874344546972928601, to=[Receiver] UniswapV2Router02 )
135 WETH9.Withdrawal( src=[Receiver] UniswapV2Router02, wad=6874344546972928601 )

Account State Difference:

  Address   Before After State Difference Code
0x09a3EcAF...C4ff2E608
0x57aB5AEB...4246336CE
(F2Pool Old)
4,929.647748027500394536 Eth4,929.661878927500394536 Eth0.0141309
0xC02aaA39...83C756Cc2 6,204,564.554814030850699347 Eth6,204,557.680469483877770746 Eth6.874344546972928601
0xC7D76d6b...75E36B6D1
14.366520593702309587 Eth
Nonce: 61
21.226734240675238188 Eth
Nonce: 62
6.860213646972928601

Execution Trace

UniswapV2Router02.swapExactTokensForETH( amountIn=2015517706789745074808, amountOutMin=6819565782631888870, path=[0x09a3EcAFa817268f77BE1283176B946C4ff2E608, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2], to=0xC7D76d6b04ad5D0D06B888eb6C0734d75E36B6D1, deadline=1614220023 ) => ( amounts=[2015517706789745074808, 6874344546972928601] )
  • UniswapV2Pair.STATICCALL( )
  • WrappedMIR.transferFrom( sender=0xC7D76d6b04ad5D0D06B888eb6C0734d75E36B6D1, recipient=0x57aB5AEB8baC2586A0d437163C3eb844246336CE, amount=2015517706789745074808 ) => ( True )
  • UniswapV2Pair.swap( amount0Out=0, amount1Out=6874344546972928601, to=0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, data=0x )
    • WETH9.transfer( dst=0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, wad=6874344546972928601 ) => ( True )
    • WrappedMIR.balanceOf( account=0x57aB5AEB8baC2586A0d437163C3eb844246336CE ) => ( 226483360822012955727709 )
    • WETH9.balanceOf( 0x57aB5AEB8baC2586A0d437163C3eb844246336CE ) => ( 767898205690687517074 )
    • WETH9.withdraw( wad=6874344546972928601 )
      • ETH 6.874344546972928601 UniswapV2Router02.CALL( )
      • ETH 6.874344546972928601 0xc7d76d6b04ad5d0d06b888eb6c0734d75e36b6d1.CALL( )
        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: 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: WrappedMIR
        1
        2
        3
        4
        5
        6
        7
        8
        9
        10
        11
        12
        13
        14
        15
        16
        // SPDX-License-Identifier: MIT
        pragma solidity >=0.6.0;
        import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
        import "@openzeppelin/contracts/access/Ownable.sol";
        contract WrappedToken is ERC20, Ownable {
        event Burn(address indexed _sender, bytes32 indexed _to, uint256 amount);
        constructor(string memory name, string memory symbol)
        public
        ERC20(name, symbol)
        {}
        function burn(uint256 amount, bytes32 to) public {
        _burn(_msgSender(), amount);
        emit Burn(_msgSender(), to, amount);
        }
        function mint(address account, uint256 amount) public onlyOwner {
        _mint(account, amount);
        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