Skip to content

Commit 7be27b6

Browse files
authored
Merge pull request #8033 from BitGo/SC-5144
feat(stnear): onboarding stnear testnet
2 parents 76711a2 + e763ca7 commit 7be27b6

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

modules/statics/src/base.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3489,6 +3489,7 @@ export enum UnderlyingAsset {
34893489
// Nep141 testnet tokens
34903490
'tnear:tnep24dp' = 'tnear:tnep24dp',
34913491
'tnear:usdc' = 'tnear:usdc',
3492+
'tnear:stnear' = 'tnear:stnear',
34923493

34933494
// VET tokens
34943495
'vet:vtho' = 'vet:vtho',

modules/statics/src/coins/nep141Tokens.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,14 @@ export const nep141Tokens = [
6565
UnderlyingAsset['tnear:usdc'],
6666
[...NEAR_TOKEN_FEATURES, CoinFeature.STABLECOIN]
6767
),
68+
tnep141Token(
69+
'21f06a60-384a-48b2-9b88-8c4a4b0d28c0',
70+
'tnear:stnear',
71+
'stNEAR',
72+
24,
73+
'meta-v2.pool.testnet',
74+
'1250000000000000000000',
75+
UnderlyingAsset['tnear:stnear'],
76+
NEAR_TOKEN_FEATURES
77+
),
6878
];

modules/statics/src/coins/ofcCoins.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3828,6 +3828,13 @@ export const ofcCoins = [
38283828
UnderlyingAsset['tnear:usdc'],
38293829
[CoinFeature.STABLECOIN]
38303830
),
3831+
tofcnep141Token(
3832+
'2b0827da-7abb-4ce2-a2f4-5129ace9dc5c',
3833+
'ofctnear:stnear',
3834+
'stNEAR',
3835+
24,
3836+
UnderlyingAsset['tnear:stnear']
3837+
),
38313838
ofcWorldErc20('809418f2-d9e7-4604-bc17-e7dc881324c3', 'ofcworld:wld', 'Worldcoin', 18, UnderlyingAsset['world:wld']),
38323839
ofcWorldErc20(
38333840
'b37a7ce1-3be3-4df1-808d-8cc9065c7ed7',

modules/statics/test/unit/ofcTokenNaming.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ describe('OFC Token Naming Convention Tests', function () {
5050
'ofctpolygon:usdt', // "Tether USD"
5151
'ofctpolygon:xsgd', // "XSGD"
5252
'ofctnear:usdc', // "USD Coin"
53+
'ofctnear:stnear', // "stNEAR"
5354
'ofctbaseeth', // "Base Sepolia Chain"
5455
];
5556

0 commit comments

Comments
 (0)