Skip to content

[COIN-1234] Add new batch of tokens #6192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
2 changes: 2 additions & 0 deletions modules/statics/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1620,6 +1620,7 @@ export enum UnderlyingAsset {
'hteth:gousd' = 'hteth:gousd',
'hteth:usd1' = 'hteth:usd1',
'hteth:stgusd1' = 'hteth:stgusd1',
'hteth:testnewtoken' = 'hteth:testnewtoken',
THKD = 'thkd',
THUNDER = 'thunder',
TIO = 'tio',
Expand Down Expand Up @@ -1925,6 +1926,7 @@ export enum UnderlyingAsset {
'eth:ausd' = 'eth:ausd',
'eth:gaia' = 'eth:gaia',
'eth:usds' = 'eth:usds',
'eth:newtoken' = 'eth:newtoken',
'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ' = 'xlm:BST-GADDFE4R72YUP2AOEL67OHZN3GJQYPC3VE734N2XFMEGRR2L32CZ3XYZ',
'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M' = 'xlm:VELO-GDM4RQUQQUVSKQA7S6EM7XBZP3FCGH4Q7CL6TABQ7B2BEJ5ERARM2M5M',
'xlm:SLT-GCKA6K5PCQ6PNF5RQBF7PQDJWRHO6UOGFMRLK3DYHDOI244V47XKQ4GP' = 'xlm:SLT-GCKA6K5PCQ6PNF5RQBF7PQDJWRHO6UOGFMRLK3DYHDOI244V47XKQ4GP',
Expand Down
25 changes: 25 additions & 0 deletions modules/statics/src/coins/erc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10468,6 +10468,19 @@ export const erc20Coins = [
'0xdc035d45d973e3ec169d2276ddab16f1e407384f',
UnderlyingAsset['eth:usds']
),
erc20(
'81218af6-8506-4678-9ce0-1965bfcb143d',
'eth:newtoken',
'New Token',
18,
'0x1234567890123456789012345678901234567890',
UnderlyingAsset['eth:newtoken'],
[
...AccountCoin.DEFAULT_FEATURES,
CoinFeature.CUSTODY_BITGO_FRANKFURT,
CoinFeature.CUSTODY_BITGO_GERMANY,
],
),
terc20(
'0205f0d6-0647-47c9-ad8b-c48d048e54f3',
'fixed',
Expand Down Expand Up @@ -11384,4 +11397,16 @@ export const erc20Coins = [
undefined,
Networks.test.holesky
),
terc20(
'27079750-d23e-4e06-97ce-675d4ac00c9d',
'hteth:testnewtoken',
'Test New Token',
18,
'0x1234567890123456789012345678901234567890',
UnderlyingAsset['hteth:testnewtoken'],
HTETH_TOKEN_FEATURES,
undefined,
undefined,
Networks.test.holesky
),
];
15 changes: 15 additions & 0 deletions modules/statics/src/coins/ofcErc20Coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3153,6 +3153,7 @@ export const ofcErc20Coins = [
underlyingAssetForSymbol('eth:gaia')
),
ofcerc20('c3a5c5d2-5d6e-4c9b-9f3e-6d2a4e5b6c8d', 'ofceth:usds', 'USDS', 18, underlyingAssetForSymbol('eth:usds')),
ofcerc20('b0aea826-df93-4f84-9bea-8c944fb88fcc', 'ofcnewtoken', 'New Token', 18, UnderlyingAsset['eth:newtoken']),
];

export const tOfcErc20Coins = [
Expand Down Expand Up @@ -3312,6 +3313,20 @@ export const tOfcErc20Coins = [
undefined,
'hteth'
),
tofcerc20(
'ea30f11f-d988-400d-895b-593c70887d70',
'ofchtestnewtoken',
'Test New Token',
18,
UnderlyingAsset['hteth:testnewtoken'],
undefined,
undefined,
undefined,
undefined,
undefined,
undefined,
'hteth'
),
];

function underlyingAssetForSymbol(underlyingAssetValue: string): UnderlyingAsset {
Expand Down
1 change: 1 addition & 0 deletions modules/statics/src/gatekeep.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1824,4 +1824,5 @@ export const gatekeep = [
'ofcsol:rock',
'sol:dood',
'ofcsol:dood',
'ofchteth:testnewtoken',
];
Loading