Skip to content

Commit a33f90f

Browse files
feat: add support for new tokens in ERC19 and OFC ERC20 definitions
Ticket: WIN-7847
1 parent b3fa864 commit a33f90f

File tree

5 files changed

+83
-0
lines changed

5 files changed

+83
-0
lines changed

modules/statics/src/base.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,6 +2310,11 @@ export enum UnderlyingAsset {
23102310
'eth:kpk' = 'eth:kpk',
23112311
'eth:devve' = 'eth:devve',
23122312
'eth:fbtc' = 'eth:fbtc',
2313+
'eth:byzusd' = 'eth:byzusd',
2314+
'eth:audm' = 'eth:audm',
2315+
'eth:usdi' = 'eth:usdi',
2316+
'eth:tea' = 'eth:tea',
2317+
'eth:ofc' = 'eth:ofc',
23132318

23142319
'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
23152320
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',
@@ -2583,6 +2588,7 @@ export enum UnderlyingAsset {
25832588
'polygon:zig' = 'polygon:zig',
25842589
'polygon:brl1' = 'polygon:brl1',
25852590
'polygon:cnktplus' = 'polygon:cnktplus',
2591+
'polygon:mmt54' = 'polygon:mmt54',
25862592
// Polygon NFTs
25872593
// generic NFTs
25882594
'erc721:polygontoken' = 'erc721:polygontoken',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14016,4 +14016,47 @@ export const erc20Coins = [
1401614016
'0xc96de26018a54d51c097160568752c4e3bd6c364',
1401714017
UnderlyingAsset['eth:fbtc']
1401814018
),
14019+
erc20(
14020+
'f2327bcc-41a0-446d-b482-4d1148c24343',
14021+
'eth:byzusd',
14022+
'Byzantine Prime USD',
14023+
18,
14024+
'0x30cacd22f178c9e57b0b010e1f9432881aa530c4',
14025+
UnderlyingAsset['eth:byzusd']
14026+
),
14027+
14028+
erc20(
14029+
'17d33c86-258a-47b7-abab-486b5e349965',
14030+
'eth:audm',
14031+
'Macropod Stablecoin',
14032+
18,
14033+
'0x081599e4936d12c46bd48913b2329115cd26cbdd',
14034+
UnderlyingAsset['eth:audm']
14035+
),
14036+
14037+
erc20(
14038+
'bb874b3f-8844-4d92-82cf-c3dcfdcfebd0',
14039+
'eth:usdi',
14040+
'USDi',
14041+
6,
14042+
'0xaf1157149ff040dad186a0142a796d901bef1cf1',
14043+
UnderlyingAsset['eth:usdi']
14044+
),
14045+
erc20(
14046+
'4ff37854-c686-4114-bbf2-6bfeeb7e14b1',
14047+
'eth:tea',
14048+
'Tea',
14049+
18,
14050+
'0x7ea7ea50ed58bc4d0a9194bcd328e21f7be80c2b',
14051+
UnderlyingAsset['eth:tea']
14052+
),
14053+
14054+
erc20(
14055+
'c72cb819-15bc-4265-8efb-c0421edda866',
14056+
'eth:ofc',
14057+
'OneFootball Club',
14058+
18,
14059+
'0x9cb7a4ef0cae65b07362bc679a0b874041e3da53',
14060+
UnderlyingAsset['eth:ofc']
14061+
),
1401914062
];

modules/statics/src/coins/ofcCoins.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3220,6 +3220,14 @@ export const ofcCoins = [
32203220
18,
32213221
UnderlyingAsset['polygon:brl1']
32223222
),
3223+
ofcPolygonErc20(
3224+
'bb845778-42b3-4277-a291-a0d703e5961e',
3225+
'ofcpolygon:mmt54',
3226+
'METWAVE MINE',
3227+
15,
3228+
UnderlyingAsset['polygon:mmt54']
3229+
),
3230+
32233231
tofcPolygonErc20(
32243232
'62f4329d-11cd-4875-b91b-9ceae66c9439',
32253233
'ofctpolygon:link',

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4533,6 +4533,23 @@ export const tOfcErc20Coins = [
45334533
),
45344534
ofcerc20('c71454e2-c51c-40df-8605-e57f2d97ed53', 'ofceth:yu', 'Yala Stablecoin', 18, UnderlyingAsset['eth:yu']),
45354535
ofcerc20('72427813-ec17-4100-8d6d-844a3f71f34e', 'ofceth:fbtc', 'Function Bitcoin', 8, UnderlyingAsset['eth:fbtc']),
4536+
ofcerc20(
4537+
'e050aeab-a9c9-4962-b42f-d350c88efb37',
4538+
'ofceth:byzusd',
4539+
'Byzantine Prime USD',
4540+
18,
4541+
UnderlyingAsset['eth:byzusd']
4542+
),
4543+
ofcerc20(
4544+
'c3bbb0f5-a0d8-4651-ac4b-3727383f59ec',
4545+
'ofceth:audm',
4546+
'Macropod Stablecoin',
4547+
18,
4548+
UnderlyingAsset['eth:audm']
4549+
),
4550+
ofcerc20('884a97f2-5808-4614-814e-2cd1d17d29df', 'ofceth:usdi', 'USDi', 6, UnderlyingAsset['eth:usdi']),
4551+
ofcerc20('f4e98148-b703-4608-b416-67cd89c8a9f0', 'ofceth:tea', 'Tea', 18, UnderlyingAsset['eth:tea']),
4552+
ofcerc20('727298fe-56c5-477a-92af-5b4139e792ea', 'ofceth:ofc', 'OneFootball Club', 18, UnderlyingAsset['eth:ofc']),
45364553
];
45374554

45384555
function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset {

modules/statics/src/coins/polygonTokens.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,15 @@ export const polygonTokens = [
11141114
UnderlyingAsset['polygon:brl1'],
11151115
POLYGON_TOKEN_FEATURES
11161116
),
1117+
polygonErc20(
1118+
'93611666-ac86-4859-805d-2604aea6a748',
1119+
'polygon:mmt54',
1120+
'METWAVE MINE',
1121+
15,
1122+
'0x36178970375da9f363104555149a0bcaf80c777b',
1123+
UnderlyingAsset['polygon:mmt54'],
1124+
POLYGON_TOKEN_FEATURES
1125+
),
11171126
// testnet polygon tokens
11181127
tpolygonErc20(
11191128
'09ba76d0-331e-4b75-bb75-739285c3e03a',

0 commit comments

Comments
 (0)