Skip to content
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

Closed
vibern0 opened this issue Mar 14, 2023 · 0 comments · Fixed by #2
Closed

index micro-credit base data - add and borrow #1

vibern0 opened this issue Mar 14, 2023 · 0 comments · Fixed by #2

Comments

@vibern0
Copy link

vibern0 commented Mar 14, 2023

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)
}

@vibern0 vibern0 self-assigned this Mar 14, 2023
@vibern0 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant