507 B
507 B
Obsero Smart Contract Specification
The smart contract anchors proof hashes on the Base blockchain.
Functions
function submitProof(bytes32 hash, string calldata cid, uint256 timestamp) external;
Events
event ProofSubmitted(address indexed observer, bytes32 hash, string cid, uint256 timestamp);
Requirements
- The hash must match the signed JSON proof.
- CID must point to a valid IPFS document.
- Timestamps must be reasonable compared to block timestamp.