Sigil documentation
ReferenceRust referencesigil-economics

sigil-economics · crate

Source declarations, signatures and documentation for crate.

Source: sigil/node/sigil-economics/src/lib.rs. SHA-256: a45e66ee186fb62b9128fd548255f709d5238e5b756d3667fcda75b6589dd458.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

bonds

pub mod bonds;

Source line: 5.

error

pub mod error;

Source line: 6.

rewards

pub mod rewards;

Source line: 7.

slashing

pub mod slashing;

Source line: 8.

staking

pub mod staking;

Source line: 9.

escrow

#[cfg(feature = "compute")]
pub mod escrow;

Source line: 12.

pub use bonds::{BondRecord, BondSlashDistribution, BondStatus};

pub use bonds::{BondRecord, BondSlashDistribution, BondStatus};

Source line: 14.

pub use error::EconomicsError;

pub use error::EconomicsError;

Source line: 15.

pub use rewards::{DelegatorReward, RewardConfig, RewardDistribution};

pub use rewards::{DelegatorReward, RewardConfig, RewardDistribution};

Source line: 16.

pub use slashing::{SlashConfig, SlashOffense, SlashResult};

pub use slashing::{SlashConfig, SlashOffense, SlashResult};

Source line: 17.

pub use staking::{

Delegation, PendingUndelegation, StakeRecord, StakeStatus, MIN_BP_STAKE, MIN_BV_STAKE, UNBONDING_EPOCHS, };

pub use staking::{
    Delegation, PendingUndelegation, StakeRecord, StakeStatus, MIN_BP_STAKE, MIN_BV_STAKE,
    UNBONDING_EPOCHS,
};

Source line: 18.

pub use escrow::EscrowAccount;

#[cfg(feature = "compute")]
pub use escrow::EscrowAccount;

Source line: 24.

::MICRO_MINT_PER_MINT

1 MINT = 1_000_000 micro-MINT.

pub const MICRO_MINT_PER_MINT: u64;

Source line: 27.

On this page