reward

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2021 License: Apache-2.0, MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AwardBlockRewardParams

type AwardBlockRewardParams = reward3.AwardBlockRewardParams

type AwardBlockRewardReturn

type AwardBlockRewardReturn = reward3.AwardBlockRewardReturn

type State

type State interface {
	cbor.Marshaler

	ThisEpochReward() (abi.TokenAmount, error)
	TotalMined() (abi.TokenAmount, error)
	TotalMinedDetail() (*TotalMinedDetail, error)
}

func Load

func Load(store adt.Store, act *types.Actor) (st State, err error)

type TotalMinedDetail

type TotalMinedDetail struct {
	TotalExpertReward       abi.TokenAmount // to expert fund actor
	TotalVoteReward         abi.TokenAmount // to vote fund actor
	TotalKnowledgeReward    abi.TokenAmount // to knowledge fund actor
	TotalRetrievalReward    abi.TokenAmount // to retrieval fund actor
	TotalStoragePowerReward abi.TokenAmount // to block miners
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL