Skip to content

Type Alias: KeyHolderJudge

TypeScript
type KeyHolderJudge = (address: string, evidence: KeyHolderEvidence) => Promise<KeyHolderVerdict> & {
  judgeMany?: KeyHolderJudgeMany;
};

Defined in: vote-core/src/key-holder.ts:23 (opens in a new tab)

The key-holder rule for a signature that already verifies for address, as @orangecheck/keys keyHolderJudge gives it. Where it carries judgeMany, as keys' does, a verification with many signatures judges them in one call.

Type DeclarationLink to this section

NameTypeDefined in
judgeMany?KeyHolderJudgeManyvote-core/src/key-holder.ts:24 (opens in a new tab)