BrainAuditAnchor
Property
Value
Interface
interface IBrainAuditAnchor {
event AnchorPublished(
bytes32 indexed tenantId,
bytes32 root,
uint256 eventCount,
uint256 periodStart,
uint256 periodEnd
);
function anchor(
bytes32 tenantId,
bytes32 root,
uint256 eventCount,
uint256 periodStart,
uint256 periodEnd
) external; // onlyPublisher
function latestAnchor(bytes32 tenantId)
external view returns (bytes32 root, uint256 blockNumber);
function latestAnchorFull(bytes32 tenantId)
external view
returns (bytes32 root, uint256 blockNumber, uint256 eventCount, uint256 periodEnd);
function verifyInclusion(
bytes32 root,
bytes32 leaf,
bytes32[] calldata proof
) external pure returns (bool);
function isPublished(bytes32 tenantId, bytes32 root)
external view returns (bool);
}How Anchoring Works
Step
Detail
Replay Protection
Behavior
Detail
Verification by Counterparties
Input
Source
Reorg Tolerance
Mitigation
Detail
Publisher Rotation
Privacy
On-chain
Off-chain
What's Next
Last updated
