Skip to content

Commit c8b39f5

Browse files
Multi-program deployment ready: 11/17 verified, 0.58 SOL income
1 parent 9a4b33f commit c8b39f5

3 files changed

Lines changed: 226 additions & 1 deletion

File tree

DEPLOYMENT_MANIFEST.json

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
{
2+
"deployment_id": "GENE_MULTI_PROGRAM_V3",
3+
"timestamp": "2025-01-13T11:30:00Z",
4+
"deployer": "FsQPFuje4WMdvbyoVef6MRMuzNZt9E8HM9YBN8T3Zbdq",
5+
"new_master_controller": "GLzZk1sczzW6fM4uPFeQCtTZQaf8H5VaBt99tUMbJAAW",
6+
7+
"solana_programs": {
8+
"owned": {
9+
"gene_mint": {
10+
"address": "GENEtH5amGSi8kHAtQoezp1XEXwZJ8vcuePYnXdKrMYz",
11+
"type": "token_mint",
12+
"authority": "GLzZk1sczzW6fM4uPFeQCtTZQaf8H5VaBt99tUMbJAAW",
13+
"status": "active"
14+
},
15+
"dex_program": {
16+
"address": "DjVE6JNiYqPL2QXyCUUh8rNjHrbz9hXHNYt99MQ59qw1",
17+
"type": "dex",
18+
"authority": "GLzZk1sczzW6fM4uPFeQCtTZQaf8H5VaBt99tUMbJAAW",
19+
"status": "active"
20+
},
21+
"dao_controller": {
22+
"address": "CvQZZ23qYDWF2RUpxYJ8y9K4skmuvYEEjH7fK58jtipQ",
23+
"type": "governance",
24+
"authority": "GLzZk1sczzW6fM4uPFeQCtTZQaf8H5VaBt99tUMbJAAW",
25+
"balance": "0.332269 SOL",
26+
"status": "active"
27+
},
28+
"primary_program": {
29+
"address": "jaJrDgf4U8DAZcUD3t5AwL7Cfe2QnkpXZXGegdUHc4ZE",
30+
"type": "core",
31+
"authority": "GLzZk1sczzW6fM4uPFeQCtTZQaf8H5VaBt99tUMbJAAW",
32+
"status": "ready"
33+
}
34+
},
35+
"backfill": {
36+
"omega_primary": {
37+
"address": "EoRJaGA4iVSQWDyv5Q3ThBXx1KGqYyos3gaXUFEiqUSN",
38+
"type": "backfill",
39+
"status": "active"
40+
},
41+
"omega_alt": {
42+
"address": "2YTrK8f6NwwUg7Tu6sYcCmRKYWpU8yYRYHPz87LTdcgx",
43+
"type": "backfill",
44+
"status": "active"
45+
},
46+
"earnings_vault": {
47+
"address": "F2EkpVd3pKLUi9u9BU794t3mWscJXzUAVw1WSjogTQuR",
48+
"type": "vault",
49+
"status": "active"
50+
}
51+
},
52+
"integrations": {
53+
"jupiter": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
54+
"meteora": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
55+
"raydium": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"
56+
}
57+
},
58+
59+
"bot_army": {
60+
"bot1_stake_master": {
61+
"bot": "HKBJoeUWH6pUQuLd9CZWrJBzGSE9roEW4bshnxd9AHsR",
62+
"contract": "EAy5Nfn6fhs4ixC4sMcKQYQaoedLokpWqbfDtWURCnk6",
63+
"role": "liquid_staking_yield"
64+
},
65+
"bot2_mint_operator": {
66+
"bot": "NqGHDaaLWmND7uShuaZkVbGNQFy6pS96qHyfR3pGR2d",
67+
"contract": "HUwjG8LFabw28vJsQNoLXjxuzgdLhjGQw1DHZggzt76",
68+
"role": "token_minting"
69+
},
70+
"bot3_contract_deployer": {
71+
"bot": "DbhKvqweZECTyYQ7PRJoHmKt8f262fsBCGHxSaD5BPqA",
72+
"contract": "FZxmYkA6axyK3Njh3YNWXtybw9GgniVrXowS1pAAyrD1",
73+
"role": "smart_contracts"
74+
},
75+
"bot4_mev_hunter": {
76+
"bot": "7uSCVM1MJPKctrSRzuFN7qfVoJX78q6V5q5JuzRPaK41",
77+
"contract": "5ynYfAM7KZZXwT4dd2cZQnYhFNy1LUysE8m7Lxzjzh2p",
78+
"role": "arbitrage_mev"
79+
},
80+
"bot5_loot_extractor": {
81+
"bot": "3oFCkoneQShDsJMZYscXew4jGwgLjpxfykHuGo85QyLw",
82+
"contract": "DHBDPUkLLYCRAiyrgFBgvWfevquFkLR1TjGXKD4M4JPD",
83+
"role": "flash_loans"
84+
}
85+
},
86+
87+
"evm_contracts": {
88+
"multi_chain": {
89+
"primary": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6",
90+
"networks": ["ethereum", "polygon", "bsc"]
91+
},
92+
"skale": {
93+
"opt_token": "0xc6D31F2F6CcBcd101604a92C6c08e0aee2937B3a",
94+
"dmt_token": "0x742d35Cc6634C0532925a3b8D4C9db96C4b4d8b6",
95+
"deployer": "0xE38FB59ba3AEAbE2AD0f6FB7Fb84453F6d145D23",
96+
"network": "honorable-steel-rasalhague"
97+
},
98+
"tokens": {
99+
"usdt_eth": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
100+
"usdc_polygon": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
101+
"usdt_bsc": "0x55d398326f99059fF775485246999027B3197955"
102+
}
103+
},
104+
105+
"wallets": {
106+
"deployer": "zhBqbd9tSQFPevg4188JxcgpccCj3t1Jxb29zsBc2R4",
107+
"signer": "FsQPFuje4WMdvbyoVef6MRMuzNZt9E8HM9YBN8T3Zbdq",
108+
"new_controller": "GLzZk1sczzW6fM4uPFeQCtTZQaf8H5VaBt99tUMbJAAW",
109+
"treasury": "4eJZVbbsiLAG6EkWvgEYEWKEpdhJPFBYMeJ6DBX98w6a",
110+
"relayer": "8cRrU1NzNpjL3k2BwjW3VixAcX6VFc29KHr4KZg8cs2Y"
111+
},
112+
113+
"income_accounts": {
114+
"rebate1": {
115+
"address": "FVhQ3QHvXudWSdGix2sdcG47YmrmUxRhf3KCBmiKfekf",
116+
"balance": "0.243237 SOL"
117+
},
118+
"dao_controller": {
119+
"address": "CvQZZ23qYDWF2RUpxYJ8y9K4skmuvYEEjH7fK58jtipQ",
120+
"balance": "0.332269 SOL"
121+
},
122+
"multisig": {
123+
"address": "7ZyDFzet6sKgZLN4D89JLfo7chu2n7nYdkFt5RCFk8Sf",
124+
"balance": "0.005081 SOL"
125+
}
126+
},
127+
128+
"deployment_steps": [
129+
"1. Verify all program addresses on-chain",
130+
"2. Transfer authority to new master controller",
131+
"3. Deploy bot army contracts",
132+
"4. Initialize EVM cross-chain bridges",
133+
"5. Consolidate income to treasury",
134+
"6. Enable automated monitoring"
135+
],
136+
137+
"status": "READY_FOR_DEPLOYMENT"
138+
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"query:account": "node scripts/helius-account-info.js",
1919
"reannounce:owner": "node scripts/reannounce-with-new-controller.js",
2020
"check:rebates": "node scripts/check-rebates-income.js",
21-
"check:core": "node scripts/check-all-core.js"
21+
"check:core": "node scripts/check-all-core.js",
22+
"deploy:multi": "node scripts/deploy-multi-program.js"
2223
},
2324
"devDependencies": {
2425
"@coral-xyz/anchor": "^0.30.1",

scripts/deploy-multi-program.js

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
#!/usr/bin/env node
2+
const fs = require('fs');
3+
const { Connection, PublicKey } = require('@solana/web3.js');
4+
5+
const manifest = JSON.parse(fs.readFileSync('DEPLOYMENT_MANIFEST.json', 'utf8'));
6+
const connection = new Connection('https://api.mainnet-beta.solana.com', 'confirmed');
7+
8+
async function deployMultiProgram() {
9+
console.log('🚀 Multi-Program Deployment\n');
10+
console.log('Deployment ID:', manifest.deployment_id);
11+
console.log('New Master Controller:', manifest.new_master_controller);
12+
console.log('━'.repeat(60));
13+
14+
const results = { verified: [], failed: [], total: 0 };
15+
16+
// Verify Solana Programs
17+
console.log('\n📦 Verifying Solana Programs...');
18+
for (const [name, prog] of Object.entries(manifest.solana_programs.owned)) {
19+
results.total++;
20+
try {
21+
const info = await connection.getAccountInfo(new PublicKey(prog.address));
22+
if (info) {
23+
console.log(`✅ ${name}: ${prog.address}`);
24+
results.verified.push({ type: 'solana', name, address: prog.address });
25+
} else {
26+
console.log(`❌ ${name}: Not found`);
27+
results.failed.push({ type: 'solana', name, address: prog.address });
28+
}
29+
} catch (e) {
30+
console.log(`❌ ${name}: Error`);
31+
results.failed.push({ type: 'solana', name, error: e.message });
32+
}
33+
}
34+
35+
// Verify Bot Army
36+
console.log('\n🤖 Verifying Bot Army...');
37+
for (const [name, bot] of Object.entries(manifest.bot_army)) {
38+
results.total += 2;
39+
try {
40+
const botBalance = await connection.getBalance(new PublicKey(bot.bot));
41+
const contractInfo = await connection.getAccountInfo(new PublicKey(bot.contract));
42+
console.log(`✅ ${name}`);
43+
console.log(` Bot: ${bot.bot} (${(botBalance / 1e9).toFixed(4)} SOL)`);
44+
console.log(` Contract: ${bot.contract}`);
45+
results.verified.push({ type: 'bot', name, bot: bot.bot, contract: bot.contract });
46+
} catch (e) {
47+
console.log(`❌ ${name}: Error`);
48+
results.failed.push({ type: 'bot', name, error: e.message });
49+
}
50+
}
51+
52+
// Check Income Accounts
53+
console.log('\n💰 Checking Income Accounts...');
54+
let totalIncome = 0;
55+
for (const [name, acc] of Object.entries(manifest.income_accounts)) {
56+
results.total++;
57+
try {
58+
const balance = await connection.getBalance(new PublicKey(acc.address));
59+
const sol = balance / 1e9;
60+
totalIncome += sol;
61+
console.log(`✅ ${name}: ${sol.toFixed(6)} SOL`);
62+
results.verified.push({ type: 'income', name, balance: sol });
63+
} catch (e) {
64+
console.log(`❌ ${name}: Error`);
65+
results.failed.push({ type: 'income', name, error: e.message });
66+
}
67+
}
68+
69+
console.log('\n' + '━'.repeat(60));
70+
console.log('\n📊 Deployment Summary:');
71+
console.log(` ✅ Verified: ${results.verified.length}/${results.total}`);
72+
console.log(` ❌ Failed: ${results.failed.length}/${results.total}`);
73+
console.log(` 💰 Total Income: ${totalIncome.toFixed(6)} SOL`);
74+
console.log(` 📈 Success Rate: ${((results.verified.length / results.total) * 100).toFixed(1)}%`);
75+
76+
console.log('\n🎯 Next Steps:');
77+
manifest.deployment_steps.forEach((step, i) => console.log(` ${step}`));
78+
79+
if (results.failed.length === 0) {
80+
console.log('\n🎉 ALL SYSTEMS READY FOR DEPLOYMENT!');
81+
}
82+
83+
return results;
84+
}
85+
86+
deployMultiProgram().catch(console.error);

0 commit comments

Comments
 (0)