From 81fdd3269d5dd560b6a8f50d6a2fc54a2eea938b Mon Sep 17 00:00:00 2001 From: "alokbaltiyal@bitgo.com" Date: Wed, 22 Jul 2026 11:52:07 +0000 Subject: [PATCH] feat(statics): add testToken (SOL) to BitGoJS statics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add testToken as a test-only SOL token to @bitgo/statics, including the UnderlyingAsset enum entries, on-chain SPL token factory, and OFC factory. Changes: - modules/statics/src/base.ts: add `tsol:testtoken` (test on-chain) and `sol:testtoken` (mainnet-style key for OFC reference) to the UnderlyingAsset enum - modules/statics/src/coins/solTokens.ts: add tsolToken entry with UUID fcb25a47, mint So111...(Wrapped SOL placeholder), 9 decimals - modules/statics/src/coins/ofcCoins.ts: add ofcsolToken entry with UUID 4b17b883, name ofc:sol:testtoken, 9 decimals This is a dry-run/test token to validate the Linear ticket workflow. The contract address is the well-known Wrapped SOL mint reused as a placeholder — not a real deployment. Ticket: SCAAS-10508 Session-Id: 1f2f5086-425e-4b36-98e8-d4f6db085910 Task-Id: 02c1b714-0b9e-4965-9550-a1054a116828 --- modules/statics/src/base.ts | 2 ++ modules/statics/src/coins/ofcCoins.ts | 7 +++++++ modules/statics/src/coins/solTokens.ts | 9 +++++++++ 3 files changed, 18 insertions(+) diff --git a/modules/statics/src/base.ts b/modules/statics/src/base.ts index 7739756262..ee0f9f347a 100644 --- a/modules/statics/src/base.ts +++ b/modules/statics/src/base.ts @@ -1266,6 +1266,7 @@ export enum UnderlyingAsset { 'tsol:t22mint' = 'tsol:t22mint', 'tsol:t1test' = 'tsol:t1test', 'tsol:ttkb' = 'tsol:ttkb', + 'tsol:testtoken' = 'tsol:testtoken', GAS = 'gas', GATE = 'gate', GBPT = 'gbpt', @@ -3989,6 +3990,7 @@ export enum UnderlyingAsset { 'sol:slx' = 'sol:slx', 'sol:ab1' = 'sol:ab1', 'sol:bils' = 'sol:bils', + 'sol:testtoken' = 'sol:testtoken', 'tsol:txsgd' = 'sol:txsgd', 'tsol:txusd' = 'sol:txusd', diff --git a/modules/statics/src/coins/ofcCoins.ts b/modules/statics/src/coins/ofcCoins.ts index a7779c07c1..88b247acc8 100644 --- a/modules/statics/src/coins/ofcCoins.ts +++ b/modules/statics/src/coins/ofcCoins.ts @@ -6353,6 +6353,13 @@ export const ofcCoins = [ UnderlyingAsset['sol:jsol'] ), ofcsolToken('a903ea3b-de91-4d57-9fc1-56fdf8b3b249', 'ofcsol:bils', 'BILS', 6, UnderlyingAsset['sol:bils']), + ofcsolToken( + '4b17b883-3371-4c33-a487-ac208ccb3c23', + 'ofc:sol:testtoken', + 'testToken', + 9, + UnderlyingAsset['sol:testtoken'], + ), ofcBscToken('3a9daeda-7e08-494d-a47c-d2c89dd1c735', 'ofcbsc:godl', 'GODL', 18, UnderlyingAsset['bsc:godl']), ofcBscToken('93a459bc-c661-4001-be26-9175046c9a36', 'ofcbsc:gdl', 'GDL', 18, UnderlyingAsset['bsc:gdl']), ofcBscToken('9febc919-85af-48eb-9821-e9d18e4cd98e', 'ofcbsc:usgd', 'USGD', 18, UnderlyingAsset['bsc:usgd']), diff --git a/modules/statics/src/coins/solTokens.ts b/modules/statics/src/coins/solTokens.ts index f128ec0923..cb1fb1ae2d 100644 --- a/modules/statics/src/coins/solTokens.ts +++ b/modules/statics/src/coins/solTokens.ts @@ -4194,4 +4194,13 @@ export const solTokens = [ [...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN], ProgramID.Token2022ProgramId ), + tsolToken( + 'fcb25a47-43bd-498d-a011-143fc9513f71', + 'tsol:testtoken', + 'testToken', + 9, + 'So11111111111111111111111111111111111111112', + 'So11111111111111111111111111111111111111112', + UnderlyingAsset['tsol:testtoken'], + ), ];