ETH Price: $2,340.48 (+1.25%)

Transaction Decoder

Block:
23661817 at Oct-26-2025 01:05:11 PM +UTC
Transaction Fee:
0.00002180310904035 ETH $0.05
Gas Used:
32,650 Gas / 0.667782819 Gwei

Emitted Events:

796 RelayReceiver.FundsForwardedWithData( data=0x380A9E33C5F93671A1091EE9ED7AC34D44325668A136DD1F3A4010BFED2E3509 )

Account State Difference:

  Address   Before After State Difference Code
(Titan Builder)
12.869932675436320061 Eth12.869949000436320061 Eth0.000016325
0x8289049e...4787AdeEf
0.008190153606024643 Eth
Nonce: 117
0.00014448720695965 Eth
Nonce: 118
0.008045666399064993
0xf70da978...8dfA3dbEF
(Relay: Solver)
706.986681978109056719 Eth706.994705841399081362 Eth0.008023863290024643

Execution Trace

ETH 0.008023863290024643 RelayReceiver.380a9e33( )
  • ETH 0.008023863290024643 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();
            }
        }
    }