Closed georgeciubotaru closed 4 months ago
Example of a valid generation structure:
TransferSingle: new LogEvent<([operator: string, from: string, to: string, id: bigint, value: bigint] & {operator: string, from: string, to: string, id: bigint, value: bigint})>( abi, '0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62' ),
wrong generation structure
TransferBatch: new LogEvent<([operator: string, from: string, to: string, ids: Array<bigint>, values: Array<bigint>] & {operator: string, from: string, to: string, ids: Array<bigint>})>( abi, '0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb' ),
Problem: In the TransferBatch event the values param is not returned
TransferBatch
values
Example of a valid generation structure:
wrong generation structure
Problem: In the
TransferBatch
event thevalues
param is not returned