const e=require(`../chains.constants.cjs`),t=require(`./arcTestnetRegistry.json.cjs`),n=require(`./ethMainnetRegistryFixed.json.cjs`),r=require(`./arbMainnetRegistryFixed.json.cjs`),i=require(`./polygonRegistryFixed.json.cjs`),a=require(`./optimismRegistryFixed.json.cjs`),o=require(`./baseRegistryFixed.json.cjs`),s=require(`./ethMainnetRegistry.json.cjs`),c=require(`./arbMainnetRegistry.json.cjs`),l=require(`./polygonRegistry.json.cjs`),u=require(`./optimismRegistry.json.cjs`),d=require(`./baseRegistry.json.cjs`),f=require(`./localhostRegistry.json.cjs`),p=require(`./solanaMainnetRegistry.json.cjs`),m=require(`./solanaLocalnetRegistry.json.cjs`),h=require(`./sepoliaTestnetRegistry.json.cjs`),g=require(`./tempoRegistry.json.cjs`),_=require(`./tronNileRegistry.json.cjs`),v=require(`./tronMainnetRegistry.json.cjs`);var y=(e,t)=>e.map(e=>({...e,chainId:t})),b=n=>{let r=f.default.networkRegistry.slice(0,10);switch(n){case e.chainIds.polygon:return l.default.networkRegistry;case e.chainIds.arbMainnet:return c.default.networkRegistry;case e.chainIds.ethMainnet:return s.default.networkRegistry;case e.chainIds.optimism:return u.default.networkRegistry;case e.chainIds.optimismTest:return y(u.default.networkRegistry,e.chainIds.optimismTest);case e.chainIds.base:return d.default.networkRegistry;case e.chainIds.arcTestnet:return t.default.networkRegistry;case e.chainIds.sepoliaTestnet:return h.default.networkRegistry;case e.chainIds.tempo:return g.default.networkRegistry;case e.chainIds.solanaMainnet:return p.default.networkRegistry;case e.chainIds.solanaLocalnet:return m.default.networkRegistry;case e.chainIds.tronNile:return _.default.networkRegistry;case e.chainIds.tronMainnet:return v.default.networkRegistry;default:return r}},x=t=>{let s;switch(t){case e.chainIds.polygon:s=i.default;break;case e.chainIds.arbMainnet:s=r.default;break;case e.chainIds.ethMainnet:s=n.default;break;case e.chainIds.optimism:s=a.default;break;case e.chainIds.optimismTest:s=a.default;break;case e.chainIds.base:s=o.default;break;case e.chainIds.solanaMainnet:s=p.default;break;case e.chainIds.solanaLocalnet:s=m.default;break;case e.chainIds.tronNile:s=_.default;break;case e.chainIds.tronMainnet:s=v.default;break;default:s=n.default;break}return s.networkRegistry};exports.getERC20Registry=b,exports.getFixedRegistry=x;