Skip to content

Commit 545de9e

Browse files
Merge pull request #9273 from BitGo/CECHO-1630-onboard-assets
feat(statics): onboard eth, sol, polygon, and baseeth assets
2 parents f8b5ec4 + 9babccb commit 545de9e

7 files changed

Lines changed: 87 additions & 0 deletions

File tree

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4246,6 +4246,15 @@ export const allCoinsAndTokens = [
42464246
UnderlyingAsset['tbaseeth:kmusdc'],
42474247
Networks.test.basechain
42484248
),
4249+
erc20Token(
4250+
'79fcac64-cad2-4c17-b8fc-2930b7022384',
4251+
'tbaseeth:tpdd',
4252+
'MarketplacePDD ALPACA',
4253+
18,
4254+
'0x924928512fb9a1836111cb5214774a5f620be40a',
4255+
UnderlyingAsset['tbaseeth:tpdd'],
4256+
Networks.test.basechain
4257+
),
42494258
erc20Token(
42504259
'439fb12d-fddf-4749-8a33-b7c79fefc1b4',
42514260
'baseeth:wave',
@@ -4868,6 +4877,15 @@ export const allCoinsAndTokens = [
48684877
UnderlyingAsset['baseeth:gldy'],
48694878
Networks.main.basechain
48704879
),
4880+
erc20Token(
4881+
'78b46b24-ca4f-45e9-9dd8-f3be5b3a6070',
4882+
'baseeth:wpay',
4883+
'WPAY',
4884+
18,
4885+
'0x35e0966208f518371e79cc9fd35559112068ddad',
4886+
UnderlyingAsset['baseeth:wpay'],
4887+
Networks.main.basechain
4888+
),
48714889

48724890
// XDC mainnet tokens
48734891
xdcErc20(

modules/statics/src/base.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2503,6 +2503,7 @@ export enum UnderlyingAsset {
25032503
'eth:bard' = 'eth:bard',
25042504
'eth:sfp' = 'eth:sfp',
25052505
'eth:aztec' = 'eth:aztec',
2506+
'eth:jpysc' = 'eth:jpysc',
25062507

25072508
// Ondo Tokenized Assets
25082509
'eth:qqqon' = 'qqqon',
@@ -3015,6 +3016,7 @@ export enum UnderlyingAsset {
30153016
'polygon:colt' = 'polygon:colt',
30163017
'polygon:bolt' = 'polygon:bolt',
30173018
'polygon:gmc' = 'polygon:gmc',
3019+
'polygon:wpay' = 'polygon:wpay',
30183020
// Polygon NFTs
30193021
// generic NFTs
30203022
'erc721:polygontoken' = 'erc721:polygontoken',
@@ -3380,6 +3382,7 @@ export enum UnderlyingAsset {
33803382
'baseeth:laptop' = 'baseeth:laptop',
33813383
'baseeth:vbtcb' = 'baseeth:vbtcb',
33823384
'baseeth:gldy' = 'baseeth:gldy',
3385+
'baseeth:wpay' = 'baseeth:wpay',
33833386

33843387
// BaseETH testnet tokens
33853388
'tbaseeth:usdc' = 'tbaseeth:usdc',
@@ -3390,6 +3393,7 @@ export enum UnderlyingAsset {
33903393
'tbaseeth:tusdl' = 'tbaseeth:tusdl',
33913394
'tbaseeth:ttbills' = 'tbaseeth:ttbills',
33923395
'tbaseeth:kmusdc' = 'tbaseeth:kmusdc',
3396+
'tbaseeth:tpdd' = 'tbaseeth:tpdd',
33933397

33943398
// Og mainnet tokens
33953399
'og:wog' = 'og:wog',
@@ -3825,6 +3829,7 @@ export enum UnderlyingAsset {
38253829
'sol:tusdc' = 'sol:tusdc',
38263830
'sol:slx' = 'sol:slx',
38273831
'sol:ab1' = 'sol:ab1',
3832+
'sol:bils' = 'sol:bils',
38283833

38293834
'tsol:txsgd' = 'sol:txsgd',
38303835
'tsol:txusd' = 'sol:txusd',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14939,6 +14939,14 @@ export const erc20Coins = [
1493914939
'0xf23043c848b642e69350fa7623af1c1e3e6fda9b',
1494014940
UnderlyingAsset['eth:scx']
1494114941
),
14942+
erc20(
14943+
'31b2b1cc-f8af-44b5-91e6-29e9de4f7fdf',
14944+
'eth:jpysc',
14945+
'JPYSC',
14946+
18,
14947+
'0x6781d5631bfe47432b089e64e3eab3b6edd26177',
14948+
UnderlyingAsset['eth:jpysc']
14949+
),
1494214950
terc20(
1494314951
'0c333619-e5a6-4f9d-8bbc-5b0e5dc64d03',
1494414952
'hteth:grtxp',

modules/statics/src/coins/ofcCoins.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4436,6 +4436,13 @@ export const ofcCoins = [
44364436
undefined,
44374437
[CoinFeature.STABLECOIN]
44384438
),
4439+
ofcPolygonErc20(
4440+
'a8a7b8d6-8c38-4750-9f96-8b45f0611094',
4441+
'ofcpolygon:wpay',
4442+
'WPAY',
4443+
18,
4444+
UnderlyingAsset['polygon:wpay']
4445+
),
44394446

44404447
tofcPolygonErc20(
44414448
'62f4329d-11cd-4875-b91b-9ceae66c9439',
@@ -5466,6 +5473,7 @@ export const ofcCoins = [
54665473
9,
54675474
UnderlyingAsset['sol:jsol']
54685475
),
5476+
ofcsolToken('a903ea3b-de91-4d57-9fc1-56fdf8b3b249', 'ofcsol:bils', 'BILS', 6, UnderlyingAsset['sol:bils']),
54695477
ofcBscToken('3a9daeda-7e08-494d-a47c-d2c89dd1c735', 'ofcbsc:godl', 'GODL', 18, UnderlyingAsset['bsc:godl']),
54705478
ofcBscToken('93a459bc-c661-4001-be26-9175046c9a36', 'ofcbsc:gdl', 'GDL', 18, UnderlyingAsset['bsc:gdl']),
54715479
ofcBscToken('9febc919-85af-48eb-9821-e9d18e4cd98e', 'ofcbsc:usgd', 'USGD', 18, UnderlyingAsset['bsc:usgd']),

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6189,6 +6189,7 @@ export const tOfcErc20Coins = [
61896189
18,
61906190
UnderlyingAsset['eth:qncxt']
61916191
),
6192+
ofcerc20('7f4173d2-1638-4216-8d14-f97f56155c60', 'ofceth:jpysc', 'JPYSC', 18, UnderlyingAsset['eth:jpysc']),
61926193

61936194
// MON Network tokens
61946195
ofcerc20(
@@ -6937,6 +6938,20 @@ export const tOfcErc20Coins = [
69376938
true,
69386939
'baseeth'
69396940
),
6941+
ofcerc20(
6942+
'ca37bdc8-4dec-4a97-b659-98fe1863f046',
6943+
'ofcbaseeth:wpay',
6944+
'WPAY',
6945+
18,
6946+
UnderlyingAsset['baseeth:wpay'],
6947+
undefined,
6948+
undefined,
6949+
'',
6950+
undefined,
6951+
undefined,
6952+
true,
6953+
'baseeth'
6954+
),
69406955
tofcerc20(
69416956
'b5277412-46b8-4da3-8fd2-5bf4557fcbd8',
69426957
'ofctbaseeth:tusdl',
@@ -6979,6 +6994,20 @@ export const tOfcErc20Coins = [
69796994
true,
69806995
'tbaseeth'
69816996
),
6997+
tofcerc20(
6998+
'14d08f4c-cc9d-45b3-94ed-972e993fef30',
6999+
'ofctbaseeth:tpdd',
7000+
'MarketplacePDD ALPACA',
7001+
18,
7002+
UnderlyingAsset['tbaseeth:tpdd'],
7003+
undefined,
7004+
undefined,
7005+
undefined,
7006+
undefined,
7007+
undefined,
7008+
undefined,
7009+
'tbaseeth'
7010+
),
69827011
];
69837012

69847013
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
@@ -1636,6 +1636,15 @@ export const polygonTokens = [
16361636
UnderlyingAsset['polygon:gmc'],
16371637
[...POLYGON_TOKEN_FEATURES, CoinFeature.STABLECOIN]
16381638
),
1639+
polygonErc20(
1640+
'8dbecb0b-aa9c-4582-915f-729d20c0d296',
1641+
'polygon:wpay',
1642+
'WPAY',
1643+
18,
1644+
'0x7abe9edf5c544a04da83e9110cf46dbc4759170c',
1645+
UnderlyingAsset['polygon:wpay'],
1646+
POLYGON_TOKEN_FEATURES
1647+
),
16391648
tpolygonErc20(
16401649
'13dd4ab7-2d94-493c-9a61-323f6300f7e5',
16411650
'tpolygon:tusdl',

modules/statics/src/coins/solTokens.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4127,6 +4127,16 @@ export const solTokens = [
41274127
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN],
41284128
ProgramID.Token2022ProgramId
41294129
),
4130+
solToken(
4131+
'2eb90745-a24c-47d4-b2dd-876dc6208144',
4132+
'sol:bils',
4133+
'BILS',
4134+
6,
4135+
'CDxFUPSRK4dC68jWV7SCPezU1vNYXz87Y6fjhhRvsuhd',
4136+
'CDxFUPSRK4dC68jWV7SCPezU1vNYXz87Y6fjhhRvsuhd',
4137+
UnderlyingAsset['sol:bils'],
4138+
SOL_TOKEN_FEATURES
4139+
),
41304140
tsolToken(
41314141
'5f4de23d-67b5-4a8f-bb31-9c1c72f62489',
41324142
'tsol:gousd',

0 commit comments

Comments
 (0)