-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index micro-credit base data - add and borrow #1
Labels
Comments
This was referenced Mar 23, 2023
vibern0
changed the title
index micro-credit (new subgraph)
index micro-credit base data - add and borrow
Mar 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dependent on micro-credit base smart-contract#133
Expected entities
// lender user data
Lender {
id (address)
amount (amount deposited)
}
// borrower user data
Borrower {
id (address)
amount (amount received)
disbursed (date of when the borrower received the amount)
repaid (amount repaid)
interest
maturity (max date to repay)
lastPayment (date of last payment)
}
// global data
MicroCredit {
borrowers (total borrowers)
amount (total borrowed)
repaid (total repaid)
inTime (total users who paid before maturity)
}
The text was updated successfully, but these errors were encountered: