Verified contractPartial
AttoresDigitalCertificates
Address0x5f82787cee0eb36efe16c329f8786db22ee5bb35
- Balance
0 ETH
- Transactions
103
- Compiler
solc 0.4.21
- Same code
1 more contract
Details
- Compiler
- solc 0.4.21+commit.dfe3193c
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,259,468
- Creation transaction
- 0x21cc882250…ffbebe0b62
AttoresDigitalCertificates.sol
pragma solidity ^0.4.19;
// Digital Signature Contract
// This contract has been created by Gaurang Torvekar, the co-founder and CTO of Attores, a Singaporean company which is creating a SaaS platform for Smart Contracts
contract AttoresDigitalCertificates{
uint public amountInContract;
mapping (address => bool) public ownerList;
struct SignatureDetails{
bytes32 email;
uint timeStamp;
}
mapping (bytes32 => SignatureDetails) public hashList;
uint public constant WEI_PER_ETHER = 1000000000000000000;
function AttoresDigitalCertificates (address _owner){
ownerList[_owner] = true;
amountInContract += msg.value;
}
modifier ifOwner() {
require(ownerList[msg.sender]);
_;
}
function addOwner(address someone) ifOwner {
ownerList[someone] = true;
}
function removeOwner(address someone) ifOwner {
ownerList[someone] = false;
}
function certificate(bytes32 email, bytes32 hash) ifOwner{
hashList[hash] = SignatureDetails({
email: email,
timeStamp: now
});
}
}Compiler settingsShow
{
"optimizer": {
"runs": 0,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.