Transaction Hash:
Block:
22471154 at May-13-2025 01:50:47 AM +UTC
Transaction Fee:
0.000475442700771816 ETH
$1.19
Gas Used:
188,532 Gas / 2.521814338 Gwei
Emitted Events:
225 |
WETH9.Deposit( dst=Spender, wad=1000000000000000000 )
|
226 |
WETH9.Transfer( src=Spender, dst=0x51C72848c68a965f66FA7a88855F9f7784502a7F, wad=991250000000000000 )
|
227 |
TetherToken.Transfer( from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, to=Spender, value=2431021466 )
|
228 |
TetherToken.Transfer( from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, to=SplitWallet, value=1215510 )
|
229 |
SwapERC20.SwapERC20( nonce=1746616911239, signerWallet=0x51C72848c68a965f66FA7a88855F9f7784502a7F )
|
230 |
WETH9.Withdrawal( src=Spender, wad=8750000000000000 )
|
231 |
Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 000000000000000000000000000000000000000000000000001f161421c8e000 )
|
232 |
TetherToken.Transfer( from=Spender, to=[Sender] 0x48c2321a9f680cf61a5d1306678a3e1e617a656b, value=2431021466 )
|
233 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0x74008a9e83921090a0cc3c37a7b39398a692db963164a76e069ab2e8fb053e10, 0x00000000000000000000000048c2321a9f680cf61a5d1306678a3e1e617a656b )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x48C2321a...E617A656b |
1.318020100405453327 Eth
Nonce: 52
|
0.317544657704681511 Eth
Nonce: 53
| 1.000475442700771816 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 13.654663380086464182 Eth | 13.65485191208721831 Eth | 0.000188532000754128 | |
0xC02aaA39...83C756Cc2 | 2,747,310.025930580401156076 Eth | 2,747,311.017180580401156076 Eth | 0.99125 | ||
0xD82E10B9...e6CF2fC46 | (AirSwap: V5 DEX SwapERC20) | ||||
0xdAC17F95...13D831ec7 | |||||
0xF326e4dE...3c79f1915 | (MetaMask: DS Proxy) | 3,311.014914240498378114 Eth | 3,311.023664240498378114 Eth | 0.00875 |
Execution Trace
ETH 1
MetaSwap.swap( aggregatorId=airSwap4_3FeeDynamic, tokenFrom=0x0000000000000000000000000000000000000000, amount=1000000000000000000, data=0x00000000000000000000000000000000000000000000000000000196AA7B0587000000000000000000000000000000000000000000000000000000006822A5F800000000000000000000000051C72848C68A965F66FA7A88855F9F7784502A7F000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC70000000000000000000000000000000000000000000000000000000090E6719A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DC1A09F859B2000000000000000000000000000000000000000000000000000000000000000001C029048FDDC93231DF95122190031E4BBF968CB88A8ABEC6DC7C327BA5D2D6A996202FFE55DA26559A4DB3EB0F1DAB4C0CC962BF047E92AC1B1D8153FD0E88D73000000000000000000000000000000000000000000000000001F161421C8E000000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F19150000000000000000000000000000000000000000000000000000000000000000 )
ETH 1
Spender.swap( adapter=0x60FBaF99832Fb4360351AbC2b55e4B1F2fe98c71, data=0x4495C08800000000000000000000000048C2321A9F680CF61A5D1306678A3E1E617A656B00000000000000000000000000000000000000000000000000000196AA7B0587000000000000000000000000000000000000000000000000000000006822A5F800000000000000000000000051C72848C68A965F66FA7A88855F9F7784502A7F000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC70000000000000000000000000000000000000000000000000000000090E6719A00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DC1A09F859B2000000000000000000000000000000000000000000000000000000000000000001C029048FDDC93231DF95122190031E4BBF968CB88A8ABEC6DC7C327BA5D2D6A996202FFE55DA26559A4DB3EB0F1DAB4C0CC962BF047E92AC1B1D8153FD0E88D73000000000000000000000000000000000000000000000000001F161421C8E000000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F19150000000000000000000000000000000000000000000000000000000000000000 )
ETH 1
0x60fbaf99832fb4360351abc2b55e4b1f2fe98c71.4495c088( )
- ETH 1
WETH9.CALL( )
-
WETH9.allowance( 0x74de5d4FCbf63E00296fd95d33236B9794016631, 0xD82E10B9A4107939e55fCCa9B53A9ede6CF2fC46 ) => ( 115792089237316195423570985008687907853269984665640564039457584007913129639935 )
SwapERC20.swapLight( nonce=1746616911239, expiry=1747101176, signerWallet=0x51C72848c68a965f66FA7a88855F9f7784502a7F, signerToken=0xdAC17F958D2ee523a2206206994597C13D831ec7, signerAmount=2431021466, senderToken=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2, senderAmount=991250000000000000, v=28, r=029048FDDC93231DF95122190031E4BBF968CB88A8ABEC6DC7C327BA5D2D6A99, s=6202FFE55DA26559A4DB3EB0F1DAB4C0CC962BF047E92AC1B1D8153FD0E88D73 )
-
Null: 0x000...001.03f06647( )
-
WETH9.transferFrom( src=0x74de5d4FCbf63E00296fd95d33236B9794016631, dst=0x51C72848c68a965f66FA7a88855F9f7784502a7F, wad=991250000000000000 ) => ( True )
-
TetherToken.transferFrom( _from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, _to=0x74de5d4FCbf63E00296fd95d33236B9794016631, _value=2431021466 )
-
TetherToken.transferFrom( _from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, _to=0xaD30f7EEBD9Bd5150a256F47DA41d4403033CdF0, _value=1215510 )
-
WETH9.withdraw( wad=8750000000000000 )
- ETH 0.00875
Spender.CALL( )
- ETH 0.00875
ETH 0.00875
Proxy.CALL( )
- ETH 0.00875
GnosisSafe.DELEGATECALL( )
- ETH 0.00875
-
WETH9.balanceOf( 0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
-
TetherToken.balanceOf( who=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 2431021466 )
-
TetherToken.transfer( _to=0x48C2321a9f680CF61A5D1306678A3E1E617A656b, _value=2431021466 )
- ETH 1
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: WETH9
File 3 of 8: Spender
File 4 of 8: TetherToken
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: 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 3 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 4 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 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>