keeper

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey sdk.StoreKey,

	sudoKeeper types.SudoKeeper,
	relayerKeeper types.RelayerKeeper,
	rtr types.Router,
) *Keeper

func (Keeper) GetProposal

func (k Keeper) GetProposal(ctx sdk.Context, propId string) (val *types.Proposal, found bool)

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) ProposalLife

func (k Keeper) ProposalLife(ctx sdk.Context) int64

func (Keeper) Router

func (keeper Keeper) Router() types.Router

Router returns rvoteKeeper's Router

func (Keeper) SetProposal

func (k Keeper) SetProposal(ctx sdk.Context, proposal *types.Proposal)

func (Keeper) SetProposalLife

func (k Keeper) SetProposalLife(ctx sdk.Context, proposalLife int64)

type Querier

type Querier struct {
	Keeper
}

func (Querier) GetProposal

Jump to

Keyboard shortcuts

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