## Summary Add a maximum supply cap that prevents minting beyond a configured ceiling, with admin ability to adjust the cap within governance constraints. ## Requirements - [ ] Add `MaxSupply` to `DataKey` enum - [ ] Modify `initialize()` to accept optional `max_supply` - [ ] Modify `mint()` to check `current_supply + amount <= max_supply` - [ ] Implement `set_max_supply(new_cap)` - [ ] Implement `get_max_supply()` and `remaining_mintable()` - [ ] Emit `max_supply_set` events - [ ] Add SDK methods `getMaxSupply()`, `getRemainingMintable()`
Summary
Add a maximum supply cap that prevents minting beyond a configured ceiling, with admin ability to adjust the cap within governance constraints.
Requirements
MaxSupplytoDataKeyenuminitialize()to accept optionalmax_supplymint()to checkcurrent_supply + amount <= max_supplyset_max_supply(new_cap)get_max_supply()andremaining_mintable()max_supply_seteventsgetMaxSupply(),getRemainingMintable()