view

package
v0.0.0-...-937ed5a Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByNextRGP

type ByNextRGP []types.Validator

func (ByNextRGP) Len

func (v ByNextRGP) Len() int

func (ByNextRGP) Less

func (v ByNextRGP) Less(i, j int) bool

func (ByNextRGP) Swap

func (v ByNextRGP) Swap(i, j int)

type NetworkView

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

func (*NetworkView) Render

func (c *NetworkView) Render()

type NetworkViewData

type NetworkViewData struct {
	EpochNo           string
	CheckpointNo      string
	TXCount           string
	ComputationCost   string
	StorageCost       string
	StorageRebate     string
	ReferenceGasPrice string
}

type Renderer

type Renderer interface {
	Render()
}

func NewNetworkView

func NewNetworkView(data *NetworkViewData) Renderer

func NewValidatorView

func NewValidatorView(state *types.SuiSystemState) Renderer

type ValidatorView

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

func (*ValidatorView) Render

func (v *ValidatorView) Render()

Jump to

Keyboard shortcuts

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