@galacticcouncil/sdk 10.7.0 → 10.7.1
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/README.md +3 -3
- package/build/index.cjs +2 -2
- package/build/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@galacticcouncil/sdk)
|
|
4
4
|
|
|
5
|
-
Hydration
|
|
5
|
+
Hydration SDK built on top of [@polkadot{.js} (Pjs)](https://polkadot.js.org/).
|
|
6
6
|
|
|
7
7
|
Table of contents:
|
|
8
8
|
|
|
@@ -138,7 +138,7 @@ Gracefully cleans up SDK resources. Always call before exiting to avoid memory l
|
|
|
138
138
|
| :----- | :----------- |
|
|
139
139
|
| `getDcaOrder(assetIn: string, assetOut: string, amountInTotal: string, duration: number): TradeDcaOrder` | Calculate DCA order. |
|
|
140
140
|
| `getTwapBuyOrder(assetIn: string, assetOut: string, amountInTotal: string): TradeOrder` | Calculate TWAP buy order. |
|
|
141
|
-
| `getTwapSellOrder(assetIn: string, assetOut: string, amountInTotal: string): TradeOrder` | Calculate TWAP
|
|
141
|
+
| `getTwapSellOrder(assetIn: string, assetOut: string, amountInTotal: string): TradeOrder` | Calculate TWAP sell order. |
|
|
142
142
|
|
|
143
143
|
➡️ For type definitions visit [types.ts](src/sor/types.ts)<br />
|
|
144
144
|
|
|
@@ -152,7 +152,7 @@ Gracefully cleans up SDK resources. Always call before exiting to avoid memory l
|
|
|
152
152
|
|
|
153
153
|
## Examples
|
|
154
154
|
|
|
155
|
-
All examples assume
|
|
155
|
+
All examples assume SDK has been initialized, [see](#usage)
|
|
156
156
|
|
|
157
157
|
### TradeRouter
|
|
158
158
|
|