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 ¶
- func Account(props AccountProps) templ.Component
- func Block(props BlockProps) templ.Component
- func BlockEventsScript() templ.Component
- func Blocks(props BlocksProps) templ.Component
- func Content() templ.Component
- func Dashboard(props DashboardProps) templ.Component
- func Hello(name string) templ.Component
- func LivePlayMapScript() templ.Component
- func ManageEntitySection(entity *db.EtlManageEntity) templ.Component
- func NetworkSidebarFragment(stats *DashboardStats) templ.Component
- func Rollups(props RollupsProps) templ.Component
- func SLAChartScript() templ.Component
- func SSEEventScript() templ.Component
- func SlaRollupSection(slaRollup *db.EtlSlaRollup) templ.Component
- func StatsHeaderFragment(stats *DashboardStats, syncProgressPercentage float64) templ.Component
- func StorageProofSection(storageProof *db.EtlStorageProof) templ.Component
- func StorageProofVerificationSection(storageProofVerification *db.EtlStorageProofVerification) templ.Component
- func TPSFragment(stats *DashboardStats) templ.Component
- func TotalTransactionsFragment(stats *DashboardStats) templ.Component
- func TrackPlaysSection(plays []*db.EtlPlay) templ.Component
- func Transaction(props TransactionProps) templ.Component
- func Transactions(props TransactionsProps) templ.Component
- func Validator(props ValidatorProps) templ.Component
- func ValidatorDeregistrationSection(deregistration *db.EtlValidatorDeregistration) templ.Component
- func ValidatorRegistrationSection(registration *db.EtlValidatorRegistration) templ.Component
- func Validators(props ValidatorsProps) templ.Component
- func ValidatorsUptime(props ValidatorsUptimeProps) templ.Component
- func ValidatorsUptimeByRollup(props ValidatorsUptimeByRollupProps) templ.Component
- func ValidatorsUptimeSummaryForMain(rollupData *db.EtlSlaRollup) templ.Component
- func ValidatorsUptimeSummaryForRollup(validators []*ValidatorUptimeInfo, rollupId int32, rollupData *db.EtlSlaRollup) templ.Component
- func ValidatorsUptimeTable(validators []*ValidatorUptimeInfo, rollupData *db.EtlSlaRollup) templ.Component
- type AccountProps
- type BlockProps
- type BlocksProps
- type DashboardProps
- type DashboardStats
- type PlayEvent
- type RollupsProps
- type SLAPerformanceDataPoint
- type TransactionProps
- type TransactionTypeBreakdown
- type TransactionsProps
- type ValidatorEvent
- type ValidatorProps
- type ValidatorUptimeInfo
- type ValidatorsProps
- type ValidatorsUptimeByRollupProps
- type ValidatorsUptimeProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Account ¶
func Account(props AccountProps) templ.Component
func Block ¶
func Block(props BlockProps) templ.Component
func Blocks ¶
func Blocks(props BlocksProps) templ.Component
func Dashboard ¶
func Dashboard(props DashboardProps) templ.Component
func ManageEntitySection ¶
func ManageEntitySection(entity *db.EtlManageEntity) templ.Component
func NetworkSidebarFragment ¶
func NetworkSidebarFragment(stats *DashboardStats) templ.Component
func Rollups ¶
func Rollups(props RollupsProps) templ.Component
func SLAChartScript ¶
SLA Chart Alpine.js Component with Chart.js
func SSEEventScript ¶
func SlaRollupSection ¶
func SlaRollupSection(slaRollup *db.EtlSlaRollup) templ.Component
func StatsHeaderFragment ¶
func StatsHeaderFragment(stats *DashboardStats, syncProgressPercentage float64) templ.Component
HTMX Fragment Templates
func StorageProofSection ¶
func StorageProofSection(storageProof *db.EtlStorageProof) templ.Component
func StorageProofVerificationSection ¶
func StorageProofVerificationSection(storageProofVerification *db.EtlStorageProofVerification) templ.Component
func TPSFragment ¶
func TPSFragment(stats *DashboardStats) templ.Component
func TotalTransactionsFragment ¶
func TotalTransactionsFragment(stats *DashboardStats) templ.Component
func Transaction ¶
func Transaction(props TransactionProps) templ.Component
func Transactions ¶
func Transactions(props TransactionsProps) templ.Component
func Validator ¶
func Validator(props ValidatorProps) templ.Component
func ValidatorDeregistrationSection ¶
func ValidatorDeregistrationSection(deregistration *db.EtlValidatorDeregistration) templ.Component
func ValidatorRegistrationSection ¶
func ValidatorRegistrationSection(registration *db.EtlValidatorRegistration) templ.Component
func Validators ¶
func Validators(props ValidatorsProps) templ.Component
func ValidatorsUptime ¶
func ValidatorsUptime(props ValidatorsUptimeProps) templ.Component
func ValidatorsUptimeByRollup ¶
func ValidatorsUptimeByRollup(props ValidatorsUptimeByRollupProps) templ.Component
func ValidatorsUptimeSummaryForMain ¶
func ValidatorsUptimeSummaryForMain(rollupData *db.EtlSlaRollup) templ.Component
func ValidatorsUptimeSummaryForRollup ¶
func ValidatorsUptimeSummaryForRollup(validators []*ValidatorUptimeInfo, rollupId int32, rollupData *db.EtlSlaRollup) templ.Component
func ValidatorsUptimeTable ¶
func ValidatorsUptimeTable(validators []*ValidatorUptimeInfo, rollupData *db.EtlSlaRollup) templ.Component
Types ¶
type AccountProps ¶
type BlockProps ¶
type BlockProps struct {
Block *db.EtlBlock
Transactions []*db.EtlTransaction
}
type BlocksProps ¶
type DashboardProps ¶
type DashboardProps struct {
Stats *DashboardStats
TransactionBreakdown []*TransactionTypeBreakdown
RecentBlocks []*db.EtlBlock
RecentTransactions []*db.EtlTransaction
RecentSLARollups []*db.EtlSlaRollup
SLAPerformanceData []*SLAPerformanceDataPoint
BlockHeights map[string]int64
SyncProgressPercentage float64
}
type DashboardStats ¶
type DashboardStats struct {
CurrentBlockHeight int64
ChainID string
BPS float64
TPS float64
TotalTransactions int64
ValidatorCount int64
LatestBlock *db.EtlBlock
RecentProposers []string
IsSyncing bool
LatestIndexedHeight int64
LatestChainHeight int64
BlockDelta int64
TotalTransactions24h int64
TotalTransactionsPrevious24h int64
TotalTransactions7d int64
TotalTransactions30d int64
AvgBlockTime float32 // Average block time from latest SLA rollup in seconds
}
type RollupsProps ¶
type RollupsProps struct {
Rollups []*db.EtlSlaRollup
RollupValidators []*db.EtlSlaNodeReport
CurrentPage int32
HasNext bool
HasPrev bool
PageSize int32
TotalCount int64
}
type SLAPerformanceDataPoint ¶
type SLAPerformanceDataPoint struct {
RollupID int32 `json:"rollupId"`
BlockHeight int64 `json:"blockHeight"`
Timestamp string `json:"timestamp"`
ValidatorCount int32 `json:"validatorCount"`
HealthyValidators int32 `json:"healthyValidators"`
BPS float64 `json:"bps"`
TPS float64 `json:"tps"`
BlockStart int64 `json:"blockStart"`
BlockEnd int64 `json:"blockEnd"`
}
type TransactionProps ¶
type TransactionProps struct {
Transaction *db.EtlTransaction
Proposer string
Content interface{}
}
type TransactionsProps ¶
type ValidatorEvent ¶
type ValidatorProps ¶
type ValidatorProps struct {
Validator *db.EtlValidator
Events []*ValidatorEvent
Rollups []*db.EtlSlaNodeReport
}
type ValidatorUptimeInfo ¶
type ValidatorUptimeInfo struct {
Validator *db.EtlValidator
RecentRollups []*db.EtlSlaNodeReport
}
type ValidatorsProps ¶
type ValidatorsUptimeByRollupProps ¶
type ValidatorsUptimeByRollupProps struct {
Validators []*ValidatorUptimeInfo
RollupID int32
RollupData *db.EtlSlaRollup
}
type ValidatorsUptimeProps ¶
type ValidatorsUptimeProps struct {
Validators []*ValidatorUptimeInfo
RollupData *db.EtlSlaRollup
}
Click to show internal directories.
Click to hide internal directories.