Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GetProposal(ctx sdk.Context, propId string) (val *types.Proposal, found bool)
- func (k Keeper) GetProposalLife(goCtx context.Context, req *types.QueryGetProposalLifeRequest) (*types.QueryGetProposalLifeResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) ProposalLife(ctx sdk.Context) int64
- func (keeper Keeper) Router() types.Router
- func (k Keeper) SetProposal(ctx sdk.Context, proposal *types.Proposal)
- func (k Keeper) SetProposalLife(ctx sdk.Context, proposalLife int64)
- type Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
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 (Keeper) GetProposalLife ¶
func (k Keeper) GetProposalLife(goCtx context.Context, req *types.QueryGetProposalLifeRequest) (*types.QueryGetProposalLifeResponse, error)
type Querier ¶
type Querier struct {
Keeper
}
func (Querier) GetProposal ¶
func (q Querier) GetProposal(goCtx context.Context, req *types.QueryGetProposalRequest) (*types.QueryGetProposalResponse, error)
Click to show internal directories.
Click to hide internal directories.