tickets

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: ISC Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	All txType = iota
	Unmined
	Immature
	Live
	Voted
	Expired
	Revoked
)
View Source
const (
	StakingLive     = "LIVE"
	StakingUnmined  = "UNMINED"
	StakingImmature = "IMMATURE"
	StakingRevoked  = "REVOKED"
	StakingVoted    = "VOTED"
	StakingExpired  = "EXPIRED"
)
View Source
const OverviewPageID = "Tickets"
View Source
const VSPSelectorModalID = "VSPSelectorModal"

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

type ListPage

type ListPage struct {
	*load.Load
	// contains filtered or unexported fields
}

func (*ListPage) Handle

func (pg *ListPage) Handle()

func (*ListPage) ID

func (pg *ListPage) ID() string

func (*ListPage) Layout

func (pg *ListPage) Layout(gtx C) D

func (*ListPage) OnClose

func (pg *ListPage) OnClose()

func (*ListPage) OnResume

func (pg *ListPage) OnResume()

type Page

type Page struct {
	*load.Load
	// contains filtered or unexported fields
}

func NewTicketPage

func NewTicketPage(l *load.Load) *Page

func (*Page) Handle

func (pg *Page) Handle()

func (*Page) ID

func (pg *Page) ID() string

func (*Page) Layout

func (pg *Page) Layout(gtx layout.Context) layout.Dimensions

func (*Page) OnClose

func (pg *Page) OnClose()

func (*Page) OnResume

func (pg *Page) OnResume()

type Ticket

type Ticket struct {
	Status     string
	Fee        string
	Amount     string
	DateTime   string
	MonthDay   string
	DaysBehind string
	WalletName string
}

Jump to

Keyboard shortcuts

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