UNPKG

zodor-protocol-web3

Version:

SDK to interact with zodor protocol

26 lines 1.12 kB
import { ContractRunner, ethers } from 'ethers'; import { IdentityCategories, Network } from '../types'; export declare class IdentityRegistry { readonly contract: ethers.Contract; readonly network: Network; constructor(options: { network: Network; contractRunner?: ContractRunner; privateKey?: string; customRpcUrl?: string; }); createIdentity(options: { walletAddress: string; taxDomicile: string; jurisdiction: string; category: IdentityCategories; }): Promise<any>; isIdentityVerifed(walletAddress: string): Promise<boolean>; getEntityCategory(walletAddress: string): Promise<IdentityCategories>; getEntityJurisdiction(walletAddress: string): Promise<string>; updateRiskScore(walletAddress: string, score: number): Promise<any>; addJurisdiction(walletAddress: string, jurisdiction: string): Promise<any>; restrictIdentity(walletAddress: string, reason: string, status: boolean): Promise<any>; blacklistAddress(walletAddress: string): Promise<any>; } //# sourceMappingURL=identityregistry.d.ts.map