staking

package
v0.10.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetByHeightHttpHandler

func NewGetByHeightHttpHandler(db *store.Store, c *client.Client) *getByHeightHttpHandler

func NewGetByHeightUseCase

func NewGetByHeightUseCase(db *store.Store, c *client.Client) *getByHeightUseCase

Types

type DetailsView

type DetailsView struct {
	TotalSupply         types.Quantity `json:"total_supply"`
	CommonPool          types.Quantity `json:"common_pool"`
	DebondingInterval   uint64         `json:"debonding_interval"`
	MinDelegationAmount types.Quantity `json:"min_delegation_amount"`
}

func ToDetailsView

func ToDetailsView(rawStaking *statepb.Staking) *DetailsView

type Request

type Request struct {
	Height *int64 `form:"height" binding:"-"`
}

Jump to

Keyboard shortcuts

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