rest

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 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 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 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