ETH Price: $2,644.55 (-2.92%)

Transaction Decoder

Block:
12258223 at Apr-17-2021 02:37:45 PM +UTC
Transaction Fee:
0.014850755 ETH $39.27
Gas Used:
102,419 Gas / 145 Gwei

Emitted Events:

330 WETH9.Deposit( dst=[Receiver] AggregationRouterV3, wad=500000000000000000 )
331 WETH9.Transfer( src=[Receiver] AggregationRouterV3, dst=UniswapV2Pair, wad=500000000000000000 )
332 Dai.Transfer( src=UniswapV2Pair, dst=[Sender] 0x4874211da929dd87e28a4267c4b96a5d0ccf48a7, wad=1202692810843856146170 )
333 UniswapV2Pair.Sync( reserve0=62768928752427814128029408, reserve1=26017377045378498391384 )
334 UniswapV2Pair.Swap( sender=[Receiver] AggregationRouterV3, amount0In=0, amount1In=500000000000000000, amount0Out=1202692810843856146170, amount1Out=0, to=[Sender] 0x4874211da929dd87e28a4267c4b96a5d0ccf48a7 )

Account State Difference:

  Address   Before After State Difference Code
0x4874211d...D0ccf48a7
2.199485957418710209 Eth
Nonce: 83
1.684635202418710209 Eth
Nonce: 84
0.514850755
(Spark Pool)
46.451692121420137715 Eth46.466542876420137715 Eth0.014850755
0x6B175474...495271d0F
0xA478c297...Ade33eB11
0xC02aaA39...83C756Cc2 7,133,661.931222263894293692 Eth7,133,662.431222263894293692 Eth0.5

Execution Trace

ETH 0.5 AggregationRouterV3.unoswap( ) => ( returnAmount=1202692810843856146170 )
  • ETH 0.5 WETH9.CALL( )
  • WETH9.transfer( dst=0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11, wad=500000000000000000 ) => ( True )
  • UniswapV2Pair.STATICCALL( )
  • UniswapV2Pair.swap( amount0Out=1202692810843856146170, amount1Out=0, to=0x4874211da929DD87E28a4267c4B96a5D0ccf48a7, data=0x )
    • Dai.transfer( dst=0x4874211da929DD87E28a4267c4B96a5D0ccf48a7, wad=1202692810843856146170 ) => ( True )
    • Dai.balanceOf( 0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11 ) => ( 62768928752427814128029408 )
    • WETH9.balanceOf( 0xA478c2975Ab1Ea89e8196811F51A7B7Ade33eB11 ) => ( 26017377045378498391384 )
      File 1 of 4: AggregationRouterV3
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      /*
      ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
      ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
      ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
      ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
      ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
      └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
      └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
      └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
      └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
      └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
      ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
      ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
      └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
      ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
      ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
      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: Dai
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      // hevm: flattened sources of /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/dai.sol
      pragma solidity =0.5.12;
      ////// /nix/store/8xb41r4qd0cjb63wcrxf1qmfg88p0961-dss-6fd7de0/src/lib.sol
      // 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/>.
      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX