2018-06-29 20:34:55 -07:00
|
|
|
package rest
|
|
|
|
|
|
|
|
import (
|
2019-02-14 08:53:36 -08:00
|
|
|
"github.com/gorilla/mux"
|
|
|
|
|
2018-06-29 20:34:55 -07:00
|
|
|
"github.com/cosmos/cosmos-sdk/client/context"
|
|
|
|
)
|
|
|
|
|
|
|
|
// RegisterRoutes registers staking-related REST handlers to a router
|
2019-06-06 08:43:15 -07:00
|
|
|
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router) {
|
|
|
|
registerQueryRoutes(cliCtx, r)
|
|
|
|
registerTxRoutes(cliCtx, r)
|
2018-06-29 20:34:55 -07:00
|
|
|
}
|