From 5f2c5346ac4b23503eea2e6e157c44c0c1fc83f2 Mon Sep 17 00:00:00 2001 From: Bernardo Vieira Date: Mon, 16 Oct 2023 14:37:00 +0100 Subject: [PATCH] [bugfix] add missing event on microcredit abi (#966) --- .../core/src/contracts/MicrocreditABI.json | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/packages/core/src/contracts/MicrocreditABI.json b/packages/core/src/contracts/MicrocreditABI.json index 13342ff12..1caf0bab6 100644 --- a/packages/core/src/contracts/MicrocreditABI.json +++ b/packages/core/src/contracts/MicrocreditABI.json @@ -42,6 +42,55 @@ ], "anonymous": false }, + { + "type": "event", + "name": "LoanAdded", + "inputs": [ + { + "type": "address", + "name": "userAddress", + "internalType": "address", + "indexed": true + }, + { + "type": "address", + "name": "tokenAddress", + "internalType": "address", + "indexed": true + }, + { + "type": "uint256", + "name": "loanId", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "amount", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "period", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "dailyInterest", + "internalType": "uint256", + "indexed": false + }, + { + "type": "uint256", + "name": "claimDeadline", + "internalType": "uint256", + "indexed": false + } + ], + "anonymous": false + }, { "type": "event", "name": "LoanClaimed",