@galacticcouncil/sdk 9.5.1 → 9.5.2

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.
@@ -78,14 +78,14 @@ export declare class TradeScheduler {
78
78
  * @param priceImpact - price impact of swap execution (via single trade)
79
79
  * @returns optimal number of trades to execute the order
80
80
  */
81
- private getTwapTradeCount;
81
+ getTwapTradeCount(priceImpact: number): number;
82
82
  /**
83
83
  * Calculate approx. execution time for twap order.
84
84
  *
85
85
  * @param tradeCount - number of trades per order
86
86
  * @returns unix representation of execution time
87
87
  */
88
- private getTwapExecutionTime;
88
+ getTwapExecutionTime(tradeCount: number): number;
89
89
  /**
90
90
  * Convert unix execution period to block period
91
91
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/sdk",
3
- "version": "9.5.1",
3
+ "version": "9.5.2",
4
4
  "description": "Galactic off-chain routing & optimization of orders across pools for best price execution",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {