[][src]Crate sn_farming

Implementation of Farming Rewards for the SAFE Network.

Re-exports

pub use crate::accumulation::Accumulation;
pub use crate::calculation::RewardAlgo;
pub use crate::calculation::StorageRewards;
pub use crate::utils::RewardCounterSet;

Modules

accumulation
calculation
utils

Used for calculating the median of a vec of RewardCounters.

Structs

AccountAdded
RewardsAccumulated

Reward and its distribution has been calculated, and accumulates with this event.

RewardsClaimed

The accumulation of rewards stops at this instance of the Accumulator. The accumulated work is transfered to another instance, and the accumulated rewards is paid out.

Enums

AccumulationEvent