@mysten/deepbook-v3 1.3.0 → 1.3.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.
- package/CHANGELOG.md +26 -0
- package/dist/contracts/deepbook/account.d.mts +1 -1
- package/dist/contracts/deepbook/account.mjs.map +1 -1
- package/dist/contracts/deepbook/deep_price.d.mts +1 -1
- package/dist/contracts/deepbook/deep_price.mjs.map +1 -1
- package/dist/contracts/deepbook/order.d.mts +1 -1
- package/dist/contracts/deepbook/order.mjs.map +1 -1
- package/dist/contracts/pyth/data_source.mjs.map +1 -1
- package/dist/contracts/pyth/i64.mjs.map +1 -1
- package/dist/contracts/pyth/price.mjs.map +1 -1
- package/dist/contracts/pyth/price_feed.mjs.map +1 -1
- package/dist/contracts/pyth/price_identifier.mjs.map +1 -1
- package/dist/contracts/pyth/price_info.mjs.map +1 -1
- package/dist/contracts/pyth/state.mjs.map +1 -1
- package/dist/contracts/utils/index.d.mts +4 -4
- package/dist/contracts/utils/index.d.mts.map +1 -1
- package/dist/contracts/utils/index.mjs.map +1 -1
- package/dist/queries/accountQueries.mjs +3 -0
- package/dist/queries/accountQueries.mjs.map +1 -1
- package/dist/queries/balanceManagerQueries.mjs +5 -0
- package/dist/queries/balanceManagerQueries.mjs.map +1 -1
- package/dist/queries/marginManagerQueries.mjs +15 -0
- package/dist/queries/marginManagerQueries.mjs.map +1 -1
- package/dist/queries/marginPoolQueries.mjs +14 -0
- package/dist/queries/marginPoolQueries.mjs.map +1 -1
- package/dist/queries/orderQueries.mjs +7 -0
- package/dist/queries/orderQueries.mjs.map +1 -1
- package/dist/queries/poolQueries.mjs +15 -0
- package/dist/queries/poolQueries.mjs.map +1 -1
- package/dist/queries/quantityQueries.mjs +9 -0
- package/dist/queries/quantityQueries.mjs.map +1 -1
- package/dist/queries/referralQueries.mjs +5 -0
- package/dist/queries/referralQueries.mjs.map +1 -1
- package/dist/queries/registryQueries.mjs +12 -0
- package/dist/queries/registryQueries.mjs.map +1 -1
- package/dist/queries/tpslQueries.mjs +3 -0
- package/dist/queries/tpslQueries.mjs.map +1 -1
- package/dist/transactions/marginAdmin.d.mts +7 -7
- package/dist/transactions/marginLiquidations.d.mts +3 -3
- package/dist/transactions/marginLiquidations.d.mts.map +1 -1
- package/dist/transactions/marginMaintainer.d.mts +5 -5
- package/dist/transactions/marginManager.d.mts +23 -23
- package/dist/transactions/marginRegistry.d.mts +15 -15
- package/package.json +4 -4
- package/src/contracts/deepbook/account.ts +20 -20
- package/src/contracts/deepbook/balance_manager.ts +3 -3
- package/src/contracts/deepbook/deep_price.ts +6 -6
- package/src/contracts/deepbook/fill.ts +34 -34
- package/src/contracts/deepbook/math.ts +2 -2
- package/src/contracts/deepbook/order.ts +24 -24
- package/src/contracts/deepbook/order_info.ts +46 -46
- package/src/contracts/deepbook/order_query.ts +5 -5
- package/src/contracts/deepbook/pool.ts +119 -33
- package/src/contracts/deepbook/registry.ts +3 -3
- package/src/contracts/pyth/batch_price_attestation.ts +5 -5
- package/src/contracts/pyth/contract_upgrade.ts +3 -3
- package/src/contracts/pyth/data_source.ts +4 -4
- package/src/contracts/pyth/deserialize.ts +8 -8
- package/src/contracts/pyth/governance.ts +7 -7
- package/src/contracts/pyth/governance_action.ts +2 -2
- package/src/contracts/pyth/governance_instruction.ts +6 -6
- package/src/contracts/pyth/hot_potato_vector.ts +5 -5
- package/src/contracts/pyth/i64.ts +4 -4
- package/src/contracts/pyth/merkle_tree.ts +3 -7
- package/src/contracts/pyth/migrate.ts +2 -2
- package/src/contracts/pyth/price.ts +7 -7
- package/src/contracts/pyth/price_feed.ts +7 -11
- package/src/contracts/pyth/price_identifier.ts +3 -3
- package/src/contracts/pyth/price_info.ts +9 -9
- package/src/contracts/pyth/price_status.ts +2 -2
- package/src/contracts/pyth/pyth.ts +12 -12
- package/src/contracts/pyth/set.ts +4 -4
- package/src/contracts/pyth/state.ts +5 -5
- package/src/contracts/utils/index.ts +7 -11
- package/src/queries/accountQueries.ts +3 -0
- package/src/queries/balanceManagerQueries.ts +5 -0
- package/src/queries/marginManagerQueries.ts +15 -0
- package/src/queries/marginPoolQueries.ts +14 -0
- package/src/queries/orderQueries.ts +7 -0
- package/src/queries/poolQueries.ts +15 -0
- package/src/queries/quantityQueries.ts +9 -0
- package/src/queries/referralQueries.ts +5 -0
- package/src/queries/registryQueries.ts +12 -0
- package/src/queries/tpslQueries.ts +3 -0
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* happens in this module.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import { MoveStruct, normalizeMoveArguments
|
|
10
|
+
import { MoveStruct, normalizeMoveArguments } from '../utils/index.js';
|
|
11
11
|
import { bcs } from '@mysten/sui/bcs';
|
|
12
|
-
import { type Transaction } from '@mysten/sui/transactions';
|
|
12
|
+
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
13
13
|
import * as deep_price from './deep_price.js';
|
|
14
14
|
import * as fill from './fill.js';
|
|
15
15
|
const $moduleName = '@deepbook/core::order_info';
|
|
@@ -106,11 +106,11 @@ export const OrderFullyFilled = new MoveStruct({
|
|
|
106
106
|
},
|
|
107
107
|
});
|
|
108
108
|
export interface PoolIdArguments {
|
|
109
|
-
self:
|
|
109
|
+
self: TransactionArgument;
|
|
110
110
|
}
|
|
111
111
|
export interface PoolIdOptions {
|
|
112
112
|
package?: string;
|
|
113
|
-
arguments: PoolIdArguments | [self:
|
|
113
|
+
arguments: PoolIdArguments | [self: TransactionArgument];
|
|
114
114
|
}
|
|
115
115
|
export function poolId(options: PoolIdOptions) {
|
|
116
116
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -125,11 +125,11 @@ export function poolId(options: PoolIdOptions) {
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
export interface OrderIdArguments {
|
|
128
|
-
self:
|
|
128
|
+
self: TransactionArgument;
|
|
129
129
|
}
|
|
130
130
|
export interface OrderIdOptions {
|
|
131
131
|
package?: string;
|
|
132
|
-
arguments: OrderIdArguments | [self:
|
|
132
|
+
arguments: OrderIdArguments | [self: TransactionArgument];
|
|
133
133
|
}
|
|
134
134
|
export function orderId(options: OrderIdOptions) {
|
|
135
135
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -144,11 +144,11 @@ export function orderId(options: OrderIdOptions) {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
export interface BalanceManagerIdArguments {
|
|
147
|
-
self:
|
|
147
|
+
self: TransactionArgument;
|
|
148
148
|
}
|
|
149
149
|
export interface BalanceManagerIdOptions {
|
|
150
150
|
package?: string;
|
|
151
|
-
arguments: BalanceManagerIdArguments | [self:
|
|
151
|
+
arguments: BalanceManagerIdArguments | [self: TransactionArgument];
|
|
152
152
|
}
|
|
153
153
|
export function balanceManagerId(options: BalanceManagerIdOptions) {
|
|
154
154
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -163,11 +163,11 @@ export function balanceManagerId(options: BalanceManagerIdOptions) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
export interface ClientOrderIdArguments {
|
|
166
|
-
self:
|
|
166
|
+
self: TransactionArgument;
|
|
167
167
|
}
|
|
168
168
|
export interface ClientOrderIdOptions {
|
|
169
169
|
package?: string;
|
|
170
|
-
arguments: ClientOrderIdArguments | [self:
|
|
170
|
+
arguments: ClientOrderIdArguments | [self: TransactionArgument];
|
|
171
171
|
}
|
|
172
172
|
export function clientOrderId(options: ClientOrderIdOptions) {
|
|
173
173
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -182,11 +182,11 @@ export function clientOrderId(options: ClientOrderIdOptions) {
|
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
export interface TraderArguments {
|
|
185
|
-
self:
|
|
185
|
+
self: TransactionArgument;
|
|
186
186
|
}
|
|
187
187
|
export interface TraderOptions {
|
|
188
188
|
package?: string;
|
|
189
|
-
arguments: TraderArguments | [self:
|
|
189
|
+
arguments: TraderArguments | [self: TransactionArgument];
|
|
190
190
|
}
|
|
191
191
|
export function trader(options: TraderOptions) {
|
|
192
192
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -201,11 +201,11 @@ export function trader(options: TraderOptions) {
|
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
203
|
export interface OrderTypeArguments {
|
|
204
|
-
self:
|
|
204
|
+
self: TransactionArgument;
|
|
205
205
|
}
|
|
206
206
|
export interface OrderTypeOptions {
|
|
207
207
|
package?: string;
|
|
208
|
-
arguments: OrderTypeArguments | [self:
|
|
208
|
+
arguments: OrderTypeArguments | [self: TransactionArgument];
|
|
209
209
|
}
|
|
210
210
|
export function orderType(options: OrderTypeOptions) {
|
|
211
211
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -220,11 +220,11 @@ export function orderType(options: OrderTypeOptions) {
|
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
export interface SelfMatchingOptionArguments {
|
|
223
|
-
self:
|
|
223
|
+
self: TransactionArgument;
|
|
224
224
|
}
|
|
225
225
|
export interface SelfMatchingOptionOptions {
|
|
226
226
|
package?: string;
|
|
227
|
-
arguments: SelfMatchingOptionArguments | [self:
|
|
227
|
+
arguments: SelfMatchingOptionArguments | [self: TransactionArgument];
|
|
228
228
|
}
|
|
229
229
|
export function selfMatchingOption(options: SelfMatchingOptionOptions) {
|
|
230
230
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -239,11 +239,11 @@ export function selfMatchingOption(options: SelfMatchingOptionOptions) {
|
|
|
239
239
|
});
|
|
240
240
|
}
|
|
241
241
|
export interface PriceArguments {
|
|
242
|
-
self:
|
|
242
|
+
self: TransactionArgument;
|
|
243
243
|
}
|
|
244
244
|
export interface PriceOptions {
|
|
245
245
|
package?: string;
|
|
246
|
-
arguments: PriceArguments | [self:
|
|
246
|
+
arguments: PriceArguments | [self: TransactionArgument];
|
|
247
247
|
}
|
|
248
248
|
export function price(options: PriceOptions) {
|
|
249
249
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -258,11 +258,11 @@ export function price(options: PriceOptions) {
|
|
|
258
258
|
});
|
|
259
259
|
}
|
|
260
260
|
export interface IsBidArguments {
|
|
261
|
-
self:
|
|
261
|
+
self: TransactionArgument;
|
|
262
262
|
}
|
|
263
263
|
export interface IsBidOptions {
|
|
264
264
|
package?: string;
|
|
265
|
-
arguments: IsBidArguments | [self:
|
|
265
|
+
arguments: IsBidArguments | [self: TransactionArgument];
|
|
266
266
|
}
|
|
267
267
|
export function isBid(options: IsBidOptions) {
|
|
268
268
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -277,11 +277,11 @@ export function isBid(options: IsBidOptions) {
|
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
export interface OriginalQuantityArguments {
|
|
280
|
-
self:
|
|
280
|
+
self: TransactionArgument;
|
|
281
281
|
}
|
|
282
282
|
export interface OriginalQuantityOptions {
|
|
283
283
|
package?: string;
|
|
284
|
-
arguments: OriginalQuantityArguments | [self:
|
|
284
|
+
arguments: OriginalQuantityArguments | [self: TransactionArgument];
|
|
285
285
|
}
|
|
286
286
|
export function originalQuantity(options: OriginalQuantityOptions) {
|
|
287
287
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -296,11 +296,11 @@ export function originalQuantity(options: OriginalQuantityOptions) {
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
export interface OrderDeepPriceArguments {
|
|
299
|
-
self:
|
|
299
|
+
self: TransactionArgument;
|
|
300
300
|
}
|
|
301
301
|
export interface OrderDeepPriceOptions {
|
|
302
302
|
package?: string;
|
|
303
|
-
arguments: OrderDeepPriceArguments | [self:
|
|
303
|
+
arguments: OrderDeepPriceArguments | [self: TransactionArgument];
|
|
304
304
|
}
|
|
305
305
|
export function orderDeepPrice(options: OrderDeepPriceOptions) {
|
|
306
306
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -315,11 +315,11 @@ export function orderDeepPrice(options: OrderDeepPriceOptions) {
|
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
317
|
export interface ExpireTimestampArguments {
|
|
318
|
-
self:
|
|
318
|
+
self: TransactionArgument;
|
|
319
319
|
}
|
|
320
320
|
export interface ExpireTimestampOptions {
|
|
321
321
|
package?: string;
|
|
322
|
-
arguments: ExpireTimestampArguments | [self:
|
|
322
|
+
arguments: ExpireTimestampArguments | [self: TransactionArgument];
|
|
323
323
|
}
|
|
324
324
|
export function expireTimestamp(options: ExpireTimestampOptions) {
|
|
325
325
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -334,11 +334,11 @@ export function expireTimestamp(options: ExpireTimestampOptions) {
|
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
export interface ExecutedQuantityArguments {
|
|
337
|
-
self:
|
|
337
|
+
self: TransactionArgument;
|
|
338
338
|
}
|
|
339
339
|
export interface ExecutedQuantityOptions {
|
|
340
340
|
package?: string;
|
|
341
|
-
arguments: ExecutedQuantityArguments | [self:
|
|
341
|
+
arguments: ExecutedQuantityArguments | [self: TransactionArgument];
|
|
342
342
|
}
|
|
343
343
|
export function executedQuantity(options: ExecutedQuantityOptions) {
|
|
344
344
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -353,11 +353,11 @@ export function executedQuantity(options: ExecutedQuantityOptions) {
|
|
|
353
353
|
});
|
|
354
354
|
}
|
|
355
355
|
export interface CumulativeQuoteQuantityArguments {
|
|
356
|
-
self:
|
|
356
|
+
self: TransactionArgument;
|
|
357
357
|
}
|
|
358
358
|
export interface CumulativeQuoteQuantityOptions {
|
|
359
359
|
package?: string;
|
|
360
|
-
arguments: CumulativeQuoteQuantityArguments | [self:
|
|
360
|
+
arguments: CumulativeQuoteQuantityArguments | [self: TransactionArgument];
|
|
361
361
|
}
|
|
362
362
|
export function cumulativeQuoteQuantity(options: CumulativeQuoteQuantityOptions) {
|
|
363
363
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -372,11 +372,11 @@ export function cumulativeQuoteQuantity(options: CumulativeQuoteQuantityOptions)
|
|
|
372
372
|
});
|
|
373
373
|
}
|
|
374
374
|
export interface FillsArguments {
|
|
375
|
-
self:
|
|
375
|
+
self: TransactionArgument;
|
|
376
376
|
}
|
|
377
377
|
export interface FillsOptions {
|
|
378
378
|
package?: string;
|
|
379
|
-
arguments: FillsArguments | [self:
|
|
379
|
+
arguments: FillsArguments | [self: TransactionArgument];
|
|
380
380
|
}
|
|
381
381
|
export function fills(options: FillsOptions) {
|
|
382
382
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -391,11 +391,11 @@ export function fills(options: FillsOptions) {
|
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
393
|
export interface FeeIsDeepArguments {
|
|
394
|
-
self:
|
|
394
|
+
self: TransactionArgument;
|
|
395
395
|
}
|
|
396
396
|
export interface FeeIsDeepOptions {
|
|
397
397
|
package?: string;
|
|
398
|
-
arguments: FeeIsDeepArguments | [self:
|
|
398
|
+
arguments: FeeIsDeepArguments | [self: TransactionArgument];
|
|
399
399
|
}
|
|
400
400
|
export function feeIsDeep(options: FeeIsDeepOptions) {
|
|
401
401
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -410,11 +410,11 @@ export function feeIsDeep(options: FeeIsDeepOptions) {
|
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
export interface PaidFeesArguments {
|
|
413
|
-
self:
|
|
413
|
+
self: TransactionArgument;
|
|
414
414
|
}
|
|
415
415
|
export interface PaidFeesOptions {
|
|
416
416
|
package?: string;
|
|
417
|
-
arguments: PaidFeesArguments | [self:
|
|
417
|
+
arguments: PaidFeesArguments | [self: TransactionArgument];
|
|
418
418
|
}
|
|
419
419
|
export function paidFees(options: PaidFeesOptions) {
|
|
420
420
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -429,11 +429,11 @@ export function paidFees(options: PaidFeesOptions) {
|
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
431
|
export interface MakerFeesArguments {
|
|
432
|
-
self:
|
|
432
|
+
self: TransactionArgument;
|
|
433
433
|
}
|
|
434
434
|
export interface MakerFeesOptions {
|
|
435
435
|
package?: string;
|
|
436
|
-
arguments: MakerFeesArguments | [self:
|
|
436
|
+
arguments: MakerFeesArguments | [self: TransactionArgument];
|
|
437
437
|
}
|
|
438
438
|
export function makerFees(options: MakerFeesOptions) {
|
|
439
439
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -448,11 +448,11 @@ export function makerFees(options: MakerFeesOptions) {
|
|
|
448
448
|
});
|
|
449
449
|
}
|
|
450
450
|
export interface EpochArguments {
|
|
451
|
-
self:
|
|
451
|
+
self: TransactionArgument;
|
|
452
452
|
}
|
|
453
453
|
export interface EpochOptions {
|
|
454
454
|
package?: string;
|
|
455
|
-
arguments: EpochArguments | [self:
|
|
455
|
+
arguments: EpochArguments | [self: TransactionArgument];
|
|
456
456
|
}
|
|
457
457
|
export function epoch(options: EpochOptions) {
|
|
458
458
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -467,11 +467,11 @@ export function epoch(options: EpochOptions) {
|
|
|
467
467
|
});
|
|
468
468
|
}
|
|
469
469
|
export interface StatusArguments {
|
|
470
|
-
self:
|
|
470
|
+
self: TransactionArgument;
|
|
471
471
|
}
|
|
472
472
|
export interface StatusOptions {
|
|
473
473
|
package?: string;
|
|
474
|
-
arguments: StatusArguments | [self:
|
|
474
|
+
arguments: StatusArguments | [self: TransactionArgument];
|
|
475
475
|
}
|
|
476
476
|
export function status(options: StatusOptions) {
|
|
477
477
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -486,11 +486,11 @@ export function status(options: StatusOptions) {
|
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
488
|
export interface FillLimitReachedArguments {
|
|
489
|
-
self:
|
|
489
|
+
self: TransactionArgument;
|
|
490
490
|
}
|
|
491
491
|
export interface FillLimitReachedOptions {
|
|
492
492
|
package?: string;
|
|
493
|
-
arguments: FillLimitReachedArguments | [self:
|
|
493
|
+
arguments: FillLimitReachedArguments | [self: TransactionArgument];
|
|
494
494
|
}
|
|
495
495
|
export function fillLimitReached(options: FillLimitReachedOptions) {
|
|
496
496
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -505,11 +505,11 @@ export function fillLimitReached(options: FillLimitReachedOptions) {
|
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
507
|
export interface OrderInsertedArguments {
|
|
508
|
-
self:
|
|
508
|
+
self: TransactionArgument;
|
|
509
509
|
}
|
|
510
510
|
export interface OrderInsertedOptions {
|
|
511
511
|
package?: string;
|
|
512
|
-
arguments: OrderInsertedArguments | [self:
|
|
512
|
+
arguments: OrderInsertedArguments | [self: TransactionArgument];
|
|
513
513
|
}
|
|
514
514
|
export function orderInserted(options: OrderInsertedOptions) {
|
|
515
515
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
import { MoveStruct, normalizeMoveArguments, type RawTransactionArgument } from '../utils/index.js';
|
|
11
11
|
import { bcs } from '@mysten/sui/bcs';
|
|
12
|
-
import { type Transaction } from '@mysten/sui/transactions';
|
|
12
|
+
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
13
13
|
import * as order from './order.js';
|
|
14
14
|
const $moduleName = '@deepbook/core::order_query';
|
|
15
15
|
export const OrderPage = new MoveStruct({
|
|
@@ -76,11 +76,11 @@ export function iterOrders(options: IterOrdersOptions) {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
export interface OrdersArguments {
|
|
79
|
-
self:
|
|
79
|
+
self: TransactionArgument;
|
|
80
80
|
}
|
|
81
81
|
export interface OrdersOptions {
|
|
82
82
|
package?: string;
|
|
83
|
-
arguments: OrdersArguments | [self:
|
|
83
|
+
arguments: OrdersArguments | [self: TransactionArgument];
|
|
84
84
|
}
|
|
85
85
|
export function orders(options: OrdersOptions) {
|
|
86
86
|
const packageAddress = options.package ?? '@deepbook/core';
|
|
@@ -95,11 +95,11 @@ export function orders(options: OrdersOptions) {
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
export interface HasNextPageArguments {
|
|
98
|
-
self:
|
|
98
|
+
self: TransactionArgument;
|
|
99
99
|
}
|
|
100
100
|
export interface HasNextPageOptions {
|
|
101
101
|
package?: string;
|
|
102
|
-
arguments: HasNextPageArguments | [self:
|
|
102
|
+
arguments: HasNextPageArguments | [self: TransactionArgument];
|
|
103
103
|
}
|
|
104
104
|
export function hasNextPage(options: HasNextPageOptions) {
|
|
105
105
|
const packageAddress = options.package ?? '@deepbook/core';
|