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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAssetProposalRESTHandler added in v0.2.5

func RegisterAssetProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeBorrowMethodStatusProposalRESTHandler added in v0.2.1

func RegisterChangeBorrowMethodStatusProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeBorrowRateProposalRESTHandler

func RegisterChangeBorrowRateProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeCollateralMethodStatusProposalRESTHandler added in v0.2.1

func RegisterChangeCollateralMethodStatusProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeDepositMethodStatusProposalRESTHandler added in v0.2.1

func RegisterChangeDepositMethodStatusProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeGrowStakingReserveAddressProposalRESTHandler

func RegisterChangeGrowStakingReserveAddressProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeGrowYieldReserveAddressProposalRESTHandler

func RegisterChangeGrowYieldReserveAddressProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeLendRateProposalRESTHandler added in v0.2.1

func RegisterChangeLendRateProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeRealRateProposalRESTHandler

func RegisterChangeRealRateProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterChangeUSQReserveAddressProposalRESTHandler

func RegisterChangeUSQReserveAddressProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterGTokenPairProposalRESTHandler

func RegisterGTokenPairProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterRemoveAssetProposalRESTHandler added in v0.2.5

func RegisterRemoveAssetProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

func RegisterRemoveGTokenPairProposalRESTHandler

func RegisterRemoveGTokenPairProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

Types

type RegisterAssetProposal added in v0.2.5

type RegisterAssetProposal 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"`
	AssetMetadata banktypes.Metadata `json:"assetMetadata" yaml:"assetMetadata"`
	OracleAssetId string             `json:"oracleAssetId" yaml:"oracleAssetId"`
}

type RegisterChangeBorrowMethodStatusProposal added in v0.2.1

type RegisterChangeBorrowMethodStatusProposal 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"`
}

type RegisterChangeBorrowRateProposal

type RegisterChangeBorrowRateProposal 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"`
	Rate        uint64       `json:"rate" yaml:"rate"`
}

type RegisterChangeCollateralMethodStatusProposal added in v0.2.1

type RegisterChangeCollateralMethodStatusProposal 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"`
}

type RegisterChangeDepositMethodStatusProposal added in v0.2.1

type RegisterChangeDepositMethodStatusProposal 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"`
}

type RegisterChangeGrowStakingReserveAddressProposal

type RegisterChangeGrowStakingReserveAddressProposal 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 RegisterChangeGrowYieldReserveAddressProposal

type RegisterChangeGrowYieldReserveAddressProposal 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 RegisterChangeLendRateProposal added in v0.2.1

type RegisterChangeLendRateProposal 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"`
	Rate        uint64       `json:"rate" yaml:"rate"`
	Id          string       `json:"id" yaml:"id"`
}

type RegisterChangeRealRateProposal

type RegisterChangeRealRateProposal 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"`
	Rate        uint64       `json:"rate" yaml:"rate"`
}

type RegisterChangeUSQReserveAddressProposal

type RegisterChangeUSQReserveAddressProposal 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 RegisterGTokenPairProposal

type RegisterGTokenPairProposal 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"`
	GTokenMetadata banktypes.Metadata `json:"gTokenMetadata" yaml:"gTokenMetadata"`
	QStablePairId  string             `json:"qStablePairId" yaml:"qStablePairId"`
	MinAmountIn    string             `json:"minAmountIn" yaml:"minAmountIn"`
	MinAmountOut   string             `json:"minAmountOut" yaml:"minAmountOut"`
}

type RegisterRemoveAssetProposal added in v0.2.5

type RegisterRemoveAssetProposal 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"`
	AssetId     string       `json:"AssetId" yaml:"AssetId"`
}

type RegisterRemoveGTokenPairProposal

type RegisterRemoveGTokenPairProposal 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"`
	GTokenPairID string       `json:"AssetId" yaml:"AssetId"`
}

Jump to

Keyboard shortcuts

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