Transaction Hash:
Block:
22544171 at May-23-2025 07:47:23 AM +UTC
Transaction Fee:
0.000468312496591749 ETH
$1.18
Gas Used:
189,473 Gas / 2.471658213 Gwei
Emitted Events:
159 |
TetherToken.Transfer( from=[Sender] 0x0826c42e32027cb5d40846011b1ccd2b64da7fa7, to=Spender, value=39842925 )
|
160 |
TetherToken.Transfer( from=Spender, to=0x51C72848c68a965f66FA7a88855F9f7784502a7F, value=39842925 )
|
161 |
WETH9.Transfer( src=0x51C72848c68a965f66FA7a88855F9f7784502a7F, dst=Spender, wad=14978228051398562 )
|
162 |
WETH9.Transfer( src=0x51C72848c68a965f66FA7a88855F9f7784502a7F, dst=SplitWallet, wad=7489114025699 )
|
163 |
SwapERC20.SwapERC20( nonce=1747239887527, signerWallet=0x51C72848c68a965f66FA7a88855F9f7784502a7F )
|
164 |
WETH9.Withdrawal( src=Spender, wad=131059495449737 )
|
165 |
Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 00000000000000000000000000000000000000000000000000007732aaabb489 )
|
166 |
WETH9.Withdrawal( src=Spender, wad=14847168555948825 )
|
167 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0x74008a9e83921090a0cc3c37a7b39398a692db963164a76e069ab2e8fb053e10, 0x0000000000000000000000000826c42e32027cb5d40846011b1ccd2b64da7fa7 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x0826C42E...B64Da7FA7 |
0.189328544781368182 Eth
Nonce: 1417
|
0.203707400840725258 Eth
Nonce: 1418
| 0.014378856059357076 | ||
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 9.032512721922086971 Eth | 9.032702194922844863 Eth | 0.000189473000757892 | |
0xC02aaA39...83C756Cc2 | 2,790,425.69409302933452938 Eth | 2,790,425.679114801283130818 Eth | 0.014978228051398562 | ||
0xD82E10B9...e6CF2fC46 | (AirSwap: V5 DEX SwapERC20) | ||||
0xdAC17F95...13D831ec7 | |||||
0xF326e4dE...3c79f1915 | (MetaMask: DS Proxy) | 3,509.683370710340922174 Eth | 3,509.683501769836371911 Eth | 0.000131059495449737 |
Execution Trace
MetaSwap.swap( aggregatorId=airSwap4_3FeeDynamic, tokenFrom=0xdAC17F958D2ee523a2206206994597C13D831ec7, amount=39842925, data=0x00000000000000000000000000000000000000000000000000000196CF9CE2A7000000000000000000000000000000000000000000000000000000006830288800000000000000000000000051C72848C68A965F66FA7A88855F9F7784502A7F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035369E7A5E4FA2000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000025FF46D000000000000000000000000000000000000000000000000000000000000001CE511D9783E49107E165589D6A5CED7066888B1B377088AEC1EE5B09D33F840255B2731AC3446E36758C044B8BC7B2C273CE38ABDC130BA65C562820337537D8D00000000000000000000000000000000000000000000000000007732AAABB489000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F19150000000000000000000000000000000000000000000000000000000000000001 )
-
TetherToken.transferFrom( _from=0x0826C42E32027CB5D40846011b1cCd2B64Da7FA7, _to=0x74de5d4FCbf63E00296fd95d33236B9794016631, _value=39842925 )
Spender.swap( adapter=0x60FBaF99832Fb4360351AbC2b55e4B1F2fe98c71, data=0x4495C0880000000000000000000000000826C42E32027CB5D40846011B1CCD2B64DA7FA700000000000000000000000000000000000000000000000000000196CF9CE2A7000000000000000000000000000000000000000000000000000000006830288800000000000000000000000051C72848C68A965F66FA7A88855F9F7784502A7F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035369E7A5E4FA2000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000025FF46D000000000000000000000000000000000000000000000000000000000000001CE511D9783E49107E165589D6A5CED7066888B1B377088AEC1EE5B09D33F840255B2731AC3446E36758C044B8BC7B2C273CE38ABDC130BA65C562820337537D8D00000000000000000000000000000000000000000000000000007732AAABB489000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F19150000000000000000000000000000000000000000000000000000000000000001 )
0x60fbaf99832fb4360351abc2b55e4b1f2fe98c71.4495c088( )
-
TetherToken.allowance( _owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, _spender=0xD82E10B9A4107939e55fCCa9B53A9ede6CF2fC46 ) => ( remaining=115792089237316195423570985008687907853269984665640564039457584007913129639935 )
SwapERC20.swapLight( nonce=1747239887527, expiry=1747986568, signerWallet=0x51C72848c68a965f66FA7a88855F9f7784502a7F, signerToken=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, signerAmount=14978228051398562, senderToken=0xdAC17F958D2ee523a2206206994597C13D831ec7, senderAmount=39842925, v=28, r=E511D9783E49107E165589D6A5CED7066888B1B377088AEC1EE5B09D33F84025, s=5B2731AC3446E36758C044B8BC7B2C273CE38ABDC130BA65C562820337537D8D )
-
Null: 0x000...001.f74a1389( )
-
TetherToken.transferFrom( _from=0x74de5d4FCbf63E00296fd95d33236B9794016631, _to=0x51C72848c68a965f66FA7a88855F9f7784502a7F, _value=39842925 )
-
WETH9.transferFrom( src=0x51C72848c68a965f66FA7a88855F9f7784502a7F, dst=0x74de5d4FCbf63E00296fd95d33236B9794016631, wad=14978228051398562 ) => ( True )
-
WETH9.transferFrom( src=0x51C72848c68a965f66FA7a88855F9f7784502a7F, dst=0xaD30f7EEBD9Bd5150a256F47DA41d4403033CdF0, wad=7489114025699 ) => ( True )
-
WETH9.withdraw( wad=131059495449737 )
- ETH 0.000131059495449737
Spender.CALL( )
- ETH 0.000131059495449737
ETH 0.000131059495449737
Proxy.CALL( )
- ETH 0.000131059495449737
GnosisSafe.DELEGATECALL( )
- ETH 0.000131059495449737
-
TetherToken.balanceOf( who=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
-
WETH9.balanceOf( 0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 14847168555948825 )
WETH9.withdraw( wad=14847168555948825 )
- ETH 0.014847168555948825
Spender.CALL( )
- ETH 0.014847168555948825
- ETH 0.014847168555948825
0x0826c42e32027cb5d40846011b1ccd2b64da7fa7.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: WETH9
File 5 of 8: SplitWallet
File 6 of 8: SwapERC20
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: 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: SplitWallet
12345678910111213141516// SPDX-License-Identifier: GPL-3.0-or-laterpragma solidity 0.8.4;import {ISplitMain} from './interfaces/ISplitMain.sol';import {ERC20} from '@rari-capital/solmate/src/tokens/ERC20.sol';import {SafeTransferLib} from '@rari-capital/solmate/src/utils/SafeTransferLib.sol';/*** ERRORS*//// @notice Unauthorized sendererror Unauthorized();/*** @title SplitWallet* @author 0xSplits <will@0xSplits.xyz>* @notice The implementation logic for `SplitProxy`.* @dev `SplitProxy` handles `receive()` itself to avoid the gas cost with `DELEGATECALL`.*/
File 6 of 8: SwapERC20
12345678910111213141516// SPDX-License-Identifier: MITpragma solidity 0.8.23;interface ISwapERC20 {struct OrderERC20 {uint256 nonce; // Unique number per signatory per orderuint256 expiry; // Expiry time (seconds since unix epoch)address signerWallet; // Party to the swap that sets termsaddress signerToken; // ERC20 token address transferred from signeruint256 signerAmount; // Amount of tokens transferred from signeraddress senderWallet; // Party to the swap that accepts termsaddress senderToken; // ERC20 token address transferred from senderuint256 senderAmount; // Amount of tokens transferred from senderuint8 v; // ECDSAbytes32 r;bytes32 s;}
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>