ETH Price: $4,048.85 (+4.11%)

Contract

0xD896BfE9eff9C3383348a5618cD617d3730dc567
 
Transaction Hash
Method
Block
From
To
Exec Transaction209548592024-10-13 6:25:4764 days ago1728800747IN
0xD896BfE9...3730dc567
0 ETH0.000790868.34495595
Exec Transaction209478782024-10-12 6:56:3565 days ago1728716195IN
0xD896BfE9...3730dc567
0 ETH0.0010310910.87972984
Exec Transaction208325532024-09-26 4:59:5981 days ago1727326799IN
0xD896BfE9...3730dc567
0 ETH0.0013748114.50474629
Exec Transaction204393642024-08-02 7:26:35136 days ago1722583595IN
0xD896BfE9...3730dc567
0 ETH0.000363464.6787864
Exec Transaction204159452024-07-30 0:55:35139 days ago1722300935IN
0xD896BfE9...3730dc567
0 ETH0.000281572.97068996
Exec Transaction201632862024-06-24 18:18:35175 days ago1719253115IN
0xD896BfE9...3730dc567
0 ETH0.0010426211
Exec Transaction197879842024-05-03 7:05:35227 days ago1714719935IN
0xD896BfE9...3730dc567
0 ETH0.000824658.70031503
Exec Transaction197232312024-04-24 5:43:23236 days ago1713937403IN
0xD896BfE9...3730dc567
0 ETH0.0008545211
Exec Transaction197228592024-04-24 4:28:35236 days ago1713932915IN
0xD896BfE9...3730dc567
0 ETH0.0013119313.84130836
Exec Transaction197098302024-04-22 8:45:47238 days ago1713775547IN
0xD896BfE9...3730dc567
0 ETH0.0006528.39170746
Exec Transaction197098132024-04-22 8:42:23238 days ago1713775343IN
0xD896BfE9...3730dc567
0 ETH0.0010243410.80847297
Exec Transaction197003882024-04-21 1:05:11239 days ago1713661511IN
0xD896BfE9...3730dc567
0 ETH0.000745587.86618782
Exec Transaction197003232024-04-21 0:52:11239 days ago1713660731IN
0xD896BfE9...3730dc567
0 ETH0.000853059
Exec Transaction196951922024-04-20 7:39:11240 days ago1713598751IN
0xD896BfE9...3730dc567
0 ETH0.000742557.83414366
Exec Transaction191397352024-02-02 9:11:11318 days ago1706865071IN
0xD896BfE9...3730dc567
0 ETH0.0020864522.00989636
Exec Transaction191349542024-02-01 17:05:47319 days ago1706807147IN
0xD896BfE9...3730dc567
0 ETH0.0035815737.78666453
Exec Transaction191348902024-02-01 16:52:59319 days ago1706806379IN
0xD896BfE9...3730dc567
0 ETH0.0050048952.79651923
Exec Transaction191306502024-02-01 2:33:47319 days ago1706754827IN
0xD896BfE9...3730dc567
0 ETH0.0024058425.37915317
Exec Transaction181650692023-09-18 20:01:35455 days ago1695067295IN
0xD896BfE9...3730dc567
0 ETH0.0024027425.33684823
Exec Transaction175117572023-06-19 5:37:11546 days ago1687153031IN
0xD896BfE9...3730dc567
0 ETH0.0012029714
Exec Transaction175112232023-06-19 3:49:11546 days ago1687146551IN
0xD896BfE9...3730dc567
0 ETH0.0014699814.7382771
Exec Transaction175112152023-06-19 3:47:35546 days ago1687146455IN
0xD896BfE9...3730dc567
0 ETH0.0014259214
Exec Transaction174103292023-06-04 22:55:59560 days ago1685919359IN
0xD896BfE9...3730dc567
0 ETH0.0011761519.61376902
Exec Transaction171922642023-05-05 5:09:59591 days ago1683263399IN
0xD896BfE9...3730dc567
0 ETH0.0065158489.41488339
Exec Transaction171922432023-05-05 5:05:47591 days ago1683263147IN
0xD896BfE9...3730dc567
0 ETH0.0058020275.84540292
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
171922432023-05-05 5:05:47591 days ago1683263147
0xD896BfE9...3730dc567
0.01 ETH
171921062023-05-05 4:37:59591 days ago1683261479  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
GnosisSafeProxy

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-07-09
*/

// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;

/// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain
/// @author Richard Meissner - <[email protected]>
interface IProxy {
    function masterCopy() external view returns (address);
}

/// @title GnosisSafeProxy - 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 GnosisSafeProxy {
    // 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;

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

