reward

package
v1.10.3-0...-ec03cfc Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: LGPL-3.0 Imports: 9 Imported by: 0

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

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

CompletedRound ..

type Payout

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

Payout ..

type Reader

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