Skip to content

Commit 9e708a8

Browse files
authored
Merge pull request #874 from Loopring/closureAnnoncement
DEFI Closure annoncement
2 parents 84658b8 + 75be249 commit 9e708a8

File tree

15 files changed

+763
-353
lines changed

15 files changed

+763
-353
lines changed

.claude/settings.local.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(rg:*)",
5+
"Bash(grep:*)"
6+
],
7+
"deny": []
8+
}
9+
}

packages/common-resources/static-resources/src/constant/router.ts

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -329,25 +329,25 @@ export let layer2ItemData: Array<HeaderMenuItemInterface> = [
329329
},
330330
router: { path: RouterPath.stoplimit + '/${pair}' },
331331
},
332-
{
333-
label: {
334-
id: 'btrade',
335-
i18nKey: 'labelBtradeTrade',
336-
description: 'labelBtradeTradeDescription',
337-
icon: BlockTradeIcon,
338-
},
339-
router: { path: RouterPath.btrade + '/${pair}' },
340-
},
332+
// {
333+
// label: {
334+
// id: 'btrade',
335+
// i18nKey: 'labelBtradeTrade',
336+
// description: 'labelBtradeTradeDescription',
337+
// icon: BlockTradeIcon,
338+
// },
339+
// router: { path: RouterPath.btrade + '/${pair}' },
340+
// },
341341

342-
{
343-
label: {
344-
id: 'fiat',
345-
i18nKey: 'labelFiat',
346-
description: 'labelFiatDescription',
347-
icon: FiatIcon,
348-
},
349-
router: { path: RouterPath.fiat },
350-
},
342+
// {
343+
// label: {
344+
// id: 'fiat',
345+
// i18nKey: 'labelFiat',
346+
// description: 'labelFiatDescription',
347+
// icon: FiatIcon,
348+
// },
349+
// router: { path: RouterPath.fiat },
350+
// },
351351
]
352352

353353
export enum VaultKey {
@@ -471,26 +471,26 @@ export const subMenuLayer2 = {
471471
}
472472

473473
export const subMenuInvest = [
474-
{
475-
icon: L2MyLiquidityIcon,
476-
router: { path: `${RouterPath.invest}/${InvestRouter[InvestType.Overview]}` },
477-
label: {
478-
id: 'overview',
479-
i18nKey: 'labelInvestOverview',
480-
description: 'labelInvestOverviewDes',
481-
icon: OverviewIcon,
482-
},
483-
},
484-
{
485-
icon: L2MyLiquidityIcon,
486-
router: { path: `${RouterPath.invest}/${InvestAssetRouter.DUAL}` },
487-
label: {
488-
id: 'dual',
489-
i18nKey: 'labelInvestDual',
490-
description: 'labelInvestDualDes',
491-
icon: DualInvestIcon,
492-
},
493-
},
474+
// {
475+
// icon: L2MyLiquidityIcon,
476+
// router: { path: `${RouterPath.invest}/${InvestRouter[InvestType.Overview]}` },
477+
// label: {
478+
// id: 'overview',
479+
// i18nKey: 'labelInvestOverview',
480+
// description: 'labelInvestOverviewDes',
481+
// icon: OverviewIcon,
482+
// },
483+
// },
484+
// {
485+
// icon: L2MyLiquidityIcon,
486+
// router: { path: `${RouterPath.invest}/${InvestAssetRouter.DUAL}` },
487+
// label: {
488+
// id: 'dual',
489+
// i18nKey: 'labelInvestDual',
490+
// description: 'labelInvestDualDes',
491+
// icon: DualInvestIcon,
492+
// },
493+
// },
494494
{
495495
icon: L2MyLiquidityIcon,
496496
router: { path: `${RouterPath.invest}/${InvestAssetRouter.STAKE}` },
@@ -792,16 +792,16 @@ export const headerMenuData: Array<HeaderMenuItemInterface> = [
792792
status: HeaderMenuTabStatus.default,
793793
child: subMenuInvest,
794794
},
795-
{
796-
label: {
797-
id: 'vault',
798-
i18nKey: 'labelVault',
799-
description: 'labelVaultDescription',
800-
},
801-
router: { path: `${RouterPath.vault}` },
802-
status: HeaderMenuTabStatus.default,
803-
child: vaultItemData,
804-
},
795+
// {
796+
// label: {
797+
// id: 'vault',
798+
// i18nKey: 'labelVault',
799+
// description: 'labelVaultDescription',
800+
// },
801+
// router: { path: `${RouterPath.vault}` },
802+
// status: HeaderMenuTabStatus.default,
803+
// child: vaultItemData,
804+
// },
805805
{
806806
label: {
807807
id: 'NFT',
@@ -992,15 +992,15 @@ export const headerMenuDataMap: { [key: string]: HeaderMenuItemInterface[] } = {
992992
},
993993
router: { path: RouterPath.stoplimit + '/${pair}' },
994994
},
995-
{
996-
label: {
997-
id: 'btrade',
998-
i18nKey: 'labelBtradeTrade',
999-
description: 'labelBtradeTradeDescription',
1000-
icon: BlockTradeIcon,
1001-
},
1002-
router: { path: RouterPath.btrade + '/${pair}' },
1003-
},
995+
// {
996+
// label: {
997+
// id: 'btrade',
998+
// i18nKey: 'labelBtradeTrade',
999+
// description: 'labelBtradeTradeDescription',
1000+
// icon: BlockTradeIcon,
1001+
// },
1002+
// router: { path: RouterPath.btrade + '/${pair}' },
1003+
// },
10041004
]
10051005
},
10061006
{
@@ -1113,15 +1113,15 @@ export const headerMenuDataMap: { [key: string]: HeaderMenuItemInterface[] } = {
11131113
},
11141114
router: { path: RouterPath.stoplimit + '/${pair}' },
11151115
},
1116-
{
1117-
label: {
1118-
id: 'btrade',
1119-
i18nKey: 'labelBtradeTrade',
1120-
description: 'labelBtradeTradeDescription',
1121-
icon: BlockTradeIcon,
1122-
},
1123-
router: { path: RouterPath.btrade + '/${pair}' },
1124-
},
1116+
// {
1117+
// label: {
1118+
// id: 'btrade',
1119+
// i18nKey: 'labelBtradeTrade',
1120+
// description: 'labelBtradeTradeDescription',
1121+
// icon: BlockTradeIcon,
1122+
// },
1123+
// router: { path: RouterPath.btrade + '/${pair}' },
1124+
// },
11251125
]
11261126
},
11271127
{

0 commit comments

Comments
 (0)