ETH Price: $2,518.50 (-0.30%)

Transaction Decoder

Block:
19076669 at Jan-24-2024 01:03:11 PM +UTC
Transaction Fee:
0.000421523931208919 ETH $1.06
Gas Used:
23,149 Gas / 18.209163731 Gwei

Emitted Events:

235 Proxy.Received( value=9800000000000000, sender=[Sender] 0x482579f93dc13e6b434e38b5a0447ca543d88a46, data=0x )

Account State Difference:

  Address   Before After State Difference Code
0x482579F9...543D88A46
4.880404604316570429 Eth
Nonce: 1811
4.87018308038536151 Eth
Nonce: 1812
0.010221523931208919
0x8411643F...3bac96863 0.00309322110270286 Eth0.01289322110270286 Eth0.0098
(MEV Builder: 0xf156...8e1)
4.659460748785999462 Eth4.659463063685999462 Eth0.0000023149

Execution Trace

ETH 0.0098 Proxy.CALL( )
// Copyright (C) 2018  Argent Labs Ltd. <https://argent.xyz>

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.3;

/**
 * @title Proxy
 * @notice Basic proxy that delegates all calls to a fixed implementing contract.
 * The implementing contract cannot be upgraded.
 * @author Julien Niset - <[email protected]>
 */
contract Proxy {

    address immutable public implementation;

    event Received(uint indexed value, address indexed sender, bytes data);

    constructor(address _implementation) {
        implementation = _implementation;
    }

    fallback() external payable {
        address target = implementation;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            calldatacopy(0, 0, calldatasize())
            let result := delegatecall(gas(), target, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            switch result
            case 0 {revert(0, returndatasize())}
            default {return (0, returndatasize())}
        }
    }

    receive() external payable {
        emit Received(msg.value, msg.sender, "");
    }
}