Type Alias: ContractFunctionName<abi, mutability>
type ContractFunctionName<abi, mutability>: ExtractAbiFunctionNames<abi extends Abi ? abi : Abi, mutability> extends infer functionName ? [functionName] extends [never] ? string : functionName : string;
Type Parameters
Type Parameter | Default type |
---|---|
|
|
|
|
Defined
@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:42