drivercall

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 9534-byte string literal not displayed */

Variables

This section is empty.

Functions

func DeactivateValidator

func DeactivateValidator(validatorID idx.ValidatorID, status uint64) []byte

func SealEpoch

func SealEpoch(metrics []ValidatorEpochMetric) []byte

func SealEpochValidators

func SealEpochValidators(_validators []idx.ValidatorID) []byte

func SetGenesisDelegation

func SetGenesisDelegation(delegator common.Address, validatorID idx.ValidatorID, d genesis.Delegation) []byte

func SetGenesisValidator

func SetGenesisValidator(v gpos.Validator) []byte

Types

type ValidatorEpochMetric

type ValidatorEpochMetric struct {
	Missed          mugambo.BlocksMissed
	Uptime          inter.Timestamp
	OriginatedTxFee *big.Int
}

Jump to

Keyboard shortcuts

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