light-curate-data-service
Version:
A TypeScript library for interacting with LightGeneralizedTCR contracts
15 lines (14 loc) • 900 B
TypeScript
import * as klerosIpfsUtils from "./ipfs";
import { LightCurateRegistry } from "./web3";
import * as graphUtils from "./graph";
export { LightCurateRegistry };
export declare const ipfs: typeof klerosIpfsUtils;
export declare const graph: typeof graphUtils;
export declare const uploadToIPFS: (data: Uint8Array, fileName: string) => Promise<string>, uploadJSONToIPFS: (data: any) => Promise<string>, fetchFromIPFS: typeof klerosIpfsUtils.fetchFromIPFS;
export declare const fetchItems: typeof graphUtils.fetchItems, fetchItemsById: typeof graphUtils.fetchItemsById, fetchItemsByStatus: typeof graphUtils.fetchItemsByStatus, clearItemsCache: typeof graphUtils.clearItemsCache;
export declare const SUPPORTED_CHAINS: {
readonly ETHEREUM_MAINNET: 1;
readonly GNOSIS_CHAIN: 100;
};
export type SupportedChainId = (typeof SUPPORTED_CHAINS)[keyof typeof SUPPORTED_CHAINS];
export * from "./types";