| Crates.io | bvs-vault-router |
| lib.rs | bvs-vault-router |
| version | 2.4.0 |
| created_at | 2025-05-02 06:05:25.81593+00 |
| updated_at | 2025-09-08 06:39:10.779602+00 |
| description | SatLayer Bitcoin Validated Service |
| homepage | https://satlayer.xyz/ |
| repository | https://github.com/satlayer/satlayer-bvs.git |
| max_upload_size | |
| id | 1657316 |
| size | 131,419 |
The BVS Vault Router is a central contract that manages the interaction between vaults and other contracts in the SatLayer ecosystem. It serves as the entry/exit point for all vaults, controlling that vaults can accept deposits and managing the relationship between operators and their vaults.
The Vault Router provides essential functionality for the SatLayer ecosystem by:
SetVault: Set a vault contract and its whitelist status (only owner can call)SetWithdrawalLockPeriod: Set the lock period for withdrawals (only owner can call)TransferOwnership: Transfer ownership of the contract to a new ownerIsWhitelisted: Check if a vault is whitelisted and can accept depositsIsValidating: Check if an operator is validating servicesListVaults: List all vaults with pagination supportListVaultsByOperator: List vaults managed by a specific operatorWithdrawalLockPeriod: Get the current withdrawal lock periodThe Vault Router manages vaults through a whitelisting process:
SetVault with whitelisted: true