Skip to content

Concepts: cross-contract interfaces and the two withdrawal paths #631

Closed

Description

@codebestia

Branch: Open your PR against dev. PRs targeting main are closed automatically.

Description:
Write contracts/docs/concepts-cross-contract-interfaces.md for token_interface.rs (in group_treasury and token_transfer), treasury_interface.rs, and the hand-written treasury_interface_client.rs in proposals. There are currently two ways to move treasury funds — group_treasury's own propose_withdraw / approve_withdraw / reject_withdraw multisig, and proposals::execute_withdraw calling into the treasury — and nothing explains how they relate.

Acceptance criteria:

  • A diagram of every cross-contract call with the authorization each one requires
  • States which withdrawal path is canonical, whether both are reachable in a deployment, and how the frontend chooses between them
  • Documents ID type mismatches a caller must handle — proposal IDs are u64 in proposals but u32 in group_treasury
  • Explains why treasury_interface_client.rs is hand-written and how to keep it in sync when group_treasury's signature changes, and notes the unused _token parameter on group_treasury::initialize

Activity

  1. Netty-kun commented on Oct 19, 2026

    @Netty-kun

    @Netty-kun has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi Maintainer, I’m interested in taking this issue. If assigned now, I can begin right away and target a production-ready PR within 1–2 hours.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Netty-kun to this issue.

  2. pre-cious-Igwealor commented on Oct 20, 2026

    @pre-cious-Igwealor

    @pre-cious-Igwealor has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    can i work on this issue?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @pre-cious-Igwealor to this issue.

  3. G-ELM commented on Oct 22, 2026

    @G-ELM
    Contributor

    @G-ELM has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    I can work on this maintainer

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @G-ELM to this issue.

  4. drips-wave commented on Oct 22, 2026

    @drips-wave

    Congratulations, @G-ELM! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @G-ELM: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  5. github-actions commented on Oct 22, 2026

    @github-actions

    Closed by #684, merged into dev.

  6. drips-wave commented on Oct 22, 2026

    @drips-wave

    This issue has been completed by @G-ELM as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @G-ELM: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

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

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