Vault Proto Config
The VaultProtoConfig
stores the common configuration for a set of vaults such as fee information, the drip granularity, and the admin that can deploy new vaults using this config.
pub struct VaultProtoConfig {
pub granularity: u64, // 8
// spread applied to each drip trigger in bps
pub token_a_drip_trigger_spread: u16, // 2
// spread applied to each withdrawal in bps
pub token_b_withdrawal_spread: u16, // 2
// spread applied to each withdrawal in bps
pub token_b_referral_spread: u16, //2
// to be used with the vault to modify certain fields (whitelist)
pub admin: Pubkey, //32
}
Last updated
Was this helpful?