Skip to content

Commit 4e16a0d

Browse files
grothemfoodaka
andauthored
feat: plasma market (aave#2651)
Co-authored-by: mark hinschberger <markhinschberger@gmail.com>
1 parent e9b6f47 commit 4e16a0d

4 files changed

Lines changed: 29 additions & 5 deletions

File tree

public/icons/tokens/xaut0.svg

Lines changed: 6 additions & 0 deletions
Loading

src/layouts/MainLayout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ const getCampaignConfigs = (
4141
// },
4242

4343
[ChainId.mainnet]: {
44-
notifyText: 'Horizon, the RWA market is now live.',
44+
notifyText: 'The plasma market is now live',
4545
buttonText: 'Get Started',
4646
buttonAction: {
4747
type: 'function' as const,
48-
value: () => openMarket(CustomMarket.proto_horizon_v3),
48+
value: () => openMarket(CustomMarket.proto_plasma_v3),
4949
},
50-
bannerVersion: 'horizon-market-v0',
51-
icon: '/icons/markets/horizon.svg',
50+
bannerVersion: 'plasma-market-v0',
51+
icon: '/icons/networks/plasma.svg',
5252
},
5353

5454
// [ChainId.polygon]: {

src/ui-config/marketsConfig.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
AaveV3Metis,
2020
AaveV3Optimism,
2121
AaveV3OptimismSepolia,
22+
AaveV3Plasma,
2223
AaveV3Polygon,
2324
AaveV3Scroll,
2425
AaveV3ScrollSepolia,
@@ -103,6 +104,7 @@ export enum CustomMarket {
103104
proto_horizon_v3 = 'proto_horizon_v3',
104105
proto_sepolia_horizon_v3 = 'proto_sepolia_horizon_v3',
105106
proto_aptos_v3 = 'proto_aptos_v3',
107+
proto_plasma_v3 = 'proto_plasma_v3',
106108
// v2
107109
proto_mainnet = 'proto_mainnet',
108110
proto_avalanche = 'proto_avalanche',
@@ -598,6 +600,22 @@ export const marketsData: {
598600
// DEBT_SWITCH_ADAPTER: AaveV3EthereumLido.DEBT_SWAP_ADAPTER,
599601
},
600602
},
603+
[CustomMarket.proto_plasma_v3]: {
604+
marketTitle: 'Plasma',
605+
market: CustomMarket.proto_plasma_v3,
606+
chainId: 9745 as ChainId,
607+
v3: true,
608+
logo: '/icons/networks/plasma.svg',
609+
addresses: {
610+
LENDING_POOL_ADDRESS_PROVIDER: AaveV3Plasma.POOL_ADDRESSES_PROVIDER,
611+
LENDING_POOL: AaveV3Plasma.POOL,
612+
WETH_GATEWAY: AaveV3Plasma.WETH_GATEWAY,
613+
WALLET_BALANCE_PROVIDER: AaveV3Plasma.WALLET_BALANCE_PROVIDER,
614+
UI_POOL_DATA_PROVIDER: '0xc851e6147dcE6A469CC33BE3121b6B2D4CaD2763', //AaveV3Plasma.UI_POOL_DATA_PROVIDER,
615+
UI_INCENTIVE_DATA_PROVIDER: AaveV3Plasma.UI_INCENTIVE_DATA_PROVIDER,
616+
COLLECTOR: AaveV3Plasma.COLLECTOR,
617+
}
618+
},
601619
[CustomMarket.proto_polygon_v3]: {
602620
marketTitle: 'Polygon',
603621
market: CustomMarket.proto_polygon_v3,

src/ui-config/networksConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ export const prodNetworkConfig: Record<string, BaseNetworkConfig> = {
434434
baseAssetSymbol: 'XPL',
435435
wrappedBaseAssetSymbol: 'WXPL',
436436
baseAssetDecimals: 18,
437-
explorerLink: 'https://plasma.to',
437+
explorerLink: 'https://plasmascan.to',
438438
networkLogoPath: '/icons/networks/plasma.svg',
439439
wagmiChain: plasma,
440440
},

0 commit comments

Comments
 (0)