Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 70 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Notarize Documen... | 13613119 | 1595 days ago | IN | 0 ETH | 0.00629685 | ||||
| Notarize Documen... | 11008375 | 1998 days ago | IN | 0 ETH | 0.00591185 | ||||
| Notarize Documen... | 10975080 | 2003 days ago | IN | 0 ETH | 0.00591185 | ||||
| Notarize Documen... | 10952530 | 2007 days ago | IN | 0 ETH | 0.0084455 | ||||
| Notarize Documen... | 10929868 | 2010 days ago | IN | 0 ETH | 0.0084455 | ||||
| Notarize Documen... | 10929721 | 2010 days ago | IN | 0 ETH | 0.0084455 | ||||
| Notarize Documen... | 10928682 | 2011 days ago | IN | 0 ETH | 0.0084443 | ||||
| Notarize Documen... | 10596644 | 2062 days ago | IN | 0 ETH | 0.00253365 | ||||
| Notarize Documen... | 10462787 | 2082 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10462425 | 2082 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10462407 | 2082 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10431092 | 2087 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10373352 | 2096 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10367558 | 2097 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10330600 | 2103 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10296188 | 2108 days ago | IN | 0 ETH | 0.00304038 | ||||
| Notarize Documen... | 10295601 | 2108 days ago | IN | 0 ETH | 0.00202692 | ||||
| Notarize Documen... | 10276380 | 2111 days ago | IN | 0 ETH | 0.00202692 | ||||
| Notarize Documen... | 10272678 | 2112 days ago | IN | 0 ETH | 0.00202692 | ||||
| Notarize Documen... | 10250556 | 2115 days ago | IN | 0 ETH | 0.00202692 | ||||
| Notarize Documen... | 10243351 | 2116 days ago | IN | 0 ETH | 0.00202692 | ||||
| Notarize Documen... | 10243351 | 2116 days ago | IN | 0 ETH | 0.00202692 | ||||
| Notarize Documen... | 10203018 | 2123 days ago | IN | 0 ETH | 0.00101331 | ||||
| Notarize Documen... | 10162455 | 2129 days ago | IN | 0 ETH | 0.00101346 | ||||
| Notarize Documen... | 10162455 | 2129 days ago | IN | 0 ETH | 0.00101346 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Doctrusty
Compiler Version
v0.5.12+commit.7709ece9
Contract Source Code (Solidity)
/**
*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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.