account

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: 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

func NewGetSummariesHttpHandler added in v0.8.4

func NewGetSummariesHttpHandler(db *store.Store, c *client.Client) *getSummariesHttpHandler

func NewGetSummariesUseCase added in v0.8.4

func NewGetSummariesUseCase(db *store.Store, c *client.Client) *getSummariesUseCase

Types

type DailyBalanceView added in v0.8.4

type DailyBalanceView struct {
	TimeBucket time.Time   `json:"time_bucket"`
	Balance    DetailsView `json:"balance"`
}

type DailyBalanceViewResult added in v0.8.4

type DailyBalanceViewResult struct {
	Result []DailyBalanceView `json:"result"`
}

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