@clonegod/ttd-core 2.0.43 → 2.0.45

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.
package/dist/index.d.ts CHANGED
@@ -41,7 +41,8 @@ export declare enum DEX_ID {
41
41
  PANCAKE_AMM = "PANCAKE-AMM",
42
42
  PANCAKE_CLMM = "PANCAKE-CLMM",
43
43
  UNISWAP_AMM = "UNISWAP-AMM",
44
- UNISWAP_CLMM = "UNISWAP-CLMM"
44
+ UNISWAP_CLMM = "UNISWAP-CLMM",
45
+ UNISWAP_V4 = "UNISWAP-V4"
45
46
  }
46
47
  export declare enum GROUP_ID {
47
48
  TRON_DEV1 = "TRON-DEV1",
package/dist/index.js CHANGED
@@ -126,6 +126,7 @@ var DEX_ID;
126
126
  DEX_ID["PANCAKE_CLMM"] = "PANCAKE-CLMM";
127
127
  DEX_ID["UNISWAP_AMM"] = "UNISWAP-AMM";
128
128
  DEX_ID["UNISWAP_CLMM"] = "UNISWAP-CLMM";
129
+ DEX_ID["UNISWAP_V4"] = "UNISWAP-V4";
129
130
  })(DEX_ID || (exports.DEX_ID = DEX_ID = {}));
130
131
  var GROUP_ID;
131
132
  (function (GROUP_ID) {
@@ -109,7 +109,7 @@ function get_cu_limit(dex_id) {
109
109
  cu_limit = 80000;
110
110
  break;
111
111
  case index_1.DEX_ID.PUMPFUN_AMM:
112
- cu_limit = 80000;
112
+ cu_limit = 200000;
113
113
  break;
114
114
  }
115
115
  return cu_limit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.0.43",
3
+ "version": "2.0.45",
4
4
  "description": "Common types and utilities for trading systems - use `npm run push` to publish",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",
package/types/index.d.ts CHANGED
@@ -171,6 +171,10 @@ export interface TradeStrategyType {
171
171
  evm_gas_limit: number // 300000
172
172
  evm_gas_price_gwei: number // 1.1 Gwei
173
173
  evm_tip_amount_gwei: number // 48000 Gwei
174
+
175
+ // evm EIP-1559 交易类型
176
+ evm_max_gas_price_gwei: number // 0.01 Gwei 允许的gas price上限
177
+ evm_max_priority_fee_per_gas_gwei: number // 0.002 Gwei 允许的priority fee上限,需小于 max_gas_price_gwei
174
178
  }
175
179
 
176
180