@typemove/sui 1.5.6 → 1.5.7-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.
@@ -565,6 +565,21 @@ export var balance;
565
565
  });
566
566
  }
567
567
  builder.decreaseSupply = decreaseSupply;
568
+ function destroySupply(tx, args, typeArguments) {
569
+ const _args = [];
570
+ _args.push(transactionArgumentOrPure(args[0], tx));
571
+ // @ts-ignore
572
+ return tx.moveCall({
573
+ target: "0x2::balance::destroy_supply",
574
+ arguments: _args,
575
+ typeArguments: [
576
+ typeof typeArguments[0] === "string"
577
+ ? typeArguments[0]
578
+ : typeArguments[0].getSignature(),
579
+ ],
580
+ });
581
+ }
582
+ builder.destroySupply = destroySupply;
568
583
  function destroyZero(tx, args, typeArguments) {
569
584
  const _args = [];
570
585
  _args.push(transactionArgumentOrPure(args[0], tx));
@@ -710,6 +725,16 @@ export var balance;
710
725
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
711
726
  }
712
727
  view.decreaseSupply = decreaseSupply;
728
+ async function destroySupply(client, args, typeArguments) {
729
+ const tx = new TransactionBlock();
730
+ builder.destroySupply(tx, args, typeArguments);
731
+ const inspectRes = await client.devInspectTransactionBlock({
732
+ transactionBlock: tx,
733
+ sender: ZERO_ADDRESS,
734
+ });
735
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
736
+ }
737
+ view.destroySupply = destroySupply;
713
738
  async function destroyZero(client, args, typeArguments) {
714
739
  const tx = new TransactionBlock();
715
740
  builder.destroyZero(tx, args, typeArguments);
@@ -3252,6 +3277,81 @@ export var deny_list;
3252
3277
  }
3253
3278
  PerTypeList.type = type;
3254
3279
  })(PerTypeList = deny_list.PerTypeList || (deny_list.PerTypeList = {}));
3280
+ let builder;
3281
+ (function (builder) {
3282
+ function add(tx, args) {
3283
+ const _args = [];
3284
+ _args.push(transactionArgumentOrObject(args[0], tx));
3285
+ _args.push(transactionArgumentOrPure(args[1], tx));
3286
+ _args.push(transactionArgumentOrVec(args[2], tx));
3287
+ _args.push(transactionArgumentOrPure(args[3], tx));
3288
+ // @ts-ignore
3289
+ return tx.moveCall({
3290
+ target: "0x2::deny_list::add",
3291
+ arguments: _args,
3292
+ });
3293
+ }
3294
+ builder.add = add;
3295
+ function contains(tx, args) {
3296
+ const _args = [];
3297
+ _args.push(transactionArgumentOrObject(args[0], tx));
3298
+ _args.push(transactionArgumentOrPure(args[1], tx));
3299
+ _args.push(transactionArgumentOrVec(args[2], tx));
3300
+ _args.push(transactionArgumentOrPure(args[3], tx));
3301
+ // @ts-ignore
3302
+ return tx.moveCall({
3303
+ target: "0x2::deny_list::contains",
3304
+ arguments: _args,
3305
+ });
3306
+ }
3307
+ builder.contains = contains;
3308
+ function remove(tx, args) {
3309
+ const _args = [];
3310
+ _args.push(transactionArgumentOrObject(args[0], tx));
3311
+ _args.push(transactionArgumentOrPure(args[1], tx));
3312
+ _args.push(transactionArgumentOrVec(args[2], tx));
3313
+ _args.push(transactionArgumentOrPure(args[3], tx));
3314
+ // @ts-ignore
3315
+ return tx.moveCall({
3316
+ target: "0x2::deny_list::remove",
3317
+ arguments: _args,
3318
+ });
3319
+ }
3320
+ builder.remove = remove;
3321
+ })(builder = deny_list.builder || (deny_list.builder = {}));
3322
+ let view;
3323
+ (function (view) {
3324
+ async function add(client, args) {
3325
+ const tx = new TransactionBlock();
3326
+ builder.add(tx, args);
3327
+ const inspectRes = await client.devInspectTransactionBlock({
3328
+ transactionBlock: tx,
3329
+ sender: ZERO_ADDRESS,
3330
+ });
3331
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3332
+ }
3333
+ view.add = add;
3334
+ async function contains(client, args) {
3335
+ const tx = new TransactionBlock();
3336
+ builder.contains(tx, args);
3337
+ const inspectRes = await client.devInspectTransactionBlock({
3338
+ transactionBlock: tx,
3339
+ sender: ZERO_ADDRESS,
3340
+ });
3341
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3342
+ }
3343
+ view.contains = contains;
3344
+ async function remove(client, args) {
3345
+ const tx = new TransactionBlock();
3346
+ builder.remove(tx, args);
3347
+ const inspectRes = await client.devInspectTransactionBlock({
3348
+ transactionBlock: tx,
3349
+ sender: ZERO_ADDRESS,
3350
+ });
3351
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3352
+ }
3353
+ view.remove = remove;
3354
+ })(view = deny_list.view || (deny_list.view = {}));
3255
3355
  })(deny_list || (deny_list = {}));
3256
3356
  export var display;
3257
3357
  (function (display) {
@@ -3606,6 +3706,22 @@ export var dynamic_field;
3606
3706
  });
3607
3707
  }
3608
3708
  builder.add = add;
3709
+ function addChildObject(tx, args, typeArguments) {
3710
+ const _args = [];
3711
+ _args.push(transactionArgumentOrPure(args[0], tx));
3712
+ _args.push(transactionArgumentOrPure(args[1], tx));
3713
+ // @ts-ignore
3714
+ return tx.moveCall({
3715
+ target: "0x2::dynamic_field::add_child_object",
3716
+ arguments: _args,
3717
+ typeArguments: [
3718
+ typeof typeArguments[0] === "string"
3719
+ ? typeArguments[0]
3720
+ : typeArguments[0].getSignature(),
3721
+ ],
3722
+ });
3723
+ }
3724
+ builder.addChildObject = addChildObject;
3609
3725
  function borrow(tx, args, typeArguments) {
3610
3726
  const _args = [];
3611
3727
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -3625,6 +3741,38 @@ export var dynamic_field;
3625
3741
  });
3626
3742
  }
3627
3743
  builder.borrow = borrow;
