Skip to content

Commit 680f4f4

Browse files
authored
Merge pull request #389 from algorandfoundation/feat/withdraw
feat: extra funds withdraw by xgov payor
2 parents 2818041 + b9b1cd3 commit 680f4f4

File tree

14 files changed

+3863
-3435
lines changed

14 files changed

+3863
-3435
lines changed

docs/specs/xgov-rbac.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ The xGov Manager **MAY** update the xGov Registry anytime.
3737

3838
The xGov Manager **MAY** reconfigure the parameters of the xGov Registry.
3939

40-
### Treasury Management
41-
42-
The xGov Manager **MAY** execute withdrawals of outstanding funds from the [xGov
43-
Treasury](./xgov-treasury.md).
44-
4540
## xGov Committee Manager
4641

4742
The xGov Committee Manager is an Algorand Address controlled by the Algorand Foundation.
@@ -79,6 +74,11 @@ The xGov Payor is an Algorand Address controlled by the Algorand Foundation.
7974
The xGov Payor **MAY** disburse the requested funds for approved and reviewed Proposals
8075
if there are enough funds in the xGov Treasury.
8176

77+
### Treasury Management
78+
79+
The xGov Payor **MAY** execute withdrawals of outstanding funds from the [xGov
80+
Treasury](./xgov-treasury.md).
81+
8282
## xGov Subscriber
8383

8484
The xGov Subscriber is an Algorand Address controlled by the Algorand Foundation.

docs/specs/xgov-treasury.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The xGov Treasury is an Algorand Address controlled by the xGov Registry.
2323
| Open Proposal | xGov Treasury | Proposal Escrow | Partial Proposal Fee | `open_proposal` | |
2424
| Pay Proposal | xGov Treasury | Proposer | Requested Amount | `pay_grant_proposal` | Proposal is approved |
2525
| Withdraw Governance Funds | xGov Treasury | xGov Manager | Up to available Governance Funds | `withdraw_funds` | |
26-
| Withdraw Outstanding Balance | xGov Treasury | xGov Manager | Outstanding balance, excluding MBR and Governance Funds | `withdraw_balance` | |
26+
| Withdraw Outstanding Balance | xGov Treasury | xGov Payor | Outstanding balance, excluding MBR and Governance Funds | `withdraw_balance` | |
2727

2828
{{#include ../_include/styles.md:note}}
2929
> Partial Open Proposal Fees are equal to the Open Proposal Fee discounted by the

smart_contracts/artifacts/xgov_registry/XGovRegistry.approval.puya.map

Lines changed: 1595 additions & 1316 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

smart_contracts/artifacts/xgov_registry/XGovRegistry.approval.teal

Lines changed: 702 additions & 667 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)