Skip to content

Commit 6156ac7

Browse files
committed
feat: change conet depin smart contract address
1 parent 5165e34 commit 6156ac7

File tree

1 file changed

+28
-31
lines changed

1 file changed

+28
-31
lines changed

src/localServer/workers/utilities/utilV2.ts

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// --------------------------------------------------------------------------------------------
32

43
const conet_rpc = 'https://rpc.conet.network'
@@ -15,6 +14,7 @@ const _ethRpc = ['https://rpc.ankr.com/eth', 'https://eth.llamarpc.com', 'https:
1514
const blast_mainnet1 = ['https://blast.din.dev/rpc', 'https://rpc.ankr.com/blast', 'https://blastl2-mainnet.public.blastapi.io', 'https://blast.blockpi.network/v1/rpc/public']
1615
const bsc_mainchain = 'https://bsc-dataseed.binance.org/'
1716
const tron_mainnet = 'https://api.trongrid.io/jsonrpc'
17+
1818
// --------------------------------------------------------------------------------------------
1919

2020
const ReferralsAddressV3 = '0x1b104BCBa6870D518bC57B5AF97904fBD1030681'.toLowerCase()
@@ -35,35 +35,7 @@ const CONET_Guardian_Nodes1 = '0x5e4aE81285b86f35e3370B3EF72df1363DD05286'
3535
const fx168OrderContractAddress = '0x9aE6D3Bd3029C8B2A73817b9aFa1C029237E3e30'
3636
const christmas2024ContractAddress = "0xb188e707f4544835aEe28E4206C65edfF23221C0";
3737
const airdropContractAddress = "0xa0822b9fe34f81dd926ff1c182cb17baf50004f7";
38-
const conetDepinContractAddress = "0xc4C9927516db9BBe42DC0b003A7AB0946AC649C1";
39-
40-
const CONETIAN_PRICE = 100
41-
const GUARDIAN_PRICE = 1250
42-
43-
//const CNTPB_contract = '0x6056473ADD8bC89a95325845F6a431CCD7A849bb'
44-
// const Claimable_ETHUSDTv3 = '0x79E2EdE2F479fA7E44C89Bbaa721EB1f0d529b7B'.toLowerCase()
45-
// const Claimable_BNBUSDTv3 = '0xd008D56aa9A963FAD8FB1FbA1997C28dB85933e6'.toLowerCase()
46-
// const Claimable_BlastUSDBv3 = '0x16cDB3C07Db1d58330FF0e930C3C58935CB6Cc97'.toLowerCase()
47-
//const Claimable_BlastETH = '0x47A10d4BBF904BCd550200CcBB6266fB88EB9804'.toLowerCase()
48-
// const Claimable_BNB = '0x8E7B1D5f6DF4B0d7576B7430ECB1bEEE0b612382'.toLowerCase()
49-
// const Claimable_ETH = '0x6Eb683B666310cC4E08f32896ad620E5F204c8f8'.toLowerCase()
50-
51-
// --------------------------------------------------------------------------------------------
52-
53-
const FragmentNameDeriveChildIndex = 65536;
54-
const blast_mainnet = () => blast_mainnet1[Math.round(Math.random() * (blast_mainnet1.length - 1))];
55-
const ethRpc = () => _ethRpc[Math.round(Math.random() * (_ethRpc.length - 1))];
56-
let allNodes;
57-
let authorization_key = ''
58-
59-
const initV2 = async (profile) => {
60-
const url = `${apiv4_endpoint}initV3`
61-
const result = await postToEndpoint(url, true, { walletAddress: profile.keyID })
62-
return result
63-
}
64-
65-
// ******************************************************************
66-
38+
const conetDepinContractAddress = "0x1b104BCBa6870D518bC57B5AF97904fBD1030681";
6739
const cCNTP_new_Addr = '0xa4b389994A591735332A67f3561D60ce96409347'.toLocaleLowerCase()
6840
const profile_ver_addr = '0xB56Dfa5154B0DF39639eF701202f6e04EAc8Dda4'.toLowerCase()
6941
const CONET_Guardian_NodeInfoV6 = '0x9e213e8B155eF24B466eFC09Bcde706ED23C537a'
@@ -90,6 +62,14 @@ const claimable_Arb_ETH = '0xF406385E1A0389Ae35684D27c3Ef2799E88E2c4A'
9062
const claimable_Arb_USDT = '0xF40A8EFc8Dd47929ba8Ee9d5B3f1534239E930Fe'
9163
const CONETianPlanAddr = "0x4F1F5c25429Ea458C9e4363F05110f668f20D58B";
9264

65+
//const CNTPB_contract = '0x6056473ADD8bC89a95325845F6a431CCD7A849bb'
66+
// const Claimable_ETHUSDTv3 = '0x79E2EdE2F479fA7E44C89Bbaa721EB1f0d529b7B'.toLowerCase()
67+
// const Claimable_BNBUSDTv3 = '0xd008D56aa9A963FAD8FB1FbA1997C28dB85933e6'.toLowerCase()
68+
// const Claimable_BlastUSDBv3 = '0x16cDB3C07Db1d58330FF0e930C3C58935CB6Cc97'.toLowerCase()
69+
//const Claimable_BlastETH = '0x47A10d4BBF904BCd550200CcBB6266fB88EB9804'.toLowerCase()
70+
// const Claimable_BNB = '0x8E7B1D5f6DF4B0d7576B7430ECB1bEEE0b612382'.toLowerCase()
71+
// const Claimable_ETH = '0x6Eb683B666310cC4E08f32896ad620E5F204c8f8'.toLowerCase()
72+
9373
const ConetianNftId = 0
9474
const ConetianReferrerNftId = 10
9575
const maxConetianNft = 30000
@@ -100,7 +80,24 @@ const GuardianReferrerNftId = 2
10080

10181
const GuardianPriceUSDT = 100
10282

103-
// ******************************************************************
83+
const CONETIAN_PRICE = 100;
84+
const GUARDIAN_PRICE = 1250;
85+
86+
// --------------------------------------------------------------------------------------------
87+
88+
const FragmentNameDeriveChildIndex = 65536;
89+
const blast_mainnet = () => blast_mainnet1[Math.round(Math.random() * (blast_mainnet1.length - 1))];
90+
const ethRpc = () => _ethRpc[Math.round(Math.random() * (_ethRpc.length - 1))];
91+
let allNodes;
92+
let authorization_key = ''
93+
94+
const initV2 = async (profile) => {
95+
const url = `${apiv4_endpoint}initV3`
96+
const result = await postToEndpoint(url, true, { walletAddress: profile.keyID })
97+
return result
98+
}
99+
100+
// --------------------------------------------------------------------------------------------
104101

105102
const nfts = {
106103
conetiannft: {

0 commit comments

Comments
 (0)