Transaction Hash:
Block:
22539406 at May-22-2025 03:47:59 PM +UTC
Transaction Fee:
0.001226821449549732 ETH
$3.11
Gas Used:
193,894 Gas / 6.327279078 Gwei
Emitted Events:
242 |
TetherToken.Transfer( from=[Sender] 0x2da9078549711bf268d3895a1088095b801e919c, to=Spender, value=2552000000 )
|
243 |
WETH9.Transfer( src=UniswapV3Pool, dst=AggregationRouterV5, wad=954888552938947371 )
|
244 |
TetherToken.Transfer( from=Spender, to=UniswapV3Pool, value=2552000000 )
|
245 |
UniswapV3Pool.Swap( sender=AggregationRouterV5, recipient=AggregationRouterV5, amount0=-954888552938947371, amount1=2552000000, sqrtPriceX96=4095010557629680687046381, liquidity=534464498326824531, tick=-197417 )
|
246 |
WETH9.Withdrawal( src=AggregationRouterV5, wad=954888552938947371 )
|
247 |
Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 000000000000000000000000000000000000000000000000001daf51b6097545 )
|
248 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x0000000000000000000000002da9078549711bf268d3895a1088095b801e919c )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x11b815ef...14B7697F6 | (Uniswap V3: USDT 3) | ||||
0x2dA90785...b801E919C |
0.23117312373472623 Eth
Nonce: 11
|
1.176479315418229912 Eth
Nonce: 12
| 0.945306191683503682 | ||
0xC02aaA39...83C756Cc2 | 2,818,490.485061517113662504 Eth | 2,818,489.530172964174715133 Eth | 0.954888552938947371 | ||
0xdAC17F95...13D831ec7 | |||||
0xdadB0d80...24f783711
Miner
| (BuilderNet) | 4.260387058541510292 Eth | 4.260580952542285868 Eth | 0.000193894000775576 | |
0xF326e4dE...3c79f1915 | (MetaMask: DS Proxy) | 3,495.945572775978076313 Eth | 3,495.95392831578397027 Eth | 0.008355539805893957 |
Execution Trace
MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0xdAC17F958D2ee523a2206206994597C13D831ec7, amount=2552000000, data=0x000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000981C6E000000000000000000000000000000000000000000000000000CDF9C6A71BDE0450000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000001DAF51B6097545000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000A8E449022E00000000000000000000000000000000000000000000000000000000981C6E000000000000000000000000000000000000000000000000000CFCB3BFA4234E1300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001A0000000000000000000000011B815EFB8F581194AE79006D24E0D814B7697F67DCBEA7C000000000000000000000000000000000000000000000000 )
-
TetherToken.transferFrom( _from=0x2dA9078549711Bf268d3895A1088095b801E919C, _to=0x74de5d4FCbf63E00296fd95d33236B9794016631, _value=2552000000 )
Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F0370000000000000000000000002DA9078549711BF268D3895A1088095B801E919C000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC7000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000981C6E000000000000000000000000000000000000000000000000000CDF9C6A71BDE0450000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000001DAF51B6097545000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000A8E449022E00000000000000000000000000000000000000000000000000000000981C6E000000000000000000000000000000000000000000000000000CFCB3BFA4234E1300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001A0000000000000000000000011B815EFB8F581194AE79006D24E0D814B7697F67DCBEA7C000000000000000000000000000000000000000000000000 )
0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
-
TetherToken.allowance( _owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, _spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( remaining=115792089237316195423570985008687907853269984665640564039457584007913129639935 )
AggregationRouterV5.uniswapV3Swap( amount=2552000000, minReturn=935820458260123155, pools=[72370055773322622139731865630531100499445618266054321209637245878582872807414] ) => ( returnAmount=954888552938947371 )
UniswapV3Pool.swap( recipient=0x1111111254EEB25477B68fb85Ed929f73A960582, zeroForOne=False, amountSpecified=2552000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x00000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631 ) => ( amount0=-954888552938947371, amount1=2552000000 )
-
WETH9.transfer( dst=0x1111111254EEB25477B68fb85Ed929f73A960582, wad=954888552938947371 ) => ( True )
-
TetherToken.balanceOf( who=0x11b815efB8f581194ae79006d24E0d814B7697F6 ) => ( 4844171658037 )
AggregationRouterV5.uniswapV3SwapCallback( amount0Delta=-954888552938947371, amount1Delta=2552000000, 0x00000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631 )
-
UniswapV3Pool.STATICCALL( )
-
UniswapV3Pool.STATICCALL( )
-
UniswapV3Pool.STATICCALL( )
-
TetherToken.transferFrom( _from=0x74de5d4FCbf63E00296fd95d33236B9794016631, _to=0x11b815efB8f581194ae79006d24E0d814B7697F6, _value=2552000000 )
-
-
TetherToken.balanceOf( who=0x11b815efB8f581194ae79006d24E0d814B7697F6 ) => ( 4846723658037 )
-
WETH9.withdraw( wad=954888552938947371 )
- ETH 0.954888552938947371
AggregationRouterV5.CALL( )
- ETH 0.954888552938947371
- ETH 0.954888552938947371
Spender.CALL( )
ETH 0.008355539805893957
Proxy.CALL( )
- ETH 0.008355539805893957
GnosisSafe.DELEGATECALL( )
- ETH 0.008355539805893957
-
TetherToken.balanceOf( who=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
- ETH 0.946533013133053414
0x2da9078549711bf268d3895a1088095b801e919c.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: Spender
File 3 of 8: TetherToken
File 4 of 8: UniswapV3Pool
File 5 of 8: AggregationRouterV5
File 6 of 8: WETH9
File 7 of 8: Proxy
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: 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 3 of 8: 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 4 of 8: UniswapV3Pool
12345678910111213141516// SPDX-License-Identifier: BUSL-1.1pragma 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';
File 5 of 8: AggregationRouterV5
12345678910111213141516/*,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄└▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄└▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄└▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄└▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ└▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌└████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
File 6 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 7 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 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>