feat(statics): scope wtgxx tokens to BitGo Trust only - #9595
Conversation
There was a problem hiding this comment.
Pull request overview
Restricts WTGXX token variants and inherited OFC assets to BitGo Trust custody.
Changes:
- Adds reusable Trust-only account and Solana feature sets.
- Applies them across Ethereum, Arbitrum, Optimism, Sepolia, and Solana variants.
- Adds coverage for direct and inherited OFC assets.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
modules/statics/src/coinFeatures.ts |
Defines Trust-only feature sets. |
modules/statics/src/account.ts |
Exposes the account Trust-only feature set. |
modules/statics/src/coins/erc20Coins.ts |
Updates Ethereum and Sepolia WTGXX. |
modules/statics/src/coins/solTokens.ts |
Updates Solana WTGXX. |
modules/statics/src/allCoinsAndTokens.ts |
Updates Arbitrum and Optimism WTGXX. |
modules/statics/test/unit/coins.ts |
Verifies Trust-only custody across all variants. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
38d5a9c to
b84a7e7
Compare
|
@claude review |
|
Claude finished @manojkumar138's task —— View job Code Review for PR #9595Todo List:
Review Summary ✅This PR successfully restricts ✅ Strengths
🔍 Minor Observations
✅ Security & Compliance
✅ Code Quality
Verdict: ✅ APPROVED - This is a well-implemented security feature that properly restricts Job Run: View workflow run |
Summary
wtgxx(eth, arbeth, opeth, sol, sepeth) and inherited OFC variants to BitGo Trust custody features onlySOL_TOKEN_FEATURES_TRUST_ONLYand lock the feature set in statics testsTicket: SCAAS-11102