Skip to content

Commit da48ffd

Browse files
Merge pull request #9390 from BitGo/SCAAS-10692/onboard-sofid-usd1-multi-chain
feat(statics): add SoFiUSD and USD1 token definitions on Tempo, Monad…
2 parents 90c5df2 + 262de79 commit da48ffd

6 files changed

Lines changed: 207 additions & 1 deletion

File tree

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,15 @@ export const allCoinsAndTokens = [
524524
CoinFeature.SUPPORTS_ERC20,
525525
]
526526
),
527+
erc20Token(
528+
'2ffbb405-f474-48b8-b4e9-dacd6ace3d49',
529+
'gasevm:usd1',
530+
'USD1',
531+
18,
532+
'0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d',
533+
UnderlyingAsset['gasevm:usd1'],
534+
Networks.main.gasevm
535+
),
527536
account(
528537
'e7fdbd6f-93ff-4dda-8a57-81580827188e',
529538
'txtzevm',
@@ -1141,6 +1150,24 @@ export const allCoinsAndTokens = [
11411150
CoinFeature.SUPPORTS_ERC20,
11421151
]
11431152
),
1153+
erc20Token(
1154+
'bcd18a2e-8b19-4c6a-9f0a-9350ad5c29cf',
1155+
'tgasevm:usd1',
1156+
'USD1',
1157+
18,
1158+
'0xf5618919e1b0931f8b0f93f1fc9e8fb6f90f0f93',
1159+
UnderlyingAsset['tgasevm:usd1'],
1160+
Networks.test.tgasevm
1161+
),
1162+
erc20Token(
1163+
'72741d8c-6766-43f5-84d8-8fefdec546bc',
1164+
'tgasevm:stgusd1',
1165+
'USD1',
1166+
18,
1167+
'0x60c4371e34e2def89875727fa0912897140e4181',
1168+
UnderlyingAsset['tgasevm:stgusd1'],
1169+
Networks.test.tgasevm
1170+
),
11441171
account(
11451172
'9fbfb875-fb80-4a37-b844-48b9e48dfcdd',
11461173
'zeta',
@@ -3724,6 +3751,20 @@ export const allCoinsAndTokens = [
37243751
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
37253752
]
37263753
),
3754+
tip20Token(
3755+
'e6e78290-a680-4ea2-a205-b4abc5ba5cd8',
3756+
'tempo:sofid',
3757+
'SoFiUSD',
3758+
6,
3759+
'0x20c00000000000000000000050f1d06232a0290f',
3760+
UnderlyingAsset['tempo:sofid'],
3761+
[
3762+
...TEMPO_FEATURES,
3763+
CoinFeature.STABLECOIN,
3764+
CoinFeature.EVM_NON_BITGO_RECOVERY,
3765+
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
3766+
]
3767+
),
37273768
// Tempo TIP20 testnet tokens
37283769
ttip20Token(
37293770
'e1872fd8-14ee-4dc9-bc5e-fd52552d9c60',
@@ -3865,6 +3906,34 @@ export const allCoinsAndTokens = [
38653906
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
38663907
]
38673908
),
3909+
ttip20Token(
3910+
'25488f95-b36f-45a7-a116-32b38bd79400',
3911+
'ttempo:sofid',
3912+
'Test SoFiUSD',
3913+
6,
3914+
'0x20c00000000000000000000050f10565fddd36c4',
3915+
UnderlyingAsset['ttempo:sofid'],
3916+
[
3917+
...TEMPO_FEATURES,
3918+
CoinFeature.STABLECOIN,
3919+
CoinFeature.EVM_NON_BITGO_RECOVERY,
3920+
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
3921+
]
3922+
),
3923+
ttip20Token(
3924+
'765996aa-5a19-453b-bbd5-8a5c39af1db7',
3925+
'ttempo:stgsofid',
3926+
'Test SoFiUSD',
3927+
6,
3928+
'0x20c00000000000000000000050f1d06232a0290f',
3929+
UnderlyingAsset['ttempo:stgsofid'],
3930+
[
3931+
...TEMPO_FEATURES,
3932+
CoinFeature.STABLECOIN,
3933+
CoinFeature.EVM_NON_BITGO_RECOVERY,
3934+
CoinFeature.EVM_UNSIGNED_SWEEP_RECOVERY,
3935+
]
3936+
),
38683937
canton(
38693938
'07385320-5a4f-48e9-97a5-86d4be9f24b0',
38703939
'canton',
@@ -5094,6 +5163,14 @@ export const allCoinsAndTokens = [
50945163
'0x754704bc059f8c67012fed69bc8a327a5aafb603',
50955164
UnderlyingAsset['mon:usdc']
50965165
),
5166+
monErc20(
5167+
'c930fcc3-c762-43d3-969b-41f51def8143',
5168+
'mon:sofid',
5169+
'SoFiUSD',
5170+
6,
5171+
'0x5572728e36b5510010ade1db6bbaea1c402411cc',
5172+
UnderlyingAsset['mon:sofid']
5173+
),
50975174

50985175
// MON testnet tokens
50995176
tmonErc20(
@@ -5104,6 +5181,22 @@ export const allCoinsAndTokens = [
51045181
'0x119abe0ba145873072e94baa98da26e11da067ad',
51055182
UnderlyingAsset['tmon:tmt']
51065183
),
5184+
tmonErc20(
5185+
'25f2f4a8-000f-4c5c-816b-1b7bc2f167ad',
5186+
'tmon:sofid',
5187+
'Test SoFiUSD',
5188+
6,
5189+
'0xa7171032d2f41828dffd793149823e13f79c456e',
5190+
UnderlyingAsset['tmon:sofid']
5191+
),
5192+
tmonErc20(
5193+
'774faf6c-c8b0-4b07-9e26-d75e9752ab92',
5194+
'tmon:stgsofid',
5195+
'Test SoFiUSD',
5196+
6,
5197+
'0xf5618919e1b0931f8b0f93f1fc9e8fb6f90f0f93',
5198+
UnderlyingAsset['tmon:stgsofid']
5199+
),
51075200

51085201
// hypeeevm testnet tokens
51095202
erc20Token(

modules/statics/src/base.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3210,6 +3210,7 @@ export enum UnderlyingAsset {
32103210
'polygon:wpay' = 'polygon:wpay',
32113211
'polygon:seag' = 'polygon:seag',
32123212
'polygon:infra' = 'polygon:infra',
3213+
'polygon:sofid' = 'polygon:sofid',
32133214
// Polygon NFTs
32143215
// generic NFTs
32153216
'erc721:polygontoken' = 'erc721:polygontoken',
@@ -3503,6 +3504,8 @@ export enum UnderlyingAsset {
35033504
'tpolygon:copr3' = 'tpolygon:copr3',
35043505
'tpolygon:tusdl' = 'tpolygon:tusdl',
35053506
'tpolygon:tusdlt' = 'tpolygon:tusdlt',
3507+
'tpolygon:sofid' = 'tpolygon:sofid',
3508+
'tpolygon:stgsofid' = 'tpolygon:stgsofid',
35063509

35073510
// generic NFTs
35083511
'terc721:polygontoken' = 'terc721:polygontoken',
@@ -3695,9 +3698,19 @@ export enum UnderlyingAsset {
36953698
// Monad mainnet tokens
36963699
'mon:usdc' = 'mon:usdc',
36973700
'mon:wmon' = 'mon:wmon',
3701+
'mon:sofid' = 'mon:sofid',
36983702

36993703
// Monad testnet tokens
37003704
'tmon:tmt' = 'tmon:tmt',
3705+
'tmon:sofid' = 'tmon:sofid',
3706+
'tmon:stgsofid' = 'tmon:stgsofid',
3707+
3708+
// GasEVM (Neo X) mainnet tokens
3709+
'gasevm:usd1' = 'gasevm:usd1',
3710+
3711+
// GasEVM (Neo X) testnet tokens
3712+
'tgasevm:usd1' = 'tgasevm:usd1',
3713+
'tgasevm:stgusd1' = 'tgasevm:stgusd1',
37013714

37023715
// XDC mainnet tokens
37033716
'xdc:usdc' = 'xdc:usdc',
@@ -4506,6 +4519,7 @@ export enum UnderlyingAsset {
45064519
'tempo:syrupusdc' = 'tempo:syrupusdc',
45074520
'tempo:cusd' = 'tempo:cusd',
45084521
'tempo:stcusd' = 'tempo:stcusd',
4522+
'tempo:sofid' = 'tempo:sofid',
45094523

45104524
// Tempo testnet tokens
45114525
'ttempo:pathusd' = 'ttempo:pathusd',
@@ -4518,6 +4532,8 @@ export enum UnderlyingAsset {
45184532
'ttempo:stggousd' = 'ttempo:stggousd',
45194533
'ttempo:stgscaasacme' = 'ttempo:stgscaasacme',
45204534
'ttempo:scaasacme' = 'ttempo:scaasacme',
4535+
'ttempo:sofid' = 'ttempo:sofid',
4536+
'ttempo:stgsofid' = 'ttempo:stgsofid',
45214537

45224538
// Prividium Ethereum testnet tokens
45234539
'tprividiumeth:USB-ESCROW-D' = 'tprividiumeth:USB-ESCROW-D',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14964,7 +14964,7 @@ export const erc20Coins = [
1496414964
'hteth:wbtc',
1496514965
'Hoodi Testnet Wrapped Bitcoin',
1496614966
8,
14967-
'0xbe19716adc7e0b8bb75f5ba12657ecff05c531cb',
14967+
'0x219d33e6fcd0c8cdbc12b10205592f286d458a33',
1496814968
UnderlyingAsset['hteth:wbtc'],
1496914969
undefined,
1497014970
undefined,

modules/statics/src/coins/ofcCoins.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4484,6 +4484,13 @@ export const ofcCoins = [
44844484
18,
44854485
UnderlyingAsset['polygon:infra']
44864486
),
4487+
ofcPolygonErc20(
4488+
'5ef81cb6-da18-4227-accd-e4322354db62',
4489+
'ofcpolygon:sofid',
4490+
'SoFiUSD',
4491+
6,
4492+
UnderlyingAsset['polygon:sofid']
4493+
),
44874494

44884495
tofcPolygonErc20(
44894496
'62f4329d-11cd-4875-b91b-9ceae66c9439',
@@ -4556,6 +4563,24 @@ export const ofcCoins = [
45564563
undefined,
45574564
[CoinFeature.STABLECOIN]
45584565
),
4566+
tofcPolygonErc20(
4567+
'e4cc0881-3458-4fbb-ab94-d958269b054e',
4568+
'ofctpolygon:sofid',
4569+
'Test SoFiUSD',
4570+
6,
4571+
UnderlyingAsset['tpolygon:sofid'],
4572+
undefined,
4573+
[CoinFeature.STABLECOIN]
4574+
),
4575+
tofcPolygonErc20(
4576+
'488edbf0-a7fe-4792-bf71-7e7cd105dd76',
4577+
'ofctpolygon:stgsofid',
4578+
'Test SoFiUSD',
4579+
6,
4580+
UnderlyingAsset['tpolygon:stgsofid'],
4581+
undefined,
4582+
[CoinFeature.STABLECOIN]
4583+
),
45594584

45604585
ofcAlgoToken(
45614586
'fec37305-8fb8-4c23-b42c-b4696d579eb9',
@@ -6218,6 +6243,7 @@ export const ofcCoins = [
62186243
6,
62196244
UnderlyingAsset['tempo:stcusd']
62206245
),
6246+
ofcTempoToken('003c69c6-5a4a-4768-bea1-cb57718ea719', 'ofctempo:sofid', 'SoFiUSD', 6, UnderlyingAsset['tempo:sofid']),
62216247
// Tempo testnet OFC tokens
62226248
tofcTempoToken(
62236249
'7912e76e-5a5c-4f1b-86e9-1fc2a51f5a98',
@@ -6289,6 +6315,20 @@ export const ofcCoins = [
62896315
6,
62906316
UnderlyingAsset['ttempo:scaasacme']
62916317
),
6318+
tofcTempoToken(
6319+
'02c146be-1e54-4513-8d51-69b20ffacef1',
6320+
'ofcttempo:sofid',
6321+
'Test SoFiUSD',
6322+
6,
6323+
UnderlyingAsset['ttempo:sofid']
6324+
),
6325+
tofcTempoToken(
6326+
'517b41b2-8714-4193-8178-a57316567d1e',
6327+
'ofcttempo:stgsofid',
6328+
'Test SoFiUSD',
6329+
6,
6330+
UnderlyingAsset['ttempo:stgsofid']
6331+
),
62926332
ofc('6f0246cf-b792-483a-b720-9755b158c614', 'ofcunieth', 'Unichain', 18, UnderlyingAsset.UNIETH, CoinKind.CRYPTO),
62936333
tofc(
62946334
'4efb1377-8439-410a-b460-2aeeff944fb2',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6354,6 +6354,36 @@ export const tOfcErc20Coins = [
63546354
true,
63556355
'mon'
63566356
),
6357+
ofcerc20(
6358+
'a59c0575-4bf1-4789-8fdf-292ebc1a649c',
6359+
'ofcmon:sofid',
6360+
'SoFiUSD',
6361+
6,
6362+
underlyingAssetForSymbol('mon:sofid'),
6363+
undefined,
6364+
[...OfcCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN],
6365+
'',
6366+
undefined,
6367+
undefined,
6368+
true,
6369+
'mon'
6370+
),
6371+
6372+
// GasEVM (Neo X) tokens
6373+
ofcerc20(
6374+
'f8a70f88-cf11-4057-8701-c1985417f309',
6375+
'ofcgasevm:usd1',
6376+
'USD1',
6377+
18,
6378+
underlyingAssetForSymbol('gasevm:usd1'),
6379+
undefined,
6380+
[...OfcCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN],
6381+
'',
6382+
undefined,
6383+
undefined,
6384+
true,
6385+
'gasevm'
6386+
),
63576387

63586388
// XDC Network tokens
63596389
ofcerc20(

modules/statics/src/coins/polygonTokens.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1663,6 +1663,15 @@ export const polygonTokens = [
16631663
UnderlyingAsset['polygon:infra'],
16641664
POLYGON_TOKEN_FEATURES
16651665
),
1666+
polygonErc20(
1667+
'3b746d2c-ec3f-43cb-a4ce-a08eb4d8c65f',
1668+
'polygon:sofid',
1669+
'SoFiUSD',
1670+
6,
1671+
'0x5572728e36b5510010ade1db6bbaea1c402411cc',
1672+
UnderlyingAsset['polygon:sofid'],
1673+
POLYGON_TOKEN_FEATURES
1674+
),
16661675
tpolygonErc20(
16671676
'13dd4ab7-2d94-493c-9a61-323f6300f7e5',
16681677
'tpolygon:tusdl',
@@ -1681,4 +1690,22 @@ export const polygonTokens = [
16811690
UnderlyingAsset['tpolygon:tusdlt'],
16821691
[...POLYGON_TOKEN_FEATURES_EXCLUDE_SINGAPORE, CoinFeature.STABLECOIN]
16831692
),
1693+
tpolygonErc20(
1694+
'6a36c634-7761-4fad-bb76-4f06110faee7',
1695+
'tpolygon:sofid',
1696+
'Test SoFiUSD',
1697+
6,
1698+
'0xa7171032d2f41828dffd793149823e13f79c456e',
1699+
UnderlyingAsset['tpolygon:sofid'],
1700+
[...POLYGON_TOKEN_FEATURES_EXCLUDE_SINGAPORE, CoinFeature.STABLECOIN]
1701+
),
1702+
tpolygonErc20(
1703+
'f7f8d537-fdaf-42aa-8bc9-4a645f34f6f8',
1704+
'tpolygon:stgsofid',
1705+
'Test SoFiUSD',
1706+
6,
1707+
'0xf5618919e1b0931f8b0f93f1fc9e8fb6f90f0f93',
1708+
UnderlyingAsset['tpolygon:stgsofid'],
1709+
[...POLYGON_TOKEN_FEATURES_EXCLUDE_SINGAPORE, CoinFeature.STABLECOIN]
1710+
),
16841711
];

0 commit comments

Comments
 (0)