3744
+ function borrowChildObject(tx, args, typeArguments) {
3745
+ const _args = [];
3746
+ _args.push(transactionArgumentOrObject(args[0], tx));
3747
+ _args.push(transactionArgumentOrPure(args[1], tx));
3748
+ // @ts-ignore
3749
+ return tx.moveCall({
3750
+ target: "0x2::dynamic_field::borrow_child_object",
3751
+ arguments: _args,
3752
+ typeArguments: [
3753
+ typeof typeArguments[0] === "string"
3754
+ ? typeArguments[0]
3755
+ : typeArguments[0].getSignature(),
3756
+ ],
3757
+ });
3758
+ }
3759
+ builder.borrowChildObject = borrowChildObject;
3760
+ function borrowChildObjectMut(tx, args, typeArguments) {
3761
+ const _args = [];
3762
+ _args.push(transactionArgumentOrObject(args[0], tx));
3763
+ _args.push(transactionArgumentOrPure(args[1], tx));
3764
+ // @ts-ignore
3765
+ return tx.moveCall({
3766
+ target: "0x2::dynamic_field::borrow_child_object_mut",
3767
+ arguments: _args,
3768
+ typeArguments: [
3769
+ typeof typeArguments[0] === "string"
3770
+ ? typeArguments[0]
3771
+ : typeArguments[0].getSignature(),
3772
+ ],
3773
+ });
3774
+ }
3775
+ builder.borrowChildObjectMut = borrowChildObjectMut;
3628
3776
  function borrowMut(tx, args, typeArguments) {
3629
3777
  const _args = [];
3630
3778
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -3679,6 +3827,81 @@ export var dynamic_field;
3679
3827
  });
3680
3828
  }
3681
3829
  builder.existsWithType = existsWithType;
3830
+ function fieldInfo(tx, args, typeArguments) {
3831
+ const _args = [];
3832
+ _args.push(transactionArgumentOrObject(args[0], tx));
3833
+ _args.push(transactionArgumentOrPure(args[1], tx));
3834
+ // @ts-ignore
3835
+ return tx.moveCall({
3836
+ target: "0x2::dynamic_field::field_info",
3837
+ arguments: _args,
3838
+ typeArguments: [
3839
+ typeof typeArguments[0] === "string"
3840
+ ? typeArguments[0]
3841
+ : typeArguments[0].getSignature(),
3842
+ ],
3843
+ });
3844
+ }
3845
+ builder.fieldInfo = fieldInfo;
3846
+ function fieldInfoMut(tx, args, typeArguments) {
3847
+ const _args = [];
3848
+ _args.push(transactionArgumentOrObject(args[0], tx));
3849
+ _args.push(transactionArgumentOrPure(args[1], tx));
3850
+ // @ts-ignore
3851
+ return tx.moveCall({
3852
+ target: "0x2::dynamic_field::field_info_mut",
3853
+ arguments: _args,
3854
+ typeArguments: [
3855
+ typeof typeArguments[0] === "string"
3856
+ ? typeArguments[0]
3857
+ : typeArguments[0].getSignature(),
3858
+ ],
3859
+ });
3860
+ }
3861
+ builder.fieldInfoMut = fieldInfoMut;
3862
+ function hasChildObject(tx, args) {
3863
+ const _args = [];
3864
+ _args.push(transactionArgumentOrPure(args[0], tx));
3865
+ _args.push(transactionArgumentOrPure(args[1], tx));
3866
+ // @ts-ignore
3867
+ return tx.moveCall({
3868
+ target: "0x2::dynamic_field::has_child_object",
3869
+ arguments: _args,
3870
+ });
3871
+ }
3872
+ builder.hasChildObject = hasChildObject;
3873
+ function hasChildObjectWithTy(tx, args, typeArguments) {
3874
+ const _args = [];
3875
+ _args.push(transactionArgumentOrPure(args[0], tx));
3876
+ _args.push(transactionArgumentOrPure(args[1], tx));
3877
+ // @ts-ignore
3878
+ return tx.moveCall({
3879
+ target: "0x2::dynamic_field::has_child_object_with_ty",
3880
+ arguments: _args,
3881
+ typeArguments: [
3882
+ typeof typeArguments[0] === "string"
3883
+ ? typeArguments[0]
3884
+ : typeArguments[0].getSignature(),
3885
+ ],
3886
+ });
3887
+ }
3888
+ builder.hasChildObjectWithTy = hasChildObjectWithTy;
3889
+ function hashTypeAndKey(tx, args, typeArguments) {
3890
+ const _args = [];
3891
+ _args.push(transactionArgumentOrPure(args[0], tx));
3892
+ _args.push(transactionArgumentOrPure(args[1], tx));
3893
+ // @ts-ignore
3894
+ return tx.moveCall({
3895
+ target: "0x2::dynamic_field::hash_type_and_key",
3896
+ arguments: _args,
3897
+ typeArguments: [
3898
+ typeof typeArguments[0] === "string"
3899
+ ? typeArguments[0]
3900
+ : typeArguments[0].getSignature(),
3901
+ ],
3902
+ });
3903
+ }
3904
+ builder.hashTypeAndKey = hashTypeAndKey;
3682
3905
  function remove(tx, args, typeArguments) {
3683
3906
  const _args = [];
3684
3907
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -3698,6 +3921,22 @@ export var dynamic_field;
3698
3921
  });
3699
3922
  }
3700
3923
  builder.remove = remove;
3924
+ function removeChildObject(tx, args, typeArguments) {
3925
+ const _args = [];
3926
+ _args.push(transactionArgumentOrPure(args[0], tx));
3927
+ _args.push(transactionArgumentOrPure(args[1], tx));
3928
+ // @ts-ignore
3929
+ return tx.moveCall({
3930
+ target: "0x2::dynamic_field::remove_child_object",
3931
+ arguments: _args,
3932
+ typeArguments: [
3933
+ typeof typeArguments[0] === "string"
3934
+ ? typeArguments[0]
3935
+ : typeArguments[0].getSignature(),
3936
+ ],
3937
+ });
3938
+ }
3939
+ builder.removeChildObject = removeChildObject;
3701
3940
  function removeIfExists(tx, args, typeArguments) {
3702
3941
  const _args = [];
3703
3942
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -3730,6 +3969,16 @@ export var dynamic_field;
3730
3969
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3731
3970
  }
3732
3971
  view.add = add;
3972
+ async function addChildObject(client, args, typeArguments) {
3973
+ const tx = new TransactionBlock();
3974
+ builder.addChildObject(tx, args, typeArguments);
3975
+ const inspectRes = await client.devInspectTransactionBlock({
3976
+ transactionBlock: tx,
3977
+ sender: ZERO_ADDRESS,
3978
+ });
3979
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3980
+ }
3981
+ view.addChildObject = addChildObject;
3733
3982
  async function borrow(client, args, typeArguments) {
3734
3983
  const tx = new TransactionBlock();
3735
3984
  builder.borrow(tx, args, typeArguments);
@@ -3740,6 +3989,26 @@ export var dynamic_field;
3740
3989
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3741
3990
  }
3742
3991
  view.borrow = borrow;
