Transaction Hash:
Block:
24024345 at Dec-16-2025 09:42:47 AM +UTC
Transaction Fee:
0.000001167872377104 ETH
$0.00225
Gas Used:
32,976 Gas / 0.035415829 Gwei
Emitted Events:
| 6735 |
RelayReceiver.FundsForwardedWithData( data=0x2ABB4A887A01A838063B712EC0F2C9532D5758281E1AA73681EA8D7598F205A7D7E44D53 )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 14.528817158272010174 Eth | 14.528817163638359534 Eth | 0.00000000536634936 | |
| 0xf70da978...8dfA3dbEF | (Relay: Solver) | 470.278901737208557235 Eth | 470.287501737208557235 Eth | 0.0086 | |
| 0xFfDe3d15...45edFE7cB |
0.0142355235789064 Eth
Nonce: 2
|
0.005634355706529296 Eth
Nonce: 3
| 0.008601167872377104 |
Execution Trace
ETH 0.0086
RelayReceiver.2abb4a88( )
- ETH 0.0086
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();
}
}
}