Transaction Hash:
Block:
22470265 at May-12-2025 10:50:11 PM +UTC
Transaction Fee:
0.00006050991559415 ETH
$0.15
Gas Used:
32,650 Gas / 1.853289911 Gwei
Emitted Events:
467 |
RelayReceiver.FundsForwardedWithData( data=0x76704117A26735A4F5EABD71DDFE6B6430179C286FD6A62DC52B3A0983F2F98A )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x4838B106...B0BAD5f97
Miner
| (Titan Builder) | 7.605457497771951431 Eth | 7.605484270180953781 Eth | 0.00002677240900235 | |
0x57f6fc14...C31066765 |
0.000671451660793795 Eth
Nonce: 126
|
0.000476651413040886 Eth
Nonce: 127
| 0.000194800247752909 | ||
0xf70da978...8dfA3dbEF | 172.098265242527872925 Eth | 172.098399532860031684 Eth | 0.000134290332158759 |
Execution Trace
ETH 0.000134290332158759
RelayReceiver.76704117( )
- ETH 0.000134290332158759
0xf70da97812cb96acdf810712aa562db8dfa3dbef.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(); } } }