Skip to content

docs(audit): add Registry and ballast-common sections to AUDIT_NOTES.md (#80) - #1137

Closed
jeffrey-graham wants to merge 1 commit into
DevTobis:mainfrom
jeffrey-graham:docs/audit-notes-registry-80
Closed

jeffrey-graham wants to merge 1 commit into
DevTobis:mainfrom
jeffrey-graham:docs/audit-notes-registry-80

Conversation

@jeffrey-graham

Copy link
Copy Markdown

Closes #80

Summary

  • Adds a comprehensive ## Registry section to contracts/AUDIT_NOTES.md documenting storage layout (DataKey::Asset, PendingParam, PendingUnpause), invariants (haircut_base_bps + haircut_fx_bps <= 10_000, duplicate asset registration guard, monotonic IDs, 48h timelock on loosening and unpause), and trust boundaries with exact file and line references.
  • Adds a ## ballast-common section documenting access, pause, timelock, risk, margin, price, ttl, and upgrade primitives with exact file and line references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Registry section to contracts/AUDIT_NOTES.md

1 participant