account

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetByAddressHttpHandler added in v0.4.2

func NewGetByAddressHttpHandler(db *store.Store, c *client.Client) *getByAddressHttpHandler

func NewGetByAddressUseCase added in v0.4.2

func NewGetByAddressUseCase(db *store.Store, c *client.Client) *getByAddressUseCase

Types

type DetailsView

type DetailsView struct {
	GeneralBalance             types.Quantity `json:"general_balance"`
	GeneralNonce               uint64         `json:"general_nonce"`
	EscrowActiveBalance        types.Quantity `json:"escrow_active_balance"`
	EscrowActiveTotalShares    types.Quantity `json:"escrow_active_total_shares"`
	EscrowDebondingBalance     types.Quantity `json:"escrow_debonding_balance"`
	EscrowDebondingTotalShares types.Quantity `json:"escrow_debonding_total_shares"`
}

func ToDetailsView

func ToDetailsView(rawAccount *accountpb.Account) *DetailsView

type Request

type Request struct {
	Address string `uri:"address" binding:"required"`
	Height  int64  `form:"height" binding:"-"`
}

Jump to

Keyboard shortcuts

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