ETH Price: $1,975.06 (+3.72%)

Transaction Decoder

Block:
23032422 at Jul-30-2025 02:04:59 PM +UTC
Transaction Fee:
0.0001451171990809 ETH $0.29
Gas Used:
32,650 Gas / 4.444630906 Gwei

Emitted Events:

140 RelayReceiver.FundsForwardedWithData( data=0x229A67DF5ADCF9813F5B7C64A39CF96B1BFFE71BD0ACD3E16D7AC44841D413F0 )

Account State Difference:

  Address   Before After State Difference Code
0x444DD7a8...E741365eE
0.001992253896318873 Eth
Nonce: 143
0.00127853489364773 Eth
Nonce: 144
0.000713719002671143
(Titan Builder)
23.141290514122914411 Eth23.141336109707878561 Eth0.00004559558496415
0xf70da978...8dfA3dbEF
(Relay: Solver)
697.632858332612470295 Eth697.633426934416060538 Eth0.000568601803590243

Execution Trace

ETH 0.000568601803590243 RelayReceiver.229a67df( )
  • ETH 0.000568601803590243 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();
            }
        }
    }