ETH Price: $4,301.53 (+6.63%)

Transaction Decoder

Block:
22637129 at Jun-05-2025 08:09:23 AM +UTC
Transaction Fee:
0.00067632324159802 ETH $2.91
Gas Used:
195,596 Gas / 3.457755995 Gwei

Emitted Events:

34 TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000ce53af6055a1faaae95e0b4696f9f0949bea9f16, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0000000000000000000000000000000000000000000000028c418afbbb5c0000 )
35 WETH9.Transfer( src=UniswapV3Pool, dst=AggregationRouterV5, wad=17548249487106273 )
36 TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0x000000000000000000000000ef530078320f3a9223661e2fe37001023048a7df, 0000000000000000000000000000000000000000000000028c418afbbb5c0000 )
37 UniswapV3Pool.Swap( sender=AggregationRouterV5, recipient=AggregationRouterV5, amount0=47000000000000000000, amount1=-17548249487106273, sqrtPriceX96=1529959912229286952169799722, liquidity=214050087729700459800, tick=-78946 )
38 WETH9.Withdrawal( src=AggregationRouterV5, wad=17548249487106273 )
39 Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 00000000000000000000000000000000000000000000000000008ba67d4cb954 )
40 MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x000000000000000000000000ce53af6055a1faaae95e0b4696f9f0949bea9f16 )

Account State Difference:

  Address   Before After State Difference Code
0x8d0D000E...476f08B0d
(beaverbuild)
12.677128067720773005 Eth12.677323663721555389 Eth0.000195596000782384
0xC02aaA39...83C756Cc2 2,636,858.11762245806902618 Eth2,636,858.100074208581919907 Eth0.017548249487106273
0xcE53AF60...49BeA9f16
0.001723078942370217 Eth
Nonce: 16
0.01844145800486629 Eth
Nonce: 17
0.016718379062496073
0xef530078...23048a7dF
(Uniswap V3: USD1 3)
0xF326e4dE...3c79f1915
(MetaMask: DS Proxy)
3,692.272177022381395113 Eth3,692.272330569564407293 Eth0.00015354718301218

Execution Trace

MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d, amount=47000000000000000000, data=0x0000000000000000000000008D0D000EE44948FC98C9B98A4FA4921476F08B0D00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028C418AFBBB5C0000000000000000000000000000000000000000000000000000003C8FFB56C5E433000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000008BA67D4CB954000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000A8E449022E0000000000000000000000000000000000000000000000028C418AFBBB5C0000000000000000000000000000000000000000000000000000003D18D6D19114B300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001200000000000000000000000EF530078320F3A9223661E2FE37001023048A7DF7DCBEA7C000000000000000000000000000000000000000000000000 )
  • TransparentUpgradeableProxy.23b872dd( )
    • Stablecoin.transferFrom( from=0xcE53AF6055A1FAaAe95E0b4696F9F0949BeA9f16, to=0x74de5d4FCbf63E00296fd95d33236B9794016631, amount=47000000000000000000 ) => ( True )
    • Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F037000000000000000000000000CE53AF6055A1FAAAE95E0B4696F9F0949BEA9F160000000000000000000000008D0D000EE44948FC98C9B98A4FA4921476F08B0D00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028C418AFBBB5C0000000000000000000000000000000000000000000000000000003C8FFB56C5E433000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000008BA67D4CB954000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000A8E449022E0000000000000000000000000000000000000000000000028C418AFBBB5C0000000000000000000000000000000000000000000000000000003D18D6D19114B300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001200000000000000000000000EF530078320F3A9223661E2FE37001023048A7DF7DCBEA7C000000000000000000000000000000000000000000000000 )
      • 0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
        • TransparentUpgradeableProxy.dd62ed3e( )
          • Stablecoin.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 115792089237316195423570985008687907853269984665640564039457584007913129639935 )
          • AggregationRouterV5.uniswapV3Swap( amount=47000000000000000000, minReturn=17197284497364147, pools=[14474011154664524427946373127452288278637548273930302955218322072532981163999] ) => ( returnAmount=17548249487106273 )
            • UniswapV3Pool.swap( recipient=0x1111111254EEB25477B68fb85Ed929f73A960582, zeroForOne=True, amountSpecified=47000000000000000000, sqrtPriceLimitX96=4295128740, data=0x00000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631 ) => ( amount0=47000000000000000000, amount1=-17548249487106273 )
              • WETH9.transfer( dst=0x1111111254EEB25477B68fb85Ed929f73A960582, wad=17548249487106273 ) => ( True )
              • TransparentUpgradeableProxy.70a08231( )
                • Stablecoin.balanceOf( account=0xef530078320f3A9223661e2Fe37001023048a7dF ) => ( 1102904217874945745198386 )
                • AggregationRouterV5.uniswapV3SwapCallback( amount0Delta=47000000000000000000, amount1Delta=-17548249487106273, 0x00000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631 )
                  • UniswapV3Pool.STATICCALL( )
                  • UniswapV3Pool.STATICCALL( )
                  • UniswapV3Pool.STATICCALL( )
                  • TransparentUpgradeableProxy.23b872dd( )
                  • TransparentUpgradeableProxy.70a08231( )
                    • Stablecoin.balanceOf( account=0xef530078320f3A9223661e2Fe37001023048a7dF ) => ( 1102951217874945745198386 )
                    • WETH9.withdraw( wad=17548249487106273 )
                      • ETH 0.017548249487106273 AggregationRouterV5.CALL( )
                      • ETH 0.017548249487106273 Spender.CALL( )
                      • ETH 0.00015354718301218 Proxy.CALL( )
                        • ETH 0.00015354718301218 GnosisSafe.DELEGATECALL( )
                        • TransparentUpgradeableProxy.70a08231( )
                          • Stablecoin.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
                          • ETH 0.017394702304094093 0xce53af6055a1faaae95e0b4696f9f0949bea9f16.CALL( )
                            File 1 of 9: 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 9: TransparentUpgradeableProxy
                            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.5.0) (interfaces/draft-IERC1822.sol)
                            pragma solidity ^0.8.0;
                            /**
                            * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
                            * proxy whose upgrades are fully controlled by the current implementation.
                            */
                            interface IERC1822Proxiable {
                            /**
                            * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
                            * address.
                            *
                            * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
                            * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
                            * function revert if invoked through a proxy.
                            */
                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                            File 3 of 9: UniswapV3Pool
                            1
                            2
                            3
                            4
                            5
                            6
                            7
                            8
                            9
                            10
                            11
                            12
                            13
                            14
                            15
                            16
                            // SPDX-License-Identifier: BUSL-1.1
                            pragma solidity =0.7.6;
                            import './interfaces/IUniswapV3Pool.sol';
                            import './NoDelegateCall.sol';
                            import './libraries/LowGasSafeMath.sol';
                            import './libraries/SafeCast.sol';
                            import './libraries/Tick.sol';
                            import './libraries/TickBitmap.sol';
                            import './libraries/Position.sol';
                            import './libraries/Oracle.sol';
                            import './libraries/FullMath.sol';
                            import './libraries/FixedPoint128.sol';
                            import './libraries/TransferHelper.sol';
                            import './libraries/TickMath.sol';
                            import './libraries/LiquidityMath.sol';
                            import './libraries/SqrtPriceMath.sol';
                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                            File 4 of 9: AggregationRouterV5
                            1
                            2
                            3
                            4
                            5
                            6
                            7
                            8
                            9
                            10
                            11
                            12
                            13
                            14
                            15
                            16
                            /*
                            ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
                            ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
                            ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
                            ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
                            ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
                            └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
                            └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
                            └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
                            └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
                            └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
                            ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
                            ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
                            └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
                            ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
                            ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                            File 5 of 9: 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 6 of 9: 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 7 of 9: Stablecoin
                            1
                            2
                            3
                            4
                            5
                            6
                            7
                            8
                            9
                            10
                            11
                            12
                            13
                            14
                            15
                            16
                            // SPDX-License-Identifier: MIT
                            pragma solidity ^0.8.0;
                            import "openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/draft-ERC20PermitUpgradeable.sol";
                            import "openzeppelin-contracts-upgradeable/contracts/access/Ownable2StepUpgradeable.sol";
                            import "openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol";
                            contract Stablecoin is ERC20PermitUpgradeable, Ownable2StepUpgradeable, PausableUpgradeable {
                            mapping(address => bool) public frozen;
                            event Mint(address indexed caller, address indexed to, uint256 amount);
                            event Burn(address indexed caller, address indexed from, uint256 amount);
                            event Freeze(address indexed caller, address indexed account);
                            event Unfreeze(address indexed caller, address indexed account);
                            function initialize(string memory _name, string memory _symbol) public initializer {
                            __Context_init();
                            __ERC20_init(_name, _symbol);
                            __ERC20Permit_init(_name);
                            __Ownable2Step_init();
                            XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                            File 8 of 9: 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 9 of 9: 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