Verified contractPartial
Proxy
Address0xc290dbbd5735beef7b877aea8d1b7b4d3eac3b4d
- Balance
0 ETH
- Transactions
6
- Compiler
solc 0.5.14
- Same code
1,368 more contracts
Details
- Compiler
- solc 0.5.14+commit.01f1aaa4
- Language
- solidity
- Optimization
- Yes, 10,000 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 16,858,258
- Creation transaction
- 0x9bb7e05e10…3df43b3999
Proxy.sol
pragma solidity ^0.5.3;
contract Proxy {
address internal masterCopy;
constructor(address _masterCopy) public {
require(_masterCopy != address(0), "Invalid master copy address provided");
masterCopy = _masterCopy;
}
function () external payable {
assembly {
let masterCopy := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
if eq(calldataload(0), 0xa619486e00000000000000000000000000000000000000000000000000000000) {
mstore(0, masterCopy)
return(0, 0x20)
}
calldatacopy(0, 0, calldatasize())
let success := delegatecall(gas, masterCopy, 0, calldatasize(), 0, 0)
returndatacopy(0, 0, returndatasize())
if iszero(success) { revert(0, returndatasize()) }
return(0, returndatasize())
}
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 10000,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.