Source Code
Overview
MON Balance
MON Value
$147.07 (@ $0.02/MON)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 0xB317D9B4...C3c99398C in opBNB Mainnet 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 monadscan.com on 2025-11-14
*/
// 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
Latest 25 blocks (From a total of 24,823 blocks with 18,231.02 MON in fees)
| Block | Transaction | Gas Used | Reward | |
|---|---|---|---|---|
| 50824364 | 8 mins ago | 4 | 2,236,385 (1.12%) | 0.230150206996223462 MON |
| 50824218 | 9 mins ago | 5 | 5,188,587 (2.59%) | 0.532354680938 MON |
| 50823813 | 12 mins ago | 4 | 415,027 (0.21%) | 0.0423438082928 MON |
| 50823662 | 13 mins ago | 5 | 2,099,688 (1.05%) | 0.214366970124 MON |
| 50822014 | 24 mins ago | 7 | 2,556,848 (1.28%) | 0.691016097761987797 MON |
| 50821069 | 30 mins ago | 5 | 1,138,455 (0.57%) | 0.1142389509811494 MON |
| 50820575 | 34 mins ago | 5 | 1,107,371 (0.55%) | 0.112951842 MON |
| 50818067 | 50 mins ago | 5 | 1,099,609 (0.55%) | 0.112413186402157018 MON |
| 50817596 | 54 mins ago | 5 | 2,044,876 (1.02%) | 0.208583929835 MON |
| 50816925 | 58 mins ago | 7 | 4,207,122 (2.10%) | 0.429802718758901464 MON |
| 50816784 | 1 hr ago | 8 | 5,451,963 (2.73%) | 0.552087231822395813 MON |
| 50816623 | 1 hr ago | 9 | 6,010,083 (3.01%) | 0.61425401505503582 MON |
| 50815620 | 1 hr ago | 5 | 2,146,878 (1.07%) | 0.217095824 MON |
| 50813266 | 1 hr ago | 4 | 3,173,379 (1.59%) | 0.323684658 MON |
| 50810129 | 1 hr ago | 6 | 1,360,302 (0.68%) | 0.151868128488010405 MON |
| 50809005 | 1 hr ago | 6 | 2,599,761 (1.30%) | 0.2658768008055 MON |
| 50808932 | 1 hr ago | 5 | 1,043,504 (0.52%) | 0.106487316421 MON |
| 50808824 | 1 hr ago | 4 | 1,115,424 (0.56%) | 0.152173248 MON |
| 50808548 | 1 hr ago | 3 | 315,250 (0.16%) | 0.0321555 MON |
| 50807885 | 1 hr ago | 3 | 315,383 (0.16%) | 0.032169066 MON |
| 50805741 | 2 hrs ago | 6 | 5,689,025 (2.84%) | 0.580399614486957088 MON |
| 50805294 | 2 hrs ago | 4 | 1,386,503 (0.69%) | 0.141423306 MON |
| 50805187 | 2 hrs ago | 3 | 315,472 (0.16%) | 0.032178144 MON |
| 50804677 | 2 hrs ago | 4 | 565,833 (0.28%) | 0.057714966 MON |
| 50804597 | 2 hrs ago | 5 | 1,378,437 (0.69%) | 0.140600574 MON |
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$147.07
Net Worth in MON
Token Allocations
MON
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| MONAD | 100.00% | $0.018875 | 7,792.0101 | $147.07 |
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.