@iexec/web3telegram
Version:
Enables secure, blockchain-based messaging by encrypting Telegram user IDs for privacy. It lets users message Ethereum account holders without knowing their Telegram details.
47 lines (46 loc) • 1.93 kB
TypeScript
import { IExec } from 'iexec';
export declare const isValidProvider: (iexec: IExec) => Promise<void>;
export declare const throwIfMissing: () => never;
export declare const isEnsTest: (value: string) => boolean;
export declare const addressOrEnsSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
export declare const addressSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
export declare const telegramContentSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
export declare const senderNameSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
export declare const labelSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
export declare const positiveNumberSchema: () => import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">;
export declare const booleanSchema: () => import("yup").BooleanSchema<boolean, import("yup").AnyObject, undefined, "">;
export declare const campaignRequestSchema: () => import("yup").ObjectSchema<{
app: string;
appmaxprice: string;
workerpool: string;
workerpoolmaxprice: string;
dataset: string;
datasetmaxprice: "0";
params: string;
requester: string;
beneficiary: string;
callback: string;
category: string;
volume: string;
tag: string;
trust: string;
salt: string;
sign: string;
}, import("yup").AnyObject, {
app: undefined;
appmaxprice: undefined;
workerpool: undefined;
workerpoolmaxprice: undefined;
dataset: undefined;
datasetmaxprice: undefined;
params: undefined;
requester: undefined;
beneficiary: undefined;
callback: undefined;
category: undefined;
volume: undefined;
tag: undefined;
trust: undefined;
salt: undefined;
sign: undefined;
}, "">;