@clonegod/ttd-core 2.0.60 → 2.0.62

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.
@@ -166,7 +166,7 @@ class ArbEventSubscriber {
166
166
  return __awaiter(this, void 0, void 0, function* () {
167
167
  const channel = (0, index_1.get_new_block_channel_name)(chain_id);
168
168
  const listener = (message, _channel) => {
169
- (0, index_1.log_info)(`subscribe_new_block => on event: channel=${channel}, message=${message}`);
169
+ (0, index_1.log_debug)(`subscribe_new_block => on event: channel=${channel}, message=${message}`);
170
170
  callback(message);
171
171
  };
172
172
  yield this.redis_cmd.subscribe(channel, listener);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.0.60",
3
+ "version": "2.0.62",
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
@@ -175,6 +175,11 @@ export interface TradeStrategyType {
175
175
  // evm EIP-1559 交易类型
176
176
  evm_max_gas_price_gwei: number // 0.01 Gwei 允许的gas price上限
177
177
  evm_max_priority_fee_per_gas_gwei: number // 0.002 Gwei 允许的priority fee上限,需小于 max_gas_price_gwei
178
+
179
+ // sui
180
+ gas_price: number // default
181
+ gas_price_multiplier: number // default 1.2
182
+ gas_limit: number // max gas limit
178
183
  }
179
184
 
180
185