Skip to content

Module: modules/claims

Table of contents

Enumerations

Classes

Interfaces

Type Aliases

Variables

Functions

Type Aliases

IssueClaim

Ƭ IssueClaim: Object

Type declaration

Name Type
issuer string
message IClaimIssuance

RejectClaim

Ƭ RejectClaim: Object

Type declaration

Name Type
issuer string
message IClaimRejection

RequestClaim

Ƭ RequestClaim: Object

Type declaration

Name Type
message IClaimRequest
requester string

Variables

agreement_type_hash

Const agreement_type_hash: string


erc712_type_hash

Const erc712_type_hash: string


eternityTimestamp

Const eternityTimestamp: number


proof_type_hash

Const proof_type_hash: string


typedMsgPrefix

Const typedMsgPrefix: "1901"

Functions

readyToBeRegisteredOnchain

readyToBeRegisteredOnchain(claim): claim is Required<Pick<Claim, "claimType" | "claimTypeVersion" | "subject" | "onChainProof" | "acceptedBy"> & Object>

Parameters

Name Type
claim unknown

Returns

claim is Required<Pick<Claim, "claimType" | "claimTypeVersion" | "subject" | "onChainProof" | "acceptedBy"> & Object>