* feat: add min_community_tokens_to_create_governance to config
* feat: add token owner record and governing mint to CreateAccountGovernance
* feat: add token owner record and governing mint to CreateMinGovernance
* feat: add token owner record and governing mint to CreateProgramGovernance
* feat: add token owner record and governing mint to CreateTokenGovernance
* feat: remove custodian
* fix: remove mint and update comments
* chore: make clippy happy
* chore: make clippy happy
* chore: upgrade instruction serialisation
* chore: add assert for base64 encoded instruction
* chore: move fields with dynamic size to account end
* chore: Add VoteThresholdPercentageType to support quorum votes in future versions
* chore: Add VoteWeightSource to support account snapshots as voter weights in future versions
* chore: Add InstructionExecutionStatus to support failing proposal instructions in future versions
* fix: update voting_at_slot when proposal enters voting state
* fix: change min_tokens_to_create_proposal to u64 to support large mints
* chore: add InstructionExecutionFlags to support ordered and transactional instruction in future versions
* chore: add withdraw tests with relinquished and unrelinquished votes
* chore: add placeholder for proposal_cool_off_time
* chore: add padding to permanent accounts to use in future versions
* chore: add ProposalCoolOffTimeNotSupported error
* chore: start governance errors from 500
* chore: update versions
* chore: update comments
* chore: use slice for reserved account space
* chore: use VoteThresholdPercentage enum to store percentage value
* chore: use enum None value instead of Option for execution_status
* chore: use enum None instead of Option for execution_flags
* chore: make clippy happy
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
* feat: implement CreateMintGovernance instruction
* fix: ensure mint is initialised in assert_is_valid_spl_token_mint
* fix: ensure token account is initialised in assert_is_valid_spl_token_account
* chore: move account type and instruction to the end to avoid breaking changes
* chore: make clippy happy
Co-authored-by: Jon Cinque <jon.cinque@gmail.com>