Summary
Allow creators to set a hard supply cap on their key at deployment, with the bonding curve buy function rejecting purchases that would push total supply beyond the cap.
Scope
- supply_cap stored per key in config at deployment, optional
- buy function checks post-trade supply against cap before execution
- get_supply_info(key_id) — returns current supply, cap, and remaining
- SupplyCapReached event emitted when supply hits cap exactly
- Cap of 0 treated as unlimited
Acceptance Criteria
ETA
24 hours
Summary
Allow creators to set a hard supply cap on their key at deployment, with the bonding curve buy function rejecting purchases that would push total supply beyond the cap.
Scope
Acceptance Criteria
ETA
24 hours