Verified contractPartial
MigtyJackContract
Address0xdd5be86bfb37c3f477543291f2dee5d90c231b7b
- Balance
0 ETH
- Transactions
4
- Compiler
solc 0.4.25
- Same code
3 more contracts
Details
- Compiler
- solc 0.4.25+commit.59dbf8f1
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 9,026,115
- Creation transaction
- 0x33d2f3c266…89640cc2b0
MigtyJackContract.sol
/**
* Smartcontract copyright by MightyJaxx
*
*/
pragma solidity ^0.4.25;
contract MigtyJackContract {
address deployer = address(0x4B18fB98461a1F46edFd866c0adb7802C29A6FE5);
bool destroyed = false;
// UDID
string public UDID;
// Ecypted message
string public EncrytedMessage;
//owners
string[] public OnwersEmail;
string[] public OnwersId;
uint8 public OnwersNumber;
modifier onlyDeployer() {
require(msg.sender == deployer);
_;
}
modifier isValid() {
require(!destroyed);
_;
}
function migtyJaxxAddress() public view returns(address){
return deployer;
}
function smartContractStatus() public view returns(bool){
return !destroyed;
}
/**
* Initial contract with few information
*/
function MigtyJackContract (string _UDID, string _encryptedMessage, string _ownerEmail, string _ownerId) public{
UDID = _UDID;
EncrytedMessage = _encryptedMessage;
OnwersEmail.push(_ownerEmail);
OnwersId.push(_ownerId);
OnwersNumber = 1;
}
/**
* New Owner will be added
*/
function AppendOwner (string _ownerEmail, string _ownerId) isValid() onlyDeployer() public {
OnwersEmail.push(_ownerEmail);
OnwersId.push(_ownerId);
OnwersNumber += 1;
}
/**
* Change account deployer
*/
function changeOwnerAddress(address _newOwer) isValid() onlyDeployer() public {
require(deployer != _newOwer);
deployer = _newOwer;
}
/**
* For some reason, this smartcontract will be destroy
*/
function destroy() isValid() onlyDeployer() public {
destroyed = true;
}
}Compiler settingsShow
{
"optimizer": {
"runs": 0,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.