Trait fil_types::NetworkParams[][src]

pub trait NetworkParams {
    const TOTAL_FILECOIN: i64;
    const MINING_REWARD_TOTAL: i64;
    fn initial_reward_balance() -> BigInt { ... }
fn from_fil(i: i64) -> BigInt { ... } }
Expand description

Config trait which handles different network configurations.

Associated Constants

Total filecoin available to network.

Available rewards for mining.

Provided methods

Initial reward actor balance. This function is only called in genesis setting up state.

Convert integer value of tokens into BigInt based on the token precision.

Implementors