bindings

package
v0.2.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

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 (q *QueryPlugin) GetAlliance(ctx sdk.Context, denom string) (res []byte, err error)

func (*QueryPlugin) GetDelegation

func (q *QueryPlugin) GetDelegation(ctx sdk.Context, denom string, delegator string, validator string) (res []byte, err error)

func (*QueryPlugin) GetDelegationRewards

func (q *QueryPlugin) GetDelegationRewards(ctx sdk.Context, denom string, delegator string, validator string) (res []byte, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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