Skip to content

API docs: group_treasury contract interface #465

Description

@codebestia

Write contracts/docs/api-group-treasury.md documenting every public function in contracts/contracts/group_treasury/src/lib.rsinitialize, get_threshold, add_member/remove_member, is_member/get_members, deposit/withdraw/balance, and the multisig withdrawal-proposal functions (propose_withdraw, approve_withdraw, reject_withdraw, get_proposal, list_proposals, get_pending_proposals).

Acceptance criteria:

  • Every public function is documented with its full signature, authorization requirements, and panics/error conditions
  • The multisig withdrawal flow (propose_withdrawapprove_withdraw×N → execution) is documented as a worked example end-to-end
  • Verified against the current lib.rs

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programcontractsdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions