| Crates.io | bvs-guardrail |
| lib.rs | bvs-guardrail |
| version | 2.4.0 |
| created_at | 2025-05-27 02:56:42.907257+00 |
| updated_at | 2025-09-08 06:38:31.532302+00 |
| description | SatLayer Bitcoin Validated Service |
| homepage | https://satlayer.xyz/ |
| repository | https://github.com/satlayer/satlayer-bvs.git |
| max_upload_size | |
| id | 1690551 |
| size | 96,880 |
BVS Guardrail is a smart contract that serves as a final check for the slashing request before it can be finalized.
BVS Guardrail implements a voting system based on the CW3 multisig specification and CW4 group membership. It ensures that slashing requests are only finalized if they have been approved by a sufficient number of eligible voters within the specified voting period.
This contract is largely adapted from cw3-flex-multisig and cw4-group implementations.
The contract is initialized with a set of members (voters) and a threshold configuration that determines how many votes are required for a proposal to pass. Once initialized, authorized members can create and vote on slashing proposals.
Proposals are created when a slashing request is initiated. Members can vote on these proposals within a specified voting period. If the proposal receives enough votes before the voting period ends, it is considered approved and the slashing request can be finalized.