More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 34 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exec Transaction | 17460611 | 458 days ago | IN | 0 ETH | 0.00145222 | ||||
Exec Transaction | 17460606 | 458 days ago | IN | 0 ETH | 0.00143413 | ||||
Exec Transaction | 17460601 | 458 days ago | IN | 0 ETH | 0.00123792 | ||||
Exec Transaction | 17460597 | 458 days ago | IN | 0 ETH | 0.00182745 | ||||
Exec Transaction | 17460594 | 458 days ago | IN | 0 ETH | 0.00111516 | ||||
Exec Transaction | 17460588 | 458 days ago | IN | 0 ETH | 0.00156076 | ||||
Transfer | 17350891 | 474 days ago | IN | 0.0111 ETH | 0.00079595 | ||||
Transfer | 17343384 | 475 days ago | IN | 0.0030488 ETH | 0.00078146 | ||||
Transfer | 17342744 | 475 days ago | IN | 0.0111 ETH | 0.00074255 | ||||
Transfer | 17339216 | 475 days ago | IN | 0.0111 ETH | 0.00066689 | ||||
Transfer | 17337246 | 476 days ago | IN | 0.01111 ETH | 0.00231215 | ||||
Transfer | 17297682 | 481 days ago | IN | 0.01980789 ETH | 0.00091161 | ||||
Transfer | 17292824 | 482 days ago | IN | 0.0333 ETH | 0.00147076 | ||||
Transfer | 17283792 | 483 days ago | IN | 0.00129828 ETH | 0.00118011 | ||||
Transfer | 17152624 | 502 days ago | IN | 0.02 ETH | 0.00111314 | ||||
Transfer | 17148086 | 502 days ago | IN | 0.00152192 ETH | 0.00114535 | ||||
Exec Transaction | 16830256 | 547 days ago | IN | 0 ETH | 0.00209399 | ||||
Transfer | 16670271 | 570 days ago | IN | 0.000001 ETH | 0.00168972 | ||||
Exec Transaction | 15727881 | 701 days ago | IN | 0 ETH | 0.001233 | ||||
Exec Transaction | 15703143 | 705 days ago | IN | 0 ETH | 0.00171325 | ||||
Exec Transaction | 15647831 | 712 days ago | IN | 0 ETH | 0.00162674 | ||||
Transfer | 15578913 | 722 days ago | IN | 0.05954467 ETH | 0.00027223 | ||||
Exec Transaction | 15543840 | 727 days ago | IN | 0 ETH | 0.00035136 | ||||
Exec Transaction | 15541699 | 727 days ago | IN | 0 ETH | 0.00063872 | ||||
Exec Transaction | 15353004 | 758 days ago | IN | 0 ETH | 0.00163689 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17566177 | 443 days ago | 0.0108078 ETH | ||||
17460594 | 458 days ago | 0.65272846 ETH | ||||
17431381 | 462 days ago | 0.00476655 ETH | ||||
17430858 | 462 days ago | 0.00543453 ETH | ||||
17424405 | 463 days ago | 0.00531693 ETH | ||||
17395734 | 467 days ago | 0.00456538 ETH | ||||
17395266 | 467 days ago | 0.00581257 ETH | ||||
17395241 | 467 days ago | 0.00524001 ETH | ||||
17394948 | 467 days ago | 0.00626641 ETH | ||||
17393509 | 468 days ago | 0.00531676 ETH | ||||
17388731 | 468 days ago | 0.00534524 ETH | ||||
17388657 | 468 days ago | 0.00510969 ETH | ||||
17388535 | 468 days ago | 0.0048086 ETH | ||||
17388413 | 468 days ago | 0.00535137 ETH | ||||
17388388 | 468 days ago | 0.00534388 ETH | ||||
17388354 | 468 days ago | 0.00534834 ETH | ||||
17388137 | 468 days ago | 0.00535428 ETH | ||||
17387176 | 469 days ago | 0.0107297 ETH | ||||
17351303 | 474 days ago | 0.00618599 ETH | ||||
17351079 | 474 days ago | 0.00548412 ETH | ||||
17342742 | 475 days ago | 0.00616762 ETH | ||||
17342628 | 475 days ago | 0.005518 ETH | ||||
17341439 | 475 days ago | 0.00492846 ETH | ||||
17339201 | 475 days ago | 0.00179734 ETH | ||||
17339138 | 475 days ago | 0.00829869 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
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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
Loading...
Loading
Loading...
Loading
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.