@keypo/synapse-storage-sdk
Version:
TypeScript SDK for encrypted file storage on Filecoin via Synapse
13 lines • 643 B
TypeScript
export interface PermissionParameters {
permissionType: number;
permissionAddress: string;
tokenQuantity: number;
timeLimitBlockNumber: number;
operator: number;
}
/**
* Deploy file and write permissions to the PermissionsRegistry
*/
export declare const deployPermissionedData: (fileIdentifier: string, fileMetaData: string, kernelClient: any, // Using any for now since we need the kernel client's methods
signerAddress: string, contractAddress: string, validatorAddress: string, abi: any, customParameters?: PermissionParameters[], debug?: boolean) => Promise<any>;
//# sourceMappingURL=deployPermissionedData.d.ts.map