reward

package
v0.0.0-...-3da4c06 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 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
	Payouts []Payout
}

CompletedRound ..

type Payout

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

Payout ..

type Reader

type Reader interface {
	ReadRoundResult() *CompletedRound
}

Reader ..

Jump to

Keyboard shortcuts

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