track parrot fees - #5435
track parrot fees#5435urvi-bala wants to merge 3 commits into
Conversation
|
The parrot adapter exports: |
bheluga
left a comment
There was a problem hiding this comment.
@urvi-bala thanks for the PR.
Since parrot protocol is a CDP, we need to calculate interests paid by borrowers too
|
The parrot adapter exports: |
|
the script already captures borrower interest because all debt repayments (principal + interest) flow through the Debt Originator accounts (PAI, pBTC, pSOL), which are being tracked in the FEE_ACCOUNTS array. |
Some part of the interest should be going to supply side (liquidity providers) as well, can we track that as dailySupplySideRevenue? |
|
The parrot adapter exports: |
|
Closing the PR as protocol has ceased operations |
Addresses issue: #5232