Verified contractPartial
Lookup
Address0x1801f6139ce165a121e403641f2f7809c7ffa8a8
- Balance
0 ETH
- Transactions
6
- Compiler
solc 0.1.6
- Same code
2 more contracts
Details
- Compiler
- solc 0.1.6+commit.d41f8b7c
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 650,650
- Creation transaction
- 0x81ed9d32de…01a91c82f8
Lookup.sol
// Submitted by EthereumHistory (ethereumhistory.com)
//
// The contract to store addresses of others, including the main storage and verifiers.
//
contract Lookup {
address owner;
modifier owneronly { if (msg.sender == owner) _ }
function setOwner(address addr) owneronly {
owner = addr;
}
function Lookup() {
owner = msg.sender;
}
address public addrStorage;
function setStorage(address addr) owneronly {
addrStorage = addr;
}
uint8 public accountProvider_ALL = 0;
uint8 public accountProvider_TWITTER = 1;
uint8 public accountProvider_FACEBOOK = 2;
uint8 public accountProvider_GITHUB = 3;
mapping(uint8 => address) public accountProviders;
function setAccountProvider(uint8 accountProvider, address addr) owneronly {
accountProviders[accountProvider] = addr;
}
}
Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.