Skip to content

Commit 681191b

Browse files
feat: onboard ERC-20 tokens on Hemi, Stable.xyz, HPP, and Unichain
Ticket: CGD-1104
1 parent c20d504 commit 681191b

3 files changed

Lines changed: 144 additions & 0 deletions

File tree

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,6 +1919,15 @@ export const allCoinsAndTokens = [
19191919
CoinFeature.SUPPORTS_ERC20,
19201920
]
19211921
),
1922+
erc20Token(
1923+
'0b7ba3b6-1652-4c9c-9642-5f612e2d43b6',
1924+
'usdt0:stable',
1925+
'STABLE',
1926+
18,
1927+
'0x0000000000000000000000000000000000001003',
1928+
UnderlyingAsset['usdt0:stable'],
1929+
Networks.main.usdt0
1930+
),
19221931
account(
19231932
'df01a650-3c8b-4182-a7cb-8ee7ad115c21',
19241933
'xpl',
@@ -2503,6 +2512,24 @@ export const allCoinsAndTokens = [
25032512
CoinFeature.SUPPORTS_ERC20,
25042513
]
25052514
),
2515+
erc20Token(
2516+
'dd54812d-c062-499d-bf19-d5914b3921e6',
2517+
'hemieth:hemi',
2518+
'Hemi',
2519+
18,
2520+
'0x99e3de3817f6081b2568208337ef83295b7f591d',
2521+
UnderlyingAsset['hemieth:hemi'],
2522+
Networks.main.hemieth
2523+
),
2524+
erc20Token(
2525+
'b3b89e74-b441-4e90-a68f-ef6b5ffa7200',
2526+
'hemieth:hemibtc',
2527+
'Hemi Bitcoin',
2528+
8,
2529+
'0xaa40c0c7644e0b2b224509571e10ad20d9c4ef28',
2530+
UnderlyingAsset['hemieth:hemibtc'],
2531+
Networks.main.hemieth
2532+
),
25062533
account(
25072534
'd055d442-03f1-4d24-b61c-5312e480e378',
25082535
'bobaeth',
@@ -2860,6 +2887,24 @@ export const allCoinsAndTokens = [
28602887
'',
28612888
'TUniETH'
28622889
),
2890+
erc20Token(
2891+
'd81ae32a-fa25-4a8b-94cc-cb05c90e59f1',
2892+
'unieth:usdc',
2893+
'USDC',
2894+
6,
2895+
'0x078d782b760474a361dda0af3839290b0ef57ad6',
2896+
UnderlyingAsset['unieth:usdc'],
2897+
Networks.main.unieth
2898+
),
2899+
erc20Token(
2900+
'28ce84a6-05cd-4b2b-a691-f505411c129c',
2901+
'unieth:uni',
2902+
'Uniswap',
2903+
18,
2904+
'0x8f187aa05619a017077f5308904739877ce9ea21',
2905+
UnderlyingAsset['unieth:uni'],
2906+
Networks.main.unieth
2907+
),
28632908
account(
28642909
'd68be88e-9d17-404c-ba7f-08aba1844437',
28652910
'hppeth',
@@ -2906,6 +2951,15 @@ export const allCoinsAndTokens = [
29062951
'',
29072952
'THppETH'
29082953
),
2954+
erc20Token(
2955+
'7dadee35-7971-4d0e-bb25-cc57ae795c9d',
2956+
'hppeth:hpp',
2957+
'HousePartyProtocol',
2958+
18,
2959+
'0xb48334e7938367bc24fe1f19000d6f06c622e6c7',
2960+
UnderlyingAsset['hppeth:hpp'],
2961+
Networks.main.hppeth
2962+
),
29092963
account(
29102964
'f0e3aa10-8e76-483c-ad4d-35aefb74b77b',
29112965
'thoodeth',

modules/statics/src/base.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,6 +1908,12 @@ export enum UnderlyingAsset {
19081908
// Robinhood Chain mainnet ERC-20 tokens
19091909
'hoodeth:tsla' = 'hoodeth:tsla',
19101910
'hoodeth:usdg' = 'hoodeth:usdg',
1911+
'hemieth:hemi' = 'hemieth:hemi',
1912+
'hemieth:hemibtc' = 'hemieth:hemibtc',
1913+
'usdt0:stable' = 'usdt0:stable',
1914+
'hppeth:hpp' = 'hppeth:hpp',
1915+
'unieth:usdc' = 'unieth:usdc',
1916+
'unieth:uni' = 'unieth:uni',
19111917
THKD = 'thkd',
19121918
THUNDER = 'thunder',
19131919
TIO = 'tio',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,90 @@ export const ofcErc20Coins = [
6363
undefined,
6464
'hoodeth'
6565
),
66+
ofcerc20(
67+
'66c849fa-ee81-4932-8ab7-d6b5d1f5b8da',
68+
'ofchemieth:hemi',
69+
'Hemi',
70+
18,
71+
UnderlyingAsset['hemieth:hemi'],
72+
undefined,
73+
undefined,
74+
undefined,
75+
undefined,
76+
undefined,
77+
undefined,
78+
'hemieth'
79+
),
80+
ofcerc20(
81+
'171cbe30-d8e7-445e-bb92-9d7377e471d6',
82+
'ofchemieth:hemibtc',
83+
'Hemi Bitcoin',
84+
8,
85+
UnderlyingAsset['hemieth:hemibtc'],
86+
undefined,
87+
undefined,
88+
undefined,
89+
undefined,
90+
undefined,
91+
undefined,
92+
'hemieth'
93+
),
94+
ofcerc20(
95+
'4abab5cd-b20a-4752-86f6-ec9d89c833c5',
96+
'ofcusdt0:stable',
97+
'STABLE',
98+
18,
99+
UnderlyingAsset['usdt0:stable'],
100+
undefined,
101+
undefined,
102+
undefined,
103+
undefined,
104+
undefined,
105+
undefined,
106+
'usdt0'
107+
),
108+
ofcerc20(
109+
'e9fd4c3c-d395-4441-bde0-374a47fe61cd',
110+
'ofchppeth:hpp',
111+
'HousePartyProtocol',
112+
18,
113+
UnderlyingAsset['hppeth:hpp'],
114+
undefined,
115+
undefined,
116+
undefined,
117+
undefined,
118+
undefined,
119+
undefined,
120+
'hppeth'
121+
),
122+
ofcerc20(
123+
'47255440-fcad-4e34-93a5-531d55688423',
124+
'ofcunieth:usdc',
125+
'USDC',
126+
6,
127+
UnderlyingAsset['unieth:usdc'],
128+
undefined,
129+
undefined,
130+
undefined,
131+
undefined,
132+
undefined,
133+
undefined,
134+
'unieth'
135+
),
136+
ofcerc20(
137+
'46fe479e-a4eb-47dc-a0a2-3753310859f3',
138+
'ofcunieth:uni',
139+
'Uniswap',
140+
18,
141+
UnderlyingAsset['unieth:uni'],
142+
undefined,
143+
undefined,
144+
undefined,
145+
undefined,
146+
undefined,
147+
undefined,
148+
'unieth'
149+
),
66150

67151
ofcerc20('8a73d170-28c1-48c9-8d3c-c7ea374f4414', 'ofcband', 'Band Protocol', 18, UnderlyingAsset.BAND),
68152
ofcerc20('ad5d8cf4-59b5-4b82-b1ee-d5d0d6ba5944', 'ofcant', 'Aragon', 18, UnderlyingAsset.ANT),

0 commit comments

Comments
 (0)