3992
+ async function borrowChildObject(client, args, typeArguments) {
3993
+ const tx = new TransactionBlock();
3994
+ builder.borrowChildObject(tx, args, typeArguments);
3995
+ const inspectRes = await client.devInspectTransactionBlock({
3996
+ transactionBlock: tx,
3997
+ sender: ZERO_ADDRESS,
3998
+ });
3999
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4000
+ }
4001
+ view.borrowChildObject = borrowChildObject;
4002
+ async function borrowChildObjectMut(client, args, typeArguments) {
4003
+ const tx = new TransactionBlock();
4004
+ builder.borrowChildObjectMut(tx, args, typeArguments);
4005
+ const inspectRes = await client.devInspectTransactionBlock({
4006
+ transactionBlock: tx,
4007
+ sender: ZERO_ADDRESS,
4008
+ });
4009
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4010
+ }
4011
+ view.borrowChildObjectMut = borrowChildObjectMut;
3743
4012
  async function borrowMut(client, args, typeArguments) {
3744
4013
  const tx = new TransactionBlock();
3745
4014
  builder.borrowMut(tx, args, typeArguments);
@@ -3770,6 +4039,56 @@ export var dynamic_field;
3770
4039
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3771
4040
  }
3772
4041
  view.existsWithType = existsWithType;
4042
+ async function fieldInfo(client, args, typeArguments) {
4043
+ const tx = new TransactionBlock();
4044
+ builder.fieldInfo(tx, args, typeArguments);
4045
+ const inspectRes = await client.devInspectTransactionBlock({
4046
+ transactionBlock: tx,
4047
+ sender: ZERO_ADDRESS,
4048
+ });
4049
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4050
+ }
4051
+ view.fieldInfo = fieldInfo;
4052
+ async function fieldInfoMut(client, args, typeArguments) {
4053
+ const tx = new TransactionBlock();
4054
+ builder.fieldInfoMut(tx, args, typeArguments);
4055
+ const inspectRes = await client.devInspectTransactionBlock({
4056
+ transactionBlock: tx,
4057
+ sender: ZERO_ADDRESS,
4058
+ });
4059
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4060
+ }
4061
+ view.fieldInfoMut = fieldInfoMut;
4062
+ async function hasChildObject(client, args) {
4063
+ const tx = new TransactionBlock();
4064
+ builder.hasChildObject(tx, args);
4065
+ const inspectRes = await client.devInspectTransactionBlock({
4066
+ transactionBlock: tx,
4067
+ sender: ZERO_ADDRESS,
4068
+ });
4069
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4070
+ }
4071
+ view.hasChildObject = hasChildObject;
4072
+ async function hasChildObjectWithTy(client, args, typeArguments) {
4073
+ const tx = new TransactionBlock();
4074
+ builder.hasChildObjectWithTy(tx, args, typeArguments);
4075
+ const inspectRes = await client.devInspectTransactionBlock({
4076
+ transactionBlock: tx,
4077
+ sender: ZERO_ADDRESS,
4078
+ });
4079
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4080
+ }
4081
+ view.hasChildObjectWithTy = hasChildObjectWithTy;
4082
+ async function hashTypeAndKey(client, args, typeArguments) {
4083
+ const tx = new TransactionBlock();
4084
+ builder.hashTypeAndKey(tx, args, typeArguments);
4085
+ const inspectRes = await client.devInspectTransactionBlock({
4086
+ transactionBlock: tx,
4087
+ sender: ZERO_ADDRESS,
4088
+ });
4089
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4090
+ }
4091
+ view.hashTypeAndKey = hashTypeAndKey;
3773
4092
  async function remove(client, args, typeArguments) {
3774
4093
  const tx = new TransactionBlock();
3775
4094
  builder.remove(tx, args, typeArguments);
@@ -3780,6 +4099,16 @@ export var dynamic_field;
3780
4099
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
3781
4100
  }
3782
4101
  view.remove = remove;
