Skip to content
Verified contractPartial

BlockmaticsGraduationCertificate_120918

Address0x5289779d3e9bae9db76ee920a999cdcaa7fe9a23
Balance

0 ETH

 

Transactions

2

 

Compiler

solc 0.5.1

 

Same code

Only this contract

 

Details

Compiler
solc 0.5.1+commit.c8a2cb62
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
6,856,185
Creation transaction
0x4d72afa3b1…2cf9032c3e

BlockmaticsGraduationCertificate_120918.sol

pragma solidity ^0.5.1;
contract BlockmaticsGraduationCertificate_120918 {
    address public owner = msg.sender;
    string public certificate;
    bool public certIssued = false;

    function publishGraduatingClass (string memory cert) public  {
        assert (msg.sender == owner && !certIssued);

        certIssued = true;
        certificate = cert;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.