Goerli Testnet

Contract

0xDb9F51790365e7dc196e7D072728df39Be958ACe
Source Code
Transaction Hash
Method
Block
From
To
Value
Deposit Transact...101792622023-12-08 15:17:123 hrs 23 mins ago1702048632IN
0xDb9F51...Be958ACe
0.0631 ETH0.000002030.01581343
Deposit Transact...101792442023-12-08 15:12:243 hrs 28 mins ago1702048344IN
0xDb9F51...Be958ACe
0 ETH0.00019261.50000002
Deposit Transact...101792362023-12-08 15:10:363 hrs 29 mins ago1702048236IN
0xDb9F51...Be958ACe
0.01 ETH0.000192691.50000003
Deposit Transact...101792062023-12-08 15:01:243 hrs 39 mins ago1702047684IN
0xDb9F51...Be958ACe
0.1 ETH0.000192711.50000002
Deposit Transact...101791932023-12-08 14:58:003 hrs 42 mins ago1702047480IN
0xDb9F51...Be958ACe
0.01 ETH0.000192691.50000001
Deposit Transact...101791702023-12-08 14:51:243 hrs 49 mins ago1702047084IN
0xDb9F51...Be958ACe
0.05 ETH0.000192691.50000001
Deposit Transact...101791682023-12-08 14:51:003 hrs 49 mins ago1702047060IN
0xDb9F51...Be958ACe
0.05 ETH0.00019271.50000001
Deposit Transact...101782112023-12-08 10:43:007 hrs 57 mins ago1702032180IN
0xDb9F51...Be958ACe
0.5 ETH0.000192711.50000001
Deposit Transact...101757852023-12-08 0:10:3618 hrs 29 mins ago1701994236IN
0xDb9F51...Be958ACe
2 ETH0.000192711.50000001
Deposit Transact...101741962023-12-07 17:08:001 day 1 hr ago1701968880IN
0xDb9F51...Be958ACe
0 ETH0.00030762.39553921
Deposit Transact...101734072023-12-07 13:32:241 day 5 hrs ago1701955944IN
0xDb9F51...Be958ACe
0.05 ETH0.000285063.01434241
Deposit Transact...101729762023-12-07 11:39:001 day 7 hrs ago1701949140IN
0xDb9F51...Be958ACe
0 ETH0.000194011.51090601
Deposit Transact...101705432023-12-07 1:06:121 day 17 hrs ago1701911172IN
0xDb9F51...Be958ACe
0.01 ETH0.00019271.50000001
Deposit Transact...101691902023-12-06 19:13:481 day 23 hrs ago1701890028IN
0xDb9F51...Be958ACe
0.005 ETH0.000192711.50000001
Deposit Transact...101691372023-12-06 19:00:121 day 23 hrs ago1701889212IN
0xDb9F51...Be958ACe
0.032 ETH0.000192681.50000001
Deposit Transact...101688192023-12-06 17:39:482 days 1 hr ago1701884388IN
0xDb9F51...Be958ACe
0.015 ETH0.000192711.50000001
Deposit Transact...101680732023-12-06 14:24:242 days 4 hrs ago1701872664IN
0xDb9F51...Be958ACe
1 ETH0.000192711.50000001
Deposit Transact...101672032023-12-06 10:42:122 days 7 hrs ago1701859332IN
0xDb9F51...Be958ACe
5 ETH0.000192711.50000002
Deposit Transact...101671642023-12-06 10:33:242 days 8 hrs ago1701858804IN
0xDb9F51...Be958ACe
5 ETH0.000192711.50000002
Deposit Transact...101671582023-12-06 10:32:122 days 8 hrs ago1701858732IN
0xDb9F51...Be958ACe
0.1 ETH0.000192711.50000002
Deposit Transact...101647972023-12-06 0:35:242 days 18 hrs ago1701822924IN
0xDb9F51...Be958ACe
0.1 ETH0.000128471.00000001
Finalize Withdra...101643442023-12-05 22:40:242 days 20 hrs ago1701816024IN
0xDb9F51...Be958ACe
0 ETH0.000272971.5000002
Prove Withdrawal...101643392023-12-05 22:39:242 days 20 hrs ago1701815964IN
0xDb9F51...Be958ACe
0 ETH0.000342581.50000028
Deposit Transact...101640222023-12-05 21:20:482 days 21 hrs ago1701811248IN
0xDb9F51...Be958ACe
0 ETH0.000192741.50105072
Deposit Transact...101626292023-12-05 15:26:483 days 3 hrs ago1701790008IN
0xDb9F51...Be958ACe
0.01 ETH0.000211781.64875498
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
101792622023-12-08 15:17:123 hrs 23 mins ago1702048632
0xDb9F51...Be958ACe
0 ETH
101792622023-12-08 15:17:123 hrs 23 mins ago1702048632
0xDb9F51...Be958ACe
0.0631 ETH
101792442023-12-08 15:12:243 hrs 28 mins ago1702048344
0xDb9F51...Be958ACe
0 ETH
101792442023-12-08 15:12:243 hrs 28 mins ago1702048344
0xDb9F51...Be958ACe
0 ETH
101792362023-12-08 15:10:363 hrs 29 mins ago1702048236
0xDb9F51...Be958ACe
0 ETH
101792362023-12-08 15:10:363 hrs 29 mins ago1702048236
0xDb9F51...Be958ACe
0.01 ETH
101792062023-12-08 15:01:243 hrs 39 mins ago1702047684
0xDb9F51...Be958ACe
0 ETH
101792062023-12-08 15:01:243 hrs 39 mins ago1702047684
0xDb9F51...Be958ACe
0.1 ETH
101791932023-12-08 14:58:003 hrs 42 mins ago1702047480
0xDb9F51...Be958ACe
0 ETH
101791932023-12-08 14:58:003 hrs 42 mins ago1702047480
0xDb9F51...Be958ACe
0.01 ETH
101791702023-12-08 14:51:243 hrs 49 mins ago1702047084
0xDb9F51...Be958ACe
0 ETH
101791702023-12-08 14:51:243 hrs 49 mins ago1702047084
0xDb9F51...Be958ACe
0.05 ETH
101791682023-12-08 14:51:003 hrs 49 mins ago1702047060
0xDb9F51...Be958ACe
0 ETH
101791682023-12-08 14:51:003 hrs 49 mins ago1702047060
0xDb9F51...Be958ACe
0.05 ETH
101782112023-12-08 10:43:007 hrs 57 mins ago1702032180
0xDb9F51...Be958ACe
0 ETH
101782112023-12-08 10:43:007 hrs 57 mins ago1702032180
0xDb9F51...Be958ACe
0.5 ETH
101757852023-12-08 0:10:3618 hrs 29 mins ago1701994236
0xDb9F51...Be958ACe
0 ETH
101757852023-12-08 0:10:3618 hrs 29 mins ago1701994236
0xDb9F51...Be958ACe
2 ETH
101741962023-12-07 17:08:001 day 1 hr ago1701968880
0xDb9F51...Be958ACe
0 ETH
101741962023-12-07 17:08:001 day 1 hr ago1701968880
0xDb9F51...Be958ACe
0 ETH
101734072023-12-07 13:32:241 day 5 hrs ago1701955944
0xDb9F51...Be958ACe
0 ETH
101734072023-12-07 13:32:241 day 5 hrs ago1701955944
0xDb9F51...Be958ACe
0.05 ETH
101729762023-12-07 11:39:001 day 7 hrs ago1701949140
0xDb9F51...Be958ACe
0 ETH
101729762023-12-07 11:39:001 day 7 hrs ago1701949140
0xDb9F51...Be958ACe
0 ETH
101705432023-12-07 1:06:121 day 17 hrs ago1701911172
0xDb9F51...Be958ACe
0 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x123466...Eba222ba
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Proxy

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : Proxy.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

