Type Alias: ContractFunctionParameters<abi, mutability, functionName, args, deployless, allFunctionNames, allArgs>
type ContractFunctionParameters<abi, mutability, functionName, args, deployless, allFunctionNames, allArgs>: object & readonly [] extends allArgs ? object : object & deployless extends true ? object : object;
Type declaration
abi
abi: abi;
args?
optional args: abi extends Abi ? UnionWiden<args> : never | allArgs;
functionName
functionName: allFunctionNames | functionName extends allFunctionNames ? functionName : never;
Type Parameters
Type Parameter | Default type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Defined
@nilfoundation/niljs/src/contract-factory/ContractFactory.ts:184