Skip to content

[PeerX Backlog # 85] Add a Treasury deposit function #85

Description

@ameeribro4-sudo

Problem Statement
Penalty amounts (Issue #38) and unstaked-stake-forfeited balances end
up where? There is no treasury.

Expected Outcome
CounterContract::treasury_deposit(env, amount, source) and a
read-only treasury_balance(env).

Acceptance Criteria

  • Penalty path credits treasury.
  • Governance can withdraw via treasury_withdraw after timelock.

Files Affected

  • peerx-contracts/counter/src/{staking_bonus,lib,errors}.rs.

Dependencies Issue #38.
Difficulty / Effort 🥑 / M
Labels feature, treasury

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26featurePeerX Backlog label feature (bulk-imported)treasuryPeerX Backlog label treasury (bulk-imported)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions