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 31, 2024
1 parent 8e6bb49 commit 569dc6e
Show file tree
Hide file tree
Showing 2 changed files with 288 additions and 22 deletions.
13 changes: 13 additions & 0 deletions contracts/stake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,22 @@
//
// 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.
//!
//! For a detailed explanation of staking mechanisms refer to the
//! [Dusk Whitepaper](https://dusk-cms.ams3.digitaloceanspaces.com/Dusk_Whitepaper_2024_4db72f92a1.pdf)
//! and [Dusk Documentation](https://docs.dusk.network).
#![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 569dc6e

Please sign in to comment.