ETH Price: $2,156.65 (+0.76%)

Transaction Decoder

Block:
23753507 at Nov-08-2025 09:00:11 AM +UTC
Transaction Fee:
0.0000058339521504 ETH $0.01
Gas Used:
32,650 Gas / 0.178681536 Gwei

Emitted Events:

963 RelayReceiver.FundsForwardedWithData( data=0xC903B1B8EFE9BB6AFFC4C7A4180EBAA9B9113A17A0252095BE5DCBD7AA070DD6 )

Account State Difference:

  Address   Before After State Difference Code
0x18E12B10...29fb3439A
0.012152597857025716 Eth
Nonce: 12
0.009196918027536304 Eth
Nonce: 13
0.002955679829489412
(BuilderNet)
58.212817616662087099 Eth58.212819193614315599 Eth0.0000015769522285
0xf70da978...8dfA3dbEF
(Relay: Solver)
607.555495913116804775 Eth607.558445758994143787 Eth0.002949845877339012

Execution Trace

ETH 0.002949845877339012 RelayReceiver.c903b1b8( )
  • ETH 0.002949845877339012 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();
            }
        }
    }