aftermath-ts-sdk 1.2.63 → 1.2.64-docs.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.
Files changed (117) hide show
  1. package/README.md +61 -27
  2. package/dist/general/dynamicGas/dynamicGas.d.ts +34 -0
  3. package/dist/general/dynamicGas/dynamicGas.d.ts.map +1 -1
  4. package/dist/general/dynamicGas/dynamicGas.js +34 -0
  5. package/dist/general/dynamicGas/dynamicGasTypes.d.ts +25 -0
  6. package/dist/general/dynamicGas/dynamicGasTypes.d.ts.map +1 -1
  7. package/dist/general/prices/prices.d.ts +73 -0
  8. package/dist/general/prices/prices.d.ts.map +1 -1
  9. package/dist/general/prices/prices.js +73 -0
  10. package/dist/general/providers/aftermath.d.ts +106 -25
  11. package/dist/general/providers/aftermath.d.ts.map +1 -1
  12. package/dist/general/providers/aftermath.js +108 -27
  13. package/dist/general/providers/aftermathApi.d.ts +127 -8
  14. package/dist/general/providers/aftermathApi.d.ts.map +1 -1
  15. package/dist/general/providers/aftermathApi.js +132 -12
  16. package/dist/general/types/castingTypes.d.ts +0 -7
  17. package/dist/general/types/castingTypes.d.ts.map +1 -1
  18. package/dist/general/types/castingTypes.js +6 -0
  19. package/dist/general/types/generalTypes.d.ts +228 -7
  20. package/dist/general/types/generalTypes.d.ts.map +1 -1
  21. package/dist/general/types/suiTypes.d.ts +0 -16
  22. package/dist/general/types/suiTypes.d.ts.map +1 -1
  23. package/dist/general/types/suiTypes.js +3 -25
  24. package/dist/general/utils/casting.d.ts +159 -3
  25. package/dist/general/utils/casting.d.ts.map +1 -1
  26. package/dist/general/utils/casting.js +162 -16
  27. package/dist/general/utils/fixedUtils.d.ts +89 -2
  28. package/dist/general/utils/fixedUtils.d.ts.map +1 -1
  29. package/dist/general/utils/fixedUtils.js +81 -4
  30. package/dist/general/utils/helpers.d.ts +320 -9
  31. package/dist/general/utils/helpers.d.ts.map +1 -1
  32. package/dist/general/utils/helpers.js +350 -89
  33. package/dist/general/utils/iFixedUtils.d.ts +64 -0
  34. package/dist/general/utils/iFixedUtils.d.ts.map +1 -1
  35. package/dist/general/utils/iFixedUtils.js +64 -0
  36. package/dist/general/wallet/wallet.d.ts +75 -0
  37. package/dist/general/wallet/wallet.d.ts.map +1 -1
  38. package/dist/general/wallet/wallet.js +75 -5
  39. package/dist/packages/auth/auth.d.ts +113 -0
  40. package/dist/packages/auth/auth.d.ts.map +1 -1
  41. package/dist/packages/auth/auth.js +129 -15
  42. package/dist/packages/auth/authTypes.d.ts +66 -0
  43. package/dist/packages/auth/authTypes.d.ts.map +1 -1
  44. package/dist/packages/coin/api/coinApi.d.ts.map +1 -1
  45. package/dist/packages/coin/api/coinApi.js +28 -20
  46. package/dist/packages/coin/coin.d.ts +250 -0
  47. package/dist/packages/coin/coin.d.ts.map +1 -1
  48. package/dist/packages/coin/coin.js +238 -14
  49. package/dist/packages/coin/coinTypes.d.ts +93 -0
  50. package/dist/packages/coin/coinTypes.d.ts.map +1 -1
  51. package/dist/packages/dca/dca.d.ts +124 -35
  52. package/dist/packages/dca/dca.d.ts.map +1 -1
  53. package/dist/packages/dca/dca.js +127 -37
  54. package/dist/packages/dca/dcaTypes.d.ts +213 -28
  55. package/dist/packages/dca/dcaTypes.d.ts.map +1 -1
  56. package/dist/packages/farms/farms.d.ts +184 -1
  57. package/dist/packages/farms/farms.d.ts.map +1 -1
  58. package/dist/packages/farms/farms.js +185 -11
  59. package/dist/packages/farms/farmsStakedPosition.d.ts +140 -6
  60. package/dist/packages/farms/farmsStakedPosition.d.ts.map +1 -1
  61. package/dist/packages/farms/farmsStakedPosition.js +189 -144
  62. package/dist/packages/farms/farmsStakingPool.d.ts +161 -1
  63. package/dist/packages/farms/farmsStakingPool.d.ts.map +1 -1
  64. package/dist/packages/farms/farmsStakingPool.js +176 -70
  65. package/dist/packages/farms/farmsTypes.d.ts +283 -2
  66. package/dist/packages/farms/farmsTypes.d.ts.map +1 -1
  67. package/dist/packages/farms/farmsTypes.js +18 -0
  68. package/dist/packages/limitOrders/limitOrders.d.ts +108 -21
  69. package/dist/packages/limitOrders/limitOrders.d.ts.map +1 -1
  70. package/dist/packages/limitOrders/limitOrders.js +110 -22
  71. package/dist/packages/limitOrders/limitOrdersTypes.d.ts +142 -0
  72. package/dist/packages/limitOrders/limitOrdersTypes.d.ts.map +1 -1
  73. package/dist/packages/multisig/multisig.d.ts +33 -4
  74. package/dist/packages/multisig/multisig.d.ts.map +1 -1
  75. package/dist/packages/multisig/multisig.js +33 -4
  76. package/dist/packages/multisig/multisigTypes.d.ts +17 -0
  77. package/dist/packages/multisig/multisigTypes.d.ts.map +1 -1
  78. package/dist/packages/perpetuals/api/perpetualsApi.d.ts.map +1 -1
  79. package/dist/packages/pools/pool.d.ts +327 -85
  80. package/dist/packages/pools/pool.d.ts.map +1 -1
  81. package/dist/packages/pools/pool.js +333 -91
  82. package/dist/packages/pools/pools.d.ts +299 -37
  83. package/dist/packages/pools/pools.d.ts.map +1 -1
  84. package/dist/packages/pools/pools.js +306 -52
  85. package/dist/packages/pools/poolsTypes.d.ts +267 -2
  86. package/dist/packages/pools/poolsTypes.d.ts.map +1 -1
  87. package/dist/packages/referralVault/referralVault.d.ts +37 -0
  88. package/dist/packages/referralVault/referralVault.d.ts.map +1 -1
  89. package/dist/packages/referralVault/referralVault.js +37 -0
  90. package/dist/packages/router/router.d.ts +213 -17
  91. package/dist/packages/router/router.d.ts.map +1 -1
  92. package/dist/packages/router/router.js +214 -18
  93. package/dist/packages/router/routerTypes.d.ts +198 -14
  94. package/dist/packages/router/routerTypes.d.ts.map +1 -1
  95. package/dist/packages/staking/staking.d.ts +301 -43
  96. package/dist/packages/staking/staking.d.ts.map +1 -1
  97. package/dist/packages/staking/staking.js +308 -51
  98. package/dist/packages/staking/stakingTypes.d.ts +426 -6
  99. package/dist/packages/staking/stakingTypes.d.ts.map +1 -1
  100. package/dist/packages/staking/stakingTypes.js +19 -0
  101. package/dist/packages/sui/sui.d.ts +39 -0
  102. package/dist/packages/sui/sui.d.ts.map +1 -1
  103. package/dist/packages/sui/sui.js +39 -0
  104. package/dist/packages/userData/userData.d.ts +66 -12
  105. package/dist/packages/userData/userData.d.ts.map +1 -1
  106. package/dist/packages/userData/userData.js +66 -12
  107. package/dist/packages/userData/userDataTypes.d.ts +19 -0
  108. package/dist/packages/userData/userDataTypes.d.ts.map +1 -1
  109. package/dist/types.d.ts.map +1 -1
  110. package/dist/types.js +0 -1
  111. package/package.json +1 -1
  112. package/dist/general/historicalData/historicalData.d.ts +0 -15
  113. package/dist/general/historicalData/historicalData.d.ts.map +0 -1
  114. package/dist/general/historicalData/historicalData.js +0 -45
  115. package/dist/general/historicalData/historicalDataTypes.d.ts +0 -10
  116. package/dist/general/historicalData/historicalDataTypes.d.ts.map +0 -1
  117. package/dist/general/historicalData/historicalDataTypes.js +0 -2
