@mysten/sui 2.16.2 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/dist/bcs/bcs.d.mts +6 -6
- package/dist/client/core-resolver.mjs +21 -12
- package/dist/client/core-resolver.mjs.map +1 -1
- package/dist/cryptography/signature.d.mts +6 -6
- package/dist/graphql/generated/queries.d.mts.map +1 -1
- package/dist/graphql/generated/queries.mjs.map +1 -1
- package/dist/graphql/generated/tada-env.d.mts +82 -1
- package/dist/grpc/client.d.mts +2 -0
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +2 -0
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/proto/google/protobuf/struct.mjs +1 -1
- package/dist/grpc/proto/google/protobuf/struct.mjs.map +1 -1
- package/dist/grpc/proto/google/rpc/status.mjs +1 -1
- package/dist/grpc/proto/google/rpc/status.mjs.map +1 -1
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +66 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.mjs +48 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.mjs.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.d.mts +135 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.d.mts.map +1 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.mjs +144 -0
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.mjs.map +1 -0
- package/dist/grpc/proto/sui/rpc/v2/checkpoint.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/checkpoint.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_contents.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_contents.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_summary.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/checkpoint_summary.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/effects.d.mts +71 -3
- package/dist/grpc/proto/sui/rpc/v2/effects.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/effects.mjs +71 -5
- package/dist/grpc/proto/sui/rpc/v2/effects.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/event.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/event.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs +2 -2
- package/dist/grpc/proto/sui/rpc/v2/executed_transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package.mjs +13 -13
- package/dist/grpc/proto/sui/rpc/v2/move_package.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/object.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/object.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +1 -1
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/state_service.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/state_service.mjs +3 -3
- package/dist/grpc/proto/sui/rpc/v2/state_service.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/system_state.mjs +2 -2
- package/dist/grpc/proto/sui/rpc/v2/system_state.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +16 -16
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs +4 -4
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
- package/dist/grpc/proto/types.d.mts +3 -2
- package/dist/grpc/proto/types.mjs +11 -1
- package/dist/grpc/proto/types.mjs.map +1 -1
- package/dist/jsonRpc/types/params.d.mts +5 -5
- package/dist/transactions/Transaction.d.mts +7 -7
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/data/internal.d.mts +109 -109
- package/dist/transactions/data/internal.d.mts.map +1 -1
- package/dist/transactions/data/v1.d.mts +220 -220
- package/dist/transactions/data/v1.d.mts.map +1 -1
- package/dist/transactions/data/v2.d.mts +16 -16
- package/dist/transactions/data/v2.d.mts.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/dist/zklogin/bcs.d.mts.map +1 -1
- package/package.json +2 -2
- package/src/client/core-resolver.ts +48 -13
- package/src/graphql/generated/queries.ts +46 -1
- package/src/graphql/generated/schema.graphql +49 -3
- package/src/graphql/generated/tada-env.ts +97 -1
- package/src/grpc/client.ts +3 -0
- package/src/grpc/proto/google/protobuf/struct.ts +1 -1
- package/src/grpc/proto/google/rpc/error_details.ts +4 -4
- package/src/grpc/proto/google/rpc/status.ts +1 -1
- package/src/grpc/proto/sui/forking/v1alpha/forking_service.client.ts +125 -0
- package/src/grpc/proto/sui/forking/v1alpha/forking_service.ts +230 -0
- package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +1 -1
- package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/effects.ts +112 -6
- package/src/grpc/proto/sui/rpc/v2/event.ts +1 -1
- package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +2 -2
- package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/move_package.ts +19 -13
- package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +1 -1
- package/src/grpc/proto/sui/rpc/v2/object.ts +7 -1
- package/src/grpc/proto/sui/rpc/v2/signature.ts +3 -3
- package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +7 -1
- package/src/grpc/proto/sui/rpc/v2/state_service.ts +9 -3
- package/src/grpc/proto/sui/rpc/v2/system_state.ts +2 -2
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +22 -16
- package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +4 -4
- package/src/grpc/proto/types.ts +1 -0
- package/src/jsonRpc/types/params.ts +5 -5
- package/src/version.ts +1 -1
|
@@ -524,19 +524,25 @@ class Package$Type extends MessageType<Package> {
|
|
|
524
524
|
T: 4 /*ScalarType.UINT64*/,
|
|
525
525
|
L: 0 /*LongType.BIGINT*/,
|
|
526
526
|
},
|
|
527
|
-
{
|
|
527
|
+
{
|
|
528
|
+
no: 4,
|
|
529
|
+
name: 'modules',
|
|
530
|
+
kind: 'message',
|
|
531
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
532
|
+
T: () => Module,
|
|
533
|
+
},
|
|
528
534
|
{
|
|
529
535
|
no: 5,
|
|
530
536
|
name: 'type_origins',
|
|
531
537
|
kind: 'message',
|
|
532
|
-
repeat:
|
|
538
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
533
539
|
T: () => TypeOrigin,
|
|
534
540
|
},
|
|
535
541
|
{
|
|
536
542
|
no: 6,
|
|
537
543
|
name: 'linkage',
|
|
538
544
|
kind: 'message',
|
|
539
|
-
repeat:
|
|
545
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
540
546
|
T: () => Linkage,
|
|
541
547
|
},
|
|
542
548
|
]);
|
|
@@ -556,14 +562,14 @@ class Module$Type extends MessageType<Module> {
|
|
|
556
562
|
no: 3,
|
|
557
563
|
name: 'datatypes',
|
|
558
564
|
kind: 'message',
|
|
559
|
-
repeat:
|
|
565
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
560
566
|
T: () => DatatypeDescriptor,
|
|
561
567
|
},
|
|
562
568
|
{
|
|
563
569
|
no: 4,
|
|
564
570
|
name: 'functions',
|
|
565
571
|
kind: 'message',
|
|
566
|
-
repeat:
|
|
572
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
567
573
|
T: () => FunctionDescriptor,
|
|
568
574
|
},
|
|
569
575
|
]);
|
|
@@ -592,7 +598,7 @@ class DatatypeDescriptor$Type extends MessageType<DatatypeDescriptor> {
|
|
|
592
598
|
no: 6,
|
|
593
599
|
name: 'type_parameters',
|
|
594
600
|
kind: 'message',
|
|
595
|
-
repeat:
|
|
601
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
596
602
|
T: () => TypeParameter,
|
|
597
603
|
},
|
|
598
604
|
{
|
|
@@ -606,14 +612,14 @@ class DatatypeDescriptor$Type extends MessageType<DatatypeDescriptor> {
|
|
|
606
612
|
no: 8,
|
|
607
613
|
name: 'fields',
|
|
608
614
|
kind: 'message',
|
|
609
|
-
repeat:
|
|
615
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
610
616
|
T: () => FieldDescriptor,
|
|
611
617
|
},
|
|
612
618
|
{
|
|
613
619
|
no: 9,
|
|
614
620
|
name: 'variants',
|
|
615
621
|
kind: 'message',
|
|
616
|
-
repeat:
|
|
622
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
617
623
|
T: () => VariantDescriptor,
|
|
618
624
|
},
|
|
619
625
|
]);
|
|
@@ -666,7 +672,7 @@ class VariantDescriptor$Type extends MessageType<VariantDescriptor> {
|
|
|
666
672
|
no: 3,
|
|
667
673
|
name: 'fields',
|
|
668
674
|
kind: 'message',
|
|
669
|
-
repeat:
|
|
675
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
670
676
|
T: () => FieldDescriptor,
|
|
671
677
|
},
|
|
672
678
|
]);
|
|
@@ -692,7 +698,7 @@ class OpenSignatureBody$Type extends MessageType<OpenSignatureBody> {
|
|
|
692
698
|
no: 3,
|
|
693
699
|
name: 'type_parameter_instantiation',
|
|
694
700
|
kind: 'message',
|
|
695
|
-
repeat:
|
|
701
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
696
702
|
T: () => OpenSignatureBody,
|
|
697
703
|
},
|
|
698
704
|
{ no: 4, name: 'type_parameter', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -720,21 +726,21 @@ class FunctionDescriptor$Type extends MessageType<FunctionDescriptor> {
|
|
|
720
726
|
no: 7,
|
|
721
727
|
name: 'type_parameters',
|
|
722
728
|
kind: 'message',
|
|
723
|
-
repeat:
|
|
729
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
724
730
|
T: () => TypeParameter,
|
|
725
731
|
},
|
|
726
732
|
{
|
|
727
733
|
no: 8,
|
|
728
734
|
name: 'parameters',
|
|
729
735
|
kind: 'message',
|
|
730
|
-
repeat:
|
|
736
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
731
737
|
T: () => OpenSignature,
|
|
732
738
|
},
|
|
733
739
|
{
|
|
734
740
|
no: 9,
|
|
735
741
|
name: 'returns',
|
|
736
742
|
kind: 'message',
|
|
737
|
-
repeat:
|
|
743
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
738
744
|
T: () => OpenSignature,
|
|
739
745
|
},
|
|
740
746
|
]);
|
|
@@ -268,7 +268,7 @@ class ListPackageVersionsResponse$Type extends MessageType<ListPackageVersionsRe
|
|
|
268
268
|
no: 1,
|
|
269
269
|
name: 'versions',
|
|
270
270
|
kind: 'message',
|
|
271
|
-
repeat:
|
|
271
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
272
272
|
T: () => PackageVersion,
|
|
273
273
|
},
|
|
274
274
|
{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
@@ -207,7 +207,13 @@ export const Object = new Object$Type();
|
|
|
207
207
|
class ObjectSet$Type extends MessageType<ObjectSet> {
|
|
208
208
|
constructor() {
|
|
209
209
|
super('sui.rpc.v2.ObjectSet', [
|
|
210
|
-
{
|
|
210
|
+
{
|
|
211
|
+
no: 1,
|
|
212
|
+
name: 'objects',
|
|
213
|
+
kind: 'message',
|
|
214
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
215
|
+
T: () => Object,
|
|
216
|
+
},
|
|
211
217
|
]);
|
|
212
218
|
}
|
|
213
219
|
}
|
|
@@ -632,7 +632,7 @@ class MultisigCommittee$Type extends MessageType<MultisigCommittee> {
|
|
|
632
632
|
no: 1,
|
|
633
633
|
name: 'members',
|
|
634
634
|
kind: 'message',
|
|
635
|
-
repeat:
|
|
635
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
636
636
|
T: () => MultisigMember,
|
|
637
637
|
},
|
|
638
638
|
{ no: 2, name: 'threshold', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -651,7 +651,7 @@ class MultisigAggregatedSignature$Type extends MessageType<MultisigAggregatedSig
|
|
|
651
651
|
no: 1,
|
|
652
652
|
name: 'signatures',
|
|
653
653
|
kind: 'message',
|
|
654
|
-
repeat:
|
|
654
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
655
655
|
T: () => MultisigMemberSignature,
|
|
656
656
|
},
|
|
657
657
|
{ no: 2, name: 'bitmap', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },
|
|
@@ -811,7 +811,7 @@ class ValidatorCommittee$Type extends MessageType<ValidatorCommittee> {
|
|
|
811
811
|
no: 2,
|
|
812
812
|
name: 'members',
|
|
813
813
|
kind: 'message',
|
|
814
|
-
repeat:
|
|
814
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
815
815
|
T: () => ValidatorCommitteeMember,
|
|
816
816
|
},
|
|
817
817
|
]);
|
|
@@ -76,7 +76,13 @@ class VerifySignatureRequest$Type extends MessageType<VerifySignatureRequest> {
|
|
|
76
76
|
{ no: 1, name: 'message', kind: 'message', T: () => Bcs },
|
|
77
77
|
{ no: 2, name: 'signature', kind: 'message', T: () => UserSignature },
|
|
78
78
|
{ no: 3, name: 'address', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
79
|
-
{
|
|
79
|
+
{
|
|
80
|
+
no: 4,
|
|
81
|
+
name: 'jwks',
|
|
82
|
+
kind: 'message',
|
|
83
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
84
|
+
T: () => ActiveJwk,
|
|
85
|
+
},
|
|
80
86
|
]);
|
|
81
87
|
}
|
|
82
88
|
}
|
|
@@ -761,7 +761,7 @@ class ListBalancesResponse$Type extends MessageType<ListBalancesResponse> {
|
|
|
761
761
|
no: 1,
|
|
762
762
|
name: 'balances',
|
|
763
763
|
kind: 'message',
|
|
764
|
-
repeat:
|
|
764
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
765
765
|
T: () => Balance,
|
|
766
766
|
},
|
|
767
767
|
{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
@@ -831,7 +831,7 @@ class ListDynamicFieldsResponse$Type extends MessageType<ListDynamicFieldsRespon
|
|
|
831
831
|
no: 1,
|
|
832
832
|
name: 'dynamic_fields',
|
|
833
833
|
kind: 'message',
|
|
834
|
-
repeat:
|
|
834
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
835
835
|
T: () => DynamicField,
|
|
836
836
|
},
|
|
837
837
|
{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
@@ -888,7 +888,13 @@ export const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();
|
|
|
888
888
|
class ListOwnedObjectsResponse$Type extends MessageType<ListOwnedObjectsResponse> {
|
|
889
889
|
constructor() {
|
|
890
890
|
super('sui.rpc.v2.ListOwnedObjectsResponse', [
|
|
891
|
-
{
|
|
891
|
+
{
|
|
892
|
+
no: 1,
|
|
893
|
+
name: 'objects',
|
|
894
|
+
kind: 'message',
|
|
895
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
896
|
+
T: () => Object,
|
|
897
|
+
},
|
|
892
898
|
{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },
|
|
893
899
|
]);
|
|
894
900
|
}
|
|
@@ -672,7 +672,7 @@ class SystemState$Type extends MessageType<SystemState> {
|
|
|
672
672
|
no: 8,
|
|
673
673
|
name: 'validator_report_records',
|
|
674
674
|
kind: 'message',
|
|
675
|
-
repeat:
|
|
675
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
676
676
|
T: () => ValidatorReportRecord,
|
|
677
677
|
},
|
|
678
678
|
{ no: 9, name: 'stake_subsidy', kind: 'message', T: () => StakeSubsidy },
|
|
@@ -934,7 +934,7 @@ class ValidatorSet$Type extends MessageType<ValidatorSet> {
|
|
|
934
934
|
no: 2,
|
|
935
935
|
name: 'active_validators',
|
|
936
936
|
kind: 'message',
|
|
937
|
-
repeat:
|
|
937
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
938
938
|
T: () => Validator,
|
|
939
939
|
},
|
|
940
940
|
{ no: 3, name: 'pending_active_validators', kind: 'message', T: () => MoveTable },
|
|
@@ -1253,7 +1253,7 @@ class GasPayment$Type extends MessageType<GasPayment> {
|
|
|
1253
1253
|
no: 1,
|
|
1254
1254
|
name: 'objects',
|
|
1255
1255
|
kind: 'message',
|
|
1256
|
-
repeat:
|
|
1256
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1257
1257
|
T: () => ObjectReference,
|
|
1258
1258
|
},
|
|
1259
1259
|
{ no: 2, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
@@ -1380,12 +1380,12 @@ export const TransactionKind = new TransactionKind$Type();
|
|
|
1380
1380
|
class ProgrammableTransaction$Type extends MessageType<ProgrammableTransaction> {
|
|
1381
1381
|
constructor() {
|
|
1382
1382
|
super('sui.rpc.v2.ProgrammableTransaction', [
|
|
1383
|
-
{ no: 1, name: 'inputs', kind: 'message', repeat:
|
|
1383
|
+
{ no: 1, name: 'inputs', kind: 'message', repeat: 2 /*RepeatType.UNPACKED*/, T: () => Input },
|
|
1384
1384
|
{
|
|
1385
1385
|
no: 2,
|
|
1386
1386
|
name: 'commands',
|
|
1387
1387
|
kind: 'message',
|
|
1388
|
-
repeat:
|
|
1388
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1389
1389
|
T: () => Command,
|
|
1390
1390
|
},
|
|
1391
1391
|
]);
|
|
@@ -1443,7 +1443,7 @@ class MoveCall$Type extends MessageType<MoveCall> {
|
|
|
1443
1443
|
no: 5,
|
|
1444
1444
|
name: 'arguments',
|
|
1445
1445
|
kind: 'message',
|
|
1446
|
-
repeat:
|
|
1446
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1447
1447
|
T: () => Argument,
|
|
1448
1448
|
},
|
|
1449
1449
|
]);
|
|
@@ -1461,7 +1461,7 @@ class TransferObjects$Type extends MessageType<TransferObjects> {
|
|
|
1461
1461
|
no: 1,
|
|
1462
1462
|
name: 'objects',
|
|
1463
1463
|
kind: 'message',
|
|
1464
|
-
repeat:
|
|
1464
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1465
1465
|
T: () => Argument,
|
|
1466
1466
|
},
|
|
1467
1467
|
{ no: 2, name: 'address', kind: 'message', T: () => Argument },
|
|
@@ -1481,7 +1481,7 @@ class SplitCoins$Type extends MessageType<SplitCoins> {
|
|
|
1481
1481
|
no: 2,
|
|
1482
1482
|
name: 'amounts',
|
|
1483
1483
|
kind: 'message',
|
|
1484
|
-
repeat:
|
|
1484
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1485
1485
|
T: () => Argument,
|
|
1486
1486
|
},
|
|
1487
1487
|
]);
|
|
@@ -1500,7 +1500,7 @@ class MergeCoins$Type extends MessageType<MergeCoins> {
|
|
|
1500
1500
|
no: 2,
|
|
1501
1501
|
name: 'coins_to_merge',
|
|
1502
1502
|
kind: 'message',
|
|
1503
|
-
repeat:
|
|
1503
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1504
1504
|
T: () => Argument,
|
|
1505
1505
|
},
|
|
1506
1506
|
]);
|
|
@@ -1544,7 +1544,7 @@ class MakeMoveVector$Type extends MessageType<MakeMoveVector> {
|
|
|
1544
1544
|
no: 2,
|
|
1545
1545
|
name: 'elements',
|
|
1546
1546
|
kind: 'message',
|
|
1547
|
-
repeat:
|
|
1547
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1548
1548
|
T: () => Argument,
|
|
1549
1549
|
},
|
|
1550
1550
|
]);
|
|
@@ -1674,7 +1674,7 @@ class ChangeEpoch$Type extends MessageType<ChangeEpoch> {
|
|
|
1674
1674
|
no: 8,
|
|
1675
1675
|
name: 'system_packages',
|
|
1676
1676
|
kind: 'message',
|
|
1677
|
-
repeat:
|
|
1677
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1678
1678
|
T: () => SystemPackage,
|
|
1679
1679
|
},
|
|
1680
1680
|
]);
|
|
@@ -1721,7 +1721,13 @@ export const SystemPackage = new SystemPackage$Type();
|
|
|
1721
1721
|
class GenesisTransaction$Type extends MessageType<GenesisTransaction> {
|
|
1722
1722
|
constructor() {
|
|
1723
1723
|
super('sui.rpc.v2.GenesisTransaction', [
|
|
1724
|
-
{
|
|
1724
|
+
{
|
|
1725
|
+
no: 1,
|
|
1726
|
+
name: 'objects',
|
|
1727
|
+
kind: 'message',
|
|
1728
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1729
|
+
T: () => Object,
|
|
1730
|
+
},
|
|
1725
1731
|
]);
|
|
1726
1732
|
}
|
|
1727
1733
|
}
|
|
@@ -1822,7 +1828,7 @@ class CanceledTransaction$Type extends MessageType<CanceledTransaction> {
|
|
|
1822
1828
|
no: 2,
|
|
1823
1829
|
name: 'version_assignments',
|
|
1824
1830
|
kind: 'message',
|
|
1825
|
-
repeat:
|
|
1831
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1826
1832
|
T: () => VersionAssignment,
|
|
1827
1833
|
},
|
|
1828
1834
|
]);
|
|
@@ -1841,7 +1847,7 @@ class ConsensusDeterminedVersionAssignments$Type extends MessageType<ConsensusDe
|
|
|
1841
1847
|
no: 3,
|
|
1842
1848
|
name: 'canceled_transactions',
|
|
1843
1849
|
kind: 'message',
|
|
1844
|
-
repeat:
|
|
1850
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1845
1851
|
T: () => CanceledTransaction,
|
|
1846
1852
|
},
|
|
1847
1853
|
]);
|
|
@@ -1876,7 +1882,7 @@ class AuthenticatorStateUpdate$Type extends MessageType<AuthenticatorStateUpdate
|
|
|
1876
1882
|
no: 3,
|
|
1877
1883
|
name: 'new_active_jwks',
|
|
1878
1884
|
kind: 'message',
|
|
1879
|
-
repeat:
|
|
1885
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1880
1886
|
T: () => ActiveJwk,
|
|
1881
1887
|
},
|
|
1882
1888
|
{
|
|
@@ -1923,7 +1929,7 @@ class EndOfEpochTransaction$Type extends MessageType<EndOfEpochTransaction> {
|
|
|
1923
1929
|
no: 1,
|
|
1924
1930
|
name: 'transactions',
|
|
1925
1931
|
kind: 'message',
|
|
1926
|
-
repeat:
|
|
1932
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
1927
1933
|
T: () => EndOfEpochTransactionKind,
|
|
1928
1934
|
},
|
|
1929
1935
|
]);
|
|
@@ -2019,7 +2025,7 @@ class ExecutionTimeObservations$Type extends MessageType<ExecutionTimeObservatio
|
|
|
2019
2025
|
no: 2,
|
|
2020
2026
|
name: 'observations',
|
|
2021
2027
|
kind: 'message',
|
|
2022
|
-
repeat:
|
|
2028
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
2023
2029
|
T: () => ExecutionTimeObservation,
|
|
2024
2030
|
},
|
|
2025
2031
|
]);
|
|
@@ -2048,7 +2054,7 @@ class ExecutionTimeObservation$Type extends MessageType<ExecutionTimeObservation
|
|
|
2048
2054
|
no: 3,
|
|
2049
2055
|
name: 'validator_observations',
|
|
2050
2056
|
kind: 'message',
|
|
2051
|
-
repeat:
|
|
2057
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
2052
2058
|
T: () => ValidatorExecutionTimeObservation,
|
|
2053
2059
|
},
|
|
2054
2060
|
]);
|
|
@@ -163,7 +163,7 @@ class ExecuteTransactionRequest$Type extends MessageType<ExecuteTransactionReque
|
|
|
163
163
|
no: 2,
|
|
164
164
|
name: 'signatures',
|
|
165
165
|
kind: 'message',
|
|
166
|
-
repeat:
|
|
166
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
167
167
|
T: () => UserSignature,
|
|
168
168
|
},
|
|
169
169
|
{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },
|
|
@@ -219,7 +219,7 @@ class SimulateTransactionResponse$Type extends MessageType<SimulateTransactionRe
|
|
|
219
219
|
no: 2,
|
|
220
220
|
name: 'command_outputs',
|
|
221
221
|
kind: 'message',
|
|
222
|
-
repeat:
|
|
222
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
223
223
|
T: () => CommandResult,
|
|
224
224
|
},
|
|
225
225
|
{
|
|
@@ -245,14 +245,14 @@ class CommandResult$Type extends MessageType<CommandResult> {
|
|
|
245
245
|
no: 1,
|
|
246
246
|
name: 'return_values',
|
|
247
247
|
kind: 'message',
|
|
248
|
-
repeat:
|
|
248
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
249
249
|
T: () => CommandOutput,
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
no: 2,
|
|
253
253
|
name: 'mutated_by_ref',
|
|
254
254
|
kind: 'message',
|
|
255
|
-
repeat:
|
|
255
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
256
256
|
T: () => CommandOutput,
|
|
257
257
|
},
|
|
258
258
|
]);
|
package/src/grpc/proto/types.ts
CHANGED
|
@@ -42,3 +42,4 @@ export * from './sui/rpc/v2/subscription_service.js';
|
|
|
42
42
|
export * from './sui/rpc/v2/system_state.js';
|
|
43
43
|
export * from './sui/rpc/v2/transaction.js';
|
|
44
44
|
export * from './sui/rpc/v2/transaction_execution_service.js';
|
|
45
|
+
export * from './sui/forking/v1alpha/forking_service.js';
|
|
@@ -135,8 +135,8 @@ export interface GetObjectParams {
|
|
|
135
135
|
signal?: AbortSignal;
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
|
-
* Return the protocol config table for the given version number. If
|
|
139
|
-
*
|
|
138
|
+
* Return the protocol config table for the given version number. If none is specified, the node uses
|
|
139
|
+
* the version of the latest epoch it has processed.
|
|
140
140
|
*/
|
|
141
141
|
export interface GetProtocolConfigParams {
|
|
142
142
|
/**
|
|
@@ -520,7 +520,7 @@ export interface UnsafePayAllSuiParams {
|
|
|
520
520
|
* input_coin to create new coin following the order of amounts and assign it to the corresponding
|
|
521
521
|
* recipient. 2. accumulate all residual SUI from input coins left and deposit all SUI to the first
|
|
522
522
|
* input coin, then use the first input coin as the gas coin object. 3. the balance of the first input
|
|
523
|
-
* coin after tx is sum(input_coins) - sum(amounts) - actual_gas_cost 4. all other input
|
|
523
|
+
* coin after tx is sum(input_coins) - sum(amounts) - actual_gas_cost 4. all other input coins other
|
|
524
524
|
* than the first one are deleted.
|
|
525
525
|
*/
|
|
526
526
|
export interface UnsafePaySuiParams {
|
|
@@ -591,7 +591,7 @@ export interface UnsafeRequestWithdrawStakeParams {
|
|
|
591
591
|
export interface UnsafeSplitCoinParams {
|
|
592
592
|
/** the transaction signer's Sui address */
|
|
593
593
|
signer: string;
|
|
594
|
-
/** the coin object to be
|
|
594
|
+
/** the coin object to be split */
|
|
595
595
|
coinObjectId: string;
|
|
596
596
|
/** the amounts to split out from the coin */
|
|
597
597
|
splitAmounts: string[];
|
|
@@ -608,7 +608,7 @@ export interface UnsafeSplitCoinParams {
|
|
|
608
608
|
export interface UnsafeSplitCoinEqualParams {
|
|
609
609
|
/** the transaction signer's Sui address */
|
|
610
610
|
signer: string;
|
|
611
|
-
/** the coin object to be
|
|
611
|
+
/** the coin object to be split */
|
|
612
612
|
coinObjectId: string;
|
|
613
613
|
/** the number of coins to split into */
|
|
614
614
|
splitCount: string;
|
package/src/version.ts
CHANGED