Priority
Medium — should be addressed soon
User story / Problem statement
The vault accepts deposits without limit. RWA funds operating under regulatory exemptions or finite off-chain investment capacity need an upper bound on deposits to prevent over-subscription before capital can be deployed.
Expected outcome
Governance can configure an asset deposit cap for the vault. Deposits exceeding the cap are refused. If unset (default), the cap is effectively infinite, preserving existing unbounded behaviour.
Acceptance criteria
Technical notes
The cap bounds total deposited capital across epochs or active economic assets. Setting the cap to None or an unconstrained value restores unbounded deposits without breaking existing callers or deployments.
Refs: Tranche 1 deliverables (deposit cap)
Priority
Medium — should be addressed soon
User story / Problem statement
The vault accepts deposits without limit. RWA funds operating under regulatory exemptions or finite off-chain investment capacity need an upper bound on deposits to prevent over-subscription before capital can be deployed.
Expected outcome
Governance can configure an asset deposit cap for the vault. Deposits exceeding the cap are refused. If unset (default), the cap is effectively infinite, preserving existing unbounded behaviour.
Acceptance criteria
None/ unbounded) on initialization.set_deposit_cap).deposit_cap) returns the current configured cap.request_depositreverts if accepting the deposit would breach the cap.Technical notes
The cap bounds total deposited capital across epochs or active economic assets. Setting the cap to
Noneor an unconstrained value restores unbounded deposits without breaking existing callers or deployments.Refs: Tranche 1 deliverables (deposit cap)