Decodes an event log and reorders the arguments to match the original ABI order. This is necessary because viem's decodeEventLog reorders indexed parameters to the front.
The event ABI definition
The log to decode
The decoded log with arguments in the original ABI order
Decodes an event log and reorders the arguments to match the original ABI order. This is necessary because viem's decodeEventLog reorders indexed parameters to the front.