ETH Price: $2,681.93 (-2.44%)

Contract

0xaB875a17db1982E57427763daf51Ab8b698d1EAF
 
Transaction Hash
Method
Block
From
To
Exec Transaction218829492025-02-19 20:57:5946 hrs ago1739998679IN
0xaB875a17...b698d1EAF
0 ETH0.000173480.75413426
Exec Transaction217794142025-02-05 9:31:2316 days ago1738747883IN
0xaB875a17...b698d1EAF
0 ETH0.000202031.32998497
Exec Transaction217751732025-02-04 19:17:4716 days ago1738696667IN
0xaB875a17...b698d1EAF
0 ETH0.000554762.92560416
Exec Transaction216787892025-01-22 8:19:5930 days ago1737533999IN
0xaB875a17...b698d1EAF
0 ETH0.001204827.68716836
Exec Transaction215817972025-01-08 19:17:3543 days ago1736363855IN
0xaB875a17...b698d1EAF
0 ETH0.001435249.15735056
Exec Transaction214852182024-12-26 7:42:5957 days ago1735198979IN
0xaB875a17...b698d1EAF
0 ETH0.000894865.67351686
Exec Transaction214669562024-12-23 18:24:5960 days ago1734978299IN
0xaB875a17...b698d1EAF
0 ETH0.0018369211.44404031
Exec Transaction214586772024-12-22 14:37:1161 days ago1734878231IN
0xaB875a17...b698d1EAF
0 ETH0.008425049.28635721
Exec Transaction214465822024-12-20 22:00:5962 days ago1734732059IN
0xaB875a17...b698d1EAF
0 ETH0.0021064910.80915523
Exec Transaction214441972024-12-20 14:01:5963 days ago1734703319IN
0xaB875a17...b698d1EAF
0 ETH0.033681233.0056493
Exec Transaction214019762024-12-14 16:34:3569 days ago1734194075IN
0xaB875a17...b698d1EAF
0 ETH0.0021565110.48346889
Exec Transaction214011432024-12-14 13:46:2369 days ago1734183983IN
0xaB875a17...b698d1EAF
0 ETH0.000729839.3
Exec Transaction213305152024-12-04 17:05:5979 days ago1733331959IN
0xaB875a17...b698d1EAF
0 ETH0.0029429936.87731976

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
213305022024-12-04 17:03:2379 days ago1733331803  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
SafeProxy

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : SafeProxy.sol
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;

/**
 * @title IProxy - Helper interface to access the singleton address of the Proxy on-chain.
 * @author Richard Meissner - @rmeissner
 */
interface IProxy {
    function masterCopy() external view returns (address);
}

/**
 * @title SafeProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
 * @author Stefan George - <[email protected]>
 * @author Richard Meissner - <[email protected]>
 */
contract SafeProxy {
    // Singleton always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.
    // To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`
    address internal singleton;

    /**
     * @notice Constructor function sets address of singleton contract.
     * @param _singleton Singleton address.
     */
    constructor(address _singleton) {
        require(_singleton != address(0), "Invalid singleton address provided");
        singleton = _singleton;
    }

    /// @dev Fallback function forwards all transactions and returns all received return data.
    fallback() external payable {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            let _singleton := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
            // 0xa619486e == keccak("masterCopy()"). The value is right padded to 32-bytes with 0s
            if eq(calldataload(0), 0xa619486e00000000000000000000000000000000000000000000000000000000) {
                mstore(0, _singleton)
                return(0, 0x20)
            }
            calldatacopy(0, 0, calldatasize())
            let success := delegatecall(gas(), _singleton, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            if eq(success, 0) {
                revert(0, returndatasize())
            }
            return(0, returndatasize())
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_singleton","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

Deployed Bytecode

0x608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea264697066735822122003d1488ee65e08fa41e58e888a9865554c535f2c77126a82cb4c0f917f31441364736f6c63430007060033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.