keeper

package
v6.7.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServer

func NewMsgServer(kb Builder) auction.MsgServer

NewMsgServer returns an implementation of auction.MsgServer

func NewQuerier

func NewQuerier(kb Builder) auction.QueryServer

Types

type Builder

type Builder struct {
	Accs SubAccounts
	// contains filtered or unexported fields
}

func (Builder) Keeper

func (kb Builder) Keeper(ctx *sdk.Context) Keeper

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis() (*auction.GenesisState, error)

func (Keeper) FinalizeRewardsAuction

func (k Keeper) FinalizeRewardsAuction() error

func (Keeper) GetRewardsParams

func (k Keeper) GetRewardsParams() (params auction.RewardsParams)

GetRewardsParams gets the x/uibc module's parameters.

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(g *auction.GenesisState) error

func (Keeper) SetRewardsParams

func (k Keeper) SetRewardsParams(p *auction.RewardsParams, byEmergencyGroup bool) error

SetRewardsParams sets params

type Querier

type Querier struct {
	Builder
}

Querier implements a QueryServer for the x/uibc module.

func (Querier) RewardsAuction

RewardsAuction returns params of the x/auction module. Bidder and Bid are nul if there is no active auction.

func (Querier) RewardsAuctions

RewardsAuctions returns all the auctions with bids and rewards

func (Querier) RewardsParams

Params returns params of the x/auction module.

type SubAccounts

type SubAccounts struct {
	// Account used to collect rewards
	RewardsCollect []byte
}

Jump to

Keyboard shortcuts

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