diff --git a/chains.config.js b/chains.config.js index 1de45a5d..5c0aac1a 100644 --- a/chains.config.js +++ b/chains.config.js @@ -3,35 +3,27 @@ const chains = [ { - chainId: 100, + chainId: 32456, isDefault: false, isCustom: true, - network: 'genx', - metadataCacheUri: 'https://aquarius510.v4.delta-dao.com', - nodeUri: 'https://rpc.genx.minimal-gaia-x.eu', - providerUri: 'https://provider.v4.genx.delta-dao.com', - subgraphUri: 'https://subgraph.v4.genx.minimal-gaia-x.eu', - explorerUri: 'https://explorer.genx.pontus-x.eu', - oceanTokenAddress: '0x0995527d3473b3a98c471f1ed8787acd77fbf009', + network: 'pontusx-devnet', oceanTokenSymbol: 'OCEAN', - fixedRateExchangeAddress: '0xAD8E7d2aFf5F5ae7c2645a52110851914eE6664b', - dispenserAddress: '0x94cb8FC8719Ed09bE3D9c696d2037EA95ef68d3e', - startBlock: 3665369, + oceanTokenAddress: '0xdF171F74a8d3f4e2A789A566Dce9Fa4945196112', + nftFactoryAddress: '0xFdC4a5DEaCDfc6D82F66e894539461a269900E13', + fixedRateExchangeAddress: '0x8372715D834d286c9aECE1AcD51Da5755B32D505', + dispenserAddress: '0x5461b629E01f72E0A468931A36e039Eea394f9eA', + opfCommunityFeeCollector: '0x1f84fB438292269219f9396D57431eA9257C23d4', + startBlock: 57428, transactionBlockTimeout: 50, transactionConfirmationBlocks: 1, transactionPollingTimeout: 750, gasFeeMultiplier: 1.1, - nftFactoryAddress: '0x6cb85858183B82154921f68b434299EC4281da53', - opfCommunityFeeCollector: '0x2e0C9e15A45c9884F7768BB852E7399B9153525d', - veAllocate: '0x3fa1d5AC45ab1Ff9CFAe227c5583Ec0484b54Ef9', - veOCEAN: '0x061955B6980A34fce74b235f90DBe20d76f087b1', - veDelegation: '0x96E3aE4247a01C3d40a261df1F8ead70E32E7C0c', - veFeeDistributor: '0x35F1e6765750E874EB9d0675393A1A394A4749b4', - veDelegationProxy: '0x51B1b14b8bfb43a2fB0b49843787Ca440200F6b7', - DFRewards: '0x4259c164eedA7483dda2b4b622D761A88674D31f', - DFStrategyV1: '0x1be9C72500B41c286C797D4FE727747Ae9C4E195', - veFeeEstimate: '0xCFeF55c6ae4d250586e293f29832967a04A9087d', - providerAddress: '0x68C24FA5b2319C81b34f248d1f928601D2E5246B' + providerUri: 'https://provider.dev.pontus-x.eu', + providerAddress: '0x68C24FA5b2319C81b34f248d1f928601D2E5246B', + metadataCacheUri: 'https://aquarius.pontus-x.eu', + nodeUri: 'https://rpc.dev.pontus-x.eu', + subgraphUri: 'https://subgraph.dev.pontus-x.eu', + explorerUri: 'https://explorer.pontus-x.eu/devnet/pontusx' }, { chainId: 32457, diff --git a/src/@hooks/useNetworkMetadata/utils.ts b/src/@hooks/useNetworkMetadata/utils.ts index 62d54b44..9fbdc554 100644 --- a/src/@hooks/useNetworkMetadata/utils.ts +++ b/src/@hooks/useNetworkMetadata/utils.ts @@ -12,7 +12,9 @@ export function getNetworkType(network: EthereumListsChain): string { if ( network && !network.name?.includes('Testnet') && - !network.title?.includes('Testnet') + !network.title?.includes('Testnet') && + !network.name?.includes('Devnet') && + !network.title?.includes('Devnet') ) { return NetworkType.Mainnet } else { @@ -47,6 +49,9 @@ export function getNetworkDisplayName(data: EthereumListsChain): string { displayName = 'GEN-X Testnet' break case 32456: + displayName = 'Pontus-X Devnet' + break + case 32457: displayName = 'Pontus-X Testnet' break default: diff --git a/src/components/Header/UserPreferences/Networks/NetworksList.module.css b/src/components/Header/UserPreferences/Networks/NetworksList.module.css index 516900d9..00f3ee12 100644 --- a/src/components/Header/UserPreferences/Networks/NetworksList.module.css +++ b/src/components/Header/UserPreferences/Networks/NetworksList.module.css @@ -7,6 +7,8 @@ .networks { composes: box from '@shared/atoms/Box.module.css'; + box-shadow: none; padding: 0; + border-width: var(--border-size-sm); }