4102
+ async function removeChildObject(client, args, typeArguments) {
4103
+ const tx = new TransactionBlock();
4104
+ builder.removeChildObject(tx, args, typeArguments);
4105
+ const inspectRes = await client.devInspectTransactionBlock({
4106
+ transactionBlock: tx,
4107
+ sender: ZERO_ADDRESS,
4108
+ });
4109
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4110
+ }
4111
+ view.removeChildObject = removeChildObject;
3783
4112
  async function removeIfExists(client, args, typeArguments) {
3784
4113
  const tx = new TransactionBlock();
3785
4114
  builder.removeIfExists(tx, args, typeArguments);
@@ -4383,133 +4712,385 @@ export var groth16;
4383
4712
  view.bn254 = bn254;
4384
4713
  async function prepareVerifyingKey(client, args) {
4385
4714
  const tx = new TransactionBlock();
4386
- builder.prepareVerifyingKey(tx, args);
4715
+ builder.prepareVerifyingKey(tx, args);
4716
+ const inspectRes = await client.devInspectTransactionBlock({
4717
+ transactionBlock: tx,
4718
+ sender: ZERO_ADDRESS,
4719
+ });
4720
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4721
+ }
4722
+ view.prepareVerifyingKey = prepareVerifyingKey;
4723
+ async function proofPointsFromBytes(client, args) {
4724
+ const tx = new TransactionBlock();
4725
+ builder.proofPointsFromBytes(tx, args);
4726
+ const inspectRes = await client.devInspectTransactionBlock({
4727
+ transactionBlock: tx,
4728
+ sender: ZERO_ADDRESS,
4729
+ });
4730
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4731
+ }
4732
+ view.proofPointsFromBytes = proofPointsFromBytes;
4733
+ async function publicProofInputsFromBytes(client, args) {
4734
+ const tx = new TransactionBlock();
4735
+ builder.publicProofInputsFromBytes(tx, args);
4736
+ const inspectRes = await client.devInspectTransactionBlock({
4737
+ transactionBlock: tx,
4738
+ sender: ZERO_ADDRESS,
4739
+ });
4740
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4741
+ }
4742
+ view.publicProofInputsFromBytes = publicProofInputsFromBytes;
4743
+ async function pvkFromBytes(client, args) {
4744
+ const tx = new TransactionBlock();
4745
+ builder.pvkFromBytes(tx, args);
4746
+ const inspectRes = await client.devInspectTransactionBlock({
4747
+ transactionBlock: tx,
4748
+ sender: ZERO_ADDRESS,
4749
+ });
4750
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4751
+ }
4752
+ view.pvkFromBytes = pvkFromBytes;
4753
+ async function pvkToBytes(client, args) {
4754
+ const tx = new TransactionBlock();
4755
+ builder.pvkToBytes(tx, args);
4756
+ const inspectRes = await client.devInspectTransactionBlock({
4757
+ transactionBlock: tx,
4758
+ sender: ZERO_ADDRESS,
4759
+ });
4760
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4761
+ }
4762
+ view.pvkToBytes = pvkToBytes;
4763
+ async function verifyGroth16Proof(client, args) {
4764
+ const tx = new TransactionBlock();
4765
+ builder.verifyGroth16Proof(tx, args);
4766
+ const inspectRes = await client.devInspectTransactionBlock({
4767
+ transactionBlock: tx,
4768
+ sender: ZERO_ADDRESS,
4769
+ });
4770
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4771
+ }
4772
+ view.verifyGroth16Proof = verifyGroth16Proof;
4773
+ })(view = groth16.view || (groth16.view = {}));
4774
+ })(groth16 || (groth16 = {}));
4775
+ export var group_ops;
4776
+ (function (group_ops) {
4777
+ let Element;
4778
+ (function (Element) {
4779
+ Element.TYPE_QNAME = "0x2::group_ops::Element";
4780
+ const TYPE = new TypeDescriptor(Element.TYPE_QNAME);
4781
+ function type(arg0 = ANY_TYPE) {
4782
+ return TYPE.apply(arg0);
4783
+ }
4784
+ Element.type = type;
4785
+ })(Element = group_ops.Element || (group_ops.Element = {}));
4786
+ let builder;
4787
+ (function (builder) {
4788
+ function add(tx, args, typeArguments) {
4789
+ const _args = [];
4790
+ _args.push(transactionArgumentOrPure(args[0], tx));
4791
+ _args.push(transactionArgumentOrObject(args[1], tx));
4792
+ _args.push(transactionArgumentOrObject(args[2], tx));
4793
+ // @ts-ignore
4794
+ return tx.moveCall({
4795
+ target: "0x2::group_ops::add",
4796
+ arguments: _args,
4797
+ typeArguments: [
4798
+ typeof typeArguments[0] === "string"
4799
+ ? typeArguments[0]
4800
+ : typeArguments[0].getSignature(),
4801
+ ],
4802
+ });
4803
+ }
4804
+ builder.add = add;
4805
+ function bytes(tx, args, typeArguments) {
4806
+ const _args = [];
4807
+ _args.push(transactionArgumentOrObject(args[0], tx));
4808
+ // @ts-ignore
4809
+ return tx.moveCall({
4810
+ target: "0x2::group_ops::bytes",
4811
+ arguments: _args,
4812
+ typeArguments: [
4813
+ typeof typeArguments[0] === "string"
4814
+ ? typeArguments[0]
4815
+ : typeArguments[0].getSignature(),
4816
+ ],
4817
+ });
4818
+ }
4819
+ builder.bytes = bytes;
4820
+ function div(tx, args, typeArguments) {
4821
+ const _args = [];
4822
+ _args.push(transactionArgumentOrPure(args[0], tx));
4823
+ _args.push(transactionArgumentOrObject(args[1], tx));
4824
+ _args.push(transactionArgumentOrObject(args[2], tx));
4825
+ // @ts-ignore
4826
+ return tx.moveCall({
4827
+ target: "0x2::group_ops::div",
4828
+ arguments: _args,
4829
+ typeArguments: [
4830
+ typeof typeArguments[0] === "string"
4831
+ ? typeArguments[0]
4832
+ : typeArguments[0].getSignature(),
4833
+ typeof typeArguments[1] === "string"
4834
+ ? typeArguments[1]
4835
+ : typeArguments[1].getSignature(),
4836
+ ],
4837
+ });
4838
+ }
4839
+ builder.div = div;
4840
+ function equal(tx, args, typeArguments) {
4841
+ const _args = [];
4842
+ _args.push(transactionArgumentOrObject(args[0], tx));
4843
+ _args.push(transactionArgumentOrObject(args[1], tx));
4844
+ // @ts-ignore
4845
+ return tx.moveCall({
4846
+ target: "0x2::group_ops::equal",
4847
+ arguments: _args,
4848
+ typeArguments: [
4849
+ typeof typeArguments[0] === "string"
4850
+ ? typeArguments[0]
4851
+ : typeArguments[0].getSignature(),
4852
+ ],
4853
+ });
4854
+ }
4855
+ builder.equal = equal;
4856
+ function fromBytes(tx, args, typeArguments) {
4857
+ const _args = [];
4858
+ _args.push(transactionArgumentOrPure(args[0], tx));
4859
+ _args.push(transactionArgumentOrObject(args[1], tx));
4860
+ _args.push(transactionArgumentOrPure(args[2], tx));
4861
+ // @ts-ignore
4862
+ return tx.moveCall({
4863
+ target: "0x2::group_ops::from_bytes",
4864
+ arguments: _args,
4865
+ typeArguments: [
4866
+ typeof typeArguments[0] === "string"
4867
+ ? typeArguments[0]
4868
+ : typeArguments[0].getSignature(),
4869
+ ],
4870
+ });
4871
+ }
4872
+ builder.fromBytes = fromBytes;
4873
+ function hashTo(tx, args, typeArguments) {
4874
+ const _args = [];
4875
+ _args.push(transactionArgumentOrPure(args[0], tx));
4876
+ _args.push(transactionArgumentOrObject(args[1], tx));
4877
+ // @ts-ignore
4878
+ return tx.moveCall({
4879
+ target: "0x2::group_ops::hash_to",
4880
+ arguments: _args,
4881
+ typeArguments: [
4882
+ typeof typeArguments[0] === "string"
4883
+ ? typeArguments[0]
4884
+ : typeArguments[0].getSignature(),
4885
+ ],
4886
+ });
4887
+ }
4888
+ builder.hashTo = hashTo;
4889
+ function mul(tx, args, typeArguments) {
4890
+ const _args = [];
4891
+ _args.push(transactionArgumentOrPure(args[0], tx));
4892
+ _args.push(transactionArgumentOrObject(args[1], tx));
4893
+ _args.push(transactionArgumentOrObject(args[2], tx));
4894
+ // @ts-ignore
4895
+ return tx.moveCall({
4896
+ target: "0x2::group_ops::mul",
4897
+ arguments: _args,
4898
+ typeArguments: [
4899
+ typeof typeArguments[0] === "string"
4900
+ ? typeArguments[0]
4901
+ : typeArguments[0].getSignature(),
4902
+ typeof typeArguments[1] === "string"
4903
+ ? typeArguments[1]
4904
+ : typeArguments[1].getSignature(),
4905
+ ],
4906
+ });
4907
+ }
4908
+ builder.mul = mul;
4909
+ function multiScalarMultiplication(tx, args, typeArguments) {
4910
+ const _args = [];
4911
+ _args.push(transactionArgumentOrPure(args[0], tx));
4912
+ _args.push(transactionArgumentOrObject(args[1], tx));
4913
+ _args.push(transactionArgumentOrObject(args[2], tx));
4914
+ // @ts-ignore
4915
+ return tx.moveCall({
4916
+ target: "0x2::group_ops::multi_scalar_multiplication",
4917
+ arguments: _args,
4918
+ typeArguments: [
4919
+ typeof typeArguments[0] === "string"
4920
+ ? typeArguments[0]
4921
+ : typeArguments[0].getSignature(),
4922
+ typeof typeArguments[1] === "string"
4923
+ ? typeArguments[1]
4924
+ : typeArguments[1].getSignature(),
4925
+ ],
4926
+ });
4927
+ }
4928
+ builder.multiScalarMultiplication = multiScalarMultiplication;
4929
+ function pairing(tx, args, typeArguments) {
4930
+ const _args = [];
4931
+ _args.push(transactionArgumentOrPure(args[0], tx));
4932
+ _args.push(transactionArgumentOrObject(args[1], tx));
4933
+ _args.push(transactionArgumentOrObject(args[2], tx));
4934
+ // @ts-ignore
4935
+ return tx.moveCall({
4936
+ target: "0x2::group_ops::pairing",
4937
+ arguments: _args,
4938
+ typeArguments: [
4939
+ typeof typeArguments[0] === "string"
4940
+ ? typeArguments[0]
4941
+ : typeArguments[0].getSignature(),
4942
+ typeof typeArguments[1] === "string"
4943
+ ? typeArguments[1]
4944
+ : typeArguments[1].getSignature(),
4945
+ typeof typeArguments[2] === "string"
4946
+ ? typeArguments[2]
4947
+ : typeArguments[2].getSignature(),
4948
+ ],
4949
+ });
4950
+ }
4951
+ builder.pairing = pairing;
4952
+ function setAsPrefix(tx, args) {
4953
+ const _args = [];
4954
+ _args.push(transactionArgumentOrPure(args[0], tx));
4955
+ _args.push(transactionArgumentOrPure(args[1], tx));
4956
+ _args.push(transactionArgumentOrObject(args[2], tx));
4957
+ // @ts-ignore
4958
+ return tx.moveCall({
4959
+ target: "0x2::group_ops::set_as_prefix",
4960
+ arguments: _args,
4961
+ });
4962
+ }
4963
+ builder.setAsPrefix = setAsPrefix;
4964
+ function sub(tx, args, typeArguments) {
4965
+ const _args = [];
4966
+ _args.push(transactionArgumentOrPure(args[0], tx));
4967
+ _args.push(transactionArgumentOrObject(args[1], tx));
4968
+ _args.push(transactionArgumentOrObject(args[2], tx));
4969
+ // @ts-ignore
4970
+ return tx.moveCall({
4971
+ target: "0x2::group_ops::sub",
4972
+ arguments: _args,
4973
+ typeArguments: [
4974
+ typeof typeArguments[0] === "string"
4975
+ ? typeArguments[0]
4976
+ : typeArguments[0].getSignature(),
4977
+ ],
4978
+ });
4979
+ }
4980
+ builder.sub = sub;
4981
+ })(builder = group_ops.builder || (group_ops.builder = {}));
4982
+ let view;
4983
+ (function (view) {
4984
+ async function add(client, args, typeArguments) {
4985
+ const tx = new TransactionBlock();
4986
+ builder.add(tx, args, typeArguments);
4987
+ const inspectRes = await client.devInspectTransactionBlock({
4988
+ transactionBlock: tx,
4989
+ sender: ZERO_ADDRESS,
4990
+ });
4991
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4992
+ }
4993
+ view.add = add;
4994
+ async function bytes(client, args, typeArguments) {
4995
+ const tx = new TransactionBlock();
4996
+ builder.bytes(tx, args, typeArguments);
4997
+ const inspectRes = await client.devInspectTransactionBlock({
4998
+ transactionBlock: tx,
4999
+ sender: ZERO_ADDRESS,
5000
+ });
5001
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
5002
+ }
5003
+ view.bytes = bytes;
5004
+ async function div(client, args, typeArguments) {
5005
+ const tx = new TransactionBlock();
5006
+ builder.div(tx, args, typeArguments);
5007
+ const inspectRes = await client.devInspectTransactionBlock({
5008
+ transactionBlock: tx,
5009
+ sender: ZERO_ADDRESS,
5010
+ });
5011
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
5012
+ }
5013
+ view.div = div;
5014
+ async function equal(client, args, typeArguments) {
5015
+ const tx = new TransactionBlock();
5016
+ builder.equal(tx, args, typeArguments);
4387
5017
  const inspectRes = await client.devInspectTransactionBlock({
4388
5018
  transactionBlock: tx,
4389
5019
  sender: ZERO_ADDRESS,
4390
5020
  });
4391
5021
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4392
5022
  }
4393
- view.prepareVerifyingKey = prepareVerifyingKey;
4394
- async function proofPointsFromBytes(client, args) {
5023
+ view.equal = equal;
5024
+ async function fromBytes(client, args, typeArguments) {
4395
5025
  const tx = new TransactionBlock();
4396
- builder.proofPointsFromBytes(tx, args);
5026
+ builder.fromBytes(tx, args, typeArguments);
4397
5027
  const inspectRes = await client.devInspectTransactionBlock({
4398
5028
  transactionBlock: tx,
4399
5029
  sender: ZERO_ADDRESS,
4400
5030
  });
4401
5031
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4402
5032
  }
4403
- view.proofPointsFromBytes = proofPointsFromBytes;
4404
- async function publicProofInputsFromBytes(client, args) {
5033
+ view.fromBytes = fromBytes;
5034
+ async function hashTo(client, args, typeArguments) {
4405
5035
  const tx = new TransactionBlock();
4406
- builder.publicProofInputsFromBytes(tx, args);
5036
+ builder.hashTo(tx, args, typeArguments);
4407
5037
  const inspectRes = await client.devInspectTransactionBlock({
4408
5038
  transactionBlock: tx,
4409
5039
  sender: ZERO_ADDRESS,
4410
5040
  });
4411
5041
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4412
5042
  }
4413
- view.publicProofInputsFromBytes = publicProofInputsFromBytes;
4414
- async function pvkFromBytes(client, args) {
5043
+ view.hashTo = hashTo;
5044
+ async function mul(client, args, typeArguments) {
4415
5045
  const tx = new TransactionBlock();
4416
- builder.pvkFromBytes(tx, args);
5046
+ builder.mul(tx, args, typeArguments);
4417
5047
  const inspectRes = await client.devInspectTransactionBlock({
4418
5048
  transactionBlock: tx,
4419
5049
  sender: ZERO_ADDRESS,
4420
5050
  });
4421
5051
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4422
5052
  }
4423
- view.pvkFromBytes = pvkFromBytes;
4424
- async function pvkToBytes(client, args) {
5053
+ view.mul = mul;
5054
+ async function multiScalarMultiplication(client, args, typeArguments) {
4425
5055
  const tx = new TransactionBlock();
4426
- builder.pvkToBytes(tx, args);
5056
+ builder.multiScalarMultiplication(tx, args, typeArguments);
4427
5057
  const inspectRes = await client.devInspectTransactionBlock({
4428
5058
  transactionBlock: tx,
4429
5059
  sender: ZERO_ADDRESS,
4430
5060
  });
4431
5061
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4432
5062
  }
4433
- view.pvkToBytes = pvkToBytes;
4434
- async function verifyGroth16Proof(client, args) {
5063
+ view.multiScalarMultiplication = multiScalarMultiplication;
5064
+ async function pairing(client, args, typeArguments) {
4435
5065
  const tx = new TransactionBlock();
4436
- builder.verifyGroth16Proof(tx, args);
5066
+ builder.pairing(tx, args, typeArguments);
4437
5067
  const inspectRes = await client.devInspectTransactionBlock({
4438
5068
  transactionBlock: tx,
4439
5069
  sender: ZERO_ADDRESS,
4440
5070
  });
4441
5071
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4442
5072
  }
4443
- view.verifyGroth16Proof = verifyGroth16Proof;
4444
- })(view = groth16.view || (groth16.view = {}));
4445
- })(groth16 || (groth16 = {}));
4446
- export var group_ops;
4447
- (function (group_ops) {
4448
- let Element;
4449
- (function (Element) {
4450
- Element.TYPE_QNAME = "0x2::group_ops::Element";
4451
- const TYPE = new TypeDescriptor(Element.TYPE_QNAME);
4452
- function type(arg0 = ANY_TYPE) {
4453
- return TYPE.apply(arg0);
4454
- }
4455
- Element.type = type;
4456
- })(Element = group_ops.Element || (group_ops.Element = {}));
4457
- let builder;
4458
- (function (builder) {
4459
- function bytes(tx, args, typeArguments) {
4460
- const _args = [];
4461
- _args.push(transactionArgumentOrObject(args[0], tx));
4462
- // @ts-ignore
4463
- return tx.moveCall({
4464
- target: "0x2::group_ops::bytes",
4465
- arguments: _args,
4466
- typeArguments: [
4467
- typeof typeArguments[0] === "string"
4468
- ? typeArguments[0]
4469
- : typeArguments[0].getSignature(),
4470
- ],
4471
- });
4472
- }
4473
- builder.bytes = bytes;
4474
- function equal(tx, args, typeArguments) {
4475
- const _args = [];
4476
- _args.push(transactionArgumentOrObject(args[0], tx));
4477
- _args.push(transactionArgumentOrObject(args[1], tx));
4478
- // @ts-ignore
4479
- return tx.moveCall({
4480
- target: "0x2::group_ops::equal",
4481
- arguments: _args,
4482
- typeArguments: [
4483
- typeof typeArguments[0] === "string"
4484
- ? typeArguments[0]
4485
- : typeArguments[0].getSignature(),
4486
- ],
4487
- });
4488
- }
4489
- builder.equal = equal;
4490
- })(builder = group_ops.builder || (group_ops.builder = {}));
4491
- let view;
4492
- (function (view) {
4493
- async function bytes(client, args, typeArguments) {
5073
+ view.pairing = pairing;
5074
+ async function setAsPrefix(client, args) {
4494
5075
  const tx = new TransactionBlock();
4495
- builder.bytes(tx, args, typeArguments);
5076
+ builder.setAsPrefix(tx, args);
4496
5077
  const inspectRes = await client.devInspectTransactionBlock({
4497
5078
  transactionBlock: tx,
4498
5079
  sender: ZERO_ADDRESS,
4499
5080
  });
4500
5081
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4501
5082
  }
4502
- view.bytes = bytes;
4503
- async function equal(client, args, typeArguments) {
5083
+ view.setAsPrefix = setAsPrefix;
5084
+ async function sub(client, args, typeArguments) {
4504
5085
  const tx = new TransactionBlock();
4505
- builder.equal(tx, args, typeArguments);
5086
+ builder.sub(tx, args, typeArguments);
4506
5087
  const inspectRes = await client.devInspectTransactionBlock({
4507
5088
  transactionBlock: tx,
4508
5089
  sender: ZERO_ADDRESS,
4509
5090
  });
4510
5091
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
4511
5092
  }
4512
- view.equal = equal;
5093
+ view.sub = sub;
4513
5094
  })(view = group_ops.view || (group_ops.view = {}));
4514
5095
  })(group_ops || (group_ops = {}));
4515
5096
  export var hash;
@@ -4967,6 +5548,22 @@ export var kiosk;
4967
5548
  });
4968
5549
  }
4969
5550
  builder.lock = lock;
5551
+ function lockInternal(tx, args, typeArguments) {
5552
+ const _args = [];
5553
+ _args.push(transactionArgumentOrObject(args[0], tx));
5554
+ _args.push(transactionArgumentOrPure(args[1], tx));
5555
+ // @ts-ignore
5556
+ return tx.moveCall({
5557
+ target: "0x2::kiosk::lock_internal",
5558
+ arguments: _args,
5559
+ typeArguments: [
5560
+ typeof typeArguments[0] === "string"
5561
+ ? typeArguments[0]
5562
+ : typeArguments[0].getSignature(),
5563
+ ],
5564
+ });
5565
+ }
5566
+ builder.lockInternal = lockInternal;
4970
5567
  function new_(tx, args) {
4971
5568
  const _args = [];
4972
5569
  // @ts-ignore
@@ -5021,6 +5618,22 @@ export var kiosk;
5021
5618
  });
5022
5619
  }
5023
5620
  builder.placeAndList = placeAndList;
5621
+ function placeInternal(tx, args, typeArguments) {
5622
+ const _args = [];
5623
+ _args.push(transactionArgumentOrObject(args[0], tx));
5624
+ _args.push(transactionArgumentOrPure(args[1], tx));
5625
+ // @ts-ignore
5626
+ return tx.moveCall({
5627
+ target: "0x2::kiosk::place_internal",
5628
+ arguments: _args,
5629
+ typeArguments: [
5630
+ typeof typeArguments[0] === "string"
5631
+ ? typeArguments[0]
5632
+ : typeArguments[0].getSignature(),
5633
+ ],
5634
+ });
5635
+ }
5636
+ builder.placeInternal = placeInternal;
5024
5637
  function profitsAmount(tx, args) {
5025
5638
  const _args = [];
5026
5639
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -5237,6 +5850,16 @@ export var kiosk;
5237
5850
  });
5238
5851
  }
5239
5852
  builder.uidMutAsOwner = uidMutAsOwner;
5853
+ function uidMutInternal(tx, args) {
5854
+ const _args = [];
5855
+ _args.push(transactionArgumentOrObject(args[0], tx));
5856
+ // @ts-ignore
5857
+ return tx.moveCall({
5858
+ target: "0x2::kiosk::uid_mut_internal",
5859
+ arguments: _args,
5860
+ });
5861
+ }
5862
+ builder.uidMutInternal = uidMutInternal;
5240
5863
  function withdraw(tx, args) {
5241
5864
  const _args = [];
5242
5865
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -5412,6 +6035,16 @@ export var kiosk;
5412
6035
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
5413
6036
  }
5414
6037
  view.lock = lock;
6038
+ async function lockInternal(client, args, typeArguments) {
6039
+ const tx = new TransactionBlock();
6040
+ builder.lockInternal(tx, args, typeArguments);
6041
+ const inspectRes = await client.devInspectTransactionBlock({
6042
+ transactionBlock: tx,
6043
+ sender: ZERO_ADDRESS,
6044
+ });
6045
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
6046
+ }
6047
+ view.lockInternal = lockInternal;
5415
6048
  async function new_(client, args) {
5416
6049
  const tx = new TransactionBlock();
5417
6050
  builder.new_(tx, args);
@@ -5452,6 +6085,16 @@ export var kiosk;
5452
6085
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
5453
6086
  }
5454
6087
  view.placeAndList = placeAndList;
6088
+ async function placeInternal(client, args, typeArguments) {
6089
+ const tx = new TransactionBlock();
6090
+ builder.placeInternal(tx, args, typeArguments);
6091
+ const inspectRes = await client.devInspectTransactionBlock({
6092
+ transactionBlock: tx,
6093
+ sender: ZERO_ADDRESS,
6094
+ });
6095
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
6096
+ }
6097
+ view.placeInternal = placeInternal;
5455
6098
  async function profitsAmount(client, args) {
5456
6099
  const tx = new TransactionBlock();
5457
6100
  builder.profitsAmount(tx, args);
@@ -5612,6 +6255,16 @@ export var kiosk;
5612
6255
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
5613
6256
  }
5614
6257
  view.uidMutAsOwner = uidMutAsOwner;
6258
+ async function uidMutInternal(client, args) {
6259
+ const tx = new TransactionBlock();
6260
+ builder.uidMutInternal(tx, args);
6261
+ const inspectRes = await client.devInspectTransactionBlock({
6262
+ transactionBlock: tx,
6263
+ sender: ZERO_ADDRESS,
6264
+ });
6265
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
6266
+ }
6267
+ view.uidMutInternal = uidMutInternal;
5615
6268
  async function withdraw(client, args) {
5616
6269
  const tx = new TransactionBlock();
5617
6270
  builder.withdraw(tx, args);
@@ -6659,6 +7312,15 @@ export var object_;
6659
7312
  })(UID = object_.UID || (object_.UID = {}));
6660
7313
  let builder;
6661
7314
  (function (builder) {
7315
+ function authenticatorState(tx, args) {
7316
+ const _args = [];
7317
+ // @ts-ignore
7318
+ return tx.moveCall({
7319
+ target: "0x2::object::authenticator_state",
7320
+ arguments: _args,
7321
+ });
7322
+ }
7323
+ builder.authenticatorState = authenticatorState;
6662
7324
  function borrowId(tx, args, typeArguments) {
6663
7325
  const _args = [];
6664
7326
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -6674,6 +7336,15 @@ export var object_;
6674
7336
  });
6675
7337
  }
6676
7338
  builder.borrowId = borrowId;
7339
+ function clock(tx, args) {
7340
+ const _args = [];
7341
+ // @ts-ignore
7342
+ return tx.moveCall({
7343
+ target: "0x2::object::clock",
7344
+ arguments: _args,
7345
+ });
7346
+ }
7347
+ builder.clock = clock;
6677
7348
  function delete_(tx, args) {
6678
7349
  const _args = [];
6679
7350
  _args.push(transactionArgumentOrPure(args[0], tx));
@@ -6778,6 +7449,34 @@ export var object_;
6778
7449
  });
6779
7450
  }
6780
7451
  builder.new_ = new_;
7452
+ function newUidFromHash(tx, args) {
7453
+ const _args = [];
7454
+ _args.push(transactionArgumentOrPure(args[0], tx));
7455
+ // @ts-ignore
7456
+ return tx.moveCall({
7457
+ target: "0x2::object::new_uid_from_hash",
7458
+ arguments: _args,
7459
+ });
7460
+ }
7461
+ builder.newUidFromHash = newUidFromHash;
7462
+ function randomnessState(tx, args) {
7463
+ const _args = [];
7464
+ // @ts-ignore
7465
+ return tx.moveCall({
7466
+ target: "0x2::object::randomness_state",
7467
+ arguments: _args,
7468
+ });
7469
+ }
7470
+ builder.randomnessState = randomnessState;
7471
+ function suiDenyListObjectId(tx, args) {
7472
+ const _args = [];
7473
+ // @ts-ignore
7474
+ return tx.moveCall({
7475
+ target: "0x2::object::sui_deny_list_object_id",
7476
+ arguments: _args,
7477
+ });
7478
+ }
7479
+ builder.suiDenyListObjectId = suiDenyListObjectId;
6781
7480
  function uidAsInner(tx, args) {
6782
7481
  const _args = [];
6783
7482
  _args.push(transactionArgumentOrObject(args[0], tx));
@@ -6821,6 +7520,16 @@ export var object_;
6821
7520
  })(builder = object_.builder || (object_.builder = {}));
6822
7521
  let view;
