Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
493 changes: 186 additions & 307 deletions modules/statics/CHANGELOG.md

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2950,6 +2950,15 @@ export const allCoinsAndTokens = [
UnderlyingAsset['baseeth:icnt'],
Networks.main.basechain
),
erc20Token(
'1d6535c8-38f0-4b5b-b2d9-d5433dbaf868',
'baseeth:cfi',
'ConsumerFI',
18,
'0x0382e3fee4a420bd446367d468a6f00225853420',
UnderlyingAsset['baseeth:cfi'],
Networks.main.basechain
),
erc20Token(
'f5df6b74-c009-4d28-95e6-3cc7e66427b6',
'baseeth:weth',
Expand All @@ -2968,6 +2977,24 @@ export const allCoinsAndTokens = [
UnderlyingAsset['baseeth:morpho'],
Networks.main.basechain
),
erc20Token(
'2bd8ca07-ea27-4f6e-8503-0d9be1648fa5',
'baseeth:mey',
'Mey Network',
18,
'0x8bfac1b375bf2894d6f12fb2eb48b1c1a7916789',
UnderlyingAsset['baseeth:mey'],
Networks.main.basechain
),
erc20Token(
'd304292e-95c1-43b9-a690-f0ef04bd6590',
'baseeth:myrc',
'Malaysian Ringgit Coin',
18,
'0x3ed03e95dd894235090b3d4a49e0c3239edce59e',
UnderlyingAsset['baseeth:myrc'],
Networks.main.basechain
),
erc20Token(
'6f5e8b2e-7d8d-4f76-8f8e-7d6fbf7b8c5f',
'baseeth:creator',
Expand Down Expand Up @@ -3167,6 +3194,14 @@ export const allCoinsAndTokens = [
'0x05940b2df33d6371201e7ae099ced4c363855dfe',
UnderlyingAsset['xdc:lbt']
),
xdcErc20(
'39ac0cd2-8869-4b7e-8122-89f12dc9c7c6',
'xdc:cre',
'Crescite',
18,
'0xb5fa33923ec3ff7f4b9ab7b4c20b236d31243f77',
UnderlyingAsset['xdc:cre']
),
xdcErc20(
'f03302de-b06b-4ddc-94a2-ad7e89896725',
'xdc:gama',
Expand Down Expand Up @@ -3643,6 +3678,17 @@ export const allCoinsAndTokens = [
'',
'USDC'
),
stellarToken(
'b7f3e8d2-5a9c-4e6b-8f1d-3c2a7e9b4f0d',
'xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC',
'USDM1',
7,
UnderlyingAsset['xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC'],
'',
[...AccountCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN],
'',
'USDM1'
),
stellarToken(
'8b30dc19-aad7-426b-a98b-ee05f2e6dd71',
'xlm:SIX-GDMS6EECOH6MBMCP3FYRYEVRBIV3TQGLOFQIPVAITBRJUMTI6V7A2X6Z',
Expand Down
10 changes: 10 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ export enum UnderlyingAsset {
ECHT = 'echt',
'eth:eco' = 'eth:eco',
ECOX = 'ecox',
'sol:eusx' = 'sol:eusx',
EDEN = 'eden',
EDISON = 'edison',
EDLC = 'edlc',
Expand Down Expand Up @@ -1126,6 +1127,7 @@ export enum UnderlyingAsset {
GAMMA = 'gamma',
'sol:gari' = 'sol:gari',
'sol:usd1' = 'sol:usd1',
'sol:usdm1' = 'sol:usdm1',
'tsol:slnd' = 'tsol:slnd',
'tsol:orca' = 'tsol:orca',
'tsol:usdc' = 'tsol:usdc',
Expand Down Expand Up @@ -1435,6 +1437,7 @@ export enum UnderlyingAsset {
MVI = 'mvi',
MWT = 'mwt',
MYRC = 'myrc',
'sol:myrc' = 'sol:myrc',
MYTH = 'myth',
NAAI = 'naai',
NAS = 'nas',
Expand Down Expand Up @@ -1818,6 +1821,7 @@ export enum UnderlyingAsset {
TUSDS = 'tusds',
TGOUSD = 'tgousd',
'hteth:gousd' = 'hteth:gousd',
'hteth:grtx' = 'hteth:grtx',
'hteth:sofid' = 'hteth:sofid',
'hteth:stgsofid' = 'hteth:stgsofid',
'hteth:usd1' = 'hteth:usd1',
Expand Down Expand Up @@ -2109,6 +2113,7 @@ export enum UnderlyingAsset {
'eth:mon' = 'eth:mon',
'eth:usual' = 'eth:usual',
'eth:usd1' = 'eth:usd1',
'eth:usdm1' = 'eth:usdm1',
'eth:sofid' = 'eth:sofid',
'eth:ibtc' = 'eth:ibtc',
'eth:pyr' = 'eth:pyr',
Expand Down Expand Up @@ -2389,6 +2394,7 @@ export enum UnderlyingAsset {
'xlm:ETH-GBVOL67TMUQBGL4TZYNMY3ZQ5WGQYFPFD5VJRWXR72VA33VFNL225PL5' = 'xlm:ETH-GBVOL67TMUQBGL4TZYNMY3ZQ5WGQYFPFD5VJRWXR72VA33VFNL225PL5',
'xlm:WXT-GASBLVHS5FOABSDNW5SPPH3QRJYXY5JHA2AOA2QHH2FJLZBRXSG4SWXT' = 'xlm:WXT-GASBLVHS5FOABSDNW5SPPH3QRJYXY5JHA2AOA2QHH2FJLZBRXSG4SWXT',
'xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN' = 'xlm:USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN',
'xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC' = 'xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC',
'xlm:SIX-GDMS6EECOH6MBMCP3FYRYEVRBIV3TQGLOFQIPVAITBRJUMTI6V7A2X6Z' = 'xlm:SIX-GDMS6EECOH6MBMCP3FYRYEVRBIV3TQGLOFQIPVAITBRJUMTI6V7A2X6Z',
'xlm:BRLT-GCHQ3F2BF5P74DMDNOOGHT5DUCKC773AW5DTOFINC26W4KGYFPYDPRSO' = 'xlm:BRLT-GCHQ3F2BF5P74DMDNOOGHT5DUCKC773AW5DTOFINC26W4KGYFPYDPRSO',
'xlm:ARST-GCSAZVWXZKWS4XS223M5F54H2B6XPIIXZZGP7KEAIU6YSL5HDRGCI3DG' = 'xlm:ARST-GCSAZVWXZKWS4XS223M5F54H2B6XPIIXZZGP7KEAIU6YSL5HDRGCI3DG',
Expand Down Expand Up @@ -2919,8 +2925,11 @@ export enum UnderlyingAsset {

// BaseETH mainnet tokens
'baseeth:aero' = 'baseeth:aero',
'baseeth:cfi' = 'baseeth:cfi',
'baseeth:icnt' = 'baseeth:icnt',
'baseeth:mey' = 'baseeth:mey',
'baseeth:morpho' = 'baseeth:morpho',
'baseeth:myrc' = 'baseeth:myrc',
'baseeth:weth' = 'baseeth:weth',
'baseeth:usdc' = 'baseeth:usdc',
'baseeth:wbtc' = 'baseeth:wbtc',
Expand Down Expand Up @@ -2993,6 +3002,7 @@ export enum UnderlyingAsset {
// XDC mainnet tokens
'xdc:usdc' = 'xdc:usdc',
'xdc:lbt' = 'xdc:lbt',
'xdc:cre' = 'xdc:cre',
'xdc:gama' = 'xdc:gama',
'xdc:srx' = 'xdc:srx',
'xdc:weth' = 'xdc:weth',
Expand Down
21 changes: 21 additions & 0 deletions modules/statics/src/coins/erc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10944,6 +10944,15 @@ export const erc20Coins = [
UnderlyingAsset['eth:usd1'],
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
),
erc20(
'80f6ed83-3024-45c2-8d81-6debd2bf9f12',
'eth:usdm1',
'USDM1',
18,
'0xab3cfc7cf0720b75c41b4db078b4ddb338f562e7',
UnderlyingAsset['eth:usdm1'],
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
),
erc20(
'4400af90-30d8-43fb-98b6-ca6791c94aa2',
'eth:sofid',
Expand Down Expand Up @@ -12803,6 +12812,18 @@ export const erc20Coins = [
undefined,
Networks.test.hoodi
),
terc20(
'ec5345e2-5dec-44d7-8dc7-bc46fb4b4f1d',
'hteth:grtx',
'GreatX Token',
6,
'0xa1b562a390915605a427f8f46c21917a4e1f1e0a',
UnderlyingAsset['hteth:grtx'],
undefined,
undefined,
undefined,
Networks.test.hoodi
),
terc20(
'c316d8ef-20d6-40b7-b0c1-e3cc278d0c17',
'hterc2dp',
Expand Down
26 changes: 26 additions & 0 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,10 +708,26 @@ export const ofcCoins = [
...SOL_OFC_TOKEN_FEATURES,
CoinFeature.STABLECOIN,
]),
ofcsolToken('daf9636e-8c99-4d62-bfaf-3ec7a4a5c883', 'ofcsol:eusx', 'Solstice eUSX', 6, UnderlyingAsset['sol:eusx'], [
...SOL_OFC_TOKEN_FEATURES,
CoinFeature.STABLECOIN,
]),
ofcsolToken(
'74ca70b5-a98c-4486-a51b-f59165bdbed8',
'ofcsol:myrc',
'Malaysian Ringgit Coin',
6,
UnderlyingAsset['sol:myrc'],
[...SOL_OFC_TOKEN_FEATURES]
),
ofcsolToken('0d96e2db-d01e-4ea0-ac87-3b51d563ea91', 'ofcsol:usdc', 'USD Coin', 6, UnderlyingAsset['sol:usdc'], [
...SOL_OFC_TOKEN_FEATURES,
CoinFeature.STABLECOIN,
]),
ofcsolToken('2ef2ca5a-139b-4797-97e1-476b2a39e63e', 'ofcsol:usdm1', 'USDM1', 9, UnderlyingAsset['sol:usdm1'], [
...SOL_OFC_TOKEN_FEATURES,
CoinFeature.STABLECOIN,
]),
ofcsolToken(
'ebbe0d38-44cb-4464-999f-68c9765e37ef',
'ofcsol:srm',
Expand Down Expand Up @@ -3560,6 +3576,16 @@ export const ofcCoins = [
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
),

ofcStellarToken(
'14d6fddf-3a96-4495-a4d7-1afaf166c25e',
'ofcxlm:usdm1',
'USDM1',
7,
UnderlyingAsset['xlm:USDM1-GDM5QWWXCMDTQMZAKMYTCI52LA7FWBHAZMU5NJLMIFHDJISJRP2ZWPKC'],
undefined,
[...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.STABLECOIN]
),

ofcStellarToken(
'612c9f4e-3c0d-496b-97cb-b4035ded678d',
'ofcxlm:benji',
Expand Down
80 changes: 80 additions & 0 deletions modules/statics/src/coins/ofcErc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ export const ofcErc20Coins = [
ofcerc20('28024a59-6fbb-4156-96e4-2ba7747e8581', 'ofcusdc', 'USD Coin', 6, UnderlyingAsset.USDC, undefined, [
CoinFeature.STABLECOIN,
]),
ofcerc20(
'ee579200-2f43-41f3-ba2e-365bcb20ff21',
'ofcusdm1',
'USDM1',
18,
underlyingAssetForSymbol('eth:usdm1'),
undefined,
[...OfcCoin.DEFAULT_FEATURES, CoinFeature.STABLECOIN]
),
ofcerc20('f790e63d-9785-4e98-b323-897fdc489613', 'ofcaave', 'Aave', 18, UnderlyingAsset.AAVE),
ofcerc20('a3b0e98b-3a50-4ee7-a290-696b4cbce666', 'ofcape', 'ApeCoin', 18, UnderlyingAsset.APE),
ofcerc20('15c3f5fb-255c-4ef6-9df3-767b3aa2b36d', 'ofcaudio', 'Audio', 18, UnderlyingAsset.AUDIO),
Expand Down Expand Up @@ -3838,6 +3847,20 @@ export const tOfcErc20Coins = [
undefined,
'hteth'
),
tofcerc20(
'10c3d10e-d725-4a1c-9485-d467cc171b56',
'ofchteth:grtx',
'GreatX Token',
6,
UnderlyingAsset['hteth:grtx'],
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
'hteth'
),
tofcerc20(
'4dc4534c-72b8-4a68-a914-210dae1e5d4d',
'ofchteth:usd1',
Expand Down Expand Up @@ -4736,6 +4759,49 @@ export const tOfcErc20Coins = [
'baseeth'
),

ofcerc20(
'7bdb4371-8488-4395-9f91-f60abf561f47',
'ofcbaseeth:cfi',
'ConsumerFI',
18,
UnderlyingAsset['baseeth:cfi'],
undefined,
undefined,
'',
undefined,
undefined,
true,
'baseeth'
),
ofcerc20(
'e083e24a-292c-48e1-8edb-e15ebd6c601b',
'ofcbaseeth:mey',
'Mey Network',
18,
UnderlyingAsset['baseeth:mey'],
undefined,
undefined,
'',
undefined,
undefined,
true,
'baseeth'
),
ofcerc20(
'35139b9b-cbad-419c-b8d8-b9182d7b8ddb',
'ofcbaseeth:myrc',
'Malaysian Ringgit Coin',
18,
UnderlyingAsset['baseeth:myrc'],
undefined,
undefined,
'',
undefined,
undefined,
true,
'baseeth'
),

ofcerc20(
'faddfbec-becf-4f9f-8f8b-9daebfcadbec',
'ofcbaseeth:towns',
Expand Down Expand Up @@ -4980,6 +5046,20 @@ export const tOfcErc20Coins = [
true,
'xdc'
),
ofcerc20(
'26dc9e5b-7bd5-4e77-859e-56e77e2582e7',
'ofcxdc:cre',
'Crescite',
18,
underlyingAssetForSymbol('xdc:cre'),
undefined,
undefined,
'',
undefined,
undefined,
true,
'xdc'
),
ofcerc20(
'086883c7-f7e9-458e-a0a1-ed3ec525f9c6',
'ofcxdc:gama',
Expand Down
31 changes: 31 additions & 0 deletions modules/statics/src/coins/solTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2937,6 +2937,26 @@ export const solTokens = [
SOL_TOKEN_FEATURES,
ProgramID.Token2022ProgramId
),
solToken(
'd1a4fb13-6911-4cc7-ba80-c767cbe4bbec',
'sol:eusx',
'Solstice eUSX',
6,
'3ThdFZQKM6kRyVGLG48kaPg5TRMhYMKY1iCRa9xop1WC',
'3ThdFZQKM6kRyVGLG48kaPg5TRMhYMKY1iCRa9xop1WC',
UnderlyingAsset['sol:eusx'],
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN]
),
solToken(
'58651360-5c62-4268-8bf1-0ed520f78979',
'sol:myrc',
'Malaysian Ringgit Coin',
6,
'myrcAs6bpP2g5oGHZ3qpgrfZQAFkbo9KUHdqYDXMjGv',
'myrcAs6bpP2g5oGHZ3qpgrfZQAFkbo9KUHdqYDXMjGv',
UnderlyingAsset['sol:myrc'],
SOL_TOKEN_FEATURES
),
solToken(
'2a5d3340-e68a-4baa-bae8-7bcc785d757f',
'sol:usd1',
Expand All @@ -2947,6 +2967,17 @@ export const solTokens = [
UnderlyingAsset['sol:usd1'],
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN]
),
solToken(
'18e33ee6-dd70-437b-9153-e79ec01c475e',
'sol:usdm1',
'USDM1',
9,
'BNgsQdjfWmjoy3cw8T3VXWswHfgCzEMyQzUno8gmzmRC',
'BNgsQdjfWmjoy3cw8T3VXWswHfgCzEMyQzUno8gmzmRC',
UnderlyingAsset['sol:usdm1'],
[...SOL_TOKEN_FEATURES, CoinFeature.STABLECOIN],
ProgramID.Token2022ProgramId
),
solToken(
'1477933f-cda3-469a-8da6-c80e701ffc99',
'sol:rksol',
Expand Down
1 change: 1 addition & 0 deletions modules/statics/test/unit/tokenNamingConvention.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ describe('Token Naming Convention Tests', function () {
'hterc18dp',
'hteth:bgerchv2',
'hteth:aut',
'hteth:grtx',
'hterc6dp',
'hterc2dp',
'fixed',
Expand Down