dloom-flow 1.0.0

A Solana flow payment program created with Anchor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// FILE: programs/dloom_flow/src/state/protocol_config.rs

use anchor_lang::prelude::*;

/// A singleton account that holds the protocol-wide configuration,
/// including the master authority key.
#[account]
#[derive(Default, Debug)]
pub struct ProtocolConfig {
    /// The master authority that can perform admin actions, like creating
    /// official pools or updating protocol-level parameters.
    pub authority: Pubkey,
}