Skip to content

Commit f3704ad

Browse files
Merge pull request #7945 from BitGo/COIN-7264
feat(statics): onboard USDM1, Solstice eUSX, MYRC, Crescite, Mey Network, ConsumerFI, and GreatX tokens
2 parents 8c8f86e + 36af663 commit f3704ad

8 files changed

Lines changed: 401 additions & 307 deletions

File tree

modules/statics/CHANGELOG.md

Lines changed: 186 additions & 307 deletions
Large diffs are not rendered by default.

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2950,6 +2950,15 @@ export const allCoinsAndTokens = [
29502950
UnderlyingAsset['baseeth:icnt'],
29512951
Networks.main.basechain
29522952
),
2953+
erc20Token(
2954+
'1d6535c8-38f0-4b5b-b2d9-d5433dbaf868',
2955+
'baseeth:cfi',
2956+
'ConsumerFI',
2957+
18,
2958+
'0x0382e3fee4a420bd446367d468a6f00225853420',
2959+
UnderlyingAsset['baseeth:cfi'],
2960+
Networks.main.basechain
2961+
),
29532962
erc20Token(
29542963
'f5df6b74-c009-4d28-95e6-3cc7e66427b6',
29552964
'baseeth:weth',
@@ -2968,6 +2977,24 @@ export const allCoinsAndTokens = [
29682977
UnderlyingAsset['baseeth:morpho'],
29692978
Networks.main.basechain
29702979
),
2980+
erc20Token(
2981+
'2bd8ca07-ea27-4f6e-8503-0d9be1648fa5',
2982+
'baseeth:mey',
2983+
'Mey Network',
2984+
18,
2985+
'0x8bfac1b375bf2894d6f12fb2eb48b1c1a7916789',
2986+
UnderlyingAsset['baseeth:mey'],
2987+
Networks.main.basechain
2988+
),
2989+
erc20Token(
2990+
'd304292e-95c1-43b9-a690-f0ef04bd6590',
2991+
'baseeth:myrc',
2992+
'Malaysian Ringgit Coin',
2993+
18,
2994+
'0x3ed03e95dd894235090b3d4a49e0c3239edce59e',
2995+
UnderlyingAsset['baseeth:myrc'],
2996+
Networks.main.basechain
2997+
),
29712998
erc20Token(
29722999
'6f5e8b2e-7d8d-4f76-8f8e-7d6fbf7b8c5f',
29733000
'baseeth:creator',
@@ -3167,6 +3194,14 @@ export const allCoinsAndTokens = [
31673194
'0x05940b2df33d6371201e7ae099ced4c363855dfe',
31683195
UnderlyingAsset['xdc:lbt']
31693196
),
3197+
xdcErc20(
3198+
'39ac0cd2-8869-4b7e-8122-89f12dc9c7c6',
3199+
'xdc:cre',
3200+
'Crescite',
3201+
18,
3202+
'0xb5fa33923ec3ff7f4b9ab7b4c20b236d31243f77',
3203+
UnderlyingAsset['xdc:cre']
3204+
),
31703205
xdcErc20(
31713206
'f03302de-b06b-4ddc-94a2-ad7e89896725',
31723207
'xdc:gama',
@@ -3643,6 +3678,17 @@ export const allCoinsAndTokens = [
36433678
'',
36443679
'USDC'
36453680
),
3681+
stellarToken(
3682+
'b7f3e8d2-5a9c-4e6b-8f1d-3c2a7e9b4f0d',
3683+
'xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC',
3684+
'USDM1',
3685+
7,
3686+
UnderlyingAsset['xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC'],
3687+
'',
3688+
[...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN],
3689+
'',
3690+
'USDM1'
3691+
),
36463692
stellarToken(
36473693
'8b30dc19-aad7-426b-a98b-ee05f2e6dd71',
36483694
'xlm:SIX-GDMS6EECOH6MBMCP3FYRYEVRBIV3TQGLOFQIPVAITBRJUMTI6V7A2X6Z',

modules/statics/src/base.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ export enum UnderlyingAsset {
10011001
ECHT = 'echt',
10021002
'eth:eco' = 'eth:eco',
10031003
ECOX = 'ecox',
1004+
'sol:eusx' = 'sol:eusx',
10041005
EDEN = 'eden',
10051006
EDISON = 'edison',
10061007
EDLC = 'edlc',
@@ -1126,6 +1127,7 @@ export enum UnderlyingAsset {
11261127
GAMMA = 'gamma',
11271128
'sol:gari' = 'sol:gari',
11281129
'sol:usd1' = 'sol:usd1',
1130+
'sol:usdm1' = 'sol:usdm1',
11291131
'tsol:slnd' = 'tsol:slnd',
11301132
'tsol:orca' = 'tsol:orca',
11311133
'tsol:usdc' = 'tsol:usdc',
@@ -1435,6 +1437,7 @@ export enum UnderlyingAsset {
14351437
MVI = 'mvi',
14361438
MWT = 'mwt',
14371439
MYRC = 'myrc',
1440+
'sol:myrc' = 'sol:myrc',
14381441
MYTH = 'myth',
14391442
NAAI = 'naai',
14401443
NAS = 'nas',
@@ -1818,6 +1821,7 @@ export enum UnderlyingAsset {
18181821
TUSDS = 'tusds',
18191822
TGOUSD = 'tgousd',
18201823
'hteth:gousd' = 'hteth:gousd',
1824+
'hteth:grtx' = 'hteth:grtx',
18211825
'hteth:sofid' = 'hteth:sofid',
18221826
'hteth:stgsofid' = 'hteth:stgsofid',
18231827
'hteth:usd1' = 'hteth:usd1',
@@ -2109,6 +2113,7 @@ export enum UnderlyingAsset {
21092113
'eth:mon' = 'eth:mon',
21102114
'eth:usual' = 'eth:usual',
21112115
'eth:usd1' = 'eth:usd1',
2116+
'eth:usdm1' = 'eth:usdm1',
21122117
'eth:sofid' = 'eth:sofid',
21132118
'eth:ibtc' = 'eth:ibtc',
21142119
'eth:pyr' = 'eth:pyr',
@@ -2389,6 +2394,7 @@ export enum UnderlyingAsset {
23892394
'xlm:ETH-GBVOL67TMUQBGL4TZYNMY3ZQ5WGQYFPFD5VJRWXR72VA33VFNL225PL5' = 'xlm:ETH-GBVOL67TMUQBGL4TZYNMY3ZQ5WGQYFPFD5VJRWXR72VA33VFNL225PL5',
23902395
'xlm:WXT-GASBLVHS5FOABSDNW5SPPH3QRJYXY5JHA2AOA2QHH2FJLZBRXSG4SWXT' = 'xlm:WXT-GASBLVHS5FOABSDNW5SPPH3QRJYXY5JHA2AOA2QHH2FJLZBRXSG4SWXT',
23912396
'xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN' = 'xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN',
2397+
'xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC' = 'xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC',
23922398
'xlm:SIX-GDMS6EECOH6MBMCP3FYRYEVRBIV3TQGLOFQIPVAITBRJUMTI6V7A2X6Z' = 'xlm:SIX-GDMS6EECOH6MBMCP3FYRYEVRBIV3TQGLOFQIPVAITBRJUMTI6V7A2X6Z',
23932399
'xlm:BRLT-GCHQ3F2BF5P74DMDNOOGHT5DUCKC773AW5DTOFINC26W4KGYFPYDPRSO' = 'xlm:BRLT-GCHQ3F2BF5P74DMDNOOGHT5DUCKC773AW5DTOFINC26W4KGYFPYDPRSO',
23942400
'xlm:ARST-GCSAZVWXZKWS4XS223M5F54H2B6XPIIXZZGP7KEAIU6YSL5HDRGCI3DG' = 'xlm:ARST-GCSAZVWXZKWS4XS223M5F54H2B6XPIIXZZGP7KEAIU6YSL5HDRGCI3DG',
@@ -2919,8 +2925,11 @@ export enum UnderlyingAsset {
29192925

29202926
// BaseETH mainnet tokens
29212927
'baseeth:aero' = 'baseeth:aero',
2928+
'baseeth:cfi' = 'baseeth:cfi',
29222929
'baseeth:icnt' = 'baseeth:icnt',
2930+
'baseeth:mey' = 'baseeth:mey',
29232931
'baseeth:morpho' = 'baseeth:morpho',
2932+
'baseeth:myrc' = 'baseeth:myrc',
29242933
'baseeth:weth' = 'baseeth:weth',
29252934
'baseeth:usdc' = 'baseeth:usdc',
29262935
'baseeth:wbtc' = 'baseeth:wbtc',
@@ -2993,6 +3002,7 @@ export enum UnderlyingAsset {
29933002
// XDC mainnet tokens
29943003
'xdc:usdc' = 'xdc:usdc',
29953004
'xdc:lbt' = 'xdc:lbt',
3005+
'xdc:cre' = 'xdc:cre',
29963006
'xdc:gama' = 'xdc:gama',
29973007
'xdc:srx' = 'xdc:srx',
29983008
'xdc:weth' = 'xdc:weth',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10944,6 +10944,15 @@ export const erc20Coins = [
1094410944
UnderlyingAsset['eth:usd1'],
1094510945
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
1094610946
),
10947+
erc20(
10948+
'80f6ed83-3024-45c2-8d81-6debd2bf9f12',
10949+
'eth:usdm1',
10950+
'USDM1',
10951+
18,
10952+
'0xab3cfc7cf0720b75c41b4db078b4ddb338f562e7',
10953+
UnderlyingAsset['eth:usdm1'],
10954+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
10955+
),
1094710956
erc20(
1094810957
'4400af90-30d8-43fb-98b6-ca6791c94aa2',
1094910958
'eth:sofid',
@@ -12803,6 +12812,18 @@ export const erc20Coins = [
1280312812
undefined,
1280412813
Networks.test.hoodi
1280512814
),
12815+
terc20(
12816+
'ec5345e2-5dec-44d7-8dc7-bc46fb4b4f1d',
12817+
'hteth:grtx',
12818+
'GreatX Token',
12819+
6,
12820+
'0xa1b562a390915605a427f8f46c21917a4e1f1e0a',
12821+
UnderlyingAsset['hteth:grtx'],
12822+
undefined,
12823+
undefined,
12824+
undefined,
12825+
Networks.test.hoodi
12826+
),
1280612827
terc20(
1280712828
'c316d8ef-20d6-40b7-b0c1-e3cc278d0c17',
1280812829
'hterc2dp',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,10 +708,26 @@ export const ofcCoins = [
708708
...SOL_OFC_TOKEN_FEATURES,
709709
CoinFeature.STABLECOIN,
710710
]),
711+
ofcsolToken('daf9636e-8c99-4d62-bfaf-3ec7a4a5c883', 'ofcsol:eusx', 'Solstice eUSX', 6, UnderlyingAsset['sol:eusx'], [
712+
...SOL_OFC_TOKEN_FEATURES,
713+
CoinFeature.STABLECOIN,
714+
]),
715+
ofcsolToken(
716+
'74ca70b5-a98c-4486-a51b-f59165bdbed8',
717+
'ofcsol:myrc',
718+
'Malaysian Ringgit Coin',
719+
6,
720+
UnderlyingAsset['sol:myrc'],
721+
[...SOL_OFC_TOKEN_FEATURES]
722+
),
711723
ofcsolToken('0d96e2db-d01e-4ea0-ac87-3b51d563ea91', 'ofcsol:usdc', 'USD Coin', 6, UnderlyingAsset['sol:usdc'], [
712724
...SOL_OFC_TOKEN_FEATURES,
713725
CoinFeature.STABLECOIN,
714726
]),
727+
ofcsolToken('2ef2ca5a-139b-4797-97e1-476b2a39e63e', 'ofcsol:usdm1', 'USDM1', 9, UnderlyingAsset['sol:usdm1'], [
728+
...SOL_OFC_TOKEN_FEATURES,
729+
CoinFeature.STABLECOIN,
730+
]),
715731
ofcsolToken(
716732
'ebbe0d38-44cb-4464-999f-68c9765e37ef',
717733
'ofcsol:srm',
@@ -3560,6 +3576,16 @@ export const ofcCoins = [
35603576
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
35613577
),
35623578

3579+
ofcStellarToken(
3580+
'14d6fddf-3a96-4495-a4d7-1afaf166c25e',
3581+
'ofcxlm:usdm1',
3582+
'USDM1',
3583+
7,
3584+
UnderlyingAsset['xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC'],
3585+
undefined,
3586+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
3587+
),
3588+
35633589
ofcStellarToken(
35643590
'612c9f4e-3c0d-496b-97cb-b4035ded678d',
35653591
'ofcxlm:benji',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ export const ofcErc20Coins = [
4545
ofcerc20('28024a59-6fbb-4156-96e4-2ba7747e8581', 'ofcusdc', 'USD Coin', 6, UnderlyingAsset.USDC, undefined, [
4646
CoinFeature.STABLECOIN,
4747
]),
48+
ofcerc20(
49+
'ee579200-2f43-41f3-ba2e-365bcb20ff21',
50+
'ofcusdm1',
51+
'USDM1',
52+
18,
53+
underlyingAssetForSymbol('eth:usdm1'),
54+
undefined,
55+
[...OfcCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN]
56+
),
4857
ofcerc20('f790e63d-9785-4e98-b323-897fdc489613', 'ofcaave', 'Aave', 18, UnderlyingAsset.AAVE),
4958
ofcerc20('a3b0e98b-3a50-4ee7-a290-696b4cbce666', 'ofcape', 'ApeCoin', 18, UnderlyingAsset.APE),
5059
ofcerc20('15c3f5fb-255c-4ef6-9df3-767b3aa2b36d', 'ofcaudio', 'Audio', 18, UnderlyingAsset.AUDIO),
@@ -3838,6 +3847,20 @@ export const tOfcErc20Coins = [
38383847
undefined,
38393848
'hteth'
38403849
),
3850+
tofcerc20(
3851+
'10c3d10e-d725-4a1c-9485-d467cc171b56',
3852+
'ofchteth:grtx',
3853+
'GreatX Token',
3854+
6,
3855+
UnderlyingAsset['hteth:grtx'],
3856+
undefined,
3857+
undefined,
3858+
undefined,
3859+
undefined,
3860+
undefined,
3861+
undefined,
3862+
'hteth'
3863+
),
38413864
tofcerc20(
38423865
'4dc4534c-72b8-4a68-a914-210dae1e5d4d',
38433866
'ofchteth:usd1',
@@ -4736,6 +4759,49 @@ export const tOfcErc20Coins = [
47364759
'baseeth'
47374760
),
47384761

4762+
ofcerc20(
4763+
'7bdb4371-8488-4395-9f91-f60abf561f47',
4764+
'ofcbaseeth:cfi',
4765+
'ConsumerFI',
4766+
18,
4767+
UnderlyingAsset['baseeth:cfi'],
4768+
undefined,
4769+
undefined,
4770+
'',
4771+
undefined,
4772+
undefined,
4773+
true,
4774+
'baseeth'
4775+
),
4776+
ofcerc20(
4777+
'e083e24a-292c-48e1-8edb-e15ebd6c601b',
4778+
'ofcbaseeth:mey',
4779+
'Mey Network',
4780+
18,
4781+
UnderlyingAsset['baseeth:mey'],
4782+
undefined,
4783+
undefined,
4784+
'',
4785+
undefined,
4786+
undefined,
4787+
true,
4788+
'baseeth'
4789+
),
4790+
ofcerc20(
4791+
'35139b9b-cbad-419c-b8d8-b9182d7b8ddb',
4792+
'ofcbaseeth:myrc',
4793+
'Malaysian Ringgit Coin',
4794+
18,
4795+
UnderlyingAsset['baseeth:myrc'],
4796+
undefined,
4797+
undefined,
4798+
'',
4799+
undefined,
4800+
undefined,
4801+
true,
4802+
'baseeth'
4803+
),
4804+
47394805
ofcerc20(
47404806
'faddfbec-becf-4f9f-8f8b-9daebfcadbec',
47414807
'ofcbaseeth:towns',
@@ -4980,6 +5046,20 @@ export const tOfcErc20Coins = [
49805046
true,
49815047
'xdc'
49825048
),
5049+
ofcerc20(
5050+
'26dc9e5b-7bd5-4e77-859e-56e77e2582e7',
5051+
'ofcxdc:cre',
5052+
'Crescite',
5053+
18,
5054+
underlyingAssetForSymbol('xdc:cre'),
5055+
undefined,
5056+
undefined,
5057+
'',
5058+
undefined,
5059+
undefined,
5060+
true,
5061+
'xdc'
5062+
),
49835063
ofcerc20(
49845064
'086883c7-f7e9-458e-a0a1-ed3ec525f9c6',
49855065
'ofcxdc:gama',

modules/statics/src/coins/solTokens.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2937,6 +2937,26 @@ export const solTokens = [
29372937
SOL_TOKEN_FEATURES,
29382938
ProgramID.Token2022ProgramId
29392939
),
2940+
solToken(
2941+
'd1a4fb13-6911-4cc7-ba80-c767cbe4bbec',
2942+
'sol:eusx',
2943+
'Solstice eUSX',
2944+
6,
2945+
'3ThdFZQKM6kRyVGLG48kaPg5TRMhYMKY1iCRa9xop1WC',
2946+
'3ThdFZQKM6kRyVGLG48kaPg5TRMhYMKY1iCRa9xop1WC',
2947+
UnderlyingAsset['sol:eusx'],
2948+
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN]
2949+
),
2950+
solToken(
2951+
'58651360-5c62-4268-8bf1-0ed520f78979',
2952+
'sol:myrc',
2953+
'Malaysian Ringgit Coin',
2954+
6,
2955+
'myrcAs6bpP2g5oGHZ3qpgrfZQAFkbo9KUHdqYDXMjGv',
2956+
'myrcAs6bpP2g5oGHZ3qpgrfZQAFkbo9KUHdqYDXMjGv',
2957+
UnderlyingAsset['sol:myrc'],
2958+
SOL_TOKEN_FEATURES
2959+
),
29402960
solToken(
29412961
'2a5d3340-e68a-4baa-bae8-7bcc785d757f',
29422962
'sol:usd1',
@@ -2947,6 +2967,17 @@ export const solTokens = [
29472967
UnderlyingAsset['sol:usd1'],
29482968
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN]
29492969
),
2970+
solToken(
2971+
'18e33ee6-dd70-437b-9153-e79ec01c475e',
2972+
'sol:usdm1',
2973+
'USDM1',
2974+
9,
2975+
'BNgsQdjfWmjoy3cw8T3VXWswHfgCzEMyQzUno8gmzmRC',
2976+
'BNgsQdjfWmjoy3cw8T3VXWswHfgCzEMyQzUno8gmzmRC',
2977+
UnderlyingAsset['sol:usdm1'],
2978+
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN],
2979+
ProgramID.Token2022ProgramId
2980+
),
29502981
solToken(
29512982
'1477933f-cda3-469a-8da6-c80e701ffc99',
29522983
'sol:rksol',

modules/statics/test/unit/tokenNamingConvention.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ describe('Token Naming Convention Tests', function () {
5959
'hterc18dp',
6060
'hteth:bgerchv2',
6161
'hteth:aut',
62+
'hteth:grtx',
6263
'hterc6dp',
6364
'hterc2dp',
6465
'fixed',

0 commit comments

Comments
 (0)