/**
 * @title Proxy
 * @notice Proxy is a transparent proxy that passes through the call if the caller is the owner or
 *         if the caller is address(0), meaning that the call originated from an off-chain
 *         simulation.
 */
contract Proxy {
    /**
     * @notice The storage slot that holds the address of the implementation.
     *         bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
     */
    bytes32 internal constant IMPLEMENTATION_KEY =
        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @notice The storage slot that holds the address of the owner.
     *         bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1)
     */
    bytes32 internal constant OWNER_KEY =
        0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @notice An event that is emitted each time the implementation is changed. This event is part
     *         of the EIP-1967 specification.
     *
     * @param implementation The address of the implementation contract
     */
    event Upgraded(address indexed implementation);

    /**
     * @notice An event that is emitted each time the owner is upgraded. This event is part of the
     *         EIP-1967 specification.
     *
     * @param previousAdmin The previous owner of the contract
     * @param newAdmin      The new owner of the contract
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @notice A modifier that reverts if not called by the owner or by address(0) to allow
     *         eth_call to interact with this proxy without needing to use low-level storage
     *         inspection. We assume that nobody is able to trigger calls from address(0) during
     *         normal EVM execution.
     */
    modifier proxyCallIfNotAdmin() {
        if (msg.sender == _getAdmin() || msg.sender == address(0)) {
            _;
        } else {
            // This WILL halt the call frame on completion.
            _doProxyCall();
        }
    }

    /**
     * @notice Sets the initial admin during contract deployment. Admin address is stored at the
     *         EIP-1967 admin storage slot so that accidental storage collision with the
     *         implementation is not possible.
     *
     * @param _admin Address of the initial contract admin. Admin as the ability to access the
     *               transparent proxy interface.
     */
    constructor(address _admin) {
        _changeAdmin(_admin);
    }

    // slither-disable-next-line locked-ether
    receive() external payable {
        // Proxy call by default.
        _doProxyCall();
    }

    // slither-disable-next-line locked-ether
    fallback() external payable {
        // Proxy call by default.
        _doProxyCall();
    }

    /**
     * @notice Set the implementation contract address. The code at the given address will execute
     *         when this contract is called.
     *
     * @param _implementation Address of the implementation contract.
     */
    function upgradeTo(address _implementation) external proxyCallIfNotAdmin {
        _setImplementation(_implementation);
    }

    /**
     * @notice Set the implementation and call a function in a single transaction. Useful to ensure
     *         atomic execution of initialization-based upgrades.
     *
     * @param _implementation Address of the implementation contract.
     * @param _data           Calldata to delegatecall the new implementation with.
     */
    function upgradeToAndCall(address _implementation, bytes calldata _data)
        external
        payable
        proxyCallIfNotAdmin
        returns (bytes memory)
    {
        _setImplementation(_implementation);
        (bool success, bytes memory returndata) = _implementation.delegatecall(_data);
        require(success, "Proxy: delegatecall to new implementation contract failed");
        return returndata;
    }

    /**
     * @notice Changes the owner of the proxy contract. Only callable by the owner.
     *
     * @param _admin New owner of the proxy contract.
     */
    function changeAdmin(address _admin) external proxyCallIfNotAdmin {
        _changeAdmin(_admin);
    }

    /**
     * @notice Gets the owner of the proxy contract.
     *
     * @return Owner address.
     */
    function admin() external proxyCallIfNotAdmin returns (address) {
        return _getAdmin();
    }

    /**
     * @notice Queries the implementation address.
     *
     * @return Implementation address.
     */
    function implementation() external proxyCallIfNotAdmin returns (address) {
        return _getImplementation();
    }

    /**
     * @notice Sets the implementation address.
     *
     * @param _implementation New implementation address.
     */
    function _setImplementation(address _implementation) internal {
        assembly {
            sstore(IMPLEMENTATION_KEY, _implementation)
        }
        emit Upgraded(_implementation);
    }

    /**
     * @notice Changes the owner of the proxy contract.
     *
     * @param _admin New owner of the proxy contract.
     */
    function _changeAdmin(address _admin) internal {
        address previous = _getAdmin();
        assembly {
            sstore(OWNER_KEY, _admin)
        }
        emit AdminChanged(previous, _admin);
    }

    /**
     * @notice Performs the proxy call via a delegatecall.
     */
    function _doProxyCall() internal {
        address impl = _getImplementation();
        require(impl != address(0), "Proxy: implementation not initialized");

        assembly {
            // Copy calldata into memory at 0x0....calldatasize.
            calldatacopy(0x0, 0x0, calldatasize())

            // Perform the delegatecall, make sure to pass all available gas.
            let success := delegatecall(gas(), impl, 0x0, calldatasize(), 0x0, 0x0)

            // Copy returndata into memory at 0x0....returndatasize. Note that this *will*
            // overwrite the calldata that we just copied into memory but that doesn't really
            // matter because we'll be returning in a second anyway.
            returndatacopy(0x0, 0x0, returndatasize())

            // Success == 0 means a revert. We'll revert too and pass the data up.
            if iszero(success) {
                revert(0x0, returndatasize())
            }

            // Otherwise we'll just return and pass the data up.
            return(0x0, returndatasize())
        }
    }

    /**
     * @notice Queries the implementation address.
     *
     * @return Implementation address.
     */
    function _getImplementation() internal view returns (address) {
        address impl;
        assembly {
            impl := sload(IMPLEMENTATION_KEY)
        }
        return impl;
    }

    /**
     * @notice Queries the owner of the proxy contract.
     *
     * @return Owner address.
     */
    function _getAdmin() internal view returns (address) {
        address owner;
        assembly {
            owner := sload(OWNER_KEY)
        }
        return owner;
    }
}

