mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
14 lines
299 B
Go
14 lines
299 B
Go
|
package rest
|
||
|
|
||
|
import (
|
||
|
"github.com/gorilla/mux"
|
||
|
|
||
|
"github.com/cosmos/cosmos-sdk/client/context"
|
||
|
)
|
||
|
|
||
|
// RegisterRoutes registers incentive-related REST handlers to a router
|
||
|
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router) {
|
||
|
registerQueryRoutes(cliCtx, r)
|
||
|
registerTxRoutes(cliCtx, r)
|
||
|
}
|