keeper

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QuerySeedInfo  = "seed"
	QueryRoundInfo = "round"
	QueryRoundIDs  = "round_ids"
)

Query endpoints

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(keeper Keeper) sdk.Querier

NewQuerier -

Types

type Keeper

type Keeper struct {
	CoinKeeper bank.Keeper
	// contains filtered or unexported fields
}

Keeper -

func NewKeeper

func NewKeeper(coinKeeper bank.Keeper, storeKey sdk.StoreKey, cdc *codec.Codec) Keeper

NewKeeper -

func (Keeper) GetIDsIterator

func (k Keeper) GetIDsIterator(ctx sdk.Context) sdk.Iterator

GetIDsIterator -

func (Keeper) GetOwner

func (k Keeper) GetOwner(ctx sdk.Context, id string) sdk.AccAddress

GetOwner -

func (Keeper) GetRound

func (k Keeper) GetRound(ctx sdk.Context, id string) types.Round

GetRound -

func (Keeper) GetTargets

func (k Keeper) GetTargets(ctx sdk.Context, id string) []string

GetTargets -

func (Keeper) IsIDPresent

func (k Keeper) IsIDPresent(ctx sdk.Context, id string) bool

IsIDPresent -

func (Keeper) SetNonce

func (k Keeper) SetNonce(ctx sdk.Context, id string, nonce string)

SetNonce -

func (Keeper) SetRound

func (k Keeper) SetRound(ctx sdk.Context, id string, round types.Round)

SetRound -

func (Keeper) SetTargets

func (k Keeper) SetTargets(ctx sdk.Context, id string, targets []string)

SetTargets -

Jump to

Keyboard shortcuts

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