rest

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterChangeBurningFundAddressProposalRESTHandler

func RegisterChangeBurningFundAddressProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeReserveFundAddressProposalRESTHandler added in v0.1.1

func RegisterChangeReserveFundAddressProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterDeletePairProposalRESTHandler added in v0.2.0

func RegisterDeletePairProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterPairRESTHandler

func RegisterPairRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

Types

type RegisterChangeBurningFundAddressProposal

type RegisterChangeBurningFundAddressProposal 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"`
	Address     string       `json:"address" yaml:"address"`
}

type RegisterChangeReserveFundAddressProposal added in v0.1.5

type RegisterChangeReserveFundAddressProposal 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"`
	Address     string       `json:"address" yaml:"address"`
}

type RegisterDeletePairProposal added in v0.2.0

type RegisterDeletePairProposal 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"`
	PairID      string       `json:"pairid" yaml:"pairid"`
}

type RegisterPairProposal

type RegisterPairProposal 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"`
	AmountInMetadata  banktypes.Metadata `json:"amountInMetadata" yaml:"amountInMetadata"`
	AmountOutMetadata banktypes.Metadata `json:"amountOutMetadata" yaml:"amountOutMetadata"`
	MinAmountIn       string             `json:"minAmountIn" yaml:"minAmountIn"`
	MinAmountOut      string             `json:"minAmountOut" yaml:"minAmountOut"`
}

Jump to

Keyboard shortcuts

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