ETH Price: $2,478.52 (-2.83%)

Transaction Decoder

Block:
20207417 at Jun-30-2024 10:13:23 PM +UTC
Transaction Fee:
0.000659556549868335 ETH $1.63
Gas Used:
191,149 Gas / 3.450483915 Gwei

Emitted Events:

234 GucciToken.Transfer( from=[Sender] 0xf1763d369a075025e7ac2d87e494e2e12c2fe767, to=Spender, value=202529859532567669697561860 )
235 GucciToken.Approval( owner=[Sender] 0xf1763d369a075025e7ac2d87e494e2e12c2fe767, spender=[Receiver] MetaSwap, value=115792089237316195423570985008687907853269984665640361509598051440243432078075 )
236 GucciToken.Transfer( from=Spender, to=UniswapV2Pair, value=202529859532567669697561860 )
237 GucciToken.Approval( owner=Spender, spender=AggregationRouterV5, value=115792089237316195423570985008687907853269984665357038306075145817871833000120 )
238 WETH9.Transfer( src=UniswapV2Pair, dst=AggregationRouterV5, wad=1247148188312321 )
239 UniswapV2Pair.Sync( reserve0=605865703564161037743019961620, reserve1=3740804468894924043 )
240 UniswapV2Pair.Swap( sender=AggregationRouterV5, amount0In=202529859532567669697561860, amount1In=0, amount0Out=0, amount1Out=1247148188312321, to=AggregationRouterV5 )
241 WETH9.Withdrawal( src=AggregationRouterV5, wad=1247148188312321 )
242 Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 000000000000000000000000000000000000000000000000000009ecc6776eb5 )
243 MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x000000000000000000000000f1763d369a075025e7ac2d87e494e2e12c2fe767 )

Account State Difference:

  Address   Before After State Difference Code
(beaverbuild)
15.044288349642452695 Eth15.044479498642452695 Eth0.000191149
0xBE4f752c...752457f60
0xC02aaA39...83C756Cc2 2,850,222.624959957637417287 Eth2,850,222.623712809449104966 Eth0.001247148188312321
0xEB416Ad4...9497E24A8
0xf1763D36...12c2Fe767
0.052768345173070539 Eth
Nonce: 119
0.053345024264866792 Eth
Nonce: 120
0.000576679091796253
0xF326e4dE...3c79f1915
(MetaMask: DS Proxy)
4,227.367907736685514495 Eth4,227.367918649232162228 Eth0.000010912546647733

Execution Trace

MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0xBE4f752cC40D4d4846319A4B0E4b305752457f60, amount=202529859532567669697561860, data=0x000000000000000000000000BE4F752CC40D4D4846319A4B0E4B305752457F600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A7875DAF56E5AE125A450400000000000000000000000000000000000000000000000000044DDCDE8DF3400000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000009ECC6776EB5000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C80502B1C5000000000000000000000000BE4F752CC40D4D4846319A4B0E4B305752457F60000000000000000000000000000000000000000000A7875DAF56E5AE125A450400000000000000000000000000000000000000000000000000045796D4406F1A0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000140000000000000003B6D0340EB416AD4A6459AC857E0F251EFBD8D79497E24A87DCBEA7C000000000000000000000000000000000000000000000000 )
  • GucciToken.transferFrom( sender=0xf1763D369A075025e7aC2d87E494E2E12c2Fe767, recipient=0x74de5d4FCbf63E00296fd95d33236B9794016631, amount=202529859532567669697561860 ) => ( True )
  • Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F037000000000000000000000000F1763D369A075025E7AC2D87E494E2E12C2FE767000000000000000000000000BE4F752CC40D4D4846319A4B0E4B305752457F600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A7875DAF56E5AE125A450400000000000000000000000000000000000000000000000000044DDCDE8DF3400000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000009ECC6776EB5000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C80502B1C5000000000000000000000000BE4F752CC40D4D4846319A4B0E4B305752457F60000000000000000000000000000000000000000000A7875DAF56E5AE125A450400000000000000000000000000000000000000000000000000045796D4406F1A0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000140000000000000003B6D0340EB416AD4A6459AC857E0F251EFBD8D79497E24A87DCBEA7C000000000000000000000000000000000000000000000000 )
    • 0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
      • GucciToken.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 115792089237316195423570985008687907853269984665357240835934678385541530561980 )
      • AggregationRouterV5.unoswap( srcToken=0xBE4f752cC40D4d4846319A4B0E4b305752457f60, amount=202529859532567669697561860, minReturn=1222205224546074, pools=[28948022309329048857349863385933958858611260532299806152581086687495345546408] ) => ( returnAmount=1247148188312321 )
        • GucciToken.transferFrom( sender=0x74de5d4FCbf63E00296fd95d33236B9794016631, recipient=0xEB416Ad4A6459AC857E0F251efBd8D79497E24A8, amount=202529859532567669697561860 ) => ( True )
        • UniswapV2Pair.STATICCALL( )
        • UniswapV2Pair.swap( amount0Out=0, amount1Out=1247148188312321, to=0x1111111254EEB25477B68fb85Ed929f73A960582, data=0x )
          • WETH9.transfer( dst=0x1111111254EEB25477B68fb85Ed929f73A960582, wad=1247148188312321 ) => ( True )
          • GucciToken.balanceOf( account=0xEB416Ad4A6459AC857E0F251efBd8D79497E24A8 ) => ( 605865703564161037743019961620 )
          • WETH9.balanceOf( 0xEB416Ad4A6459AC857E0F251efBd8D79497E24A8 ) => ( 3740804468894924043 )
          • WETH9.withdraw( wad=1247148188312321 )
            • ETH 0.001247148188312321 AggregationRouterV5.CALL( )
            • ETH 0.001247148188312321 Spender.CALL( )
            • ETH 0.000010912546647733 Proxy.CALL( )
              • ETH 0.000010912546647733 GnosisSafe.DELEGATECALL( )
              • GucciToken.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
              • ETH 0.001236235641664588 0xf1763d369a075025e7ac2d87e494e2e12c2fe767.CALL( )
                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: 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 3 of 8: GucciToken
                1
                2
                3
                4
                5
                6
                7
                8
                9
                10
                11
                12
                13
                14
                15
                16
                // SPDX-License-Identifier: MIT
                /*
                ______ __ __ ______ ______ ______ ________ ______ __ __ ________ __ __
                / \ | \ | \ / \ / \ | \ | \ / \ | \ / \| \| \ | \
                | $$$$$$\| $$ | $$| $$$$$$\| $$$$$$\ \$$$$$$ \$$$$$$$$| $$$$$$\| $$ / $$| $$$$$$$$| $$\ | $$
                | $$ __\$$| $$ | $$| $$ \$$| $$ \$$ | $$ | $$ | $$ | $$| $$/ $$ | $$__ | $$$\| $$
                | $$| \| $$ | $$| $$ | $$ | $$ | $$ | $$ | $$| $$ $$ | $$ \ | $$$$\ $$
                | $$ \$$$$| $$ | $$| $$ __ | $$ __ | $$ | $$ | $$ | $$| $$$$$\ | $$$$$ | $$\$$ $$
                | $$__| $$| $$__/ $$| $$__/ \| $$__/ \ _| $$_ | $$ | $$__/ $$| $$ \$$\ | $$_____ | $$ \$$$$
                \$$ $$ \$$ $$ \$$ $$ \$$ $$| $$ \ | $$ \$$ $$| $$ \$$\| $$ \| $$ \$$$
                \$$$$$$ \$$$$$$ \$$$$$$ \$$$$$$ \$$$$$$ \$$ \$$$$$$ \$$ \$$ \$$$$$$$$ \$$ \$$
                Website: https://guccitoken.vip/
                Twitter: https://twitter.com/Gucci_Ethereum/
                */
                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: AggregationRouterV5
                1
                2
                3
                4
                5
                6
                7
                8
                9
                10
                11
                12
                13
                14
                15
                16
                /*
                ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
                ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
                ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
                ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
                ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
                └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
                └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
                └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
                └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
                └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
                ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
                ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
                └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
                ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
                ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
                XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

                File 6 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 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