PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@celo/contractkit/lib/identity/claims

Просмотр файла: account.d.ts

import * as t from 'io-ts';
import { ClaimTypes } from './types';
/**
 *
 * Provide the type minus the validation that the public key and address are derived from the same private key
 */
export declare const AccountClaimTypeH: t.TypeC<{
    type: t.LiteralC<ClaimTypes.ACCOUNT>;
    timestamp: t.NumberC;
    address: t.Type<string, string, unknown>;
    publicKey: t.UnionC<[t.UndefinedC, t.Type<string, string, unknown>]>;
}>;
export declare const AccountClaimType: t.Type<{
    type: ClaimTypes.ACCOUNT;
    timestamp: number;
    address: string;
    publicKey: string | undefined;
}, any, unknown>;
export declare type AccountClaim = t.TypeOf<typeof AccountClaimTypeH>;
export declare const createAccountClaim: (address: string, publicKey?: string) => AccountClaim;

Выполнить команду


Для локальной разработки. Не используйте в интернете!