Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AppendTestingResult(ctx sdk.Context, testingResult types.TestingResult)
- func (k Keeper) GetAllTestingResults(ctx sdk.Context) (list []types.TestingResults)
- func (k Keeper) GetTestingResults(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32) (val types.TestingResults, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) RemoveTestingResults(ctx sdk.Context, vid int32, pid int32, softwareVersion uint32)
- func (k Keeper) SetTestingResults(ctx sdk.Context, testingResults types.TestingResults)
- func (k Keeper) TestingResults(c context.Context, req *types.QueryGetTestingResultsRequest) (*types.QueryGetTestingResultsResponse, error)
- func (k Keeper) TestingResultsAll(c context.Context, req *types.QueryAllTestingResultsRequest) (*types.QueryAllTestingResultsResponse, error)
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, dclauthKeeper types.DclauthKeeper, modelKeeper types.ModelKeeper, ) *Keeper
func (Keeper) AppendTestingResult ¶
func (k Keeper) AppendTestingResult(ctx sdk.Context, testingResult types.TestingResult)
Add a testing result to the list of results.
func (Keeper) GetAllTestingResults ¶
func (k Keeper) GetAllTestingResults(ctx sdk.Context) (list []types.TestingResults)
GetAllTestingResults returns all testingResults.
func (Keeper) GetTestingResults ¶
func (k Keeper) GetTestingResults( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, ) (val types.TestingResults, found bool)
GetTestingResults returns a testingResults from its index.
func (Keeper) RemoveTestingResults ¶
func (k Keeper) RemoveTestingResults( ctx sdk.Context, vid int32, pid int32, softwareVersion uint32, )
RemoveTestingResults removes a testingResults from the store.
func (Keeper) SetTestingResults ¶
func (k Keeper) SetTestingResults(ctx sdk.Context, testingResults types.TestingResults)
SetTestingResults set a specific testingResults in the store from its index.
func (Keeper) TestingResults ¶
func (k Keeper) TestingResults(c context.Context, req *types.QueryGetTestingResultsRequest) (*types.QueryGetTestingResultsResponse, error)
func (Keeper) TestingResultsAll ¶
func (k Keeper) TestingResultsAll(c context.Context, req *types.QueryAllTestingResultsRequest) (*types.QueryAllTestingResultsResponse, error)
Click to show internal directories.
Click to hide internal directories.