Skip to content

Commit

Permalink
feat: add tinlake asset names
Browse files Browse the repository at this point in the history
  • Loading branch information
hieronx committed Aug 13, 2024
1 parent 6e754d5 commit 3319dff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mappings/handlers/ethHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3319dff

Please sign in to comment.