Runtime API: Extend InvestmentPortfolio
with pending swaps
#1635
Labels
I8-enhancement
An additional feature.
P5-soon
Issue should be addressed soon.
Q3-medium
Can be done with good experience in the language, but little knowledge of the codebase.
Milestone
Description
InvestmentPortfolio
API needs to be extended by pending token swapsProposal
For now, this design is a bit overkill as there can be at most one swap per
(investment_id, account_id)
pair such that at most one of the maps would have exactly one entry. However, in the future we want to open up multiple investments for the same(investment_id, account_id)
pair (project name MultiCurrency) which will benefit from the above design.Research/based on
Conversation in k-f slack with @hieronx: https://kflabs.slack.com/archives/C05JM3VBD9V/p1701342364508009?thread_ts=1701340658.313919&cid=C05JM3VBD9V
How will this affect the code base
Improves UX
What are foreseen obstacles or hurdles to overcome?
Bump
InvestmentsApi
from V1 to V2The text was updated successfully, but these errors were encountered: