dloom_flow/state/protocol_config.rs
1// FILE: programs/dloom_flow/src/state/protocol_config.rs
2
3use anchor_lang::prelude::*;
4
5/// A singleton account that holds the protocol-wide configuration,
6/// including the master authority key.
7#[account]
8#[derive(Default, Debug)]
9pub struct ProtocolConfig {
10 /// The master authority that can perform admin actions, like creating
11 /// official pools or updating protocol-level parameters.
12 pub authority: Pubkey,
13}