Skip to content

Commit

Permalink
stake-contract: Add docs comments
Browse files Browse the repository at this point in the history
  • Loading branch information
moCello committed Dec 30, 2024
1 parent 8e6bb49 commit c218dd7
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 22 deletions.
12 changes: 12 additions & 0 deletions contracts/stake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@
//
// Copyright (c) DUSK NETWORK. All rights reserved.

//! # Stake Contract Documentation
//!
//! This contract manages staking-related state for the Dusk Network,
//! implementing core functions that facilitate the management of stakes,
//! rewards and penalties.
//!
//! Refer to the [Dusk Whitepaper](https://dusk-cms.ams3.digitaloceanspaces.com/Dusk_Whitepaper_2024_4db72f92a1.pdf) and
//! [Dusk Documentation](https://docs.dusk.network) for a detailed explanation of staking mechanisms.
#![cfg_attr(target_family = "wasm", no_std)]
#![cfg(target_family = "wasm")]
#![feature(arbitrary_self_types)]
#![deny(missing_docs)]
#![deny(rustdoc::broken_intra_doc_links)]
#![deny(clippy::pedantic)]
#![deny(unused_crate_dependencies)]
#![deny(unused_extern_crates)]

Expand Down
Loading

0 comments on commit c218dd7

Please sign in to comment.