chore: rename c-token/cmint to light-token/light mint in comments#2299
chore: rename c-token/cmint to light-token/light mint in comments#2299SwenSchaeferjohann merged 1 commit intomainfrom
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (45)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| const isSplDestination = splInterfaceInfo !== undefined; | ||
|
|
||
| // Get compressed token accounts | ||
| // Get light-token accounts |
There was a problem hiding this comment.
| // Get light-token accounts | |
| // Get compressed light-token accounts (cold balance) |
| * | ||
| * Behavior depends on `wrap` parameter: | ||
| * - wrap=false (standard): Decompress light-tokens to the target ATA. | ||
| * ATA can be SPL (via pool), T22 (via pool), or light-token (direct). |
There was a problem hiding this comment.
| * ATA can be SPL (via pool), T22 (via pool), or light-token (direct). | |
| * ATA can be SPL (via interface PDA), T22 (via interface PDA), or light-token (direct). |
| * - wrap=false (standard): Decompress compressed tokens to the target ATA type | ||
| * (SPL ATA via pool, T22 ATA via pool, or c-token ATA direct) | ||
| * - wrap=true (unified): Wrap SPL/T22 + decompress all to c-token ATA | ||
| * - wrap=false (standard): Decompress light-tokens to the target ATA type |
There was a problem hiding this comment.
| * - wrap=false (standard): Decompress light-tokens to the target ATA type | |
| * - wrap=false (standard): Decompress compressed light-tokens to the target ATA type |
| * (SPL ATA via pool, T22 ATA via pool, or light-token ATA direct) | ||
| * - wrap=true (unified): Wrap SPL/T22 + decompress all to light-token ATA |
There was a problem hiding this comment.
| * (SPL ATA via pool, T22 ATA via pool, or light-token ATA direct) | |
| * - wrap=true (unified): Wrap SPL/T22 + decompress all to light-token ATA | |
| * (SPL ATA via interface PDA, T22 ATA via interface PDA, or light-token ATA direct) | |
| * - wrap=true (unified): Wrap SPL/T22 + decompress all to light-token ATA |
| } | ||
|
|
||
| // 4. Decompress compressed tokens to c-token ATA | ||
| // 4. Decompress light-tokens to light-token ATA |
There was a problem hiding this comment.
| // 4. Decompress light-tokens to light-token ATA | |
| // 4. Decompress compressed light-tokens (cold balance) to light-token associated token account (hot balance) |
c6c51aa to
8fa586a
Compare
Rename terminology in JSDoc, comments, and error strings: - c-token → light-token - cmint/CMint → light mint - compressed mint → light mint (where referring to the type) - compressed/decompressed (state) → preserved as-is - ATA → associated token account (expanded) - via pool → via interface PDA - hot/cold terminology for token accounts and mints
8fa586a to
709caa8
Compare
… comments Continuation of #2299. Renames old terminology (ctoken, CToken, cmint, compressed mint, token pool) to new names (light-token, Light Token, light-mint, Light Mint, SPL interface PDA) across sdk-libs/ and sdk-tests/ comments and documentation. Only comments, doc strings, and markdown files are changed — no code identifiers, variable names, or module paths were modified.
Summary
c-token,cmint,compressed mint,CMint,CToken,CompressedMint) to new terminology (light-token,light mint) in JSDoc, inline comments, and error stringsjs/compressed-token/src/v3/, 243 lines changedCompressedMint,CMint,ctokenConfig, etc.) left unchangedTest plan
LIGHT_PROTOCOL_VERSION=V2 pnpm run build)