Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global ProgramConfig #62

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Global ProgramConfig #62

merged 1 commit into from
Dec 5, 2023

Conversation

vovacodes
Copy link
Contributor

  • Introduce the global ProgramConfig account that holds the following props:

    • authority: Pubkey - program config authority account that can modify it
    • multisig_creation_fee - fee in lamports that is charged for every multisig creation
    • treasury - account where the creation fees are transferred
  • Instructions that modify ProgramConfig

  • New instruction multisig_create_v2 that is intended to replace multisig_create. This instruction takes program_config as one of the input accounts, and on top of the existing functionality of its predecessor adds transferring creation fees to the treasury account. multisig_create is marked as deprecated but will still work for a while, until the protocol authority decides to start charging fees.

@vovacodes vovacodes force-pushed the feat/program-config branch from 0671efe to baa1f06 Compare December 4, 2023 11:59
Copy link
Contributor

@ogmedia ogmedia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@vovacodes vovacodes merged commit 87a74f7 into main Dec 5, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants