ETH Price: $2,540.29 (+1.64%)

Transaction Decoder

Block:
22539401 at May-22-2025 03:46:59 PM +UTC
Transaction Fee:
0.001233910982295856 ETH $3.13
Gas Used:
187,556 Gas / 6.578893676 Gwei

Emitted Events:

192 WETH9.Deposit( dst=AggregationRouterV5, wad=187109640597470195 )
193 Rekt.Transfer( from=UniswapV3Pool, to=Spender, value=1765467785803956261842764314 )
194 WETH9.Transfer( src=AggregationRouterV5, dst=UniswapV3Pool, wad=187109640597470195 )
195 UniswapV3Pool.Swap( sender=AggregationRouterV5, recipient=Spender, amount0=187109640597470195, amount1=-1765467785803956261842764314, sqrtPriceX96=7706929952099150394599603029674806, liquidity=121593414106253892327284535, tick=229717 )
196 Rekt.Transfer( from=Spender, to=[Sender] 0xc85b3cbf81e63e0524717efc4e53dc12658b1fc5, value=1765467785803956261842764314 )
197 MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x000000000000000000000000c85b3cbf81e63e0524717efc4e53dc12658b1fc5 )

Account State Difference:

  Address   Before After State Difference Code
(Titan Builder)
13.159782602159305324 Eth13.15997015815949288 Eth0.000187556000187556
0xC02aaA39...83C756Cc2 2,818,623.536520969663307986 Eth2,818,623.723630610260778181 Eth0.187109640597470195
0xc85b3Cbf...2658B1Fc5
0.190397351372809639 Eth
Nonce: 1133
0.000402138400632123 Eth
Nonce: 1134
0.189995212972177516
0xdd3B11eF...94D806686
0xe3478b0B...948Be1964 414.579608092446491115 Eth414.58125975383890258 Eth0.001651661392411465
0xF12533a9...2F48851BD
(Uniswap V3: REKT 13)

Execution Trace

