xDAI Price: $1.00 (-0.02%)
Gas: 0 GWei

Contract

0x581703eA8c4E1A541b9B682495897d9384B221d9

Overview

xDAI Balance

Gnosis Chain LogoGnosis Chain LogoGnosis Chain Logo51.920660957162985104 xDAI

xDAI Value

$51.93 (@ $1.00/xDAI)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
380030372025-01-12 11:17:5070 days ago1736680670  Contract Creation0 xDAI
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xe0f5020d...9f3B02F02
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 gnosisscan.io on 2024-08-26
*/

// 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

 Latest 25 blocks (From a total of 15,307 blocks with 51.92 xDAI in fees)

Block Transaction Gas Used Reward
391938982025-03-24 3:52:303 mins ago1742788350387,939 (0.52%)
0.0001319085 xDAI
391938612025-03-24 3:49:206 mins ago174278816021,410,483 (8.29%)
0.000021000007010415 xDAI
391937682025-03-24 3:41:2014 mins ago174278768031,548,927 (9.09%)
0.000063000007366635 xDAI
391937652025-03-24 3:41:0514 mins ago17427876651334,674 (1.97%)
0.000334674 xDAI
391937282025-03-24 3:38:0017 mins ago17427874805419,552 (2.46%)
0.001193686499832 xDAI
391936772025-03-24 3:33:4022 mins ago17427872202295,271 (1.74%)
0.000295271 xDAI
391935352025-03-24 3:21:4034 mins ago174278650061,507,676 (8.86%)
0.002913459199459132 xDAI
391935282025-03-24 3:21:0534 mins ago17427864651142,622 (0.84%)
0.000185408600285244 xDAI
391935192025-03-24 3:20:2035 mins ago17427864206288,927 (1.70%)
0.000345484525371984 xDAI
391935152025-03-24 3:20:0035 mins ago174278640000 (0.00%)
0 xDAI
391934362025-03-24 3:13:2542 mins ago174278600561,626,898 (9.56%)
0.00050393061908102 xDAI
391934312025-03-24 3:13:0042 mins ago174278598042,607,414 (15.32%)
0.003242965006182785 xDAI
391934272025-03-24 3:12:4043 mins ago17427859602456,112 (2.68%)
0.00048253 xDAI
391933942025-03-24 3:09:5545 mins ago17427857954546,657 (3.21%)
0.0009242445 xDAI
391933342025-03-24 3:04:5051 mins ago17427854901756,874 (4.44%)
0.000756874 xDAI
391932642025-03-24 2:59:0056 mins ago17427851402212,932 (1.25%)
0.000233931999727 xDAI
391931932025-03-24 2:52:551 hr ago174278477521,028,184 (6.04%)
0.00000000000505692 xDAI
391931712025-03-24 2:51:051 hr ago1742784665148,682 (0.29%)
0.000048682 xDAI
391930772025-03-24 2:43:001 hr ago17427841802178,483 (1.05%)
0.000178483 xDAI
391930022025-03-24 2:36:401 hr ago174278380000 (0.00%)
0 xDAI
391928802025-03-24 2:26:201 hr ago174278318062,909,589 (17.10%)
0.001788926011749803 xDAI
391928722025-03-24 2:25:401 hr ago1742783140276,026 (0.45%)
0.000091231200076026 xDAI
391927772025-03-24 2:17:251 hr ago174278264541,571,280 (9.23%)
0.00045914400543468 xDAI
391927002025-03-24 2:10:501 hr ago1742782250121,000 (0.12%)
0.000041999999853 xDAI
391926942025-03-24 2:10:201 hr ago174278222010680,639 (3.99%)
0.000805654308586943 xDAI
view all blocks validated

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

Latest 25 from a total of 138578 withdrawals (2,271.003176324 xDAI withdrawn)

Validator Index Block Amount
480288391890782025-03-23 21:01:056 hrs ago17427636650.015604526 xDAI
480287391890782025-03-23 21:01:056 hrs ago17427636650.015661345 xDAI
480286391890782025-03-23 21:01:056 hrs ago17427636650.01566072 xDAI
480285391890782025-03-23 21:01:056 hrs ago17427636650.03601985 xDAI
480284391890782025-03-23 21:01:056 hrs ago17427636650.015587236 xDAI
480283391890782025-03-23 21:01:056 hrs ago17427636650.035869953 xDAI
480282391890772025-03-23 21:01:006 hrs ago17427636600.036272375 xDAI
480281391890772025-03-23 21:01:006 hrs ago17427636600.015462716 xDAI
480280391890772025-03-23 21:01:006 hrs ago17427636600.015687895 xDAI
480279391890772025-03-23 21:01:006 hrs ago17427636600.015512416 xDAI
480278391890772025-03-23 21:01:006 hrs ago17427636600.015548906 xDAI
480277391890772025-03-23 21:01:006 hrs ago17427636600.015401959 xDAI
480276391890772025-03-23 21:01:006 hrs ago17427636600.015496081 xDAI
480275391890772025-03-23 21:01:006 hrs ago17427636600.015861478 xDAI
480274391890762025-03-23 21:00:556 hrs ago17427636550.015417488 xDAI
480273391890762025-03-23 21:00:556 hrs ago17427636550.015498098 xDAI
480272391890762025-03-23 21:00:556 hrs ago17427636550.015605034 xDAI
480271391890762025-03-23 21:00:556 hrs ago17427636550.015582779 xDAI
480270391890762025-03-23 21:00:556 hrs ago17427636550.015589903 xDAI
480269391890762025-03-23 21:00:556 hrs ago17427636550.015638932 xDAI
480268391890762025-03-23 21:00:556 hrs ago17427636550.015661721 xDAI
480267391890762025-03-23 21:00:556 hrs ago17427636550.015448071 xDAI
480266391890752025-03-23 21:00:456 hrs ago17427636450.015528142 xDAI
480265391890752025-03-23 21:00:456 hrs ago17427636450.035806231 xDAI
480264391890752025-03-23 21:00:456 hrs ago17427636450.015588347 xDAI
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.