This repository has been archived by the owner on May 7, 2024. It is now read-only.
forked from centrifuge/api
-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 tasks
tibohei
approved these changes
Aug 30, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lazy review badge please
filo87
added a commit
that referenced
this pull request
Sep 14, 2022
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices
filo87
added a commit
that referenced
this pull request
Oct 26, 2022
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices * 98 failing poolservicegettranchetokenprices causes period to be skipped for remaining pools (#99) * ci: fix deployment version * fix: handle missing price updates from RPC * fix: throw errors on missing prices * feat: aggregate total investments and repayments for epoches (#100) * feat: index accounts and tranche balances (#101) * docs: add deployment status badge * Update README.md docs: fix badge link to deployment workflow * feat: tracking loans history with state snapshot (#102) * 56 handle updates to pool information poolsupdated event (#106) * chore: upgraded packages * feat: track pool updates * 103 totalinvested and totalredeemed are missing in poolsnapshot (#107) * fix: add missing properties to snapshot * deploy: update node and query versions * fix: pool investment and redemptions totals * feat: indexing missing values (#108) * ci: updated deployment * ci: upgraded packages * feat: paginated getters for snapshots and models (#109) * chore: upgrade packages * 104 track currency balances for accounts (#111) * feat: add data model for currency balances * feat: track endowments withdrawals and deposits of currency * feat: get initial balance on currency balance init * ci: revert subql/node version Co-authored-by: Timon <timon@embrio.tech>
hieronx
pushed a commit
that referenced
this pull request
Dec 22, 2022
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices * 98 failing poolservicegettranchetokenprices causes period to be skipped for remaining pools (#99) * ci: fix deployment version * fix: handle missing price updates from RPC * fix: throw errors on missing prices * feat: aggregate total investments and repayments for epoches (#100) * feat: index accounts and tranche balances (#101) * docs: add deployment status badge * Update README.md docs: fix badge link to deployment workflow * feat: tracking loans history with state snapshot (#102) * 56 handle updates to pool information poolsupdated event (#106) * chore: upgraded packages * feat: track pool updates * 103 totalinvested and totalredeemed are missing in poolsnapshot (#107) * fix: add missing properties to snapshot * deploy: update node and query versions * fix: pool investment and redemptions totals * feat: indexing missing values (#108) * ci: updated deployment * ci: upgraded packages * feat: paginated getters for snapshots and models (#109) * chore: upgrade packages * 104 track currency balances for accounts (#111) * feat: add data model for currency balances * feat: track endowments withdrawals and deposits of currency * feat: get initial balance on currency balance init * ci: revert subql/node version * 112 develop suitable unit testing approach (#117) * test: fundamental approach * test: poolHandlers testing * test: run pools and tranche tests in CI * test: include generation of entities * ci: execute testing in correct order * docs: updated data model diagram (#118) * 115 extend kpis as from spreadsheet (#119) * feat: aggregate loan writeoffs and total overdue * feat: index additional data * chore: remove unnecessary imports * feat: parse and index loanSpecs * fix: indexing of overdue amount Co-authored-by: Timon <timon@embrio.tech>
hieronx
pushed a commit
that referenced
this pull request
Dec 22, 2022
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices * 98 failing poolservicegettranchetokenprices causes period to be skipped for remaining pools (#99) * ci: fix deployment version * fix: handle missing price updates from RPC * fix: throw errors on missing prices * feat: aggregate total investments and repayments for epoches (#100) * feat: index accounts and tranche balances (#101) * docs: add deployment status badge * Update README.md docs: fix badge link to deployment workflow * feat: tracking loans history with state snapshot (#102) * 56 handle updates to pool information poolsupdated event (#106) * chore: upgraded packages * feat: track pool updates * 103 totalinvested and totalredeemed are missing in poolsnapshot (#107) * fix: add missing properties to snapshot * deploy: update node and query versions * fix: pool investment and redemptions totals * feat: indexing missing values (#108) * ci: updated deployment * ci: upgraded packages * feat: paginated getters for snapshots and models (#109) * chore: upgrade packages * 104 track currency balances for accounts (#111) * feat: add data model for currency balances * feat: track endowments withdrawals and deposits of currency * feat: get initial balance on currency balance init * ci: revert subql/node version * 112 develop suitable unit testing approach (#117) * test: fundamental approach * test: poolHandlers testing * test: run pools and tranche tests in CI * test: include generation of entities * ci: execute testing in correct order * docs: updated data model diagram (#118) * 115 extend kpis as from spreadsheet (#119) * feat: aggregate loan writeoffs and total overdue * feat: index additional data * chore: remove unnecessary imports * feat: parse and index loanSpecs * fix: indexing of overdue amount * 114-Integration and fixes for new centrifuge-chain release (#133) * 113 enhance standasdization and reusability of services (#126) * refactor: leverage inheritance of entities * fix: private methods * test: extend testing for new inheritance * test: state snapshotter (#127) * unit testing for investortransactions and loans (#128) * test: investor transaction tests * test: investor transaction amounts tests * test: loans test suite * fix: chain release * fix: tests * ci: upgrade deployment versions * ci: updated versions and parameters * ci: use deployment defaults * ci: disable historical data * 132 implement naming changes [BREAKING] (#134) * refactor: rework indexer naming * feat!: new suffix for field resetting on new pwriod * ci: disable flags for stati history tracking * ci: include empty dict dor deployment command * ci: disable historical data * ci: update subql cli * ci: configure project.yaml for different chains * ci: omit historical data * fix: reset property naming * ci: omit historical data flag in deploy * fix: update project.yaml * fix: precision of currency to token amount conversion * ci: escaping deploy.yaml * ci: deploy.yaml escaping * ci: more escaping * ci: more escaping * ci: escaping * ci: escaping with single quotes * ci: escaping hell * ci: more escaping * ci: no escaping * ci: syntax change * ci: new approach * ci: test yq * ci: test yq * ci: updated approach * ci: deploy version disabling history * ci: use frozen lockfile * chore: packages versions upgrade * ci: use matrix deployments * ci: fix yaml bug * ci: refactor deployment yaml * ci: reusable job * ci: convert import to workflow * ci: fix deployment type * ci: rename to inputs * ci: fix inputs * ci: use npx for subQL publish version CID * ci: use null dictionary * ci: use empty dict * ci: use npx overall * ci: omit dictionary * ci: null dict * ci: use defaults * ci: derive name and description from manifest * ci: use CAPS env * ci: indexer and query versions defined in imported workflow * ci: add chain yamls Co-authored-by: Timon <timon@embrio.tech>
filo87
added a commit
that referenced
this pull request
Nov 3, 2023
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices
filo87
added a commit
that referenced
this pull request
Nov 3, 2023
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices * 98 failing poolservicegettranchetokenprices causes period to be skipped for remaining pools (#99) * ci: fix deployment version * fix: handle missing price updates from RPC * fix: throw errors on missing prices * feat: aggregate total investments and repayments for epoches (#100) * feat: index accounts and tranche balances (#101) * docs: add deployment status badge * Update README.md docs: fix badge link to deployment workflow * feat: tracking loans history with state snapshot (#102) * 56 handle updates to pool information poolsupdated event (#106) * chore: upgraded packages * feat: track pool updates * 103 totalinvested and totalredeemed are missing in poolsnapshot (#107) * fix: add missing properties to snapshot * deploy: update node and query versions * fix: pool investment and redemptions totals * feat: indexing missing values (#108) * ci: updated deployment * ci: upgraded packages * feat: paginated getters for snapshots and models (#109) * chore: upgrade packages * 104 track currency balances for accounts (#111) * feat: add data model for currency balances * feat: track endowments withdrawals and deposits of currency * feat: get initial balance on currency balance init * ci: revert subql/node version Co-authored-by: Timon <timon@embrio.tech>
filo87
added a commit
that referenced
this pull request
Nov 3, 2023
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices * 98 failing poolservicegettranchetokenprices causes period to be skipped for remaining pools (#99) * ci: fix deployment version * fix: handle missing price updates from RPC * fix: throw errors on missing prices * feat: aggregate total investments and repayments for epoches (#100) * feat: index accounts and tranche balances (#101) * docs: add deployment status badge * Update README.md docs: fix badge link to deployment workflow * feat: tracking loans history with state snapshot (#102) * 56 handle updates to pool information poolsupdated event (#106) * chore: upgraded packages * feat: track pool updates * 103 totalinvested and totalredeemed are missing in poolsnapshot (#107) * fix: add missing properties to snapshot * deploy: update node and query versions * fix: pool investment and redemptions totals * feat: indexing missing values (#108) * ci: updated deployment * ci: upgraded packages * feat: paginated getters for snapshots and models (#109) * chore: upgrade packages * 104 track currency balances for accounts (#111) * feat: add data model for currency balances * feat: track endowments withdrawals and deposits of currency * feat: get initial balance on currency balance init * ci: revert subql/node version * 112 develop suitable unit testing approach (#117) * test: fundamental approach * test: poolHandlers testing * test: run pools and tranche tests in CI * test: include generation of entities * ci: execute testing in correct order * docs: updated data model diagram (#118) * 115 extend kpis as from spreadsheet (#119) * feat: aggregate loan writeoffs and total overdue * feat: index additional data * chore: remove unnecessary imports * feat: parse and index loanSpecs * fix: indexing of overdue amount Co-authored-by: Timon <timon@embrio.tech>
filo87
added a commit
that referenced
this pull request
Nov 3, 2023
* 74 index loanentity data types (#86) * feat: create loanService * refactor: improved service getters * feat: increase outstandingDebt on borrowings * feat: basics for handle loan prices * feat: save priced loans * feat: activate loan when priced * feat: handle writeoffs * feat: handle loan closed and write offs * fix: loan.repay() should increase totalRepaid * fix: invest execution decimals and avoid empty transactions (#87) * 82 add prices to all investortransaction types (#88) * chore: update chain data * feat: extend InvestorTransaction decoration and refactor * feat: use rpc prices from trancheTokenPrices() when investor transactions are processed (#89) * feat: improved loans and borrower transactions (#90) * 63 convert outflows to dai (#91) * feat: add currency value for redeem fields * fix: currency conversion should support null prices * 98 failing poolservicegettranchetokenprices causes period to be skipped for remaining pools (#99) * ci: fix deployment version * fix: handle missing price updates from RPC * fix: throw errors on missing prices * feat: aggregate total investments and repayments for epoches (#100) * feat: index accounts and tranche balances (#101) * docs: add deployment status badge * Update README.md docs: fix badge link to deployment workflow * feat: tracking loans history with state snapshot (#102) * 56 handle updates to pool information poolsupdated event (#106) * chore: upgraded packages * feat: track pool updates * 103 totalinvested and totalredeemed are missing in poolsnapshot (#107) * fix: add missing properties to snapshot * deploy: update node and query versions * fix: pool investment and redemptions totals * feat: indexing missing values (#108) * ci: updated deployment * ci: upgraded packages * feat: paginated getters for snapshots and models (#109) * chore: upgrade packages * 104 track currency balances for accounts (#111) * feat: add data model for currency balances * feat: track endowments withdrawals and deposits of currency * feat: get initial balance on currency balance init * ci: revert subql/node version * 112 develop suitable unit testing approach (#117) * test: fundamental approach * test: poolHandlers testing * test: run pools and tranche tests in CI * test: include generation of entities * ci: execute testing in correct order * docs: updated data model diagram (#118) * 115 extend kpis as from spreadsheet (#119) * feat: aggregate loan writeoffs and total overdue * feat: index additional data * chore: remove unnecessary imports * feat: parse and index loanSpecs * fix: indexing of overdue amount * 114-Integration and fixes for new centrifuge-chain release (#133) * 113 enhance standasdization and reusability of services (#126) * refactor: leverage inheritance of entities * fix: private methods * test: extend testing for new inheritance * test: state snapshotter (#127) * unit testing for investortransactions and loans (#128) * test: investor transaction tests * test: investor transaction amounts tests * test: loans test suite * fix: chain release * fix: tests * ci: upgrade deployment versions * ci: updated versions and parameters * ci: use deployment defaults * ci: disable historical data * 132 implement naming changes [BREAKING] (#134) * refactor: rework indexer naming * feat!: new suffix for field resetting on new pwriod * ci: disable flags for stati history tracking * ci: include empty dict dor deployment command * ci: disable historical data * ci: update subql cli * ci: configure project.yaml for different chains * ci: omit historical data * fix: reset property naming * ci: omit historical data flag in deploy * fix: update project.yaml * fix: precision of currency to token amount conversion * ci: escaping deploy.yaml * ci: deploy.yaml escaping * ci: more escaping * ci: more escaping * ci: escaping * ci: escaping with single quotes * ci: escaping hell * ci: more escaping * ci: no escaping * ci: syntax change * ci: new approach * ci: test yq * ci: test yq * ci: updated approach * ci: deploy version disabling history * ci: use frozen lockfile * chore: packages versions upgrade * ci: use matrix deployments * ci: fix yaml bug * ci: refactor deployment yaml * ci: reusable job * ci: convert import to workflow * ci: fix deployment type * ci: rename to inputs * ci: fix inputs * ci: use npx for subQL publish version CID * ci: use null dictionary * ci: use empty dict * ci: use npx overall * ci: omit dictionary * ci: null dict * ci: use defaults * ci: derive name and description from manifest * ci: use CAPS env * ci: indexer and query versions defined in imported workflow * ci: add chain yamls Co-authored-by: Timon <timon@embrio.tech>
filo87
added a commit
that referenced
this pull request
Dec 20, 2023
* fix: ignore local project files * feat: init multichain * chore: remove unused olf chain files * ci: deploy multiple indexers * fix: modify deployment * fix: eth specific indexer version * fix: indexer version * fix: avoid specity workers for EVM * fix: no arrays for endpoints * ci: ignore cid files * 167 extend data model to include evm accounts (#171) * feat: extend data model to include EVM accounts Fixes #167 * feat: extend data model to include EVM accounts Fixes #167 * ci: deploy only cfg * fix: currency init logic * 169 support additional borrower transaction type (#172) * feat: support additional borrowerTransactionType DebtTransferred Fixes #169 * feat: support additional borrowerTransactionType DebtTransfer Fixes #169 * chore: upgrde indexer to 3.4.6 * chore: node upgrade * Update src/mappings/handlers/loansHandlers.ts Co-authored-by: Jeroen <1748621+hieronx@users.noreply.github.com> * Update chains-evm/base.yaml Co-authored-by: Jeroen <1748621+hieronx@users.noreply.github.com> * fix: update node versions * fix: add missing chain files * 165 implement transfer inout mechanism (#178) * feat: implement transfer in/out mechanism Fixes #165 * feat: implement transfer in/out mechanism Fixes #165 * chore: implement transfer in/out mechanism Fixes #165 * feat: adapt data model to be chain independent * fix: end of line * feat: implement transfer in/out mechanism Fixes #165 * feat: implement new currency model for orml tokens * fix: implement transfer in/out mechanism Fixes #165 * fix: implement transfer in/out mechanism Fixes #165 * fix: implement transfer in/out mechanism Fixes #165 * fix: implement transfer in/out mechanism Fixes #165 * fix: update tests * fix: endpoints * fix: transfer typo --------- Co-authored-by: Jeroen <1748621+hieronx@users.noreply.github.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements #74 and #85