Transaction Hash:
Block:
22734804 at Jun-18-2025 11:59:35 PM +UTC
Transaction Fee:
0.00001618580145925 ETH
$0.03
Gas Used:
32,650 Gas / 0.495736645 Gwei
Emitted Events:
| 450 |
RelayReceiver.FundsForwardedWithData( data=0x9336140E21D858C74F04A4F4A6257BA7C9B88D6D191F4FDBF4DBDA2506411326 )
|
Account State Difference:
| Address | Before | After | State Difference | ||
|---|---|---|---|---|---|
| 0x45267fce...1bc027f83 |
0.001105869970164371 Eth
Nonce: 31
|
0.000536749183622936 Eth
Nonce: 32
| 0.000569120786541435 | ||
|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 15.678438417124072137 Eth | 15.678444029120640987 Eth | 0.00000561199656885 | |
| 0xf70da978...8dfA3dbEF | (Relay: Solver) | 702.390354513513063469 Eth | 702.390907448498145654 Eth | 0.000552934985082185 |
Execution Trace
ETH 0.000552934985082185
RelayReceiver.9336140e( )
- ETH 0.000552934985082185
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();
}
}
}