Skip to content

Commit afcc7bd

Browse files
committed
feat(statics): onboard 8 new tokens as ungated tokens - verified
Add SOL tokens: sol:agri (AgriDex), sol:usdc.a (USDC.a Bridged ART20) Add ETH tokens: eth:ags (Silver Standard), eth:aus (Gold Standard), eth:reya (Reya), eth:usdp (USDP Stablecoin), eth:grtx (GreatX) Add OP token: opeth:perp (Perpetual Protocol) Add all corresponding OFC equivalent tokens All tokens added to UnderlyingAsset enum in base.ts. All ETH contract addresses verified as lowercase. SOL tokens verified to use Token Program (not Token2022). Decimals verified: SOL tokens (6), ETH tokens (4, 6, 18), OP token (18). USDP and USDC.a marked with STABLECOIN feature. CLOSES TICKET: WIN-8782
1 parent 16c89b4 commit afcc7bd

6 files changed

Lines changed: 138 additions & 0 deletions

File tree

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5216,6 +5216,14 @@ export const allCoinsAndTokens = [
52165216
'0x1a149e21bd3e74b7018db79c988b4ba3bbc1873d',
52175217
UnderlyingAsset['opeth:spxux']
52185218
),
5219+
opethErc20(
5220+
'47a91c17-d481-4dcd-a721-003ac21cfc8b',
5221+
'opeth:perp',
5222+
'Perpetual Protocol',
5223+
18,
5224+
'0x9e1028f5f1d5ede59748ffcee5532509976840e0', // https://optimistic.etherscan.io/token/0x9e1028f5f1d5ede59748ffcee5532509976840e0
5225+
UnderlyingAsset['opeth:perp']
5226+
),
52195227
opethErc20(
52205228
'7427c1fe-ad4c-41a6-84c5-2666e7baa20f',
52215229
'opeth:flttx',

modules/statics/src/base.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1918,6 +1918,8 @@ export enum UnderlyingAsset {
19181918
URHD = 'urhd',
19191919
'sol:usdt' = 'sol:usdt',
19201920
'sol:usdc' = 'sol:usdc',
1921+
'sol:agri' = 'sol:agri',
1922+
'sol:usdc.a' = 'sol:usdc.a',
19211923
USCC = 'uscc',
19221924
USDC = 'usdc',
19231925
'USDC-POS-WORMHOLE' = 'usdc-pos-wormhole',
@@ -2144,6 +2146,11 @@ export enum UnderlyingAsset {
21442146
'eth:deuro' = 'eth:deuro',
21452147
'eth:usdf' = 'eth:usdf',
21462148
'eth:ausd' = 'eth:ausd',
2149+
'eth:ags' = 'eth:ags',
2150+
'eth:aus' = 'eth:aus',
2151+
'eth:reya' = 'eth:reya',
2152+
'eth:usdp' = 'eth:usdp',
2153+
'eth:grtx' = 'eth:grtx',
21472154
'eth:gaia' = 'eth:gaia',
21482155
'eth:usds' = 'eth:usds',
21492156
'eth:perc' = 'eth:perc',
@@ -3074,6 +3081,7 @@ export enum UnderlyingAsset {
30743081
'opeth:wld' = 'opeth:wld',
30753082
'opeth:wct' = 'opeth:wct',
30763083
'opeth:spxux' = 'opeth:spxux',
3084+
'opeth:perp' = 'opeth:perp',
30773085
'opeth:flttx' = 'opeth:flttx',
30783086
'opeth:wtsix' = 'opeth:wtsix',
30793087
'opeth:modrx' = 'opeth:modrx',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14272,4 +14272,45 @@ export const erc20Coins = [
1427214272
'0x01791f726b4103694969820be083196cc7c045ff',
1427314273
UnderlyingAsset['eth:yb']
1427414274
),
14275+
erc20(
14276+
'39a47119-f542-42ed-a349-1f3ebe23b0f6',
14277+
'eth:ags',
14278+
'Silver Standard',
14279+
4,
14280+
'0x843c9af34f698618f90c898e3967278a260c8d9a', // https://etherscan.io/address/0x843c9af34f698618f90c898e3967278a260c8d9a
14281+
UnderlyingAsset['eth:ags']
14282+
),
14283+
erc20(
14284+
'7cbb994b-d26f-445f-aed8-7d7e179b94ee',
14285+
'eth:aus',
14286+
'Gold Standard',
14287+
4,
14288+
'0x171f9cfc136f2b2aaa148fcc6b660a2029bab048', // https://etherscan.io/address/0x171f9cfc136f2b2aaa148fcc6b660a2029bab048
14289+
UnderlyingAsset['eth:aus']
14290+
),
14291+
erc20(
14292+
'06afec64-68de-4b1b-8ed6-71d690f5c387',
14293+
'eth:reya',
14294+
'Reya',
14295+
18,
14296+
'0xcc8e02d7112ddaa66a63b89d73e4eda65722b111', // https://etherscan.io/token/0xcc8e02d7112ddaa66a63b89d73e4eda65722b111
14297+
UnderlyingAsset['eth:reya']
14298+
),
14299+
erc20(
14300+
'4b8b6cdf-94ac-48a4-8898-7e730eacb0db',
14301+
'eth:usdp',
14302+
'USDP Stablecoin',
14303+
18,
14304+
'0x1456688345527be1f37e9e627da0837d6f08c925', // https://etherscan.io/token/0x1456688345527bE1f37E9e627DA0837D6f08C925
14305+
UnderlyingAsset['eth:usdp'],
14306+
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
14307+
),
14308+
erc20(
14309+
'22c3d5be-c127-4815-97c4-2315aaeefe05',
14310+
'eth:grtx',
14311+
'GreatX',
14312+
6,
14313+
'0x4bbe27b87c20f76349e47cbc3908477f7bbd71b0', // https://etherscan.io/token/0x4bbE27b87c20f76349E47cBc3908477f7bBD71B0
14314+
UnderlyingAsset['eth:grtx']
14315+
),
1427514316
];

modules/statics/src/coins/ofcCoins.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,14 @@ export const ofcCoins = [
726726
ofcsolToken('56b9f9c2-1a6a-4d79-aad2-2e418c3b52e0', 'ofcsol:ausd', 'Agora Dollar', 6, UnderlyingAsset['sol:ausd'], [
727727
CoinFeature.STABLECOIN,
728728
]),
729+
ofcsolToken(
730+
'2ad7fab3-71f1-4201-8c6d-16ef57f012b7',
731+
'ofcsol:usdc.a',
732+
'USDC.a Bridged ART20',
733+
6,
734+
UnderlyingAsset['sol:usdc.a'],
735+
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN]
736+
),
729737
ofcsolToken(
730738
'c382f3cc-c071-4ef5-89ac-bcb85d8d415f',
731739
'ofcsol:wec',
@@ -2030,6 +2038,13 @@ export const ofcCoins = [
20302038
),
20312039
ofcAvaxErc20('9fb77e47-8916-4dcb-ac10-e11fa07172fb', 'ofcavaxc:nxpc', 'NEXPACE', 18, UnderlyingAsset['avaxc:nxpc']),
20322040
ofcOpethErc20('10259b23-2e2e-4574-b146-b49f1119600f', 'ofcopeth:op', 'Optimism', 18, UnderlyingAsset['opeth:op']),
2041+
ofcOpethErc20(
2042+
'550edf0d-1617-404e-bdab-931e98f37326',
2043+
'ofcopeth:perp',
2044+
'Perpetual Protocol',
2045+
18,
2046+
UnderlyingAsset['opeth:perp']
2047+
),
20332048
ofcOpethErc20(
20342049
'a6087e85-6c4a-40c5-83f0-3ebeabd8e39b',
20352050
'ofcopeth:spxux',
@@ -3907,6 +3922,14 @@ export const ofcCoins = [
39073922
UnderlyingAsset['arbeth:next']
39083923
),
39093924
// New SOL OFC tokens
3925+
ofcsolToken(
3926+
'68a1c4e8-9a22-4177-9fae-d0356f245a85',
3927+
'ofcsol:agri',
3928+
'AgriDex',
3929+
6,
3930+
UnderlyingAsset['sol:agri'],
3931+
SOL_TOKEN_FEATURES
3932+
),
39103933
ofcsolToken('0ce490e5-fba4-4f50-b059-598c151482f0', 'ofcsol:prcl', 'Parcl', 6, UnderlyingAsset['sol:prcl']),
39113934
ofcsolToken('ddba6928-8700-4435-8970-0e75acae7025', 'ofcsol:asp', 'Aspecta', 9, UnderlyingAsset['sol:asp']),
39123935
ofcsolToken(

modules/statics/src/coins/ofcErc20Coins.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3382,6 +3382,20 @@ export const ofcErc20Coins = [
33823382
6,
33833383
underlyingAssetForSymbol('eth:ausd')
33843384
),
3385+
ofcerc20(
3386+
'fd4cfe16-5228-4d92-9d87-5b8eaa1f89eb',
3387+
'ofceth:ags',
3388+
'Silver Standard',
3389+
4,
3390+
underlyingAssetForSymbol('eth:ags')
3391+
),
3392+
ofcerc20(
3393+
'54eff6b7-6db0-4ad3-9757-e232efc78d89',
3394+
'ofceth:aus',
3395+
'Gold Standard',
3396+
4,
3397+
underlyingAssetForSymbol('eth:aus')
3398+
),
33853399
ofcerc20(
33863400
'a1e3c5d2-7b6e-4c9b-9f3e-4d2a4e5b6c8d',
33873401
'ofceth:gaia',
@@ -3658,7 +3672,31 @@ export const ofcErc20Coins = [
36583672
ofcerc20('a5357ba2-5a2a-4d73-8f65-e01b9158ea9c', 'ofceth:resolv', 'Resolv', 18, UnderlyingAsset['eth:resolv']),
36593673
ofcerc20('5485e380-c3df-49ab-98f2-9c4d3f37f2fb', 'ofceth:spec', 'Spectral', 18, UnderlyingAsset['eth:spec']),
36603674
ofcerc20('8e52ca73-1860-43e5-98d6-49c5f34b8da2', 'ofceth:prompt', 'Wayfinder', 18, UnderlyingAsset['eth:prompt']),
3675+
ofcerc20(
3676+
'44a386ad-a9d4-4cb5-8f30-72128e618286',
3677+
'ofceth:reya',
3678+
'Reya',
3679+
18,
3680+
underlyingAssetForSymbol('eth:reya')
3681+
),
3682+
ofcerc20('5485e380-c3df-49ab-98f2-9c4d3f37f2fb', 'ofceth:spec', 'Spectral', 18, UnderlyingAsset['eth:spec']),
36613683
ofcerc20('0edacb3a-b48a-4a6e-ae28-69f8b7a84bfa', 'ofceth:yb', 'YieldBasis', 18, UnderlyingAsset['eth:yb']),
3684+
ofcerc20(
3685+
'ff16374d-c3c8-4f1f-9cd2-5dab15c1f895',
3686+
'ofceth:usdp',
3687+
'USDP Stablecoin',
3688+
18,
3689+
underlyingAssetForSymbol('eth:usdp'),
3690+
undefined,
3691+
[CoinFeature.STABLECOIN]
3692+
),
3693+
ofcerc20(
3694+
'dd95c7b9-2be8-4471-920d-40e1fd583bf3',
3695+
'ofceth:grtx',
3696+
'GreatX',
3697+
6,
3698+
underlyingAssetForSymbol('eth:grtx')
3699+
),
36623700
// New Base OFC tokens
36633701
ofcerc20(
36643702
'b096690d-92fd-4f02-83d6-e26a1ff393f3',

modules/statics/src/coins/solTokens.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3604,4 +3604,24 @@ export const solTokens = [
36043604
UnderlyingAsset['sol:asp'],
36053605
SOL_TOKEN_FEATURES
36063606
),
3607+
solToken(
3608+
'51d19d87-51ba-4d30-837f-ea4a3c6f06df',
3609+
'sol:agri',
3610+
'AgriDex',
3611+
6,
3612+
'AGRidUXLeDij9CJprkZx7WBXtTQC67jtfiwz293mVrJ', // https://solscan.io/token/AGRidUXLeDij9CJprkZx7WBXtTQC67jtfiwz293mVrJ
3613+
'AGRidUXLeDij9CJprkZx7WBXtTQC67jtfiwz293mVrJ',
3614+
UnderlyingAsset['sol:agri'],
3615+
SOL_TOKEN_FEATURES
3616+
),
3617+
solToken(
3618+
'e13fd5e0-0828-4f06-884b-de1bc5cf42c5',
3619+
'sol:usdc.a',
3620+
'USDC.a Bridged ART20',
3621+
6,
3622+
'AByhZPfGEU9a68KCAvT76Yev85oeur4SoL2VLZuB3HQj', // https://solscan.io/token/AByhZPfGEU9a68KCAvT76Yev85oeur4SoL2VLZuB3HQj
3623+
'AByhZPfGEU9a68KCAvT76Yev85oeur4SoL2VLZuB3HQj',
3624+
UnderlyingAsset['sol:usdc.a'],
3625+
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN]
3626+
),
36073627
];

0 commit comments

Comments
 (0)