rest

package
v6.2.0-bdjuno Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProposalReplacePoolIncentivesRESTHandler

func ProposalReplacePoolIncentivesRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func ProposalUpdatePoolIncentivesRESTHandler

func ProposalUpdatePoolIncentivesRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

Types

type ReplacePoolIncentivesRequest

type ReplacePoolIncentivesRequest struct {
	BaseReq     rest.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"`
	Records     []types.DistrRecord `json:"records" yaml:"records"`
}

type UpdatePoolIncentivesRequest

type UpdatePoolIncentivesRequest struct {
	BaseReq     rest.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"`
	Records     []types.DistrRecord `json:"records" yaml:"records"`
}

Jump to

Keyboard shortcuts

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