Transaction Hash:
Block:
22540754 at May-22-2025 08:18:47 PM +UTC
Transaction Fee:
0.000990487661262312 ETH
$2.49
Gas Used:
226,042 Gas / 4.381874436 Gwei
Emitted Events:
252 |
STRAWBERRY.Transfer( from=[Sender] 0xf770b42326f3edf28e9452f3ad23040d8331d613, to=Spender, value=300000000000000000 )
|
253 |
STRAWBERRY.Approval( owner=[Sender] 0xf770b42326f3edf28e9452f3ad23040d8331d613, spender=[Receiver] MetaSwap, value=115792089237316195423570985008687907853269984665640564039455638630346730468602 )
|
254 |
STRAWBERRY.Transfer( from=Spender, to=UniswapV2Pair, value=300000000000000000 )
|
255 |
STRAWBERRY.Approval( owner=Spender, spender=AggregationRouterV5, value=115792089237316195423570985008687907853269984665640564039434800247381209854549 )
|
256 |
WETH9.Transfer( src=UniswapV2Pair, dst=AggregationRouterV5, wad=69890775745340890 )
|
257 |
UniswapV2Pair.Sync( reserve0=40991599468715282371, reserve1=9508416760906761342 )
|
258 |
UniswapV2Pair.Swap( sender=AggregationRouterV5, amount0In=300000000000000000, amount1In=0, amount0Out=0, amount1Out=69890775745340890, to=AggregationRouterV5 )
|
259 |
WETH9.Withdrawal( src=AggregationRouterV5, wad=69890775745340890 )
|
260 |
Proxy.0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d( 0x3d0ce9bfc3ed7d6862dbb28b2dea94561fe714a1b4d019aa8af39730d1ad7c3d, 0x00000000000000000000000074de5d4fcbf63e00296fd95d33236b9794016631, 00000000000000000000000000000000000000000000000000022c3240097c55 )
|
261 |
MetaSwap.Swap( 0xbeee1e6e7fe307ddcf84b0a16137a4430ad5e2480fc4f4a8e250ab56ccd7630d, 0xf35f348d53012d52a5d39f9390d246956ac932d5778d2bb49e359dba4fa0896d, 0x000000000000000000000000f770b42326f3edf28e9452f3ad23040d8331d613 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x0B420BCC...De9A0E5f2 | |||||
0x4D74026A...eb8bdfE4C | |||||
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 16.968962814968146882 Eth | 16.96918885696905105 Eth | 0.000226042000904168 | |
0xC02aaA39...83C756Cc2 | 2,821,742.441271625355736887 Eth | 2,821,742.371380849610395997 Eth | 0.06989077574534089 | ||
0xF326e4dE...3c79f1915 | (MetaMask: DS Proxy) | 3,502.917522143116495415 Eth | 3,502.918133687404267148 Eth | 0.000611544287771733 | |
0xF770b423...D8331d613 |
0.004308227953443411 Eth
Nonce: 12
|
0.072596971749750256 Eth
Nonce: 13
| 0.068288743796306845 |
Execution Trace
MetaSwap.swap( aggregatorId=oneInchV5FeeDynamic, tokenFrom=0x4D74026A5BE387235afcc9ED611996eeb8bdfE4C, amount=300000000000000000, data=0x0000000000000000000000004D74026A5BE387235AFCC9ED611996EEB8BDFE4C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000429D069189E000000000000000000000000000000000000000000000000000000F134E97DB6B2EE000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000022C3240097C55000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C80502B1C50000000000000000000000004D74026A5BE387235AFCC9ED611996EEB8BDFE4C0000000000000000000000000000000000000000000000000429D069189E000000000000000000000000000000000000000000000000000000F355FC042665180000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000140000000000000003B6D03400B420BCC3C04B1ADFF7B777C37BA521DE9A0E5F27DCBEA7C000000000000000000000000000000000000000000000000 )
-
STRAWBERRY.transferFrom( sender=0xF770b42326F3edF28e9452F3ad23040D8331d613, recipient=0x74de5d4FCbf63E00296fd95d33236B9794016631, amount=300000000000000000 ) => ( True )
Spender.swap( adapter=0x7CDf68CE9A05413Cbb76cb7F80EAF415A826E313, data=0x92F5F037000000000000000000000000F770B42326F3EDF28E9452F3AD23040D8331D6130000000000000000000000004D74026A5BE387235AFCC9ED611996EEB8BDFE4C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000429D069189E000000000000000000000000000000000000000000000000000000F134E97DB6B2EE000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000022C3240097C55000000000000000000000000F326E4DE8F66A0BDC0970B79E0924E33C79F1915000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000C80502B1C50000000000000000000000004D74026A5BE387235AFCC9ED611996EEB8BDFE4C0000000000000000000000000000000000000000000000000429D069189E000000000000000000000000000000000000000000000000000000F355FC042665180000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000140000000000000003B6D03400B420BCC3C04B1ADFF7B777C37BA521DE9A0E5F27DCBEA7C000000000000000000000000000000000000000000000000 )
0x7cdf68ce9a05413cbb76cb7f80eaf415a826e313.92f5f037( )
-
STRAWBERRY.allowance( owner=0x74de5d4FCbf63E00296fd95d33236B9794016631, spender=0x1111111254EEB25477B68fb85Ed929f73A960582 ) => ( 115792089237316195423570985008687907853269984665640564039435100247381209854549 )
AggregationRouterV5.unoswap( srcToken=0x4D74026A5BE387235afcc9ED611996eeb8bdfE4C, amount=300000000000000000, minReturn=68492960230434072, pools=[28948022309329048857349863384655158948161261354462909772545864687921561396722] ) => ( returnAmount=69890775745340890 )
-
STRAWBERRY.transferFrom( sender=0x74de5d4FCbf63E00296fd95d33236B9794016631, recipient=0x0B420BCC3c04b1adFf7b777C37BA521De9A0E5f2, amount=300000000000000000 ) => ( True )
-
UniswapV2Pair.STATICCALL( )
UniswapV2Pair.swap( amount0Out=0, amount1Out=69890775745340890, to=0x1111111254EEB25477B68fb85Ed929f73A960582, data=0x )
WETH9.withdraw( wad=69890775745340890 )
- ETH 0.06989077574534089
AggregationRouterV5.CALL( )
- ETH 0.06989077574534089
- ETH 0.06989077574534089
Spender.CALL( )
-
ETH 0.000611544287771733
Proxy.CALL( )
- ETH 0.000611544287771733
GnosisSafe.DELEGATECALL( )
- ETH 0.000611544287771733
-
STRAWBERRY.balanceOf( account=0x74de5d4FCbf63E00296fd95d33236B9794016631 ) => ( 0 )
- ETH 0.069279231457569157
0xf770b42326f3edf28e9452f3ad23040d8331d613.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 8: MetaSwap
File 2 of 8: Spender
File 3 of 8: STRAWBERRY
File 4 of 8: UniswapV2Pair
File 5 of 8: AggregationRouterV5
File 6 of 8: WETH9
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: 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: STRAWBERRY
12345678910111213141516// SPDX-License-Identifier: MIT/*https://t.me/strawberryerc_portalhttps://x.com/StrawberryErc20https://strawberrybymattfurie.xyz/*/pragma solidity 0.8.23;abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}}
File 4 of 8: 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 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: 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>