More Info
Private Name Tags
ContractCreator
Multichain Info
1 address found via
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
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
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
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_singleton","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]
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 451 blocks with 8.73 xDAI in fees)
Block | Transaction | Gas Used | Reward | |
---|---|---|---|---|
39233655 | 5 hrs ago | 11 | 4,061,844 (23.89%) | 0.00161198251362072 xDAI |
39229817 | 11 hrs ago | 7 | 3,072,483 (18.07%) | 0.00131783400891981 xDAI |
39225914 | 16 hrs ago | 9 | 1,914,639 (11.26%) | 0.00126173700365775 xDAI |
39217305 | 29 hrs ago | 9 | 3,083,142 (18.14%) | 0.001995942505729855 xDAI |
39213355 | 34 hrs ago | 8 | 1,372,340 (8.07%) | 0.001441692400200227 xDAI |
39207378 | 43 hrs ago | 20 | 6,627,337 (38.98%) | 0.004326395438474765 xDAI |
39198543 | 2 days ago | 6 | 674,188 (3.97%) | 0.000703501 xDAI |
39195439 | 2 days ago | 4 | 559,356 (3.29%) | 0.000863444439440924 xDAI |
39187718 | 2 days ago | 13 | 4,462,462 (26.25%) | 0.00262767251241189 xDAI |
39179287 | 3 days ago | 0 | 0 (0.00%) | 0 xDAI |
39176566 | 3 days ago | 8 | 2,146,089 (12.62%) | 0.002197529499742512 xDAI |
39175174 | 3 days ago | 14 | 4,446,146 (26.15%) | 0.00274603250870967 xDAI |
39161875 | 4 days ago | 8 | 1,246,574 (7.33%) | 0.00029800400503592 xDAI |
39159289 | 4 days ago | 4 | 201,414 (1.18%) | 0.000237070499874 xDAI |
39153698 | 4 days ago | 23 | 8,267,278 (48.63%) | 0.006735667155936039 xDAI |
39139201 | 5 days ago | 17 | 4,074,970 (23.97%) | 0.00393320950503592 xDAI |
39131263 | 6 days ago | 6 | 1,460,196 (8.59%) | 0.002209427092252612 xDAI |
39124896 | 6 days ago | 9 | 1,633,246 (9.61%) | 0.00146145650082723 xDAI |
39122644 | 6 days ago | 8 | 1,217,153 (7.16%) | 0.001541730499832 xDAI |
39117884 | 7 days ago | 10 | 3,147,784 (18.52%) | 0.002790494906340009 xDAI |
39114069 | 7 days ago | 12 | 4,514,088 (26.55%) | 0.006630756808377861 xDAI |
39104834 | 7 days ago | 19 | 3,245,666 (19.09%) | 0.005456527505831065 xDAI |
39104436 | 7 days ago | 12 | 5,494,583 (32.32%) | 0.00636124950093223 xDAI |
39103886 | 7 days ago | 14 | 3,211,280 (18.89%) | 0.0035148635 xDAI |
39095084 | 8 days ago | 10 | 2,259,665 (13.29%) | 0.00288139800093223 xDAI |
Loading...
Loading
Loading...
Loading
Loading...
Loading
Latest 25 from a total of 49 withdrawals (0.880471707 xDAI withdrawn)
Validator Index | Block | Amount | |
---|---|---|---|
411040 | 39224382 | 19 hrs ago | 0.01689061 xDAI |
411040 | 39180526 | 3 days ago | 0.016790667 xDAI |
411040 | 39136711 | 5 days ago | 0.016718848 xDAI |
411040 | 39092674 | 8 days ago | 0.007243405 xDAI |
411040 | 39048549 | 11 days ago | 0.016793434 xDAI |
411040 | 39004599 | 13 days ago | 0.016717969 xDAI |
411040 | 38960761 | 16 days ago | 0.016514365 xDAI |
411040 | 38917094 | 18 days ago | 0.016591659 xDAI |
411040 | 38873530 | 21 days ago | 0.016467621 xDAI |
411040 | 38830337 | 24 days ago | 0.016540577 xDAI |
411040 | 38787296 | 26 days ago | 0.016487698 xDAI |
411040 | 38744283 | 29 days ago | 0.035396287 xDAI |
411040 | 38701357 | 31 days ago | 0.03574917 xDAI |
411040 | 38658464 | 34 days ago | 0.016344058 xDAI |
411040 | 38615333 | 36 days ago | 0.016362534 xDAI |
411040 | 38572227 | 39 days ago | 0.016212166 xDAI |
411040 | 38529449 | 41 days ago | 0.016460638 xDAI |
411040 | 38485983 | 44 days ago | 0.01660231 xDAI |
411040 | 38442551 | 47 days ago | 0.016536708 xDAI |
411040 | 38399278 | 49 days ago | 0.016456085 xDAI |
411040 | 38356350 | 52 days ago | 0.01634092 xDAI |
411040 | 38314130 | 54 days ago | 0.016233609 xDAI |
411040 | 38272617 | 57 days ago | 0.03531434 xDAI |
411040 | 38231546 | 59 days ago | 0.016390686 xDAI |
411040 | 38189970 | 62 days ago | 0.015994647 xDAI |
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.