- Preparing search index...
- The search index is not available
@truffle/db
- process<I, O>(inputs): Generator<GraphQlRequest | Web3Request, {
artifacts: ({ [x: string]: string | number | boolean | any[] | { [x: string]: any; }; contractName?: string | undefined; abi: ({ type: "event"; name: string; inputs: { [x: string]: any; }[]; anonymous: boolean; } | ... 7 more ... | { ...; })[]; ... 19 more ...; db: { ...; }; })[];
network: { networkId: string; };
}, any>
-
Type Parameters
-
I extends NetworkObject
-
O extends Project.LoadMigrate.Batch.Output<{
artifact: {
db: {
callBytecode: Resources.IdObject<"bytecodes">;
contract: Resources.IdObject<"contracts">;
createBytecode: Resources.IdObject<"bytecodes">;
};
};
entry: Resources.IdObject<"contracts">;
produces: {
callBytecode?: {
linkReferences: null | {
name: null | string;
}[];
};
createBytecode?: {
linkReferences: null | {
name: null | string;
}[];
};
};
result: undefined | {
callBytecode?: {
linkReferences: null | {
name: null | string;
}[];
};
createBytecode?: {
linkReferences: null | {
name: null | string;
}[];
};
};
}>
Parameters
-
inputs: {
artifacts: ({ [x: string]: string | number | boolean | any[] | { [x: string]: any; }; contractName?: string | undefined; abi: ({ type: "event"; name: string; inputs: { [x: string]: any; }[]; anonymous: boolean; } | ... 7 more ... | { ...; })[]; ... 19 more ...; db: { ...; }; })[];
network: { networkId: string; };
}
-
artifacts: ({ [x: string]: string | number | boolean | any[] | { [x: string]: any; }; contractName?: string | undefined; abi: ({ type: "event"; name: string; inputs: { [x: string]: any; }[]; anonymous: boolean; } | ... 7 more ... | { ...; })[]; ... 19 more ...; db: { ...; }; })[]
-
network: { networkId: string; }
Returns Generator<GraphQlRequest | Web3Request, {
artifacts: ({ [x: string]: string | number | boolean | any[] | { [x: string]: any; }; contractName?: string | undefined; abi: ({ type: "event"; name: string; inputs: { [x: string]: any; }[]; anonymous: boolean; } | ... 7 more ... | { ...; })[]; ... 19 more ...; db: { ...; }; })[];
network: { networkId: string; };
}, any>