Transaction Hash:
Block:
22476342 at May-13-2025 07:22:11 PM +UTC
Transaction Fee:
0.002563752984874625 ETH
$6.44
Gas Used:
206,075 Gas / 12.440873395 Gwei
Emitted Events:
260 |
ZIP.Transfer( from=[Sender] 0x31e7a4a7d5deab0396c625bb01aceb603dd9e797, to=Spender, value=1048007491045310430 )
|
261 |
ZIP.Approval( owner=[Sender] 0x31e7a4a7d5deab0396c625bb01aceb603dd9e797, spender=[Receiver] MetaSwap, value=115792089237316195423570985008687907853269984665640564039456536000422084329505 )
|
262 |
ZIP.Transfer( from=Spender, to=UniswapV2Pair, value=1048007491045310430 )
|
263 |
ZIP.Approval( owner=Spender, spender=AggregationRouterV5, value=115792089237316195423570985008687907853269984665640564039453712779364227770637 )
|
264 |
WETH9.Transfer( src=UniswapV2Pair, dst=AggregationRouterV5, wad=7143636292952846 )
|
265 |
UniswapV2Pair.Sync( reserve0=239969197087064258097, reserve1=1633482395059630911 )
|
266 |
UniswapV2Pair.Swap( sender=AggregationRouterV5, amount0In=1048007491045310430, amount1In=0, amount0Out=0, amount1Out=7143636292952846, to=AggregationRouterV5 )
|
267 |
WETH9.Withdrawal( src=AggregationRouterV5, wad=7143636292952846 )
|
268 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x00000000000000000000000031e7a4a7d5deab0396c625bb01aceb603dd9e797 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x31e7a4A7...03DD9E797 |
0.008088043084225567 Eth
Nonce: 2855
|
0.007788548263306533 Eth
Nonce: 2856
| 0.000299494820919034 | ||
0x797f4bf8...8Ba80b450 | |||||
0x8355998C...C3Ffdf3aD | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 10.17451153072385242 Eth | 10.174717605724058495 Eth | 0.000206075000206075 | |
0xC02aaA39...83C756Cc2 | 2,746,577.572438986579664993 Eth | 2,746,577.565295350286712147 Eth | 0.007143636292952846 | ||
0xe3478b0B...948Be1964 | 376.77397917350120747 Eth | 376.778858551630204725 Eth | 0.004879378128997255 |
Execution Trace
MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0x797f4bf8cAf0B3b390bC655Ff8B7bbb8Ba80b450, amount=1048007491045310430, data=0x000000000000000000000000797F4BF8CAF0B3B390BC655FF8B7BBB8BA80B45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E8B4542B1B43FDE0000000000000000000000000000000000000000000000000007E224E978B47F0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000001155C4C01A8B87000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C80502B1C5000000000000000000000000797F4BF8CAF0B3B390BC655FF8B7BBB8BA80B4500000000000000000000000000000000000000000000000000E8B4542B1B43FDE0000000000000000000000000000000000000000000000000018DF284992B81D0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000140000000000000003B6D03408355998C7C85273924BA48058D5F29BC3FFDF3AD7DCBEA7C000000000000000000000000000000000000000000000000 )
-
ZIP.transferFrom( sender=0x31e7a4A7D5DEaB0396c625Bb01ACeB603DD9E797, recipient=0x74de5d4FCbf63E00296fd95d33236B9794016631, amount=1048007491045310430 ) => ( True )
Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F03700000000000000000000000031E7A4A7D5DEAB0396C625BB01ACEB603DD9E797000000000000000000000000797F4BF8CAF0B3B390BC655FF8B7BBB8BA80B45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E8B4542B1B43FDE0000000000000000000000000000000000000000000000000007E224E978B47F0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000001155C4C01A8B87000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C80502B1C5000000000000000000000000797F4BF8CAF0B3B390BC655FF8B7BBB8BA80B4500000000000000000000000000000000000000000000000000E8B4542B1B43FDE0000000000000000000000000000000000000000000000000018DF284992B81D0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000140000000000000003B6D03408355998C7C85273924BA48058D5F29BC3FFDF3AD7DCBEA7C000000000000000000000000000000000000000000000000 )
0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
-
ZIP.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 115792089237316195423570985008687907853269984665640564039454760786855273081067 )
AggregationRouterV5.unoswap( srcToken=0x797f4bf8cAf0B3b390bC655Ff8B7bbb8Ba80b450, amount=1048007491045310430, minReturn=7000763567093789, pools=[28948022309329048857349863385340673903071162596019830549546844782978362373037] ) => ( returnAmount=7143636292952846 )
-
ZIP.transferFrom( sender=0x74de5d4FCbf63E00296fd95d33236B9794016631, recipient=0x8355998C7c85273924BA48058D5F29bC3Ffdf3aD, amount=1048007491045310430 ) => ( True )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=0, amount1Out=7143636292952846, to=0x1111111254EEB25477B68fb85Ed929f73A960582, data=0x )
WETH9.withdraw( wad=7143636292952846 )
- ETH 0.007143636292952846
AggregationRouterV5.CALL( )
- ETH 0.007143636292952846
- ETH 0.007143636292952846
Spender.CALL( )
-
- ETH 0.004879378128997255
0xe3478b0bb1a5084567c319096437924948be1964.CALL( )
-
ZIP.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
- ETH 0.002264258163955591
0x31e7a4a7d5deab0396c625bb01aceb603dd9e797.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 6: MetaSwap
File 2 of 6: Spender
File 3 of 6: ZIP
File 4 of 6: UniswapV2Pair
File 5 of 6: AggregationRouterV5
File 6 of 6: WETH9
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: ZIP
12345678910111213141516// SPDX-License-Identifier: UNLICENSE/*https://t.me/ZipbyMattfurieErchttps://x.com/ZipMattFurieErchttps://www.zipbymattfurietoken.com/*/pragma solidity 0.8.23;abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}}interface IERC20 {
File 4 of 6: 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 5 of 6: AggregationRouterV5
12345678910111213141516/*,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄└▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄└▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄└▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄└▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ└▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌└████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
File 6 of 6: 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;