ETH Price: $3,024.95 (+2.61%)
Gas: 22 Gwei

Contract

0xcf623E4525954A02eaa8BEd179B669CB40436817
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x6060604054406992018-04-14 19:06:192142 days 10 hrs ago1523732779IN
 Contract Creation
0 ETH0.005775126

Advanced mode:
Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x99EeC5...FA323BdA
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
DocumentCertoChainContract

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-03-21
*/

pragma solidity ^0.4.18; 
 
contract BaseCertoChainContract {
    address creator; 
    bool public isSealed;
      
    function BaseCertoChainContract() public    {   creator = msg.sender;   }
    
    modifier onlyBy(address _account)
    {
        require(msg.sender != _account);
        _;
    }
    
    
     modifier onlyIfNotSealed() //semantic when sealed is not possible to change sensible data
    {
        if (isSealed)
            throw;
        _;
    }
    
    function kill() onlyBy(creator)
    {               suicide(creator);     }
     
     function setCreator(address _creator)  onlyBy(creator)
    {           creator = _creator;     }
    
    
function setSealed()  onlyBy(creator)  { isSealed = true;  EventSealed(this);   } //seal down contract not reversible

 event EventSealed(address self); //invoked when contract is sealed

}
contract DocumentCertoChainContract   is BaseCertoChainContract    
{  
  
    string  public  Name;         //Product
    string  public  Description ; //Description
    string  public  FileName;     //ProductionData
    string  public  FileHash;     //SecuritySeal
    string  public  FileData;     //SecuritySeal
    address public  Revision; 
    address public  NextOwner; 
    address public  PrevOwner; 
    
    
    
    
   //function   DocumentCertoChainContract() public
   //{}
    
    function DocumentCertoChainContract(string _Description, string _FileName,string _FileHash,string _FileData) public
    //onlyBy(creator)
    {
          Revision=address(this);
          NextOwner=address(this);
          Description=_Description;
          FileName=_FileName;
          FileHash=_FileHash;
          FileData=_FileData;
       
    }
    
    function setRevision(address _Revision)  onlyBy(creator) onlyIfNotSealed()
    {
          Revision = _Revision;
          EventNewRevision(this);
        
    }
     
     
     function setNextOwner(address _NextOwner)  onlyBy(creator) onlyIfNotSealed()
    {
          NextOwner = _NextOwner;
          EventNewOwner(this);
    }
    
     function setPrevOwner(address _PrevOwner)  onlyBy(creator) onlyIfNotSealed()
    {
          PrevOwner = _PrevOwner;
          EventNewPrevOwner(this);
    }
     event EventNewOwner(address self);
     event EventNewPrevOwner(address self);
     event EventNewRevision(address self); 
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_NextOwner","type":"address"}],"name":"setNextOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_creator","type":"address"}],"name":"setCreator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"NextOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"setSealed","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_Revision","type":"address"}],"name":"setRevision","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FileHash","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"FileData","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isSealed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"Name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"Description","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_PrevOwner","type":"address"}],"name":"setPrevOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FileName","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"Revision","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PrevOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_Description","type":"string"},{"name":"_FileName","type":"string"},{"name":"_FileHash","type":"string"},{"name":"_FileData","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"self","type":"address"}],"name":"EventNewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"self","type":"address"}],"name":"EventNewPrevOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"self","type":"address"}],"name":"EventNewRevision","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"self","type":"address"}],"name":"EventSealed","type":"event"}]

Deployed Bytecode

0x6060604052600436106100da5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632d202d2481146100df5780633f5160181461010057806341c0e1b51461011f57806344673b2d14610132578063449c198d14610161578063474b254114610174578063475169101461019357806350ac98281461021d578063631f9852146102305780638052474d146102575780638191745f1461026a578063a07c132b1461027d578063bf65d4921461029c578063cb5829ab146102af578063f0456691146102c2575b600080fd5b34156100ea57600080fd5b6100fe600160a060020a03600435166102d5565b005b341561010b57600080fd5b6100fe600160a060020a0360043516610372565b341561012a57600080fd5b6100fe6103bf565b341561013d57600080fd5b6101456103ea565b604051600160a060020a03909116815260200160405180910390f35b341561016c57600080fd5b6100fe6103f9565b341561017f57600080fd5b6100fe600160a060020a036004351661047a565b341561019e57600080fd5b6101a6610517565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e25780820151838201526020016101ca565b50505050905090810190601f16801561020f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022857600080fd5b6101a66105b5565b341561023b57600080fd5b610243610620565b604051901515815260200160405180910390f35b341561026257600080fd5b6101a6610630565b341561027557600080fd5b6101a661069b565b341561028857600080fd5b6100fe600160a060020a0360043516610706565b34156102a757600080fd5b6101a66107a3565b34156102ba57600080fd5b61014561080e565b34156102cd57600080fd5b61014561081d565b600054600160a060020a039081169033168114156102f257600080fd5b60005460a060020a900460ff161561030957600080fd5b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790557fa0ccbd67048573ce351c45b2a4b73bf775758608cc269a83ff7a9f9dd664054230604051600160a060020a03909116815260200160405180910390a15050565b600054600160a060020a0390811690331681141561038f57600080fd5b506000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a039081169033168114156103dc57600080fd5b600054600160a060020a0316ff5b600754600160a060020a031681565b600054600160a060020a0390811690331681141561041657600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f4eb6783909ea07b0aa366e4b899fdbcd45aef4172ea91e7d25c878f2ac4a114130604051600160a060020a03909116815260200160405180910390a150565b600054600160a060020a0390811690331681141561049757600080fd5b60005460a060020a900460ff16156104ae57600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790557fd0c498945933cf710536767d9b9dc128ed5d24b788a6514a3feb98898d80632330604051600160a060020a03909116815260200160405180910390a15050565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b505050505081565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105ad5780601f10610582576101008083540402835291602001916105ad565b60005460a060020a900460ff1681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105ad5780601f10610582576101008083540402835291602001916105ad565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105ad5780601f10610582576101008083540402835291602001916105ad565b600054600160a060020a0390811690331681141561072357600080fd5b60005460a060020a900460ff161561073a57600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384161790557f8503f87567a546e113bb8e9f354d9d58486f32ed1fee0ee7a2d7176dcfc0003930604051600160a060020a03909116815260200160405180910390a15050565b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105ad5780601f10610582576101008083540402835291602001916105ad565b600654600160a060020a031681565b600854600160a060020a0316815600a165627a7a723058207b2f215ea1211305267587e1fa0038d466bdd8b8e81f99fd8fd7d8c705f071120029

Swarm Source

bzzr://7b2f215ea1211305267587e1fa0038d466bdd8b8e81f99fd8fd7d8c705f07112

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.