UNPKG

@investorid/identity-sdk

Version:
10 lines (9 loc) 405 B
import { Key, KeyPurpose, KeyType } from "./Key.interface"; import * as ERC725ABI from "../../resources/contracts/ERC725.json"; export { ERC725ABI }; export interface ERC725 { getKey(key: string): Promise<Key>; getKeyPurpose(key: string): Promise<KeyPurpose>; getKeysByPurpose(purpose: KeyPurpose): Promise<Key[]>; addKey(key: string, purpose: KeyPurpose, type: KeyType): Promise<void>; }