EncodeFunctionDataParameters
EncodeFunctionDataParameters<
abi
,functionName
,hasFunctions
,allArgs
,allFunctionNames
>:object
&UnionEvaluate
<IsNarrowable
<abi
,Abi
> extendstrue
?abi
["length"
] extends1
?object
:object
:object
> &UnionEvaluate
<readonly [] extendsallArgs
?object
:object
> &hasFunctions
extendstrue
?unknown
:never
Type declaration
abi
abi:
abi
Type parameters
• abi extends Abi
| readonly unknown
[] = Abi
• functionName extends ContractFunctionName
<abi
> | Hex
| undefined
= ContractFunctionName
<abi
>
• hasFunctions = abi
extends Abi
? Abi
extends abi
? true
: [ExtractAbiFunctions
<abi
>] extends [never
] ? false
: true
: true
• allArgs = ContractFunctionArgs
<abi
, AbiStateMutability
, functionName
extends ContractFunctionName
<abi
> ? functionName
: ContractFunctionName
<abi
>>
• allFunctionNames = ContractFunctionName
<abi
>
Source
node_modules/.pnpm/viem@2.13.6_bufferutil@4.0.8_typescript@5.4.5_utf-8-validate@6.0.4_zod@3.23.8/node_modules/viem/_types/utils/abi/encodeFunctionData.d.ts:12