diff --git a/bulla-contracts/src/mappings/BullaFactoring.ts b/bulla-contracts/src/mappings/BullaFactoring.ts index 6675c93..30e046d 100644 --- a/bulla-contracts/src/mappings/BullaFactoring.ts +++ b/bulla-contracts/src/mappings/BullaFactoring.ts @@ -86,6 +86,7 @@ export function handleInvoiceUnfactored(event: InvoiceUnfactored): void { InvoiceUnfactoredEvent.logIndex = event.logIndex; InvoiceUnfactoredEvent.totalRefundAmount = ev.totalRefundAmount; InvoiceUnfactoredEvent.interestToCharge = ev.interestToCharge; + InvoiceUnfactoredEvent.timestamp = event.block.timestamp; original_creditor.factoringEvents = original_creditor.factoringEvents ? original_creditor.factoringEvents.concat([InvoiceUnfactoredEvent.id])