pos

package
v2.1.9-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Testinjected = false // TODO: remove

Functions

This section is empty.

Types

type PosAvgRet

type PosAvgRet struct {
	// contains filtered or unexported fields
}

func NewPosAveRet

func NewPosAveRet() *PosAvgRet

func (*PosAvgRet) GetAllIncentive

func (p *PosAvgRet) GetAllIncentive(epochID uint64) (*big.Int, error)

func (*PosAvgRet) GetAllStakeAndReturn

func (p *PosAvgRet) GetAllStakeAndReturn(epochID uint64) (*big.Int, error)

func (*PosAvgRet) GetPosAverageReturnRate

func (p *PosAvgRet) GetPosAverageReturnRate(epochID uint64) (uint64, error)

Jump to

Keyboard shortcuts

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