Skip to content

Commit

Permalink
json deleted and chainInfo stored insde config (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinarora authored May 19, 2024
1 parent b9b9872 commit ce4d0ba
Show file tree
Hide file tree
Showing 15 changed files with 310 additions and 5,212 deletions.
5,196 changes: 0 additions & 5,196 deletions src/constants/chains.json

This file was deleted.

29 changes: 29 additions & 0 deletions src/contracts/configs/ArbitrumOne.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const ArbitrumOneChainConfig: TChainConfig = {
chainInfo: {
name: "Arbitrum One",
chainId: 42161,
chain: "ETH",
nativeCurrency: {
name: "Ether",
symbol: "ETH",
decimals: 18
},
explorers: [
{
name: "Arbiscan",
url: "https://arbiscan.io",
standard: "EIP3091"
},
{
name: "Arbitrum Explorer",
url: "https://explorer.arbitrum.io",
standard: "EIP3091"
},
{
name: "dexguru",
url: "https://arbitrum.dex.guru",
icon: "dexguru",
standard: "EIP3091"
}
],
infoURL: "https://arbitrum.io",
},
lockedDealV2: {
address: "0x7Ff9315f538dF7eC76Ec4815249Dd30519726460",
nameVersion: "[email protected]"
Expand Down
18 changes: 18 additions & 0 deletions src/contracts/configs/Avalanche.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const AvalancheChainConfig: TChainConfig = {
chainInfo: {
name: "Avalanche C-Chain",
chain: "AVAX",
chainId: 43114,
nativeCurrency: {
name: "Avalanche",
symbol: "AVAX",
decimals: 18
},
infoURL: "https://www.avax.network/",
explorers: [
{
name: "snowtrace",
url: "https://snowtrace.io",
standard: "EIP3091"
}
]
},
lockedDealV2: {
address: "0xb16bbdf683ffd6d92290f7610bb10f22f9c71e9e",
nameVersion: "[email protected]"
Expand Down
32 changes: 31 additions & 1 deletion src/contracts/configs/Base.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const BaseChainConfig: TChainConfig = {
chainInfo: {
name: "Base",
chain: "ETH",
nativeCurrency: {
name: "Ether",
symbol: "ETH",
decimals: 18
},
chainId: 8453,
infoURL: "https://base.org",
explorers: [
{
name: "basescan",
url: "https://basescan.org",
standard: "none"
},
{
name: "basescout",
url: "https://base.blockscout.com",
icon: "blockscout",
standard: "EIP3091"
},
{
name: "dexguru",
url: "https://base.dex.guru",
icon: "dexguru",
standard: "EIP3091"
}
]
},
lockDealNFT: {
address: "0xb16BBDf683fFd6D92290F7610bb10f22f9c71e9e",
nameVersion: "[email protected]"
Expand Down Expand Up @@ -40,5 +70,5 @@ export const BaseChainConfig: TChainConfig = {
multiSenderV2: {
address: "0x120893ab6f67171d4e6b0e72c151ab96aebe44e4",
nameVersion: "[email protected]"
},
}
}
24 changes: 24 additions & 0 deletions src/contracts/configs/BinanceMain.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const BinanceMainChainConfig: TChainConfig = {
chainInfo: {
name: "BNB Smart Chain Mainnet",
chain: "BSC",
nativeCurrency: {
name: "BNB Chain Native Token",
symbol: "BNB",
decimals: 18
},
infoURL: "https://www.bnbchain.org/en",
chainId: 56,
explorers: [
{
name: "bscscan",
url: "https://bscscan.com",
standard: "EIP3091"
},
{
name: "dexguru",
url: "https://bnb.dex.guru",
icon: "dexguru",
standard: "EIP3091"
}
]
},
poolzAddress: "0xCc8f6A82Ff034C15dFDAcBcab29F7Ea28C616EF7",
lockedDealV2: {
address: "0x436CE2ce8d8d2Ccc062f6e92faF410DB4d397905",
Expand Down
18 changes: 18 additions & 0 deletions src/contracts/configs/BinanceTest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const BinanceTestChainConfig: TChainConfig = {
chainInfo: {
name: "BNB Smart Chain Testnet",
chain: "BSC",
chainId: 97,
nativeCurrency: {
name: "BNB Chain Native Token",
symbol: "tBNB",
decimals: 18
},
infoURL: "https://www.bnbchain.org/en",
explorers: [
{
name: "bscscan-testnet",
url: "https://testnet.bscscan.com",
standard: "EIP3091"
}
]
},
poolzAddress: "0xEEF0b7a6cd416006815ed3D66B670e1da73E116C",
whiteListAddress: "0xC68CD044B5F888b8D3054C9dDD7a396b73f4418c",

Expand Down
32 changes: 31 additions & 1 deletion src/contracts/configs/Eth.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const EthMainChainConfig: TChainConfig = {
chainInfo: {
name: "Ethereum Mainnet",
chain: "ETH",
nativeCurrency: {
name: "Ether",
symbol: "ETH",
decimals: 18
},
infoURL: "https://ethereum.org",
chainId: 1,
explorers: [
{
name: "etherscan",
url: "https://etherscan.io",
standard: "EIP3091"
},
{
name: "blockscout",
url: "https://eth.blockscout.com",
icon: "blockscout",
standard: "EIP3091"
},
{
name: "dexguru",
url: "https://ethereum.dex.guru",
icon: "dexguru",
standard: "EIP3091"
}
]
},
poolzAddress: "0x99896BA5fde6CED06569CF848982d2c7779d2694",
whiteListAddress: "0xf5BbB7f9D38387A2196CD242e51808dc7E5CEF88",
poolzBackWithdraw: ["0x872496054817B825b09e2b38531Fd33Ab41b2367", "0x000BaB4F6b5560d7942AC88cf0233b6028B5B465"],
Expand All @@ -11,6 +41,6 @@ export const EthMainChainConfig: TChainConfig = {
multiSenderV2: {
address: "0x658bcdfe51795ba43e9fd1ae9e39ddfbb1e70c5f",
nameVersion: "[email protected]"
},
}
// delayVault: { address: "0x674c9FDc5DcBD525cd3ea2C3A2caE6cfe79727C5", nameVersion: "[email protected]" }
}
20 changes: 19 additions & 1 deletion src/contracts/configs/Manta.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const MantaChainConfig: TChainConfig = {
chainInfo: {
name: "Manta Pacific Mainnet",
chain: "Manta Pacific",
chainId: 169,
nativeCurrency: {
name: "Ether",
symbol: "ETH",
decimals: 18
},
infoURL: "https://pacific-info.manta.network",
explorers: [
{
name: "manta-pacific Explorer",
url: "https://pacific-explorer.manta.network",
standard: "EIP3091"
}
]
},
lockDealNFT: {
address: "0xb16BBDf683fFd6D92290F7610bb10f22f9c71e9e",
nameVersion: "[email protected]"
Expand Down Expand Up @@ -40,5 +58,5 @@ export const MantaChainConfig: TChainConfig = {
multiSenderV2: {
address: "0x655a8bc3875aedb2A4bc4aeeF5F84805207cB5DC",
nameVersion: "[email protected]"
},
}
}
18 changes: 18 additions & 0 deletions src/contracts/configs/MantaTest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const MantaTestChainConfig: TChainConfig = {
chainInfo: {
name: "Manta Pacific Testnet",
chain: "Manta Pacific",
chainId: 3441005,
nativeCurrency: {
name: "Manta",
symbol: "MANTA",
decimals: 18
},
infoURL: "https://manta-testnet.caldera.dev/",
explorers: [
{
name: "manta-testnet Explorer",
url: "https://manta-testnet.calderaexplorer.xyz",
standard: "EIP3091"
}
]
},
lockDealNFT: {
address: "0x011c8888C96fd3c1C1c43749ED581D17DE17F42C",
nameVersion: "[email protected]"
Expand Down
24 changes: 24 additions & 0 deletions src/contracts/configs/MaticMain.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const MaticMainChainConfig: TChainConfig = {
chainInfo: {
name: "Polygon Mainnet",
chain: "Polygon",
nativeCurrency: {
name: "MATIC",
symbol: "MATIC",
decimals: 18
},
infoURL: "https://polygon.technology/",
chainId: 137,
explorers: [
{
name: "polygonscan",
url: "https://polygonscan.com",
standard: "EIP3091"
},
{
name: "dexguru",
url: "https://polygon.dex.guru",
icon: "dexguru",
standard: "EIP3091"
}
]
},
poolzAddress: "0xDeab1420F6C024140bAB2a248A424F780Ed0964C",
whiteListAddress: "0xD39eA2C72B99E65F1CDa47E727b453964B45e036",
lockedDealV2: {
Expand Down
25 changes: 24 additions & 1 deletion src/contracts/configs/Neon.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const NeonChainConfig: TChainConfig = {
chainInfo: {
name: "Neon EVM Mainnet",
chain: "Solana",
nativeCurrency: {
name: "Neon",
symbol: "NEON",
decimals: 18
},
infoURL: "https://neonevm.org",
chainId: 245022934,
explorers: [
{
name: "neonscan",
url: "https://neonscan.org",
standard: "EIP3091"
},
{
name: "native",
url: "https://neon.blockscout.com",
standard: "EIP3091"
}
]
},
lockedDealV2: {
address: "0x7ff9315f538df7ec76ec4815249dd30519726460",
nameVersion: "[email protected]"
},
whiteListAddress: "0x9c8f78e0aeab8190c9d1df7bed0b26c1edcb8de6",
whiteListAddress: "0x9c8f78e0aeab8190c9d1df7bed0b26c1edcb8de6"
}
20 changes: 19 additions & 1 deletion src/contracts/configs/TelosMain.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const TelosMainChainConfig: TChainConfig = {
chainInfo: {
name: "Telos EVM Mainnet",
chain: "TLOS",
nativeCurrency: {
name: "Telos",
symbol: "TLOS",
decimals: 18
},
infoURL: "https://telos.net",
chainId: 40,
explorers: [
{
name: "teloscan",
url: "https://teloscan.io",
standard: "EIP3091"
}
]
},
whiteListAddress: "0xb16BBDf683fFd6D92290F7610bb10f22f9c71e9e",
lockDealNFT: {
address: "0x6d77B5147CDE6Fa287c1266A33e09a09651D36d0",
Expand Down Expand Up @@ -37,5 +55,5 @@ export const TelosMainChainConfig: TChainConfig = {
multiSenderV2: {
address: "0x9cfd8c7834Be0DfE41F3FE68C29124066D5Cd13b",
nameVersion: "[email protected]"
},
}
}
18 changes: 18 additions & 0 deletions src/contracts/configs/Tomo.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
import type { TChainConfig } from "../../types/IThePoolzInterface"

export const TomoChainConfig: TChainConfig = {
chainInfo: {
name: "Viction",
chain: "Viction",
chainId: 88,
nativeCurrency: {
name: "Viction",
symbol: "VIC",
decimals: 18
},
infoURL: "https://viction.xyz",
explorers: [
{
name: "viction",
url: "https://tomoscan.io/",
standard: "EIP3091"
}
]
},
lockedDealV2: {
address: "0x7Ff9315f538dF7eC76Ec4815249Dd30519726460",
nameVersion: "[email protected]"
Expand Down
Loading

0 comments on commit ce4d0ba

Please sign in to comment.