From 3319dffb234711c42f24adb6b9bea509e67f5930 Mon Sep 17 00:00:00 2001 From: Jeroen Offerijns Date: Tue, 13 Aug 2024 18:10:59 +0200 Subject: [PATCH] feat: add tinlake asset names --- src/mappings/handlers/ethHandlers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mappings/handlers/ethHandlers.ts b/src/mappings/handlers/ethHandlers.ts index 698dfe2..3f89471 100644 --- a/src/mappings/handlers/ethHandlers.ts +++ b/src/mappings/handlers/ethHandlers.ts @@ -255,6 +255,7 @@ async function updateLoans(poolId: string, blockDate: Date, shelf: string, pile: loan.actualMaturityDate = new Date((maturityDate as BigNumber).toNumber() * 1000) } loan.nftId = nftId + loan.name = id loan.totalBorrowed = BigInt(0) loan.totalRepaid = BigInt(0) loan.outstandingDebt = BigInt(0)