@clonegod/ttd-core 2.0.44 → 2.0.46

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
@@ -40,6 +40,8 @@ export declare enum DEX_ID {
40
40
  PUMPFUN_AMM = "PUMPFUN-AMM",
41
41
  PANCAKE_AMM = "PANCAKE-AMM",
42
42
  PANCAKE_CLMM = "PANCAKE-CLMM",
43
+ AERODROME_AMM = "AERODROME-AMM",
44
+ AERODROME_CLMM = "AERODROME-CLMM",
43
45
  UNISWAP_AMM = "UNISWAP-AMM",
44
46
  UNISWAP_CLMM = "UNISWAP-CLMM",
45
47
  UNISWAP_V4 = "UNISWAP-V4"
package/dist/index.js CHANGED
@@ -124,6 +124,8 @@ var DEX_ID;
124
124
  DEX_ID["PUMPFUN_AMM"] = "PUMPFUN-AMM";
125
125
  DEX_ID["PANCAKE_AMM"] = "PANCAKE-AMM";
126
126
  DEX_ID["PANCAKE_CLMM"] = "PANCAKE-CLMM";
127
+ DEX_ID["AERODROME_AMM"] = "AERODROME-AMM";
128
+ DEX_ID["AERODROME_CLMM"] = "AERODROME-CLMM";
127
129
  DEX_ID["UNISWAP_AMM"] = "UNISWAP-AMM";
128
130
  DEX_ID["UNISWAP_CLMM"] = "UNISWAP-CLMM";
129
131
  DEX_ID["UNISWAP_V4"] = "UNISWAP-V4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.0.44",
3
+ "version": "2.0.46",
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