Settings
{
  "remappings": [
    "@eth-optimism/contracts-periphery/=node_modules/@eth-optimism/contracts-periphery/contracts/",
    "@openzeppelin/=node_modules/@openzeppelin/",
    "@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/",
    "@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",
    "@rari-capital/=node_modules/@rari-capital/",
    "@rari-capital/solmate/=node_modules/@rari-capital/solmate/",
    "ds-test/=node_modules/ds-test/src/",
    "excessively-safe-call/=node_modules/excessively-safe-call/",
    "forge-std/=node_modules/forge-std/src/",
    "contracts/=contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "metadata": {
    "bytecodeHash": "none"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_implementation","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100be5780638f283970146100f8578063f851a440146101185761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61012d565b005b61006b61012d565b34801561008157600080fd5b5061006b6100903660046106d9565b610224565b6100a86100a33660046106f4565b610296565b6040516100b59190610777565b60405180910390f35b3480156100ca57600080fd5b506100d3610419565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100b5565b34801561010457600080fd5b5061006b6101133660046106d9565b6104b0565b34801561012457600080fd5b506100d3610517565b60006101577f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905073ffffffffffffffffffffffffffffffffffffffff8116610201576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f50726f78793a20696d706c656d656e746174696f6e206e6f7420696e6974696160448201527f6c697a656400000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b3660008037600080366000845af43d6000803e8061021e573d6000fd5b503d6000f35b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061027d575033155b1561028e5761028b816105a3565b50565b61028b61012d565b60606102c07fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806102f7575033155b1561040a57610305846105a3565b6000808573ffffffffffffffffffffffffffffffffffffffff16858560405161032f9291906107ea565b600060405180830381855af49150503d806000811461036a576040519150601f19603f3d011682016040523d82523d6000602084013e61036f565b606091505b509150915081610401576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603960248201527f50726f78793a2064656c656761746563616c6c20746f206e657720696d706c6560448201527f6d656e746174696f6e20636f6e7472616374206661696c65640000000000000060648201526084016101f8565b91506104129050565b61041261012d565b9392505050565b60006104437fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061047a575033155b156104a557507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6104ad61012d565b90565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610509575033155b1561028e5761028b8161060b565b60006105417fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610578575033155b156104a557507fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc81905560405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60006106357fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61038390556040805173ffffffffffffffffffffffffffffffffffffffff8084168252851660208201529192507f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a15050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106d457600080fd5b919050565b6000602082840312156106eb57600080fd5b610412826106b0565b60008060006040848603121561070957600080fd5b610712846106b0565b9250602084013567ffffffffffffffff8082111561072f57600080fd5b818601915086601f83011261074357600080fd5b81358181111561075257600080fd5b87602082850101111561076457600080fd5b6020830194508093505050509250925092565b600060208083528351808285015260005b818110156107a457858101830151858201604001528201610788565b818111156107b6576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b818382376000910190815291905056fea164736f6c634300080f000a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.