Transaction Hash:
Block:
23496142 at Oct-03-2025 08:44:47 AM +UTC
Transaction Fee:
0.00000894998361955 ETH
$0.03
Gas Used:
32,650 Gas / 0.274118947 Gwei
Emitted Events:
| 675 |
RelayReceiver.FundsForwardedWithData( data=0x9C3F4868401CF4D532589814ED8384D50EABF0BEA97B81894F58B3A92440FE7B )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0xc1c43eC9...0F76d3F11 |
0.002378518805512298 Eth
Nonce: 6
|
0.00023055338198045 Eth
Nonce: 7
| 0.002147965423531848 | ||
|
0xdadB0d80...24f783711
Miner
| (BuilderNet) | 94.460639507331642957 Eth | 94.460639507843921457 Eth | 0.0000000005122785 | |
| 0xf70da978...8dfA3dbEF | (Relay: Solver) | 795.24408548078106064 Eth | 795.246224496220972938 Eth | 0.002139015439912298 |
Execution Trace
ETH 0.002139015439912298
RelayReceiver.9c3f4868( )
- ETH 0.002139015439912298
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();
}
}
}