reward

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PercentageForTimeStamp

func PercentageForTimeStamp(ts int64) numeric.Dec

PercentageForTimeStamp ..

Types

type CompletedRound added in v1.3.5

type CompletedRound struct {
	Total            *big.Int
	BeaconchainAward []Payout
	ShardChainAward  []Payout
}

CompletedRound ..

type Payout added in v1.3.5

type Payout struct {
	ShardID     uint32
	Addr        common.Address
	NewlyEarned *big.Int
	EarningKey  bls.SerializedPublicKey
}

Payout ..

type Reader added in v1.3.5

type Reader interface {
	ReadRoundResult() *CompletedRound
	MissingSigners() shard.SlotList
}

Reader ..

Jump to

Keyboard shortcuts

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