Functions
Const process
- process<I, O>(inputs: { compiler: { name: string | undefined; version: string | undefined; }; contracts: I[]; db?: { compilation: { compiler: never; sources: never; processedSources: never; sourceMaps: never; contracts: never; immutableReferences: never; id: string; type: never; } | { sources: never; id: string; compiler: never; processedSources: never; sourceMaps: never; immutableReferences: never; }; }; sourceIndexes: string[]; sources: { sourcePath: string; contents: string; ast?: object | undefined; legacyAST?: object | undefined; language: string; }[] }[]): Generator<Web3Request | GraphQlRequest, { compiler: { name: string | undefined; version: string | undefined; }; contracts: (I & O)[]; db?: { compilation: { compiler: never; sources: never; processedSources: never; sourceMaps: never; contracts: never; immutableReferences: never; id: string; type: never; } | { sources: never; id: string; compiler: never; processedSources: never; sourceMaps: never; immutableReferences: never; }; }; sourceIndexes: string[]; sources: { sourcePath: string; contents: string; ast?: object | undefined; legacyAST?: object | undefined; language: string; }[] }[], any>
-
Type parameters
-
I: Contract<{ compilation: { db: { compilation: IdObject<Collections, "compilations", Compilation> | IdObject<Collections, "compilations", SavedInput<Collections, "compilations">> } }; contract: { abi: any; contractName: string; db: { callBytecode: IdObject<Collections, "bytecodes", Bytecode> | IdObject<Collections, "bytecodes", SavedInput<Collections, "bytecodes">>; createBytecode: IdObject<Collections, "bytecodes", Bytecode> | IdObject<Collections, "bytecodes", SavedInput<Collections, "bytecodes">> }; deployedGeneratedSources?: undefined | { ast: any; contents: string; id: number; language: string; name: string }[]; generatedSources?: undefined | { ast: any; contents: string; id: number; language: string; name: string }[]; sourcePath: string }; entry: ContractInput; resources: { contract: undefined | IdObject<Collections, "contracts", Contract> | IdObject<Collections, "contracts", SavedInput<Collections, "contracts">> }; result: undefined | IdObject<Collections, "contracts", Contract> | IdObject<Collections, "contracts", SavedInput<Collections, "contracts">>; source: {} }>
-
O: CompiledContract & { abi: any; contractName: string; db: { callBytecode: IdObject<Collections, "bytecodes", Bytecode> | IdObject<Collections, "bytecodes", SavedInput<Collections, "bytecodes">>; createBytecode: IdObject<Collections, "bytecodes", Bytecode> | IdObject<Collections, "bytecodes", SavedInput<Collections, "bytecodes">> }; deployedGeneratedSources?: undefined | { ast: any; contents: string; id: number; language: string; name: string }[]; generatedSources?: undefined | { ast: any; contents: string; id: number; language: string; name: string }[]; sourcePath: string } & { db: { contract: undefined | IdObject<Collections, "contracts", Contract> | IdObject<Collections, "contracts", SavedInput<Collections, "contracts">> } }
Parameters
-
inputs: { compiler: { name: string | undefined; version: string | undefined; }; contracts: I[]; db?: { compilation: { compiler: never; sources: never; processedSources: never; sourceMaps: never; contracts: never; immutableReferences: never; id: string; type: never; } | { sources: never; id: string; compiler: never; processedSources: never; sourceMaps: never; immutableReferences: never; }; }; sourceIndexes: string[]; sources: { sourcePath: string; contents: string; ast?: object | undefined; legacyAST?: object | undefined; language: string; }[] }[]
Returns Generator<Web3Request | GraphQlRequest, { compiler: { name: string | undefined; version: string | undefined; }; contracts: (I & O)[]; db?: { compilation: { compiler: never; sources: never; processedSources: never; sourceMaps: never; contracts: never; immutableReferences: never; id: string; type: never; } | { sources: never; id: string; compiler: never; processedSources: never; sourceMaps: never; immutableReferences: never; }; }; sourceIndexes: string[]; sources: { sourcePath: string; contents: string; ast?: object | undefined; legacyAST?: object | undefined; language: string; }[] }[], any>