/// @title Proxy Factory - Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
/// @author Stefan George - <[email protected]>
contract GnosisSafeProxyFactory {
    event ProxyCreation(GnosisSafeProxy proxy, address singleton);

    /// @dev Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
    /// @param singleton Address of singleton contract.
    /// @param data Payload for message call sent to new proxy contract.
    function createProxy(address singleton, bytes memory data) public returns (GnosisSafeProxy proxy) {
        proxy = new GnosisSafeProxy(singleton);
        if (data.length > 0)
            // solhint-disable-next-line no-inline-assembly
            assembly {
                if eq(call(gas(), proxy, 0, add(data, 0x20), mload(data), 0, 0), 0) {
                    revert(0, 0)
                }
            }
        emit ProxyCreation(proxy, singleton);
    }

    /// @dev Allows to retrieve the runtime code of a deployed Proxy. This can be used to check that the expected Proxy was deployed.
    function proxyRuntimeCode() public pure returns (bytes memory) {
        return type(GnosisSafeProxy).runtimeCode;
    }

    /// @dev Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.
    function proxyCreationCode() public pure returns (bytes memory) {
        return type(GnosisSafeProxy).creationCode;
    }

    /// @dev Allows to create new proxy contact using CREATE2 but it doesn't run the initializer.
    ///      This method is only meant as an utility to be called from other methods
    /// @param _singleton Address of singleton contract.
    /// @param initializer Payload for message call sent to new proxy contract.
    /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.
    function deployProxyWithNonce(
        address _singleton,
        bytes memory initializer,
        uint256 saltNonce
    ) internal returns (GnosisSafeProxy proxy) {
        // If the initializer changes the proxy address should change too. Hashing the initializer data is cheaper than just concatinating it
        bytes32 salt = keccak256(abi.encodePacked(keccak256(initializer), saltNonce));
        bytes memory deploymentData = abi.encodePacked(type(GnosisSafeProxy).creationCode, uint256(uint160(_singleton)));
        // solhint-disable-next-line no-inline-assembly
        assembly {
            proxy := create2(0x0, add(0x20, deploymentData), mload(deploymentData), salt)
        }
        require(address(proxy) != address(0), "Create2 call failed");
    }

    /// @dev Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
    /// @param _singleton Address of singleton contract.
    /// @param initializer Payload for message call sent to new proxy contract.
    /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.
    function createProxyWithNonce(
        address _singleton,
        bytes memory initializer,
        uint256 saltNonce
    ) public returns (GnosisSafeProxy proxy) {
        proxy = deployProxyWithNonce(_singleton, initializer, saltNonce);
        if (initializer.length > 0)
            // solhint-disable-next-line no-inline-assembly
            assembly {
                if eq(call(gas(), proxy, 0, add(initializer, 0x20), mload(initializer), 0, 0), 0) {
                    revert(0, 0)
                }
            }
        emit ProxyCreation(proxy, _singleton);
    }

    /// @dev Allows to create new proxy contact, execute a message call to the new proxy and call a specified callback within one transaction
    /// @param _singleton Address of singleton contract.
    /// @param initializer Payload for message call sent to new proxy contract.
    /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.
    /// @param callback Callback that will be invoced after the new proxy contract has been successfully deployed and initialized.
    function createProxyWithCallback(
        address _singleton,
        bytes memory initializer,
        uint256 saltNonce,
        IProxyCreationCallback callback
    ) public returns (GnosisSafeProxy proxy) {
        uint256 saltNonceWithCallback = uint256(keccak256(abi.encodePacked(saltNonce, callback)));
        proxy = createProxyWithNonce(_singleton, initializer, saltNonceWithCallback);
        if (address(callback) != address(0)) callback.proxyCreated(proxy, _singleton, initializer, saltNonce);
    }

    /// @dev Allows to get the address for a new proxy contact created via `createProxyWithNonce`
    ///      This method is only meant for address calculation purpose when you use an initializer that would revert,
    ///      therefore the response is returned with a revert. When calling this method set `from` to the address of the proxy factory.
    /// @param _singleton Address of singleton contract.
    /// @param initializer Payload for message call sent to new proxy contract.
    /// @param saltNonce Nonce that will be used to generate the salt to calculate the address of the new proxy contract.
    function calculateCreateProxyWithNonceAddress(
        address _singleton,
        bytes calldata initializer,
        uint256 saltNonce
    ) external returns (GnosisSafeProxy proxy) {
        proxy = deployProxyWithNonce(_singleton, initializer, saltNonce);
        revert(string(abi.encodePacked(proxy)));
    }
}

interface IProxyCreationCallback {
    function proxyCreated(
        GnosisSafeProxy proxy,
        address _singleton,
        bytes calldata initializer,
        uint256 saltNonce
    ) external;
}

Contract Security Audit

Contract ABI

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

Deployed Bytecode

0x608060405273ffffffffffffffffffffffffffffffffffffffff600054167fa619486e0000000000000000000000000000000000000000000000000000000060003514156050578060005260206000f35b3660008037600080366000845af43d6000803e60008114156070573d6000fd5b3d6000f3fea2646970667358221220d1429297349653a4918076d650332de1a1068c5f3e07c5c82360c277770b955264736f6c63430007060033

Deployed Bytecode Sourcemap

524:1528:0:-:0;;;1376:42;1372:1;1366:8;1362:57;1556:66;1552:1;1539:15;1536:87;1533:2;;;1653:10;1650:1;1643:21;1692:4;1689:1;1682:15;1533:2;1745:14;1742:1;1739;1726:34;1843:1;1840;1824:14;1821:1;1809:10;1802:5;1789:56;1880:16;1877:1;1874;1859:38;1926:1;1917:7;1914:14;1911:2;;;1958:16;1955:1;1948:27;1911:2;2014:16;2011:1;2004:27

Swarm Source

ipfs://d1429297349653a4918076d650332de1a1068c5f3e07c5c82360c277770b9552

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.