ETH Price: $2,551.39 (+1.70%)

Transaction Decoder

Block:
22476336 at May-13-2025 07:20:59 PM +UTC
Transaction Fee:
0.002061206877598743 ETH $5.26
Gas Used:
172,311 Gas / 11.962131713 Gwei

Emitted Events:

146 WETH9.Deposit( dst=AggregationRouterV5, wad=35060121036950939 )
147 WETH9.Transfer( src=AggregationRouterV5, dst=UniswapV2Pair, wad=35060121036950939 )
148 0xe3e7072892f2c3cda7e7ff124993372da7715a02.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000001f11228e2cd5d392481de796bdcfa6b91642bf8d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0000000000000000000000000000000000000000000000000050381f7182ace5 )
149 UniswapV2Pair.Sync( reserve0=78700365350480467497, reserve1=50815118474495690881 )
150 UniswapV2Pair.Swap( sender=AggregationRouterV5, amount0In=35060121036950939, amount1In=0, amount0Out=0, amount1Out=22579705836383461, to=Spender )
151 0xe3e7072892f2c3cda7e7ff124993372da7715a02.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0x0000000000000000000000009d60c5dc57eb8e23a519e8d2e636aebc37a9e55c, 0000000000000000000000000000000000000000000000000050381f7182ace5 )
152 MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x0000000000000000000000009d60c5dc57eb8e23a519e8d2e636aebc37a9e55c )

Account State Difference:

  Address   Before After State Difference Code
0x1f11228e...91642bf8D
0x9D60C5dC...C37a9e55c
0.038209164091303193 Eth
Nonce: 4
0.000778352132291145 Eth
Nonce: 5
0.037430811959012048
0xC02aaA39...83C756Cc2 2,747,101.418847688623289224 Eth2,747,101.453907809660240163 Eth0.035060121036950939
(BuilderNet)
173.871888269145384345 Eth173.872060580145556656 Eth0.000172311000172311
0xe3478b0B...948Be1964 376.768617347847644441 Eth376.768926831892106807 Eth0.000309484044462366
0xE3e70728...da7715A02

Execution Trace

ETH 0.035369605081413305 MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0x0000000000000000000000000000000000000000, amount=35369605081413305, data=0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E3E7072892F2C3CDA7E7FF124993372DA7715A02000000000000000000000000000000000000000000000000007C8EFE8C308D9B000000000000000000000000000000000000000000000000004E9D667E99A9700000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000119795E88A91E000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C80502B1C50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C8EFE8C308D9B000000000000000000000000000000000000000000000000004E9D667E99A96F0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000003B6D03401F11228E2CD5D392481DE796BDCFA6B91642BF8D7DCBEA7C000000000000000000000000000000000000000000000000 )
  • ETH 0.035369605081413305 Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F0370000000000000000000000009D60C5DC57EB8E23A519E8D2E636AEBC37A9E55C0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E3E7072892F2C3CDA7E7FF124993372DA7715A02000000000000000000000000000000000000000000000000007C8EFE8C308D9B000000000000000000000000000000000000000000000000004E9D667E99A9700000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000119795E88A91E000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C80502B1C50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007C8EFE8C308D9B000000000000000000000000000000000000000000000000004E9D667E99A96F0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000100000000000000003B6D03401F11228E2CD5D392481DE796BDCFA6B91642BF8D7DCBEA7C000000000000000000000000000000000000000000000000 )
    • ETH 0.035369605081413305 0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
      • ETH 0.035060121036950939 AggregationRouterV5.unoswap( srcToken=0x0000000000000000000000000000000000000000, amount=35060121036950939, minReturn=22128111719655791, pools=[1457117132596271046210401888907876922512063910769577869197] ) => ( returnAmount=22579705836383461 )
        • ETH 0.035060121036950939 WETH9.CALL( )
        • WETH9.transfer( dst=0x1f11228e2CD5D392481de796bdcfA6B91642bf8D, wad=35060121036950939 ) => ( True )
        • UniswapV2Pair.STATICCALL( )
        • UniswapV2Pair.swap( amount0Out=0, amount1Out=22579705836383461, to=0x74de5d4FCbf63E00296fd95d33236B9794016631, data=0x )
          • 0xe3e7072892f2c3cda7e7ff124993372da7715a02.a9059cbb( )
          • WETH9.balanceOf( 0x1f11228e2CD5D392481de796bdcfA6B91642bf8D ) => ( 78700365350480467497 )
          • 0xe3e7072892f2c3cda7e7ff124993372da7715a02.70a08231( )
          • ETH 0.000309484044462366 0xe3478b0bb1a5084567c319096437924948be1964.CALL( )
          • 0xe3e7072892f2c3cda7e7ff124993372da7715a02.70a08231( )
          • 0xe3e7072892f2c3cda7e7ff124993372da7715a02.a9059cbb( )
            File 1 of 5: 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 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: AggregationRouterV5
            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            /*
            ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
            ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
            ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
            ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
            ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
            └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
            └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
            └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
            └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
            └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
            ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
            ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
            └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
            ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
            ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
            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: 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