Documentation ¶
Index ¶
- func CustomQuerier(q *QueryPlugin) func(ctx sdk.Context, request json.RawMessage) (result []byte, err error)
- type QueryPlugin
- func (q *QueryPlugin) GetAlliance(ctx sdk.Context, denom string) (res []byte, err error)
- func (q *QueryPlugin) GetDelegation(ctx sdk.Context, denom string, delegator string, validator string) (res []byte, err error)
- func (q *QueryPlugin) GetDelegationRewards(ctx sdk.Context, denom string, delegator string, validator string) (res []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomQuerier ¶
func CustomQuerier(q *QueryPlugin) func(ctx sdk.Context, request json.RawMessage) (result []byte, err error)
Types ¶
type QueryPlugin ¶
type QueryPlugin struct {
// contains filtered or unexported fields
}
func NewAllianceQueryPlugin ¶
func NewAllianceQueryPlugin(keeper keeper.Keeper) *QueryPlugin
func (*QueryPlugin) GetAlliance ¶
func (*QueryPlugin) GetDelegation ¶
func (*QueryPlugin) GetDelegationRewards ¶
Click to show internal directories.
Click to hide internal directories.