xDAI Price: $0.999825 (-0.01%)

Contract

0xb71dd30efCa6Fc9310F9d7218768b263Cf99E3d1

Overview

XDAI Balance

Gnosis Chain LogoGnosis Chain LogoGnosis Chain Logo915.212794509543477643 XDAI

XDAI Value

$915.05 (@ $1.00/XDAI)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

3 Internal Transactions found.

Latest 3 internal transactions

Parent Transaction Hash Block From To
420696062025-09-11 13:33:05126 days ago1757597585
0xb71dd30e...3Cf99E3d1
0.00015733 XDAI
417381442025-08-22 19:20:25145 days ago1755890425
0xb71dd30e...3Cf99E3d1
0.1 XDAI
381774002025-01-22 22:30:00357 days ago1737585000  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

Block Transaction Gas Used Reward
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 1661917 withdrawals (26,214.09629284 XDAI withdrawn)

Validator Index Block Amount
499151441737142026-01-15 7:03:2011 hrs ago17684606000.007545652 XDAI
499150441737142026-01-15 7:03:2011 hrs ago17684606000.02745575 XDAI
499149441737142026-01-15 7:03:2011 hrs ago17684606000.007535069 XDAI
499148441737142026-01-15 7:03:2011 hrs ago17684606000.007525363 XDAI
499147441737142026-01-15 7:03:2011 hrs ago17684606000.007556194 XDAI
499146441737142026-01-15 7:03:2011 hrs ago17684606000.007563675 XDAI
499145441737142026-01-15 7:03:2011 hrs ago17684606000.007540016 XDAI
499144441737132026-01-15 7:03:1511 hrs ago17684605950.007533759 XDAI
499143441737132026-01-15 7:03:1511 hrs ago17684605950.027839125 XDAI
499142441737132026-01-15 7:03:1511 hrs ago17684605950.007548557 XDAI
499141441737132026-01-15 7:03:1511 hrs ago17684605950.007544674 XDAI
499140441737132026-01-15 7:03:1511 hrs ago17684605950.007553124 XDAI
499139441737132026-01-15 7:03:1511 hrs ago17684605950.007536509 XDAI
499138441737132026-01-15 7:03:1511 hrs ago17684605950.007525223 XDAI
499137441737132026-01-15 7:03:1511 hrs ago17684605950.007548547 XDAI
499136441737122026-01-15 7:03:1011 hrs ago17684605900.007537082 XDAI
499135441737122026-01-15 7:03:1011 hrs ago17684605900.007533289 XDAI
499134441737122026-01-15 7:03:1011 hrs ago17684605900.007566069 XDAI
499133441737122026-01-15 7:03:1011 hrs ago17684605900.007547984 XDAI
499132441737122026-01-15 7:03:1011 hrs ago17684605900.007536794 XDAI
499131441737122026-01-15 7:03:1011 hrs ago17684605900.007519997 XDAI
499130441737122026-01-15 7:03:1011 hrs ago17684605900.007541197 XDAI
499129441737122026-01-15 7:03:1011 hrs ago17684605900.007549035 XDAI
499128441737112026-01-15 7:03:0511 hrs ago17684605850.007546606 XDAI
499127441737112026-01-15 7:03:0511 hrs ago17684605850.007536074 XDAI
View All Withdrawals

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