Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
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 0x09C02F73...4f0604cd8 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SimpleProxy
Compiler Version
v0.5.17+commit.d19bba13
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.5.16; //EIP-1967 compatible contract SimpleProxy { bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103; constructor(address _masterCopy) public { require(_masterCopy != address(0), "BID:Zero master is not permitted"); address admin; admin = msg.sender; assembly { sstore(_IMPLEMENTATION_SLOT, _masterCopy) sstore(_ADMIN_SLOT, admin) } } function setMaster(address _masterCopy) external{ address owner; assembly { owner := sload(_ADMIN_SLOT) } require(msg.sender==owner, "not controller"); assembly { sstore(_IMPLEMENTATION_SLOT, _masterCopy) } } function () external payable { // solium-disable-next-line security/no-inline-assembly assembly { let masterCopy := and(sload(_IMPLEMENTATION_SLOT), 0xffffffffffffffffffffffffffffffffffffffff) calldatacopy(0, 0, calldatasize()) let success := delegatecall(gas, masterCopy, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) if eq(success, 0) { revert(0, returndatasize()) } return(0, returndatasize()) } } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 800 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_masterCopy","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[{"internalType":"address","name":"_masterCopy","type":"address"}],"name":"setMaster","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x60806040526004361061001e5760003560e01c806326fae0d314610078575b73ffffffffffffffffffffffffffffffffffffffff7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc54163660008037600080366000845af43d6000803e80610073573d6000fd5b3d6000f35b34801561008457600080fd5b506100b86004803603602081101561009b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166100ba565b005b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103543373ffffffffffffffffffffffffffffffffffffffff821614610146576040805162461bcd60e51b815260206004820152600e60248201527f6e6f7420636f6e74726f6c6c6572000000000000000000000000000000000000604482015290519081900360640190fd5b507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fea265627a7a7231582068c4810ca6c9f2974968d0d057179f7ee58b2797e7a0c64fdb02532ebea5af4f64736f6c63430005110032
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.