Transaction Hash:
Block:
22709663 at Jun-15-2025 11:32:23 AM +UTC
Transaction Fee:
0.000284001926793024 ETH
$1.06
Gas Used:
204,864 Gas / 1.386294941 Gwei
Emitted Events:
157 |
PepeToken.Transfer( from=[Sender] 0xf3349446ef41a6e7fbc58cf933b1a66165627026, to=Spender, value=943652338229482784555008 )
|
158 |
PepeToken.Approval( owner=[Sender] 0xf3349446ef41a6e7fbc58cf933b1a66165627026, spender=[Receiver] MetaSwap, value=115792089237316195423570985008687907853269984665640563095805245778430345084927 )
|
159 |
PepeToken.Transfer( from=Spender, to=0x51C72848c68a965f66FA7a88855F9f7784502a7F, value=943652338229482784555008 )
|
160 |
PepeToken.Approval( owner=Spender, spender=SwapERC20, value=115792089237316195423570985008687907853269984663932432492407787287883219616244 )
|
161 |
TetherToken.Transfer( from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, to=Spender, value=10455260 )
|
162 |
TetherToken.Transfer( from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, to=SplitWallet, value=5227 )
|
163 |
SwapERC20.SwapERC20( nonce=1747240884388, signerWallet=0x51C72848c68a965f66FA7a88855F9f7784502a7F )
|
164 |
TetherToken.Transfer( from=Spender, to=0xe3478b0BB1A5084567C319096437924948Be1964, value=1355107 )
|
165 |
TetherToken.Transfer( from=Spender, to=[Sender] 0xf3349446ef41a6e7fbc58cf933b1a66165627026, value=9100153 )
|
166 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0x74008a9e83921090a0cc3c37a7b39398a692db963164a76e069ab2e8fb053e10, 0x000000000000000000000000f3349446ef41a6e7fbc58cf933b1a66165627026 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x69825081...3d2311933 | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 5.126305875024529582 Eth | 5.126510739024734446 Eth | 0.000204864000204864 | |
0xD82E10B9...e6CF2fC46 | (AirSwap: V5 DEX SwapERC20) | ||||
0xdAC17F95...13D831ec7 | |||||
0xF3349446...165627026 |
0.000602772210694849 Eth
Nonce: 3
|
0.000318770283901825 Eth
Nonce: 4
| 0.000284001926793024 |
Execution Trace
MetaSwap.swap( aggregatorId=airSwap4_3FeeDynamic, tokenFrom=0x6982508145454Ce325dDbE47a25d4ec3d2311933, amount=943652338229482784555008, data=0x00000000000000000000000000000000000000000000000000000196CFAC18A400000000000000000000000000000000000000000000000000000000684EAFCB00000000000000000000000051C72848C68A965F66FA7A88855F9F7784502A7F000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000009F88DC0000000000000000000000006982508145454CE325DDBE47A25D4EC3D231193300000000000000000000000000000000000000000000C7D37EEA0F5990000000000000000000000000000000000000000000000000000000000000000000001C9FA4769070BA6B7B4B303CFE0801E4CFDAFA34A84D535C89C3CD4B2C598505D33149ACE8F69CA03780C12C9A9E16753313056A086D530E7061FCC4FEB8D8E1C3000000000000000000000000000000000000000000000000000000000014AD63000000000000000000000000E3478B0BB1A5084567C319096437924948BE19640000000000000000000000000000000000000000000000000000000000000001 )
-
PepeToken.transferFrom( sender=0xF3349446eF41a6e7Fbc58cf933b1A66165627026, recipient=0x74de5d4FCbf63E00296fd95d33236B9794016631, amount=943652338229482784555008 ) => ( True )
Spender.swap( adapter=0x60FBaF99832Fb4360351AbC2b55e4B1F2fe98c71, data=0x4495C088000000000000000000000000F3349446EF41A6E7FBC58CF933B1A6616562702600000000000000000000000000000000000000000000000000000196CFAC18A400000000000000000000000000000000000000000000000000000000684EAFCB00000000000000000000000051C72848C68A965F66FA7A88855F9F7784502A7F000000000000000000000000DAC17F958D2EE523A2206206994597C13D831EC700000000000000000000000000000000000000000000000000000000009F88DC0000000000000000000000006982508145454CE325DDBE47A25D4EC3D231193300000000000000000000000000000000000000000000C7D37EEA0F5990000000000000000000000000000000000000000000000000000000000000000000001C9FA4769070BA6B7B4B303CFE0801E4CFDAFA34A84D535C89C3CD4B2C598505D33149ACE8F69CA03780C12C9A9E16753313056A086D530E7061FCC4FEB8D8E1C3000000000000000000000000000000000000000000000000000000000014AD63000000000000000000000000E3478B0BB1A5084567C319096437924948BE19640000000000000000000000000000000000000000000000000000000000000001 )
0x60fbaf99832fb4360351abc2b55e4b1f2fe98c71.4495c088( )
-
PepeToken.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0xD82E10B9A4107939e55fCCa9B53A9ede6CF2fC46 ) => ( 115792089237316195423570985008687907853269984663932433436060125517366004171252 )
SwapERC20.swapLight( nonce=1747240884388, expiry=1749987275, signerWallet=0x51C72848c68a965f66FA7a88855F9f7784502a7F, signerToken=0xdAC17F958D2ee523a2206206994597C13D831ec7, signerAmount=10455260, senderToken=0x6982508145454Ce325dDbE47a25d4ec3d2311933, senderAmount=943652338229482784555008, v=28, r=9FA4769070BA6B7B4B303CFE0801E4CFDAFA34A84D535C89C3CD4B2C598505D3, s=3149ACE8F69CA03780C12C9A9E16753313056A086D530E7061FCC4FEB8D8E1C3 )
-
Null: 0x000...001.48993155( )
-
PepeToken.transferFrom( sender=0x74de5d4FCbf63E00296fd95d33236B9794016631, recipient=0x51C72848c68a965f66FA7a88855F9f7784502a7F, amount=943652338229482784555008 ) => ( True )
-
TetherToken.transferFrom( _from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, _to=0x74de5d4FCbf63E00296fd95d33236B9794016631, _value=10455260 )
-
TetherToken.transferFrom( _from=0x51C72848c68a965f66FA7a88855F9f7784502a7F, _to=0xaD30f7EEBD9Bd5150a256F47DA41d4403033CdF0, _value=5227 )
-
-
TetherToken.transfer( _to=0xe3478b0BB1A5084567C319096437924948Be1964, _value=1355107 )
-
PepeToken.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
-
TetherToken.balanceOf( who=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 9100153 )
-
TetherToken.transfer( _to=0xF3349446eF41a6e7Fbc58cf933b1A66165627026, _value=9100153 )
-
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 6: MetaSwap
File 2 of 6: Spender
File 3 of 6: PepeToken
File 4 of 6: TetherToken
File 5 of 6: SplitWallet
File 6 of 6: SwapERC20
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 6: 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 6: PepeToken
12345678910111213141516// Sources flattened with hardhat v2.7.0 https://hardhat.org// File @openzeppelin/contracts/utils/Context.sol@v4.4.0// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)pragma solidity ^0.8.0;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).
File 4 of 6: 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 6: 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 6: 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;}