Struct forest_actor::miner::VestingFunds
source · [−]pub struct VestingFunds {
pub funds: Vec<VestingFund>,
}
Expand description
Represents the vesting table state for the miner. It is a slice of (VestingEpoch, VestingAmount). The slice will always be sorted by the VestingEpoch.
Fields
funds: Vec<VestingFund>
Implementations
pub fn add_locked_funds(
&mut self,
current_epoch: ChainEpoch,
vesting_sum: &TokenAmount,
proving_period_start: ChainEpoch,
spec: &VestSpec
)
pub fn unlock_unvested_funds(
&mut self,
current_epoch: ChainEpoch,
target: &TokenAmount
) -> TokenAmount
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more