Verified contractPartial
Proxy
Address0x731f268b428fd271eb8ba2fddcd6453cedd18bc9
- Balance
0 ETH
- Transactions
2
- 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,387,553
- Creation transaction
- 0x3da9020f8f…43d8714214
- Main copy (most transactions)
- 0xc290dbbd…3eac3b4d
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.