totals

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureRoutes

func ConfigureRoutes(g *gin.RouterGroup)

func HandleGetTotals

func HandleGetTotals(c *gin.Context)

Types

type TotalsResponse

type TotalsResponse struct {
	EpochNumber uint32 `json:"epoch_no"`
	Circulation string `json:"circulation"`
	Treasury    string `json:"treasury"`
	Rewards     string `json:"reward"`
	Supply      string `json:"supply"`
	Reserves    string `json:"reserves"`
}

func NewTotalsResponse

func NewTotalsResponse(t *models.AdaPots) *TotalsResponse

Jump to

Keyboard shortcuts

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