ponpool

package
v0.0.0-...-c8bbbf3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	BuilderPubkey string `db:"builder_pubkey" json:"id"`
	Status        string `db:"status" json:"status"`
	BalanceStaked string `db:"balance_staked" json:"balanceStaked"`
}

type BuilderInterface

type BuilderInterface struct {
	Builder Builder
	Status  bool
}

type BuilderPool

type BuilderPool struct {
	Data struct {
		Builders []Builder `json:"builders"`
	} `json:"data"`
}

type BuilderStake

type BuilderStake struct {
	Data struct {
		GlobalValue struct {
			BalanceRequired string `json:"builderMinimumStake"`
		} `json:"globalValue"`
	} `json:"data"`
}

type Reporter

type Reporter struct {
	ReporterPubkey string `db:"reporter_pubkey" json:"id"`
	Active         bool   `db:"active" json:"active"`
	ReportCount    string `db:"report_count" json:"numberOfReports"`
}

type ReporterPool

type ReporterPool struct {
	Data struct {
		Reporters []Reporter `json:"reporters"`
	} `json:"data"`
}

type Validator

type Validator struct {
	ValidatorPubkey string `db:"validator_pubkey" json:"id"`
	Status          string `db:"status" json:"status"`
	ReportCount     string `db:"report_count" json:"reportCount"`
}

type ValidatorPool

type ValidatorPool struct {
	Data struct {
		Validators []Validator `json:"proposers"`
	} `json:"data"`
}

Jump to

Keyboard shortcuts

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