Transaction Hash:
Block:
22547050 at May-23-2025 05:27:11 PM +UTC
Transaction Fee:
0.000619450908585621 ETH
$1.60
Gas Used:
252,627 Gas / 2.452037623 Gwei
Emitted Events:
107 |
Rekt.Transfer( from=[Sender] 0x27d1ef90f5f14e2bf7814454b3f0fab6d3d23419, to=Spender, value=418395506140000000000000000 )
|
108 |
WETH9.Transfer( src=UniswapV3Pool, dst=AggregationRouterV5, wad=45400627087348847 )
|
109 |
Rekt.Transfer( from=Spender, to=UniswapV3Pool, value=418395506140000000000000000 )
|
110 |
UniswapV3Pool.Swap( sender=AggregationRouterV5, recipient=AggregationRouterV5, amount0=-45400627087348847, amount1=418395506140000000000000000, sqrtPriceX96=7594470762444022631853757056194700, liquidity=121593414106253892327284535, tick=229423 )
|
111 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x000000000000000000000000e0554a476a092703abdb3ef35c80e0d76d32939f, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0000000000000000000000000000000000000000000000000000000006fde007 )
|
112 |
WETH9.Transfer( src=AggregationRouterV5, dst=0xE0554a476A092703abdB3Ef35c80e0D76d32939F, wad=45400627087348847 )
|
113 |
0xe0554a476a092703abdb3ef35c80e0d76d32939f.0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67( 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67, 0x0000000000000000000000001111111254eeb25477b68fb85ed929f73a960582, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, fffffffffffffffffffffffffffffffffffffffffffffffffffffffff9021ff9, 00000000000000000000000000000000000000000000000000a14ba13a1f146f, 0000000000000000000000000000000000004cd878d8959014e69f255460f598, 0000000000000000000000000000000000000000000000000693fe7e12898f76, 0000000000000000000000000000000000000000000000000000000000030475 )
|
114 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0x000000000000000000000000e3478b0bb1a5084567c319096437924948be1964, 00000000000000000000000000000000000000000000000000000000003a2d96 )
|
115 |
FiatTokenProxy.0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef( 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 0x00000000000000000000000027d1ef90f5f14e2bf7814454b3f0fab6d3d23419, 0000000000000000000000000000000000000000000000000000000006c3b271 )
|
116 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x00000000000000000000000027d1ef90f5f14e2bf7814454b3f0fab6d3d23419 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x27d1Ef90...6d3d23419 |
0.000922196945311481 Eth
Nonce: 3
|
0.00030274603672586 Eth
Nonce: 4
| 0.000619450908585621 | ||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 18.246735766427366814 Eth | 18.246988393427619441 Eth | 0.000252627000252627 | |
0xA0b86991...E3606eB48 | |||||
0xC02aaA39...83C756Cc2 | |||||
0xdd3B11eF...94D806686 | |||||
0xE0554a47...76d32939F | (Uniswap V3: USDC 4) | ||||
0xF12533a9...2F48851BD | (Uniswap V3: REKT 13) |
Execution Trace
MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0xdd3B11eF34cd511a2DA159034a05fcb94D806686, amount=418395506140000000000000000, data=0x000000000000000000000000DD3B11EF34CD511A2DA159034A05FCB94D806686000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB480000000000000000000000000000000000000000015A16B1D5F43CAA5B1600000000000000000000000000000000000000000000000000000000000006A0D7AE000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000003A2D96000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C8E449022E0000000000000000000000000000000000000000015A16B1D5F43CAA5B1600000000000000000000000000000000000000000000000000000000000006D9DB6400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000002800000000000000000000000F12533A96712133D9BB97C24DE5BCF52F48851BD800000000000000000000000E0554A476A092703ABDB3EF35C80E0D76D32939F7DCBEA7C000000000000000000000000000000000000000000000000 )
-
Rekt.transferFrom( from=0x27d1Ef90f5F14e2BF7814454B3f0Fab6d3d23419, to=0x74de5d4FCbf63E00296fd95d33236B9794016631, value=418395506140000000000000000 ) => ( True )
Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F03700000000000000000000000027D1EF90F5F14E2BF7814454B3F0FAB6D3D23419000000000000000000000000DD3B11EF34CD511A2DA159034A05FCB94D806686000000000000000000000000A0B86991C6218B36C1D19D4A2E9EB0CE3606EB480000000000000000000000000000000000000000015A16B1D5F43CAA5B1600000000000000000000000000000000000000000000000000000000000006A0D7AE000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000003A2D96000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C8E449022E0000000000000000000000000000000000000000015A16B1D5F43CAA5B1600000000000000000000000000000000000000000000000000000000000006D9DB6400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000002800000000000000000000000F12533A96712133D9BB97C24DE5BCF52F48851BD800000000000000000000000E0554A476A092703ABDB3EF35C80E0D76D32939F7DCBEA7C000000000000000000000000000000000000000000000000 )
0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
-
Rekt.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 115792089237316195423570985008687907853269984665640564039457584007913129639935 )
AggregationRouterV5.uniswapV3Swap( amount=418395506140000000000000000, minReturn=114940772, pools=[57896044618658097711785492505720650330347190155784080577594131396880316780989, 57896044618658097711785492505624669893251560180390193455121166874571151938463] ) => ( returnAmount=117301255 )
UniswapV3Pool.swap( recipient=0x1111111254EEB25477B68fb85Ed929f73A960582, zeroForOne=False, amountSpecified=418395506140000000000000000, sqrtPriceLimitX96=1461446703485210103287273052203988822378723970341, data=0x00000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631 ) => ( amount0=-45400627087348847, amount1=418395506140000000000000000 )
-
WETH9.transfer( dst=0x1111111254EEB25477B68fb85Ed929f73A960582, wad=45400627087348847 ) => ( True )
-
Rekt.balanceOf( account=0xF12533a96712133d9Bb97C24de5BCf52F48851BD ) => ( 3240072144845227172566602647643 )
AggregationRouterV5.uniswapV3SwapCallback( amount0Delta=-45400627087348847, amount1Delta=418395506140000000000000000, 0x00000000000000000000000074DE5D4FCBF63E00296FD95D33236B9794016631 )
-
UniswapV3Pool.STATICCALL( )
-
UniswapV3Pool.STATICCALL( )
-
UniswapV3Pool.STATICCALL( )
-
Rekt.transferFrom( from=0x74de5d4FCbf63E00296fd95d33236B9794016631, to=0xF12533a96712133d9Bb97C24de5BCf52F48851BD, value=418395506140000000000000000 ) => ( True )
-
-
Rekt.balanceOf( account=0xF12533a96712133d9Bb97C24de5BCf52F48851BD ) => ( 3240490540351367172566602647643 )
-
Uniswap V3: USDC 4.128acb08( )
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0x74de5d4FCbf63E00296fd95d33236B9794016631, value=117301255 ) => ( True )
-
-
WETH9.balanceOf( 0xE0554a476A092703abdB3Ef35c80e0D76d32939F ) => ( 972049220999920553346 )
AggregationRouterV5.uniswapV3SwapCallback( amount0Delta=-117301255, amount1Delta=45400627087348847, 0x0000000000000000000000001111111254EEB25477B68FB85ED929F73A960582 )
-
Uniswap V3: USDC 4.STATICCALL( )
-
Uniswap V3: USDC 4.STATICCALL( )
-
Uniswap V3: USDC 4.STATICCALL( )
-
WETH9.transfer( dst=0xE0554a476A092703abdB3Ef35c80e0D76d32939F, wad=45400627087348847 ) => ( True )
-
-
WETH9.balanceOf( 0xE0554a476A092703abdB3Ef35c80e0D76d32939F ) => ( 972094621627007902193 )
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0xe3478b0BB1A5084567C319096437924948Be1964, value=3812758 ) => ( True )
-
-
Rekt.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
FiatTokenProxy.70a08231( )
-
FiatTokenV2_2.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 113488497 )
-
FiatTokenProxy.a9059cbb( )
-
FiatTokenV2_2.transfer( to=0x27d1Ef90f5F14e2BF7814454B3f0Fab6d3d23419, value=113488497 ) => ( True )
-
-
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: Rekt
File 4 of 8: UniswapV3Pool
File 5 of 8: AggregationRouterV5
File 6 of 8: WETH9
File 7 of 8: FiatTokenProxy
File 8 of 8: FiatTokenV2_2
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: Rekt
12345678910111213141516// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)pragma solidity ^0.8.20;import {Context} from "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** The initial owner is set to the address provided by the deployer. This can* later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/
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: FiatTokenProxy
12345678910111213141516pragma solidity ^0.4.24;// File: zos-lib/contracts/upgradeability/Proxy.sol/*** @title Proxy* @dev Implements delegation of calls to other contracts, with proper* forwarding of return values and bubbling of failures.* It defines a fallback function that delegates all calls to the address* returned by the abstract _implementation() internal function.*/contract Proxy {/*** @dev Fallback function.* Implemented entirely in `_fallback`.*/
File 8 of 8: FiatTokenV2_2
12345678910111213141516/*** SPDX-License-Identifier: Apache-2.0** Copyright (c) 2023, Circle Internet Financial, LLC.** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at** http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.* See the License for the specific language governing permissions and* limitations under the License.