Documentation
¶
Index ¶
- func RegisterChangeBurningFundAddressProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func RegisterChangeReserveFundAddressProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func RegisterPairRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- type RegisterChangeBurningFundAddressProposal
- type RegisterPairProposal
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"`
}
Click to show internal directories.
Click to hide internal directories.