-
Notifications
You must be signed in to change notification settings - Fork 13
[VPD-82]: Update technical documentation for e-mode #310
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
base: main
Are you sure you want to change the base?
Conversation
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.
I think we should update the address of the VenusLens and include the address of the ComptrollerLens in the file deployed-contracts/markets.md
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.
We are using the terms "category" and "pool". I think we should try to use only one term for this concept. In the "what's new" article we are using "category"
Users can discover available E-Mode pools using: | ||
|
||
* **Venus Lens**: By calling the `getMarketsDataByPool` function to fetch pool data directly from the Comptroller. This returns supported E-Mode pools and their vTokens along with parameters such as CF, LT, LI, and borrow permissions. | ||
*Note: `getMarketsDataByPool` does not return values for the Core Pool; it only returns data for other pools.* |
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.
I think this won't be valid soon
} | ||
``` | ||
|
||
* **accountMembership**: Stored only in Core Pool entries, since borrows and collateral are tracked globally across all pools. In E-Mode entries, this mapping remains empty for structural consistency, reducing storage overhead. |
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.
For consistency with isBorrowAllowed
* **accountMembership**: Stored only in Core Pool entries, since borrows and collateral are tracked globally across all pools. In E-Mode entries, this mapping remains empty for structural consistency, reducing storage overhead. | |
* `accountMembership`: Stored only in Core Pool entries, since borrows and collateral are tracked globally across all pools. In E-Mode entries, this mapping remains empty for structural consistency, reducing storage overhead. |
No description provided.