@iexec/dataprotector
Version:
This product enables users to confidentially store data–such as mail address, documents, personal information ...
4 lines (3 loc) • 417 B
TypeScript
import { AddToCollectionParams, SharingContractConsumer, SuccessWithTransactionHash } from '../types/index.js';
import { IExecConsumer } from '../types/internalTypes.js';
export declare const addToCollection: ({ iexec, sharingContractAddress, collectionId, protectedData, addOnlyAppWhitelist, onStatusUpdate, }: IExecConsumer & SharingContractConsumer & AddToCollectionParams) => Promise<SuccessWithTransactionHash>;