Skip to content

docs(contract): add top-level //! doc comments to lib.rs#353

Merged
Yunusabdul38 merged 1 commit intoAgora-Events:mainfrom
Coredevjay:feat/add-lib-rs-top-level-docs
Mar 28, 2026
Merged

docs(contract): add top-level //! doc comments to lib.rs#353
Yunusabdul38 merged 1 commit intoAgora-Events:mainfrom
Coredevjay:feat/add-lib-rs-top-level-docs

Conversation

@Coredevjay
Copy link
Copy Markdown
Contributor

Closes #323

Summary

Adds module-level //! documentation to the top of
contract/contracts/event_registry/src/lib.rs.

What's included

  • Overview – what the event-registry crate does and its role on the platform.
  • Architecture – table of all five modules, key data types, and the sharded
    persistent-storage strategy.
  • Usage – initialisation, event registration, and the full
    EventRegistry ↔ TicketPayment interaction model (purchase flow,
    refund flow, payment info query).

Adds module-level documentation covering Overview, Architecture, and
Usage sections as requested in issue Agora-Events#323. Explains the EventRegistry
module structure, key data types, storage strategy, and how
EventRegistry interacts with the TicketPayment contract for inventory
management during purchase and refund flows.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 28, 2026

@Coredevjay is attempting to deploy a commit to the oseh-svg's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

@Coredevjay Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Yunusabdul38 Yunusabdul38 merged commit 8914fb3 into Agora-Events:main Mar 28, 2026
3 of 4 checks passed
Simongodw added a commit to Simongodw/agora that referenced this pull request Mar 29, 2026
…s#353)

This PR removes hardcoded transfer fee values and introduces a centralized `TRANSFER_FEE_BPS` constant to standardize fee handling. It improves readability, maintainability, and auditability without changing existing contract behavior.
Yunusabdul38 added a commit that referenced this pull request Mar 29, 2026
* docs(contract): add top-level //! doc comments to lib.rs (#353)
This PR removes hardcoded transfer fee values and introduces a centralized `TRANSFER_FEE_BPS` constant to standardize fee handling. It improves readability, maintainability, and auditability without changing existing contract behavior.

* Delete package-lock.json

---------

Co-authored-by: Yunus Abdulmajid <[email protected]>
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.

[Contract] Add top-level docs to lib.rs

2 participants