Trait fvm_shared::NetworkParams
source · pub trait NetworkParams {
const TOTAL_FILECOIN: i64;
const MINING_REWARD_TOTAL: i64;
// Provided method
fn initial_reward_balance() -> TokenAmount { ... }
}
Expand description
Config trait which handles different network configurations.
Required Associated Constants§
sourceconst TOTAL_FILECOIN: i64
const TOTAL_FILECOIN: i64
Total filecoin available to network.
sourceconst MINING_REWARD_TOTAL: i64
const MINING_REWARD_TOTAL: i64
Available rewards for mining.
Provided Methods§
sourcefn initial_reward_balance() -> TokenAmount
fn initial_reward_balance() -> TokenAmount
Initial reward actor balance. This function is only called in genesis setting up state.
Object Safety§
This trait is not object safe.