ETH Price: $2,655.03 (+6.03%)

Transaction Decoder

Block:
22540754 at May-22-2025 08:18:47 PM +UTC
Transaction Fee:
0.000972517594200276 ETH $2.58
Gas Used:
221,941 Gas / 4.381874436 Gwei

Emitted Events:

262 DexRouter.SwapOrderId( id=112925 )
263 WETH9.Deposit( dst=DexRouter, wad=38658750000000000 )
264 WETH9.Transfer( src=DexRouter, dst=UniswapV2Pair, wad=38658750000000000 )
265 IroChan.Transfer( from=UniswapV2Pair, to=Spender, value=2638014009530072 )
266 UniswapV2Pair.Sync( reserve0=321094099071082966, reserve1=4730012612507133055 )
267 UniswapV2Pair.Swap( sender=DexRouter, amount0In=0, amount1In=38658750000000000, amount0Out=2638014009530072, amount1Out=0, to=Spender )
268 DexRouter.OrderRecord( fromToken=0x00000000...000000000, toToken=IroChan, sender=[Sender] 0xcae0945497c5827aa3b489a8c4a64e36f71b981e, fromAmount=38658750000000000, returnAmount=2638014009530072 )
269 Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0000000000000000000000000000000000000000000000000001365d75079400 )
270 IroChan.Transfer( from=Spender, to=[Sender] 0xcae0945497c5827aa3b489a8c4a64e36f71b981e, value=2638014009530072 )
271 MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xd6b6d5e0aacce0469a313983d889ed10d0bb7c9545af0285a19b4ff094b4041d, 0x000000000000000000000000cae0945497c5827aa3b489a8c4a64e36f71b981e )

Account State Difference:

  Address   Before After State Difference Code
0x0c0C910c...8a9193A80
(beaverbuild)
16.96918885696905105 Eth16.969410797969938814 Eth0.000221941000887764
0xba2Ae4e0...21F5A290B
0xC02aaA39...83C756Cc2 2,821,742.371380849610395997 Eth2,821,742.410039599610395997 Eth0.03865875
0xCAE09454...6F71b981E
0.043400311602498 Eth
Nonce: 18
0.003427794008297724 Eth
Nonce: 19
0.039972517594200276
0xF326e4dE...3c79f1915
(MetaMask: DS Proxy)
3,502.918133687404267148 Eth3,502.918474937404267148 Eth0.00034125

Execution Trace

