Query editor
-- Query: kpk | Upshift lsETH | Vault | Event Log-- Dune: https://dune.com/queries/8257722-- Version: 6---- Every governance-relevant action on the vault, plus every transaction sent by-- the system's own agents, in one table with tx links.---- While the vault holds ~14.5 LsETH of seed capital, individual events matter more-- than aggregates -- one deposit or one NAV write is a meaningful fraction of the-- whole. This panel is expected to become less useful as the vault fills, at which-- point the aggregate charts take over.---- NAV updates come from ethereum.traces, not logs: updateTotalAssets(uint256) emits-- no event. Everything else on the vault comes from raw logs by topic0 -- the vault-- is not decoded on Dune.---- v4 (2026-09-01):-- * ManagementFeeCharged rows dropped -- they fire on a cycle, carry no decision-- content, and were drowning the actions people open this log to find.-- * AGENT ATTRIBUTION. The upshift_lseth system runs four dedicated agent EOAs-- (Portal /client/curation_prod/signers, read 2026-09-01 -- the Portal is the-- source of truth for this roster; update here if it rotates):-- 0x7bD4877FFd5fb83276e07BD9B1e12F252035D8b9 upshift_monitor_agent-- 0xC83B1C2A02787f86D82dd4434152519373Aa4474 upshift_nav_updater-- 0xEEaA7912e1b4c4ca65002EB73A86CBFBb7F8EBed upshift_rebalancer_agent-- 0x6c2E82EB9717F5F0613C33A03d2DeeFe91aef517 upshift_shutdown_agent-- Because each EOA is dedicated to this system, EVERY transaction it sends is-- upshift_lseth activity by definition -- no target filter needed, so Morpho-- borrows/repays, deploy-vault moves and HF re-levers are all caught even-- though they emit nothing on the vault contract itself.-- One ACTOR column covers everyone: the agent name when an agent sent the tx,-- the Safe label otherwise -- a separate mostly-empty Agent column read as if-- rows were missing data. Agent txs that produced no vault event appear as-- their own rows, labelled by what that agent DOES per the live Portal-- mapping (read 2026-09-01):-- upshift_rebalancer_agent -> morpho_health_factor_manager (hourly) +-- morpho_idle_collateral_supply-- => 'PositionManagement (HF)'-- upshift_monitor_agent -> upshift_deposit_to_subaccount /-- upshift_withdraw_from_subaccount-- => 'VaultLiquidityMove'-- upshift_nav_updater -> upshift_update_total_assets, cron Mon+Thu-- 10:45 UTC => 'NAVUpdateProposed'-- upshift_shutdown_agent -> subaccount_morpho_vault_exit (inactive)-- => 'EmergencyExit'-- NAV FLOW, two rows by design: upshift_nav_updater PROPOSES the update-- (NAVUpdateProposed, Mon/Thu 10:45), then Upshift co-signs in the 2/2-- operator Safe, which executes updateTotalAssets later -- that execution is-- the 'NAVUpdateExecuted' row attributed to the Safe. The gap between the-- pair is Upshift's co-signing latency. Rows are deduped on tx_hash: a tx-- never appears both decoded and as a bare agent row.-- * DESCRIPTION column (v6): what each transaction actually did to the-- position, decoded from Morpho Blue events (Borrow / Repay /-- SupplyCollateral / WithdrawCollateral on this market, onBehalf = the-- subaccount) and ERC-4626 Deposit/Withdraw logs on the two deploy vaults.-- A lever-up reads e.g. "Lever up: borrowed 3,811 USDC + deposited 3,811-- USDC into deploy vaults"; a delever reads "Delever: repaid ...". Rows-- with no position effect fall back to a static explanation of the event.WITH agents(eoa, agent_name) AS (