util

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PowerWeight added in v0.5.0

func PowerWeight(validators []types.Validator) *big.Int

func RenderTable added in v0.5.0

func RenderTable(t table.Writer, format string)

func TotalAmountClients added in v0.7.0

func TotalAmountClients(validators []types.Client) *big.Int

func TotalAmountPartners added in v0.7.0

func TotalAmountPartners(validators []types.Partner) *big.Int

func TotalAmountStakeOuts added in v0.9.0

func TotalAmountStakeOuts(validators []types.Client) *big.Int

func TotalAmountValidators added in v0.7.0

func TotalAmountValidators(validators []types.Validator) *big.Int

func WeiToEth

func WeiToEth(eth *big.Int) *big.Float

func Weight added in v0.7.0

func Weight(value, total *big.Int) *big.Float

Types

This section is empty.

Jump to

Keyboard shortcuts

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