Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Address = builtin15.RewardActorAddr Methods = builtin15.MethodsReward )
Functions ¶
Types ¶
type AwardBlockRewardParams ¶
type AwardBlockRewardParams = reward0.AwardBlockRewardParams
type State ¶
type State interface { cbor.Marshaler Code() cid.Cid ActorKey() string ActorVersion() actorstypes.Version ThisEpochBaselinePower() (abi.StoragePower, error) ThisEpochReward() (abi.StoragePower, error) ThisEpochRewardSmoothed() (builtin.FilterEstimate, error) EffectiveBaselinePower() (abi.StoragePower, error) EffectiveNetworkTime() (abi.ChainEpoch, error) TotalStoragePowerReward() (abi.TokenAmount, error) CumsumBaseline() (abi.StoragePower, error) CumsumRealized() (abi.StoragePower, error) // InitialPledgeForPower computes the pledge requirement for committing new quality-adjusted power // to the network, given the current network total and baseline power, per-epoch reward, and // circulating token supply. // // Prior to actors version 15, the epochsSinceRampStart and rampDurationEpochs arguments have // no effect. After actors version 15, these values can be derived from the power actor state // properties RampStartEpoch and RampDurationEpochs. InitialPledgeForPower(qaPower abi.StoragePower, networkTotalPledge abi.TokenAmount, networkQAPower *builtin.FilterEstimate, circSupply abi.TokenAmount, epochsSinceRampStart int64, rampDurationEpochs uint64) (abi.TokenAmount, error) PreCommitDepositForPower(builtin.FilterEstimate, abi.StoragePower) (abi.TokenAmount, error) GetState() interface{} }
func MakeState ¶ added in v1.11.0
func MakeState(store adt.Store, av actorstypes.Version, currRealizedPower abi.StoragePower) (State, error)
Click to show internal directories.
Click to hide internal directories.