Repository navigation
v0.9.0
A private move runs between any two of the person's own places: main wallet to portfolio as before, and now portfolio to main wallet and portfolio to portfolio. The portfolio signs for itself and needs no SOL, the same as the main wallet.
Breaking
For both apps:
- Move:
fundPrivately(deps, { from, to, amount, symbol })replacesportfolioIdwith the two ends, each a portfolio's id orFUNDING. The move as it was is{ from: FUNDING, to: portfolioId }. ItsrefreshneedsportfolioAssetbesidefunding. A move to where it left, or to or from an archived portfolio, is refused. - Move, the arrival:
awaitPrivateArrival(deps, { from, to, symbol, balanceBefore, amount })takes the same two ends. An arrival in the main wallet is recorded there. - Move, the screens:
fundingAmountView,fundingReviewViewandfundingOutcomeViewtake an optionalsourceLabel, the portfolio the money leaves; absent means the main wallet.portfolioLabelis where it arrives: passfundingCopy.wallet.inSentencewhen that is the main wallet.fundingDraft'sfundingBalanceis what the place the money leaves holds. - Pending words:
PendingWords.privateTransfergets a null label for a move into the main wallet.pendingWordsalready answers it.
Added
fundingAmountViewanswersmax, the most that can move once both fees are paid on top, andnothingToMovefor a portfolio that holds none of the asset.fundingDraftanswers the samemax.fundingCopy.from,toandswapfor the two ends of a move.- A move out of a portfolio is listed there as "Moved to Main wallet" or "Moved to" the portfolio's name, once its transaction has landed.
Changed
- The move's title is "Move money", and its wording no longer assumes the main wallet is where the money leaves.