@@ -32,6 +32,83 @@ const getCampaignConfigs = (openSwitch: (token?: string, chainId?: number) => vo
3232 bannerVersion : 'sonic-incentives-v1' ,
3333 icon : '/icons/networks/sonic.svg' ,
3434 } ,
35+
36+ [ ChainId . mainnet ] : {
37+ notifyText : 'Swap tokens directly in the Aave App' ,
38+ buttonText : 'Swap Now' ,
39+ buttonAction : {
40+ type : 'function' as const ,
41+ value : ( ) => openSwitch ( '' , ChainId . mainnet ) ,
42+ } ,
43+ bannerVersion : 'ethereum-swap-v1' ,
44+ icon : '/icons/networks/ethereum.svg' ,
45+ } ,
46+
47+ [ ChainId . polygon ] : {
48+ notifyText : 'Swap tokens directly in the Aave App' ,
49+ buttonText : 'Swap Now' ,
50+ buttonAction : {
51+ type : 'function' as const ,
52+ value : ( ) => openSwitch ( '' , ChainId . polygon ) ,
53+ } ,
54+ bannerVersion : 'polygon-swap-v1' ,
55+ icon : '/icons/networks/polygon.svg' ,
56+ } ,
57+
58+ [ ChainId . avalanche ] : {
59+ notifyText : 'Swap tokens directly in the Aave App' ,
60+ buttonText : 'Swap Now' ,
61+ buttonAction : {
62+ type : 'function' as const ,
63+ value : ( ) => openSwitch ( '' , ChainId . avalanche ) ,
64+ } ,
65+ bannerVersion : 'avalanche-swap-v1' ,
66+ icon : '/icons/networks/avalanche.svg' ,
67+ } ,
68+
69+ [ ChainId . arbitrum_one ] : {
70+ notifyText : 'Swap tokens directly in the Aave App' ,
71+ buttonText : 'Swap Now' ,
72+ buttonAction : {
73+ type : 'function' as const ,
74+ value : ( ) => openSwitch ( '' , ChainId . arbitrum_one ) ,
75+ } ,
76+ bannerVersion : 'arbitrum-swap-v1' ,
77+ icon : '/icons/networks/arbitrum.svg' ,
78+ } ,
79+
80+ [ ChainId . optimism ] : {
81+ notifyText : 'Swap tokens directly in the Aave App' ,
82+ buttonText : 'Swap Now' ,
83+ buttonAction : {
84+ type : 'function' as const ,
85+ value : ( ) => openSwitch ( '' , ChainId . optimism ) ,
86+ } ,
87+ bannerVersion : 'optimism-swap-v1' ,
88+ icon : '/icons/networks/optimism.svg' ,
89+ } ,
90+
91+ [ ChainId . xdai ] : {
92+ notifyText : 'Swap tokens directly in the Aave App' ,
93+ buttonText : 'Swap Now' ,
94+ buttonAction : {
95+ type : 'function' as const ,
96+ value : ( ) => openSwitch ( '' , ChainId . xdai ) ,
97+ } ,
98+ bannerVersion : 'gnosis-swap-v1' ,
99+ icon : '/icons/networks/gnosis.svg' ,
100+ } ,
101+
102+ [ ChainId . bnb ] : {
103+ notifyText : 'Swap tokens directly in the Aave App' ,
104+ buttonText : 'Swap Now' ,
105+ buttonAction : {
106+ type : 'function' as const ,
107+ value : ( ) => openSwitch ( '' , ChainId . bnb ) ,
108+ } ,
109+ bannerVersion : 'binance-swap-v1' ,
110+ icon : '/icons/networks/binance.svg' ,
111+ } ,
35112} ) ;
36113
37114export function MainLayout ( { children } : { children : ReactNode } ) {
0 commit comments