switchboard_solana/
seeds.rs

1/// Seed used to derive the SbState PDA.
2pub const STATE_SEED: &[u8] = b"STATE";
3
4/// Seed used to derive the PermissionAccountData PDA.
5pub const PERMISSION_SEED: &[u8] = b"PermissionAccountData";
6
7/// Seed used to derive the LeaseAccountData PDA.
8pub const LEASE_SEED: &[u8] = b"LeaseAccountData";
9
10/// Seed used to derive the OracleAccountData PDA.
11pub const ORACLE_SEED: &[u8] = b"OracleAccountData";
12
13/// Seed used to derive the SlidingWindow PDA.
14pub const SLIDING_RESULT_SEED: &[u8] = b"SlidingResultAccountData";
15
16/// Discriminator used for Switchboard buffer accounts.
17pub const BUFFER_DISCRIMINATOR: &[u8] = b"BUFFERxx";
18
19/// Seed used to derive the FunctionAccountData PDA.
20pub const FUNCTION_SEED: &[u8] = b"FunctionAccountData";