Documentation
¶
Index ¶
- type RewardCheque
- type RewardsAPI
- func (rapi *RewardsAPI) AccountRewardsHistory(w http.ResponseWriter, r *http.Request)
- func (rapi *RewardsAPI) Bind(root *chi.Mux) error
- func (rapi *RewardsAPI) GatewayRewardsHistory(w http.ResponseWriter, r *http.Request)
- func (rapi *RewardsAPI) LatestAccountRewards(w http.ResponseWriter, r *http.Request)
- func (rapi *RewardsAPI) LatestCheque(w http.ResponseWriter, r *http.Request)
- func (rapi *RewardsAPI) MapperRewardsHistory(w http.ResponseWriter, r *http.Request)
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)
Click to show internal directories.
Click to hide internal directories.