Model groups and backing
Model groups and backing
The reserve module extends Protocol with configure_fees, configure_list_fees, initialize_model_group, assign_model_group, update_group_metadata, configure_reserve, redeem_reserve, collect_reserve_tax, sweep_reserve, configure_dex, and rotate_council.
InitializeModelGroup contains council, payer, group ID, backing address, token accounts, and DEX launch accounts. GroupInit supplies transfer-tax settings and TokenMetadata. Prepare required token accounts and fresh signers before assembling the launch. See initialization requirements.
GroupKeys::from_account binds a group to its stored mint and backing vault. RedemptionKeys adds holder, source, destination, and current council. redemption_output(backing_atoms, supply_atoms, burn_atoms) calculates proportional output before the fixed SOL action fee.
This builder burns model-token atoms for at least the requested payment-token atoms. The holder signs; the program applies the 0.025 SOL fee except for council self-redemption.