github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/x/mint/client/rest/rest.go (about)

     1  package rest
     2  
     3  import (
     4  	govRest "github.com/fibonacci-chain/fbc/x/gov/client/rest"
     5  	"github.com/gorilla/mux"
     6  
     7  	"github.com/fibonacci-chain/fbc/libs/cosmos-sdk/client/context"
     8  )
     9  
    10  // RegisterRoutes registers minting module REST handlers on the provided router.
    11  func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router) {
    12  	registerQueryRoutes(cliCtx, r)
    13  }
    14  
    15  // ManageTreasuresProposalRESTHandler defines mint proposal handler
    16  func ManageTreasuresProposalRESTHandler(context.CLIContext) govRest.ProposalRESTHandler {
    17  	return govRest.ProposalRESTHandler{}
    18  }
    19  
    20  // ModifyNextBlockUpdateProposalRESTHandler defines mint proposal handler
    21  func ModifyNextBlockUpdateProposalRESTHandler(context.CLIContext) govRest.ProposalRESTHandler {
    22  	return govRest.ProposalRESTHandler{}
    23  }