reward

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetForStashAccountHttpHandler

func NewGetForStashAccountHttpHandler(rewardDb store.Rewards) *getForStashAccountHttpHandler

func NewGetForStashAccountUseCase

func NewGetForStashAccountUseCase(rewardDb store.Rewards) *getForStashAccountUseCase

Types

type GetForStashAccountRequest

type GetForStashAccountRequest struct {
	// StashAccount
	//
	// required: true
	// in: path
	StashAccount string `json:"stash_account" uri:"stash_account" binding:"required"`
	// Start
	//
	// in: path
	Start int64 `json:"start"  form:"start" binding:"-"`
	// End
	//
	// in: path
	End int64 `json:"end"  form:"end" binding:"-"`
}

swagger:parameters getRewards

type RewardsForErasView added in v0.8.3

type RewardsForErasView []model.RewardEraSeq

swagger:response RewardsForErasView

Jump to

Keyboard shortcuts

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