ETH Price: $2,632.52 (-0.04%)

Contract

0xb048405EFb54E8dCE9B9E49eef20aCdA2a9632D9
 
Transaction Hash
Method
Block
From
To
Exec Transaction207278642024-09-11 14:07:4719 days ago1726063667IN
ENS Namefcventures.eth
0 ETH0.000765977.35944638
Exec Transaction207050682024-09-08 9:42:2323 days ago1725788543IN
ENS Namefcventures.eth
0 ETH0.000141011.1499237
Exec Transaction201690312024-06-25 13:35:4797 days ago1719322547IN
ENS Namefcventures.eth
0 ETH0.000893465.71490161
Exec Transaction200763532024-06-12 14:29:59110 days ago1718202599IN
ENS Namefcventures.eth
0 ETH0.0018026326.27286199
Exec Transaction181846292023-09-21 13:44:35375 days ago1695303875IN
ENS Namefcventures.eth
0 ETH0.0047083316.96421971
Exec Transaction176131722023-07-03 11:33:35456 days ago1688384015IN
ENS Namefcventures.eth
0 ETH0.0205704517.38655689
Exec Transaction176131692023-07-03 11:32:59456 days ago1688383979IN
ENS Namefcventures.eth
0 ETH0.0018402218.44187608
Exec Transaction174493282023-06-10 10:58:47479 days ago1686394727IN
ENS Namefcventures.eth
0 ETH0.0029215317.54853447
Exec Transaction174448932023-06-09 19:58:59479 days ago1686340739IN
ENS Namefcventures.eth
0 ETH0.0019755119.93982724
Exec Transaction173299622023-05-24 15:33:35495 days ago1684942415IN
ENS Namefcventures.eth
0 ETH0.004819252
Exec Transaction173232682023-05-23 16:59:11496 days ago1684861151IN
ENS Namefcventures.eth
0 ETH0.0049876451
Exec Transaction173232612023-05-23 16:57:47496 days ago1684861067IN
ENS Namefcventures.eth
0 ETH0.0050382753.19462014
Exec Transaction173232582023-05-23 16:57:11496 days ago1684861031IN
ENS Namefcventures.eth
0 ETH0.0038774856.51326479
Exec Transaction172348302023-05-11 4:46:47509 days ago1683780407IN
ENS Namefcventures.eth
0 ETH0.00582384.86863632
Exec Transaction172345292023-05-11 3:45:47509 days ago1683776747IN
ENS Namefcventures.eth
0 ETH0.0079334378.83765028
Exec Transaction170860752023-04-20 6:52:59530 days ago1681973579IN
ENS Namefcventures.eth
0 ETH0.0050427162.11918482
Exec Transaction169355502023-03-29 21:16:47551 days ago1680124607IN
ENS Namefcventures.eth
0 ETH0.0042393940.42759655
Exec Transaction169355462023-03-29 21:15:59551 days ago1680124559IN
ENS Namefcventures.eth
0 ETH0.0030670240.53967156
Exec Transaction167170902023-02-27 4:15:11582 days ago1677471311IN
ENS Namefcventures.eth
0 ETH0.0017991918.11882734
Exec Transaction159652582022-11-14 2:22:11687 days ago1668392531IN
ENS Namefcventures.eth
0 ETH0.0039506814.46770022
Exec Transaction153411992022-08-14 17:56:18778 days ago1660499778IN
ENS Namefcventures.eth
0 ETH0.0028907820.11179662
Exec Transaction151621552022-07-17 20:01:55806 days ago1658088115IN
ENS Namefcventures.eth
0 ETH0.0034529928.5050942
Exec Transaction150549892022-07-01 6:27:28823 days ago1656656848IN
ENS Namefcventures.eth
0 ETH0.0007804415.57402707
Exec Transaction150549892022-07-01 6:27:28823 days ago1656656848IN
ENS Namefcventures.eth
0 ETH0.0024709915
Exec Transaction149744712022-06-16 17:06:08837 days ago1655399168IN
ENS Namefcventures.eth
0 ETH0.0057710149.81629895
View all transactions

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
140369742022-01-19 16:15:39985 days ago1642608939
ENS Namefcventures.eth
0.5 ETH
135464462021-11-03 22:04:061062 days ago1635977046
ENS Namefcventures.eth
0.0130551 ETH
135143402021-10-29 20:56:531067 days ago1635541013
ENS Namefcventures.eth
0.25384236 ETH
134214722021-10-15 8:01:411082 days ago1634284901  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.