ETH 0.039 MetaSwap.swap( aggregatorId=okx, tokenFrom=0x0000000000000000000000000000000000000000, amount=39000000000000000, data=0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000BA2AE4E0A9C6ECAF172015AA2CDD70A21F5A290B000000000000000000000000000000000000000000000000008957EDA535EC0000000000000000000000000000000000000000000000000000092F464A31084F00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000001365D75079400000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C49871EFA400000000000000000001B91D0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008957EDA535EC0000000000000000000000000000000000000000000000000000092F464A31084E00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001B0000000000000003B6D03400C0C910C530246B55B517CDF2F2199B8A9193A8000000000000000000000000000000000000000000000000000000000 )
  • ETH 0.039 Spender.swap( adapter=0xa65Ed75603BeA45f821CEefE02D999AD99D2AfCA, data=0x92F5F037000000000000000000000000CAE0945497C5827AA3B489A8C4A64E36F71B981E0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000BA2AE4E0A9C6ECAF172015AA2CDD70A21F5A290B000000000000000000000000000000000000000000000000008957EDA535EC0000000000000000000000000000000000000000000000000000092F464A31084F00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000001365D75079400000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C49871EFA400000000000000000001B91D0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008957EDA535EC0000000000000000000000000000000000000000000000000000092F464A31084E00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001B0000000000000003B6D03400C0C910C530246B55B517CDF2F2199B8A9193A8000000000000000000000000000000000000000000000000000000000 )
    • ETH 0.039 0xa65ed75603bea45f821ceefe02d999ad99d2afca.92f5f037( )
      • ETH 0.03865875 DexRouter.unxswapByOrderId( ) => ( returnAmount=2638014009530072 )
        • ETH 0.03865875 WETH9.CALL( )
        • WETH9.transfer( dst=0x0c0C910c530246b55b517cdF2f2199b8a9193A80, wad=38658750000000000 ) => ( True )
        • UniswapV2Pair.STATICCALL( )
        • IroChan.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
        • UniswapV2Pair.STATICCALL( )
        • UniswapV2Pair.STATICCALL( )
        • WETH9.balanceOf( 0x0c0C910c530246b55b517cdF2f2199b8a9193A80 ) => ( 4730012612507133055 )
        • UniswapV2Pair.swap( amount0Out=2638014009530072, amount1Out=0, to=0x74de5d4FCbf63E00296fd95d33236B9794016631, data=0x )
          • IroChan.transfer( recipient=0x74de5d4FCbf63E00296fd95d33236B9794016631, amount=2638014009530072 ) => ( True )
          • IroChan.balanceOf( account=0x0c0C910c530246b55b517cdF2f2199b8a9193A80 ) => ( 321094099071082966 )
          • WETH9.balanceOf( 0x0c0C910c530246b55b517cdF2f2199b8a9193A80 ) => ( 4730012612507133055 )
          • IroChan.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 2638014009530072 )
          • ETH 0.00034125 Proxy.CALL( )
            • ETH 0.00034125 GnosisSafe.DELEGATECALL( )
            • IroChan.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 2638014009530072 )
            • IroChan.transfer( recipient=0xCAE0945497C5827Aa3b489A8c4a64E36F71b981E, amount=2638014009530072 ) => ( True )
              File 1 of 8: MetaSwap
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              pragma solidity ^0.6.0;
              import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
              import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
              import "@openzeppelin/contracts/utils/Address.sol";
              import "../Constants.sol";
              contract CommonAdapter {
              using SafeERC20 for IERC20;
              using Address for address;
              using Address for address payable;
              /**
              * @dev Performs a swap
              * @param recipient The original msg.sender performing the swap
              * @param aggregator Address of the aggregator's contract
              * @param spender Address to which tokens will be approved
              * @param method Selector of the function to be called in the aggregator's contract
              * @param tokenFrom Token to be swapped
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 2 of 8: DexRouter
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: MIT
              // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
              pragma solidity ^0.8.0;
              import "../utils/ContextUpgradeable.sol";
              import "../proxy/utils/Initializable.sol";
              /**
              * @dev Contract module which provides a basic access control mechanism, where
              * there is an account (an owner) that can be granted exclusive access to
              * specific functions.
              *
              * By default, the owner account will be the one that deploys the contract. This
              * can later be changed with {transferOwnership}.
              *
              * This module is used through inheritance. It will make available the modifier
              * `onlyOwner`, which can be applied to your functions to restrict their use to
              * the owner.
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 3 of 8: 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 4 of 8: 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 8: Spender
              1
              {"Constants.84ef19f8.sol":{"content":"// SPDX-License-Identifier: MIT\r\n\r\npragma solidity ^0.6.0;\r\n\r\nlibrary Constants {\r\n address internal
                  constant ETH = 0x0000000000000000000000000000000000000000;\r\n}\r\n"},"Spender.3372a096.sol":{"content":"// SPDX-License-Identifier:
                  MIT\r\n\r\npragma solidity ^0.6.0;\r\n\r\nimport \"./Constants.84ef19f8.sol\";\r\n\r\ncontract Spender {\r\n address public immutable metaswap
                  ;\r\n\r\n constructor() public {\r\n metaswap = msg.sender;\r\n }\r\n\r\n /// @dev Receives ether from swaps\r\n fallback()
                  external payable {}\r\n\r\n function swap(address adapter, bytes calldata data) external payable {\r\n require(msg.sender == metaswap,
                  \"FORBIDDEN\");\r\n require(adapter != address(0), \"ADAPTER_NOT_PROVIDED\");\r\n _delegate(adapter, data,
                  \"ADAPTER_DELEGATECALL_FAILED\");\r\n }\r\n\r\n /**\r\n * @dev Performs a delegatecall and bubbles up the errors, adapted from\r\n *
                  https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol\r\n * @param target Address of the contract to
                  delegatecall\r\n * @param data Data passed in the delegatecall\r\n * @param errorMessage Fallback revert reason\r\n */\r\n function
                  _delegate(\r\n address target,\r\n bytes memory data,\r\n string memory errorMessage\r\n ) private returns (bytes memory)
                  {\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n
                   if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if
                  present\r\n if (returndata.length \u003e 0) {\r\n // The easiest way to bubble the revert reason is using memory via
                  assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let
                  returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else
                  {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n"}}
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 6 of 8: IroChan
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: UNLICENSE
              /*
              Web: https://iro-chan.dog
              TG: https://t.me/IroChanERC20
              X: https://x.com/IroChan_ERC20
              */
              pragma solidity 0.8.23;
              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 7 of 8: Proxy
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              pragma solidity ^0.5.3;
              /// @title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
              /// @author Stefan George - <stefan@gnosis.io>
              /// @author Richard Meissner - <richard@gnosis.io>
              contract Proxy {
              // masterCopy always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.
              // To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`
              address internal masterCopy;
              /// @dev Constructor function sets address of master copy contract.
              /// @param _masterCopy Master copy address.
              constructor(address _masterCopy)
              public
              {
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 8 of 8: GnosisSafe
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: LGPL-3.0-only
              pragma solidity >=0.7.0 <0.9.0;
              import "./base/ModuleManager.sol";
              import "./base/OwnerManager.sol";
              import "./base/FallbackManager.sol";
              import "./base/GuardManager.sol";
              import "./common/EtherPaymentFallback.sol";
              import "./common/Singleton.sol";
              import "./common/SignatureDecoder.sol";
              import "./common/SecuredTokenTransfer.sol";
              import "./common/StorageAccessible.sol";
              import "./interfaces/ISignatureValidator.sol";
              import "./external/GnosisSafeMath.sol";
              /// @title Gnosis Safe - A multisignature wallet with support for confirmations using signed messages based on ERC191.
              /// @author Stefan George - <stefan@gnosis.io>
              /// @author Richard Meissner - <richard@gnosis.io>
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX