api

package
v0.0.0-...-e824e62 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllConfigs

func GetAllConfigs(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /configs

func GetContractsSubsidizeUsersFeesWinners

func GetContractsSubsidizeUsersFeesWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/contracts/max-net-rewards

func GetGenesisValidators

func GetGenesisValidators(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /validators/genesis

func GetGenesisValidatorsWinners

func GetGenesisValidatorsWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/validators-genesis

func GetGovWinners

func GetGovWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/gov

func GetGovWinnersPerProposal

func GetGovWinnersPerProposal(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /challenges/gov/:proposal_id

func GetJoinedAfterGenesisValidators

func GetJoinedAfterGenesisValidators(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /validators/joined

func GetJoinedAfterGenesisValidatorsWinners

func GetJoinedAfterGenesisValidatorsWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /challenges/validators-joined

func GetListOfChallenges

func GetListOfChallenges(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /challenges

func GetMaxNetworkRewardsWinners

func GetMaxNetworkRewardsWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/contracts/max-net-rewards

func GetNodeUpgradeWinners

func GetNodeUpgradeWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/upgrade

func GetParticipant

func GetParticipant(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /participants/:address

func GetParticipants

func GetParticipants(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /participants

func GetPerformanceTestWinners

func GetPerformanceTestWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/uptime

func GetPerformanceTestWinnersPerLoadBurst

func GetPerformanceTestWinnersPerLoadBurst(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /challenges/uptime/:burst_index

func GetStakingWinners

func GetStakingWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/staking

func GetUnjailedValidators

func GetUnjailedValidators(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /validators/unjailed

func GetUnjailedValidatorsWinners

func GetUnjailedValidatorsWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /challenges/validators-joined

func GetValidator

func GetValidator(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /validators/validator/:address

func GetValidators

func GetValidators(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /validators * GET /validators?beginHeight=xx&endHeight=xx

func GetWinner

func GetWinner(resp http.ResponseWriter, req *http.Request, params routing.Params)

-------------

* This function implements GET /winners/:address

func GetWinners

func GetWinners(resp http.ResponseWriter, req *http.Request, params routing.Params)

* This function implements GET /winners

func IndexPage

func IndexPage(resp http.ResponseWriter, req *http.Request, params routing.Params)

IndexPage implements GET / Just a test msg to see if it works

func ListenAndServeHTTP

func ListenAndServeHTTP(addr string)

ListenAndServeHTTP serves the APIs

func UI

func UI(resp http.ResponseWriter, req *http.Request, params routing.Params)

Types

This section is empty.

Jump to

Keyboard shortcuts

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