This commit is contained in:
2025-04-29 23:54:10 +02:00
parent 56c57957c8
commit 356a107c76
6 changed files with 120 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Obsero Smart Contract Specification
The smart contract anchors proof hashes on the Base blockchain.
## Functions
```solidity
function submitProof(bytes32 hash, string calldata cid, uint256 timestamp) external;
```
## Events
```solidity
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.