ETH 0.18876130198988166 MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0x0000000000000000000000000000000000000000, amount=188761301989881660, data=0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DD3B11EF34CD511A2DA159034A05FCB94D8066860000000000000000000000000000000000000000000000000298BF3A0DDCFBF300000000000000000000000000000000000000000597274C6EA93386D9FE102400000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000005DE2D62957B49000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A8E449022E0000000000000000000000000000000000000000000000000298BF3A0DDCFBF300000000000000000000000000000000000000000597274C6EA93386D9FE102300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001400000000000000000000000F12533A96712133D9BB97C24DE5BCF52F48851BD7DCBEA7C000000000000000000000000000000000000000000000000 )
  • ETH 0.18876130198988166 Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F037000000000000000000000000C85B3CBF81E63E0524717EFC4E53DC12658B1FC50000000000000000000000000000000000000000000000000000000000000000000000000000000000000000DD3B11EF34CD511A2DA159034A05FCB94D8066860000000000000000000000000000000000000000000000000298BF3A0DDCFBF300000000000000000000000000000000000000000597274C6EA93386D9FE102400000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000005DE2D62957B49000000000000000000000000E3478B0BB1A5084567C319096437924948BE1964000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000A8E449022E0000000000000000000000000000000000000000000000000298BF3A0DDCFBF300000000000000000000000000000000000000000597274C6EA93386D9FE102300000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001400000000000000000000000F12533A96712133D9BB97C24DE5BCF52F48851BD7DCBEA7C000000000000000000000000000000000000000000000000 )
    • ETH 0.18876130198988166 0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
      • ETH 0.187109640597470195 AggregationRouterV5.uniswapV3Swap( amount=187109640597470195, minReturn=1730158430087877136605909027, pools=[28948022309329048855892746253548673367029693989373939567729735394902034371005] ) => ( returnAmount=1765467785803956261842764314 )
        • ETH 0.187109640597470195 WETH9.CALL( )
        • UniswapV3Pool.swap( recipient=0x74de5d4FCbf63E00296fd95d33236B9794016631, zeroForOne=True, amountSpecified=187109640597470195, sqrtPriceLimitX96=4295128740, data=0x0000000000000000000000001111111254EEB25477B68FB85ED929F73A960582 ) => ( amount0=187109640597470195, amount1=-1765467785803956261842764314 )
          • Rekt.transfer( to=0x74de5d4FCbf63E00296fd95d33236B9794016631, value=1765467785803956261842764314 ) => ( True )
          • WETH9.balanceOf( 0xF12533a96712133d9Bb97C24de5BCf52F48851BD ) => ( 1026041997367922538465 )
          • AggregationRouterV5.uniswapV3SwapCallback( amount0Delta=187109640597470195, amount1Delta=-1765467785803956261842764314, 0x0000000000000000000000001111111254EEB25477B68FB85ED929F73A960582 )
            • UniswapV3Pool.STATICCALL( )
            • UniswapV3Pool.STATICCALL( )
            • UniswapV3Pool.STATICCALL( )
            • WETH9.transfer( dst=0xF12533a96712133d9Bb97C24de5BCf52F48851BD, wad=187109640597470195 ) => ( True )
            • WETH9.balanceOf( 0xF12533a96712133d9Bb97C24de5BCf52F48851BD ) => ( 1026229107008520008660 )
            • ETH 0.001651661392411465 0xe3478b0bb1a5084567c319096437924948be1964.CALL( )
            • Rekt.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 1765467785803956261842764314 )
            • Rekt.transfer( to=0xc85b3Cbf81E63E0524717eFC4e53dC12658B1Fc5, value=1765467785803956261842764314 ) => ( True )
              File 1 of 6: MetaSwap
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              pragma 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
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 2 of 6: WETH9
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // 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;
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 3 of 6: UniswapV3Pool
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // SPDX-License-Identifier: BUSL-1.1
              pragma 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';
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 4 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 internal
                  constant 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 to
                  delegatecall\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\n
                   if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if
                  present\r\n if (returndata.length \u003e 0) {\r\n // The easiest way to bubble the revert reason is using memory via
                  assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let
                  returndata_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"}}
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 5 of 6: Rekt
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              // 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.
              */
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

              File 6 of 6: AggregationRouterV5
              1
              2
              3
              4
              5
              6
              7
              8
              9
              10
              11
              12
              13
              14
              15
              16
              /*
              ,▄▓▓██▌ ,╓▄▄▓▓▓▓▓▓▓▓▄▄▄,,
              ,▓██▓███▓▄▓███▓╬╬╬╬╬╬╬╬╬╬╬╬╬▓███▓▄,
              ▄█ ▓██╬╣███████╬▓▀╬╬▓▓▓████████████▓█████▄,
              ▓██▌ ▓██╬╣██████╬▓▌ ██████████████████████▌╙╙▀ⁿ
              ▐████████╬▓████▓▓█╨ ▄ ╟█████████▓▓╬╬╬╬╬▓▓█████▓▄
              └▀▓▓▄╓ ╟█▓╣█████▓██████▀ ╓█▌ ███████▓▓▓▓▓╬╬╬╬╬╬╬╬╬╬╬╬▓██▓▄
              └▀████▓▄╥ ▐██╬╬██████████╙ Æ▀─ ▓███▀╚╠╬╩▀▀███████▓▓╬╬╬╬╬╬╬╬╬██▄
              └▀██▓▀▀█████▓╬▓██████▀ ▄█████▒╠" └╙▓██████▓╬╬╬╬╬╬╬╬██▄
              └▀██▄,└╙▀▀████▌└╙ ^"▀╙╙╙"╙██ @▄ ╙▀███████╬╬╬╬╬╬╬██µ
              └▀██▓▄, ██▌ ╒ ╙█▓ ]▓█▓╔ ▀███████▓╬╬╬╬╬▓█▌
              ▀█████ ▓ ╟█▌ ]╠██▓░▒╓ ▀████████╬╬╬╬╣█▌
              ▐████ ╓█▀█▌ ,██▌ ╚Å███▓▒▒╠╓ ╙█████████╬╬╬╣█▌
              └████ ▓█░░▓█ ▀▀▀ φ▒╫████▒▒▒▒╠╓ █████████▓╬╬▓█µ
              ╘███µ ▌▄█▓▄▓▀` ,▀ ,╔╠░▓██████▌╠▒▒▒φ ██████████╬╬██
              ▐████µ╙▓▀` ,▀╙,╔╔φφφ╠░▄▓███████▌░▓╙▒▒▒╠ └██╬███████╬▓█⌐
              XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX