Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Address = builtin6.RewardActorAddr Methods = builtin6.MethodsReward )
Functions ¶
func GetActorCodeID ¶
func GetActorCodeID(av specactors.Version) (cid.Cid, error)
Types ¶
type AwardBlockRewardParams ¶
type AwardBlockRewardParams = reward0.AwardBlockRewardParams
type State ¶
type State interface { cbor.Marshaler 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(abi.StoragePower, abi.TokenAmount, *builtin.FilterEstimate, abi.TokenAmount) (abi.TokenAmount, error) PreCommitDepositForPower(builtin.FilterEstimate, abi.StoragePower) (abi.TokenAmount, error) GetState() interface{} }
func MakeState ¶
func MakeState(store adt.Store, av specactors.Version, currRealizedPower abi.StoragePower) (State, error)
Click to show internal directories.
Click to hide internal directories.