ETH Price: $2,491.54 (-5.32%)
Gas: 1.15 Gwei

Transaction Decoder

Block:
22561354 at May-25-2025 05:34:11 PM +UTC
Transaction Fee:
0.00005757753440005 ETH $0.14
Gas Used:
32,650 Gas / 1.763477317 Gwei

Emitted Events:

525 RelayReceiver.FundsForwardedWithData( data=0x6162D8C422B568D585024EA718A7BF2140DB7B218B0A243F1227FB50ED6A7682 )

Account State Difference:

  Address   Before After State Difference Code
(Titan Builder)
10.123874281660031174 Eth10.123911296374621224 Eth0.00003701471459005
0x628d4392...8a96A110E
4 Eth
Nonce: 0
2.99994242246559995 Eth
Nonce: 1
1.00005757753440005
0xf70da978...8dfA3dbEF 387.924532344735936302 Eth388.924532344735936302 Eth1

Execution Trace

ETH 1 RelayReceiver.6162d8c4( )
  • ETH 1 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();
            }
        }
    }