Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AppendPayloadLink(ctx sdk.Context, key string, value string) error
- func (k Keeper) AppendSignature(ctx sdk.Context, storageKey string, signature types.Signature) string
- func (k Keeper) CreateReferenceId(goCtx context.Context, req *types.QueryCreateReferenceIdRequest) (*types.QueryCreateReferenceIdResponse, error)
- func (k Keeper) CreateReferencePayloadLink(goCtx context.Context, req *types.QueryCreateReferencePayloadLinkRequest) (*types.QueryCreateReferencePayloadLinkResponse, error)
- func (k Keeper) CreateStorageKey(goCtx context.Context, req *types.QueryCreateStorageKeyRequest) (*types.QueryCreateStorageKeyResponse, error)
- func (k Keeper) GetAccountInfo(goCtx context.Context, req *types.QueryGetAccountInfoRequest) (*types.QueryGetAccountInfoResponse, error)
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) GetPayloadLink(ctx sdk.Context, referenceID string) (string, error)
- func (k Keeper) GetReferencePayloadLink(goCtx context.Context, req *types.QueryGetReferencePayloadLinkRequest) (*types.QueryGetReferencePayloadLinkResponse, error)
- func (k Keeper) GetSignature(ctx sdk.Context, storageKey string) (*types.Signature, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error
- func (k Keeper) VerifyReferencePayloadLink(goCtx context.Context, req *types.QueryVerifyReferencePayloadLinkRequest) (*types.QueryVerifyReferencePayloadLinkResponse, error)
- func (k Keeper) VerifySignature(goCtx context.Context, req *types.QueryVerifySignatureRequest) (*types.QueryVerifySignatureResponse, 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, proto codec.JSONCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, authKeeper types.AccountKeeper, ) *Keeper
func (Keeper) AppendPayloadLink ¶
func (Keeper) AppendSignature ¶
func (Keeper) CreateReferenceId ¶
func (k Keeper) CreateReferenceId(goCtx context.Context, req *types.QueryCreateReferenceIdRequest) (*types.QueryCreateReferenceIdResponse, error)
CreateReferenceID creates a referenceID and verifies that is has not been used yet
func (Keeper) CreateReferencePayloadLink ¶
func (k Keeper) CreateReferencePayloadLink(goCtx context.Context, req *types.QueryCreateReferencePayloadLinkRequest) (*types.QueryCreateReferencePayloadLinkResponse, error)
func (Keeper) CreateStorageKey ¶
func (k Keeper) CreateStorageKey(goCtx context.Context, req *types.QueryCreateStorageKeyRequest) (*types.QueryCreateStorageKeyResponse, error)
func (Keeper) GetAccountInfo ¶
func (k Keeper) GetAccountInfo(goCtx context.Context, req *types.QueryGetAccountInfoRequest) (*types.QueryGetAccountInfoResponse, error)
func (Keeper) GetPayloadLink ¶
func (Keeper) GetReferencePayloadLink ¶
func (k Keeper) GetReferencePayloadLink(goCtx context.Context, req *types.QueryGetReferencePayloadLinkRequest) (*types.QueryGetReferencePayloadLinkResponse, error)
func (Keeper) GetSignature ¶
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) VerifyReferencePayloadLink ¶
func (k Keeper) VerifyReferencePayloadLink(goCtx context.Context, req *types.QueryVerifyReferencePayloadLinkRequest) (*types.QueryVerifyReferencePayloadLinkResponse, error)
func (Keeper) VerifySignature ¶
func (k Keeper) VerifySignature(goCtx context.Context, req *types.QueryVerifySignatureRequest) (*types.QueryVerifySignatureResponse, error)
Source Files ¶
- grpc_query.go
- grpc_query_create_reference_id.go
- grpc_query_create_reference_payload_link.go
- grpc_query_create_storage_key.go
- grpc_query_get_account_info.go
- grpc_query_get_reference_payload_link.go
- grpc_query_params.go
- grpc_query_verify_reference_payload_link.go
- grpc_query_verify_signature.go
- keeper.go
- msg_server.go
- msg_server_create_account.go
- msg_server_publish_reference_payload_link.go
- msg_server_store_signature.go
- params.go
- signature.go
Click to show internal directories.
Click to hide internal directories.