Type Alias: ExtractAbiFunctionForArgs<abi, mutability, functionName, args>
type ExtractAbiFunctionForArgs<abi, mutability, functionName, args>: ExtractAbiFunction<abi, functionName, mutability> extends infer abiFunction ? IsUnion<abiFunction> extends true ? UnionToTuple<abiFunction> extends infer abiFunctions ? { [k in keyof abiFunctions]: CheckArgs<abiFunctions[k], args> }[number] : never : abiFunction : never;
Type Parameters
Type Parameter |
---|
|
|
|
|
Defined
@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:159