Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| pragma solidity ^0.5.0; | |
| /** | |
| * @title BytesToTypes | |
| * @dev The BytesToTypes contract converts the memory byte arrays to the standard solidity types | |
| * @author [email protected] | |
| */ | |
| contract BytesToTypes { | |
| pragma solidity ^0.5.0; | |
| /** | |
| * @title BytesToTypes | |
| * @dev The BytesToTypes contract converts the memory byte arrays to the standard solidity types | |
| * @author [email protected] | |
| */ | |
| contract BytesToTypes { | |
| pragma solidity ^0.5.0; | |
| /** | |
| * @title BytesToTypes | |
| * @dev The BytesToTypes contract converts the memory byte arrays to the standard solidity types | |
| * @author [email protected] | |
| */ | |
| contract BytesToTypes { | |
| pragma solidity ^0.4.18; | |
| contract Fbethorder { | |
| event ActivityInfor(string location, string Abstract); | |
| uint256 constant public ticketFee = 5 ether; // 票價 + 押金 | |
| uint256 constant public deposit = 2 ether; // 壓金 | |
| mapping (address => uint256) public ticketNumberMap; |
| pragma solidity ^0.4.24; | |
| contract ManagePermission { | |
| address private _admin; | |
| constructor() public { | |
| _admin = msg.sender; | |
| } | |
| pragma solidity ^0.4.24; | |
| /* Template */ | |
| contract TemplateTest { | |
| /* Permission */ | |
| /* status */ | |
| bool contracEff; | |
| pragma solidity ^0.4.24; | |
| contract TemplateTest { | |
| } | |
| /* Main content */ |
| pragma solidity ^0.4.24; | |
| contract ManagePermission { | |
| address private _admin; | |
| constructor() public { | |
| _admin = msg.sender; | |
| } | |
| pragma solidity ^0.4.24; | |
| contract Factory { | |
| address[] newContracts; | |
| function createContract (bytes32 name) public { | |
| address newContract = new Contract(name); | |
| newContracts.push(newContract); | |
| } | |
| } |