Skip to content

Commit 593ce90

Browse files
fix(statics): restore tokens and features dropped in AMS regeneration
The latest AMS API token import regenerated botTokens and botOfcTokens and dropped entries that exist on master: the base tokens hteth:WBTC, hteth:tgku and hteth:stzamakms with their OFC variants ofchteth:WBTC, ofchteth:tgku and ofchteth:stzamakms, and CoinFeature.STAKING on hteth:zamamock. Restore all of them from master verbatim, at their original positions. CSHLD-000
1 parent 3a43bfd commit 593ce90

2 files changed

Lines changed: 87 additions & 0 deletions

File tree

‎modules/statics/src/coins/botOfcTokens.ts‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ export const botOfcTokens = [
1515
undefined,
1616
'hteth'
1717
),
18+
AccountCtors.tofcerc20(
19+
'd7c2c0ee-3af7-411d-88a7-9a5e8170f250',
20+
'ofchteth:WBTC',
21+
'Wrapped BTC',
22+
8,
23+
'hteth:WBTC' as unknown as UnderlyingAsset,
24+
undefined,
25+
undefined,
26+
undefined,
27+
undefined,
28+
undefined,
29+
undefined,
30+
'hteth'
31+
),
1832
AccountCtors.tofcerc20(
1933
'abb40366-999b-4bdd-a222-7ba2edbd19d8',
2034
'ofchteth:wsteth',
@@ -193,6 +207,34 @@ export const botOfcTokens = [
193207
undefined,
194208
undefined
195209
),
210+
AccountCtors.tofcerc20(
211+
'0cb1f209-9a1e-4db6-bac1-1297c11deca5',
212+
'ofchteth:tgku',
213+
'Hoodi Gokubu',
214+
18,
215+
'hteth:tgku' as unknown as UnderlyingAsset,
216+
undefined,
217+
undefined,
218+
undefined,
219+
undefined,
220+
undefined,
221+
undefined,
222+
'hteth'
223+
),
224+
AccountCtors.tofcerc20(
225+
'2b1e7e23-4cd8-46af-86ba-02f90cbe91ee',
226+
'ofchteth:stzamakms',
227+
'Mock Zama Staked ZAMA',
228+
20,
229+
'hteth:stzamakms' as unknown as UnderlyingAsset,
230+
undefined,
231+
undefined,
232+
undefined,
233+
undefined,
234+
undefined,
235+
undefined,
236+
'hteth'
237+
),
196238
AccountCtors.tofcerc20(
197239
'93cdb013-f0e3-4b2a-be37-b41bc0b0d9e0',
198240
'ofchteth:stzamadfns',

‎modules/statics/src/coins/botTokens.ts‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ export const botTokens = [
2828
undefined,
2929
Networks.test.hoodi
3030
),
31+
AccountCtors.terc20(
32+
'1f8f6be2-e97e-4f41-836d-c4420b8cc77b',
33+
'hteth:WBTC',
34+
'Wrapped BTC',
35+
8,
36+
'0xa56a332d34b2db33ebc41dc0194afd28cb20d19b',
37+
'hteth:WBTC' as unknown as UnderlyingAsset,
38+
getTokenFeatures('eth'),
39+
undefined,
40+
undefined,
41+
Networks.test.hoodi
42+
),
3143
AccountCtors.terc20(
3244
'f917c7b9-bfdf-4ef0-88bb-0db70ef253a9',
3345
'hteth:wsteth',
@@ -212,6 +224,38 @@ export const botTokens = [
212224
undefined,
213225
Networks.test.sol
214226
),
227+
AccountCtors.terc20(
228+
'0e5cb41c-7ec4-4b30-90e7-33d23547ad67',
229+
'hteth:tgku',
230+
'Hoodi Gokubu',
231+
18,
232+
'0xa3e27ba64c528b2440266e6ded824becb6dcfae8',
233+
'hteth:tgku' as unknown as UnderlyingAsset,
234+
getTokenFeatures('eth', [
235+
'custody-bitgo-new-york' as CoinFeature,
236+
'custody-bitgo-germany' as CoinFeature,
237+
'custody-bitgo-korea' as CoinFeature,
238+
]),
239+
undefined,
240+
undefined,
241+
Networks.test.hoodi
242+
),
243+
AccountCtors.terc20(
244+
'723429e7-6e11-4b0c-8785-95ae0d8c89c1',
245+
'hteth:stzamakms',
246+
'Mock Zama Staked ZAMA',
247+
20,
248+
'0xbfb717a712ac94204ae9e7049332641f3332c82f',
249+
'hteth:stzamakms' as unknown as UnderlyingAsset,
250+
getTokenFeatures('eth', [
251+
'custody-bitgo-new-york' as CoinFeature,
252+
'custody-bitgo-germany' as CoinFeature,
253+
'custody-bitgo-korea' as CoinFeature,
254+
]),
255+
undefined,
256+
undefined,
257+
Networks.test.hoodi
258+
),
215259
AccountCtors.terc20(
216260
'62c5d357-b508-4748-9a07-878d3414b472',
217261
'hteth:stzamadfns',
@@ -404,6 +448,7 @@ export const botTokens = [
404448
'custody-bitgo-switzerland' as CoinFeature,
405449
'custody-bitgo-sister-trust-one' as CoinFeature,
406450
'custody-bitgo-korea' as CoinFeature,
451+
CoinFeature.STAKING,
407452
]),
408453
undefined,
409454
undefined,

0 commit comments

Comments
 (0)