@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.
- package/dist/cache/arb_event_sub.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +5 -0
|
@@ -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.
|
|
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
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
|
|