Documentation
¶
Index ¶
- func GetPodKeyByte(stationId string, podNumber uint64) (string, []byte)
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) ConfirmPodVerification(goCtx context.Context, req *types.QueryConfirmPodVerificationRequest) (*types.QueryConfirmPodVerificationResponse, error)
- func (k Keeper) ConfirmPodVerificationHelper(ctx sdk.Context, request *types.QueryConfirmPodVerificationRequest) error
- func (k Keeper) GetLatestSubmittedPodNumber(goCtx context.Context, req *types.QueryGetLatestSubmittedPodNumberRequest) (*types.QueryGetLatestSubmittedPodNumberResponse, error)
- func (k Keeper) GetLatestVerifiedPodNumber(goCtx context.Context, req *types.QueryGetLatestVerifiedPodNumberRequest) (*types.QueryGetLatestVerifiedPodNumberResponse, error)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetPod(goCtx context.Context, req *types.QueryGetPodRequest) (*types.QueryGetPodResponse, error)
- func (k Keeper) GetPodHelper(ctx sdk.Context, stationId string, podNumber uint64) (pods types.Pods, sdkErr *sdkerrors.Error)
- func (k Keeper) GetStation(goCtx context.Context, req *types.QueryGetStationRequest) (*types.QueryGetStationResponse, error)
- func (k Keeper) GetStationDetailsByAddress(goCtx context.Context, req *types.QueryGetStationDetailsByAddressRequest) (*types.QueryGetStationDetailsByAddressResponse, error)
- func (k Keeper) GetStationIdByAddressHelper(ctx sdk.Context, address string) (stationId string, found bool)
- func (k Keeper) ListStations(goCtx context.Context, req *types.QueryListStationsRequest) (*types.QueryListStationsResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SubmitPodHelper(ctx sdk.Context, msg *types.MsgSubmitPod) *sdkerrors.Error
- func (k Keeper) VerifyPodHelper(ctx sdk.Context, msg *types.MsgVerifyPod) 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 storetypes.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) ConfirmPodVerification ¶
func (k Keeper) ConfirmPodVerification(goCtx context.Context, req *types.QueryConfirmPodVerificationRequest) (*types.QueryConfirmPodVerificationResponse, error)
func (Keeper) ConfirmPodVerificationHelper ¶
func (Keeper) GetLatestSubmittedPodNumber ¶
func (k Keeper) GetLatestSubmittedPodNumber(goCtx context.Context, req *types.QueryGetLatestSubmittedPodNumberRequest) (*types.QueryGetLatestSubmittedPodNumberResponse, error)
func (Keeper) GetLatestVerifiedPodNumber ¶
func (k Keeper) GetLatestVerifiedPodNumber(goCtx context.Context, req *types.QueryGetLatestVerifiedPodNumberRequest) (*types.QueryGetLatestVerifiedPodNumberResponse, error)
func (Keeper) GetPod ¶
func (k Keeper) GetPod(goCtx context.Context, req *types.QueryGetPodRequest) (*types.QueryGetPodResponse, error)
func (Keeper) GetPodHelper ¶
func (Keeper) GetStation ¶
func (k Keeper) GetStation(goCtx context.Context, req *types.QueryGetStationRequest) (*types.QueryGetStationResponse, error)
func (Keeper) GetStationDetailsByAddress ¶
func (k Keeper) GetStationDetailsByAddress(goCtx context.Context, req *types.QueryGetStationDetailsByAddressRequest) (*types.QueryGetStationDetailsByAddressResponse, error)
func (Keeper) GetStationIdByAddressHelper ¶
func (Keeper) ListStations ¶
func (k Keeper) ListStations(goCtx context.Context, req *types.QueryListStationsRequest) (*types.QueryListStationsResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SubmitPodHelper ¶
func (Keeper) VerifyPodHelper ¶
Source Files
¶
- keeper.go
- msg_server.go
- msg_server_init_station.go
- msg_server_submit_pod.go
- msg_server_verify_pod.go
- params.go
- pod.helper.go
- query.go
- query_confirm_pod_verification.go
- query_get_latest_submitted_pod_number.go
- query_get_latest_verified_pod_number.go
- query_get_pod.go
- query_get_station.go
- query_get_station_details_by_address.go
- query_list_stations.go
- query_params.go
- station_helper.go
Click to show internal directories.
Click to hide internal directories.