Source Code
Overview
xDAI Balance
xDAI Value
$182.96 (@ $1.00/xDAI)| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 42368961 | 66 days ago | Contract Creation | 0 xDAI |
Cross-Chain Transactions
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"}]Contract Creation Code
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
Latest 25 blocks (From a total of 5,240 blocks with 182.98 xDAI in fees)
| Block | Transaction | Gas Used | Reward | |
|---|---|---|---|---|
| 43486358 | 9 mins ago | 13 | 8,833,386 (51.96%) | 0.001160096784502314 xDAI |
| 43486322 | 12 mins ago | 12 | 11,778,738 (69.29%) | 0.001777315731151184 xDAI |
| 43485788 | 58 mins ago | 31 | 9,712,031 (57.07%) | 0.001678020744561558 xDAI |
| 43485529 | 1 hr ago | 8 | 8,637,317 (50.81%) | 0.000474215331128125 xDAI |
| 43485258 | 1 hr ago | 10 | 5,408,047 (31.81%) | 0.001168692107473024 xDAI |
| 43485007 | 2 hrs ago | 16 | 6,481,059 (38.12%) | 0.001774927712005525 xDAI |
| 43484498 | 2 hrs ago | 18 | 13,407,179 (78.87%) | 0.001553717631054792 xDAI |
| 43484009 | 3 hrs ago | 23 | 12,462,482 (73.31%) | 0.004512818454172267 xDAI |
| 43483667 | 4 hrs ago | 28 | 13,068,009 (76.87%) | 0.000909513712249457 xDAI |
| 43483553 | 4 hrs ago | 12 | 4,386,825 (25.80%) | 0.001044984503199325 xDAI |
| 43483548 | 4 hrs ago | 8 | 9,429,414 (55.47%) | 0.000904113832734605 xDAI |
| 43483420 | 4 hrs ago | 12 | 6,770,745 (39.83%) | 0.00080370150159062 xDAI |
| 43483243 | 4 hrs ago | 17 | 9,313,159 (54.78%) | 0.003147523464742559 xDAI |
| 43483182 | 4 hrs ago | 21 | 9,310,293 (54.77%) | 0.00371213840365512 xDAI |
| 43482936 | 5 hrs ago | 13 | 8,316,279 (48.92%) | 0.003598405108930545 xDAI |
| 43482808 | 5 hrs ago | 14 | 8,110,167 (47.71%) | 0.001544006602163729 xDAI |
| 43482519 | 5 hrs ago | 13 | 11,353,652 (66.79%) | 0.001392965479311044 xDAI |
| 43482192 | 6 hrs ago | 17 | 12,164,062 (71.55%) | 0.064735886505786705 xDAI |
| 43481358 | 7 hrs ago | 44 | 12,917,225 (75.98%) | 0.143202462940552887 xDAI |
| 43481144 | 7 hrs ago | 11 | 8,816,191 (51.86%) | 0.000802328360865464 xDAI |
| 43480945 | 7 hrs ago | 23 | 9,272,675 (54.55%) | 0.638077444013839998 xDAI |
| 43480849 | 8 hrs ago | 16 | 12,094,532 (71.14%) | 0.001961050695511587 xDAI |
| 43480516 | 8 hrs ago | 13 | 12,839,179 (75.52%) | 0.000988220792591752 xDAI |
| 43480413 | 8 hrs ago | 12 | 8,497,016 (49.98%) | 0.179376472872584626 xDAI |
| 43480082 | 9 hrs ago | 20 | 8,288,634 (48.76%) | 0.003120367971776763 xDAI |
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| GNO | 100.00% | $0.999868 | 182.9795 | $182.96 |
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.