reward

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2020 License: MIT Imports: 7 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
}

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