> For the complete documentation index, see [llms.txt](https://docs.dcaf.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dcaf.so/products/drip/programming-model/vault-proto-config.md).

# 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.&#x20;

```rust
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
}
```
