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
fix(treasury): attribute warehouse credits per split, page on demand
Three fixes found live, one of them a mislabel on the public page:
- Warehouse credits are attributed by which SPLIT emitted in the credit's
own transaction, via one immutable-receipt read per warehouse row.
"Warehouse USDC = Morpheus Subnet" expired the day the /swap fee split
first distributed — its 2026-06-22 credit ran on the page under the
wrong product name. Known splits map to products (subnet, swap); a
bare withdraw or an unmapped split falls to the generic `splits` tag,
which no longer borrows the subnet's green.
- The pager fetches deeper history when the next-arrow hits the loaded
edge (Alchemy pageKey cursor via /api/treasury/inflows), with a
spinner while fetching, a visible failure line that keeps the cursor
for retry, and a total that stays open-ended ("34+") while a cursor
remains. Exhausted history and not-yet-fetched are distinct states.
- Known entities carry their real marks: Morpheus logo on receipt-proven
subnet rows, the red noggles on auction rows, rider cut-outs (via the
sponsorship card's exported crop) for vault/split rows. Unknown
senders keep the identicon; no approximated logos.
- Splits links point at explorer.splits.org — app.splits.org answers
"Account not found" for these SplitV2 contracts (verified in browser).
0 commit comments