ETH Price: $2,651.88 (+3.93%)

Transaction Decoder

Block:
22561380 at May-25-2025 05:39:23 PM +UTC
Transaction Fee:
0.000039804435440768 ETH $0.11
Gas Used:
33,424 Gas / 1.190893832 Gwei

Emitted Events:

334 RelayReceiver.FundsForwardedWithData( data=0xF83F5C5246B0805E046165414367EEEE115FFC8D56D0C35932A15C2CBA0CF8E1F83F5C5246B0805E046165414367EEEE115FFC8D56D0C35932A15C2CBA0CF8E1 )

Account State Difference:

  Address   Before After State Difference Code
(Titan Builder)
10.186820182527424517 Eth10.186836894527424517 Eth0.000016712
0x48aEC43C...4C01eD803
0.001053334561206317 Eth
Nonce: 27
0.000730718259690786 Eth
Nonce: 28
0.000322616301515531
0xf70da978...8dfA3dbEF 389.530529578908689487 Eth389.53081239077476425 Eth0.000282811866074763

Execution Trace

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