jcwallet/src/config/chain_config.ts
2022-10-28 17:50:14 +08:00

175 lines
3.8 KiB
TypeScript

export const BASE_TOKEN_URI = "https://market.cebg.games/api/nft/info/";
export const DEFALUT_TOKENS = {
321: [
{
type: "eth",
address: "eth",
symbol: "KCS",
decimal: 18,
},
{
type: "erc20",
address: "0xcaA011E902103752435AC98657B046B282E36509",
symbol: "CEC",
decimal: 18,
},
{
type: "erc20",
address: "0xBE023C9D294A4668f0d510E2570CB81B4536cE77",
symbol: "CEG",
decimal: 18,
},
],
322: [
{
type: "eth",
address: "eth",
symbol: "tKCS",
decimal: 18,
},
{
type: "erc20",
address: "0xdb6D4bB22E2C12686Efff25a79EC78f9f078fe7D",
symbol: "CEC",
decimal: 18,
},
{
type: "erc20",
address: "0xC5Cd606b3e9B80b758e8274B198c76D929aA094A",
symbol: "CEG",
decimal: 18,
},
],
97: [
{
type: "eth",
address: "eth",
symbol: "BNB",
decimal: 18,
},
],
56: [
{
type: "eth",
address: "eth",
symbol: "BNB",
decimal: 18,
},
],
137: [
{
type: "eth",
address: "eth",
symbol: "MATIC",
decimal: 18,
},
],
80001: [
{
type: "eth",
address: "eth",
symbol: "MATIC",
decimal: 18,
},
],
};
export const DEFAULT_NFT_TYPES = {
321: {
hero: {
address: "0x0EB362BD40F2288fF25A6Ee1b487cB0cb4638e0D",
type: "erc721",
},
weapon: {
address: "0x29F67A372AC1c6AcF478A564992D421FE20F2cc8",
type: "erc721",
},
chip: {
address: "0x54B6ED7EDe9355b471985439421Aa1DC7Da6Dc20",
type: "erc1155",
},
shard: {
address: "0x54B6ED7EDe9355b471985439421Aa1DC7Da6Dc20",
type: "erc1155",
},
},
322: {
hero: {
address: "0x52917087cd4E48bDb5f336012E677f471f9E1C2D",
type: "erc721",
},
weapon: {
address: "0x500AD8A4D50d71Af5cA8eA3b12B914f7aE5466f7",
type: "erc721",
},
chip: {
address: "0x0640958BDb4D7956e1452FacEBD550C6Cf42aC94",
type: "erc1155",
},
shard: {
address: "0x54B6ED7EDe9355b471985439421Aa1DC7Da6Dc20",
type: "erc1155",
},
},
137: {
hero: {
address: "0xaE08adb5278B107D2501e7c61907e41FEf3887D7",
type: "erc721",
},
weapon: {
address: "0xee0044BF2ACEf7C3D7f6781d8f5DC4d2Dd1CE64c",
type: "erc721",
},
chip: {
address: "0xc058411B15E544291765F15B13c88582b7bceaD0",
type: "erc1155",
},
shard: {
address: "0x1d4c7908E6a6795aE4335D0F072B0A129AAFFdc1",
type: "erc1155",
},
},
80001: {
hero: {
address: "0xaE08adb5278B107D2501e7c61907e41FEf3887D7",
type: "erc721",
},
weapon: {
address: "0xee0044BF2ACEf7C3D7f6781d8f5DC4d2Dd1CE64c",
type: "erc721",
},
chip: {
address: "0xc058411B15E544291765F15B13c88582b7bceaD0",
type: "erc1155",
},
shard: {
address: "0x1d4c7908E6a6795aE4335D0F072B0A129AAFFdc1",
type: "erc1155",
},
},
};
export const JC_CONTRACTS = {
321: {
nftMall: "0xa44927698D0aC8EF29e91508839cd6e10f773EE0",
evolveFactory: "0x07Bad070e403a4Bad2Eec3BA3894c4524d3d2674",
minterFactory: "0x5ecEFA2707e3f09B9A169ae696B36Df8dB7410ED",
},
322: {
nftMall: "0xa44927698D0aC8EF29e91508839cd6e10f773EE0",
evolveFactory: "0x07Bad070e403a4Bad2Eec3BA3894c4524d3d2674",
minterFactory: "0x5ecEFA2707e3f09B9A169ae696B36Df8dB7410ED",
},
137: {
nftMall: "0xa44927698D0aC8EF29e91508839cd6e10f773EE0",
evolveFactory: "0x07Bad070e403a4Bad2Eec3BA3894c4524d3d2674",
minterFactory: "0x5ecEFA2707e3f09B9A169ae696B36Df8dB7410ED",
},
80001: {
nftMall: "0xa44927698D0aC8EF29e91508839cd6e10f773EE0",
evolveFactory: "0x07Bad070e403a4Bad2Eec3BA3894c4524d3d2674",
minterFactory: "0x5ecEFA2707e3f09B9A169ae696B36Df8dB7410ED",
},
};