Skip to content

feat: add treasury contract and integrate with governance execute (#118)#218

Open
ladinoraa wants to merge 1 commit into
PrincessnJoy:mainfrom
ladinoraa:feat/treasury-contract-118
Open

feat: add treasury contract and integrate with governance execute (#118)#218
ladinoraa wants to merge 1 commit into
PrincessnJoy:mainfrom
ladinoraa:feat/treasury-contract-118

Conversation

@ladinoraa
Copy link
Copy Markdown

  • Add contracts/treasury with TreasuryContract (initialize, disburse, governance getter)
  • Add TreasuryAction and TreasuryAsset types to governance types.rs
  • Add treasury_action field to Proposal struct
  • Update create_proposal to accept optional TreasuryAction payload
  • Update initialize to accept optional treasury contract address
  • Update execute() to invoke treasury.disburse() when payload present
  • Add TreasuryContract to Cargo workspace
  • Update all tests for new initialize/create_proposal signatures
  • Add test_execute_with_treasury_action test

Closes #118

Closes #120

Closes #123

Closes #115

…incessnJoy#118)

- Add contracts/treasury with TreasuryContract (initialize, disburse, governance getter)
- Add TreasuryAction and TreasuryAsset types to governance types.rs
- Add treasury_action field to Proposal struct
- Update create_proposal to accept optional TreasuryAction payload
- Update initialize to accept optional treasury contract address
- Update execute() to invoke treasury.disburse() when payload present
- Add TreasuryContract to Cargo workspace
- Update all tests for new initialize/create_proposal signatures
- Add test_execute_with_treasury_action test

Closes PrincessnJoy#118
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@ladinoraa 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

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

Labels

None yet

Projects

None yet

1 participant