Skip to content

feat(statics): scope wtgxx tokens to BitGo Trust only - #9595

Open
abhijeet848 wants to merge 1 commit into
masterfrom
SCAAS-11102
Open

feat(statics): scope wtgxx tokens to BitGo Trust only#9595
abhijeet848 wants to merge 1 commit into
masterfrom
SCAAS-11102

Conversation

@abhijeet848

@abhijeet848 abhijeet848 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Restrict wtgxx (eth, arbeth, opeth, sol, sepeth) and inherited OFC variants to BitGo Trust custody features only
  • Add SOL_TOKEN_FEATURES_TRUST_ONLY and lock the feature set in statics tests

Ticket: SCAAS-11102

@linear-code

linear-code Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

SCAAS-11102

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@abhijeet848
abhijeet848 requested a lite review from Copilot August 31, 2026 05:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@abhijeet848
abhijeet848 marked this pull request as ready for review August 31, 2026 06:01
@abhijeet848
abhijeet848 requested a review from a team as a code owner August 31, 2026 06:01
@abhijeet848 abhijeet848 changed the title feat(statics): license wtgxx custody to BitGo Trust only feat(statics): scope wtgxx tokens to BitGo Trust only Aug 31, 2026
@abhijeet848
abhijeet848 requested a balanced review from Copilot August 31, 2026 20:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

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