Skip to content

Flag Avalanche mevUSDC as reported by users (extensions.reported) - #434

Merged
Ulydev merged 2 commits into
mainfrom
feat/reported-ibt-mevusdc
Oct 1, 2026
Merged

Ulydev merged 2 commits into
mainfrom
feat/reported-ibt-mevusdc

Conversation

@GaspardPeduzzi

@GaspardPeduzzi GaspardPeduzzi commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

What

  • Adds extensions.reported (boolean) to token.schema.json. Without it, additionalProperties: false rejects the key. The description says to set it on the token's own entry, never inside a wrapper's extensions.vault.
  • Sets "reported": true on mevUSDC (Silo, Avalanche 0x4dc1…c0e8). Users reported it as illiquid at the Silo level.
  • Adds a README row for the key.

Why

spectra-app#2293 asks for an orange "This market has been reported by users. Proceed with caution." warning:

  • above the CTA of every market built on a reported IBT;
  • behind an (i) next to the IBT name.

spectra-app#2294 adds it. The flag belongs with the token rather than in the app, so the team can raise and lift it without an app release. It is set on the token's own entry, not per pool. The Spectra API forwards it to every market built on the token:

  • directly: PT-mevUSDC;
  • through its Spectra wrapper: PT-sw-mevUSDC. The API resolves the wrapper through its extensions.vault, so nothing needs to be set on sw-mevUSDC.

Deleting the key lifts the warning everywhere. Flags are report-based, non-exhaustive and not an audit.

Verification

  • Schema validation mirroring token-validation.yml (ajv 6, allErrors): tokens 390/390, wrappers 114/114, protocols 1/1 valid.
  • bun run src/build.ts && tsup: spectraTokens mevUSDC carries reported: true, and no other token or wrapper does.
  • /all, /tokens and /wrappers pass extensions through untouched, so tokens.spectra.finance will serve the key after the usual publish + deploy hook.

Merge order: this one can go first.

  • Market pages warn once the API forwards the flag (perspectivefi/spectra-sdk#268, then an API release).
  • The app's pool-creation flow reads /all directly (spectra-app#2294), so it warns as soon as this is live and #2294 is deployed.
  • Please merge it on its own: back-to-back merges collide in the version-bump job.

🤖 Generated with Claude Code

GaspardPeduzzi and others added 2 commits September 28, 2026 15:32
Adds a boolean extensions.reported to the token schema and sets it on
mevUSDC (Silo, 43114), which users reported as illiquid at the Silo
level. The Spectra API forwards it to every market built on the token,
directly or through its sw- wrapper, and the app shows a caution
warning there. Deleting the key lifts it everywhere.

Refs perspectivefi/spectra-app#2293.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@GaspardPeduzzi GaspardPeduzzi self-assigned this Oct 1, 2026
@Ulydev
Ulydev merged commit 84db8ed into main Oct 1, 2026
1 check passed
@Ulydev
Ulydev deleted the feat/reported-ibt-mevusdc branch October 1, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants