Transaction Hash:
Block:
22854032 at Jul-05-2025 03:52:47 PM +UTC
Transaction Fee:
0.000081871573495968 ETH
$0.21
Gas Used:
32,976 Gas / 2.482762418 Gwei
Emitted Events:
181 |
RelayReceiver.FundsForwardedWithData( data=0x56FB893ED0325D2BF308F4E67C13CFB9878207594DACC23E0E61EC82578C34A5865D8597 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x60BA3249...Ba22A3E46 |
0.021949878077792839 Eth
Nonce: 483
|
0.017868006504296871 Eth
Nonce: 484
| 0.004081871573495968 | ||
0xdadB0d80...24f783711
Miner
| (BuilderNet) | 29.346967477096216521 Eth | 29.347033429096216521 Eth | 0.000065952 | |
0xf70da978...8dfA3dbEF | (Relay: Solver) | 634.939856180309226456 Eth | 634.943856180309226456 Eth | 0.004 |
Execution Trace
ETH 0.004
RelayReceiver.56fb893e( )
- ETH 0.004
Relay: Solver.CALL( )
// SPDX-License-Identifier: MIT pragma solidity ^0.8.23; contract RelayReceiver { // --- Structs --- struct Call { address to; bytes data; uint256 value; } // --- Errors --- error CallFailed(); error NativeTransferFailed(); error Unauthorized(); // --- Events --- event FundsForwardedWithData(bytes data); // --- Fields --- address private immutable SOLVER; // --- Constructor --- constructor(address solver) { SOLVER = solver; } // --- Public methods --- fallback() external payable { send(SOLVER, msg.value); emit FundsForwardedWithData(msg.data); } function forward(bytes calldata data) external payable { send(SOLVER, msg.value); emit FundsForwardedWithData(data); } // --- Restricted methods --- function makeCalls(Call[] calldata calls) external payable { if (msg.sender != SOLVER) { revert Unauthorized(); } unchecked { uint256 length = calls.length; for (uint256 i; i < length; i++) { Call memory c = calls[i]; (bool success, ) = c.to.call{value: c.value}(c.data); if (!success) { revert CallFailed(); } } } } // --- Internal methods --- function send(address to, uint256 value) internal { bool success; assembly { // Save gas by avoiding copying the return data to memory. // Provide at most 100k gas to the internal call, which is // more than enough to cover common use-cases of logic for // receiving native tokens (eg. SCW payable fallbacks). success := call(100000, to, value, 0, 0, 0, 0) } if (!success) { revert NativeTransferFailed(); } } }