@@ -1352,7 +1352,7 @@ func uniffiCheckChecksums() {
13521352 checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
13531353 return C.uniffi_iota_sdk_ffi_checksum_method_graphqlclient_dynamic_field()
13541354 })
1355- if checksum != 29988 {
1355+ if checksum != 17199 {
13561356 // If this happens try cleaning and rebuilding your project
13571357 panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_method_graphqlclient_dynamic_field: UniFFI API checksum mismatch")
13581358 }
@@ -4508,6 +4508,15 @@ func uniffiCheckChecksums() {
45084508 }
45094509 }
45104510 {
4511+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
4512+ return C.uniffi_iota_sdk_ffi_checksum_constructor_address_framework()
4513+ })
4514+ if checksum != 52951 {
4515+ // If this happens try cleaning and rebuilding your project
4516+ panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_address_framework: UniFFI API checksum mismatch")
4517+ }
4518+ }
4519+ {
45114520 checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
45124521 return C.uniffi_iota_sdk_ffi_checksum_constructor_address_from_bytes()
45134522 })
@@ -4535,6 +4544,33 @@ func uniffiCheckChecksums() {
45354544 }
45364545 }
45374546 {
4547+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
4548+ return C.uniffi_iota_sdk_ffi_checksum_constructor_address_std_lib()
4549+ })
4550+ if checksum != 35825 {
4551+ // If this happens try cleaning and rebuilding your project
4552+ panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_address_std_lib: UniFFI API checksum mismatch")
4553+ }
4554+ }
4555+ {
4556+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
4557+ return C.uniffi_iota_sdk_ffi_checksum_constructor_address_system()
4558+ })
4559+ if checksum != 4297 {
4560+ // If this happens try cleaning and rebuilding your project
4561+ panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_address_system: UniFFI API checksum mismatch")
4562+ }
4563+ }
4564+ {
4565+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
4566+ return C.uniffi_iota_sdk_ffi_checksum_constructor_address_zero()
4567+ })
4568+ if checksum != 46553 {
4569+ // If this happens try cleaning and rebuilding your project
4570+ panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_address_zero: UniFFI API checksum mismatch")
4571+ }
4572+ }
4573+ {
45384574 checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
45394575 return C.uniffi_iota_sdk_ffi_checksum_constructor_argument_new_gas()
45404576 })
@@ -5615,6 +5651,15 @@ func uniffiCheckChecksums() {
56155651 }
56165652 }
56175653 {
5654+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
5655+ return C.uniffi_iota_sdk_ffi_checksum_constructor_objectid_clock()
5656+ })
5657+ if checksum != 14732 {
5658+ // If this happens try cleaning and rebuilding your project
5659+ panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_objectid_clock: UniFFI API checksum mismatch")
5660+ }
5661+ }
5662+ {
56185663 checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
56195664 return C.uniffi_iota_sdk_ffi_checksum_constructor_objectid_derive_id()
56205665 })
@@ -5642,6 +5687,24 @@ func uniffiCheckChecksums() {
56425687 }
56435688 }
56445689 {
5690+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
5691+ return C.uniffi_iota_sdk_ffi_checksum_constructor_objectid_system()
5692+ })
5693+ if checksum != 9600 {
5694+ // If this happens try cleaning and rebuilding your project
5695+ panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_objectid_system: UniFFI API checksum mismatch")
5696+ }
5697+ }
5698+ {
5699+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
5700+ return C.uniffi_iota_sdk_ffi_checksum_constructor_objectid_zero()
5701+ })
5702+ if checksum != 40526 {
5703+ // If this happens try cleaning and rebuilding your project
5704+ panic("iota_sdk_ffi: uniffi_iota_sdk_ffi_checksum_constructor_objectid_zero: UniFFI API checksum mismatch")
5705+ }
5706+ }
5707+ {
56455708 checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {
56465709 return C.uniffi_iota_sdk_ffi_checksum_constructor_objecttype_new_package()
56475710 })
@@ -7363,6 +7426,12 @@ type Address struct {
73637426}
73647427
73657428
7429+ func AddressFramework() *Address {
7430+ return FfiConverterAddressINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
7431+ return C.uniffi_iota_sdk_ffi_fn_constructor_address_framework(_uniffiStatus)
7432+ }))
7433+ }
7434+
73667435func AddressFromBytes(bytes []byte) (*Address, error) {
73677436 _uniffiRV, _uniffiErr := rustCallWithError[SdkFfiError](FfiConverterSdkFfiError{},func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
73687437 return C.uniffi_iota_sdk_ffi_fn_constructor_address_from_bytes(FfiConverterBytesINSTANCE.Lower(bytes),_uniffiStatus)
@@ -7393,6 +7462,24 @@ func AddressGenerate() *Address {
73937462 }))
73947463}
73957464
7465+ func AddressStdLib() *Address {
7466+ return FfiConverterAddressINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
7467+ return C.uniffi_iota_sdk_ffi_fn_constructor_address_std_lib(_uniffiStatus)
7468+ }))
7469+ }
7470+
7471+ func AddressSystem() *Address {
7472+ return FfiConverterAddressINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
7473+ return C.uniffi_iota_sdk_ffi_fn_constructor_address_system(_uniffiStatus)
7474+ }))
7475+ }
7476+
7477+ func AddressZero() *Address {
7478+ return FfiConverterAddressINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
7479+ return C.uniffi_iota_sdk_ffi_fn_constructor_address_zero(_uniffiStatus)
7480+ }))
7481+ }
7482+
73967483
73977484
73987485func (_self *Address) ToBytes() []byte {
@@ -11997,7 +12084,7 @@ type GraphQlClientInterface interface {
1199712084 // ```rust,ignore
1199812085 //
1199912086 // let client = iota_graphql_client::Client::new_devnet();
12000- // let address = Address::from_str("0x5").unwrap ();
12087+ // let address = ObjectId::SYSTEM.into ();
1200112088 // let df = client.dynamic_field_with_name(address, "u64", 2u64).await.unwrap();
1200212089 //
1200312090 // # alternatively, pass in the bcs bytes
@@ -12535,7 +12622,7 @@ func (_self *GraphQlClient) DryRunTxKind(txKind *TransactionKind, txMeta Transac
1253512622// ```rust,ignore
1253612623//
1253712624// let client = iota_graphql_client::Client::new_devnet();
12538- // let address = Address::from_str("0x5").unwrap ();
12625+ // let address = ObjectId::SYSTEM.into ();
1253912626// let df = client.dynamic_field_with_name(address, "u64", 2u64).await.unwrap();
1254012627//
1254112628// # alternatively, pass in the bcs bytes
@@ -17016,6 +17103,12 @@ type ObjectId struct {
1701617103}
1701717104
1701817105
17106+ func ObjectIdClock() *ObjectId {
17107+ return FfiConverterObjectIdINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
17108+ return C.uniffi_iota_sdk_ffi_fn_constructor_objectid_clock(_uniffiStatus)
17109+ }))
17110+ }
17111+
1701917112// Create an ObjectId from a transaction digest and the number of objects
1702017113// that have been created during a transactions.
1702117114func ObjectIdDeriveId(digest *Digest, count uint64) *ObjectId {
@@ -17048,6 +17141,18 @@ func ObjectIdFromHex(hex string) (*ObjectId, error) {
1704817141 }
1704917142}
1705017143
17144+ func ObjectIdSystem() *ObjectId {
17145+ return FfiConverterObjectIdINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
17146+ return C.uniffi_iota_sdk_ffi_fn_constructor_objectid_system(_uniffiStatus)
17147+ }))
17148+ }
17149+
17150+ func ObjectIdZero() *ObjectId {
17151+ return FfiConverterObjectIdINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) unsafe.Pointer {
17152+ return C.uniffi_iota_sdk_ffi_fn_constructor_objectid_zero(_uniffiStatus)
17153+ }))
17154+ }
17155+
1705117156
1705217157
1705317158// Derive an ObjectId for a Dynamic Child Object.
0 commit comments