ETH Price: $1,796.12 (+10.50%)

Contract

0xB1e810E731621293B649C9e28Ba9339d0fC991a9
Transaction Hash
Method
Block
From
To
Exec Transaction117284332025-03-24 5:01:4530 days ago1742792505IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction82567172025-01-02 20:17:53110 days ago1735849073IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction82284092025-01-02 4:34:17111 days ago1735792457IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction81686042024-12-31 19:20:47112 days ago1735672847IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction80463012024-12-28 23:24:01115 days ago1735428241IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction80179582024-12-28 7:39:15116 days ago1735371555IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction78308442024-12-23 23:42:07120 days ago1734997327IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction78294582024-12-23 22:55:55120 days ago1734994555IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction73658362024-12-13 5:21:51131 days ago1734067311IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction72498902024-12-10 12:56:59133 days ago1733835419IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001
Exec Transaction67739532024-11-29 12:32:25144 days ago1732883545IN
0xB1e810E7...d0fC991a9
0 ETH0.000000020.0001
Exec Transaction66126332024-11-25 18:55:05148 days ago1732560905IN
0xB1e810E7...d0fC991a9
0 ETH0.000000010.0001

Latest 3 internal transactions

Parent Transaction Hash Block From To
102155472025-02-17 4:32:1365 days ago1739766733
0xB1e810E7...d0fC991a9
0.00000161 ETH
102155252025-02-17 4:31:2965 days ago1739766689
0xB1e810E7...d0fC991a9
0.00000161 ETH
42331462024-10-01 16:58:51203 days ago1727801931  Contract Creation0 ETH

Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x993432b7...6bA3506B6
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, GNU LGPLv3 license
/**
 *Submitted for verification at worldscan.org on 2024-12-29
*/

// 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())
        }
    }
}

Contract Security Audit

Contract ABI

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

Deployed Bytecode

0x608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea264697066735822122003d1488ee65e08fa41e58e888a9865554c535f2c77126a82cb4c0f917f31441364736f6c63430007060033

Deployed Bytecode Sourcemap

536:1541:0:-:0;;;1401:42;1397:1;1391:8;1387:57;1581:66;1577:1;1564:15;1561:87;1558:2;;;1678:10;1675:1;1668:21;1717:4;1714:1;1707:15;1558:2;1770:14;1767:1;1764;1751:34;1868:1;1865;1849:14;1846:1;1834:10;1827:5;1814:56;1905:16;1902:1;1899;1884:38;1951:1;1942:7;1939:14;1936:2;;;1983:16;1980:1;1973:27;1936:2;2039:16;2036:1;2029:27

Swarm Source

ipfs://03d1488ee65e08fa41e58e888a9865554c535f2c77126a82cb4c0f917f314413

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
[ 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.