xDAI Price: $0.999877 (+0.00%)

Contract

0xBD216938F52a305d1Bf96843B9c20072E0Bcea27

Overview

XDAI Balance

Gnosis Chain LogoGnosis Chain LogoGnosis Chain Logo656.32709536369685379 XDAI

XDAI Value

$656.25 (@ $1.00/XDAI)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Exec Transaction422015872025-09-19 12:30:1082 days ago1758285010IN
0xBD216938...2E0Bcea27
0 XDAI0.00000040.00313171
Exec Transaction421904732025-09-18 20:36:3583 days ago1758227795IN
0xBD216938...2E0Bcea27
0 XDAI0.000000830.00930456
Exec Transaction421900582025-09-18 20:00:5083 days ago1758225650IN
0xBD216938...2E0Bcea27
0 XDAI0.000094011.00403272
Exec Transaction421881092025-09-18 17:12:5083 days ago1758215570IN
0xBD216938...2E0Bcea27
0 XDAI0.000093871.00273819
Exec Transaction421880572025-09-18 17:08:3083 days ago1758215310IN
0xBD216938...2E0Bcea27
0 XDAI0.000070721.00244096
Exec Transaction421879782025-09-18 17:01:4583 days ago1758214905IN
0xBD216938...2E0Bcea27
0 XDAI0.000147411.1528643
Exec Transaction421879232025-09-18 16:56:5583 days ago1758214615IN
0xBD216938...2E0Bcea27
0 XDAI0.000083711.0033497
Transfer421879142025-09-18 16:56:0583 days ago1758214565IN
0xBD216938...2E0Bcea27
1 XDAI0.000000080.00307715

Latest 3 internal transactions

Parent Transaction Hash Block From To
424375932025-10-03 15:07:1568 days ago1759504035
0xBD216938...2E0Bcea27
0.00040039 XDAI
421879232025-09-18 16:56:5583 days ago1758214615
0xBD216938...2E0Bcea27
0.75 XDAI
421878932025-09-18 16:54:2083 days ago1758214460  Contract Creation0 XDAI
Cross-Chain Transactions
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

Contract Source Code (Solidity)

/**
 *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"}]

0x608060405234801561001057600080fd5b506040516101e63803806101e68339818101604052602081101561003357600080fd5b8101908080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806101c46022913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505060ab806101196000396000f3fe608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea264697066735822122003d1488ee65e08fa41e58e888a9865554c535f2c77126a82cb4c0f917f31441364736f6c63430007060033496e76616c69642073696e676c65746f6e20616464726573732070726f766964656400000000000000000000000041675c099f32341bf84bfc5382af534df5c7461a

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 38,519 blocks with 656.08 XDAI in fees)

Block Transaction Gas Used Reward
435828762025-12-10 21:12:1535 secs ago1765401135816,296,065 (95.95%)
0.000847485918859308 XDAI
435828752025-12-10 21:12:1040 secs ago176540113079,144,176 (53.79%)
0.00262551620029233 XDAI
435828722025-12-10 21:11:5555 secs ago1765401115178,962,669 (52.72%)
0.002391860962685064 XDAI
435828542025-12-10 21:10:252 mins ago17654010251016,931,619 (99.70%)
0.072101908998986967 XDAI
435827402025-12-10 21:00:3512 mins ago17654004352215,491,766 (91.22%)
0.069384395402953014 XDAI
435827052025-12-10 20:57:3515 mins ago1765400255149,872,369 (58.13%)
0.006822728617054161 XDAI
435827032025-12-10 20:57:2515 mins ago1765400245189,714,036 (57.20%)
0.020212445396555244 XDAI
435827022025-12-10 20:57:2015 mins ago17654002402115,371,340 (90.42%)
0.090136404506038298 XDAI
435826812025-12-10 20:55:3017 mins ago1765400130188,462,522 (49.83%)
0.000532414816488988 XDAI
435826632025-12-10 20:53:5518 mins ago1765400035158,031,591 (47.29%)
0.066899333661070961 XDAI
435826622025-12-10 20:53:5019 mins ago1765400030188,014,168 (47.14%)
0.620876051755331433 XDAI
435826542025-12-10 20:53:0519 mins ago1765399985118,219,479 (48.40%)
0.000706819020883461 XDAI
435826432025-12-10 20:52:1020 mins ago17653999302810,503,964 (61.79%)
0.09145867831438817 XDAI
435826022025-12-10 20:48:4524 mins ago1765399725158,756,546 (51.56%)
0.061530473360290137 XDAI
435825702025-12-10 20:46:0526 mins ago176539956551,439,442 (8.48%)
0.002220308871838244 XDAI
435825612025-12-10 20:45:1527 mins ago17653995152013,447,840 (79.03%)
0.002197278248900886 XDAI
435824972025-12-10 20:39:4533 mins ago1765399185138,883,090 (52.20%)
0.004111164120011901 XDAI
435824872025-12-10 20:38:5034 mins ago1765399130199,658,967 (56.76%)
0.006954937459127066 XDAI
435824822025-12-10 20:38:2534 mins ago176539910589,588,282 (56.46%)
0.001064213399380559 XDAI
435824602025-12-10 20:36:2036 mins ago1765398980218,460,274 (49.81%)
0.067267704013453764 XDAI
435824412025-12-10 20:34:4038 mins ago1765398880196,148,207 (36.17%)
0.002774003804999311 XDAI
435824352025-12-10 20:34:1038 mins ago1765398850616,631,753 (97.83%)
0.000876132156859841 XDAI
435824262025-12-10 20:33:2539 mins ago1765398805128,509,385 (50.10%)
0.001290800521330951 XDAI
435823822025-12-10 20:29:3543 mins ago1765398575716,491,822 (97.01%)
0.003194558553748475 XDAI
435823262025-12-10 20:24:4048 mins ago1765398280148,156,640 (48.03%)
0.002060490331270414 XDAI
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]
[ 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.