@clonegod/ttd-core 2.0.44 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +4 -0
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.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