@@ -1242,7 +1242,7 @@ pub mod package_upgrade_error {
1242
1242
/// Package upgrade is incompatible with previous version.
1243
1243
IncompatibleUpgrade = 3 ,
1244
1244
/// Digest in upgrade ticket and computed digest differ.
1245
- DigetsDoesNotMatch = 4 ,
1245
+ DigestDoesNotMatch = 4 ,
1246
1246
/// Upgrade policy is not valid.
1247
1247
UnknownUpgradePolicy = 5 ,
1248
1248
/// Package ID does not match `PackageId` in upgrade ticket.
@@ -1259,7 +1259,7 @@ pub mod package_upgrade_error {
1259
1259
Self :: UnableToFetchPackage => "UNABLE_TO_FETCH_PACKAGE" ,
1260
1260
Self :: NotAPackage => "NOT_A_PACKAGE" ,
1261
1261
Self :: IncompatibleUpgrade => "INCOMPATIBLE_UPGRADE" ,
1262
- Self :: DigetsDoesNotMatch => "DIGETS_DOES_NOT_MATCH " ,
1262
+ Self :: DigestDoesNotMatch => "DIGEST_DOES_NOT_MATCH " ,
1263
1263
Self :: UnknownUpgradePolicy => "UNKNOWN_UPGRADE_POLICY" ,
1264
1264
Self :: PackageIdDoesNotMatch => "PACKAGE_ID_DOES_NOT_MATCH" ,
1265
1265
}
@@ -1271,7 +1271,7 @@ pub mod package_upgrade_error {
1271
1271
"UNABLE_TO_FETCH_PACKAGE" => Some ( Self :: UnableToFetchPackage ) ,
1272
1272
"NOT_A_PACKAGE" => Some ( Self :: NotAPackage ) ,
1273
1273
"INCOMPATIBLE_UPGRADE" => Some ( Self :: IncompatibleUpgrade ) ,
1274
- "DIGETS_DOES_NOT_MATCH " => Some ( Self :: DigetsDoesNotMatch ) ,
1274
+ "DIGEST_DOES_NOT_MATCH " => Some ( Self :: DigestDoesNotMatch ) ,
1275
1275
"UNKNOWN_UPGRADE_POLICY" => Some ( Self :: UnknownUpgradePolicy ) ,
1276
1276
"PACKAGE_ID_DOES_NOT_MATCH" => Some ( Self :: PackageIdDoesNotMatch ) ,
1277
1277
_ => None ,
@@ -2536,6 +2536,8 @@ pub struct ListDynamicFieldsRequest {
2536
2536
/// match the call that provided the page token.
2537
2537
#[ prost( bytes = "bytes" , optional, tag = "3" ) ]
2538
2538
pub page_token : :: core:: option:: Option < :: prost:: bytes:: Bytes > ,
2539
+ #[ prost( message, optional, tag = "4" ) ]
2540
+ pub read_mask : :: core:: option:: Option < :: prost_types:: FieldMask > ,
2539
2541
}
2540
2542
/// Response message for `NodeService.ListDynamicFields`
2541
2543
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -2578,6 +2580,9 @@ pub struct DynamicField {
2578
2580
/// is a dynamic field or a dynamic child object
2579
2581
#[ prost( string, optional, tag = "7" ) ]
2580
2582
pub dynamic_object_id : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2583
+ /// The object itself when a child is a dynamic object field.
2584
+ #[ prost( message, optional, tag = "8" ) ]
2585
+ pub object : :: core:: option:: Option < Object > ,
2581
2586
}
2582
2587
/// Nested message and enum types in `DynamicField`.
2583
2588
pub mod dynamic_field {
@@ -2711,16 +2716,6 @@ pub struct ListOwnedObjectsRequest {
2711
2716
/// Required. The address of the account that owns the objects.
2712
2717
#[ prost( string, optional, tag = "1" ) ]
2713
2718
pub owner : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2714
- /// Optional type filter to limit the types of objects listed.
2715
- ///
2716
- /// Providing an object type with no type params will return objects of that
2717
- /// type with any type parameter, e.g. `0x2::coin::Coin` will return all
2718
- /// `Coin<T>` objects regardless of the type parameter `T`. Providing a type
2719
- /// with a type param will retrict the returned objects to only those objects
2720
- /// that match the provided type parameters, e.g.
2721
- /// `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.
2722
- #[ prost( string, optional, tag = "4" ) ]
2723
- pub object_type : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2724
2719
/// The maximum number of entries return. The service may return fewer than this value.
2725
2720
/// If unspecified, at most `50` entries will be returned.
2726
2721
/// The maximum value is `1000`; values above `1000` will be coerced to `1000`.
@@ -2733,33 +2728,29 @@ pub struct ListOwnedObjectsRequest {
2733
2728
/// match the call that provided the page token.
2734
2729
#[ prost( bytes = "bytes" , optional, tag = "3" ) ]
2735
2730
pub page_token : :: core:: option:: Option < :: prost:: bytes:: Bytes > ,
2731
+ #[ prost( message, optional, tag = "4" ) ]
2732
+ pub read_mask : :: core:: option:: Option < :: prost_types:: FieldMask > ,
2733
+ /// Optional type filter to limit the types of objects listed.
2734
+ ///
2735
+ /// Providing an object type with no type params will return objects of that
2736
+ /// type with any type parameter, e.g. `0x2::coin::Coin` will return all
2737
+ /// `Coin<T>` objects regardless of the type parameter `T`. Providing a type
2738
+ /// with a type param will retrict the returned objects to only those objects
2739
+ /// that match the provided type parameters, e.g.
2740
+ /// `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.
2741
+ #[ prost( string, optional, tag = "5" ) ]
2742
+ pub object_type : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2736
2743
}
2737
2744
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
2738
2745
pub struct ListOwnedObjectsResponse {
2739
2746
/// Page of dynamic fields owned by the specified parent.
2740
2747
#[ prost( message, repeated, tag = "1" ) ]
2741
- pub objects : :: prost:: alloc:: vec:: Vec < OwnedObject > ,
2748
+ pub objects : :: prost:: alloc:: vec:: Vec < Object > ,
2742
2749
/// A token, which can be sent as `page_token` to retrieve the next page.
2743
2750
/// If this field is omitted, there are no subsequent pages.
2744
2751
#[ prost( bytes = "bytes" , optional, tag = "2" ) ]
2745
2752
pub next_page_token : :: core:: option:: Option < :: prost:: bytes:: Bytes > ,
2746
2753
}
2747
- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
2748
- pub struct OwnedObject {
2749
- #[ prost( string, optional, tag = "2" ) ]
2750
- pub object_id : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2751
- #[ prost( uint64, optional, tag = "3" ) ]
2752
- pub version : :: core:: option:: Option < u64 > ,
2753
- #[ prost( string, optional, tag = "4" ) ]
2754
- pub digest : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2755
- #[ prost( message, optional, tag = "5" ) ]
2756
- pub owner : :: core:: option:: Option < Owner > ,
2757
- #[ prost( string, optional, tag = "6" ) ]
2758
- pub object_type : :: core:: option:: Option < :: prost:: alloc:: string:: String > ,
2759
- /// Current balance if this object is a `0x2::coin::Coin<T>`
2760
- #[ prost( uint64, optional, tag = "200" ) ]
2761
- pub balance : :: core:: option:: Option < u64 > ,
2762
- }
2763
2754
/// Generated client implementations.
2764
2755
pub mod live_data_service_client {
2765
2756
#![ allow(
@@ -4577,6 +4568,9 @@ pub struct Object {
4577
4568
/// JSON rendering of the object.
4578
4569
#[ prost( message, optional, boxed, tag = "100" ) ]
4579
4570
pub json : :: core:: option:: Option < :: prost:: alloc:: boxed:: Box < :: prost_types:: Value > > ,
4571
+ /// Current balance if this object is a `0x2::coin::Coin<T>`
4572
+ #[ prost( uint64, optional, tag = "101" ) ]
4573
+ pub balance : :: core:: option:: Option < u64 > ,
4580
4574
}
4581
4575
/// Reference to an object.
4582
4576
#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -5441,7 +5435,7 @@ pub mod subscription_service_client {
5441
5435
/// This API provides a subscription to the checkpoint stream for the Sui
5442
5436
/// blockchain. When a subscription is initialized the stream will begin with
5443
5437
/// the latest executed checkpoint as seen by the server. Responses are
5444
- /// gaurenteed to return checkpoints in-order and without gaps. This enables
5438
+ /// guaranteed to return checkpoints in-order and without gaps. This enables
5445
5439
/// clients to know exactly the last checkpoint they have processed and in the
5446
5440
/// event the subscription terminates (either by the client/server or by the
5447
5441
/// connection breaking), clients will be able to reinitailize a subscription
@@ -5507,7 +5501,7 @@ pub mod subscription_service_server {
5507
5501
/// This API provides a subscription to the checkpoint stream for the Sui
5508
5502
/// blockchain. When a subscription is initialized the stream will begin with
5509
5503
/// the latest executed checkpoint as seen by the server. Responses are
5510
- /// gaurenteed to return checkpoints in-order and without gaps. This enables
5504
+ /// guaranteed to return checkpoints in-order and without gaps. This enables
5511
5505
/// clients to know exactly the last checkpoint they have processed and in the
5512
5506
/// event the subscription terminates (either by the client/server or by the
5513
5507
/// connection breaking), clients will be able to reinitailize a subscription
0 commit comments