-
Notifications
You must be signed in to change notification settings - Fork 242
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
[ETHEREUM-CONTRACTS] GDA View Function Fixes #1885
Conversation
Changelog ReminderReminder to update the CHANGELOG.md for any of the modified packages in this PR.
|
packages/sdk-redux/src/reduxSlices/rtkQuery/cacheTags/invalidateSpecificCacheTagsForEvents.ts
Outdated
Show resolved
Hide resolved
Can I get a script kiddie explanation on how I can use the view functions to fetch how much has a single pool member received from a GDA pool? |
@0xdavinchee added the function |
packages/ethereum-contracts/contracts/agreements/gdav1/SuperfluidPool.sol
Show resolved
Hide resolved
|
Update change log, then we are done. |
Let's merge! Please approve, instead. |
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.
LGTM
XKCD Comic RelifLink: https://xkcd.com/1885 |
@@ -83,9 +65,14 @@ interface ISuperfluidPool is IERC20 { | |||
/// @param time The time to query | |||
function getDisconnectedBalance(uint32 time) external view returns (int256 balance); | |||
|
|||
/// @notice The total amount received by `memberAddr` in the pool |
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.
Should make it more clear whether this includes both the connected and unconnected parts
Notes
GDA Flow Info (IGDAv1 & SuperTokenV1Library)getNetFlow misses the distribution flow ratelibtoken.getBufferAmountByFlowRate needs a comment; or better, share the impl between CFA & GDA using a free-ranged function.Other notes:
Code review todos