Repository navigation
Flag Avalanche mevUSDC as reported by users (extensions.reported) - #434
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
extensions.reported(boolean) totoken.schema.json. Without it,additionalProperties: falserejects the key. The description says to set it on the token's own entry, never inside a wrapper'sextensions.vault."reported": trueon mevUSDC (Silo, Avalanche0x4dc1…c0e8). Users reported it as illiquid at the Silo level.Why
spectra-app#2293 asks for an orange "This market has been reported by users. Proceed with caution." warning:
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:
PT-mevUSDC;PT-sw-mevUSDC. The API resolves the wrapper through itsextensions.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
token-validation.yml(ajv 6, allErrors): tokens 390/390, wrappers 114/114, protocols 1/1 valid.bun run src/build.ts && tsup:spectraTokensmevUSDC carriesreported: true, and no other token or wrapper does./all,/tokensand/wrapperspass extensions through untouched, so tokens.spectra.finance will serve the key after the usual publish + deploy hook.Merge order: this one can go first.
/alldirectly (spectra-app#2294), so it warns as soon as this is live and #2294 is deployed.🤖 Generated with Claude Code