ETH Price: $2,007.35 (+1.07%)

Contract

0xcb838CBd1176eBA9fAad16A830F3CebD9701dEFE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Notarize Documen...136131192021-11-14 9:16:021595 days ago1636881362IN
0xcb838CBd...D9701dEFE
0 ETH0.0062968570
Notarize Documen...110083752020-10-07 11:43:571998 days ago1602071037IN
0xcb838CBd...D9701dEFE
0 ETH0.0059118570
Notarize Documen...109750802020-10-02 6:41:352003 days ago1601620895IN
0xcb838CBd...D9701dEFE
0 ETH0.0059118570
Notarize Documen...109525302020-09-28 18:21:242007 days ago1601317284IN
0xcb838CBd...D9701dEFE
0 ETH0.0084455100
Notarize Documen...109298682020-09-25 5:13:182010 days ago1601010798IN
0xcb838CBd...D9701dEFE
0 ETH0.0084455100
Notarize Documen...109297212020-09-25 4:40:002010 days ago1601008800IN
0xcb838CBd...D9701dEFE
0 ETH0.0084455100
Notarize Documen...109286822020-09-25 0:51:102011 days ago1600995070IN
0xcb838CBd...D9701dEFE
0 ETH0.0084443100
Notarize Documen...105966442020-08-05 0:59:162062 days ago1596589156IN
0xcb838CBd...D9701dEFE
0 ETH0.0025336530
Notarize Documen...104627872020-07-15 7:35:342082 days ago1594798534IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...104624252020-07-15 6:19:322082 days ago1594793972IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...104624072020-07-15 6:16:352082 days ago1594793795IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...104310922020-07-10 10:03:042087 days ago1594375384IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...103733522020-07-01 11:50:452096 days ago1593604245IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...103675582020-06-30 14:09:292097 days ago1593526169IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...103306002020-06-24 20:19:562103 days ago1593029996IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...102961882020-06-19 12:29:212108 days ago1592569761IN
0xcb838CBd...D9701dEFE
0 ETH0.0030403836
Notarize Documen...102956012020-06-19 10:16:292108 days ago1592561789IN
0xcb838CBd...D9701dEFE
0 ETH0.0020269224
Notarize Documen...102763802020-06-16 10:50:012111 days ago1592304601IN
0xcb838CBd...D9701dEFE
0 ETH0.0020269224
Notarize Documen...102726782020-06-15 21:02:592112 days ago1592254979IN
0xcb838CBd...D9701dEFE
0 ETH0.0020269224
Notarize Documen...102505562020-06-12 11:18:382115 days ago1591960718IN
0xcb838CBd...D9701dEFE
0 ETH0.0020269224
Notarize Documen...102433512020-06-11 8:35:122116 days ago1591864512IN
0xcb838CBd...D9701dEFE
0 ETH0.0020269224
Notarize Documen...102433512020-06-11 8:35:122116 days ago1591864512IN
0xcb838CBd...D9701dEFE
0 ETH0.0020269224
Notarize Documen...102030182020-06-05 2:26:292123 days ago1591323989IN
0xcb838CBd...D9701dEFE
0 ETH0.0010133112
Notarize Documen...101624552020-05-29 19:06:112129 days ago1590779171IN
0xcb838CBd...D9701dEFE
0 ETH0.0010134612
Notarize Documen...101624552020-05-29 19:06:112129 days ago1590779171IN
0xcb838CBd...D9701dEFE
0 ETH0.0010134612
View all transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Doctrusty

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-06-02
*/

pragma solidity 0.5.12;

contract Doctrusty {

  struct Document {
      address signer; // Notary
      uint date; // Date of notarization
      bytes32 hash; // Document Hash
  }

  /**
   *  @dev Storage space used to record all documents notarized with metadata
   */
  mapping(bytes32 => Document) registry;

  /**
   *  @dev Notarize a document identified by its 32 bytes hash by recording the hash, the sender and date in the registry
   *  @dev Emit an event Notarized in case of success
   *  @param _documentHash Document hash
   */
  function notarizeDocument(bytes32 _documentHash) external returns (bool) {
    registry[_documentHash].signer = msg.sender;
    registry[_documentHash].date = now;
    registry[_documentHash].hash = _documentHash;

    emit Notarized(msg.sender, _documentHash);

    return true;
  }

  /**
   *  @dev Verify a document identified by its hash was noterized in the registry.
   *  @param _documentHash Document hash
   *  @return bool if document was noterized previsouly in the registry
   */
  function isNotarized(bytes32 _documentHash) external view returns (bool) {
    return registry[_documentHash].hash ==  _documentHash;
  }

  /**
   *  @dev Definition of the event triggered when a document is successfully notarized in the registry
   */
  event Notarized(address indexed _signer, bytes32 _documentHash);
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_signer","type":"address"},{"indexed":false,"internalType":"bytes32","name":"_documentHash","type":"bytes32"}],"name":"Notarized","type":"event"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"_documentHash","type":"bytes32"}],"name":"isNotarized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_documentHash","type":"bytes32"}],"name":"notarizeDocument","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506101fe806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80634c565d5b1461003b578063fe6ad6c614610081575b600080fd5b6100676004803603602081101561005157600080fd5b81019080803590602001909291905050506100c7565b604051808215151515815260200191505060405180910390f35b6100ad6004803603602081101561009757600080fd5b81019080803590602001909291905050506101a8565b604051808215151515815260200191505060405180910390f35b60003360008084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426000808481526020019081526020016000206001018190555081600080848152602001908152602001600020600201819055503373ffffffffffffffffffffffffffffffffffffffff167fa820f77cc16cde8316ee3e311571ae6db0b10f00e3e689f92beedc5329110fb4836040518082815260200191505060405180910390a260019050919050565b6000816000808481526020019081526020016000206002015414905091905056fea265627a7a72315820ad6e7cc74f0f784cc56670629bc17287da1a9e3cb3645eafd8658af872740c6a64736f6c634300050c0032

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c80634c565d5b1461003b578063fe6ad6c614610081575b600080fd5b6100676004803603602081101561005157600080fd5b81019080803590602001909291905050506100c7565b604051808215151515815260200191505060405180910390f35b6100ad6004803603602081101561009757600080fd5b81019080803590602001909291905050506101a8565b604051808215151515815260200191505060405180910390f35b60003360008084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426000808481526020019081526020016000206001018190555081600080848152602001908152602001600020600201819055503373ffffffffffffffffffffffffffffffffffffffff167fa820f77cc16cde8316ee3e311571ae6db0b10f00e3e689f92beedc5329110fb4836040518082815260200191505060405180910390a260019050919050565b6000816000808481526020019081526020016000206002015414905091905056fea265627a7a72315820ad6e7cc74f0f784cc56670629bc17287da1a9e3cb3645eafd8658af872740c6a64736f6c634300050c0032

Deployed Bytecode Sourcemap

27:1378:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27:1378:0;;;;;;;;;;;;;;;;;;;;;;;;565:291;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;565:291:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1075:139;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1075:139:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;565:291;632:4;678:10;645:8;:23;654:13;645:23;;;;;;;;;;;:30;;;:43;;;;;;;;;;;;;;;;;;726:3;695:8;:23;704:13;695:23;;;;;;;;;;;:28;;:34;;;;767:13;736:8;:23;745:13;736:23;;;;;;;;;;;:28;;:44;;;;804:10;794:36;;;816:13;794:36;;;;;;;;;;;;;;;;;;846:4;839:11;;565:291;;;:::o;1075:139::-;1142:4;1195:13;1162:8;:23;1171:13;1162:23;;;;;;;;;;;:28;;;:46;1155:53;;1075:139;;;:::o

Swarm Source

bzzr://ad6e7cc74f0f784cc56670629bc17287da1a9e3cb3645eafd8658af872740c6a

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.