You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this to happen smoothly, I suggest to do some modification on contract side. My suggestion is in ref-finance/ref-contracts#23 . So please take a look into it and give some response.
type (add or remove, to get all add_liquidity or all remove_liquidity calls of a wallet)
returns list of:
-token1 amount added/removed
-token2 amount added/removed
-pool_id
Since we are using only a free plan, it's a better idea to do the remaining processing on the client instead of putting that workload on the backend
Tried to move the aggregation to the postgres-server, but there is no fitting int-datatype in pg and text/string is not supported
so workflow is something like:
call endpoint with type add
--group by pool_id and make sum per group
-call endpoint with type remove
--group by pool_id and make a sum per group
Overview
Implement the "Your Liquidity" page from the designs. This page will show the user's active LP positions.
Designs: https://www.figma.com/file/fuv8rWM8NGxKUKw2OAFsbn/Ref.Finance?node-id=710%3A65
Acceptance Criteria
The text was updated successfully, but these errors were encountered: