@sentio/sdk 2.10.2 → 2.11.0-rc.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/lib/aptos/codegen/codegen.js +0 -1
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/move/abstract-codegen.d.ts +2 -1
- package/lib/move/abstract-codegen.js +9 -8
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/solana/builtin/types.d.ts +170 -170
- package/lib/solana/builtin/types.js +2 -1
- package/lib/solana/builtin/types.js.map +1 -1
- package/lib/sui/builtin/0x1.js +1 -1
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +235 -640
- package/lib/sui/builtin/0x2.js +294 -716
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +566 -0
- package/lib/sui/builtin/0x3.js +681 -0
- package/lib/sui/builtin/0x3.js.map +1 -0
- package/lib/sui/builtin/index.d.ts +1 -0
- package/lib/sui/builtin/index.js +1 -0
- package/lib/sui/builtin/index.js.map +1 -1
- package/lib/sui/codegen/codegen.js +4 -3
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/context.d.ts +3 -3
- package/lib/sui/context.js +1 -1
- package/lib/sui/context.js.map +1 -1
- package/lib/sui/models.d.ts +4 -4
- package/lib/sui/models.js.map +1 -1
- package/lib/sui/move-coder.d.ts +5 -5
- package/lib/sui/move-coder.js +19 -7
- package/lib/sui/move-coder.js.map +1 -1
- package/lib/sui/move-types.js +7 -7
- package/lib/sui/move-types.js.map +1 -1
- package/lib/sui/sui-processor.d.ts +3 -3
- package/lib/sui/sui-processor.js +15 -9
- package/lib/sui/sui-processor.js.map +1 -1
- package/lib/sui/utils.d.ts +2 -2
- package/lib/sui/utils.js +13 -5
- package/lib/sui/utils.js.map +1 -1
- package/lib/testing/sui-facet.d.ts +4 -4
- package/lib/testing/sui-facet.js +7 -7
- package/lib/testing/sui-facet.js.map +1 -1
- package/package.json +7 -5
- package/src/aptos/codegen/codegen.ts +0 -1
- package/src/move/abstract-codegen.ts +9 -8
- package/src/solana/builtin/types.ts +2 -1
- package/src/sui/abis/0x1.json +357 -357
- package/src/sui/abis/0x2.json +5563 -8247
- package/src/sui/abis/0x3.json +8399 -0
- package/src/sui/builtin/0x1.ts +1 -1
- package/src/sui/builtin/0x2.ts +531 -1537
- package/src/sui/builtin/0x3.ts +1515 -0
- package/src/sui/builtin/index.ts +1 -0
- package/src/sui/codegen/codegen.ts +5 -3
- package/src/sui/context.ts +4 -4
- package/src/sui/models.ts +4 -4
- package/src/sui/move-coder.ts +24 -12
- package/src/sui/move-types.ts +7 -7
- package/src/sui/sui-processor.ts +28 -15
- package/src/sui/utils.ts +21 -5
- package/src/testing/sui-facet.ts +19 -15
- package/src/eth/codegen/tsconfig.json +0 -8
package/src/sui/builtin/0x2.ts
CHANGED
@@ -84,7 +84,27 @@ export namespace bcs {
|
|
84
84
|
|
85
85
|
export namespace bls12381 {}
|
86
86
|
|
87
|
-
export namespace
|
87
|
+
export namespace borrow {
|
88
|
+
export class Borrow {
|
89
|
+
static TYPE_QNAME = "0x2::borrow::Borrow";
|
90
|
+
ref: SuiAddress;
|
91
|
+
obj: object_.ID;
|
92
|
+
}
|
93
|
+
|
94
|
+
export class Referent<T0> {
|
95
|
+
static TYPE_QNAME = "0x2::borrow::Referent";
|
96
|
+
id: SuiAddress;
|
97
|
+
value: _0x1.option.Option<T0>;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
export namespace clock {
|
102
|
+
export class Clock {
|
103
|
+
static TYPE_QNAME = "0x2::clock::Clock";
|
104
|
+
id: object_.UID;
|
105
|
+
timestamp_ms: bigint;
|
106
|
+
}
|
107
|
+
}
|
88
108
|
|
89
109
|
export class coin extends SuiBaseProcessor {
|
90
110
|
constructor(options: SuiBindOptions) {
|
@@ -108,7 +128,7 @@ export class coin extends SuiBaseProcessor {
|
|
108
128
|
func,
|
109
129
|
{
|
110
130
|
...filter,
|
111
|
-
function: "coin::
|
131
|
+
function: "coin::burn",
|
112
132
|
},
|
113
133
|
fetchConfig
|
114
134
|
);
|
@@ -299,75 +319,137 @@ export namespace coin {
|
|
299
319
|
}
|
300
320
|
}
|
301
321
|
|
302
|
-
export class
|
322
|
+
export class display extends SuiBaseProcessor {
|
303
323
|
constructor(options: SuiBindOptions) {
|
304
|
-
super("
|
324
|
+
super("display", options);
|
305
325
|
}
|
306
326
|
static DEFAULT_OPTIONS: SuiBindOptions = {
|
307
327
|
address: "0x2",
|
308
328
|
network: SuiNetwork.MAIN_NET,
|
309
329
|
};
|
310
330
|
|
311
|
-
static bind(options: Partial<SuiBindOptions> = {}):
|
312
|
-
return new
|
331
|
+
static bind(options: Partial<SuiBindOptions> = {}): display {
|
332
|
+
return new display({ ...display.DEFAULT_OPTIONS, ...options });
|
313
333
|
}
|
314
334
|
|
315
|
-
|
316
|
-
func: (call:
|
335
|
+
onEntryAdd(
|
336
|
+
func: (call: display.AddPayload, ctx: SuiContext) => void,
|
317
337
|
filter?: CallFilter,
|
318
338
|
fetchConfig?: MoveFetchConfig
|
319
|
-
):
|
339
|
+
): display {
|
320
340
|
this.onEntryFunctionCall(
|
321
341
|
func,
|
322
342
|
{
|
323
343
|
...filter,
|
324
|
-
function: "
|
344
|
+
function: "display::add",
|
325
345
|
},
|
326
346
|
fetchConfig
|
327
347
|
);
|
328
348
|
return this;
|
329
349
|
}
|
330
350
|
|
331
|
-
|
332
|
-
func: (call:
|
351
|
+
onEntryAddMultiple(
|
352
|
+
func: (call: display.AddMultiplePayload, ctx: SuiContext) => void,
|
333
353
|
filter?: CallFilter,
|
334
354
|
fetchConfig?: MoveFetchConfig
|
335
|
-
):
|
355
|
+
): display {
|
336
356
|
this.onEntryFunctionCall(
|
337
357
|
func,
|
338
358
|
{
|
339
359
|
...filter,
|
340
|
-
function: "
|
360
|
+
function: "display::add_multiple",
|
341
361
|
},
|
342
362
|
fetchConfig
|
343
363
|
);
|
344
364
|
return this;
|
345
365
|
}
|
346
366
|
|
347
|
-
|
348
|
-
func: (call:
|
367
|
+
onEntryCreateAndKeep(
|
368
|
+
func: (call: display.CreateAndKeepPayload, ctx: SuiContext) => void,
|
369
|
+
filter?: CallFilter,
|
370
|
+
fetchConfig?: MoveFetchConfig
|
371
|
+
): display {
|
372
|
+
this.onEntryFunctionCall(
|
373
|
+
func,
|
374
|
+
{
|
375
|
+
...filter,
|
376
|
+
function: "display::create_and_keep",
|
377
|
+
},
|
378
|
+
fetchConfig
|
379
|
+
);
|
380
|
+
return this;
|
381
|
+
}
|
382
|
+
|
383
|
+
onEntryEdit(
|
384
|
+
func: (call: display.EditPayload, ctx: SuiContext) => void,
|
385
|
+
filter?: CallFilter,
|
386
|
+
fetchConfig?: MoveFetchConfig
|
387
|
+
): display {
|
388
|
+
this.onEntryFunctionCall(
|
389
|
+
func,
|
390
|
+
{
|
391
|
+
...filter,
|
392
|
+
function: "display::edit",
|
393
|
+
},
|
394
|
+
fetchConfig
|
395
|
+
);
|
396
|
+
return this;
|
397
|
+
}
|
398
|
+
|
399
|
+
onEntryRemove(
|
400
|
+
func: (call: display.RemovePayload, ctx: SuiContext) => void,
|
401
|
+
filter?: CallFilter,
|
402
|
+
fetchConfig?: MoveFetchConfig
|
403
|
+
): display {
|
404
|
+
this.onEntryFunctionCall(
|
405
|
+
func,
|
406
|
+
{
|
407
|
+
...filter,
|
408
|
+
function: "display::remove",
|
409
|
+
},
|
410
|
+
fetchConfig
|
411
|
+
);
|
412
|
+
return this;
|
413
|
+
}
|
414
|
+
|
415
|
+
onEntryUpdateVersion(
|
416
|
+
func: (call: display.UpdateVersionPayload, ctx: SuiContext) => void,
|
349
417
|
filter?: CallFilter,
|
350
418
|
fetchConfig?: MoveFetchConfig
|
351
|
-
):
|
419
|
+
): display {
|
352
420
|
this.onEntryFunctionCall(
|
353
421
|
func,
|
354
422
|
{
|
355
423
|
...filter,
|
356
|
-
function: "
|
424
|
+
function: "display::update_version",
|
425
|
+
},
|
426
|
+
fetchConfig
|
427
|
+
);
|
428
|
+
return this;
|
429
|
+
}
|
430
|
+
|
431
|
+
onEventDisplayCreated(
|
432
|
+
func: (event: display.DisplayCreatedInstance, ctx: SuiContext) => void,
|
433
|
+
fetchConfig?: MoveFetchConfig
|
434
|
+
): display {
|
435
|
+
this.onMoveEvent(
|
436
|
+
func,
|
437
|
+
{
|
438
|
+
type: "display::DisplayCreated",
|
357
439
|
},
|
358
440
|
fetchConfig
|
359
441
|
);
|
360
442
|
return this;
|
361
443
|
}
|
362
444
|
|
363
|
-
|
364
|
-
func: (event:
|
445
|
+
onEventVersionUpdated(
|
446
|
+
func: (event: display.VersionUpdatedInstance, ctx: SuiContext) => void,
|
365
447
|
fetchConfig?: MoveFetchConfig
|
366
|
-
):
|
448
|
+
): display {
|
367
449
|
this.onMoveEvent(
|
368
450
|
func,
|
369
451
|
{
|
370
|
-
type: "
|
452
|
+
type: "display::VersionUpdated",
|
371
453
|
},
|
372
454
|
fetchConfig
|
373
455
|
);
|
@@ -375,84 +457,72 @@ export class devnet_nft extends SuiBaseProcessor {
|
|
375
457
|
}
|
376
458
|
}
|
377
459
|
|
378
|
-
export namespace
|
379
|
-
export class
|
380
|
-
static TYPE_QNAME = "0x2::
|
460
|
+
export namespace display {
|
461
|
+
export class Display<T0> {
|
462
|
+
static TYPE_QNAME = "0x2::display::Display";
|
381
463
|
id: object_.UID;
|
382
|
-
|
383
|
-
|
384
|
-
url: url.Url;
|
464
|
+
fields: vec_map.VecMap<string, string>;
|
465
|
+
version: number;
|
385
466
|
}
|
386
467
|
|
387
|
-
export class
|
388
|
-
static TYPE_QNAME = "0x2::
|
389
|
-
|
390
|
-
creator: SuiAddress;
|
391
|
-
name: string;
|
468
|
+
export class DisplayCreated<T0> {
|
469
|
+
static TYPE_QNAME = "0x2::display::DisplayCreated";
|
470
|
+
id: object_.ID;
|
392
471
|
}
|
393
472
|
|
394
|
-
export interface
|
395
|
-
extends TypedEventInstance<
|
396
|
-
fields_decoded:
|
397
|
-
type_arguments: [];
|
473
|
+
export interface DisplayCreatedInstance
|
474
|
+
extends TypedEventInstance<DisplayCreated<any>> {
|
475
|
+
fields_decoded: DisplayCreated<any>;
|
476
|
+
type_arguments: [string];
|
398
477
|
}
|
399
478
|
|
400
|
-
export
|
401
|
-
|
402
|
-
|
479
|
+
export class VersionUpdated<T0> {
|
480
|
+
static TYPE_QNAME = "0x2::display::VersionUpdated";
|
481
|
+
id: object_.ID;
|
482
|
+
version: number;
|
483
|
+
fields: vec_map.VecMap<string, string>;
|
403
484
|
}
|
404
485
|
|
405
|
-
export interface
|
406
|
-
extends
|
407
|
-
|
408
|
-
type_arguments: [];
|
486
|
+
export interface VersionUpdatedInstance
|
487
|
+
extends TypedEventInstance<VersionUpdated<any>> {
|
488
|
+
fields_decoded: VersionUpdated<any>;
|
489
|
+
type_arguments: [string];
|
409
490
|
}
|
410
491
|
|
411
|
-
export interface
|
412
|
-
extends TypedFunctionPayload<[SuiAddress]> {
|
413
|
-
arguments_decoded: [SuiAddress];
|
414
|
-
type_arguments: [];
|
492
|
+
export interface AddPayload<T0 = any>
|
493
|
+
extends TypedFunctionPayload<[SuiAddress, string]> {
|
494
|
+
arguments_decoded: [SuiAddress, string];
|
495
|
+
type_arguments: [string];
|
415
496
|
}
|
416
|
-
}
|
417
497
|
|
418
|
-
export
|
419
|
-
|
420
|
-
|
498
|
+
export interface AddMultiplePayload<T0 = any>
|
499
|
+
extends TypedFunctionPayload<[SuiAddress, string[]]> {
|
500
|
+
arguments_decoded: [SuiAddress, string[]];
|
501
|
+
type_arguments: [string];
|
421
502
|
}
|
422
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
423
|
-
address: "0x2",
|
424
|
-
network: SuiNetwork.MAIN_NET,
|
425
|
-
};
|
426
503
|
|
427
|
-
|
428
|
-
|
504
|
+
export interface CreateAndKeepPayload<T0 = any>
|
505
|
+
extends TypedFunctionPayload<[SuiAddress]> {
|
506
|
+
arguments_decoded: [SuiAddress];
|
507
|
+
type_arguments: [string];
|
429
508
|
}
|
430
509
|
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
this.onMoveEvent(
|
436
|
-
func,
|
437
|
-
{
|
438
|
-
type: "digest::Sha3256Digest",
|
439
|
-
},
|
440
|
-
fetchConfig
|
441
|
-
);
|
442
|
-
return this;
|
510
|
+
export interface EditPayload<T0 = any>
|
511
|
+
extends TypedFunctionPayload<[SuiAddress, string]> {
|
512
|
+
arguments_decoded: [SuiAddress, string];
|
513
|
+
type_arguments: [string];
|
443
514
|
}
|
444
|
-
}
|
445
515
|
|
446
|
-
export
|
447
|
-
|
448
|
-
|
449
|
-
|
516
|
+
export interface RemovePayload<T0 = any>
|
517
|
+
extends TypedFunctionPayload<[SuiAddress]> {
|
518
|
+
arguments_decoded: [SuiAddress];
|
519
|
+
type_arguments: [string];
|
450
520
|
}
|
451
521
|
|
452
|
-
export interface
|
453
|
-
extends
|
454
|
-
|
455
|
-
type_arguments: [];
|
522
|
+
export interface UpdateVersionPayload<T0 = any>
|
523
|
+
extends TypedFunctionPayload<[]> {
|
524
|
+
arguments_decoded: [];
|
525
|
+
type_arguments: [string];
|
456
526
|
}
|
457
527
|
}
|
458
528
|
|
@@ -513,116 +583,40 @@ export namespace dynamic_object_field {
|
|
513
583
|
|
514
584
|
export namespace ecdsa_k1 {}
|
515
585
|
|
586
|
+
export namespace ecdsa_r1 {}
|
587
|
+
|
588
|
+
export namespace ecvrf {}
|
589
|
+
|
516
590
|
export namespace ed25519 {}
|
517
591
|
|
518
|
-
export
|
592
|
+
export namespace event {}
|
593
|
+
|
594
|
+
export class groth16 extends SuiBaseProcessor {
|
519
595
|
constructor(options: SuiBindOptions) {
|
520
|
-
super("
|
596
|
+
super("groth16", options);
|
521
597
|
}
|
522
598
|
static DEFAULT_OPTIONS: SuiBindOptions = {
|
523
599
|
address: "0x2",
|
524
600
|
network: SuiNetwork.MAIN_NET,
|
525
601
|
};
|
526
602
|
|
527
|
-
static bind(options: Partial<SuiBindOptions> = {}):
|
528
|
-
return new
|
529
|
-
...elliptic_curve.DEFAULT_OPTIONS,
|
530
|
-
...options,
|
531
|
-
});
|
532
|
-
}
|
533
|
-
|
534
|
-
onEventRistrettoPoint(
|
535
|
-
func: (
|
536
|
-
event: elliptic_curve.RistrettoPointInstance,
|
537
|
-
ctx: SuiContext
|
538
|
-
) => void,
|
539
|
-
fetchConfig?: MoveFetchConfig
|
540
|
-
): elliptic_curve {
|
541
|
-
this.onMoveEvent(
|
542
|
-
func,
|
543
|
-
{
|
544
|
-
type: "elliptic_curve::RistrettoPoint",
|
545
|
-
},
|
546
|
-
fetchConfig
|
547
|
-
);
|
548
|
-
return this;
|
603
|
+
static bind(options: Partial<SuiBindOptions> = {}): groth16 {
|
604
|
+
return new groth16({ ...groth16.DEFAULT_OPTIONS, ...options });
|
549
605
|
}
|
550
606
|
|
551
|
-
|
552
|
-
func: (event:
|
607
|
+
onEventCurve(
|
608
|
+
func: (event: groth16.CurveInstance, ctx: SuiContext) => void,
|
553
609
|
fetchConfig?: MoveFetchConfig
|
554
|
-
):
|
610
|
+
): groth16 {
|
555
611
|
this.onMoveEvent(
|
556
612
|
func,
|
557
613
|
{
|
558
|
-
type: "
|
614
|
+
type: "groth16::Curve",
|
559
615
|
},
|
560
616
|
fetchConfig
|
561
617
|
);
|
562
618
|
return this;
|
563
619
|
}
|
564
|
-
}
|
565
|
-
|
566
|
-
export namespace elliptic_curve {
|
567
|
-
export class RistrettoPoint {
|
568
|
-
static TYPE_QNAME = "0x2::elliptic_curve::RistrettoPoint";
|
569
|
-
value: number[];
|
570
|
-
}
|
571
|
-
|
572
|
-
export interface RistrettoPointInstance
|
573
|
-
extends TypedEventInstance<RistrettoPoint> {
|
574
|
-
fields_decoded: RistrettoPoint;
|
575
|
-
type_arguments: [];
|
576
|
-
}
|
577
|
-
|
578
|
-
export class Scalar {
|
579
|
-
static TYPE_QNAME = "0x2::elliptic_curve::Scalar";
|
580
|
-
value: number[];
|
581
|
-
}
|
582
|
-
|
583
|
-
export interface ScalarInstance extends TypedEventInstance<Scalar> {
|
584
|
-
fields_decoded: Scalar;
|
585
|
-
type_arguments: [];
|
586
|
-
}
|
587
|
-
}
|
588
|
-
|
589
|
-
export namespace epoch_time_lock {
|
590
|
-
export class EpochTimeLock {
|
591
|
-
static TYPE_QNAME = "0x2::epoch_time_lock::EpochTimeLock";
|
592
|
-
epoch: bigint;
|
593
|
-
}
|
594
|
-
}
|
595
|
-
|
596
|
-
export namespace erc721_metadata {
|
597
|
-
export class ERC721Metadata {
|
598
|
-
static TYPE_QNAME = "0x2::erc721_metadata::ERC721Metadata";
|
599
|
-
token_id: erc721_metadata.TokenID;
|
600
|
-
name: string;
|
601
|
-
token_uri: url.Url;
|
602
|
-
}
|
603
|
-
|
604
|
-
export class TokenID {
|
605
|
-
static TYPE_QNAME = "0x2::erc721_metadata::TokenID";
|
606
|
-
id: bigint;
|
607
|
-
}
|
608
|
-
}
|
609
|
-
|
610
|
-
export namespace event {}
|
611
|
-
|
612
|
-
export namespace genesis {}
|
613
|
-
|
614
|
-
export class groth16 extends SuiBaseProcessor {
|
615
|
-
constructor(options: SuiBindOptions) {
|
616
|
-
super("groth16", options);
|
617
|
-
}
|
618
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
619
|
-
address: "0x2",
|
620
|
-
network: SuiNetwork.MAIN_NET,
|
621
|
-
};
|
622
|
-
|
623
|
-
static bind(options: Partial<SuiBindOptions> = {}): groth16 {
|
624
|
-
return new groth16({ ...groth16.DEFAULT_OPTIONS, ...options });
|
625
|
-
}
|
626
620
|
|
627
621
|
onEventPreparedVerifyingKey(
|
628
622
|
func: (
|
@@ -671,6 +665,16 @@ export class groth16 extends SuiBaseProcessor {
|
|
671
665
|
}
|
672
666
|
|
673
667
|
export namespace groth16 {
|
668
|
+
export class Curve {
|
669
|
+
static TYPE_QNAME = "0x2::groth16::Curve";
|
670
|
+
id: number;
|
671
|
+
}
|
672
|
+
|
673
|
+
export interface CurveInstance extends TypedEventInstance<Curve> {
|
674
|
+
fields_decoded: Curve;
|
675
|
+
type_arguments: [];
|
676
|
+
}
|
677
|
+
|
674
678
|
export class PreparedVerifyingKey {
|
675
679
|
static TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
|
676
680
|
vk_gamma_abc_g1_bytes: number[];
|
@@ -707,117 +711,75 @@ export namespace groth16 {
|
|
707
711
|
}
|
708
712
|
}
|
709
713
|
|
714
|
+
export namespace hash {}
|
715
|
+
|
710
716
|
export namespace hex {}
|
711
717
|
|
712
718
|
export namespace hmac {}
|
713
719
|
|
714
|
-
export class
|
720
|
+
export class kiosk extends SuiBaseProcessor {
|
715
721
|
constructor(options: SuiBindOptions) {
|
716
|
-
super("
|
722
|
+
super("kiosk", options);
|
717
723
|
}
|
718
724
|
static DEFAULT_OPTIONS: SuiBindOptions = {
|
719
725
|
address: "0x2",
|
720
726
|
network: SuiNetwork.MAIN_NET,
|
721
727
|
};
|
722
728
|
|
723
|
-
static bind(
|
724
|
-
|
725
|
-
): immutable_external_resource {
|
726
|
-
return new immutable_external_resource({
|
727
|
-
...immutable_external_resource.DEFAULT_OPTIONS,
|
728
|
-
...options,
|
729
|
-
});
|
729
|
+
static bind(options: Partial<SuiBindOptions> = {}): kiosk {
|
730
|
+
return new kiosk({ ...kiosk.DEFAULT_OPTIONS, ...options });
|
730
731
|
}
|
731
732
|
|
732
|
-
|
733
|
-
func: (
|
734
|
-
event: immutable_external_resource.ImmutableExternalResourceInstance,
|
735
|
-
ctx: SuiContext
|
736
|
-
) => void,
|
733
|
+
onEventItem(
|
734
|
+
func: (event: kiosk.ItemInstance, ctx: SuiContext) => void,
|
737
735
|
fetchConfig?: MoveFetchConfig
|
738
|
-
):
|
736
|
+
): kiosk {
|
739
737
|
this.onMoveEvent(
|
740
738
|
func,
|
741
739
|
{
|
742
|
-
type: "
|
740
|
+
type: "kiosk::Item",
|
743
741
|
},
|
744
742
|
fetchConfig
|
745
743
|
);
|
746
744
|
return this;
|
747
745
|
}
|
748
|
-
}
|
749
|
-
|
750
|
-
export namespace immutable_external_resource {
|
751
|
-
export class ImmutableExternalResource {
|
752
|
-
static TYPE_QNAME =
|
753
|
-
"0x2::immutable_external_resource::ImmutableExternalResource";
|
754
|
-
url: url.Url;
|
755
|
-
digest: digest.Sha3256Digest;
|
756
|
-
}
|
757
|
-
|
758
|
-
export interface ImmutableExternalResourceInstance
|
759
|
-
extends TypedEventInstance<ImmutableExternalResource> {
|
760
|
-
fields_decoded: ImmutableExternalResource;
|
761
|
-
type_arguments: [];
|
762
|
-
}
|
763
|
-
}
|
764
|
-
|
765
|
-
export namespace linked_table {
|
766
|
-
export class LinkedTable<T0, T1> {
|
767
|
-
static TYPE_QNAME = "0x2::linked_table::LinkedTable";
|
768
|
-
id: object_.UID;
|
769
|
-
size: bigint;
|
770
|
-
head: _0x1.option.Option<T0>;
|
771
|
-
tail: _0x1.option.Option<T0>;
|
772
|
-
}
|
773
|
-
|
774
|
-
export class Node<T0, T1> {
|
775
|
-
static TYPE_QNAME = "0x2::linked_table::Node";
|
776
|
-
prev: _0x1.option.Option<T0>;
|
777
|
-
next: _0x1.option.Option<T0>;
|
778
|
-
value: T1;
|
779
|
-
}
|
780
|
-
}
|
781
|
-
|
782
|
-
export class locked_coin extends SuiBaseProcessor {
|
783
|
-
constructor(options: SuiBindOptions) {
|
784
|
-
super("locked_coin", options);
|
785
|
-
}
|
786
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
787
|
-
address: "0x2",
|
788
|
-
network: SuiNetwork.MAIN_NET,
|
789
|
-
};
|
790
746
|
|
791
|
-
|
792
|
-
|
747
|
+
onEventItemListed(
|
748
|
+
func: (event: kiosk.ItemListedInstance, ctx: SuiContext) => void,
|
749
|
+
fetchConfig?: MoveFetchConfig
|
750
|
+
): kiosk {
|
751
|
+
this.onMoveEvent(
|
752
|
+
func,
|
753
|
+
{
|
754
|
+
type: "kiosk::ItemListed",
|
755
|
+
},
|
756
|
+
fetchConfig
|
757
|
+
);
|
758
|
+
return this;
|
793
759
|
}
|
794
760
|
|
795
|
-
|
796
|
-
func: (
|
797
|
-
filter?: CallFilter,
|
761
|
+
onEventListing(
|
762
|
+
func: (event: kiosk.ListingInstance, ctx: SuiContext) => void,
|
798
763
|
fetchConfig?: MoveFetchConfig
|
799
|
-
):
|
800
|
-
this.
|
764
|
+
): kiosk {
|
765
|
+
this.onMoveEvent(
|
801
766
|
func,
|
802
767
|
{
|
803
|
-
|
804
|
-
function: "locked_coin::lock_coin",
|
768
|
+
type: "kiosk::Listing",
|
805
769
|
},
|
806
770
|
fetchConfig
|
807
771
|
);
|
808
772
|
return this;
|
809
773
|
}
|
810
774
|
|
811
|
-
|
812
|
-
func: (
|
813
|
-
filter?: CallFilter,
|
775
|
+
onEventLock(
|
776
|
+
func: (event: kiosk.LockInstance, ctx: SuiContext) => void,
|
814
777
|
fetchConfig?: MoveFetchConfig
|
815
|
-
):
|
816
|
-
this.
|
778
|
+
): kiosk {
|
779
|
+
this.onMoveEvent(
|
817
780
|
func,
|
818
781
|
{
|
819
|
-
|
820
|
-
function: "locked_coin::unlock_coin",
|
782
|
+
type: "kiosk::Lock",
|
821
783
|
},
|
822
784
|
fetchConfig
|
823
785
|
);
|
@@ -825,56 +787,230 @@ export class locked_coin extends SuiBaseProcessor {
|
|
825
787
|
}
|
826
788
|
}
|
827
789
|
|
828
|
-
export namespace
|
829
|
-
export class
|
830
|
-
static TYPE_QNAME = "0x2::
|
831
|
-
id: object_.
|
832
|
-
balance: balance.Balance<T0>;
|
833
|
-
locked_until_epoch: epoch_time_lock.EpochTimeLock;
|
790
|
+
export namespace kiosk {
|
791
|
+
export class Item {
|
792
|
+
static TYPE_QNAME = "0x2::kiosk::Item";
|
793
|
+
id: object_.ID;
|
834
794
|
}
|
835
795
|
|
836
|
-
export interface
|
837
|
-
|
838
|
-
|
839
|
-
|
796
|
+
export interface ItemInstance extends TypedEventInstance<Item> {
|
797
|
+
fields_decoded: Item;
|
798
|
+
type_arguments: [];
|
799
|
+
}
|
800
|
+
|
801
|
+
export class ItemListed<T0> {
|
802
|
+
static TYPE_QNAME = "0x2::kiosk::ItemListed";
|
803
|
+
kiosk: object_.ID;
|
804
|
+
id: object_.ID;
|
805
|
+
price: bigint;
|
840
806
|
}
|
841
807
|
|
842
|
-
export interface
|
843
|
-
extends
|
844
|
-
|
808
|
+
export interface ItemListedInstance
|
809
|
+
extends TypedEventInstance<ItemListed<any>> {
|
810
|
+
fields_decoded: ItemListed<any>;
|
845
811
|
type_arguments: [string];
|
846
812
|
}
|
847
|
-
}
|
848
813
|
|
849
|
-
export
|
814
|
+
export class Kiosk {
|
815
|
+
static TYPE_QNAME = "0x2::kiosk::Kiosk";
|
816
|
+
id: object_.UID;
|
817
|
+
profits: balance.Balance<sui.SUI>;
|
818
|
+
owner: SuiAddress;
|
819
|
+
item_count: number;
|
820
|
+
allow_extensions: Boolean;
|
821
|
+
}
|
850
822
|
|
851
|
-
export
|
852
|
-
|
823
|
+
export class KioskOwnerCap {
|
824
|
+
static TYPE_QNAME = "0x2::kiosk::KioskOwnerCap";
|
825
|
+
id: object_.UID;
|
826
|
+
for: object_.ID;
|
827
|
+
}
|
853
828
|
|
854
|
-
export class
|
855
|
-
static TYPE_QNAME = "0x2::
|
829
|
+
export class Listing {
|
830
|
+
static TYPE_QNAME = "0x2::kiosk::Listing";
|
856
831
|
id: object_.ID;
|
832
|
+
is_exclusive: Boolean;
|
857
833
|
}
|
858
|
-
}
|
859
834
|
|
860
|
-
export
|
861
|
-
|
862
|
-
|
863
|
-
id: object_.UID;
|
864
|
-
size: bigint;
|
835
|
+
export interface ListingInstance extends TypedEventInstance<Listing> {
|
836
|
+
fields_decoded: Listing;
|
837
|
+
type_arguments: [];
|
865
838
|
}
|
866
|
-
}
|
867
839
|
|
868
|
-
export
|
869
|
-
|
870
|
-
|
840
|
+
export class Lock {
|
841
|
+
static TYPE_QNAME = "0x2::kiosk::Lock";
|
842
|
+
id: object_.ID;
|
843
|
+
}
|
844
|
+
|
845
|
+
export interface LockInstance extends TypedEventInstance<Lock> {
|
846
|
+
fields_decoded: Lock;
|
847
|
+
type_arguments: [];
|
848
|
+
}
|
849
|
+
|
850
|
+
export class PurchaseCap<T0> {
|
851
|
+
static TYPE_QNAME = "0x2::kiosk::PurchaseCap";
|
871
852
|
id: object_.UID;
|
872
|
-
|
853
|
+
kiosk_id: object_.ID;
|
854
|
+
item_id: object_.ID;
|
855
|
+
min_price: bigint;
|
873
856
|
}
|
874
857
|
}
|
875
858
|
|
876
|
-
export
|
877
|
-
|
859
|
+
export namespace linked_table {
|
860
|
+
export class LinkedTable<T0, T1> {
|
861
|
+
static TYPE_QNAME = "0x2::linked_table::LinkedTable";
|
862
|
+
id: object_.UID;
|
863
|
+
size: bigint;
|
864
|
+
head: _0x1.option.Option<T0>;
|
865
|
+
tail: _0x1.option.Option<T0>;
|
866
|
+
}
|
867
|
+
|
868
|
+
export class Node<T0, T1> {
|
869
|
+
static TYPE_QNAME = "0x2::linked_table::Node";
|
870
|
+
prev: _0x1.option.Option<T0>;
|
871
|
+
next: _0x1.option.Option<T0>;
|
872
|
+
value: T1;
|
873
|
+
}
|
874
|
+
}
|
875
|
+
|
876
|
+
export namespace math {}
|
877
|
+
|
878
|
+
export namespace object_ {
|
879
|
+
export type ID = string;
|
880
|
+
|
881
|
+
export class UID {
|
882
|
+
static TYPE_QNAME = "0x2::object::UID";
|
883
|
+
id: object_.ID;
|
884
|
+
}
|
885
|
+
}
|
886
|
+
|
887
|
+
export namespace object_bag {
|
888
|
+
export class ObjectBag {
|
889
|
+
static TYPE_QNAME = "0x2::object_bag::ObjectBag";
|
890
|
+
id: object_.UID;
|
891
|
+
size: bigint;
|
892
|
+
}
|
893
|
+
}
|
894
|
+
|
895
|
+
export namespace object_table {
|
896
|
+
export class ObjectTable<T0, T1> {
|
897
|
+
static TYPE_QNAME = "0x2::object_table::ObjectTable";
|
898
|
+
id: object_.UID;
|
899
|
+
size: bigint;
|
900
|
+
}
|
901
|
+
}
|
902
|
+
|
903
|
+
export class package_ extends SuiBaseProcessor {
|
904
|
+
constructor(options: SuiBindOptions) {
|
905
|
+
super("package", options);
|
906
|
+
}
|
907
|
+
static DEFAULT_OPTIONS: SuiBindOptions = {
|
908
|
+
address: "0x2",
|
909
|
+
network: SuiNetwork.MAIN_NET,
|
910
|
+
};
|
911
|
+
|
912
|
+
static bind(options: Partial<SuiBindOptions> = {}): package_ {
|
913
|
+
return new package_({ ...package_.DEFAULT_OPTIONS, ...options });
|
914
|
+
}
|
915
|
+
|
916
|
+
onEntryMakeImmutable(
|
917
|
+
func: (call: package_.MakeImmutablePayload, ctx: SuiContext) => void,
|
918
|
+
filter?: CallFilter,
|
919
|
+
fetchConfig?: MoveFetchConfig
|
920
|
+
): package_ {
|
921
|
+
this.onEntryFunctionCall(
|
922
|
+
func,
|
923
|
+
{
|
924
|
+
...filter,
|
925
|
+
function: "package::make_immutable",
|
926
|
+
},
|
927
|
+
fetchConfig
|
928
|
+
);
|
929
|
+
return this;
|
930
|
+
}
|
931
|
+
|
932
|
+
onEntryOnlyAdditiveUpgrades(
|
933
|
+
func: (call: package_.OnlyAdditiveUpgradesPayload, ctx: SuiContext) => void,
|
934
|
+
filter?: CallFilter,
|
935
|
+
fetchConfig?: MoveFetchConfig
|
936
|
+
): package_ {
|
937
|
+
this.onEntryFunctionCall(
|
938
|
+
func,
|
939
|
+
{
|
940
|
+
...filter,
|
941
|
+
function: "package::only_additive_upgrades",
|
942
|
+
},
|
943
|
+
fetchConfig
|
944
|
+
);
|
945
|
+
return this;
|
946
|
+
}
|
947
|
+
|
948
|
+
onEntryOnlyDepUpgrades(
|
949
|
+
func: (call: package_.OnlyDepUpgradesPayload, ctx: SuiContext) => void,
|
950
|
+
filter?: CallFilter,
|
951
|
+
fetchConfig?: MoveFetchConfig
|
952
|
+
): package_ {
|
953
|
+
this.onEntryFunctionCall(
|
954
|
+
func,
|
955
|
+
{
|
956
|
+
...filter,
|
957
|
+
function: "package::only_dep_upgrades",
|
958
|
+
},
|
959
|
+
fetchConfig
|
960
|
+
);
|
961
|
+
return this;
|
962
|
+
}
|
963
|
+
}
|
964
|
+
|
965
|
+
export namespace package_ {
|
966
|
+
export class Publisher {
|
967
|
+
static TYPE_QNAME = "0x2::package::Publisher";
|
968
|
+
id: object_.UID;
|
969
|
+
package: _0x1.ascii.String;
|
970
|
+
module_name: _0x1.ascii.String;
|
971
|
+
}
|
972
|
+
|
973
|
+
export class UpgradeCap {
|
974
|
+
static TYPE_QNAME = "0x2::package::UpgradeCap";
|
975
|
+
id: object_.UID;
|
976
|
+
package: object_.ID;
|
977
|
+
version: bigint;
|
978
|
+
policy: number;
|
979
|
+
}
|
980
|
+
|
981
|
+
export class UpgradeReceipt {
|
982
|
+
static TYPE_QNAME = "0x2::package::UpgradeReceipt";
|
983
|
+
cap: object_.ID;
|
984
|
+
package: object_.ID;
|
985
|
+
}
|
986
|
+
|
987
|
+
export class UpgradeTicket {
|
988
|
+
static TYPE_QNAME = "0x2::package::UpgradeTicket";
|
989
|
+
cap: object_.ID;
|
990
|
+
package: object_.ID;
|
991
|
+
policy: number;
|
992
|
+
digest: number[];
|
993
|
+
}
|
994
|
+
|
995
|
+
export interface MakeImmutablePayload extends TypedFunctionPayload<[]> {
|
996
|
+
arguments_decoded: [];
|
997
|
+
type_arguments: [];
|
998
|
+
}
|
999
|
+
|
1000
|
+
export interface OnlyAdditiveUpgradesPayload
|
1001
|
+
extends TypedFunctionPayload<[]> {
|
1002
|
+
arguments_decoded: [];
|
1003
|
+
type_arguments: [];
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
export interface OnlyDepUpgradesPayload extends TypedFunctionPayload<[]> {
|
1007
|
+
arguments_decoded: [];
|
1008
|
+
type_arguments: [];
|
1009
|
+
}
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
export class pay extends SuiBaseProcessor {
|
1013
|
+
constructor(options: SuiBindOptions) {
|
878
1014
|
super("pay", options);
|
879
1015
|
}
|
880
1016
|
static DEFAULT_OPTIONS: SuiBindOptions = {
|
@@ -1056,121 +1192,109 @@ export namespace priority_queue {
|
|
1056
1192
|
}
|
1057
1193
|
}
|
1058
1194
|
|
1059
|
-
export namespace
|
1060
|
-
export class Publisher {
|
1061
|
-
static TYPE_QNAME = "0x2::publisher::Publisher";
|
1062
|
-
id: object_.UID;
|
1063
|
-
package: _0x1.ascii.String;
|
1064
|
-
module_name: _0x1.ascii.String;
|
1065
|
-
}
|
1066
|
-
}
|
1195
|
+
export namespace prover {}
|
1067
1196
|
|
1068
|
-
export class
|
1197
|
+
export class sui extends SuiBaseProcessor {
|
1069
1198
|
constructor(options: SuiBindOptions) {
|
1070
|
-
super("
|
1199
|
+
super("sui", options);
|
1071
1200
|
}
|
1072
1201
|
static DEFAULT_OPTIONS: SuiBindOptions = {
|
1073
1202
|
address: "0x2",
|
1074
1203
|
network: SuiNetwork.MAIN_NET,
|
1075
1204
|
};
|
1076
1205
|
|
1077
|
-
static bind(options: Partial<SuiBindOptions> = {}):
|
1078
|
-
return new
|
1206
|
+
static bind(options: Partial<SuiBindOptions> = {}): sui {
|
1207
|
+
return new sui({ ...sui.DEFAULT_OPTIONS, ...options });
|
1079
1208
|
}
|
1080
1209
|
|
1081
|
-
|
1082
|
-
func: (call:
|
1210
|
+
onEntryTransfer(
|
1211
|
+
func: (call: sui.TransferPayload, ctx: SuiContext) => void,
|
1083
1212
|
filter?: CallFilter,
|
1084
1213
|
fetchConfig?: MoveFetchConfig
|
1085
|
-
):
|
1214
|
+
): sui {
|
1086
1215
|
this.onEntryFunctionCall(
|
1087
1216
|
func,
|
1088
1217
|
{
|
1089
1218
|
...filter,
|
1090
|
-
function: "
|
1219
|
+
function: "sui::transfer",
|
1091
1220
|
},
|
1092
1221
|
fetchConfig
|
1093
1222
|
);
|
1094
1223
|
return this;
|
1095
1224
|
}
|
1225
|
+
}
|
1096
1226
|
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
): safe {
|
1102
|
-
this.onEntryFunctionCall(
|
1103
|
-
func,
|
1104
|
-
{
|
1105
|
-
...filter,
|
1106
|
-
function: "safe::create_empty",
|
1107
|
-
},
|
1108
|
-
fetchConfig
|
1109
|
-
);
|
1110
|
-
return this;
|
1227
|
+
export namespace sui {
|
1228
|
+
export class SUI {
|
1229
|
+
static TYPE_QNAME = "0x2::sui::SUI";
|
1230
|
+
dummy_field: Boolean;
|
1111
1231
|
}
|
1112
1232
|
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
): safe {
|
1118
|
-
this.onEntryFunctionCall(
|
1119
|
-
func,
|
1120
|
-
{
|
1121
|
-
...filter,
|
1122
|
-
function: "safe::deposit",
|
1123
|
-
},
|
1124
|
-
fetchConfig
|
1125
|
-
);
|
1126
|
-
return this;
|
1233
|
+
export interface TransferPayload
|
1234
|
+
extends TypedFunctionPayload<[coin.Coin<sui.SUI>]> {
|
1235
|
+
arguments_decoded: [coin.Coin<sui.SUI>];
|
1236
|
+
type_arguments: [];
|
1127
1237
|
}
|
1238
|
+
}
|
1128
1239
|
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1240
|
+
export namespace table {
|
1241
|
+
export class Table<T0, T1> {
|
1242
|
+
static TYPE_QNAME = "0x2::table::Table";
|
1243
|
+
id: object_.UID;
|
1244
|
+
size: bigint;
|
1245
|
+
}
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
export namespace table_vec {
|
1249
|
+
export class TableVec<T0> {
|
1250
|
+
static TYPE_QNAME = "0x2::table_vec::TableVec";
|
1251
|
+
contents: table.Table<bigint, T0>;
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
|
1255
|
+
export namespace transfer {}
|
1256
|
+
|
1257
|
+
export class transfer_policy extends SuiBaseProcessor {
|
1258
|
+
constructor(options: SuiBindOptions) {
|
1259
|
+
super("transfer_policy", options);
|
1260
|
+
}
|
1261
|
+
static DEFAULT_OPTIONS: SuiBindOptions = {
|
1262
|
+
address: "0x2",
|
1263
|
+
network: SuiNetwork.MAIN_NET,
|
1264
|
+
};
|
1265
|
+
|
1266
|
+
static bind(options: Partial<SuiBindOptions> = {}): transfer_policy {
|
1267
|
+
return new transfer_policy({
|
1268
|
+
...transfer_policy.DEFAULT_OPTIONS,
|
1269
|
+
...options,
|
1270
|
+
});
|
1271
|
+
}
|
1272
|
+
|
1273
|
+
onEventRuleKey(
|
1274
|
+
func: (event: transfer_policy.RuleKeyInstance, ctx: SuiContext) => void,
|
1132
1275
|
fetchConfig?: MoveFetchConfig
|
1133
|
-
):
|
1134
|
-
this.
|
1276
|
+
): transfer_policy {
|
1277
|
+
this.onMoveEvent(
|
1135
1278
|
func,
|
1136
1279
|
{
|
1137
|
-
|
1138
|
-
function: "safe::revoke_transfer_capability",
|
1280
|
+
type: "transfer_policy::RuleKey",
|
1139
1281
|
},
|
1140
1282
|
fetchConfig
|
1141
1283
|
);
|
1142
1284
|
return this;
|
1143
1285
|
}
|
1144
1286
|
|
1145
|
-
|
1287
|
+
onEventTransferPolicyCreated(
|
1146
1288
|
func: (
|
1147
|
-
|
1289
|
+
event: transfer_policy.TransferPolicyCreatedInstance,
|
1148
1290
|
ctx: SuiContext
|
1149
1291
|
) => void,
|
1150
|
-
filter?: CallFilter,
|
1151
|
-
fetchConfig?: MoveFetchConfig
|
1152
|
-
): safe {
|
1153
|
-
this.onEntryFunctionCall(
|
1154
|
-
func,
|
1155
|
-
{
|
1156
|
-
...filter,
|
1157
|
-
function: "safe::self_revoke_transfer_capability",
|
1158
|
-
},
|
1159
|
-
fetchConfig
|
1160
|
-
);
|
1161
|
-
return this;
|
1162
|
-
}
|
1163
|
-
|
1164
|
-
onEntryWithdraw(
|
1165
|
-
func: (call: safe.WithdrawPayload, ctx: SuiContext) => void,
|
1166
|
-
filter?: CallFilter,
|
1167
1292
|
fetchConfig?: MoveFetchConfig
|
1168
|
-
):
|
1169
|
-
this.
|
1293
|
+
): transfer_policy {
|
1294
|
+
this.onMoveEvent(
|
1170
1295
|
func,
|
1171
1296
|
{
|
1172
|
-
|
1173
|
-
function: "safe::withdraw",
|
1297
|
+
type: "transfer_policy::TransferPolicyCreated",
|
1174
1298
|
},
|
1175
1299
|
fetchConfig
|
1176
1300
|
);
|
@@ -1178,1025 +1302,81 @@ export class safe extends SuiBaseProcessor {
|
|
1178
1302
|
}
|
1179
1303
|
}
|
1180
1304
|
|
1181
|
-
export namespace
|
1182
|
-
export class
|
1183
|
-
static TYPE_QNAME = "0x2::
|
1184
|
-
|
1185
|
-
safe_id: object_.ID;
|
1305
|
+
export namespace transfer_policy {
|
1306
|
+
export class RuleKey<T0> {
|
1307
|
+
static TYPE_QNAME = "0x2::transfer_policy::RuleKey";
|
1308
|
+
dummy_field: Boolean;
|
1186
1309
|
}
|
1187
1310
|
|
1188
|
-
export
|
1189
|
-
|
1190
|
-
|
1191
|
-
balance: balance.Balance<T0>;
|
1192
|
-
allowed_safes: vec_set.VecSet<object_.ID>;
|
1311
|
+
export interface RuleKeyInstance extends TypedEventInstance<RuleKey<any>> {
|
1312
|
+
fields_decoded: RuleKey<any>;
|
1313
|
+
type_arguments: [string];
|
1193
1314
|
}
|
1194
1315
|
|
1195
|
-
export class
|
1196
|
-
static TYPE_QNAME = "0x2::
|
1316
|
+
export class TransferPolicy<T0> {
|
1317
|
+
static TYPE_QNAME = "0x2::transfer_policy::TransferPolicy";
|
1197
1318
|
id: object_.UID;
|
1198
|
-
|
1199
|
-
|
1200
|
-
}
|
1201
|
-
|
1202
|
-
export interface CreatePayload<T0 = any>
|
1203
|
-
extends TypedFunctionPayload<[coin.Coin<T0>]> {
|
1204
|
-
arguments_decoded: [coin.Coin<T0>];
|
1205
|
-
type_arguments: [string];
|
1319
|
+
balance: balance.Balance<sui.SUI>;
|
1320
|
+
rules: vec_set.VecSet<_0x1.type_name.TypeName>;
|
1206
1321
|
}
|
1207
1322
|
|
1208
|
-
export
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1323
|
+
export class TransferPolicyCap<T0> {
|
1324
|
+
static TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCap";
|
1325
|
+
id: object_.UID;
|
1326
|
+
policy_id: object_.ID;
|
1212
1327
|
}
|
1213
1328
|
|
1214
|
-
export
|
1215
|
-
|
1216
|
-
|
1217
|
-
type_arguments: [string];
|
1329
|
+
export class TransferPolicyCreated<T0> {
|
1330
|
+
static TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCreated";
|
1331
|
+
id: object_.ID;
|
1218
1332
|
}
|
1219
1333
|
|
1220
|
-
export interface
|
1221
|
-
extends
|
1222
|
-
|
1334
|
+
export interface TransferPolicyCreatedInstance
|
1335
|
+
extends TypedEventInstance<TransferPolicyCreated<any>> {
|
1336
|
+
fields_decoded: TransferPolicyCreated<any>;
|
1223
1337
|
type_arguments: [string];
|
1224
1338
|
}
|
1225
1339
|
|
1226
|
-
export
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1340
|
+
export class TransferRequest<T0> {
|
1341
|
+
static TYPE_QNAME = "0x2::transfer_policy::TransferRequest";
|
1342
|
+
item: object_.ID;
|
1343
|
+
paid: bigint;
|
1344
|
+
from: object_.ID;
|
1345
|
+
receipts: vec_set.VecSet<_0x1.type_name.TypeName>;
|
1230
1346
|
}
|
1347
|
+
}
|
1231
1348
|
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1349
|
+
export namespace tx_context {
|
1350
|
+
export class TxContext {
|
1351
|
+
static TYPE_QNAME = "0x2::tx_context::TxContext";
|
1352
|
+
sender: SuiAddress;
|
1353
|
+
tx_hash: number[];
|
1354
|
+
epoch: bigint;
|
1355
|
+
epoch_timestamp_ms: bigint;
|
1356
|
+
ids_created: bigint;
|
1236
1357
|
}
|
1237
1358
|
}
|
1238
1359
|
|
1239
|
-
export
|
1360
|
+
export namespace types {}
|
1361
|
+
|
1362
|
+
export class url extends SuiBaseProcessor {
|
1240
1363
|
constructor(options: SuiBindOptions) {
|
1241
|
-
super("
|
1364
|
+
super("url", options);
|
1242
1365
|
}
|
1243
1366
|
static DEFAULT_OPTIONS: SuiBindOptions = {
|
1244
1367
|
address: "0x2",
|
1245
1368
|
network: SuiNetwork.MAIN_NET,
|
1246
1369
|
};
|
1247
1370
|
|
1248
|
-
static bind(options: Partial<SuiBindOptions> = {}):
|
1249
|
-
return new
|
1371
|
+
static bind(options: Partial<SuiBindOptions> = {}): url {
|
1372
|
+
return new url({ ...url.DEFAULT_OPTIONS, ...options });
|
1250
1373
|
}
|
1251
1374
|
|
1252
|
-
|
1253
|
-
func: (
|
1254
|
-
filter?: CallFilter,
|
1375
|
+
onEventUrl(
|
1376
|
+
func: (event: url.UrlInstance, ctx: SuiContext) => void,
|
1255
1377
|
fetchConfig?: MoveFetchConfig
|
1256
|
-
):
|
1257
|
-
this.
|
1258
|
-
func,
|
1259
|
-
{
|
1260
|
-
...filter,
|
1261
|
-
function: "stake::burn",
|
1262
|
-
},
|
1263
|
-
fetchConfig
|
1264
|
-
);
|
1265
|
-
return this;
|
1266
|
-
}
|
1267
|
-
}
|
1268
|
-
|
1269
|
-
export namespace stake {
|
1270
|
-
export class Stake {
|
1271
|
-
static TYPE_QNAME = "0x2::stake::Stake";
|
1272
|
-
id: object_.UID;
|
1273
|
-
balance: balance.Balance<sui.SUI>;
|
1274
|
-
locked_until_epoch: _0x1.option.Option<epoch_time_lock.EpochTimeLock>;
|
1275
|
-
}
|
1276
|
-
|
1277
|
-
export interface BurnPayload extends TypedFunctionPayload<[stake.Stake]> {
|
1278
|
-
arguments_decoded: [stake.Stake];
|
1279
|
-
type_arguments: [];
|
1280
|
-
}
|
1281
|
-
}
|
1282
|
-
|
1283
|
-
export namespace stake_subsidy {
|
1284
|
-
export class StakeSubsidy {
|
1285
|
-
static TYPE_QNAME = "0x2::stake_subsidy::StakeSubsidy";
|
1286
|
-
epoch_counter: bigint;
|
1287
|
-
balance: balance.Balance<sui.SUI>;
|
1288
|
-
current_epoch_amount: bigint;
|
1289
|
-
}
|
1290
|
-
}
|
1291
|
-
|
1292
|
-
export class staking_pool extends SuiBaseProcessor {
|
1293
|
-
constructor(options: SuiBindOptions) {
|
1294
|
-
super("staking_pool", options);
|
1295
|
-
}
|
1296
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
1297
|
-
address: "0x2",
|
1298
|
-
network: SuiNetwork.MAIN_NET,
|
1299
|
-
};
|
1300
|
-
|
1301
|
-
static bind(options: Partial<SuiBindOptions> = {}): staking_pool {
|
1302
|
-
return new staking_pool({ ...staking_pool.DEFAULT_OPTIONS, ...options });
|
1303
|
-
}
|
1304
|
-
|
1305
|
-
onEntryDestroyEmptyDelegation(
|
1306
|
-
func: (
|
1307
|
-
call: staking_pool.DestroyEmptyDelegationPayload,
|
1308
|
-
ctx: SuiContext
|
1309
|
-
) => void,
|
1310
|
-
filter?: CallFilter,
|
1311
|
-
fetchConfig?: MoveFetchConfig
|
1312
|
-
): staking_pool {
|
1313
|
-
this.onEntryFunctionCall(
|
1314
|
-
func,
|
1315
|
-
{
|
1316
|
-
...filter,
|
1317
|
-
function: "staking_pool::destroy_empty_delegation",
|
1318
|
-
},
|
1319
|
-
fetchConfig
|
1320
|
-
);
|
1321
|
-
return this;
|
1322
|
-
}
|
1323
|
-
|
1324
|
-
onEntryDestroyEmptyStakedSui(
|
1325
|
-
func: (
|
1326
|
-
call: staking_pool.DestroyEmptyStakedSuiPayload,
|
1327
|
-
ctx: SuiContext
|
1328
|
-
) => void,
|
1329
|
-
filter?: CallFilter,
|
1330
|
-
fetchConfig?: MoveFetchConfig
|
1331
|
-
): staking_pool {
|
1332
|
-
this.onEntryFunctionCall(
|
1333
|
-
func,
|
1334
|
-
{
|
1335
|
-
...filter,
|
1336
|
-
function: "staking_pool::destroy_empty_staked_sui",
|
1337
|
-
},
|
1338
|
-
fetchConfig
|
1339
|
-
);
|
1340
|
-
return this;
|
1341
|
-
}
|
1342
|
-
|
1343
|
-
onEntryWithdrawFromInactivePool(
|
1344
|
-
func: (
|
1345
|
-
call: staking_pool.WithdrawFromInactivePoolPayload,
|
1346
|
-
ctx: SuiContext
|
1347
|
-
) => void,
|
1348
|
-
filter?: CallFilter,
|
1349
|
-
fetchConfig?: MoveFetchConfig
|
1350
|
-
): staking_pool {
|
1351
|
-
this.onEntryFunctionCall(
|
1352
|
-
func,
|
1353
|
-
{
|
1354
|
-
...filter,
|
1355
|
-
function: "staking_pool::withdraw_from_inactive_pool",
|
1356
|
-
},
|
1357
|
-
fetchConfig
|
1358
|
-
);
|
1359
|
-
return this;
|
1360
|
-
}
|
1361
|
-
|
1362
|
-
onEventPoolTokenExchangeRate(
|
1363
|
-
func: (
|
1364
|
-
event: staking_pool.PoolTokenExchangeRateInstance,
|
1365
|
-
ctx: SuiContext
|
1366
|
-
) => void,
|
1367
|
-
fetchConfig?: MoveFetchConfig
|
1368
|
-
): staking_pool {
|
1369
|
-
this.onMoveEvent(
|
1370
|
-
func,
|
1371
|
-
{
|
1372
|
-
type: "staking_pool::PoolTokenExchangeRate",
|
1373
|
-
},
|
1374
|
-
fetchConfig
|
1375
|
-
);
|
1376
|
-
return this;
|
1377
|
-
}
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
export namespace staking_pool {
|
1381
|
-
export class Delegation {
|
1382
|
-
static TYPE_QNAME = "0x2::staking_pool::Delegation";
|
1383
|
-
id: object_.UID;
|
1384
|
-
staked_sui_id: object_.ID;
|
1385
|
-
pool_tokens: balance.Balance<staking_pool.DelegationToken>;
|
1386
|
-
principal_sui_amount: bigint;
|
1387
|
-
}
|
1388
|
-
|
1389
|
-
export class DelegationToken {
|
1390
|
-
static TYPE_QNAME = "0x2::staking_pool::DelegationToken";
|
1391
|
-
dummy_field: Boolean;
|
1392
|
-
}
|
1393
|
-
|
1394
|
-
export class InactiveStakingPool {
|
1395
|
-
static TYPE_QNAME = "0x2::staking_pool::InactiveStakingPool";
|
1396
|
-
id: object_.UID;
|
1397
|
-
pool: staking_pool.StakingPool;
|
1398
|
-
}
|
1399
|
-
|
1400
|
-
export class PendingDelegationEntry {
|
1401
|
-
static TYPE_QNAME = "0x2::staking_pool::PendingDelegationEntry";
|
1402
|
-
delegator: SuiAddress;
|
1403
|
-
sui_amount: bigint;
|
1404
|
-
}
|
1405
|
-
|
1406
|
-
export class PendingWithdrawEntry {
|
1407
|
-
static TYPE_QNAME = "0x2::staking_pool::PendingWithdrawEntry";
|
1408
|
-
delegator: SuiAddress;
|
1409
|
-
principal_withdraw_amount: bigint;
|
1410
|
-
withdrawn_pool_tokens: balance.Balance<staking_pool.DelegationToken>;
|
1411
|
-
}
|
1412
|
-
|
1413
|
-
export class PoolTokenExchangeRate {
|
1414
|
-
static TYPE_QNAME = "0x2::staking_pool::PoolTokenExchangeRate";
|
1415
|
-
sui_amount: bigint;
|
1416
|
-
pool_token_amount: bigint;
|
1417
|
-
}
|
1418
|
-
|
1419
|
-
export interface PoolTokenExchangeRateInstance
|
1420
|
-
extends TypedEventInstance<PoolTokenExchangeRate> {
|
1421
|
-
fields_decoded: PoolTokenExchangeRate;
|
1422
|
-
type_arguments: [];
|
1423
|
-
}
|
1424
|
-
|
1425
|
-
export class StakedSui {
|
1426
|
-
static TYPE_QNAME = "0x2::staking_pool::StakedSui";
|
1427
|
-
id: object_.UID;
|
1428
|
-
validator_address: SuiAddress;
|
1429
|
-
pool_starting_epoch: bigint;
|
1430
|
-
delegation_request_epoch: bigint;
|
1431
|
-
principal: balance.Balance<sui.SUI>;
|
1432
|
-
sui_token_lock: _0x1.option.Option<epoch_time_lock.EpochTimeLock>;
|
1433
|
-
}
|
1434
|
-
|
1435
|
-
export class StakingPool {
|
1436
|
-
static TYPE_QNAME = "0x2::staking_pool::StakingPool";
|
1437
|
-
validator_address: SuiAddress;
|
1438
|
-
starting_epoch: bigint;
|
1439
|
-
sui_balance: bigint;
|
1440
|
-
rewards_pool: balance.Balance<sui.SUI>;
|
1441
|
-
delegation_token_supply: balance.Supply<staking_pool.DelegationToken>;
|
1442
|
-
pending_delegations: linked_table.LinkedTable<
|
1443
|
-
object_.ID,
|
1444
|
-
staking_pool.PendingDelegationEntry
|
1445
|
-
>;
|
1446
|
-
pending_withdraws: table_vec.TableVec<staking_pool.PendingWithdrawEntry>;
|
1447
|
-
}
|
1448
|
-
|
1449
|
-
export interface DestroyEmptyDelegationPayload
|
1450
|
-
extends TypedFunctionPayload<[]> {
|
1451
|
-
arguments_decoded: [];
|
1452
|
-
type_arguments: [];
|
1453
|
-
}
|
1454
|
-
|
1455
|
-
export interface DestroyEmptyStakedSuiPayload
|
1456
|
-
extends TypedFunctionPayload<[]> {
|
1457
|
-
arguments_decoded: [];
|
1458
|
-
type_arguments: [];
|
1459
|
-
}
|
1460
|
-
|
1461
|
-
export interface WithdrawFromInactivePoolPayload
|
1462
|
-
extends TypedFunctionPayload<
|
1463
|
-
[SuiAddress, staking_pool.StakedSui, staking_pool.Delegation]
|
1464
|
-
> {
|
1465
|
-
arguments_decoded: [
|
1466
|
-
SuiAddress,
|
1467
|
-
staking_pool.StakedSui,
|
1468
|
-
staking_pool.Delegation
|
1469
|
-
];
|
1470
|
-
type_arguments: [];
|
1471
|
-
}
|
1472
|
-
}
|
1473
|
-
|
1474
|
-
export class sui extends SuiBaseProcessor {
|
1475
|
-
constructor(options: SuiBindOptions) {
|
1476
|
-
super("sui", options);
|
1477
|
-
}
|
1478
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
1479
|
-
address: "0x2",
|
1480
|
-
network: SuiNetwork.MAIN_NET,
|
1481
|
-
};
|
1482
|
-
|
1483
|
-
static bind(options: Partial<SuiBindOptions> = {}): sui {
|
1484
|
-
return new sui({ ...sui.DEFAULT_OPTIONS, ...options });
|
1485
|
-
}
|
1486
|
-
|
1487
|
-
onEntryTransfer(
|
1488
|
-
func: (call: sui.TransferPayload, ctx: SuiContext) => void,
|
1489
|
-
filter?: CallFilter,
|
1490
|
-
fetchConfig?: MoveFetchConfig
|
1491
|
-
): sui {
|
1492
|
-
this.onEntryFunctionCall(
|
1493
|
-
func,
|
1494
|
-
{
|
1495
|
-
...filter,
|
1496
|
-
function: "sui::transfer",
|
1497
|
-
},
|
1498
|
-
fetchConfig
|
1499
|
-
);
|
1500
|
-
return this;
|
1501
|
-
}
|
1502
|
-
}
|
1503
|
-
|
1504
|
-
export namespace sui {
|
1505
|
-
export class SUI {
|
1506
|
-
static TYPE_QNAME = "0x2::sui::SUI";
|
1507
|
-
dummy_field: Boolean;
|
1508
|
-
}
|
1509
|
-
|
1510
|
-
export interface TransferPayload
|
1511
|
-
extends TypedFunctionPayload<[coin.Coin<sui.SUI>]> {
|
1512
|
-
arguments_decoded: [coin.Coin<sui.SUI>];
|
1513
|
-
type_arguments: [];
|
1514
|
-
}
|
1515
|
-
}
|
1516
|
-
|
1517
|
-
export class sui_system extends SuiBaseProcessor {
|
1518
|
-
constructor(options: SuiBindOptions) {
|
1519
|
-
super("sui_system", options);
|
1520
|
-
}
|
1521
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
1522
|
-
address: "0x2",
|
1523
|
-
network: SuiNetwork.MAIN_NET,
|
1524
|
-
};
|
1525
|
-
|
1526
|
-
static bind(options: Partial<SuiBindOptions> = {}): sui_system {
|
1527
|
-
return new sui_system({ ...sui_system.DEFAULT_OPTIONS, ...options });
|
1528
|
-
}
|
1529
|
-
|
1530
|
-
onEntryAdvanceEpoch(
|
1531
|
-
func: (call: sui_system.AdvanceEpochPayload, ctx: SuiContext) => void,
|
1532
|
-
filter?: CallFilter,
|
1533
|
-
fetchConfig?: MoveFetchConfig
|
1534
|
-
): sui_system {
|
1535
|
-
this.onEntryFunctionCall(
|
1536
|
-
func,
|
1537
|
-
{
|
1538
|
-
...filter,
|
1539
|
-
function: "sui_system::advance_epoch",
|
1540
|
-
},
|
1541
|
-
fetchConfig
|
1542
|
-
);
|
1543
|
-
return this;
|
1544
|
-
}
|
1545
|
-
|
1546
|
-
onEntryAdvanceEpochSafeMode(
|
1547
|
-
func: (
|
1548
|
-
call: sui_system.AdvanceEpochSafeModePayload,
|
1549
|
-
ctx: SuiContext
|
1550
|
-
) => void,
|
1551
|
-
filter?: CallFilter,
|
1552
|
-
fetchConfig?: MoveFetchConfig
|
1553
|
-
): sui_system {
|
1554
|
-
this.onEntryFunctionCall(
|
1555
|
-
func,
|
1556
|
-
{
|
1557
|
-
...filter,
|
1558
|
-
function: "sui_system::advance_epoch_safe_mode",
|
1559
|
-
},
|
1560
|
-
fetchConfig
|
1561
|
-
);
|
1562
|
-
return this;
|
1563
|
-
}
|
1564
|
-
|
1565
|
-
onEntryCancelDelegationRequest(
|
1566
|
-
func: (
|
1567
|
-
call: sui_system.CancelDelegationRequestPayload,
|
1568
|
-
ctx: SuiContext
|
1569
|
-
) => void,
|
1570
|
-
filter?: CallFilter,
|
1571
|
-
fetchConfig?: MoveFetchConfig
|
1572
|
-
): sui_system {
|
1573
|
-
this.onEntryFunctionCall(
|
1574
|
-
func,
|
1575
|
-
{
|
1576
|
-
...filter,
|
1577
|
-
function: "sui_system::cancel_delegation_request",
|
1578
|
-
},
|
1579
|
-
fetchConfig
|
1580
|
-
);
|
1581
|
-
return this;
|
1582
|
-
}
|
1583
|
-
|
1584
|
-
onEntryReportValidator(
|
1585
|
-
func: (call: sui_system.ReportValidatorPayload, ctx: SuiContext) => void,
|
1586
|
-
filter?: CallFilter,
|
1587
|
-
fetchConfig?: MoveFetchConfig
|
1588
|
-
): sui_system {
|
1589
|
-
this.onEntryFunctionCall(
|
1590
|
-
func,
|
1591
|
-
{
|
1592
|
-
...filter,
|
1593
|
-
function: "sui_system::report_validator",
|
1594
|
-
},
|
1595
|
-
fetchConfig
|
1596
|
-
);
|
1597
|
-
return this;
|
1598
|
-
}
|
1599
|
-
|
1600
|
-
onEntryRequestAddDelegation(
|
1601
|
-
func: (
|
1602
|
-
call: sui_system.RequestAddDelegationPayload,
|
1603
|
-
ctx: SuiContext
|
1604
|
-
) => void,
|
1605
|
-
filter?: CallFilter,
|
1606
|
-
fetchConfig?: MoveFetchConfig
|
1607
|
-
): sui_system {
|
1608
|
-
this.onEntryFunctionCall(
|
1609
|
-
func,
|
1610
|
-
{
|
1611
|
-
...filter,
|
1612
|
-
function: "sui_system::request_add_delegation",
|
1613
|
-
},
|
1614
|
-
fetchConfig
|
1615
|
-
);
|
1616
|
-
return this;
|
1617
|
-
}
|
1618
|
-
|
1619
|
-
onEntryRequestAddDelegationMulCoin(
|
1620
|
-
func: (
|
1621
|
-
call: sui_system.RequestAddDelegationMulCoinPayload,
|
1622
|
-
ctx: SuiContext
|
1623
|
-
) => void,
|
1624
|
-
filter?: CallFilter,
|
1625
|
-
fetchConfig?: MoveFetchConfig
|
1626
|
-
): sui_system {
|
1627
|
-
this.onEntryFunctionCall(
|
1628
|
-
func,
|
1629
|
-
{
|
1630
|
-
...filter,
|
1631
|
-
function: "sui_system::request_add_delegation_mul_coin",
|
1632
|
-
},
|
1633
|
-
fetchConfig
|
1634
|
-
);
|
1635
|
-
return this;
|
1636
|
-
}
|
1637
|
-
|
1638
|
-
onEntryRequestAddDelegationMulLockedCoin(
|
1639
|
-
func: (
|
1640
|
-
call: sui_system.RequestAddDelegationMulLockedCoinPayload,
|
1641
|
-
ctx: SuiContext
|
1642
|
-
) => void,
|
1643
|
-
filter?: CallFilter,
|
1644
|
-
fetchConfig?: MoveFetchConfig
|
1645
|
-
): sui_system {
|
1646
|
-
this.onEntryFunctionCall(
|
1647
|
-
func,
|
1648
|
-
{
|
1649
|
-
...filter,
|
1650
|
-
function: "sui_system::request_add_delegation_mul_locked_coin",
|
1651
|
-
},
|
1652
|
-
fetchConfig
|
1653
|
-
);
|
1654
|
-
return this;
|
1655
|
-
}
|
1656
|
-
|
1657
|
-
onEntryRequestAddDelegationWithLockedCoin(
|
1658
|
-
func: (
|
1659
|
-
call: sui_system.RequestAddDelegationWithLockedCoinPayload,
|
1660
|
-
ctx: SuiContext
|
1661
|
-
) => void,
|
1662
|
-
filter?: CallFilter,
|
1663
|
-
fetchConfig?: MoveFetchConfig
|
1664
|
-
): sui_system {
|
1665
|
-
this.onEntryFunctionCall(
|
1666
|
-
func,
|
1667
|
-
{
|
1668
|
-
...filter,
|
1669
|
-
function: "sui_system::request_add_delegation_with_locked_coin",
|
1670
|
-
},
|
1671
|
-
fetchConfig
|
1672
|
-
);
|
1673
|
-
return this;
|
1674
|
-
}
|
1675
|
-
|
1676
|
-
onEntryRequestAddStake(
|
1677
|
-
func: (call: sui_system.RequestAddStakePayload, ctx: SuiContext) => void,
|
1678
|
-
filter?: CallFilter,
|
1679
|
-
fetchConfig?: MoveFetchConfig
|
1680
|
-
): sui_system {
|
1681
|
-
this.onEntryFunctionCall(
|
1682
|
-
func,
|
1683
|
-
{
|
1684
|
-
...filter,
|
1685
|
-
function: "sui_system::request_add_stake",
|
1686
|
-
},
|
1687
|
-
fetchConfig
|
1688
|
-
);
|
1689
|
-
return this;
|
1690
|
-
}
|
1691
|
-
|
1692
|
-
onEntryRequestAddStakeWithLockedCoin(
|
1693
|
-
func: (
|
1694
|
-
call: sui_system.RequestAddStakeWithLockedCoinPayload,
|
1695
|
-
ctx: SuiContext
|
1696
|
-
) => void,
|
1697
|
-
filter?: CallFilter,
|
1698
|
-
fetchConfig?: MoveFetchConfig
|
1699
|
-
): sui_system {
|
1700
|
-
this.onEntryFunctionCall(
|
1701
|
-
func,
|
1702
|
-
{
|
1703
|
-
...filter,
|
1704
|
-
function: "sui_system::request_add_stake_with_locked_coin",
|
1705
|
-
},
|
1706
|
-
fetchConfig
|
1707
|
-
);
|
1708
|
-
return this;
|
1709
|
-
}
|
1710
|
-
|
1711
|
-
onEntryRequestAddValidator(
|
1712
|
-
func: (
|
1713
|
-
call: sui_system.RequestAddValidatorPayload,
|
1714
|
-
ctx: SuiContext
|
1715
|
-
) => void,
|
1716
|
-
filter?: CallFilter,
|
1717
|
-
fetchConfig?: MoveFetchConfig
|
1718
|
-
): sui_system {
|
1719
|
-
this.onEntryFunctionCall(
|
1720
|
-
func,
|
1721
|
-
{
|
1722
|
-
...filter,
|
1723
|
-
function: "sui_system::request_add_validator",
|
1724
|
-
},
|
1725
|
-
fetchConfig
|
1726
|
-
);
|
1727
|
-
return this;
|
1728
|
-
}
|
1729
|
-
|
1730
|
-
onEntryRequestRemoveValidator(
|
1731
|
-
func: (
|
1732
|
-
call: sui_system.RequestRemoveValidatorPayload,
|
1733
|
-
ctx: SuiContext
|
1734
|
-
) => void,
|
1735
|
-
filter?: CallFilter,
|
1736
|
-
fetchConfig?: MoveFetchConfig
|
1737
|
-
): sui_system {
|
1738
|
-
this.onEntryFunctionCall(
|
1739
|
-
func,
|
1740
|
-
{
|
1741
|
-
...filter,
|
1742
|
-
function: "sui_system::request_remove_validator",
|
1743
|
-
},
|
1744
|
-
fetchConfig
|
1745
|
-
);
|
1746
|
-
return this;
|
1747
|
-
}
|
1748
|
-
|
1749
|
-
onEntryRequestSetCommissionRate(
|
1750
|
-
func: (
|
1751
|
-
call: sui_system.RequestSetCommissionRatePayload,
|
1752
|
-
ctx: SuiContext
|
1753
|
-
) => void,
|
1754
|
-
filter?: CallFilter,
|
1755
|
-
fetchConfig?: MoveFetchConfig
|
1756
|
-
): sui_system {
|
1757
|
-
this.onEntryFunctionCall(
|
1758
|
-
func,
|
1759
|
-
{
|
1760
|
-
...filter,
|
1761
|
-
function: "sui_system::request_set_commission_rate",
|
1762
|
-
},
|
1763
|
-
fetchConfig
|
1764
|
-
);
|
1765
|
-
return this;
|
1766
|
-
}
|
1767
|
-
|
1768
|
-
onEntryRequestSetGasPrice(
|
1769
|
-
func: (call: sui_system.RequestSetGasPricePayload, ctx: SuiContext) => void,
|
1770
|
-
filter?: CallFilter,
|
1771
|
-
fetchConfig?: MoveFetchConfig
|
1772
|
-
): sui_system {
|
1773
|
-
this.onEntryFunctionCall(
|
1774
|
-
func,
|
1775
|
-
{
|
1776
|
-
...filter,
|
1777
|
-
function: "sui_system::request_set_gas_price",
|
1778
|
-
},
|
1779
|
-
fetchConfig
|
1780
|
-
);
|
1781
|
-
return this;
|
1782
|
-
}
|
1783
|
-
|
1784
|
-
onEntryRequestSwitchDelegation(
|
1785
|
-
func: (
|
1786
|
-
call: sui_system.RequestSwitchDelegationPayload,
|
1787
|
-
ctx: SuiContext
|
1788
|
-
) => void,
|
1789
|
-
filter?: CallFilter,
|
1790
|
-
fetchConfig?: MoveFetchConfig
|
1791
|
-
): sui_system {
|
1792
|
-
this.onEntryFunctionCall(
|
1793
|
-
func,
|
1794
|
-
{
|
1795
|
-
...filter,
|
1796
|
-
function: "sui_system::request_switch_delegation",
|
1797
|
-
},
|
1798
|
-
fetchConfig
|
1799
|
-
);
|
1800
|
-
return this;
|
1801
|
-
}
|
1802
|
-
|
1803
|
-
onEntryRequestWithdrawDelegation(
|
1804
|
-
func: (
|
1805
|
-
call: sui_system.RequestWithdrawDelegationPayload,
|
1806
|
-
ctx: SuiContext
|
1807
|
-
) => void,
|
1808
|
-
filter?: CallFilter,
|
1809
|
-
fetchConfig?: MoveFetchConfig
|
1810
|
-
): sui_system {
|
1811
|
-
this.onEntryFunctionCall(
|
1812
|
-
func,
|
1813
|
-
{
|
1814
|
-
...filter,
|
1815
|
-
function: "sui_system::request_withdraw_delegation",
|
1816
|
-
},
|
1817
|
-
fetchConfig
|
1818
|
-
);
|
1819
|
-
return this;
|
1820
|
-
}
|
1821
|
-
|
1822
|
-
onEntryRequestWithdrawStake(
|
1823
|
-
func: (
|
1824
|
-
call: sui_system.RequestWithdrawStakePayload,
|
1825
|
-
ctx: SuiContext
|
1826
|
-
) => void,
|
1827
|
-
filter?: CallFilter,
|
1828
|
-
fetchConfig?: MoveFetchConfig
|
1829
|
-
): sui_system {
|
1830
|
-
this.onEntryFunctionCall(
|
1831
|
-
func,
|
1832
|
-
{
|
1833
|
-
...filter,
|
1834
|
-
function: "sui_system::request_withdraw_stake",
|
1835
|
-
},
|
1836
|
-
fetchConfig
|
1837
|
-
);
|
1838
|
-
return this;
|
1839
|
-
}
|
1840
|
-
|
1841
|
-
onEntryUndoReportValidator(
|
1842
|
-
func: (
|
1843
|
-
call: sui_system.UndoReportValidatorPayload,
|
1844
|
-
ctx: SuiContext
|
1845
|
-
) => void,
|
1846
|
-
filter?: CallFilter,
|
1847
|
-
fetchConfig?: MoveFetchConfig
|
1848
|
-
): sui_system {
|
1849
|
-
this.onEntryFunctionCall(
|
1850
|
-
func,
|
1851
|
-
{
|
1852
|
-
...filter,
|
1853
|
-
function: "sui_system::undo_report_validator",
|
1854
|
-
},
|
1855
|
-
fetchConfig
|
1856
|
-
);
|
1857
|
-
return this;
|
1858
|
-
}
|
1859
|
-
|
1860
|
-
onEventSystemEpochInfo(
|
1861
|
-
func: (event: sui_system.SystemEpochInfoInstance, ctx: SuiContext) => void,
|
1862
|
-
fetchConfig?: MoveFetchConfig
|
1863
|
-
): sui_system {
|
1864
|
-
this.onMoveEvent(
|
1865
|
-
func,
|
1866
|
-
{
|
1867
|
-
type: "sui_system::SystemEpochInfo",
|
1868
|
-
},
|
1869
|
-
fetchConfig
|
1870
|
-
);
|
1871
|
-
return this;
|
1872
|
-
}
|
1873
|
-
}
|
1874
|
-
|
1875
|
-
export namespace sui_system {
|
1876
|
-
export class SuiSystemState {
|
1877
|
-
static TYPE_QNAME = "0x2::sui_system::SuiSystemState";
|
1878
|
-
id: object_.UID;
|
1879
|
-
epoch: bigint;
|
1880
|
-
validators: validator_set.ValidatorSet;
|
1881
|
-
sui_supply: balance.Supply<sui.SUI>;
|
1882
|
-
storage_fund: balance.Balance<sui.SUI>;
|
1883
|
-
parameters: sui_system.SystemParameters;
|
1884
|
-
reference_gas_price: bigint;
|
1885
|
-
validator_report_records: vec_map.VecMap<
|
1886
|
-
SuiAddress,
|
1887
|
-
vec_set.VecSet<SuiAddress>
|
1888
|
-
>;
|
1889
|
-
stake_subsidy: stake_subsidy.StakeSubsidy;
|
1890
|
-
safe_mode: Boolean;
|
1891
|
-
}
|
1892
|
-
|
1893
|
-
export class SystemEpochInfo {
|
1894
|
-
static TYPE_QNAME = "0x2::sui_system::SystemEpochInfo";
|
1895
|
-
epoch: bigint;
|
1896
|
-
reference_gas_price: bigint;
|
1897
|
-
total_stake: bigint;
|
1898
|
-
storage_fund_inflows: bigint;
|
1899
|
-
storage_fund_outflows: bigint;
|
1900
|
-
storage_fund_balance: bigint;
|
1901
|
-
stake_subsidy_amount: bigint;
|
1902
|
-
total_gas_fees: bigint;
|
1903
|
-
total_stake_rewards: bigint;
|
1904
|
-
}
|
1905
|
-
|
1906
|
-
export interface SystemEpochInfoInstance
|
1907
|
-
extends TypedEventInstance<SystemEpochInfo> {
|
1908
|
-
fields_decoded: SystemEpochInfo;
|
1909
|
-
type_arguments: [];
|
1910
|
-
}
|
1911
|
-
|
1912
|
-
export class SystemParameters {
|
1913
|
-
static TYPE_QNAME = "0x2::sui_system::SystemParameters";
|
1914
|
-
min_validator_stake: bigint;
|
1915
|
-
max_validator_candidate_count: bigint;
|
1916
|
-
storage_gas_price: bigint;
|
1917
|
-
}
|
1918
|
-
|
1919
|
-
export interface AdvanceEpochPayload
|
1920
|
-
extends TypedFunctionPayload<
|
1921
|
-
[SuiAddress, bigint, bigint, bigint, bigint, bigint, bigint, bigint]
|
1922
|
-
> {
|
1923
|
-
arguments_decoded: [
|
1924
|
-
SuiAddress,
|
1925
|
-
bigint,
|
1926
|
-
bigint,
|
1927
|
-
bigint,
|
1928
|
-
bigint,
|
1929
|
-
bigint,
|
1930
|
-
bigint,
|
1931
|
-
bigint
|
1932
|
-
];
|
1933
|
-
type_arguments: [];
|
1934
|
-
}
|
1935
|
-
|
1936
|
-
export interface AdvanceEpochSafeModePayload
|
1937
|
-
extends TypedFunctionPayload<[SuiAddress, bigint]> {
|
1938
|
-
arguments_decoded: [SuiAddress, bigint];
|
1939
|
-
type_arguments: [];
|
1940
|
-
}
|
1941
|
-
|
1942
|
-
export interface CancelDelegationRequestPayload
|
1943
|
-
extends TypedFunctionPayload<[SuiAddress, staking_pool.StakedSui]> {
|
1944
|
-
arguments_decoded: [SuiAddress, staking_pool.StakedSui];
|
1945
|
-
type_arguments: [];
|
1946
|
-
}
|
1947
|
-
|
1948
|
-
export interface ReportValidatorPayload
|
1949
|
-
extends TypedFunctionPayload<[SuiAddress, SuiAddress]> {
|
1950
|
-
arguments_decoded: [SuiAddress, SuiAddress];
|
1951
|
-
type_arguments: [];
|
1952
|
-
}
|
1953
|
-
|
1954
|
-
export interface RequestAddDelegationPayload
|
1955
|
-
extends TypedFunctionPayload<[SuiAddress, coin.Coin<sui.SUI>, SuiAddress]> {
|
1956
|
-
arguments_decoded: [SuiAddress, coin.Coin<sui.SUI>, SuiAddress];
|
1957
|
-
type_arguments: [];
|
1958
|
-
}
|
1959
|
-
|
1960
|
-
export interface RequestAddDelegationMulCoinPayload
|
1961
|
-
extends TypedFunctionPayload<
|
1962
|
-
[SuiAddress, coin.Coin<sui.SUI>[], _0x1.option.Option<bigint>, SuiAddress]
|
1963
|
-
> {
|
1964
|
-
arguments_decoded: [
|
1965
|
-
SuiAddress,
|
1966
|
-
coin.Coin<sui.SUI>[],
|
1967
|
-
_0x1.option.Option<bigint>,
|
1968
|
-
SuiAddress
|
1969
|
-
];
|
1970
|
-
type_arguments: [];
|
1971
|
-
}
|
1972
|
-
|
1973
|
-
export interface RequestAddDelegationMulLockedCoinPayload
|
1974
|
-
extends TypedFunctionPayload<
|
1975
|
-
[
|
1976
|
-
SuiAddress,
|
1977
|
-
locked_coin.LockedCoin<sui.SUI>[],
|
1978
|
-
_0x1.option.Option<bigint>,
|
1979
|
-
SuiAddress
|
1980
|
-
]
|
1981
|
-
> {
|
1982
|
-
arguments_decoded: [
|
1983
|
-
SuiAddress,
|
1984
|
-
locked_coin.LockedCoin<sui.SUI>[],
|
1985
|
-
_0x1.option.Option<bigint>,
|
1986
|
-
SuiAddress
|
1987
|
-
];
|
1988
|
-
type_arguments: [];
|
1989
|
-
}
|
1990
|
-
|
1991
|
-
export interface RequestAddDelegationWithLockedCoinPayload
|
1992
|
-
extends TypedFunctionPayload<
|
1993
|
-
[SuiAddress, locked_coin.LockedCoin<sui.SUI>, SuiAddress]
|
1994
|
-
> {
|
1995
|
-
arguments_decoded: [
|
1996
|
-
SuiAddress,
|
1997
|
-
locked_coin.LockedCoin<sui.SUI>,
|
1998
|
-
SuiAddress
|
1999
|
-
];
|
2000
|
-
type_arguments: [];
|
2001
|
-
}
|
2002
|
-
|
2003
|
-
export interface RequestAddStakePayload
|
2004
|
-
extends TypedFunctionPayload<[SuiAddress, coin.Coin<sui.SUI>]> {
|
2005
|
-
arguments_decoded: [SuiAddress, coin.Coin<sui.SUI>];
|
2006
|
-
type_arguments: [];
|
2007
|
-
}
|
2008
|
-
|
2009
|
-
export interface RequestAddStakeWithLockedCoinPayload
|
2010
|
-
extends TypedFunctionPayload<
|
2011
|
-
[SuiAddress, locked_coin.LockedCoin<sui.SUI>]
|
2012
|
-
> {
|
2013
|
-
arguments_decoded: [SuiAddress, locked_coin.LockedCoin<sui.SUI>];
|
2014
|
-
type_arguments: [];
|
2015
|
-
}
|
2016
|
-
|
2017
|
-
export interface RequestAddValidatorPayload
|
2018
|
-
extends TypedFunctionPayload<
|
2019
|
-
[
|
2020
|
-
SuiAddress,
|
2021
|
-
number[],
|
2022
|
-
number[],
|
2023
|
-
number[],
|
2024
|
-
number[],
|
2025
|
-
number[],
|
2026
|
-
number[],
|
2027
|
-
number[],
|
2028
|
-
number[],
|
2029
|
-
number[],
|
2030
|
-
number[],
|
2031
|
-
number[],
|
2032
|
-
coin.Coin<sui.SUI>,
|
2033
|
-
bigint,
|
2034
|
-
bigint
|
2035
|
-
]
|
2036
|
-
> {
|
2037
|
-
arguments_decoded: [
|
2038
|
-
SuiAddress,
|
2039
|
-
number[],
|
2040
|
-
number[],
|
2041
|
-
number[],
|
2042
|
-
number[],
|
2043
|
-
number[],
|
2044
|
-
number[],
|
2045
|
-
number[],
|
2046
|
-
number[],
|
2047
|
-
number[],
|
2048
|
-
number[],
|
2049
|
-
number[],
|
2050
|
-
coin.Coin<sui.SUI>,
|
2051
|
-
bigint,
|
2052
|
-
bigint
|
2053
|
-
];
|
2054
|
-
type_arguments: [];
|
2055
|
-
}
|
2056
|
-
|
2057
|
-
export interface RequestRemoveValidatorPayload
|
2058
|
-
extends TypedFunctionPayload<[SuiAddress]> {
|
2059
|
-
arguments_decoded: [SuiAddress];
|
2060
|
-
type_arguments: [];
|
2061
|
-
}
|
2062
|
-
|
2063
|
-
export interface RequestSetCommissionRatePayload
|
2064
|
-
extends TypedFunctionPayload<[SuiAddress, bigint]> {
|
2065
|
-
arguments_decoded: [SuiAddress, bigint];
|
2066
|
-
type_arguments: [];
|
2067
|
-
}
|
2068
|
-
|
2069
|
-
export interface RequestSetGasPricePayload
|
2070
|
-
extends TypedFunctionPayload<[SuiAddress, bigint]> {
|
2071
|
-
arguments_decoded: [SuiAddress, bigint];
|
2072
|
-
type_arguments: [];
|
2073
|
-
}
|
2074
|
-
|
2075
|
-
export interface RequestSwitchDelegationPayload
|
2076
|
-
extends TypedFunctionPayload<
|
2077
|
-
[SuiAddress, staking_pool.Delegation, staking_pool.StakedSui, SuiAddress]
|
2078
|
-
> {
|
2079
|
-
arguments_decoded: [
|
2080
|
-
SuiAddress,
|
2081
|
-
staking_pool.Delegation,
|
2082
|
-
staking_pool.StakedSui,
|
2083
|
-
SuiAddress
|
2084
|
-
];
|
2085
|
-
type_arguments: [];
|
2086
|
-
}
|
2087
|
-
|
2088
|
-
export interface RequestWithdrawDelegationPayload
|
2089
|
-
extends TypedFunctionPayload<
|
2090
|
-
[SuiAddress, staking_pool.Delegation, staking_pool.StakedSui]
|
2091
|
-
> {
|
2092
|
-
arguments_decoded: [
|
2093
|
-
SuiAddress,
|
2094
|
-
staking_pool.Delegation,
|
2095
|
-
staking_pool.StakedSui
|
2096
|
-
];
|
2097
|
-
type_arguments: [];
|
2098
|
-
}
|
2099
|
-
|
2100
|
-
export interface RequestWithdrawStakePayload
|
2101
|
-
extends TypedFunctionPayload<[SuiAddress, SuiAddress, bigint]> {
|
2102
|
-
arguments_decoded: [SuiAddress, SuiAddress, bigint];
|
2103
|
-
type_arguments: [];
|
2104
|
-
}
|
2105
|
-
|
2106
|
-
export interface UndoReportValidatorPayload
|
2107
|
-
extends TypedFunctionPayload<[SuiAddress, SuiAddress]> {
|
2108
|
-
arguments_decoded: [SuiAddress, SuiAddress];
|
2109
|
-
type_arguments: [];
|
2110
|
-
}
|
2111
|
-
}
|
2112
|
-
|
2113
|
-
export namespace table {
|
2114
|
-
export class Table<T0, T1> {
|
2115
|
-
static TYPE_QNAME = "0x2::table::Table";
|
2116
|
-
id: object_.UID;
|
2117
|
-
size: bigint;
|
2118
|
-
}
|
2119
|
-
}
|
2120
|
-
|
2121
|
-
export namespace table_vec {
|
2122
|
-
export class TableVec<T0> {
|
2123
|
-
static TYPE_QNAME = "0x2::table_vec::TableVec";
|
2124
|
-
contents: table.Table<bigint, T0>;
|
2125
|
-
}
|
2126
|
-
}
|
2127
|
-
|
2128
|
-
export namespace transfer {}
|
2129
|
-
|
2130
|
-
export namespace tx_context {
|
2131
|
-
export class TxContext {
|
2132
|
-
static TYPE_QNAME = "0x2::tx_context::TxContext";
|
2133
|
-
sender: SuiAddress;
|
2134
|
-
tx_hash: number[];
|
2135
|
-
epoch: bigint;
|
2136
|
-
ids_created: bigint;
|
2137
|
-
}
|
2138
|
-
}
|
2139
|
-
|
2140
|
-
export class typed_id extends SuiBaseProcessor {
|
2141
|
-
constructor(options: SuiBindOptions) {
|
2142
|
-
super("typed_id", options);
|
2143
|
-
}
|
2144
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
2145
|
-
address: "0x2",
|
2146
|
-
network: SuiNetwork.MAIN_NET,
|
2147
|
-
};
|
2148
|
-
|
2149
|
-
static bind(options: Partial<SuiBindOptions> = {}): typed_id {
|
2150
|
-
return new typed_id({ ...typed_id.DEFAULT_OPTIONS, ...options });
|
2151
|
-
}
|
2152
|
-
|
2153
|
-
onEventTypedID(
|
2154
|
-
func: (event: typed_id.TypedIDInstance, ctx: SuiContext) => void,
|
2155
|
-
fetchConfig?: MoveFetchConfig
|
2156
|
-
): typed_id {
|
2157
|
-
this.onMoveEvent(
|
2158
|
-
func,
|
2159
|
-
{
|
2160
|
-
type: "typed_id::TypedID",
|
2161
|
-
},
|
2162
|
-
fetchConfig
|
2163
|
-
);
|
2164
|
-
return this;
|
2165
|
-
}
|
2166
|
-
}
|
2167
|
-
|
2168
|
-
export namespace typed_id {
|
2169
|
-
export class TypedID<T0> {
|
2170
|
-
static TYPE_QNAME = "0x2::typed_id::TypedID";
|
2171
|
-
id: object_.ID;
|
2172
|
-
}
|
2173
|
-
|
2174
|
-
export interface TypedIDInstance extends TypedEventInstance<TypedID<any>> {
|
2175
|
-
fields_decoded: TypedID<any>;
|
2176
|
-
type_arguments: [string];
|
2177
|
-
}
|
2178
|
-
}
|
2179
|
-
|
2180
|
-
export namespace types {}
|
2181
|
-
|
2182
|
-
export class url extends SuiBaseProcessor {
|
2183
|
-
constructor(options: SuiBindOptions) {
|
2184
|
-
super("url", options);
|
2185
|
-
}
|
2186
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
2187
|
-
address: "0x2",
|
2188
|
-
network: SuiNetwork.MAIN_NET,
|
2189
|
-
};
|
2190
|
-
|
2191
|
-
static bind(options: Partial<SuiBindOptions> = {}): url {
|
2192
|
-
return new url({ ...url.DEFAULT_OPTIONS, ...options });
|
2193
|
-
}
|
2194
|
-
|
2195
|
-
onEventUrl(
|
2196
|
-
func: (event: url.UrlInstance, ctx: SuiContext) => void,
|
2197
|
-
fetchConfig?: MoveFetchConfig
|
2198
|
-
): url {
|
2199
|
-
this.onMoveEvent(
|
1378
|
+
): url {
|
1379
|
+
this.onMoveEvent(
|
2200
1380
|
func,
|
2201
1381
|
{
|
2202
1382
|
type: "url::Url",
|
@@ -2219,198 +1399,6 @@ export namespace url {
|
|
2219
1399
|
}
|
2220
1400
|
}
|
2221
1401
|
|
2222
|
-
export class validator extends SuiBaseProcessor {
|
2223
|
-
constructor(options: SuiBindOptions) {
|
2224
|
-
super("validator", options);
|
2225
|
-
}
|
2226
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
2227
|
-
address: "0x2",
|
2228
|
-
network: SuiNetwork.MAIN_NET,
|
2229
|
-
};
|
2230
|
-
|
2231
|
-
static bind(options: Partial<SuiBindOptions> = {}): validator {
|
2232
|
-
return new validator({ ...validator.DEFAULT_OPTIONS, ...options });
|
2233
|
-
}
|
2234
|
-
|
2235
|
-
onEventValidatorMetadata(
|
2236
|
-
func: (event: validator.ValidatorMetadataInstance, ctx: SuiContext) => void,
|
2237
|
-
fetchConfig?: MoveFetchConfig
|
2238
|
-
): validator {
|
2239
|
-
this.onMoveEvent(
|
2240
|
-
func,
|
2241
|
-
{
|
2242
|
-
type: "validator::ValidatorMetadata",
|
2243
|
-
},
|
2244
|
-
fetchConfig
|
2245
|
-
);
|
2246
|
-
return this;
|
2247
|
-
}
|
2248
|
-
}
|
2249
|
-
|
2250
|
-
export namespace validator {
|
2251
|
-
export class Validator {
|
2252
|
-
static TYPE_QNAME = "0x2::validator::Validator";
|
2253
|
-
metadata: validator.ValidatorMetadata;
|
2254
|
-
voting_power: bigint;
|
2255
|
-
stake_amount: bigint;
|
2256
|
-
pending_stake: bigint;
|
2257
|
-
pending_withdraw: bigint;
|
2258
|
-
gas_price: bigint;
|
2259
|
-
delegation_staking_pool: staking_pool.StakingPool;
|
2260
|
-
commission_rate: bigint;
|
2261
|
-
}
|
2262
|
-
|
2263
|
-
export class ValidatorMetadata {
|
2264
|
-
static TYPE_QNAME = "0x2::validator::ValidatorMetadata";
|
2265
|
-
sui_address: SuiAddress;
|
2266
|
-
pubkey_bytes: number[];
|
2267
|
-
network_pubkey_bytes: number[];
|
2268
|
-
worker_pubkey_bytes: number[];
|
2269
|
-
proof_of_possession: number[];
|
2270
|
-
name: string;
|
2271
|
-
description: string;
|
2272
|
-
image_url: url.Url;
|
2273
|
-
project_url: url.Url;
|
2274
|
-
net_address: number[];
|
2275
|
-
consensus_address: number[];
|
2276
|
-
worker_address: number[];
|
2277
|
-
next_epoch_stake: bigint;
|
2278
|
-
next_epoch_delegation: bigint;
|
2279
|
-
next_epoch_gas_price: bigint;
|
2280
|
-
next_epoch_commission_rate: bigint;
|
2281
|
-
}
|
2282
|
-
|
2283
|
-
export interface ValidatorMetadataInstance
|
2284
|
-
extends TypedEventInstance<ValidatorMetadata> {
|
2285
|
-
fields_decoded: ValidatorMetadata;
|
2286
|
-
type_arguments: [];
|
2287
|
-
}
|
2288
|
-
}
|
2289
|
-
|
2290
|
-
export class validator_set extends SuiBaseProcessor {
|
2291
|
-
constructor(options: SuiBindOptions) {
|
2292
|
-
super("validator_set", options);
|
2293
|
-
}
|
2294
|
-
static DEFAULT_OPTIONS: SuiBindOptions = {
|
2295
|
-
address: "0x2",
|
2296
|
-
network: SuiNetwork.MAIN_NET,
|
2297
|
-
};
|
2298
|
-
|
2299
|
-
static bind(options: Partial<SuiBindOptions> = {}): validator_set {
|
2300
|
-
return new validator_set({ ...validator_set.DEFAULT_OPTIONS, ...options });
|
2301
|
-
}
|
2302
|
-
|
2303
|
-
onEventDelegationRequestEvent(
|
2304
|
-
func: (
|
2305
|
-
event: validator_set.DelegationRequestEventInstance,
|
2306
|
-
ctx: SuiContext
|
2307
|
-
) => void,
|
2308
|
-
fetchConfig?: MoveFetchConfig
|
2309
|
-
): validator_set {
|
2310
|
-
this.onMoveEvent(
|
2311
|
-
func,
|
2312
|
-
{
|
2313
|
-
type: "validator_set::DelegationRequestEvent",
|
2314
|
-
},
|
2315
|
-
fetchConfig
|
2316
|
-
);
|
2317
|
-
return this;
|
2318
|
-
}
|
2319
|
-
|
2320
|
-
onEventValidatorEpochInfo(
|
2321
|
-
func: (
|
2322
|
-
event: validator_set.ValidatorEpochInfoInstance,
|
2323
|
-
ctx: SuiContext
|
2324
|
-
) => void,
|
2325
|
-
fetchConfig?: MoveFetchConfig
|
2326
|
-
): validator_set {
|
2327
|
-
this.onMoveEvent(
|
2328
|
-
func,
|
2329
|
-
{
|
2330
|
-
type: "validator_set::ValidatorEpochInfo",
|
2331
|
-
},
|
2332
|
-
fetchConfig
|
2333
|
-
);
|
2334
|
-
return this;
|
2335
|
-
}
|
2336
|
-
|
2337
|
-
onEventValidatorPair(
|
2338
|
-
func: (event: validator_set.ValidatorPairInstance, ctx: SuiContext) => void,
|
2339
|
-
fetchConfig?: MoveFetchConfig
|
2340
|
-
): validator_set {
|
2341
|
-
this.onMoveEvent(
|
2342
|
-
func,
|
2343
|
-
{
|
2344
|
-
type: "validator_set::ValidatorPair",
|
2345
|
-
},
|
2346
|
-
fetchConfig
|
2347
|
-
);
|
2348
|
-
return this;
|
2349
|
-
}
|
2350
|
-
}
|
2351
|
-
|
2352
|
-
export namespace validator_set {
|
2353
|
-
export class DelegationRequestEvent {
|
2354
|
-
static TYPE_QNAME = "0x2::validator_set::DelegationRequestEvent";
|
2355
|
-
validator_address: SuiAddress;
|
2356
|
-
delegator_address: SuiAddress;
|
2357
|
-
epoch: bigint;
|
2358
|
-
amount: bigint;
|
2359
|
-
}
|
2360
|
-
|
2361
|
-
export interface DelegationRequestEventInstance
|
2362
|
-
extends TypedEventInstance<DelegationRequestEvent> {
|
2363
|
-
fields_decoded: DelegationRequestEvent;
|
2364
|
-
type_arguments: [];
|
2365
|
-
}
|
2366
|
-
|
2367
|
-
export class ValidatorEpochInfo {
|
2368
|
-
static TYPE_QNAME = "0x2::validator_set::ValidatorEpochInfo";
|
2369
|
-
epoch: bigint;
|
2370
|
-
validator_address: SuiAddress;
|
2371
|
-
reference_gas_survey_quote: bigint;
|
2372
|
-
validator_stake: bigint;
|
2373
|
-
delegated_stake: bigint;
|
2374
|
-
commission_rate: bigint;
|
2375
|
-
stake_rewards: bigint;
|
2376
|
-
pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
|
2377
|
-
tallying_rule_reporters: SuiAddress[];
|
2378
|
-
tallying_rule_global_score: bigint;
|
2379
|
-
}
|
2380
|
-
|
2381
|
-
export interface ValidatorEpochInfoInstance
|
2382
|
-
extends TypedEventInstance<ValidatorEpochInfo> {
|
2383
|
-
fields_decoded: ValidatorEpochInfo;
|
2384
|
-
type_arguments: [];
|
2385
|
-
}
|
2386
|
-
|
2387
|
-
export class ValidatorPair {
|
2388
|
-
static TYPE_QNAME = "0x2::validator_set::ValidatorPair";
|
2389
|
-
from: SuiAddress;
|
2390
|
-
to: SuiAddress;
|
2391
|
-
}
|
2392
|
-
|
2393
|
-
export interface ValidatorPairInstance
|
2394
|
-
extends TypedEventInstance<ValidatorPair> {
|
2395
|
-
fields_decoded: ValidatorPair;
|
2396
|
-
type_arguments: [];
|
2397
|
-
}
|
2398
|
-
|
2399
|
-
export class ValidatorSet {
|
2400
|
-
static TYPE_QNAME = "0x2::validator_set::ValidatorSet";
|
2401
|
-
total_validator_stake: bigint;
|
2402
|
-
total_delegation_stake: bigint;
|
2403
|
-
active_validators: validator.Validator[];
|
2404
|
-
pending_validators: validator.Validator[];
|
2405
|
-
pending_removals: bigint[];
|
2406
|
-
next_epoch_validators: validator.ValidatorMetadata[];
|
2407
|
-
pending_delegation_switches: vec_map.VecMap<
|
2408
|
-
validator_set.ValidatorPair,
|
2409
|
-
table_vec.TableVec<staking_pool.PendingWithdrawEntry>
|
2410
|
-
>;
|
2411
|
-
}
|
2412
|
-
}
|
2413
|
-
|
2414
1402
|
export class vec_map extends SuiBaseProcessor {
|
2415
1403
|
constructor(options: SuiBindOptions) {
|
2416
1404
|
super("vec_map", options);
|
@@ -2516,16 +1504,22 @@ export namespace vec_set {
|
|
2516
1504
|
}
|
2517
1505
|
}
|
2518
1506
|
|
2519
|
-
export namespace
|
2520
|
-
export class
|
2521
|
-
static TYPE_QNAME = "0x2::
|
2522
|
-
|
2523
|
-
|
1507
|
+
export namespace versioned {
|
1508
|
+
export class VersionChangeCap {
|
1509
|
+
static TYPE_QNAME = "0x2::versioned::VersionChangeCap";
|
1510
|
+
versioned_id: object_.ID;
|
1511
|
+
old_version: bigint;
|
1512
|
+
}
|
1513
|
+
|
1514
|
+
export class Versioned {
|
1515
|
+
static TYPE_QNAME = "0x2::versioned::Versioned";
|
1516
|
+
id: object_.UID;
|
1517
|
+
version: bigint;
|
2524
1518
|
}
|
2525
1519
|
}
|
2526
1520
|
|
2527
1521
|
const MODULES = JSON.parse(
|
2528
|
-
'{"address":{"file_format_version":6,"address":"0x2","name":"address","friends":[],"structs":{},"exposed_functions":{"from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":["Address"]},"from_u256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U256"],"return_":["Address"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U64"]},"max":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U256"]},"to_ascii_string":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}]},"to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Vector":"U8"}]},"to_string":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}]},"to_u256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":["U256"]}}},"bag":{"file_format_version":6,"address":"0x2","name":"bag","friends":[],"structs":{"Bag":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"contains_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"balance":{"file_format_version":6,"address":"0x2","name":"balance","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"Balance":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"value","type_":"U64"}]},"Supply":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"value","type_":"U64"}]}},"exposed_functions":{"create_staking_rewards":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"create_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}]},"decrease_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":["U64"]},"destroy_storage_rebates":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"destroy_zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"increase_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":["U64"]},"split":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"supply_value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]}}},"bcs":{"file_format_version":6,"address":"0x2","name":"bcs","friends":[],"structs":{"BCS":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":{"Vector":"U8"}}]}},"exposed_functions":{"into_remainder_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}],"return_":[{"Vector":"U8"}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}]},"peel_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["Address"]},"peel_bool":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["Bool"]},"peel_option_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["Address"]}}]},"peel_option_bool":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["Bool"]}}]},"peel_option_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U128"]}}]},"peel_option_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}}]},"peel_option_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U8"]}}]},"peel_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U128"]},"peel_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U64"]},"peel_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U8"]},"peel_vec_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"Address"}]},"peel_vec_bool":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"Bool"}]},"peel_vec_length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U64"]},"peel_vec_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"U128"}]},"peel_vec_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"U64"}]},"peel_vec_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"peel_vec_vec_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":{"Vector":"U8"}}]},"to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Vector":"U8"}]}}},"bls12381":{"file_format_version":6,"address":"0x2","name":"bls12381","friends":[{"address":"0x2","name":"validator"}],"structs":{},"exposed_functions":{"bls12381_min_pk_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]},"bls12381_min_sig_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]},"bls12381_min_sig_verify_with_domain":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Vector":"U8"},{"Vector":"U8"}],"return_":["Bool"]}}},"bulletproofs":{"file_format_version":6,"address":"0x2","name":"bulletproofs","friends":[],"structs":{},"exposed_functions":{"verify_full_range_proof":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}},"U64"],"return_":["Bool"]}}},"coin":{"file_format_version":6,"address":"0x2","name":"coin","friends":[],"structs":{"Coin":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"CoinMetadata":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"decimals","type_":"U8"},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"symbol","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}},{"name":"description","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"icon_url","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}}}]},"CurrencyCreated":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"decimals","type_":"U8"}]},"TreasuryCap":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"total_supply","type_":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}]}},"exposed_functions":{"balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"balance_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"burn":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":["U64"]},"burn_":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"create_currency":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}]},"destroy_zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"divide_into_n":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}]},"from_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"get_decimals":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U8"]},"get_description":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}]},"get_icon_url":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}}]},"get_name":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}]},"get_symbol":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}]},"into_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"mint":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"mint_and_transfer":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"mint_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"put":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"split":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}]},"supply_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}]},"take":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"total_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"treasury_into_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}]},"update_description":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}],"return_":[]},"update_icon_url":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[]},"update_name":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}],"return_":[]},"update_symbol":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]}}},"devnet_nft":{"file_format_version":6,"address":"0x2","name":"devnet_nft","friends":[],"structs":{"DevNetNFT":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"description","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]},"MintNFTEvent":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"object_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}},{"name":"creator","type_":"Address"},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]}},"exposed_functions":{"burn":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}],"return_":[]},"description":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]},"mint":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"name":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]},"update_description":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}},{"Vector":"U8"}],"return_":[]},"url":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]}}},"digest":{"file_format_version":6,"address":"0x2","name":"digest","friends":[],"structs":{"Sha3256Digest":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"digest","type_":{"Vector":"U8"}}]}},"exposed_functions":{"sha3_256_digest_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}]},"sha3_256_digest_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]}}},"dynamic_field":{"file_format_version":6,"address":"0x2","name":"dynamic_field","friends":[{"address":"0x2","name":"dynamic_object_field"}],"structs":{"Field":{"abilities":{"abilities":["Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":false},{"constraints":{"abilities":["Store"]},"is_phantom":false}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"name","type_":{"TypeParameter":0}},{"name":"value","type_":{"TypeParameter":1}}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"add_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":["Address",{"TypeParameter":0}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"],"return_":[{"Reference":{"TypeParameter":0}}]},"borrow_child_object_mut":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"],"return_":[{"MutableReference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"exists_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"field_info":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"]},"field_info_mut":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"]},"has_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address","Address"],"return_":["Bool"]},"has_child_object_with_ty":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return_":["Bool"]},"hash_type_and_key":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":["Address",{"TypeParameter":0}],"return_":["Address"]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]},"remove_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return_":[{"TypeParameter":0}]}}},"dynamic_object_field":{"file_format_version":6,"address":"0x2","name":"dynamic_object_field","friends":[],"structs":{"Wrapper":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":false}],"fields":[{"name":"name","type_":{"TypeParameter":0}}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"exists_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"ecdsa_k1":{"file_format_version":6,"address":"0x2","name":"ecdsa_k1","friends":[],"structs":{},"exposed_functions":{"decompress_pubkey":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return_":[{"Vector":"U8"}]},"ecrecover":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":[{"Vector":"U8"}]},"keccak256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return_":[{"Vector":"U8"}]},"secp256k1_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]}}},"ed25519":{"file_format_version":6,"address":"0x2","name":"ed25519","friends":[{"address":"0x2","name":"validator"}],"structs":{},"exposed_functions":{"ed25519_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]},"ed25519_verify_with_domain":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Vector":"U8"},{"Vector":"U8"}],"return_":["Bool"]}}},"elliptic_curve":{"file_format_version":6,"address":"0x2","name":"elliptic_curve","friends":[],"structs":{"RistrettoPoint":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"value","type_":{"Vector":"U8"}}]},"Scalar":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"value","type_":{"Vector":"U8"}}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]},"bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"create_pedersen_commitment":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}},{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]},"new_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]},"new_scalar_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}]},"new_scalar_from_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}]},"scalar_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"subtract":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]}}},"epoch_time_lock":{"file_format_version":6,"address":"0x2","name":"epoch_time_lock","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"EpochTimeLock":{"abilities":{"abilities":["Copy","Store"]},"type_parameters":[],"fields":[{"name":"epoch","type_":"U64"}]}},"exposed_functions":{"destroy":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"destroy_unchecked":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}],"return_":[]},"epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}},"erc721_metadata":{"file_format_version":6,"address":"0x2","name":"erc721_metadata","friends":[],"structs":{"ERC721Metadata":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"token_id","type_":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}}},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"token_uri","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]},"TokenID":{"abilities":{"abilities":["Copy","Store"]},"type_parameters":[],"fields":[{"name":"id","type_":"U64"}]}},"exposed_functions":{"name":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}},{"Vector":"U8"},{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}]},"new_token_id":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}}]},"token_id":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}}}]},"token_uri":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]}}},"event":{"file_format_version":6,"address":"0x2","name":"event","friends":[],"structs":{},"exposed_functions":{"emit":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return_":[]}}},"genesis":{"file_format_version":6,"address":"0x2","name":"genesis","friends":[],"structs":{},"exposed_functions":{}},"groth16":{"file_format_version":6,"address":"0x2","name":"groth16","friends":[],"structs":{"PreparedVerifyingKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"vk_gamma_abc_g1_bytes","type_":{"Vector":"U8"}},{"name":"alpha_g1_beta_g2_bytes","type_":{"Vector":"U8"}},{"name":"gamma_g2_neg_pc_bytes","type_":{"Vector":"U8"}},{"name":"delta_g2_neg_pc_bytes","type_":{"Vector":"U8"}}]},"ProofPoints":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":{"Vector":"U8"}}]},"PublicProofInputs":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":{"Vector":"U8"}}]}},"exposed_functions":{"prepare_verifying_key":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}]},"proof_points_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","type_arguments":[]}}]},"public_proof_inputs_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","type_arguments":[]}}]},"pvk_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}]},"pvk_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}],"return_":[{"Vector":{"Vector":"U8"}}]},"verify_groth16_proof":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","type_arguments":[]}}}],"return_":["Bool"]},"verify_groth16_proof_internal":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]}}},"hex":{"file_format_version":6,"address":"0x2","name":"hex","friends":[],"structs":{},"exposed_functions":{"decode":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Vector":"U8"}]},"encode":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Vector":"U8"}]}}},"hmac":{"file_format_version":6,"address":"0x2","name":"hmac","friends":[],"structs":{},"exposed_functions":{"hmac_sha3_256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":[{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}]}}},"immutable_external_resource":{"file_format_version":6,"address":"0x2","name":"immutable_external_resource","friends":[],"structs":{"ImmutableExternalResource":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"name":"digest","type_":{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}}]}},"exposed_functions":{"digest":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}},{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}]},"update":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}],"return_":[]},"url":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}}},"linked_table":{"file_format_version":6,"address":"0x2","name":"linked_table","friends":[],"structs":{"LinkedTable":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":false},{"constraints":{"abilities":["Store"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"},{"name":"head","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}},{"name":"tail","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"Node":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":false},{"constraints":{"abilities":["Store"]},"is_phantom":false}],"fields":[{"name":"prev","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}},{"name":"next","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}},{"name":"value","type_":{"TypeParameter":1}}]}},"exposed_functions":{"back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"drop":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"front":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"next":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"pop_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"pop_front":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"prev":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"push_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"push_front":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"locked_coin":{"file_format_version":6,"address":"0x2","name":"locked_coin","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"LockedCoin":{"abilities":{"abilities":["Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"name":"locked_until_epoch","type_":{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}}]}},"exposed_functions":{"into_balance":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]},"lock_coin":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}},"Address","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"new_from_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"unlock_coin":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]}}},"math":{"file_format_version":6,"address":"0x2","name":"math","friends":[],"structs":{},"exposed_functions":{"diff":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"divide_and_round_up":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"max":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"min":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"pow":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U8"],"return_":["U64"]},"sqrt":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":["U64"]},"sqrt_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U128"],"return_":["U128"]}}},"object":{"file_format_version":6,"address":"0x2","name":"object","friends":[{"address":"0x2","name":"dynamic_field"},{"address":"0x2","name":"dynamic_object_field"},{"address":"0x2","name":"sui_system"},{"address":"0x2","name":"transfer"}],"structs":{"ID":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":"Address"}]},"UID":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]}},"exposed_functions":{"borrow_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"delete":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}],"return_":[]},"id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]},"id_address":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":["Address"]},"id_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Vector":"U8"}]},"id_from_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]},"id_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]},"id_to_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}],"return_":["Address"]},"id_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}]},"new_uid_from_hash":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}]},"sui_system_state":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}]},"uid_as_inner":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"uid_to_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":["Address"]},"uid_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"uid_to_inner":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}},"object_bag":{"file_format_version":6,"address":"0x2","name":"object_bag","friends":[],"structs":{"ObjectBag":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"contains_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}]}}},"object_table":{"file_format_version":6,"address":"0x2","name":"object_table","friends":[],"structs":{"ObjectTable":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":true},{"constraints":{"abilities":["Store","Key"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}]}}},"pay":{"file_format_version":6,"address":"0x2","name":"pay","friends":[],"structs":{},"exposed_functions":{"divide_and_keep":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"join":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"join_vec":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":[]},"join_vec_and_transfer":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"Address"],"return_":[]},"keep":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"split":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"split_and_transfer":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"split_vec":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Vector":"U64"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]}}},"priority_queue":{"file_format_version":6,"address":"0x2","name":"priority_queue","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Drop"]},"is_phantom":false}],"fields":[{"name":"priority","type_":"U64"},{"name":"value","type_":{"TypeParameter":0}}]},"PriorityQueue":{"abilities":{"abilities":["Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Drop"]},"is_phantom":false}],"fields":[{"name":"entries","type_":{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}}}]}},"exposed_functions":{"create_entries":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":"U64"},{"Vector":{"TypeParameter":0}}],"return_":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}}]},"insert":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","type_arguments":[{"TypeParameter":0}]}}},"U64",{"TypeParameter":0}],"return_":[]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","type_arguments":[{"TypeParameter":0}]}}]},"new_entry":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":["U64",{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}]},"pop_max":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64",{"TypeParameter":0}]}}},"publisher":{"file_format_version":6,"address":"0x2","name":"publisher","friends":[],"structs":{"Publisher":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"package","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}},{"name":"module_name","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]}},"exposed_functions":{"burn":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}],"return_":[]},"claim":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}]},"claim_and_keep":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"is_module":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":["Bool"]},"is_package":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":["Bool"]},"module_name":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]},"package":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]}}},"safe":{"file_format_version":6,"address":"0x2","name":"safe","friends":[],"structs":{"OwnerCapability":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"safe_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"Safe":{"abilities":{"abilities":["Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"name":"allowed_safes","type_":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}}]},"TransferCapability":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"safe_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}},{"name":"amount","type_":"U64"}]}},"exposed_functions":{"balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"create":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}]},"create_empty":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create_transfer_capability":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"safe","name":"TransferCapability","type_arguments":[{"TypeParameter":0}]}}]},"debit":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"TransferCapability","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"deposit":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"deposit_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"revoke_transfer_capability":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}],"return_":[]},"self_revoke_transfer_capability":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"TransferCapability","type_arguments":[{"TypeParameter":0}]}}}],"return_":[]},"withdraw":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"withdraw_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]}}},"stake":{"file_format_version":6,"address":"0x2","name":"stake","friends":[{"address":"0x2","name":"sui_system"},{"address":"0x2","name":"validator"}],"structs":{"Stake":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"locked_until_epoch","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}}]}},"exposed_functions":{"burn":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address",{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}}],"return_":["U64"]},"withdraw_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]}}},"stake_subsidy":{"file_format_version":6,"address":"0x2","name":"stake_subsidy","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"StakeSubsidy":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"epoch_counter","type_":"U64"},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"current_epoch_amount","type_":"U64"}]}},"exposed_functions":{"advance_epoch":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}}],"return_":[]},"create":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}]},"current_epoch_subsidy_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}}],"return_":["U64"]},"mint_stake_subsidy_proportional_to_total_stake_testnet":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},"U64","U64"],"return_":[]},"withdraw_all":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}]}}},"staking_pool":{"file_format_version":6,"address":"0x2","name":"staking_pool","friends":[{"address":"0x2","name":"validator"},{"address":"0x2","name":"validator_set"}],"structs":{"Delegation":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"staked_sui_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}},{"name":"pool_tokens","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}},{"name":"principal_sui_amount","type_":"U64"}]},"DelegationToken":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"dummy_field","type_":"Bool"}]},"InactiveStakingPool":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"pool","type_":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}]},"PendingDelegationEntry":{"abilities":{"abilities":["Drop","Store"]},"type_parameters":[],"fields":[{"name":"delegator","type_":"Address"},{"name":"sui_amount","type_":"U64"}]},"PendingWithdrawEntry":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"delegator","type_":"Address"},{"name":"principal_withdraw_amount","type_":"U64"},{"name":"withdrawn_pool_tokens","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}}]},"PoolTokenExchangeRate":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"sui_amount","type_":"U64"},{"name":"pool_token_amount","type_":"U64"}]},"StakedSui":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"validator_address","type_":"Address"},{"name":"pool_starting_epoch","type_":"U64"},{"name":"delegation_request_epoch","type_":"U64"},{"name":"principal","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"sui_token_lock","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}}]},"StakingPool":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"validator_address","type_":"Address"},{"name":"starting_epoch","type_":"U64"},{"name":"sui_balance","type_":"U64"},{"name":"rewards_pool","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"delegation_token_supply","type_":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}},{"name":"pending_delegations","type_":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingDelegationEntry","type_arguments":[]}}]}}},{"name":"pending_withdraws","type_":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]}}}]}},"exposed_functions":{"batch_withdraw_rewards_and_burn_pool_tokens":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]}}],"return_":[{"Vector":"Address"},{"Vector":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},"U64"]},"cancel_delegation_request":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"deactivate_staking_pool":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"delegation_request_epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}}],"return_":["U64"]},"delegation_token_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}}}],"return_":["U64"]},"deposit_rewards":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}],"return_":[]},"destroy_empty_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}}],"return_":[]},"destroy_empty_staked_sui":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}],"return_":[]},"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}]},"new_pending_withdraw_entry":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address","U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]},"pool_token_exchange_rate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PoolTokenExchangeRate","type_arguments":[]}}]},"process_pending_delegation_withdraws":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["U64"]},"process_pending_delegations":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["U64"]},"staked_sui_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}}],"return_":["U64"]},"sui_balance":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}],"return_":["U64"]},"validator_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}}],"return_":["Address"]},"withdraw_from_inactive_pool":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"InactiveStakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"withdraw_from_principal":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}]}}},"sui":{"file_format_version":6,"address":"0x2","name":"sui","friends":[{"address":"0x2","name":"genesis"}],"structs":{"SUI":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"dummy_field","type_":"Bool"}]}},"exposed_functions":{"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}]},"transfer":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address"],"return_":[]}}},"sui_system":{"file_format_version":6,"address":"0x2","name":"sui_system","friends":[{"address":"0x2","name":"genesis"}],"structs":{"SuiSystemState":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"epoch","type_":"U64"},{"name":"validators","type_":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"name":"sui_supply","type_":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"storage_fund","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"parameters","type_":{"Struct":{"address":"0x2","module":"sui_system","name":"SystemParameters","type_arguments":[]}}},{"name":"reference_gas_price","type_":"U64"},{"name":"validator_report_records","type_":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":["Address"]}}]}}},{"name":"stake_subsidy","type_":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}},{"name":"safe_mode","type_":"Bool"}]},"SystemEpochInfo":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"epoch","type_":"U64"},{"name":"reference_gas_price","type_":"U64"},{"name":"total_stake","type_":"U64"},{"name":"storage_fund_inflows","type_":"U64"},{"name":"storage_fund_outflows","type_":"U64"},{"name":"storage_fund_balance","type_":"U64"},{"name":"stake_subsidy_amount","type_":"U64"},{"name":"total_gas_fees","type_":"U64"},{"name":"total_stake_rewards","type_":"U64"}]},"SystemParameters":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"min_validator_stake","type_":"U64"},{"name":"max_validator_candidate_count","type_":"U64"},{"name":"storage_gas_price","type_":"U64"}]}},"exposed_functions":{"advance_epoch":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64","U64","U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"advance_epoch_safe_mode":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"cancel_delegation_request":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"U64","U64","U64","U64"],"return_":[]},"epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}}],"return_":["U64"]},"get_reporters_of":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address"],"return_":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":["Address"]}}]},"report_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation_mul_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation_mul_locked_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation_with_locked_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake_with_locked_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_remove_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_commission_rate":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_gas_price":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_switch_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_stake":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"undo_report_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"validator_delegate_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address"],"return_":["U64"]},"validator_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address"],"return_":["U64"]},"validators":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}]}}},"table":{"file_format_version":6,"address":"0x2","name":"table","friends":[],"structs":{"Table":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":true},{"constraints":{"abilities":["Store"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"drop":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"table_vec":{"file_format_version":6,"address":"0x2","name":"table_vec","friends":[],"structs":{"TableVec":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":["Store"]},"is_phantom":true}],"fields":[{"name":"contents","type_":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":["U64",{"TypeParameter":0}]}}}]}},"exposed_functions":{"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"MutableReference":{"TypeParameter":0}}]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"pop_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"TypeParameter":0}]},"push_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return_":[]},"singleton":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}]}}},"transfer":{"file_format_version":6,"address":"0x2","name":"transfer","friends":[],"structs":{},"exposed_functions":{"freeze_object":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return_":[]},"share_object":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return_":[]},"transfer":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return_":[]}}},"tx_context":{"file_format_version":6,"address":"0x2","name":"tx_context","friends":[{"address":"0x2","name":"object"}],"structs":{"TxContext":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"sender","type_":"Address"},{"name":"tx_hash","type_":{"Vector":"U8"}},{"name":"epoch","type_":"U64"},{"name":"ids_created","type_":"U64"}]}},"exposed_functions":{"epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["U64"]},"new_object":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["Address"]},"sender":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["Address"]}}},"typed_id":{"file_format_version":6,"address":"0x2","name":"typed_id","friends":[],"structs":{"TypedID":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Key"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]}},"exposed_functions":{"as_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"equals_object":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return_":["Bool"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}]},"to_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}},"types":{"file_format_version":6,"address":"0x2","name":"types","friends":[],"structs":{},"exposed_functions":{"is_one_time_witness":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":["Bool"]}}},"url":{"file_format_version":6,"address":"0x2","name":"url","friends":[],"structs":{"Url":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"url","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]}},"exposed_functions":{"inner_url":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}]},"new_unsafe":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]},"new_unsafe_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]},"update":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[]}}},"validator":{"file_format_version":6,"address":"0x2","name":"validator","friends":[{"address":"0x2","name":"genesis"},{"address":"0x2","name":"sui_system"},{"address":"0x2","name":"validator_set"},{"address":"0x2","name":"voting_power"}],"structs":{"Validator":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"metadata","type_":{"Struct":{"address":"0x2","module":"validator","name":"ValidatorMetadata","type_arguments":[]}}},{"name":"voting_power","type_":"U64"},{"name":"stake_amount","type_":"U64"},{"name":"pending_stake","type_":"U64"},{"name":"pending_withdraw","type_":"U64"},{"name":"gas_price","type_":"U64"},{"name":"delegation_staking_pool","type_":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"name":"commission_rate","type_":"U64"}]},"ValidatorMetadata":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"sui_address","type_":"Address"},{"name":"pubkey_bytes","type_":{"Vector":"U8"}},{"name":"network_pubkey_bytes","type_":{"Vector":"U8"}},{"name":"worker_pubkey_bytes","type_":{"Vector":"U8"}},{"name":"proof_of_possession","type_":{"Vector":"U8"}},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"description","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"image_url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"name":"project_url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"name":"net_address","type_":{"Vector":"U8"}},{"name":"consensus_address","type_":{"Vector":"U8"}},{"name":"worker_address","type_":{"Vector":"U8"}},{"name":"next_epoch_stake","type_":"U64"},{"name":"next_epoch_delegation","type_":"U64"},{"name":"next_epoch_gas_price","type_":"U64"},{"name":"next_epoch_commission_rate","type_":"U64"}]}},"exposed_functions":{"adjust_stake_and_gas_price":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[]},"cancel_delegation_request":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"commission_rate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"decrease_next_epoch_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"delegate_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"deposit_delegation_rewards":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}],"return_":[]},"destroy":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"gas_price":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"get_staking_pool_mut_ref":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}]},"is_duplicate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["Bool"]},"metadata":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"ValidatorMetadata","type_arguments":[]}}}]},"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}]},"pending_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"pending_withdraw":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"pool_token_exchange_rate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PoolTokenExchangeRate","type_arguments":[]}}]},"process_pending_delegations_and_withdraws":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_commission_rate":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"request_set_gas_price":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"request_withdraw_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"set_voting_power":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"sui_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["Address"]},"total_stake":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"total_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"voting_power":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]}}},"validator_set":{"file_format_version":6,"address":"0x2","name":"validator_set","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"DelegationRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"validator_address","type_":"Address"},{"name":"delegator_address","type_":"Address"},{"name":"epoch","type_":"U64"},{"name":"amount","type_":"U64"}]},"ValidatorEpochInfo":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"epoch","type_":"U64"},{"name":"validator_address","type_":"Address"},{"name":"reference_gas_survey_quote","type_":"U64"},{"name":"validator_stake","type_":"U64"},{"name":"delegated_stake","type_":"U64"},{"name":"commission_rate","type_":"U64"},{"name":"stake_rewards","type_":"U64"},{"name":"pool_token_exchange_rate","type_":{"Struct":{"address":"0x2","module":"staking_pool","name":"PoolTokenExchangeRate","type_arguments":[]}}},{"name":"tallying_rule_reporters","type_":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type_":"U64"}]},"ValidatorPair":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"from","type_":"Address"},{"name":"to","type_":"Address"}]},"ValidatorSet":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"total_validator_stake","type_":"U64"},{"name":"total_delegation_stake","type_":"U64"},{"name":"active_validators","type_":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}},{"name":"pending_validators","type_":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}},{"name":"pending_removals","type_":{"Vector":"U64"}},{"name":"next_epoch_validators","type_":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"ValidatorMetadata","type_arguments":[]}}}},{"name":"pending_delegation_switches","type_":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorPair","type_arguments":[]}},{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]}}]}}}]}},"exposed_functions":{"active_validators":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}}]},"advance_epoch":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["U64",{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":["Address"]}}]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"cancel_delegation_request":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"derive_reference_gas_price":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"is_active_validator":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["Bool"]},"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}]},"next_epoch_validator_count":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"request_add_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address",{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_validator":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}],"return_":[]},"request_remove_validator":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_commission_rate":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_gas_price":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_switch_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"sum_voting_power_by_addresses":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}},{"Reference":{"Vector":"Address"}}],"return_":["U64"]},"total_delegation_stake":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"total_validator_stake":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"validator_delegate_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["U64"]},"validator_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["U64"]},"validator_total_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["U64"]}}},"vec_map":{"file_format_version":6,"address":"0x2","name":"vec_map","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Copy"]},"is_phantom":false},{"constraints":{"abilities":[]},"is_phantom":false}],"fields":[{"name":"key","type_":{"TypeParameter":0}},{"name":"value","type_":{"TypeParameter":1}}]},"VecMap":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Copy"]},"is_phantom":false},{"constraints":{"abilities":[]},"is_phantom":false}],"fields":[{"name":"contents","type_":{"Vector":{"Struct":{"address":"0x2","module":"vec_map","name":"Entry","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}}]}},"exposed_functions":{"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"get":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return_":[{"Reference":{"TypeParameter":0}},{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return_":[{"Reference":{"TypeParameter":0}},{"MutableReference":{"TypeParameter":1}}]},"get_idx":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":["U64"]},"get_idx_opt":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}}]},"get_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"insert":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"into_keys_values":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[{"Vector":{"TypeParameter":0}},{"Vector":{"TypeParameter":1}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"keys":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"Vector":{"TypeParameter":0}}]},"pop":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"remove_entry_by_idx":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"size":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]}}},"vec_set":{"file_format_version":6,"address":"0x2","name":"vec_set","friends":[],"structs":{"VecSet":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop"]},"is_phantom":false}],"fields":[{"name":"contents","type_":{"Vector":{"TypeParameter":0}}}]}},"exposed_functions":{"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return_":["Bool"]},"empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}]},"insert":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return_":[]},"into_keys":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Vector":{"TypeParameter":0}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}}],"return_":["Bool"]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return_":[]},"singleton":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}]},"size":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]}}},"voting_power":{"file_format_version":6,"address":"0x2","name":"voting_power","friends":[],"structs":{"VotingPowerInfo":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"validator_index","type_":"U64"},{"name":"voting_power","type_":"U64"}]}},"exposed_functions":{"quorum_threshold":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U64"]},"set_voting_power":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}}],"return_":[]},"total_voting_power":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U64"]}}}}'
|
1522
|
+
'{"address":{"fileFormatVersion":6,"address":"0x2","name":"address","friends":[],"structs":{},"exposedFunctions":{"from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":["Address"]},"from_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U256"],"return":["Address"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U64"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U256"]},"to_ascii_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Vector":"U8"}]},"to_string":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"to_u256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":["U256"]}}},"bag":{"fileFormatVersion":6,"address":"0x2","name":"bag","friends":[],"structs":{"Bag":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"contains_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"balance":{"fileFormatVersion":6,"address":"0x2","name":"balance","friends":[{"address":"0x2","name":"sui"}],"structs":{"Balance":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"value","type":"U64"}]},"Supply":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"value","type":"U64"}]}},"exposedFunctions":{"create_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}]},"decrease_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"destroy_supply":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"increase_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"supply_value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"withdraw_all":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]}}},"bcs":{"fileFormatVersion":6,"address":"0x2","name":"bcs","friends":[],"structs":{"BCS":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"into_remainder_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}],"return":[{"Vector":"U8"}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}]},"peel_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["Address"]},"peel_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["Bool"]},"peel_option_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Address"]}}]},"peel_option_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["Bool"]}}]},"peel_option_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U128"]}}]},"peel_option_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"peel_option_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U8"]}}]},"peel_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U128"]},"peel_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U64"]},"peel_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U8"]},"peel_vec_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"Address"}]},"peel_vec_bool":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"Bool"}]},"peel_vec_length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":["U64"]},"peel_vec_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U128"}]},"peel_vec_u64":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U64"}]},"peel_vec_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"peel_vec_vec_u8":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","typeArguments":[]}}}],"return":[{"Vector":{"Vector":"U8"}}]},"to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]}}},"bls12381":{"fileFormatVersion":6,"address":"0x2","name":"bls12381","friends":[],"structs":{},"exposedFunctions":{"bls12381_min_pk_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]},"bls12381_min_sig_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]}}},"borrow":{"fileFormatVersion":6,"address":"0x2","name":"borrow","friends":[],"structs":{"Borrow":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"ref","type":"Address"},{"name":"obj","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Referent":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":false}],"fields":[{"name":"id","type":"Address"},{"name":"value","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"borrow","name":"Borrow","typeArguments":[]}}]},"destroy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}],"return":[{"TypeParameter":0}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}]},"put_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"borrow","name":"Referent","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0},{"Struct":{"address":"0x2","module":"borrow","name":"Borrow","typeArguments":[]}}],"return":[]}}},"clock":{"fileFormatVersion":6,"address":"0x2","name":"clock","friends":[],"structs":{"Clock":{"abilities":{"abilities":["Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"timestamp_ms","type":"U64"}]}},"exposedFunctions":{"timestamp_ms":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"clock","name":"Clock","typeArguments":[]}}}],"return":["U64"]}}},"coin":{"fileFormatVersion":6,"address":"0x2","name":"coin","friends":[],"structs":{"Coin":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"CoinMetadata":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"decimals","type":"U8"},{"name":"name","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"symbol","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"name":"description","type":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"name":"icon_url","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}}}]},"CurrencyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"decimals","type":"U8"}]},"TreasuryCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"total_supply","type":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]}},"exposedFunctions":{"balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"balance_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}}]},"burn":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":["U64"]},"create_currency":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}]},"destroy_zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"divide_into_n":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}]},"from_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"get_decimals":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":["U8"]},"get_description":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"get_icon_url":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]}}]},"get_name":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]},"get_symbol":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"into_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"mint":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"mint_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"mint_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}]},"put":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"split":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"supply_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}}]},"take":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]},"total_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"treasury_into_supply":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","typeArguments":[{"TypeParameter":0}]}}]},"update_description":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_icon_url":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"update_name":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_symbol":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]},"value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"zero":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}]}}},"display":{"fileFormatVersion":6,"address":"0x2","name":"display","friends":[],"structs":{"Display":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"fields","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}},{"name":"version","type":"U16"}]},"DisplayCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"VersionUpdated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U16"},{"name":"fields","type":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"add_multiple":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}}],"return":[]},"create_and_keep":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"edit":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"fields":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}]}}}]},"is_authorized":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}]},"new_with_fields":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"Vector":{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}]},"remove":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","typeArguments":[]}}],"return":[]},"update_version":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"display","name":"Display","typeArguments":[{"TypeParameter":0}]}}}],"return":["U16"]}}},"dynamic_field":{"fileFormatVersion":6,"address":"0x2","name":"dynamic_field","friends":[{"address":"0x2","name":"dynamic_object_field"}],"structs":{"Field":{"abilities":{"abilities":["Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":false}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"name","type":{"TypeParameter":0}},{"name":"value","type":{"TypeParameter":1}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"add_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address",{"TypeParameter":0}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_child_object_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"],"return":[{"MutableReference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"exists_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"field_info":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"]},"field_info_mut":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},"Address"]},"has_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address","Address"],"return":["Bool"]},"has_child_object_with_ty":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return":["Bool"]},"hash_type_and_key":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":["Address",{"TypeParameter":0}],"return":["Address"]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"remove_child_object":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return":[{"TypeParameter":0}]},"remove_if_exists":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":1}]}}]}}},"dynamic_object_field":{"fileFormatVersion":6,"address":"0x2","name":"dynamic_object_field","friends":[],"structs":{"Wrapper":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"name","type":{"TypeParameter":0}}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"exists_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"ecdsa_k1":{"fileFormatVersion":6,"address":"0x2","name":"ecdsa_k1","friends":[],"structs":{},"exposedFunctions":{"decompress_pubkey":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"secp256k1_ecrecover":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":[{"Vector":"U8"}]},"secp256k1_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":["Bool"]}}},"ecdsa_r1":{"fileFormatVersion":6,"address":"0x2","name":"ecdsa_r1","friends":[],"structs":{},"exposedFunctions":{"secp256r1_ecrecover":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":[{"Vector":"U8"}]},"secp256r1_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},"U8"],"return":["Bool"]}}},"ecvrf":{"fileFormatVersion":6,"address":"0x2","name":"ecvrf","friends":[],"structs":{},"exposedFunctions":{"ecvrf_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]}}},"ed25519":{"fileFormatVersion":6,"address":"0x2","name":"ed25519","friends":[],"structs":{},"exposedFunctions":{"ed25519_verify":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":["Bool"]}}},"event":{"fileFormatVersion":6,"address":"0x2","name":"event","friends":[],"structs":{},"exposedFunctions":{"emit":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return":[]}}},"groth16":{"fileFormatVersion":6,"address":"0x2","name":"groth16","friends":[],"structs":{"Curve":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":"U8"}]},"PreparedVerifyingKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"vk_gamma_abc_g1_bytes","type":{"Vector":"U8"}},{"name":"alpha_g1_beta_g2_bytes","type":{"Vector":"U8"}},{"name":"gamma_g2_neg_pc_bytes","type":{"Vector":"U8"}},{"name":"delta_g2_neg_pc_bytes","type":{"Vector":"U8"}}]},"ProofPoints":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]},"PublicProofInputs":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":{"Vector":"U8"}}]}},"exposedFunctions":{"bls12381":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}]},"bn254":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}]},"prepare_verifying_key":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}},{"Reference":{"Vector":"U8"}}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}]},"proof_points_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","typeArguments":[]}}]},"public_proof_inputs_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","typeArguments":[]}}]},"pvk_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}]},"pvk_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}],"return":[{"Vector":{"Vector":"U8"}}]},"verify_groth16_proof":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"Curve","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","typeArguments":[]}}}],"return":["Bool"]}}},"hash":{"fileFormatVersion":6,"address":"0x2","name":"hash","friends":[],"structs":{},"exposedFunctions":{"blake2b256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]},"keccak256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]}}},"hex":{"fileFormatVersion":6,"address":"0x2","name":"hex","friends":[],"structs":{},"exposedFunctions":{"decode":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]},"encode":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Vector":"U8"}]}}},"hmac":{"fileFormatVersion":6,"address":"0x2","name":"hmac","friends":[],"structs":{},"exposedFunctions":{"hmac_sha3_256":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return":[{"Vector":"U8"}]}}},"kiosk":{"fileFormatVersion":6,"address":"0x2","name":"kiosk","friends":[],"structs":{"Item":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"ItemListed":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"kiosk","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"price","type":"U64"}]},"Kiosk":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"profits","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"owner","type":"Address"},{"name":"item_count","type":"U32"},{"name":"allow_extensions","type":"Bool"}]},"KioskOwnerCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"for","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"Listing":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"is_exclusive","type":"Bool"}]},"Lock":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"PurchaseCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"kiosk_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"item_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"min_price","type":"U64"}]}},"exposedFunctions":{"close_and_withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}},{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"has_access":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":["Bool"]},"has_item":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_listed":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_listed_exclusively":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"is_locked":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":["Bool"]},"item_count":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["U32"]},"list":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64"],"return":[]},"list_with_purchase_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}]},"lock":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}},{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}]},"owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["Address"]},"place":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"TypeParameter":0}],"return":[]},"place_and_list":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"TypeParameter":0},"U64"],"return":[]},"profits_amount":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":["U64"]},"profits_mut":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}}]},"purchase":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"purchase_cap_item":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"purchase_cap_kiosk":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"purchase_cap_min_price":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"purchase_with_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"return_purchase_cap":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"kiosk","name":"PurchaseCap","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"set_allow_extensions":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},"Bool"],"return":[]},"set_owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"take":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"TypeParameter":0}]},"uid_mut":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_as_owner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"kiosk","name":"Kiosk","typeArguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"kiosk","name":"KioskOwnerCap","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"linked_table":{"fileFormatVersion":6,"address":"0x2","name":"linked_table","friends":[],"structs":{"LinkedTable":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"},{"name":"head","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"tail","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"Node":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":false},{"constraints":{"abilities":["Store"]},"isPhantom":false}],"fields":[{"name":"prev","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"next","type":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}},{"name":"value","type":{"TypeParameter":1}}]}},"exposedFunctions":{"back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"next":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"pop_front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"prev":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":0}]}}}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"push_front":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"math":{"fileFormatVersion":6,"address":"0x2","name":"math","friends":[],"structs":{},"exposedFunctions":{"diff":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"divide_and_round_up":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"max":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"min":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U64"],"return":["U64"]},"pow":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64","U8"],"return":["U64"]},"sqrt":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U64"],"return":["U64"]},"sqrt_u128":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["U128"],"return":["U128"]}}},"object":{"fileFormatVersion":6,"address":"0x2","name":"object","friends":[{"address":"0x2","name":"clock"},{"address":"0x2","name":"dynamic_field"},{"address":"0x2","name":"dynamic_object_field"},{"address":"0x2","name":"transfer"}],"structs":{"ID":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"bytes","type":"Address"}]},"UID":{"abilities":{"abilities":["Store"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]}},"exposedFunctions":{"borrow_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"clock":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"delete":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}],"return":[]},"id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_address":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":["Address"]},"id_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":[{"Vector":"U8"}]},"id_from_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"id_to_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":["Address"]},"id_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"new_uid_from_hash":{"visibility":"Friend","isEntry":false,"typeParameters":[],"parameters":["Address"],"return":[{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}]},"uid_as_inner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"uid_to_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":["Address"]},"uid_to_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Vector":"U8"}]},"uid_to_inner":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}},"object_bag":{"fileFormatVersion":6,"address":"0x2","name":"object_bag","friends":[],"structs":{"ObjectBag":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"contains_with_type":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","typeArguments":[]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]}}},"object_table":{"fileFormatVersion":6,"address":"0x2","name":"object_table","friends":[],"structs":{"ObjectTable":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":true},{"constraints":{"abilities":["Store","Key"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]}}]}}},"package":{"fileFormatVersion":6,"address":"0x2","name":"package","friends":[],"structs":{"Publisher":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}},{"name":"module_name","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"UpgradeCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"version","type":"U64"},{"name":"policy","type":"U8"}]},"UpgradeReceipt":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"cap","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"UpgradeTicket":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"cap","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"package","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"policy","type":"U8"},{"name":"digest","type":{"Vector":"U8"}}]}},"exposedFunctions":{"additive_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"authorize_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}},"U8",{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}]},"burn_publisher":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}],"return":[]},"claim":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}]},"claim_and_keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"commit_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}},{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}],"return":[]},"compatible_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"dep_only_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[],"return":["U8"]},"from_module":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"from_package":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":["Bool"]},"make_immutable":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}],"return":[]},"only_additive_upgrades":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[]},"only_dep_upgrades":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[]},"published_module":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"published_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}}],"return":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]},"receipt_cap":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"receipt_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeReceipt","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"ticket_digest":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":[{"Reference":{"Vector":"U8"}}]},"ticket_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"ticket_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeTicket","typeArguments":[]}}}],"return":["U8"]},"upgrade_package":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"upgrade_policy":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":["U8"]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"UpgradeCap","typeArguments":[]}}}],"return":["U64"]}}},"pay":{"fileFormatVersion":6,"address":"0x2","name":"pay","friends":[],"structs":{},"exposedFunctions":{"divide_and_keep":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"join":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"join_vec":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"join_vec_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"Address"],"return":[]},"keep":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split_and_transfer":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]},"split_vec":{"visibility":"Public","isEntry":true,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"TypeParameter":0}]}}},{"Vector":"U64"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[]}}},"priority_queue":{"fileFormatVersion":6,"address":"0x2","name":"priority_queue","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":false}],"fields":[{"name":"priority","type":"U64"},{"name":"value","type":{"TypeParameter":0}}]},"PriorityQueue":{"abilities":{"abilities":["Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":false}],"fields":[{"name":"entries","type":{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}}]}},"exposedFunctions":{"create_entries":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":"U64"},{"Vector":{"TypeParameter":0}}],"return":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}},"U64",{"TypeParameter":0}],"return":[]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}]},"new_entry":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":["U64",{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","typeArguments":[{"TypeParameter":0}]}}]},"pop_max":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64",{"TypeParameter":0}]},"priorities":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Vector":"U64"}]}}},"prover":{"fileFormatVersion":6,"address":"0x2","name":"prover","friends":[],"structs":{},"exposedFunctions":{}},"sui":{"fileFormatVersion":6,"address":"0x2","name":"sui","friends":[],"structs":{"SUI":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"dummy_field","type":"Bool"}]}},"exposedFunctions":{"transfer":{"visibility":"Public","isEntry":true,"typeParameters":[],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}},"Address"],"return":[]}}},"table":{"fileFormatVersion":6,"address":"0x2","name":"table","friends":[],"structs":{"Table":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"isPhantom":true},{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"size","type":"U64"}]}},"exposedFunctions":{"add":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"drop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return":[{"TypeParameter":1}]}}},"table_vec":{"fileFormatVersion":6,"address":"0x2","name":"table_vec","friends":[],"structs":{"TableVec":{"abilities":{"abilities":["Store"]},"typeParameters":[{"constraints":{"abilities":["Store"]},"isPhantom":true}],"fields":[{"name":"contents","type":{"Struct":{"address":"0x2","module":"table","name":"Table","typeArguments":["U64",{"TypeParameter":0}]}}}]}},"exposedFunctions":{"borrow":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},"U64"],"return":[{"MutableReference":{"TypeParameter":0}}]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"length":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"pop_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"TypeParameter":0}]},"push_back":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","typeArguments":[{"TypeParameter":0}]}}]}}},"transfer":{"fileFormatVersion":6,"address":"0x2","name":"transfer","friends":[],"structs":{},"exposedFunctions":{"freeze_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"freeze_object_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_freeze_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_share_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"public_transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store","Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]},"share_object":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"share_object_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return":[]},"transfer":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]},"transfer_impl":{"visibility":"Friend","isEntry":false,"typeParameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return":[]}}},"transfer_policy":{"fileFormatVersion":6,"address":"0x2","name":"transfer_policy","friends":[],"structs":{"RuleKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Drop"]},"isPhantom":true}],"fields":[{"name":"dummy_field","type":"Bool"}]},"TransferPolicy":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"address":"0x2","module":"balance","name":"Balance","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}},{"name":"rules","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]},"TransferPolicyCap":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"policy_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferPolicyCreated":{"abilities":{"abilities":["Copy","Drop"]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}}]},"TransferRequest":{"abilities":{"abilities":[]},"typeParameters":[{"constraints":{"abilities":[]},"isPhantom":true}],"fields":[{"name":"item","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"paid","type":"U64"},{"name":"from","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"receipts","type":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"Struct":{"address":"0x1","module":"type_name","name":"TypeName","typeArguments":[]}}]}}}]}},"exposedFunctions":{"add_receipt":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"add_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":2}],"return":[]},"add_to_balance":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"TypeParameter":1},{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}],"return":[]},"confirm_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"destroy_and_withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]},"from":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"get_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"TypeParameter":1},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"TypeParameter":2}}]},"has_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"item":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}]},"new":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"package","name":"Publisher","typeArguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}]},"new_request":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}},"U64",{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}],"return":[{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}]},"paid":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferRequest","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]},"remove_rule":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]},{"abilities":["Drop"]},{"abilities":["Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[]},"uid":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"uid_mut_as_owner":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}}],"return":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}}]},"withdraw":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicy","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"transfer_policy","name":"TransferPolicyCap","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","typeArguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","typeArguments":[]}}]}}]}}},"tx_context":{"fileFormatVersion":6,"address":"0x2","name":"tx_context","friends":[],"structs":{"TxContext":{"abilities":{"abilities":["Drop"]},"typeParameters":[],"fields":[{"name":"sender","type":"Address"},{"name":"tx_hash","type":{"Vector":"U8"}},{"name":"epoch","type":"U64"},{"name":"epoch_timestamp_ms","type":"U64"},{"name":"ids_created","type":"U64"}]}},"exposedFunctions":{"epoch":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"epoch_timestamp_ms":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["U64"]},"fresh_object_address":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Address"]},"sender":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":["Address"]}}},"types":{"fileFormatVersion":6,"address":"0x2","name":"types","friends":[],"structs":{},"exposedFunctions":{"is_one_time_witness":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return":["Bool"]}}},"url":{"fileFormatVersion":6,"address":"0x2","name":"url","friends":[],"structs":{"Url":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[],"fields":[{"name":"url","type":{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}}]}},"exposedFunctions":{"inner_url":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}]},"new_unsafe":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]},"new_unsafe_from_bytes":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Vector":"U8"}],"return":[{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}]},"update":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"url","name":"Url","typeArguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","typeArguments":[]}}],"return":[]}}},"vec_map":{"fileFormatVersion":6,"address":"0x2","name":"vec_map","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy"]},"isPhantom":false},{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"key","type":{"TypeParameter":0}},{"name":"value","type":{"TypeParameter":1}}]},"VecMap":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy"]},"isPhantom":false},{"constraints":{"abilities":[]},"isPhantom":false}],"fields":[{"name":"contents","type":{"Vector":{"Struct":{"address":"0x2","module":"vec_map","name":"Entry","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}}]}},"exposedFunctions":{"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"destroy_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}},{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"Reference":{"TypeParameter":0}},{"MutableReference":{"TypeParameter":1}}]},"get_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":["U64"]},"get_idx_opt":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":["U64"]}}]},"get_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"MutableReference":{"TypeParameter":1}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return":[]},"into_keys_values":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return":[{"Vector":{"TypeParameter":0}},{"Vector":{"TypeParameter":1}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["Bool"]},"keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"Vector":{"TypeParameter":0}}]},"pop":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"remove_entry_by_idx":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return":[{"TypeParameter":0},{"TypeParameter":1}]},"size":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return":["U64"]},"try_get":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy"]},{"abilities":["Copy"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","typeArguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return":[{"Struct":{"address":"0x1","module":"option","name":"Option","typeArguments":[{"TypeParameter":1}]}}]}}},"vec_set":{"fileFormatVersion":6,"address":"0x2","name":"vec_set","friends":[],"structs":{"VecSet":{"abilities":{"abilities":["Copy","Drop","Store"]},"typeParameters":[{"constraints":{"abilities":["Copy","Drop"]},"isPhantom":false}],"fields":[{"name":"contents","type":{"Vector":{"TypeParameter":0}}}]}},"exposedFunctions":{"contains":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":["Bool"]},"empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"insert":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return":[]},"into_keys":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}],"return":[{"Vector":{"TypeParameter":0}}]},"is_empty":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":["Bool"]},"remove":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return":[]},"singleton":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}]},"size":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","typeArguments":[{"TypeParameter":0}]}}}],"return":["U64"]}}},"versioned":{"fileFormatVersion":6,"address":"0x2","name":"versioned","friends":[],"structs":{"VersionChangeCap":{"abilities":{"abilities":[]},"typeParameters":[],"fields":[{"name":"versioned_id","type":{"Struct":{"address":"0x2","module":"object","name":"ID","typeArguments":[]}}},{"name":"old_version","type":"U64"}]},"Versioned":{"abilities":{"abilities":["Store","Key"]},"typeParameters":[],"fields":[{"name":"id","type":{"Struct":{"address":"0x2","module":"object","name":"UID","typeArguments":[]}}},{"name":"version","type":"U64"}]}},"exposedFunctions":{"create":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":["U64",{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","typeArguments":[]}}}],"return":[{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}]},"destroy":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}],"return":[{"TypeParameter":0}]},"load_value":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"Reference":{"TypeParameter":0}}]},"load_value_mut":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"MutableReference":{"TypeParameter":0}}]},"remove_value_for_upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":[{"TypeParameter":0},{"Struct":{"address":"0x2","module":"versioned","name":"VersionChangeCap","typeArguments":[]}}]},"upgrade":{"visibility":"Public","isEntry":false,"typeParameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}},"U64",{"TypeParameter":0},{"Struct":{"address":"0x2","module":"versioned","name":"VersionChangeCap","typeArguments":[]}}],"return":[]},"version":{"visibility":"Public","isEntry":false,"typeParameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"versioned","name":"Versioned","typeArguments":[]}}}],"return":["U64"]}}}}'
|
2529
1523
|
);
|
2530
1524
|
|
2531
1525
|
export function loadAllTypes(coder: MoveCoder) {
|