api

package
v0.0.0-...-1196ed7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RewardCheque

type RewardCheque struct {
	Beneficiary common.Address `json:"beneficiary" gorm:"primaryKey;type:bytea"`
	Processor   common.Address `json:"processor" gorm:"type:bytea"`
	TotalAmount hexutil.Bytes  `json:"totalAmount" gorm:"type:bytea;not null"`
	Signature   hexutil.Bytes  `json:"signature" gorm:"type:bytea"`
}

type RewardsAPI

type RewardsAPI struct {
	// contains filtered or unexported fields
}

func NewRewardsAPI

func NewRewardsAPI() (*RewardsAPI, error)

func (*RewardsAPI) AccountRewardsHistory

func (rapi *RewardsAPI) AccountRewardsHistory(w http.ResponseWriter, r *http.Request)

func (*RewardsAPI) Bind

func (rapi *RewardsAPI) Bind(root *chi.Mux) error

func (*RewardsAPI) GatewayRewardsHistory

func (rapi *RewardsAPI) GatewayRewardsHistory(w http.ResponseWriter, r *http.Request)

func (*RewardsAPI) LatestAccountRewards

func (rapi *RewardsAPI) LatestAccountRewards(w http.ResponseWriter, r *http.Request)

func (*RewardsAPI) LatestCheque

func (rapi *RewardsAPI) LatestCheque(w http.ResponseWriter, r *http.Request)

func (*RewardsAPI) MapperRewardsHistory

func (rapi *RewardsAPI) MapperRewardsHistory(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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