Documentation
¶
Overview ¶
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
templ: version: v0.3.898
Index ¶
- Constants
- func CamelCaseKeys(result []map[string]interface{}) []map[string]interface{}
- type AdjudicatePageView
- type BlockView
- type CopyButtonProps
- type Endpoint
- type NodePageView
- type NodesView
- type Pages
- func (c *Pages) AdjudicatePageHTML(props *AdjudicatePageView) templ.Component
- func (p *Pages) BlockPageHTML(view *BlockView) templ.Component
- func (p *Pages) ContentPageHTML() templ.Component
- func (p *Pages) ErrorPageHTML(errorID string) templ.Component
- func (p *Pages) GenesisHTML(genesis map[string]interface{}) templ.Component
- func (p *Pages) NodePageHTML(data *NodePageView) templ.Component
- func (p *Pages) NodesPageHTML(data *NodesView) templ.Component
- func (p *Pages) OverviewCriticalFragment(status *v1.GetStatusResponse) templ.Component
- func (p *Pages) OverviewNetworkFragment(status *v1.GetStatusResponse) templ.Component
- func (p *Pages) OverviewPage(status *v1.GetStatusResponse) templ.Component
- func (p *Pages) OverviewProcessesFragment(status *v1.GetStatusResponse) templ.Component
- func (p *Pages) OverviewResourcesFragment(status *v1.GetStatusResponse) templ.Component
- func (c *Pages) PoSPageHTML(props *PoSPageView) templ.Component
- func (p *Pages) TxPageHTML(view *TxView) templ.Component
- func (p *Pages) UploadPage() templ.Component
- func (c *Pages) UptimePageHTML(props *UptimePageView) templ.Component
- type PoSPageView
- type ServiceProvider
- type SlaReport
- type SlaStatus
- type SlashRecommendation
- type StorageProof
- type StorageProofRollup
- type TxView
- type UptimePageView
Constants ¶
View Source
const UnearnedRewardsThreshold = int64(10000)
Variables ¶
This section is empty.
Functions ¶
func CamelCaseKeys ¶
Types ¶
type AdjudicatePageView ¶
type AdjudicatePageView struct {
ServiceProvider *ServiceProvider
StartTime time.Time
EndTime time.Time
MetSlas int
PartialSlas int
DeadSlas int
TotalSlas int
TotalStaked int64
TotalChallenges int64
FailedChallenges int64
Slash SlashRecommendation
ActiveSlashProposalId int64
DashboardURL string
ReportingEndpoint *Endpoint
}
type CopyButtonProps ¶
type NodePageView ¶
type NodesView ¶
type NodesView struct {
Nodes []db.CoreValidator
}
type Pages ¶
type Pages struct {
// contains filtered or unexported fields
}
func (*Pages) AdjudicatePageHTML ¶
func (c *Pages) AdjudicatePageHTML(props *AdjudicatePageView) templ.Component
func (*Pages) ContentPageHTML ¶
func (*Pages) GenesisHTML ¶
func (*Pages) NodePageHTML ¶
func (p *Pages) NodePageHTML(data *NodePageView) templ.Component
func (*Pages) OverviewCriticalFragment ¶
func (p *Pages) OverviewCriticalFragment(status *v1.GetStatusResponse) templ.Component
func (*Pages) OverviewNetworkFragment ¶
func (p *Pages) OverviewNetworkFragment(status *v1.GetStatusResponse) templ.Component
func (*Pages) OverviewPage ¶
func (p *Pages) OverviewPage(status *v1.GetStatusResponse) templ.Component
func (*Pages) OverviewProcessesFragment ¶
func (p *Pages) OverviewProcessesFragment(status *v1.GetStatusResponse) templ.Component
func (*Pages) OverviewResourcesFragment ¶
func (p *Pages) OverviewResourcesFragment(status *v1.GetStatusResponse) templ.Component
func (*Pages) PoSPageHTML ¶
func (c *Pages) PoSPageHTML(props *PoSPageView) templ.Component
func (*Pages) UploadPage ¶
func (*Pages) UptimePageHTML ¶
func (c *Pages) UptimePageHTML(props *UptimePageView) templ.Component
type PoSPageView ¶
type PoSPageView struct {
Address string
BlockStart int64
BlockEnd int64
StorageProofs []*StorageProof
}
type ServiceProvider ¶
type ServiceProvider struct {
Address string
Endpoints []*Endpoint
StorageProofRollups map[string]*StorageProofRollup
}
type SlashRecommendation ¶
type StorageProof ¶
type StorageProofRollup ¶
type UptimePageView ¶
Click to show internal directories.
Click to hide internal directories.