Skip to content

feat(statics): model Token-2022 extensions on SolCoin#9275

Merged
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-1194
Jul 17, 2026
Merged

feat(statics): model Token-2022 extensions on SolCoin#9275
abhishekagrawal080 merged 1 commit into
masterfrom
CSHLD-1194

Conversation

@abhishekagrawal080

Copy link
Copy Markdown
Contributor

TICKET: CSHLD-1194

Add SolTokenExtensionType and SolTokenExtensions to represent the Token-2022 extensions detected on a Solana mint, plus authority and per-extension config (transfer fee, transfer hook, permanent delegate, interest bearing, scaled UI amount, default account state). Add the getUnsupportedSolTokenExtensions safety-gate helper and SUPPORTED_SOL_TOKEN_EXTENSIONS allowlist so onboarding can hard-stop on any extension BitGo has no handling code for. Thread an optional tokenExtensions through SolCoin and the solToken/tsolToken factories, and add a SolCoin.hasExtension helper. Purely additive and backward compatible — existing token definitions are unchanged.

@abhishekagrawal080
abhishekagrawal080 requested a review from a team as a code owner July 16, 2026 11:49
@linear-code

linear-code Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

CSHLD-1194

@abhishekagrawal080
abhishekagrawal080 merged commit e74729c into master Jul 17, 2026
24 checks passed
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