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
>
Defined in
node_modules/.pnpm/viem@2.14.2_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@6.0.4_zod@3.23.8/node_modules/viem/_types/utils/abi/encodeFunctionData.d.ts:12