@@ -2,132 +2,316 @@ import { AnyObjectType, Balance, Percentage, Event, Slippage, ObjectId, SuiAddre
2
2
  import { CoinType, ServiceCoinData } from "../coin/coinTypes";
3
3
  import { TransactionObjectArgument } from "@mysten/sui/transactions";
4
4
  import { TransactionObjectArgument as TransactionObjectArgumentV0 } from "@mysten/sui.js/transactions";
5
+ /**
6
+ * A unique identifier, typically used to track items or route segments.
7
+ */
5
8
  export type UniqueId = string;
6
9
  /**
7
- * Fee info for third party packages wanting to fee route transactions
8
- * @deprecated please use `ExternalFee` instead
10
+ * **Deprecated**. Please use `ExternalFee` instead.
11
+ *
12
+ * Fee info for third party packages wanting to fee route transactions.
9
13
  */
10
14
  export type RouterExternalFee = ExternalFee;
15
+ /**
16
+ * All possible DEX protocols that the `Router` can use to swap coins.
17
+ */
11
18
  export type RouterProtocolName = "Aftermath" | "BlueMove" | "Cetus" | "DeepBook" | "DeepBookV3" | "DoubleUpPump" | "FlowX" | "FlowXClmm" | "HopFun" | "Kriya" | "KriyaClmm" | "Magma" | "Metastable" | "MovePump" | "Obric" | "SuiSwap" | "Turbos" | "SpringSui" | "Steamm" | "SuiAi" | "Bluefin" | "TurbosFun";
19
+ /**
20
+ * Represents a complete trade route object. Includes all relevant information
21
+ * for executing a trade from `coinIn` to `coinOut` through one or more protocols.
22
+ */
12
23
  export type RouterCompleteTradeRoute = RouterTradeInfo & {
24
+ /**
25
+ * An array of sub-routes, each representing a path or series of swaps.
26
+ */
13
27
  routes: RouterTradeRoute[];
28
+ /**
29
+ * The total trade fee percentage across all routes.
30
+ * @remarks 0.01 = 1%
31
+ */
14
32
  netTradeFeePercentage: Percentage;
33
+ /**
34
+ * Optional referrer address, if using a referral mechanism.
35
+ */
15
36
  referrer?: SuiAddress;
37
+ /**
38
+ * Optional external fee information, if a third party is collecting fees.
39
+ */
16
40
  externalFee?: ExternalFee;
41
+ /**
42
+ * Slippage tolerance for the trade, expressed as a decimal (0.01 = 1%).
43
+ */
17
44
  slippage?: Slippage;
18
45
  };
19
46
  /**
20
- * @deprecated please use `RouterCompleteTradeRoute` instead
47
+ * **Deprecated**. Please use `RouterCompleteTradeRoute` instead.
48
+ *
49
+ * Represents a complete trade route object, including fee info.
21
50
  */
22
51
  export type RouterCompleteTradeRouteWithFee = RouterCompleteTradeRoute;
52
+ /**
53
+ * Represents a sub-route of a complete trade, describing the portion
54
+ * and the paths used. Each sub-route may involve one or more specific pools.
55
+ */
23
56
  export type RouterTradeRoute = RouterTradeInfo & {
57
+ /**
58
+ * An array of paths that this route will take to execute the trade.
59
+ */
24
60
  paths: RouterTradePath[];
61
+ /**
62
+ * The portion of the total trade allocated to this route, expressed as an IFixed value.
63
+ */
25
64
  portion: IFixed;
26
65
  };
66
+ /**
67
+ * Represents an individual path within a route. Typically corresponds to
68
+ * a specific DEX pool and the swap details in that pool.
69
+ */
27
70
  export type RouterTradePath = RouterTradeInfo & {
71
+ /**
72
+ * The name of the DEX protocol used for this path (e.g., "Cetus").
73
+ */
28
74
  protocolName: RouterProtocolName;
75
+ /**
76
+ * The pool ID (object on-chain) where the swap is performed.
77
+ */
29
78
  poolId: ObjectId;
79
+ /**
80
+ * Additional pool metadata, which can vary by DEX protocol.
81
+ */
30
82
  poolMetadata: any;
31
83
  };
84
+ /**
85
+ * Base interface shared by routes and paths, describing the coin in/out details and spot price.
86
+ */
32
87
  export interface RouterTradeInfo {
88
+ /**
89
+ * Input coin details, including type, amount, and any trade fee.
90
+ */
33
91
  coinIn: RouterTradeCoin;
92
+ /**
93
+ * Output coin details, including type, amount, and any trade fee.
94
+ */
34
95
  coinOut: RouterTradeCoin;
96
+ /**
97
+ * The spot price used in this route/path for calculating output from input.
98
+ */
35
99
  spotPrice: number;
36
100
  }
101
+ /**
102
+ * Represents a coin and the associated amount and trade fee for a route or path.
103
+ */
37
104
  export interface RouterTradeCoin {
105
+ /**
106
+ * The coin type used in a route or path.
107
+ */
38
108
  type: CoinType;
109
+ /**
110
+ * The amount of the coin, typically expressed as the smallest unit (bigint).
111
+ */
39
112
  amount: Balance;
113
+ /**
114
+ * The trade fee paid in this coin, expressed as a bigint.
115
+ */
40
116
  tradeFee: Balance;
41
117
  }
118
+ /**
119
+ * Event that occurs when a user executes a trade route via the router.
120
+ */
42
121
  export interface RouterTradeEvent extends Event {
122
+ /**
123
+ * The Sui address of the trader.
124
+ */
43
125
  trader: SuiAddress;
126
+ /**
127
+ * The coin type input by the trader.
128
+ */
44
129
  coinInType: AnyObjectType;
130
+ /**
131
+ * The amount of coin input by the trader.
132
+ */
45
133
  coinInAmount: Balance;
134
+ /**
135
+ * The coin type output to the trader.
136
+ */
46
137
  coinOutType: AnyObjectType;
138
+ /**
139
+ * The amount of coin output to the trader.
140
+ */
47
141
  coinOutAmount: Balance;
48
142
  }
143
+ /**
144
+ * Basic body for partial router route construction, specifying coin types
145
+ * and optional third-party fee or referral info.
146
+ */
49
147
  export type ApiRouterPartialCompleteTradeRouteBody = {
50
148
  /**
51
- * Coin type of coin being given away
149
+ * The coin type that the user wants to swap out.
52
150
  */
53
151
  coinInType: CoinType;
54
152
  /**
55
- * Coin type of coin being received
153
+ * The coin type that the user wants to receive.
56
154
  */
57
155
  coinOutType: CoinType;
58
156
  /**
59
- * Optional address for referrer of the route creator
157
+ * An optional referrer address for the route creator.
60
158
  */
61
159
  referrer?: SuiAddress;
62
160
  /**
63
- * Fee info for third party packages wanting to fee route transactions
161
+ * Optional third-party fee details.
64
162
  */
65
163
  externalFee?: ExternalFee;
66
164
  } & ({
165
+ /**
166
+ * Optionally exclude certain protocols from routing.
167
+ */
67
168
  protocolBlacklist?: RouterProtocolName[];
68
169
  } | {
170
+ /**
171
+ * Optionally include only certain protocols in routing.
172
+ */
69
173
  protocolWhitelist?: RouterProtocolName[];
70
174
  });
71
175
  /**
72
- * Details for router to construct trade route
176
+ * Full body for router route construction. Either `coinInAmount` or `coinOutAmount`
177
+ * must be specified, not both. If `coinOutAmount` is given, `slippage` is required.
73
178
  */
74
179
  export type ApiRouterCompleteTradeRouteBody = ApiRouterPartialCompleteTradeRouteBody & ({
75
180
  /**
76
- * Amount of coin being given away
181
+ * The amount of coin that the user wants to swap out.
77
182
  */
78
183
  coinInAmount: Balance;
79
184
  } | {
80
185
  /**
81
- * Amount of coin expected to receive
186
+ * The target output amount that the user wants to receive.
82
187
  */
83
188
  coinOutAmount: Balance;
189
+ /**
190
+ * The user’s slippage tolerance (e.g., 0.01 = 1%).
191
+ */
84
192
  slippage: Slippage;
85
193
  });
86
194
  /**
87
- * Info to construct router trade transaction from complete route
195
+ * Represents the information needed to create a transaction for a complete trade route.
88
196
  */
89
197
  export interface ApiRouterTransactionForCompleteTradeRouteBody {
90
198
  /**
91
- * Sender address (trader)
199
+ * The Sui address initiating the trade.
92
200
  */
93
201
  walletAddress: SuiAddress;
94
202
  /**
95
- * Complete route followed by `coinIn` to get to `coinOut`
203
+ * The complete route object, typically returned by the route construction API.
96
204
  */
97
205
  completeRoute: RouterCompleteTradeRoute;
98
206
  /**
99
- * Allowable percent loss for trade
207
+ * The allowable slippage tolerance for the entire route.
100
208
  */
101
209
  slippage: Slippage;
210
+ /**
211
+ * If `true`, indicates that the transaction fees may be sponsored by a third party.
212
+ */
102
213
  isSponsoredTx?: boolean;
214
+ /**
215
+ * If specified, the traded output coins will be sent to this address.
216
+ */
103
217
  customRecipient?: SuiAddress;
104
218
  }
219
+ /**
220
+ * Extended body that includes a serialized transaction for building a new
221
+ * transaction with a trade route appended.
222
+ */
105
223
  export type ApiRouterAddTransactionForCompleteTradeRouteBody = ApiRouterTransactionForCompleteTradeRouteBody & {
224
+ /**
225
+ * The already-serialized transaction to which the router instructions will be added.
226
+ */
106
227
  serializedTx: SerializedTransaction;
228
+ /**
229
+ * Optional coin input ID if you are managing coin objects yourself.
230
+ */
107
231
  coinInId?: TransactionObjectArgument;
108
232
  };
233
+ /**
234
+ * **Legacy version** of the above. Uses older transaction format.
235
+ */
109
236
  export type ApiRouterAddTransactionForCompleteTradeRouteV0Body = ApiRouterTransactionForCompleteTradeRouteBody & {
237
+ /**
238
+ * The already-serialized transaction (legacy format) to which the router instructions will be added.
239
+ */
110
240
  serializedTx: SerializedTransaction;
241
+ /**
242
+ * Optional coin input ID if you are managing coin objects yourself (legacy version).
243
+ */
111
244
  coinInId?: TransactionObjectArgumentV0;
112
245
  };
246
+ /**
247
+ * The response returned after adding a trade route to an existing transaction.
248
+ */
113
249
  export interface ApiRouterAddTransactionForCompleteTradeRouteResponse {
250
+ /**
251
+ * The updated serialized transaction.
252
+ */
114
253
  tx: SerializedTransaction;
254
+ /**
255
+ * A reference to the output coin after the swap. May be undefined if not applicable.
256
+ */
115
257
  coinOutId: TransactionObjectArgument | undefined;
116
258
  }
259
+ /**
260
+ * **Legacy version** of the above. Uses older transaction format.
261
+ */
117
262
  export interface ApiRouterAddTransactionForCompleteTradeRouteV0Response {
263
+ /**
264
+ * The updated serialized transaction (legacy format).
265
+ */
118
266
  tx: SerializedTransaction;
267
+ /**
268
+ * A reference to the output coin after the swap (legacy version). May be undefined if not applicable.
269
+ */
119
270
  coinOutId: TransactionObjectArgumentV0 | undefined;
120
271
  }
272
+ /**
273
+ * Body type used for retrieving router trade events for a particular user
274
+ * from the indexer, with pagination.
275
+ */
121
276
  export type ApiRouterTradeEventsBody = ApiIndexerEventsBody & {
277
+ /**
278
+ * The wallet address whose trade events you want to retrieve.
279
+ */
122
280
  walletAddress: SuiAddress;
123
281
  };
282
+ /**
283
+ * Represents data needed for dynamically estimating gas costs for a router trade,
284
+ * including the coin type for gas, the coin amount out, sender address, and
285
+ * an optional referrer or sponsor address.
286
+ */
124
287
  export interface ApiRouterDynamicGasBody {
288
+ /**
289
+ * The transaction bytes for the intended trade.
290
+ */
125
291
  txKindBytes: TxBytes;
292
+ /**
293
+ * The coin type to be used for gas (e.g., "0x2::sui::SUI").
294
+ */
126
295
  gasCoinType: CoinType;
296
+ /**
297
+ * The coin data specifying the gas coin or a partial reference to it.
298
+ */
127
299
  gasCoinData: ServiceCoinData;
300
+ /**
301
+ * The amount of coin that the user expects to receive out of the trade, in string form for BigInt.
302
+ */
128
303
  coinOutAmount: BigIntAsString;
304
+ /**
305
+ * The address of the sender who is initiating the transaction.
306
+ */
129
307
  senderAddress: SuiAddress;
308
+ /**
309
+ * The address of a sponsor for the transaction, if applicable.
310
+ */
130
311
  sponsorAddress: SuiAddress;
312
+ /**
313
+ * Optional referrer address, if a referral mechanism is in place.
314
+ */
131
315
  referrer?: SuiAddress;
132
316
  }
133
317
  //# sourceMappingURL=routerTypes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routerTypes.d.ts","sourceRoot":"","sources":["../../../src/packages/router/routerTypes.ts"],"names":[],"mappings":"AACA,OAAO,EACN,aAAa,EACb,OAAO,EACP,UAAU,EACV,KAAK,EACL,QAAQ,EAER,QAAQ,EACR,UAAU,EACV,OAAO,EACP,cAAc,EACd,qBAAqB,EACrB,WAAW,EAEX,MAAM,EACN,oBAAoB,EACpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CA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