Skip to content
Open
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
4 changes: 2 additions & 2 deletions modules/statics/src/allCoinsAndTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import { ada } from './ada';
import { avaxp } from './avaxp';
import { BaseUnit, CoinFeature, KeyCurve, UnderlyingAsset } from './base';
import { canton } from './canton';
import { erc20Coins } from './coins/erc20Coins';
import { erc20Tokens } from './coins/erc20Tokens';
import { avaxTokens } from './coins/avaxTokens';
import { bscTokens } from './coins/bscTokens';
import { polygonTokens } from './coins/polygonTokens';
Expand Down Expand Up @@ -139,7 +139,7 @@ import { adaTokens } from './coins/adaTokens';
export const allCoinsAndTokens = [
...lightningCoins,
...utxoCoins,
...erc20Coins,
...erc20Tokens,
...avaxTokens,
...bscTokens,
...polygonTokens,
Expand Down
6 changes: 6 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2305,6 +2305,11 @@ export enum UnderlyingAsset {
'eth:kpk' = 'eth:kpk',
'eth:devve' = 'eth:devve',
'eth:fbtc' = 'eth:fbtc',
'eth:byzusd' = 'eth:byzusd',
'eth:audm' = 'eth:audm',
'eth:usdi' = 'eth:usdi',
'eth:tea' = 'eth:tea',
'eth:ofc' = 'eth:ofc',

'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',
Expand Down Expand Up @@ -2578,6 +2583,7 @@ export enum UnderlyingAsset {
'polygon:zig' = 'polygon:zig',
'polygon:brl1' = 'polygon:brl1',
'polygon:cnktplus' = 'polygon:cnktplus',
'polygon:mmt54' = 'polygon:mmt54',
// Polygon NFTs
// generic NFTs
'erc721:polygontoken' = 'erc721:polygontoken',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_SINGAPORE,
} from '../coinFeatures';

export const erc20Coins = [
export const erc20Tokens = [
erc20(
'3cdd1d41-b561-4c0c-aa82-72c52ebe69e5',
'eth:kava',
Expand Down Expand Up @@ -14016,4 +14016,47 @@ export const erc20Coins = [
'0xc96de26018a54d51c097160568752c4e3bd6c364',
UnderlyingAsset['eth:fbtc']
),
erc20(
'f2327bcc-41a0-446d-b482-4d1148c24343',
'eth:byzusd',
'Byzantine Prime USD',
18,
'0x30cacd22f178c9e57b0b010e1f9432881aa530c4',
UnderlyingAsset['eth:byzusd']
),

erc20(
'17d33c86-258a-47b7-abab-486b5e349965',
'eth:audm',
'Macropod Stablecoin',
18,
'0x081599e4936d12c46bd48913b2329115cd26cbdd',
UnderlyingAsset['eth:audm']
),

erc20(
'bb874b3f-8844-4d92-82cf-c3dcfdcfebd0',
'eth:usdi',
'USDi',
6,
'0xaf1157149ff040dad186a0142a796d901bef1cf1',
UnderlyingAsset['eth:usdi']
),
erc20(
'4ff37854-c686-4114-bbf2-6bfeeb7e14b1',
'eth:tea',
'Tea',
18,
'0x7ea7ea50ed58bc4d0a9194bcd328e21f7be80c2b',
UnderlyingAsset['eth:tea']
),

erc20(
'c72cb819-15bc-4265-8efb-c0421edda866',
'eth:ofc',
'OneFootball Club',
18,
'0x9cb7a4ef0cae65b07362bc679a0b874041e3da53',
UnderlyingAsset['eth:ofc']
),
];
8 changes: 8 additions & 0 deletions modules/statics/src/coins/ofcCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3217,6 +3217,14 @@ export const ofcCoins = [
18,
UnderlyingAsset['polygon:brl1']
),
ofcPolygonErc20(
'bb845778-42b3-4277-a291-a0d703e5961e',
'ofcpolygon:mmt54',
'METWAVE MINE',
15,
UnderlyingAsset['polygon:mmt54']
),

tofcPolygonErc20(
'62f4329d-11cd-4875-b91b-9ceae66c9439',
'ofctpolygon:link',
Expand Down
17 changes: 17 additions & 0 deletions modules/statics/src/coins/ofcErc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4533,6 +4533,23 @@ export const tOfcErc20Coins = [
),
ofcerc20('c71454e2-c51c-40df-8605-e57f2d97ed53', 'ofceth:yu', 'Yala Stablecoin', 18, UnderlyingAsset['eth:yu']),
ofcerc20('72427813-ec17-4100-8d6d-844a3f71f34e', 'ofceth:fbtc', 'Function Bitcoin', 8, UnderlyingAsset['eth:fbtc']),
ofcerc20(
'e050aeab-a9c9-4962-b42f-d350c88efb37',
'ofceth:byzusd',
'Byzantine Prime USD',
18,
UnderlyingAsset['eth:byzusd']
),
ofcerc20(
'c3bbb0f5-a0d8-4651-ac4b-3727383f59ec',
'ofceth:audm',
'Macropod Stablecoin',
18,
UnderlyingAsset['eth:audm']
),
ofcerc20('884a97f2-5808-4614-814e-2cd1d17d29df', 'ofceth:usdi', 'USDi', 6, UnderlyingAsset['eth:usdi']),
ofcerc20('f4e98148-b703-4608-b416-67cd89c8a9f0', 'ofceth:tea', 'Tea', 18, UnderlyingAsset['eth:tea']),
ofcerc20('727298fe-56c5-477a-92af-5b4139e792ea', 'ofceth:ofc', 'OneFootball Club', 18, UnderlyingAsset['eth:ofc']),
];

function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset {
Expand Down
9 changes: 9 additions & 0 deletions modules/statics/src/coins/polygonTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,15 @@ export const polygonTokens = [
UnderlyingAsset['polygon:brl1'],
POLYGON_TOKEN_FEATURES
),
polygonErc20(
'93611666-ac86-4859-805d-2604aea6a748',
'polygon:mmt54',
'METWAVE MINE',
15,
'0x36178970375da9f363104555149a0bcaf80c777b',
UnderlyingAsset['polygon:mmt54'],
POLYGON_TOKEN_FEATURES
),
// testnet polygon tokens
tpolygonErc20(
'09ba76d0-331e-4b75-bb75-739285c3e03a',
Expand Down
4 changes: 2 additions & 2 deletions modules/statics/test/unit/tokenNamingConvention.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { erc20Coins } from '../../src/coins/erc20Coins';
import { erc20Tokens } from '../../src/coins/erc20Tokens';
import { cosmosTokens } from '../../src/coins/cosmosTokens';
import { avaxTokens } from '../../src/coins/avaxTokens';
import { bscTokens } from '../../src/coins/bscTokens';
Expand All @@ -9,7 +9,7 @@ import { NetworkType } from '../../src/networks';

describe('Token Naming Convention Tests', function () {
const allTokens = [
...erc20Coins,
...erc20Tokens,
...cosmosTokens,
...avaxTokens,
...bscTokens,
Expand Down