6823
7522
  (function (view) {
7523
+ async function authenticatorState(client, args) {
7524
+ const tx = new TransactionBlock();
7525
+ builder.authenticatorState(tx, args);
7526
+ const inspectRes = await client.devInspectTransactionBlock({
7527
+ transactionBlock: tx,
7528
+ sender: ZERO_ADDRESS,
7529
+ });
7530
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
7531
+ }
7532
+ view.authenticatorState = authenticatorState;
6824
7533
  async function borrowId(client, args, typeArguments) {
6825
7534
  const tx = new TransactionBlock();
6826
7535
  builder.borrowId(tx, args, typeArguments);
@@ -6831,6 +7540,16 @@ export var object_;
6831
7540
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
6832
7541
  }
6833
7542
  view.borrowId = borrowId;
7543
+ async function clock(client, args) {
7544
+ const tx = new TransactionBlock();
7545
+ builder.clock(tx, args);
7546
+ const inspectRes = await client.devInspectTransactionBlock({
7547
+ transactionBlock: tx,
7548
+ sender: ZERO_ADDRESS,
7549
+ });
7550
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
7551
+ }
7552
+ view.clock = clock;
6834
7553
  async function delete_(client, args) {
6835
7554
  const tx = new TransactionBlock();
6836
7555
  builder.delete_(tx, args);
@@ -6921,6 +7640,36 @@ export var object_;
6921
7640
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
6922
7641
  }
6923
7642
  view.new_ = new_;
7643
+ async function newUidFromHash(client, args) {
7644
+ const tx = new TransactionBlock();
7645
+ builder.newUidFromHash(tx, args);
7646
+ const inspectRes = await client.devInspectTransactionBlock({
7647
+ transactionBlock: tx,
7648
+ sender: ZERO_ADDRESS,
7649
+ });
7650
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
7651
+ }
7652
+ view.newUidFromHash = newUidFromHash;
7653
+ async function randomnessState(client, args) {
7654
+ const tx = new TransactionBlock();
7655
+ builder.randomnessState(tx, args);
7656
+ const inspectRes = await client.devInspectTransactionBlock({
7657
+ transactionBlock: tx,
7658
+ sender: ZERO_ADDRESS,
7659
+ });
7660
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
7661
+ }
7662
+ view.randomnessState = randomnessState;
7663
+ async function suiDenyListObjectId(client, args) {
7664
+ const tx = new TransactionBlock();
7665
+ builder.suiDenyListObjectId(tx, args);
7666
+ const inspectRes = await client.devInspectTransactionBlock({
7667
+ transactionBlock: tx,
7668
+ sender: ZERO_ADDRESS,
7669
+ });
7670
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
7671
+ }
7672
+ view.suiDenyListObjectId = suiDenyListObjectId;
6924
7673
  async function uidAsInner(client, args) {
6925
7674
  const tx = new TransactionBlock();
6926
7675
  builder.uidAsInner(tx, args);
@@ -10771,6 +11520,21 @@ export var transfer;
10771
11520
  });
10772
11521
  }
10773
11522
  builder.freezeObject = freezeObject;
11523
+ function freezeObjectImpl(tx, args, typeArguments) {
11524
+ const _args = [];
11525
+ _args.push(transactionArgumentOrPure(args[0], tx));
11526
+ // @ts-ignore
11527
+ return tx.moveCall({
11528
+ target: "0x2::transfer::freeze_object_impl",
11529
+ arguments: _args,
11530
+ typeArguments: [
11531
+ typeof typeArguments[0] === "string"
11532
+ ? typeArguments[0]
11533
+ : typeArguments[0].getSignature(),
11534
+ ],
11535
+ });
11536
+ }
11537
+ builder.freezeObjectImpl = freezeObjectImpl;
10774
11538
  function publicFreezeObject(tx, args, typeArguments) {
10775
11539
  const _args = [];
10776
11540
  _args.push(transactionArgumentOrPure(args[0], tx));
@@ -10879,6 +11643,21 @@ export var transfer;
10879
11643
  });
10880
11644
  }
10881
11645
  builder.shareObject = shareObject;
11646
+ function shareObjectImpl(tx, args, typeArguments) {
11647
+ const _args = [];
11648
+ _args.push(transactionArgumentOrPure(args[0], tx));
11649
+ // @ts-ignore
11650
+ return tx.moveCall({
11651
+ target: "0x2::transfer::share_object_impl",
11652
+ arguments: _args,
11653
+ typeArguments: [
11654
+ typeof typeArguments[0] === "string"
11655
+ ? typeArguments[0]
11656
+ : typeArguments[0].getSignature(),
11657
+ ],
11658
+ });
11659
+ }
11660
+ builder.shareObjectImpl = shareObjectImpl;
10882
11661
  function transfer(tx, args, typeArguments) {
10883
11662
  const _args = [];
10884
11663
  _args.push(transactionArgumentOrPure(args[0], tx));
@@ -10895,6 +11674,22 @@ export var transfer;
10895
11674
  });
10896
11675
  }
10897
11676
  builder.transfer = transfer;
11677
+ function transferImpl(tx, args, typeArguments) {
11678
+ const _args = [];
11679
+ _args.push(transactionArgumentOrPure(args[0], tx));
11680
+ _args.push(transactionArgumentOrPure(args[1], tx));
11681
+ // @ts-ignore
11682
+ return tx.moveCall({
11683
+ target: "0x2::transfer::transfer_impl",
11684
+ arguments: _args,
11685
+ typeArguments: [
11686
+ typeof typeArguments[0] === "string"
11687
+ ? typeArguments[0]
11688
+ : typeArguments[0].getSignature(),
11689
+ ],
11690
+ });
11691
+ }
11692
+ builder.transferImpl = transferImpl;
10898
11693
  })(builder = transfer_1.builder || (transfer_1.builder = {}));
10899
11694
  let view;
10900
11695
  (function (view) {
@@ -10908,6 +11703,16 @@ export var transfer;
10908
11703
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
10909
11704
  }
10910
11705
  view.freezeObject = freezeObject;
11706
+ async function freezeObjectImpl(client, args, typeArguments) {
11707
+ const tx = new TransactionBlock();
11708
+ builder.freezeObjectImpl(tx, args, typeArguments);
11709
+ const inspectRes = await client.devInspectTransactionBlock({
11710
+ transactionBlock: tx,
11711
+ sender: ZERO_ADDRESS,
11712
+ });
11713
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
11714
+ }
11715
+ view.freezeObjectImpl = freezeObjectImpl;
10911
11716
  async function publicFreezeObject(client, args, typeArguments) {
10912
11717
  const tx = new TransactionBlock();
10913
11718
  builder.publicFreezeObject(tx, args, typeArguments);
@@ -10978,6 +11783,16 @@ export var transfer;
10978
11783
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
10979
11784
  }
10980
11785
  view.shareObject = shareObject;
11786
+ async function shareObjectImpl(client, args, typeArguments) {
11787
+ const tx = new TransactionBlock();
11788
+ builder.shareObjectImpl(tx, args, typeArguments);
11789
+ const inspectRes = await client.devInspectTransactionBlock({
11790
+ transactionBlock: tx,
11791
+ sender: ZERO_ADDRESS,
11792
+ });
11793
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
11794
+ }
11795
+ view.shareObjectImpl = shareObjectImpl;
10981
11796
  async function transfer(client, args, typeArguments) {
10982
11797
  const tx = new TransactionBlock();
10983
11798
  builder.transfer(tx, args, typeArguments);
@@ -10988,6 +11803,16 @@ export var transfer;
10988
11803
  return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
10989
11804
  }
10990
11805
  view.transfer = transfer;
11806
+ async function transferImpl(client, args, typeArguments) {
11807
+ const tx = new TransactionBlock();
11808
+ builder.transferImpl(tx, args, typeArguments);
11809
+ const inspectRes = await client.devInspectTransactionBlock({
11810
+ transactionBlock: tx,
11811
+ sender: ZERO_ADDRESS,
11812
+ });
11813
+ return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
11814
+ }
11815
+ view.transferImpl = transferImpl;
10991
11816
  })(view = transfer_1.view || (transfer_1.view = {}));
10992
11817
  })(transfer || (transfer = {}));
10993
11818
  export var transfer_policy;