bvs-guardrail

Crates.iobvs-guardrail
lib.rsbvs-guardrail
version2.4.0
created_at2025-05-27 02:56:42.907257+00
updated_at2025-09-08 06:38:31.532302+00
descriptionSatLayer Bitcoin Validated Service
homepagehttps://satlayer.xyz/
repositoryhttps://github.com/satlayer/satlayer-bvs.git
max_upload_size
id1690551
size96,880
Fuxing Loh (fuxingloh)

documentation

https://github.com/satlayer/satlayer-bvs.git

README

BVS Guardrail

BVS Guardrail is a smart contract that serves as a final check for the slashing request before it can be finalized.

Overview

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.

Usage

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.

Commit count: 0

cargo fmt