@clonegod/ttd-sol-common 2.0.57 → 2.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,7 +115,7 @@ const sendBundleWithJito = async (mainTxBase64, tipTxBase64) => {
115
115
  exports.sendBundleWithJito = sendBundleWithJito;
116
116
  const sendBundleWithJitoMultiIps = async (mainTxHash, mainTxBase64, tipTxBase64) => {
117
117
  let ips = (process.env.JITO_SEND_BUNDLE_SERVER_IPS || '127.0.0.1').split(',');
118
- let urls = ips.map(ip => `http://${ip}:10001/solana/send_tx`);
118
+ let urls = ips.map(ip => `http://${ip}:10429/solana/send_tx`);
119
119
  const body = {
120
120
  trace_id: '',
121
121
  txid: mainTxHash,
@@ -13,7 +13,7 @@ export interface SolanaAccountUpdateEvent {
13
13
  dexId: string;
14
14
  poolAddress: string;
15
15
  poolName: string;
16
- isSubscribeVaultChange: boolean;
16
+ subscribeVaultChange: boolean;
17
17
  accountType: SolanaPoolAccountType;
18
18
  accountData?: Buffer | string;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-sol-common",
3
- "version": "2.0.57",
3
+ "version": "2.0.59",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "push": "npm run build && npm publish"
14
14
  },
15
15
  "dependencies": {
16
- "@clonegod/ttd-core": "2.1.15",
16
+ "@clonegod/ttd-core": "2.1.16",
17
17
  "@solana/web3.js": "1.91.6",
18
18
  "rpc-websockets": "7.10.0",
19
19
  "axios": "^1.2.3",
@@ -104,7 +104,7 @@ export const sendBundleWithJito = async (mainTxBase64: string, tipTxBase64: stri
104
104
 
105
105
  export const sendBundleWithJitoMultiIps = async (mainTxHash: string, mainTxBase64: string, tipTxBase64: string): Promise<string> => {
106
106
  let ips = (process.env.JITO_SEND_BUNDLE_SERVER_IPS || '127.0.0.1').split(',')
107
- let urls = ips.map(ip => `http://${ip}:10001/solana/send_tx`)
107
+ let urls = ips.map(ip => `http://${ip}:10429/solana/send_tx`)
108
108
 
109
109
  // Bundle 顺序: [mainTx, tipTx]
110
110
  // 与 sendBundleWithJito 保持一致,符合 Jito Sandwich Mitigation 规则
@@ -22,7 +22,7 @@ export interface SolanaAccountUpdateEvent {
22
22
  dexId: string; // DEX ID
23
23
  poolAddress: string; // 池子地址
24
24
  poolName: string; // 池子名称
25
- isSubscribeVaultChange: boolean; // 是否订阅 vaultA, vaultB 的变化
25
+ subscribeVaultChange: boolean; // 是否订阅 vaultA, vaultB 的变化
26
26
 
27
27
  // 账户类型
28
28
  accountType: SolanaPoolAccountType;