@sentio/sdk 4.5.0 → 4.5.1-rc.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/dist/aptos/builtin/0x1.d.ts +11 -0
- package/dist/aptos/builtin/0x1.d.ts.map +1 -1
- package/dist/aptos/builtin/0x1.js +10 -1
- package/dist/aptos/builtin/0x1.js.map +1 -1
- package/dist/iota/builtin/0x1.d.ts +4 -0
- package/dist/iota/builtin/0x1.d.ts.map +1 -1
- package/dist/iota/builtin/0x1.js +1 -1
- package/dist/iota/builtin/0x1.js.map +1 -1
- package/dist/iota/builtin/0x2.d.ts +241 -2
- package/dist/iota/builtin/0x2.d.ts.map +1 -1
- package/dist/iota/builtin/0x2.js +766 -17
- package/dist/iota/builtin/0x2.js.map +1 -1
- package/dist/iota/builtin/0x3.d.ts +34 -64
- package/dist/iota/builtin/0x3.d.ts.map +1 -1
- package/dist/iota/builtin/0x3.js +210 -163
- package/dist/iota/builtin/0x3.js.map +1 -1
- package/dist/sui/builtin/0x2.d.ts +460 -2
- package/dist/sui/builtin/0x2.d.ts.map +1 -1
- package/dist/sui/builtin/0x2.js +3383 -1851
- package/dist/sui/builtin/0x2.js.map +1 -1
- package/package.json +7 -7
- package/src/aptos/abis/0x1.json +51 -1
- package/src/aptos/builtin/0x1.ts +21 -1
- package/src/iota/abis/0x1.json +8 -0
- package/src/iota/abis/0x2.json +2292 -1083
- package/src/iota/abis/0x3.json +229 -264
- package/src/iota/builtin/0x1.ts +6 -1
- package/src/iota/builtin/0x2.ts +1323 -78
- package/src/iota/builtin/0x3.ts +281 -258
- package/src/sui/abis/0x2.json +10020 -6727
- package/src/sui/builtin/0x2.ts +3472 -1080
|
@@ -284,6 +284,265 @@ export declare namespace address_alias {
|
|
|
284
284
|
type_arguments: [];
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
+
export declare class allowance extends SuiBaseProcessor {
|
|
288
|
+
constructor(options: SuiBindOptions);
|
|
289
|
+
static DEFAULT_OPTIONS: SuiBindOptions;
|
|
290
|
+
static bind(options?: Partial<SuiBindOptions>): allowance;
|
|
291
|
+
onEntryNew(func: (call: allowance.NewPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, allowance.NewPayload>): allowance;
|
|
292
|
+
onEntryProposeForApp(func: (call: allowance.ProposeForAppPayload, ctx: SuiContext) => void, filter?: CallFilter, handlerOptions?: HandlerOptions<MoveFetchConfig, allowance.ProposeForAppPayload>): allowance;
|
|
293
|
+
}
|
|
294
|
+
export declare namespace allowance {
|
|
295
|
+
interface RateLimit {
|
|
296
|
+
fields: {};
|
|
297
|
+
variant: "Windowed";
|
|
298
|
+
}
|
|
299
|
+
namespace RateLimit {
|
|
300
|
+
const TYPE_QNAME = "0x2::allowance::RateLimit";
|
|
301
|
+
function type(): TypeDescriptor<RateLimit>;
|
|
302
|
+
}
|
|
303
|
+
interface Window {
|
|
304
|
+
fields: {};
|
|
305
|
+
variant: "PeriodicMs" | "CalendarMonths";
|
|
306
|
+
}
|
|
307
|
+
namespace Window {
|
|
308
|
+
const TYPE_QNAME = "0x2::allowance::Window";
|
|
309
|
+
function type(): TypeDescriptor<Window>;
|
|
310
|
+
}
|
|
311
|
+
interface Allowance<T0> {
|
|
312
|
+
id: object$.UID;
|
|
313
|
+
settings: allowance.Settings;
|
|
314
|
+
current_spend: bigint;
|
|
315
|
+
}
|
|
316
|
+
namespace Allowance {
|
|
317
|
+
const TYPE_QNAME = "0x2::allowance::Allowance";
|
|
318
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Allowance<T0>>;
|
|
319
|
+
}
|
|
320
|
+
interface AllowanceCap<T0> {
|
|
321
|
+
id: object$.UID;
|
|
322
|
+
allowance: object$.ID;
|
|
323
|
+
}
|
|
324
|
+
namespace AllowanceCap {
|
|
325
|
+
const TYPE_QNAME = "0x2::allowance::AllowanceCap";
|
|
326
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<AllowanceCap<T0>>;
|
|
327
|
+
}
|
|
328
|
+
interface AllowanceProposal<T0> {
|
|
329
|
+
pos0: allowance.Settings;
|
|
330
|
+
}
|
|
331
|
+
namespace AllowanceProposal {
|
|
332
|
+
const TYPE_QNAME = "0x2::allowance::AllowanceProposal";
|
|
333
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<AllowanceProposal<T0>>;
|
|
334
|
+
}
|
|
335
|
+
interface AllowanceWithdrawal<T0> {
|
|
336
|
+
allowance: object$.ID;
|
|
337
|
+
is_sponsor: boolean;
|
|
338
|
+
inner: funds_accumulator.Withdrawal<T0>;
|
|
339
|
+
}
|
|
340
|
+
namespace AllowanceWithdrawal {
|
|
341
|
+
const TYPE_QNAME = "0x2::allowance::AllowanceWithdrawal";
|
|
342
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<AllowanceWithdrawal<T0>>;
|
|
343
|
+
}
|
|
344
|
+
interface Settings {
|
|
345
|
+
funder: string;
|
|
346
|
+
spender: _0x1.option.Option<string>;
|
|
347
|
+
app: _0x1.option.Option<_0x1.type_name.TypeName>;
|
|
348
|
+
lifetime_cap: _0x1.option.Option<bigint>;
|
|
349
|
+
start_timestamp_ms: _0x1.option.Option<bigint>;
|
|
350
|
+
expiration_timestamp_ms: _0x1.option.Option<bigint>;
|
|
351
|
+
rate_limit: _0x1.option.Option<allowance.RateLimit>;
|
|
352
|
+
name: string;
|
|
353
|
+
}
|
|
354
|
+
namespace Settings {
|
|
355
|
+
const TYPE_QNAME = "0x2::allowance::Settings";
|
|
356
|
+
function type(): TypeDescriptor<Settings>;
|
|
357
|
+
}
|
|
358
|
+
interface SettingsPermit<T0> {
|
|
359
|
+
dummy_field: boolean;
|
|
360
|
+
}
|
|
361
|
+
namespace SettingsPermit {
|
|
362
|
+
const TYPE_QNAME = "0x2::allowance::SettingsPermit";
|
|
363
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SettingsPermit<T0>>;
|
|
364
|
+
}
|
|
365
|
+
interface SpendPermit<T0> {
|
|
366
|
+
dummy_field: boolean;
|
|
367
|
+
}
|
|
368
|
+
namespace SpendPermit {
|
|
369
|
+
const TYPE_QNAME = "0x2::allowance::SpendPermit";
|
|
370
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SpendPermit<T0>>;
|
|
371
|
+
}
|
|
372
|
+
namespace builder {
|
|
373
|
+
function allowanceCapAllowance<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
374
|
+
function allowanceCurrentSpend<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
375
|
+
function allowanceProposalSettings<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
376
|
+
function allowanceSettings<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
377
|
+
function app(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
378
|
+
function appBalanceSpend<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
379
|
+
string | TransactionObjectArgument,
|
|
380
|
+
allowance.SpendPermit<T1> | TransactionArgument,
|
|
381
|
+
(allowance.AllowanceWithdrawal<balance.Balance<T0>> | TransactionArgument),
|
|
382
|
+
string | TransactionObjectArgument
|
|
383
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
384
|
+
TransactionArgument,
|
|
385
|
+
TransactionArgument,
|
|
386
|
+
TransactionArgument,
|
|
387
|
+
TransactionArgument
|
|
388
|
+
];
|
|
389
|
+
function balanceSpend<T0 = any>(tx: Transaction, args: [
|
|
390
|
+
string | TransactionObjectArgument,
|
|
391
|
+
(allowance.AllowanceWithdrawal<balance.Balance<T0>> | TransactionArgument),
|
|
392
|
+
string | TransactionObjectArgument
|
|
393
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
394
|
+
TransactionArgument,
|
|
395
|
+
TransactionArgument,
|
|
396
|
+
TransactionArgument
|
|
397
|
+
];
|
|
398
|
+
function calendarRateLimit(tx: Transaction, args: [number | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
399
|
+
function civilFromMs(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
400
|
+
function daysInMonth(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
401
|
+
function expirationTimestampMs(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
402
|
+
function funder(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
403
|
+
function issue<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
404
|
+
allowance.AllowanceProposal<T0> | TransactionArgument,
|
|
405
|
+
allowance.SettingsPermit<T1> | TransactionArgument
|
|
406
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
407
|
+
function lifetimeCap(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
408
|
+
function monthlyRateLimit(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
409
|
+
function name(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
410
|
+
function new$<T0 = any>(tx: Transaction, args: [
|
|
411
|
+
string | TransactionArgument,
|
|
412
|
+
string | TransactionArgument,
|
|
413
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
414
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
415
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
416
|
+
_0x1.option.Option<allowance.RateLimit> | TransactionArgument
|
|
417
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
418
|
+
TransactionArgument,
|
|
419
|
+
TransactionArgument,
|
|
420
|
+
TransactionArgument,
|
|
421
|
+
TransactionArgument,
|
|
422
|
+
TransactionArgument,
|
|
423
|
+
TransactionArgument
|
|
424
|
+
];
|
|
425
|
+
function periodicRateLimit(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
426
|
+
function proposeForApp<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
427
|
+
string | TransactionArgument,
|
|
428
|
+
string | TransactionArgument,
|
|
429
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
430
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
431
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
432
|
+
_0x1.option.Option<allowance.RateLimit> | TransactionArgument
|
|
433
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
434
|
+
TransactionArgument,
|
|
435
|
+
TransactionArgument,
|
|
436
|
+
TransactionArgument,
|
|
437
|
+
TransactionArgument,
|
|
438
|
+
TransactionArgument,
|
|
439
|
+
TransactionArgument
|
|
440
|
+
];
|
|
441
|
+
function quarterlyRateLimit(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
442
|
+
function rateLimit(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
443
|
+
function rateLimitLimit(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
444
|
+
function rateLimitSpent(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
445
|
+
function rateLimitWindow(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
446
|
+
function revoke<T0 = any>(tx: Transaction, args: [
|
|
447
|
+
allowance.AllowanceCap<T0> | TransactionArgument,
|
|
448
|
+
allowance.Allowance<T0> | TransactionArgument
|
|
449
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
450
|
+
function rotateSpender<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
451
|
+
string | TransactionObjectArgument,
|
|
452
|
+
allowance.SettingsPermit<T1> | TransactionArgument,
|
|
453
|
+
string | TransactionArgument
|
|
454
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
455
|
+
TransactionArgument,
|
|
456
|
+
TransactionArgument,
|
|
457
|
+
TransactionArgument
|
|
458
|
+
];
|
|
459
|
+
function settingsPermit<T0 = any>(tx: Transaction, args: [_0x1.internal.Permit<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
460
|
+
function spendPermit<T0 = any>(tx: Transaction, args: [_0x1.internal.Permit<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
461
|
+
function spender(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
462
|
+
function startTimestampMs(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
463
|
+
function yearlyRateLimit(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
464
|
+
}
|
|
465
|
+
namespace view {
|
|
466
|
+
function allowanceCapAllowance<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[object$.ID]>>;
|
|
467
|
+
function allowanceCurrentSpend<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[bigint]>>;
|
|
468
|
+
function allowanceProposalSettings<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
469
|
+
function allowanceSettings<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
470
|
+
function app(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[_0x1.option.Option<_0x1.type_name.TypeName>]>>;
|
|
471
|
+
function appBalanceSpend<T0 = any, T1 = any>(client: SuiGrpcClient, args: [
|
|
472
|
+
string,
|
|
473
|
+
allowance.SpendPermit<T1>,
|
|
474
|
+
allowance.AllowanceWithdrawal<balance.Balance<T0>>,
|
|
475
|
+
string
|
|
476
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[balance.Balance<T0>]>>;
|
|
477
|
+
function balanceSpend<T0 = any>(client: SuiGrpcClient, args: [
|
|
478
|
+
string,
|
|
479
|
+
allowance.AllowanceWithdrawal<balance.Balance<T0>>,
|
|
480
|
+
string
|
|
481
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[balance.Balance<T0>]>>;
|
|
482
|
+
function calendarRateLimit(client: SuiGrpcClient, args: [number, bigint]): Promise<TypedSimulateResults<[allowance.RateLimit]>>;
|
|
483
|
+
function civilFromMs(client: SuiGrpcClient, args: [bigint]): Promise<TypedSimulateResults<[bigint, bigint, bigint]>>;
|
|
484
|
+
function daysInMonth(client: SuiGrpcClient, args: [bigint, bigint]): Promise<TypedSimulateResults<[bigint]>>;
|
|
485
|
+
function expirationTimestampMs(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[_0x1.option.Option<bigint>]>>;
|
|
486
|
+
function funder(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
487
|
+
function issue<T0 = any, T1 = any>(client: SuiGrpcClient, args: [allowance.AllowanceProposal<T0>, allowance.SettingsPermit<T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
488
|
+
function lifetimeCap(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[_0x1.option.Option<bigint>]>>;
|
|
489
|
+
function monthlyRateLimit(client: SuiGrpcClient, args: [bigint]): Promise<TypedSimulateResults<[allowance.RateLimit]>>;
|
|
490
|
+
function name(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
491
|
+
function periodicRateLimit(client: SuiGrpcClient, args: [bigint, bigint]): Promise<TypedSimulateResults<[allowance.RateLimit]>>;
|
|
492
|
+
function quarterlyRateLimit(client: SuiGrpcClient, args: [bigint]): Promise<TypedSimulateResults<[allowance.RateLimit]>>;
|
|
493
|
+
function rateLimit(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[_0x1.option.Option<allowance.RateLimit>]>>;
|
|
494
|
+
function rateLimitLimit(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[bigint]>>;
|
|
495
|
+
function rateLimitSpent(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[bigint]>>;
|
|
496
|
+
function rateLimitWindow(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[allowance.Window]>>;
|
|
497
|
+
function revoke<T0 = any>(client: SuiGrpcClient, args: [allowance.AllowanceCap<T0>, allowance.Allowance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[]>>;
|
|
498
|
+
function rotateSpender<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, allowance.SettingsPermit<T1>, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
499
|
+
function settingsPermit<T0 = any>(client: SuiGrpcClient, args: [_0x1.internal.Permit<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[allowance.SettingsPermit<T0>]>>;
|
|
500
|
+
function spendPermit<T0 = any>(client: SuiGrpcClient, args: [_0x1.internal.Permit<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[allowance.SpendPermit<T0>]>>;
|
|
501
|
+
function spender(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[_0x1.option.Option<string>]>>;
|
|
502
|
+
function startTimestampMs(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[_0x1.option.Option<bigint>]>>;
|
|
503
|
+
function yearlyRateLimit(client: SuiGrpcClient, args: [bigint]): Promise<TypedSimulateResults<[allowance.RateLimit]>>;
|
|
504
|
+
}
|
|
505
|
+
interface NewPayload<T0 = any> extends TypedFunctionPayload<[
|
|
506
|
+
string,
|
|
507
|
+
string,
|
|
508
|
+
_0x1.option.Option<bigint>,
|
|
509
|
+
_0x1.option.Option<bigint>,
|
|
510
|
+
_0x1.option.Option<bigint>,
|
|
511
|
+
_0x1.option.Option<allowance.RateLimit>,
|
|
512
|
+
string
|
|
513
|
+
]> {
|
|
514
|
+
arguments_decoded: [
|
|
515
|
+
string,
|
|
516
|
+
string,
|
|
517
|
+
_0x1.option.Option<bigint>,
|
|
518
|
+
_0x1.option.Option<bigint>,
|
|
519
|
+
_0x1.option.Option<bigint>,
|
|
520
|
+
_0x1.option.Option<allowance.RateLimit>,
|
|
521
|
+
string
|
|
522
|
+
];
|
|
523
|
+
type_arguments: [string];
|
|
524
|
+
}
|
|
525
|
+
interface ProposeForAppPayload<T0 = any, T1 = any> extends TypedFunctionPayload<[
|
|
526
|
+
string,
|
|
527
|
+
string,
|
|
528
|
+
_0x1.option.Option<bigint>,
|
|
529
|
+
_0x1.option.Option<bigint>,
|
|
530
|
+
_0x1.option.Option<bigint>,
|
|
531
|
+
_0x1.option.Option<allowance.RateLimit>,
|
|
532
|
+
string
|
|
533
|
+
]> {
|
|
534
|
+
arguments_decoded: [
|
|
535
|
+
string,
|
|
536
|
+
string,
|
|
537
|
+
_0x1.option.Option<bigint>,
|
|
538
|
+
_0x1.option.Option<bigint>,
|
|
539
|
+
_0x1.option.Option<bigint>,
|
|
540
|
+
_0x1.option.Option<allowance.RateLimit>,
|
|
541
|
+
string
|
|
542
|
+
];
|
|
543
|
+
type_arguments: [string, string];
|
|
544
|
+
}
|
|
545
|
+
}
|
|
287
546
|
export declare class authenticator_state extends SuiBaseProcessor {
|
|
288
547
|
constructor(options: SuiBindOptions);
|
|
289
548
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
|
@@ -2453,6 +2712,17 @@ export declare namespace event {
|
|
|
2453
2712
|
function emitAuthenticated<T0 = any>(client: SuiGrpcClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[]>>;
|
|
2454
2713
|
}
|
|
2455
2714
|
}
|
|
2715
|
+
export declare namespace forwarding_address {
|
|
2716
|
+
interface ForwardingAddressRegistry {
|
|
2717
|
+
id: object$.UID;
|
|
2718
|
+
}
|
|
2719
|
+
namespace ForwardingAddressRegistry {
|
|
2720
|
+
const TYPE_QNAME = "0x2::forwarding_address::ForwardingAddressRegistry";
|
|
2721
|
+
function type(): TypeDescriptor<ForwardingAddressRegistry>;
|
|
2722
|
+
}
|
|
2723
|
+
namespace builder { }
|
|
2724
|
+
namespace view { }
|
|
2725
|
+
}
|
|
2456
2726
|
export declare namespace funds_accumulator {
|
|
2457
2727
|
interface Withdrawal<T0> {
|
|
2458
2728
|
owner: string;
|
|
@@ -3257,6 +3527,28 @@ export declare namespace linked_table {
|
|
|
3257
3527
|
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3258
3528
|
function drop<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3259
3529
|
function front<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3530
|
+
function insertAfter<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
3531
|
+
string | TransactionObjectArgument,
|
|
3532
|
+
T0 | TransactionArgument,
|
|
3533
|
+
T0 | TransactionArgument,
|
|
3534
|
+
T1 | TransactionArgument
|
|
3535
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
3536
|
+
TransactionArgument,
|
|
3537
|
+
TransactionArgument,
|
|
3538
|
+
TransactionArgument,
|
|
3539
|
+
TransactionArgument
|
|
3540
|
+
];
|
|
3541
|
+
function insertBefore<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
3542
|
+
string | TransactionObjectArgument,
|
|
3543
|
+
T0 | TransactionArgument,
|
|
3544
|
+
T0 | TransactionArgument,
|
|
3545
|
+
T1 | TransactionArgument
|
|
3546
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
3547
|
+
TransactionArgument,
|
|
3548
|
+
TransactionArgument,
|
|
3549
|
+
TransactionArgument,
|
|
3550
|
+
TransactionArgument
|
|
3551
|
+
];
|
|
3260
3552
|
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3261
3553
|
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
3262
3554
|
function new$<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
|
@@ -3292,6 +3584,8 @@ export declare namespace linked_table {
|
|
|
3292
3584
|
function destroyEmpty<T0 = any, T1 = any>(client: SuiGrpcClient, args: [linked_table.LinkedTable<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3293
3585
|
function drop<T0 = any, T1 = any>(client: SuiGrpcClient, args: [linked_table.LinkedTable<T0, T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3294
3586
|
function front<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
3587
|
+
function insertAfter<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, T0, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3588
|
+
function insertBefore<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, T0, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
3295
3589
|
function isEmpty<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[boolean]>>;
|
|
3296
3590
|
function length<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[bigint]>>;
|
|
3297
3591
|
function new$<T0 = any, T1 = any>(client: SuiGrpcClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[linked_table.LinkedTable<T0, T1>]>>;
|
|
@@ -3402,6 +3696,7 @@ export declare namespace object$ {
|
|
|
3402
3696
|
function borrowId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3403
3697
|
function clock(tx: Transaction, args: []): TransactionArgument & [];
|
|
3404
3698
|
function delete$(tx: Transaction, args: [object$.UID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3699
|
+
function forwardingAddressRegistry(tx: Transaction, args: []): TransactionArgument & [];
|
|
3405
3700
|
function id<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3406
3701
|
function idAddress<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3407
3702
|
function idBytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
@@ -3410,7 +3705,7 @@ export declare namespace object$ {
|
|
|
3410
3705
|
function idToAddress(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3411
3706
|
function idToBytes(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3412
3707
|
function new$(tx: Transaction, args: []): TransactionArgument & [];
|
|
3413
|
-
function newUidFromHash(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3708
|
+
function newUidFromHash(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
3414
3709
|
function randomnessState(tx: Transaction, args: []): TransactionArgument & [];
|
|
3415
3710
|
function suiAccumulatorRootAddress(tx: Transaction, args: []): TransactionArgument & [];
|
|
3416
3711
|
function suiAccumulatorRootObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
@@ -3430,6 +3725,7 @@ export declare namespace object$ {
|
|
|
3430
3725
|
function borrowId<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
3431
3726
|
function clock(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3432
3727
|
function delete$(client: SuiGrpcClient, args: [object$.UID]): Promise<TypedSimulateResults<[]>>;
|
|
3728
|
+
function forwardingAddressRegistry(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3433
3729
|
function id<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[object$.ID]>>;
|
|
3434
3730
|
function idAddress<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[string]>>;
|
|
3435
3731
|
function idBytes<T0 = any>(client: SuiGrpcClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[number[]]>>;
|
|
@@ -3438,7 +3734,7 @@ export declare namespace object$ {
|
|
|
3438
3734
|
function idToAddress(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
3439
3735
|
function idToBytes(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[number[]]>>;
|
|
3440
3736
|
function new$(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3441
|
-
function newUidFromHash(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3737
|
+
function newUidFromHash(client: SuiGrpcClient, args: [string, string]): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3442
3738
|
function randomnessState(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
3443
3739
|
function suiAccumulatorRootAddress(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[string]>>;
|
|
3444
3740
|
function suiAccumulatorRootObjectId(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[object$.UID]>>;
|
|
@@ -3610,6 +3906,7 @@ export declare namespace package$ {
|
|
|
3610
3906
|
function makeImmutable(tx: Transaction, args: [package$.UpgradeCap | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3611
3907
|
function onlyAdditiveUpgrades(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3612
3908
|
function onlyDepUpgrades(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3909
|
+
function originalPackageId(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3613
3910
|
function publishedModule(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3614
3911
|
function publishedPackage(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
3615
3912
|
function receiptCap(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
@@ -3635,6 +3932,7 @@ export declare namespace package$ {
|
|
|
3635
3932
|
function makeImmutable(client: SuiGrpcClient, args: [package$.UpgradeCap]): Promise<TypedSimulateResults<[]>>;
|
|
3636
3933
|
function onlyAdditiveUpgrades(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[]>>;
|
|
3637
3934
|
function onlyDepUpgrades(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[]>>;
|
|
3935
|
+
function originalPackageId(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[object$.ID]>>;
|
|
3638
3936
|
function publishedModule(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
3639
3937
|
function publishedPackage(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[string]>>;
|
|
3640
3938
|
function receiptCap(client: SuiGrpcClient, args: [string]): Promise<TypedSimulateResults<[object$.ID]>>;
|
|
@@ -4065,6 +4363,166 @@ export declare namespace ristretto255 {
|
|
|
4065
4363
|
function scalarZero(client: SuiGrpcClient, args: []): Promise<TypedSimulateResults<[group_ops.Element<ristretto255.Scalar>]>>;
|
|
4066
4364
|
}
|
|
4067
4365
|
}
|
|
4366
|
+
export declare class scratch extends SuiBaseProcessor {
|
|
4367
|
+
constructor(options: SuiBindOptions);
|
|
4368
|
+
static DEFAULT_OPTIONS: SuiBindOptions;
|
|
4369
|
+
static bind(options?: Partial<SuiBindOptions>): scratch;
|
|
4370
|
+
onEventBorrowMarkerKey(func: (event: scratch.BorrowMarkerKeyInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, scratch.BorrowMarkerKeyInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): scratch;
|
|
4371
|
+
onEventPermit(func: (event: scratch.PermitInstance, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, scratch.PermitInstance>, eventFilter?: Omit<EventFilter, "type" | "account">): scratch;
|
|
4372
|
+
}
|
|
4373
|
+
export declare namespace scratch {
|
|
4374
|
+
interface BorrowMarker<T0> {
|
|
4375
|
+
pos0: bigint;
|
|
4376
|
+
}
|
|
4377
|
+
namespace BorrowMarker {
|
|
4378
|
+
const TYPE_QNAME = "0x2::scratch::BorrowMarker";
|
|
4379
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<BorrowMarker<T0>>;
|
|
4380
|
+
}
|
|
4381
|
+
interface BorrowMarkerKey {
|
|
4382
|
+
dummy_field: boolean;
|
|
4383
|
+
}
|
|
4384
|
+
namespace BorrowMarkerKey {
|
|
4385
|
+
const TYPE_QNAME = "0x2::scratch::BorrowMarkerKey";
|
|
4386
|
+
function type(): TypeDescriptor<BorrowMarkerKey>;
|
|
4387
|
+
}
|
|
4388
|
+
type BorrowMarkerKeyInstance = TypedEventInstance<BorrowMarkerKey> & {
|
|
4389
|
+
data_decoded: BorrowMarkerKey;
|
|
4390
|
+
type_arguments: [];
|
|
4391
|
+
};
|
|
4392
|
+
interface Permit<T0> {
|
|
4393
|
+
dummy_field: boolean;
|
|
4394
|
+
}
|
|
4395
|
+
namespace Permit {
|
|
4396
|
+
const TYPE_QNAME = "0x2::scratch::Permit";
|
|
4397
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Permit<T0>>;
|
|
4398
|
+
}
|
|
4399
|
+
type PermitInstance = TypedEventInstance<Permit<any>> & {
|
|
4400
|
+
data_decoded: Permit<any>;
|
|
4401
|
+
type_arguments: [string];
|
|
4402
|
+
};
|
|
4403
|
+
namespace builder {
|
|
4404
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4405
|
+
string | TransactionObjectArgument,
|
|
4406
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4407
|
+
T0 | TransactionArgument,
|
|
4408
|
+
T1 | TransactionArgument
|
|
4409
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4410
|
+
TransactionArgument,
|
|
4411
|
+
TransactionArgument,
|
|
4412
|
+
TransactionArgument,
|
|
4413
|
+
TransactionArgument
|
|
4414
|
+
];
|
|
4415
|
+
function beginBorrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4416
|
+
string | TransactionObjectArgument,
|
|
4417
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4418
|
+
T0 | TransactionArgument
|
|
4419
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4420
|
+
TransactionArgument,
|
|
4421
|
+
TransactionArgument,
|
|
4422
|
+
TransactionArgument
|
|
4423
|
+
];
|
|
4424
|
+
function endBorrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4425
|
+
string | TransactionObjectArgument,
|
|
4426
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4427
|
+
T0 | TransactionArgument,
|
|
4428
|
+
T1 | TransactionArgument,
|
|
4429
|
+
scratch.BorrowMarker<T1> | TransactionArgument
|
|
4430
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4431
|
+
TransactionArgument,
|
|
4432
|
+
TransactionArgument,
|
|
4433
|
+
TransactionArgument,
|
|
4434
|
+
TransactionArgument,
|
|
4435
|
+
TransactionArgument
|
|
4436
|
+
];
|
|
4437
|
+
function exists<T0 = any>(tx: Transaction, args: [
|
|
4438
|
+
string | TransactionObjectArgument,
|
|
4439
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4440
|
+
T0 | TransactionArgument
|
|
4441
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
4442
|
+
TransactionArgument,
|
|
4443
|
+
TransactionArgument,
|
|
4444
|
+
TransactionArgument
|
|
4445
|
+
];
|
|
4446
|
+
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4447
|
+
string | TransactionObjectArgument,
|
|
4448
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4449
|
+
T0 | TransactionArgument
|
|
4450
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4451
|
+
TransactionArgument,
|
|
4452
|
+
TransactionArgument,
|
|
4453
|
+
TransactionArgument
|
|
4454
|
+
];
|
|
4455
|
+
function permit<T0 = any>(tx: Transaction, args: [_0x1.internal.Permit<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
4456
|
+
function read<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4457
|
+
string | TransactionObjectArgument,
|
|
4458
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4459
|
+
T0 | TransactionArgument
|
|
4460
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4461
|
+
TransactionArgument,
|
|
4462
|
+
TransactionArgument,
|
|
4463
|
+
TransactionArgument
|
|
4464
|
+
];
|
|
4465
|
+
function readOpt<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4466
|
+
string | TransactionObjectArgument,
|
|
4467
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4468
|
+
T0 | TransactionArgument
|
|
4469
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4470
|
+
TransactionArgument,
|
|
4471
|
+
TransactionArgument,
|
|
4472
|
+
TransactionArgument
|
|
4473
|
+
];
|
|
4474
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4475
|
+
string | TransactionObjectArgument,
|
|
4476
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4477
|
+
T0 | TransactionArgument
|
|
4478
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4479
|
+
TransactionArgument,
|
|
4480
|
+
TransactionArgument,
|
|
4481
|
+
TransactionArgument
|
|
4482
|
+
];
|
|
4483
|
+
function removeOpt<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
4484
|
+
string | TransactionObjectArgument,
|
|
4485
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4486
|
+
T0 | TransactionArgument
|
|
4487
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
4488
|
+
TransactionArgument,
|
|
4489
|
+
TransactionArgument,
|
|
4490
|
+
TransactionArgument
|
|
4491
|
+
];
|
|
4492
|
+
function replace<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
|
4493
|
+
string | TransactionObjectArgument,
|
|
4494
|
+
scratch.Permit<T0> | TransactionArgument,
|
|
4495
|
+
T0 | TransactionArgument,
|
|
4496
|
+
T1 | TransactionArgument
|
|
4497
|
+
], typeArguments: [
|
|
4498
|
+
TypeDescriptor<T0> | string,
|
|
4499
|
+
TypeDescriptor<T1> | string,
|
|
4500
|
+
TypeDescriptor<T2> | string
|
|
4501
|
+
]): TransactionArgument & [
|
|
4502
|
+
TransactionArgument,
|
|
4503
|
+
TransactionArgument,
|
|
4504
|
+
TransactionArgument,
|
|
4505
|
+
TransactionArgument
|
|
4506
|
+
];
|
|
4507
|
+
}
|
|
4508
|
+
namespace view {
|
|
4509
|
+
function add<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
4510
|
+
function beginBorrow<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[T1, scratch.BorrowMarker<T1>]>>;
|
|
4511
|
+
function endBorrow<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0, T1, scratch.BorrowMarker<T1>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[]>>;
|
|
4512
|
+
function exists<T0 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[boolean]>>;
|
|
4513
|
+
function existsWithType<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[boolean]>>;
|
|
4514
|
+
function permit<T0 = any>(client: SuiGrpcClient, args: [_0x1.internal.Permit<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedSimulateResults<[scratch.Permit<T0>]>>;
|
|
4515
|
+
function read<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[T1]>>;
|
|
4516
|
+
function readOpt<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[_0x1.option.Option<T1>]>>;
|
|
4517
|
+
function remove<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[T1]>>;
|
|
4518
|
+
function removeOpt<T0 = any, T1 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedSimulateResults<[_0x1.option.Option<T1>]>>;
|
|
4519
|
+
function replace<T0 = any, T1 = any, T2 = any>(client: SuiGrpcClient, args: [string, scratch.Permit<T0>, T0, T1], typeArguments: [
|
|
4520
|
+
TypeDescriptor<T0> | string,
|
|
4521
|
+
TypeDescriptor<T1> | string,
|
|
4522
|
+
TypeDescriptor<T2> | string
|
|
4523
|
+
]): Promise<TypedSimulateResults<[_0x1.option.Option<T2>]>>;
|
|
4524
|
+
}
|
|
4525
|
+
}
|
|
4068
4526
|
export declare class sui extends SuiBaseProcessor {
|
|
4069
4527
|
constructor(options: SuiBindOptions);
|
|
4070
4528
|
static DEFAULT_OPTIONS: SuiBindOptions;
|