11const { version } = require ( "../package.json" ) ;
22const base = require ( "./tokens/base.json" ) ;
33const story = require ( "./tokens/story.json" ) ;
4- const morph = require ( "./tokens/morph.json" ) ;
54const riseSepolia = require ( "./tokens/rise_sepolia.json" ) ;
65const monadTestnet = require ( "./tokens/monad_testnet.json" ) ;
76const inkSepolia = require ( "./tokens/ink_sepolia.json" ) ;
87const somniaTestnet = require ( "./tokens/somnia_testnet.json" ) ;
8+ const megaethTestnet = require ( "./tokens/megaeth_testnet.json" ) ;
9+
910// pairs
1011const storyPairs = require ( "./pairs/story.json" ) ;
11- const morphPairs = require ( "./pairs/morph.json" ) ;
1212const riseSepoliaPairs = require ( "./pairs/rise_sepolia.json" ) ;
1313const monadTestnetPairs = require ( "./pairs/monad_testnet.json" ) ;
1414const inkSepoliaPairs = require ( "./pairs/ink_sepolia.json" ) ;
1515const somniaTestnetPairs = require ( "./pairs/somnia_testnet.json" ) ;
16+ const megaethTestnetPairs = require ( "./pairs/megaeth_testnet.json" ) ;
1617
1718// groups
1819const storyGroups = require ( "./groups/story.json" ) ;
1920const riseSepoliaGroups = require ( "./groups/rise_sepolia.json" ) ;
2021const monadTestnetGroups = require ( "./groups/monad_testnet.json" ) ;
2122const inkSepoliaGroups = require ( "./groups/ink_sepolia.json" ) ;
2223const somniaTestnetGroups = require ( "./groups/somnia_testnet.json" ) ;
23-
24+ const megaethTestnetGroups = require ( "./groups/megaeth_testnet.json" ) ;
2425
2526// group pairs
2627const storyGroupPairs = require ( "./groupPairs/story.json" ) ;
2728const riseSepoliaGroupPairs = require ( "./groupPairs/rise_sepolia.json" ) ;
2829const monadTestnetGroupPairs = require ( "./groupPairs/monad_testnet.json" ) ;
2930const inkSepoliaGroupPairs = require ( "./groupPairs/ink_sepolia.json" ) ;
3031const somniaTestnetGroupPairs = require ( "./groupPairs/somnia_testnet.json" ) ;
32+ const megaethTestnetGroupPairs = require ( "./groupPairs/megaeth_testnet.json" ) ;
33+
3134// group tokens
3235const storyGroupTokens = require ( "./groupTokens/story.json" ) ;
3336const riseSepoliaGrouptokens = require ( "./groupTokens/rise_sepolia.json" ) ;
3437const monadTestnetGroupTokens = require ( "./groupTokens/monad_testnet.json" ) ;
3538const inkSepoliaGroupTokens = require ( "./groupTokens/ink_sepolia.json" ) ;
3639const somniaTestnetGroupTokens = require ( "./groupTokens/somnia_testnet.json" ) ;
40+ const megaethTestnetGroupTokens = require ( "./groupTokens/megaeth_testnet.json" ) ;
41+
3742module . exports = function buildList ( ) {
3843 const parsed = version . split ( "." ) ;
3944 const l1List = {
@@ -45,60 +50,64 @@ module.exports = function buildList() {
4550 patch : + parsed [ 2 ] ,
4651 } ,
4752 // groups are used to organize tokens in the app UI for Tradingview, each token is identified by its tag property
48- groups :{
49- "Story" : storyGroups ,
50- "Rise Sepolia" : riseSepoliaGroups ,
53+ groups : {
54+ Story : storyGroups ,
55+ "MegaETH Testnet" : megaethTestnetGroups ,
56+ "RISE Testnet" : riseSepoliaGroups ,
5157 "Monad Testnet" : monadTestnetGroups ,
5258 "Ink Sepolia" : inkSepoliaGroups ,
5359 "Somnia Testnet" : somniaTestnetGroups ,
5460 } ,
5561 groupTokens : {
56- "Story" : storyGroupTokens ,
57- "Rise Sepolia" : riseSepoliaGrouptokens ,
62+ Story : storyGroupTokens ,
63+ "MegaETH Testnet" : megaethTestnetGroupTokens ,
64+ "RISE Testnet" : riseSepoliaGrouptokens ,
5865 "Monad Testnet" : monadTestnetGroupTokens ,
5966 "Ink Sepolia" : inkSepoliaGroupTokens ,
6067 "Somnia Testnet" : somniaTestnetGroupTokens ,
6168 } ,
6269 groupPairs : {
63- "Story" : storyGroupPairs ,
64- "Rise Sepolia" : riseSepoliaGroupPairs ,
70+ Story : storyGroupPairs ,
71+ "MegaETH Testnet" : megaethTestnetGroupPairs ,
72+ "RISE Testnet" : riseSepoliaGroupPairs ,
6573 "Monad Testnet" : monadTestnetGroupPairs ,
6674 "Ink Sepolia" : inkSepoliaGroupPairs ,
6775 "Somnia Testnet" : somniaTestnetGroupPairs ,
6876 } ,
6977 scannerLink : {
7078 Story : "https://oklink.com/story/" ,
71- "Rise Sepolia" : "https://testnet-explorer.riselabs.xyz/" ,
79+ "MegaETH Testnet" : "https://web3.okx.com/explorer/megaeth-testnet/" ,
80+ "RISE Testnet" : "https://testnet-explorer.riselabs.xyz/" ,
7281 "Monad Testnet" : "https://testnet.monadexplorer.com/" ,
7382 "Ink Sepolia" : "https://explorer-sepolia.inkonchain.com/" ,
74- "Somnia Testnet" : "https://testnet .somnia.xyz /" ,
83+ "Somnia Testnet" : "https://shannon-explorer .somnia.network /" ,
7584 } ,
7685 matchingEngine : {
77- "Story " : {
78- address : "0x3bd945d969e2a4b76edf8cf09fe6357bb6682f4f " ,
79- startBlock : 915937 ,
86+ "MegaETH Testnet " : {
87+ address : "0x8E9e786f757B881C7B456682Ae7D2a06820220b1 " ,
88+ startBlock : 8105541 ,
8089 } ,
81- "Rise Sepolia " : {
82- address : "0x1aA4958Ed3a2e9604b70A5790A79A3a80021C31f " ,
83- startBlock : 9157855 ,
90+ "RISE Testnet " : {
91+ address : "0x1D66DF6CB430806402cd561da04CEd724B630219 " ,
92+ startBlock : 14041677 ,
8493 } ,
8594 "Monad Testnet" : {
86- address : "0xBBa4a83498F68f915f3E2f9b1dF1e28220968e96 " ,
87- startBlock : 4869550 ,
95+ address : "0x6A79A3176e61f43ef84baB46209Cc97803c4a143 " ,
96+ startBlock : 20186566 ,
8897 } ,
8998 "Ink Sepolia" : {
90- address : "0x00cB733CBF6fb7079eeeC9EA9b50863756dDbfBE " ,
91- startBlock : 11548769 ,
99+ address : "0x8Fe1B1c07dE0B584611ef8AA1529D4c5E125eD48 " ,
100+ startBlock : 20290230 ,
92101 } ,
93102 "Somnia Testnet" : {
94- address : "0x8E9e786f757B881C7B456682Ae7D2a06820220b1 " ,
95- startBlock : 53564391 ,
96- }
103+ address : "0x44E7525Cf9d56733D08fc98BcD750d504fCE91eC " ,
104+ startBlock : 90885033 ,
105+ } ,
97106 } ,
98107 wAIfuManager : {
99- "Rise Sepolia " : {
100- address : "0x2C1d127d610DFBdb45D9f05eEec4faAFc9Db5029 " ,
101- startBlock : 4849129 ,
108+ "RISE Testnet " : {
109+ address : "0xcCF25DD59e7F556fd73DF21973d2dE6174186484 " ,
110+ startBlock : 13223107 ,
102111 } ,
103112 "Ink Sepolia" : {
104113 address : "0xc63E21C4285Ffe3F258A3486A679C7ac5EDD696C" ,
@@ -114,6 +123,7 @@ module.exports = function buildList() {
114123 ...monadTestnet ,
115124 ...inkSepolia ,
116125 ...somniaTestnet ,
126+ ...megaethTestnet ,
117127 ]
118128 // sort them by symbol for easy readability
119129 . sort ( ( t1 , t2 ) => {
@@ -128,6 +138,7 @@ module.exports = function buildList() {
128138 ...monadTestnetPairs ,
129139 ...inkSepoliaPairs ,
130140 ...somniaTestnetPairs ,
141+ ...megaethTestnetPairs ,
131142 ] ,
132143 } ;
133144 return l1List ;
0 commit comments