Transaction Hash:
Block:
22975992 at Jul-22-2025 04:45:11 PM +UTC
Transaction Fee:
0.000081802806080724 ETH
$0.18
Gas Used:
32,638 Gas / 2.506366998 Gwei
Emitted Events:
| 525 |
RelayReceiver.FundsForwardedWithData( data=0x27B731372E28BACB008FB5A86090C3BB3C06AA83E7688CC3BD26F5064CA44E1C )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x81e15953...804AbCA8c |
0.014878209922288087 Eth
Nonce: 9
|
0.002893839178376882 Eth
Nonce: 10
| 0.011984370743911205 | ||
|
0xdadB0d80...24f783711
Miner
| (BuilderNet) | 8.768014892374368181 Eth | 8.768044750001733391 Eth | 0.00002985762736521 | |
| 0xf70da978...8dfA3dbEF | (Relay: Solver) | 528.156496920294487853 Eth | 528.168399488232318334 Eth | 0.011902567937830481 |
Execution Trace
ETH 0.011902567937830481
RelayReceiver.27b73137( )
- ETH 0.011902567937830481
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();
}
}
}