Transaction Hash:
Block:
22540734 at May-22-2025 08:14:35 PM +UTC
Transaction Fee:
0.00103934872490142 ETH
$2.91
Gas Used:
242,355 Gas / 4.288538404 Gwei
Emitted Events:
186 |
TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x0000000000000000000000005e2395362351ea32184f567ef850b01476d5d5a1, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 00000000000000000000000000000000000000000000003643fc4123796f739e )
|
187 |
TransparentUpgradeableProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0x000000000000000000000000bce2dfa862a32c434ac50d10df826daf7f99652c, 00000000000000000000000000000000000000000000003643fc4123796f739e )
|
188 |
TetherToken.Transfer( from=UniswapV2Pair, to=UniswapV2Pair, value=533884507 )
|
189 |
UniswapV2Pair.Sync( reserve0=23749743938, reserve1=45397738952831875170922 )
|
190 |
UniswapV2Pair.Swap( sender=AggregationRouterV5, amount0In=0, amount1In=1001023042095605052318, amount0Out=533884507, amount1Out=0, to=UniswapV2Pair )
|
191 |
WETH9.Transfer( src=UniswapV2Pair, dst=AggregationRouterV5, wad=201637396908566687 )
|
192 |
UniswapV2Pair.Sync( reserve0=333835995307753651858, reserve1=881794895117 )
|
193 |
UniswapV2Pair.Swap( sender=AggregationRouterV5, amount0In=0, amount1In=533884507, amount0Out=201637396908566687, amount1Out=0, to=AggregationRouterV5 )
|
194 |
WETH9.Withdrawal( src=AggregationRouterV5, wad=201637396908566687 )
|
195 |
Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 000000000000000000000000000000000000000000000000000644a571643847 )
|
196 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x0000000000000000000000005e2395362351ea32184f567ef850b01476d5d5a1 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x06da0fd4...10A184553 | |||||
0x5e239536...476d5d5a1 |
0.002749745793659438 Eth
Nonce: 164
|
0.201583466754374746 Eth
Nonce: 165
| 0.198833720960715308 | ||
0xbce2dFA8...F7f99652c | |||||
0xC02aaA39...83C756Cc2 | 2,821,494.128697842320963659 Eth | 2,821,493.927060445412396972 Eth | 0.201637396908566687 | ||
0xdAC17F95...13D831ec7 | |||||
0xdadB0d80...24f783711
Miner
| (BuilderNet) | 5.396466535393727518 Eth | 5.396708890394696938 Eth | 0.00024235500096942 | |
0xF326e4dE...3c79f1915 | (MetaMask: DS Proxy) | 3,502.876085004788823978 Eth | 3,502.877849332011773937 Eth | 0.001764327222949959 | |
0xfA704148...C8f8EAF1A |
Execution Trace
MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0xfA704148D516b209D52C2D75f239274C8f8EAF1A, amount=1001023042095605052318, data=0x000000000000000000000000FA704148D516B209D52C2D75F239274C8F8EAF1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003643FC4123796F739E00000000000000000000000000000000000000000000000002B7E3D3F4670B890000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000644A571643847000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000E80502B1C5000000000000000000000000FA704148D516B209D52C2D75F239274C8F8EAF1A00000000000000000000000000000000000000000000003643FC4123796F739E00000000000000000000000000000000000000000000000002BE08619BD89ED90000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000280000000000000003B6D0340BCE2DFA862A32C434AC50D10DF826DAF7F99652CC0000000000000003B6D034006DA0FD433C1A5D7A4FAA01111C044910A1845537DCBEA7C000000000000000000000000000000000000000000000000 )
TransparentUpgradeableProxy.23b872dd( )
-
WOCTA.transferFrom( from=0x5e2395362351ea32184f567ef850B01476d5d5a1, to=0x74de5d4FCbf63E00296fd95d33236B9794016631, value=1001023042095605052318 ) => ( True )
-
Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F0370000000000000000000000005E2395362351EA32184F567EF850B01476D5D5A1000000000000000000000000FA704148D516B209D52C2D75F239274C8F8EAF1A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003643FC4123796F739E00000000000000000000000000000000000000000000000002B7E3D3F4670B890000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000644A571643847000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000E80502B1C5000000000000000000000000FA704148D516B209D52C2D75F239274C8F8EAF1A00000000000000000000000000000000000000000000003643FC4123796F739E00000000000000000000000000000000000000000000000002BE08619BD89ED90000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000280000000000000003B6D0340BCE2DFA862A32C434AC50D10DF826DAF7F99652CC0000000000000003B6D034006DA0FD433C1A5D7A4FAA01111C044910A1845537DCBEA7C000000000000000000000000000000000000000000000000 )
0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
TransparentUpgradeableProxy.dd62ed3e( )
-
WOCTA.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 115792089237316195423570985008687907853269984665640564039457584007913129639935 )
-
AggregationRouterV5.unoswap( srcToken=0xfA704148D516b209D52C2D75f239274C8f8EAF1A, amount=1001023042095605052318, minReturn=197604648970395353, pools=[57896044618658097713242609637841213852752127873409210863050412925475916178732, 86844066927987146569135355888973957985372731858842890806936255625307191002451] ) => ( returnAmount=201637396908566687 )
TransparentUpgradeableProxy.23b872dd( )
-
WOCTA.transferFrom( from=0x74de5d4FCbf63E00296fd95d33236B9794016631, to=0xbce2dFA862A32c434ac50D10Df826daF7f99652c, value=1001023042095605052318 ) => ( True )
-
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=533884507, amount1Out=0, to=0x06da0fd433C1A5d7a4faa01111c044910A184553, data=0x )
-
TetherToken.transfer( _to=0x06da0fd433C1A5d7a4faa01111c044910A184553, _value=533884507 )
-
TetherToken.balanceOf( who=0xbce2dFA862A32c434ac50D10Df826daF7f99652c ) => ( 23749743938 )
TransparentUpgradeableProxy.70a08231( )
-
WOCTA.balanceOf( account=0xbce2dFA862A32c434ac50D10Df826daF7f99652c ) => ( 45397738952831875170922 )
-
-
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=201637396908566687, amount1Out=0, to=0x1111111254EEB25477B68fb85Ed929f73A960582, data=0x )
WETH9.withdraw( wad=201637396908566687 )
- ETH 0.201637396908566687
AggregationRouterV5.CALL( )
- ETH 0.201637396908566687
- ETH 0.201637396908566687
Spender.CALL( )
ETH 0.001764327222949959
Proxy.CALL( )
- ETH 0.001764327222949959
GnosisSafe.DELEGATECALL( )
- ETH 0.001764327222949959
TransparentUpgradeableProxy.70a08231( )
-
WOCTA.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
-
- ETH 0.199873069685616728
0x5e2395362351ea32184f567ef850b01476d5d5a1.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 11: MetaSwap
File 2 of 11: TransparentUpgradeableProxy
File 3 of 11: UniswapV2Pair
File 4 of 11: UniswapV2Pair
File 5 of 11: TetherToken
File 6 of 11: AggregationRouterV5
File 7 of 11: WETH9
File 8 of 11: Proxy
File 9 of 11: WOCTA
File 10 of 11: Spender
File 11 of 11: 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 11: TransparentUpgradeableProxy
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0-rc.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.*/
File 3 of 11: UniswapV2Pair
12345678910111213141516// File: contracts/interfaces/IUniswapV2Pair.solpragma 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);
File 4 of 11: UniswapV2Pair
12345678910111213141516// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.solpragma solidity >=0.5.0;interface IUniswapV2Factory {event PairCreated(address indexed token0, address indexed token1, address pair, uint);function feeTo() external view returns (address);function feeToSetter() external view returns (address);function migrator() external view returns (address);function getPair(address tokenA, address tokenB) external view returns (address pair);function allPairs(uint) external view returns (address pair);function allPairsLength() external view returns (uint);function createPair(address tokenA, address tokenB) external returns (address pair);
File 5 of 11: TetherToken
12345678910111213141516pragma solidity ^0.4.17;/*** @title SafeMath* @dev Math operations with safety checks that throw on error*/library SafeMath {function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;}uint256 c = a * b;assert(c / a == b);return c;}
File 6 of 11: AggregationRouterV5
12345678910111213141516/*,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄└▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄└▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄└▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄└▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ└▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌└████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
File 7 of 11: 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 8 of 11: 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 9 of 11: WOCTA
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)pragma solidity ^0.8.20;import {IAccessControl} from "@openzeppelin/contracts/access/IAccessControl.sol";import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";import {ERC165Upgradeable} from "../utils/introspection/ERC165Upgradeable.sol";import {Initializable} from "../proxy/utils/Initializable.sol";/*** @dev Contract module that allows children to implement role-based access* control mechanisms. This is a lightweight version that doesn't allow enumerating role* members except through off-chain means by accessing the contract event logs. Some* applications may benefit from on-chain enumerability, for those cases see* {AccessControlEnumerable}.** Roles are referred to by their `bytes32` identifier. These should be exposed* in the external API and be unique. The best way to achieve this is by
File 10 of 11: 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 11 of 11: 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>