elector

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParticipantList

type ParticipantList struct {
	ElectAt    int64
	ElectClose int64
	MinStake   int64
	TotalStake int64
	Validators []Validator
}

func GetParticipantListExtended

func GetParticipantListExtended(ctx context.Context, electorAddr ton.AccountID, e executor) (*ParticipantList, error)

type Validator

type Validator struct {
	Pubkey    tlb.Bits256
	Stake     int64
	MaxFactor int64
	Address   ton.AccountID
	AdnlAddr  string
}

Jump to

Keyboard shortcuts

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