Skip to content

Add waitlist contract example#68

Open
alexgduarte wants to merge 1 commit into
athena-consulting:mainfrom
alexgduarte:codex/waitlist-example
Open

Add waitlist contract example#68
alexgduarte wants to merge 1 commit into
athena-consulting:mainfrom
alexgduarte:codex/waitlist-example

Conversation

@alexgduarte

Copy link
Copy Markdown

Contributes to #11

Summary

  • Add a new waitlist simple contract example.
  • Store one active waitlist entry per address with monotonic first-come queue positions.
  • Let the owner admit or remove waitlist members while members can update notes or leave the waitlist.
  • Track waiting, admitted, active, and next-position stats.
  • Add owner transfer, configurable note and capacity limits, entry queries, stats queries, config queries, and paginated entry-list queries.
  • Include README documentation, root README navigation, schema generation, and nine focused unit tests.

Validation

  • cargo fmt --manifest-path waitlist/Cargo.toml -- --check
  • cargo test --manifest-path waitlist/Cargo.toml --target-dir /private/tmp/codex-waitlist-target
  • git diff --check

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.

1 participant