rest

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(clientCtx client.Context, rtr *mux.Router)

RegisterRoutes registers minting module REST handlers on the provided router.

func UpdateResourceDependencyProposalRESTHandler

func UpdateResourceDependencyProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

Types

type UpdateMinterRequest

type UpdateMinterRequest struct {
	BaseReq     typesrest.BaseReq `json:"base_req" yaml:"base_req"`
	Title       string            `json:"title" yaml:"title"`
	Description string            `json:"description" yaml:"description"`
	Deposit     sdk.Coins         `json:"deposit" yaml:"deposit"`
	Minter      types.Minter      `json:"minter" yaml:"minter"`
}

PlanRequest defines a proposal for a new upgrade plan.

Jump to

Keyboard shortcuts

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