Repository navigation
v0.8.0
A move to a portfolio is called arrived only once all of it is there. The settlement service delivers a private transfer in three parts, seconds apart, and the arrival was called on the first rise in the balance: a move of 10 USDC was reported, and recorded in Activity, as 3.33 USDC, while the other two parts landed a few seconds later.
Breaking
For both apps:
- Move to portfolio:
awaitPrivateArrival(deps, { portfolioId, symbol, balanceBefore, amount })takes theamountthat was moved, the same number passed tofundPrivately. It resolves once the balance has risen by all of it. When the window ends with only part of it there it resolves to the balance as it stands, and null still means nothing arrived. - Move to portfolio, the wait:
fundingOutcomeViewtakes a new outcome,"onItsWay". Show it as soon asfundPrivatelyanswerssubmitted, in place of the progress stages: it names the amount that was moved and can be closed. Keep awaiting the arrival behind it, and change to"done"when it resolves, or"pending"on null. - Routes:
fundingSendParamsandreadSendSourceare gone: neither app called them. A send from the main wallet passesFUNDINGas its source.
Changed
- The private move's footer on both platforms ends "Private moves are powered by MagicBlock."
Fixed
- A read of the main wallet's balances that was on its way while an action stored a newer balance no longer writes the older number back over it.