Documentation ¶
Index ¶
- Variables
- func MigratePoolContractsProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- func UploadCodeIdAndWhitelistProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
- type Querier
- func (q Querier) ContractInfoByPoolId(ctx sdk.Context, req queryproto.ContractInfoByPoolIdRequest) (*queryproto.ContractInfoByPoolIdResponse, error)
- func (q Querier) Params(ctx sdk.Context, req queryproto.ParamsRequest) (*queryproto.ParamsResponse, error)
- func (q Querier) Pools(ctx sdk.Context, req queryproto.PoolsRequest) (*queryproto.PoolsResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UploadCodeIdAndWhitelistProposalHandler = govclient.NewProposalHandler(cli.NewCmdUploadCodeIdAndWhitelistProposal, UploadCodeIdAndWhitelistProposalRESTHandler) MigratePoolContractsProposalHandler = govclient.NewProposalHandler(cli.NewCmdMigratePoolContractsProposal, MigratePoolContractsProposalRESTHandler) )
Functions ¶
func MigratePoolContractsProposalRESTHandler ¶
func MigratePoolContractsProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
func UploadCodeIdAndWhitelistProposalRESTHandler ¶
func UploadCodeIdAndWhitelistProposalRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler
Types ¶
type Querier ¶
type Querier struct {
K cosmwasmpool.Keeper
}
func NewQuerier ¶
func NewQuerier(k cosmwasmpool.Keeper) Querier
func (Querier) ContractInfoByPoolId ¶
func (q Querier) ContractInfoByPoolId(ctx sdk.Context, req queryproto.ContractInfoByPoolIdRequest, ) (*queryproto.ContractInfoByPoolIdResponse, error)
func (Querier) Params ¶
func (q Querier) Params(ctx sdk.Context, req queryproto.ParamsRequest, ) (*queryproto.ParamsResponse, error)
func (Querier) Pools ¶
func (q Querier) Pools(ctx sdk.Context, req queryproto.PoolsRequest, ) (*queryproto.PoolsResponse, error)
Directories ¶
Path | Synopsis |
---|---|
Package queryproto is a reverse proxy.
|
Package queryproto is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.