Source Code
Latest 18 from a total of 18 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Exec Transaction | 43793462 | 32 days ago | IN | 0 XDAI | 0.00038232 | ||||
| Exec Transaction | 43793403 | 32 days ago | IN | 0 XDAI | 0.00015468 | ||||
| Exec Transaction | 43793309 | 32 days ago | IN | 0 XDAI | 0.00010271 | ||||
| Exec Transaction | 43785330 | 32 days ago | IN | 0 XDAI | 0.00022738 | ||||
| Exec Transaction | 43784876 | 32 days ago | IN | 0 XDAI | 0.00011608 | ||||
| Exec Transaction | 41336664 | 179 days ago | IN | 0 XDAI | 0.00008189 | ||||
| Exec Transaction | 41336532 | 179 days ago | IN | 0 XDAI | 0.00001898 | ||||
| Exec Transaction | 41336144 | 179 days ago | IN | 0 XDAI | 0.00007515 | ||||
| Exec Transaction | 41336014 | 179 days ago | IN | 0 XDAI | 0.00001898 | ||||
| Exec Transaction | 41335713 | 179 days ago | IN | 0 XDAI | 0.00007601 | ||||
| Exec Transaction | 41335473 | 179 days ago | IN | 0 XDAI | 0.00001898 | ||||
| Exec Transaction | 41332767 | 179 days ago | IN | 0 XDAI | 0.00003487 | ||||
| Exec Transaction | 41332398 | 179 days ago | IN | 0 XDAI | 0.00001332 | ||||
| Exec Transaction | 41273649 | 182 days ago | IN | 0 XDAI | 0.0000788 | ||||
| Exec Transaction | 41270873 | 183 days ago | IN | 0 XDAI | 0.0000788 | ||||
| Exec Transaction | 41269031 | 183 days ago | IN | 0 XDAI | 0.00007879 | ||||
| Exec Transaction | 41268928 | 183 days ago | IN | 0 XDAI | 0.00009869 | ||||
| Exec Transaction | 41265280 | 183 days ago | IN | 0 XDAI | 0.00008371 |
Latest 1 internal transaction
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 41155324 | 189 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 4,294 blocks with 50.16 XDAI in fees)
| Block | Transaction | Gas Used | Reward | |
|---|---|---|---|---|
| 44325793 | 5 hrs ago | 6 | 16,779,805 (98.70%) | 0.0000779246685093 XDAI |
| 44324490 | 7 hrs ago | 34 | 16,372,344 (96.31%) | 0.002855120421857682 XDAI |
| 44324386 | 7 hrs ago | 7 | 16,845,832 (99.09%) | 0.001168613927371989 XDAI |
| 44324338 | 7 hrs ago | 10 | 8,431,950 (49.60%) | 0.002265008500557069 XDAI |
| 44323714 | 8 hrs ago | 13 | 9,738,606 (57.29%) | 0.002975644931321326 XDAI |
| 44322531 | 9 hrs ago | 10 | 8,365,662 (49.21%) | 0.000892773406056172 XDAI |
| 44322500 | 10 hrs ago | 9 | 16,432,938 (96.66%) | 0.000738801103500682 XDAI |
| 44322009 | 10 hrs ago | 8 | 7,915,484 (46.56%) | 0.000320313928896247 XDAI |
| 44321787 | 11 hrs ago | 16 | 8,702,685 (51.19%) | 0.005505685539844317 XDAI |
| 44321565 | 11 hrs ago | 24 | 8,087,272 (47.57%) | 0.003737123634283545 XDAI |
| 44321539 | 11 hrs ago | 13 | 4,302,308 (25.31%) | 0.002314688170917707 XDAI |
| 44320040 | 13 hrs ago | 14 | 6,709,003 (39.46%) | 0.003575076924970996 XDAI |
| 44319854 | 13 hrs ago | 12 | 8,900,249 (52.35%) | 0.002980620622611462 XDAI |
| 44319504 | 14 hrs ago | 11 | 5,885,034 (34.62%) | 0.00415635822188436 XDAI |
| 44319268 | 14 hrs ago | 11 | 5,692,914 (33.49%) | 0.001741187838781052 XDAI |
| 44319004 | 15 hrs ago | 7 | 8,461,063 (49.77%) | 0.001517734700229615 XDAI |
| 44318838 | 15 hrs ago | 9 | 8,905,235 (52.38%) | 0.003252529965440708 XDAI |
| 44318761 | 15 hrs ago | 8 | 16,461,686 (96.83%) | 0.000656371124345048 XDAI |
| 44318283 | 16 hrs ago | 30 | 13,642,803 (80.25%) | 0.002188806965305567 XDAI |
| 44317879 | 16 hrs ago | 7 | 9,994,720 (58.79%) | 0.000891187666252268 XDAI |
| 44317529 | 17 hrs ago | 11 | 8,208,983 (48.29%) | 0.003285657365629576 XDAI |
| 44317307 | 17 hrs ago | 14 | 7,357,564 (43.28%) | 0.000972258727874366 XDAI |
| 44316818 | 18 hrs ago | 25 | 11,061,830 (65.07%) | 0.001262908590194831 XDAI |
| 44316552 | 18 hrs ago | 8 | 2,675,674 (15.74%) | 0.002323046600465814 XDAI |
| 44315103 | 20 hrs ago | 31 | 16,863,174 (99.20%) | 0.003541841124844835 XDAI |
Loading...
Loading
Loading...
Loading
Loading...
Loading
Latest 6 from a total of 6 withdrawals (8,022.231581964 XDAI withdrawn)
Net Worth in USD
$390.14
Net Worth in XDAI
Token Allocations
GNO
83.37%
XDAI
12.85%
ETH
3.78%
Multichain Portfolio | 35 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.