Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) AllClaims(ctx context.Context, req *types.QueryAllClaimsRequest) (*types.QueryAllClaimsResponse, error)
- func (k Keeper) AllProofs(ctx context.Context, req *types.QueryAllProofsRequest) (*types.QueryAllProofsResponse, error)
- func (k Keeper) Claim(ctx context.Context, req *types.QueryGetClaimRequest) (*types.QueryGetClaimResponse, error)
- func (k Keeper) GetAllClaims(ctx context.Context) (claims []types.Claim)
- func (k Keeper) GetAllProofs(ctx context.Context) (proofs []types.Proof)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetClaim(ctx context.Context, sessionId, supplierAddr string) (_ types.Claim, isClaimFound bool)
- func (k Keeper) GetParams(ctx context.Context) (params types.Params)
- func (k Keeper) GetProof(ctx context.Context, sessionId, supplierAddr string) (_ types.Proof, isProofFound bool)
- func (k Keeper) Logger() log.Logger
- func (k Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) Proof(ctx context.Context, req *types.QueryGetProofRequest) (*types.QueryGetProofResponse, error)
- func (k Keeper) RemoveClaim(ctx context.Context, sessionId, supplierAddr string)
- func (k Keeper) RemoveProof(ctx context.Context, sessionId, supplierAddr string)
- func (k Keeper) SetParams(ctx context.Context, params types.Params) error
- func (k Keeper) UpsertClaim(ctx context.Context, claim types.Claim)
- func (k Keeper) UpsertProof(ctx context.Context, proof types.Proof)
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, storeService store.KVStoreService, logger log.Logger, authority string, sessionKeeper types.SessionKeeper, applicationKeeper types.ApplicationKeeper, accountKeeper types.AccountKeeper, sharedKeeper types.SharedKeeper, ) Keeper
func (Keeper) AllClaims ¶
func (k Keeper) AllClaims(ctx context.Context, req *types.QueryAllClaimsRequest) (*types.QueryAllClaimsResponse, error)
func (Keeper) AllProofs ¶
func (k Keeper) AllProofs(ctx context.Context, req *types.QueryAllProofsRequest) (*types.QueryAllProofsResponse, error)
func (Keeper) Claim ¶
func (k Keeper) Claim(ctx context.Context, req *types.QueryGetClaimRequest) (*types.QueryGetClaimResponse, error)
func (Keeper) GetAllClaims ¶
GetAllClaims returns all claim
func (Keeper) GetAllProofs ¶
GetAllProofs returns all proof
func (Keeper) GetAuthority ¶
GetAuthority returns the module's authority.
func (Keeper) GetClaim ¶
func (k Keeper) GetClaim(ctx context.Context, sessionId, supplierAddr string) (_ types.Claim, isClaimFound bool)
GetClaim returns a claim from its index
func (Keeper) GetProof ¶
func (k Keeper) GetProof(ctx context.Context, sessionId, supplierAddr string) (_ types.Proof, isProofFound bool)
GetProof returns a proof from its index
func (Keeper) Params ¶
func (k Keeper) Params(ctx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) Proof ¶
func (k Keeper) Proof(ctx context.Context, req *types.QueryGetProofRequest) (*types.QueryGetProofResponse, error)
func (Keeper) RemoveClaim ¶
RemoveClaim removes a claim from the store
func (Keeper) RemoveProof ¶
RemoveProof removes a proof from the store
func (Keeper) UpsertClaim ¶
UpsertClaim set a specific claim in the store from its index
Click to show internal directories.
Click to hide internal directories.