Skip to content

Update validated-tokens.csv and add fUSDC #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Conversation

cibo6
Copy link
Owner

@cibo6 cibo6 commented Jan 21, 2024

Add fUSDC to the validated token list

Validate {fUSDC}

Attestations (Please provide links):

Validation (Please check off boxes):

  • The metadata provided in the PR matches what is on-chain (Mandatory)
  • Does not duplicate the symbol of another token on Jupiter's strict list (If not, review will be delayed)
  • Is Listed on Coingecko / CMC (Optional, but helpful for reviewers)

Acknowledgement (Please check off boxes)

  • My change matches the format in the file (no spaces between fields).
  • My token is already live and trading on Jupiter.
  • !!! I read the README section on Community-Driven Validation and understand this PR will be only be reviewed when there is community support on Twitter.
  • Please make sure your pull request title has your token name. If it just says "Main", or "Validate", it will automatically be closed. PRs containing broken attestation or solscan links will also be closed.

cibo6 and others added 21 commits January 21, 2024 14:08
Add fUSDC to the validated token list
* typescript sourcemap: true

* implemented canOnlyAddOneToken(), detectDuplicateSymbol()

* ValidationError.INVALID_MINT: some mints are PDAs and won't be on the ed25519 curve. just check for base58 decodability

* Record.Community Validated: bool -> string

* rm parse.ts

* validate.ts: complete validation functions

* exec() was showing the output of 'git show' even when stdout was redirected to the function. This is needed to make it not output anything to the console no matter what

* main.ts: functionality complete

* removed unused function in validate.ts

* exceptions: some tokens don't need to have communityValidated: true

* use ValidatedTokensData which existed already, change 'Community Validated' to a bool

* remove exceptions for community validated

* validMintAddress(): mints don't have to be on the edd25519 curve, remove entirely

* ValidatedTokensData: keep track of which line it was in the CSV

* rework duplicate symbol detection, abstract out file reading, csv parsing and struct hydrating

* noEditsToPreviousLinesAllowed()

* better validation error messages.  a better message tells you what to do

* rework detectDuplicateSymbol()

* split logic out, so one can run it with Github Actions (which doesn't accept CLI arguments) or as a CLI program (which accepts arguments) with node dist/cli.js <filename>

* revive github action for validate-PR

* improve duplicate symbol detection: people may not submit tokens that are duplicates of already existing duplicate symbols

* exit code is the number of errors. this is useful for github actions reporting
* VALIDATE SSHIB

* Validate SSHIB

* Validate SSHIB
* add: brett validation to validated-tokens.csv

* fix spaces in csv

* Update validated-tokens.csv

---------

Co-authored-by: 0xSoju2 <[email protected]>
* Add $WEN to Jupiter Strict List

* update WEN decimal
* PELFORT, the correct decimals

* revert template override
…ons (jup-ag#1230)

* rename AllowedDuplicate type to AllowedException to generalize usage, and record Community Validated field for exceptions

* exceptions for community validated=false

* explain that there are exceptions in stdout - improves usability
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.