Transaction Hash:
Block:
22539410 at May-22-2025 03:48:47 PM +UTC
Transaction Fee:
0.001351719692598288 ETH
$5.18
Gas Used:
200,996 Gas / 6.725107428 Gwei
Emitted Events:
97 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000510a57aa9aecf6799510b7643b85ed4a018c71ba, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 000000000000000000000000000000000000000000000000000000003b9aca00 )
|
98 |
WETH9.Transfer( src=0xE0554a476A092703abdB3Ef35c80e0D76d32939F, dst=AggregationRouterV5, wad=374334052267973075 )
|
99 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0x000000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939f, 000000000000000000000000000000000000000000000000000000003b9aca00 )
|
100 |
0xe0554a476a092703abdb3ef35c80e0d76d32939f.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x0000000000000000000000001111111254eeb25477b68fb85ed929f73a960582, 0x0000000000000000000000001111111254eeb25477b68fb85ed929f73a960582, 000000000000000000000000000000000000000000000000000000003b9aca00, ffffffffffffffffffffffffffffffffffffffffffffffffface1929ab3c262d, 0000000000000000000000000000000000004b944995d05a87da7f105a8789bf, 0000000000000000000000000000000000000000000000000695ebcfcf70fb7e, 0000000000000000000000000000000000000000000000000000000000030329 )
|
101 |
WETH9.Withdrawal( src=AggregationRouterV5, wad=374334052267973075 )
|
102 |
Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 000000000000000000000000000000000000000000000000000ba5e8dc6f7bf5 )
|
103 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x000000000000000000000000510a57aa9aecf6799510b7643b85ed4a018c71ba )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 13.188021604274607826 Eth | 13.18822260027541181 Eth | 0.000200996000803984 | |
0x510a57AA...A018C71BA |
0.316766197977328617 Eth
Nonce: 55
|
0.686469886259596727 Eth
Nonce: 56
| 0.36970368828226811 | ||
0xA0b86991...E3606eB48 | |||||
0xC02aaA39...83C756Cc2 | 2,818,468.099081681547050031 Eth | 2,818,467.724747629279076956 Eth | 0.374334052267973075 | ||
0xE0554a47...76d32939F | (Uniswap V3: USDC 4) | ||||
0xF326e4dE...3c79f1915 | (MetaMask: DS Proxy) | 3,495.958205141729263568 Eth | 3,495.961483786022370245 Eth | 0.003278644293106677 |
Execution Trace
MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, amount=1000000000, data=0x000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003B9ACA00000000000000000000000000000000000000000000000000050D2B9AF4E8563A0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000BA5E8DC6F7BF5000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000A8E449022E000000000000000000000000000000000000000000000000000000003B9ACA00000000000000000000000000000000000000000000000000051895E070C63B3900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001200000000000000000000000E0554A476A092703ABDB3EF35C80E0D76D32939F7DCBEA7C000000000000000000000000000000000000000000000000 )
FiatTokenProxy.23b872dd( )
-
FiatTokenV2_2.transferFrom( from=0x510a57AA9aEcF6799510B7643b85ed4A018C71BA, to=0x74de5d4FCbf63E00296fd95d33236B9794016631, value=1000000000 ) => ( True )
-
Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F037000000000000000000000000510A57AA9AECF6799510B7643B85ED4A018C71BA000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB480000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003B9ACA00000000000000000000000000000000000000000000000000050D2B9AF4E8563A0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000BA5E8DC6F7BF5000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000A8E449022E000000000000000000000000000000000000000000000000000000003B9ACA00000000000000000000000000000000000000000000000000051895E070C63B3900000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001200000000000000000000000E0554A476A092703ABDB3EF35C80E0D76D32939F7DCBEA7C000000000000000000000000000000000000000000000000 )
0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
FiatTokenProxy.dd62ed3e( )
-
FiatTokenV2_2.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 115792089237316195423570985008687907853269984665640564039457583416771297740649 )
-
AggregationRouterV5.uniswapV3Swap( amount=1000000000, minReturn=367208160827947833, pools=[14474011154664524427946373127366704448275315930774981940324572871603728323487] ) => ( returnAmount=374334052267973075 )
Uniswap V3: USDC 4.128acb08( )
-
WETH9.transfer( dst=0x1111111254EEB25477B68fb85Ed929f73A960582, wad=374334052267973075 ) => ( True )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0xE0554a476A092703abdB3Ef35c80e0D76d32939F ) => ( 2822500558685 )
-
AggregationRouterV5.uniswapV3SwapCallback( amount0Delta=1000000000, amount1Delta=-374334052267973075, 0x00000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631 )
-
Uniswap V3: USDC 4.STATICCALL( )
-
Uniswap V3: USDC 4.STATICCALL( )
-
Uniswap V3: USDC 4.STATICCALL( )
-
FiatTokenProxy.23b872dd( )
-
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0xE0554a476A092703abdB3Ef35c80e0D76d32939F ) => ( 2823500558685 )
-
-
WETH9.withdraw( wad=374334052267973075 )
- ETH 0.374334052267973075
AggregationRouterV5.CALL( )
- ETH 0.374334052267973075
- ETH 0.374334052267973075
Spender.CALL( )
ETH 0.003278644293106677
Proxy.CALL( )
- ETH 0.003278644293106677
GnosisSafe.DELEGATECALL( )
- ETH 0.003278644293106677
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
-
- ETH 0.371055407974866398
0x510a57aa9aecf6799510b7643b85ed4a018c71ba.CALL( )
swap[MetaSwap (ln:1598)]
_swap[MetaSwap (ln:1604)]
safeTransferFrom[MetaSwap (ln:1637)]
swap[MetaSwap (ln:1639)]
encode[MetaSwap (ln:1643)]
Swap[MetaSwap (ln:1648)]
File 1 of 8: MetaSwap
File 2 of 8: FiatTokenProxy
File 3 of 8: AggregationRouterV5
File 4 of 8: WETH9
File 5 of 8: Proxy
File 6 of 8: FiatTokenV2_2
File 7 of 8: Spender
File 8 of 8: GnosisSafe
12345678910111213141516pragma 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
File 2 of 8: FiatTokenProxy
12345678910111213141516pragma solidity ^0.4.24;// File: zos-lib/contracts/upgradeability/Proxy.sol/*** @title Proxy* @dev Implements delegation of calls to other contracts, with proper* forwarding of return values and bubbling of failures.* It defines a fallback function that delegates all calls to the address* returned by the abstract _implementation() internal function.*/contract Proxy {/*** @dev Fallback function.* Implemented entirely in `_fallback`.*/
File 3 of 8: AggregationRouterV5
12345678910111213141516/*,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄└▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄└▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄└▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄└▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ└▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌└████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
File 4 of 8: WETH9
12345678910111213141516// 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;
File 5 of 8: Proxy
12345678910111213141516pragma 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{
File 6 of 8: FiatTokenV2_2
12345678910111213141516/*** SPDX-License-Identifier: Apache-2.0** Copyright (c) 2023, Circle Internet Financial, LLC.** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at** http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.* See the License for the specific language governing permissions and* limitations under the License.
File 7 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 internalconstant 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 todelegatecall\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\nif (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up ifpresent\r\n if (returndata.length \u003e 0) {\r\n // The easiest way to bubble the revert reason is using memory viaassembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n letreturndata_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"}}
File 8 of 8: GnosisSafe
12345678910111213141516// SPDX-License-Identifier: LGPL-3.0-onlypragma 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>