MaybeExtractEventArgsFromAbi
MaybeExtractEventArgsFromAbi<
TAbi
,TEventName
>:Exclude
<TAbi
extendsAbi
| readonlyunknown
[] ?TEventName
extendsstring
?GetEventArgs
<TAbi
,TEventName
> :undefined
:undefined
, readonlyunknown
[] |Record
<string
,unknown
>>
Adapted from viem. This is a helper type to extract the event args from an abi
Type Parameters
• TAbi extends Abi
| readonly unknown
[] | undefined
• TEventName extends string
| undefined