distribution

package
v0.0.4-testnet.mage Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQueryServer

func NewQueryServer(distrKeeper distrkeeper.Keeper, commKeeper CommunityKeeper) distrtypes.QueryServer

NewQueryServer returns a grpc query server for the distribution module. It forwards most requests to the distribution keeper, except for the community pool request which is mapped to the mage community module.

Types

type CommunityKeeper

type CommunityKeeper interface {
	GetModuleAccountBalance(sdk.Context) sdk.Coins
}

CommunityKeeper defines the contract needed to be fulfilled for community module dependencies.

Jump to

Keyboard shortcuts

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