diff --git a/Sources/EngineToolkit/radix_engine_toolkit_uniffi.swift b/Sources/EngineToolkit/radix_engine_toolkit_uniffi.swift index 3a07d34..76bb201 100644 --- a/Sources/EngineToolkit/radix_engine_toolkit_uniffi.swift +++ b/Sources/EngineToolkit/radix_engine_toolkit_uniffi.swift @@ -6866,6 +6866,138 @@ public func FfiConverterTypePartialTransactionV2_lower(_ value: PartialTransacti } +public protocol PartialTransactionV2BuilderProtocol { + func addChild(child: PartialTransactionV2) -> PartialTransactionV2Builder + func build() throws -> PartialTransactionV2 + func intentHeader(intentHeader: IntentHeaderV2) -> PartialTransactionV2Builder + func manifest(manifest: TransactionManifestV2) -> PartialTransactionV2Builder + func message(message: MessageV2) -> PartialTransactionV2Builder + +} + +public class PartialTransactionV2Builder: PartialTransactionV2BuilderProtocol { + fileprivate let pointer: UnsafeMutableRawPointer + + // TODO: We'd like this to be `private` but for Swifty reasons, + // we can't implement `FfiConverter` without making this `required` and we can't + // make it `required` without making it `public`. + required init(unsafeFromRawPointer pointer: UnsafeMutableRawPointer) { + self.pointer = pointer + } + public convenience init() { + self.init(unsafeFromRawPointer: try! rustCall() { + uniffi_radix_engine_toolkit_uniffi_fn_constructor_partialtransactionv2builder_new($0) +}) + } + + deinit { + try! rustCall { uniffi_radix_engine_toolkit_uniffi_fn_free_partialtransactionv2builder(pointer, $0) } + } + + + + + + + public func addChild(child: PartialTransactionV2) -> PartialTransactionV2Builder { + return try! FfiConverterTypePartialTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_add_child(self.pointer, + FfiConverterTypePartialTransactionV2.lower(child),$0 + ) +} + ) + } + + public func build() throws -> PartialTransactionV2 { + return try FfiConverterTypePartialTransactionV2.lift( + try + rustCallWithError(FfiConverterTypeRadixEngineToolkitError.lift) { + uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_build(self.pointer, $0 + ) +} + ) + } + + public func intentHeader(intentHeader: IntentHeaderV2) -> PartialTransactionV2Builder { + return try! FfiConverterTypePartialTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_intent_header(self.pointer, + FfiConverterTypeIntentHeaderV2.lower(intentHeader),$0 + ) +} + ) + } + + public func manifest(manifest: TransactionManifestV2) -> PartialTransactionV2Builder { + return try! FfiConverterTypePartialTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_manifest(self.pointer, + FfiConverterTypeTransactionManifestV2.lower(manifest),$0 + ) +} + ) + } + + public func message(message: MessageV2) -> PartialTransactionV2Builder { + return try! FfiConverterTypePartialTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_message(self.pointer, + FfiConverterTypeMessageV2.lower(message),$0 + ) +} + ) + } +} + +public struct FfiConverterTypePartialTransactionV2Builder: FfiConverter { + typealias FfiType = UnsafeMutableRawPointer + typealias SwiftType = PartialTransactionV2Builder + + public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> PartialTransactionV2Builder { + let v: UInt64 = try readInt(&buf) + // The Rust code won't compile if a pointer won't fit in a UInt64. + // We have to go via `UInt` because that's the thing that's the size of a pointer. + let ptr = UnsafeMutableRawPointer(bitPattern: UInt(truncatingIfNeeded: v)) + if (ptr == nil) { + throw UniffiInternalError.unexpectedNullPointer + } + return try lift(ptr!) + } + + public static func write(_ value: PartialTransactionV2Builder, into buf: inout [UInt8]) { + // This fiddling is because `Int` is the thing that's the same size as a pointer. + // The Rust code won't compile if a pointer won't fit in a `UInt64`. + writeInt(&buf, UInt64(bitPattern: Int64(Int(bitPattern: lower(value))))) + } + + public static func lift(_ pointer: UnsafeMutableRawPointer) throws -> PartialTransactionV2Builder { + return PartialTransactionV2Builder(unsafeFromRawPointer: pointer) + } + + public static func lower(_ value: PartialTransactionV2Builder) -> UnsafeMutableRawPointer { + return value.pointer + } +} + + +public func FfiConverterTypePartialTransactionV2Builder_lift(_ pointer: UnsafeMutableRawPointer) throws -> PartialTransactionV2Builder { + return try FfiConverterTypePartialTransactionV2Builder.lift(pointer) +} + +public func FfiConverterTypePartialTransactionV2Builder_lower(_ value: PartialTransactionV2Builder) -> UnsafeMutableRawPointer { + return FfiConverterTypePartialTransactionV2Builder.lower(value) +} + + public protocol PreciseDecimalProtocol { func abs() throws -> PreciseDecimal func add(other: PreciseDecimal) throws -> PreciseDecimal @@ -7269,6 +7401,165 @@ public func FfiConverterTypePreciseDecimal_lower(_ value: PreciseDecimal) -> Uns } +public protocol PreviewTransactionV2BuilderProtocol { + func addChild(partialTransaction: PartialTransactionV2, signers: [PublicKey]) -> PreviewTransactionV2Builder + func addRootIntentSigner(signer: PublicKey) -> PreviewTransactionV2Builder + func build() throws -> Data + func intentHeader(intentHeader: IntentHeaderV2) -> PreviewTransactionV2Builder + func manifest(manifest: TransactionManifestV2) -> PreviewTransactionV2Builder + func message(message: MessageV2) -> PreviewTransactionV2Builder + func transactionHeader(transactionHeader: TransactionHeaderV2) -> PreviewTransactionV2Builder + +} + +public class PreviewTransactionV2Builder: PreviewTransactionV2BuilderProtocol { + fileprivate let pointer: UnsafeMutableRawPointer + + // TODO: We'd like this to be `private` but for Swifty reasons, + // we can't implement `FfiConverter` without making this `required` and we can't + // make it `required` without making it `public`. + required init(unsafeFromRawPointer pointer: UnsafeMutableRawPointer) { + self.pointer = pointer + } + public convenience init() { + self.init(unsafeFromRawPointer: try! rustCall() { + uniffi_radix_engine_toolkit_uniffi_fn_constructor_previewtransactionv2builder_new($0) +}) + } + + deinit { + try! rustCall { uniffi_radix_engine_toolkit_uniffi_fn_free_previewtransactionv2builder(pointer, $0) } + } + + + + + + + public func addChild(partialTransaction: PartialTransactionV2, signers: [PublicKey]) -> PreviewTransactionV2Builder { + return try! FfiConverterTypePreviewTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_child(self.pointer, + FfiConverterTypePartialTransactionV2.lower(partialTransaction), + FfiConverterSequenceTypePublicKey.lower(signers),$0 + ) +} + ) + } + + public func addRootIntentSigner(signer: PublicKey) -> PreviewTransactionV2Builder { + return try! FfiConverterTypePreviewTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_root_intent_signer(self.pointer, + FfiConverterTypePublicKey.lower(signer),$0 + ) +} + ) + } + + public func build() throws -> Data { + return try FfiConverterData.lift( + try + rustCallWithError(FfiConverterTypeRadixEngineToolkitError.lift) { + uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_build(self.pointer, $0 + ) +} + ) + } + + public func intentHeader(intentHeader: IntentHeaderV2) -> PreviewTransactionV2Builder { + return try! FfiConverterTypePreviewTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_intent_header(self.pointer, + FfiConverterTypeIntentHeaderV2.lower(intentHeader),$0 + ) +} + ) + } + + public func manifest(manifest: TransactionManifestV2) -> PreviewTransactionV2Builder { + return try! FfiConverterTypePreviewTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_manifest(self.pointer, + FfiConverterTypeTransactionManifestV2.lower(manifest),$0 + ) +} + ) + } + + public func message(message: MessageV2) -> PreviewTransactionV2Builder { + return try! FfiConverterTypePreviewTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_message(self.pointer, + FfiConverterTypeMessageV2.lower(message),$0 + ) +} + ) + } + + public func transactionHeader(transactionHeader: TransactionHeaderV2) -> PreviewTransactionV2Builder { + return try! FfiConverterTypePreviewTransactionV2Builder.lift( + try! + rustCall() { + + uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_transaction_header(self.pointer, + FfiConverterTypeTransactionHeaderV2.lower(transactionHeader),$0 + ) +} + ) + } +} + +public struct FfiConverterTypePreviewTransactionV2Builder: FfiConverter { + typealias FfiType = UnsafeMutableRawPointer + typealias SwiftType = PreviewTransactionV2Builder + + public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> PreviewTransactionV2Builder { + let v: UInt64 = try readInt(&buf) + // The Rust code won't compile if a pointer won't fit in a UInt64. + // We have to go via `UInt` because that's the thing that's the size of a pointer. + let ptr = UnsafeMutableRawPointer(bitPattern: UInt(truncatingIfNeeded: v)) + if (ptr == nil) { + throw UniffiInternalError.unexpectedNullPointer + } + return try lift(ptr!) + } + + public static func write(_ value: PreviewTransactionV2Builder, into buf: inout [UInt8]) { + // This fiddling is because `Int` is the thing that's the same size as a pointer. + // The Rust code won't compile if a pointer won't fit in a `UInt64`. + writeInt(&buf, UInt64(bitPattern: Int64(Int(bitPattern: lower(value))))) + } + + public static func lift(_ pointer: UnsafeMutableRawPointer) throws -> PreviewTransactionV2Builder { + return PreviewTransactionV2Builder(unsafeFromRawPointer: pointer) + } + + public static func lower(_ value: PreviewTransactionV2Builder) -> UnsafeMutableRawPointer { + return value.pointer + } +} + + +public func FfiConverterTypePreviewTransactionV2Builder_lift(_ pointer: UnsafeMutableRawPointer) throws -> PreviewTransactionV2Builder { + return try FfiConverterTypePreviewTransactionV2Builder.lift(pointer) +} + +public func FfiConverterTypePreviewTransactionV2Builder_lower(_ value: PreviewTransactionV2Builder) -> UnsafeMutableRawPointer { + return FfiConverterTypePreviewTransactionV2Builder.lower(value) +} + + public protocol PrivateKeyProtocol { func curve() -> Curve func publicKey() -> PublicKey @@ -26223,6 +26514,21 @@ private var initializationResult: InitializationResult { if (uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2_to_payload_bytes() != 40008) { return InitializationResult.apiChecksumMismatch } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_add_child() != 63936) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_build() != 44045) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_intent_header() != 22434) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_manifest() != 9515) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_message() != 49253) { + return InitializationResult.apiChecksumMismatch + } if (uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_abs() != 753) { return InitializationResult.apiChecksumMismatch } @@ -26295,6 +26601,27 @@ private var initializationResult: InitializationResult { if (uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_to_le_bytes() != 6841) { return InitializationResult.apiChecksumMismatch } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_child() != 49145) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_root_intent_signer() != 45430) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_build() != 17377) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_intent_header() != 11361) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_manifest() != 64146) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_message() != 34085) { + return InitializationResult.apiChecksumMismatch + } + if (uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_transaction_header() != 60706) { + return InitializationResult.apiChecksumMismatch + } if (uniffi_radix_engine_toolkit_uniffi_checksum_method_privatekey_curve() != 56035) { return InitializationResult.apiChecksumMismatch } @@ -26694,6 +27021,9 @@ private var initializationResult: InitializationResult { if (uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2_new() != 33234) { return InitializationResult.apiChecksumMismatch } + if (uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2builder_new() != 30026) { + return InitializationResult.apiChecksumMismatch + } if (uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_from_le_bytes() != 24547) { return InitializationResult.apiChecksumMismatch } @@ -26712,6 +27042,9 @@ private var initializationResult: InitializationResult { if (uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_zero() != 5648) { return InitializationResult.apiChecksumMismatch } + if (uniffi_radix_engine_toolkit_uniffi_checksum_constructor_previewtransactionv2builder_new() != 64735) { + return InitializationResult.apiChecksumMismatch + } if (uniffi_radix_engine_toolkit_uniffi_checksum_constructor_privatekey_new() != 47612) { return InitializationResult.apiChecksumMismatch } diff --git a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/Info.plist b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/Info.plist index 854cf52..fcca1dd 100644 --- a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/Info.plist +++ b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/Info.plist @@ -8,16 +8,15 @@ BinaryPath RadixEngineToolkit.framework/RadixEngineToolkit LibraryIdentifier - macos-arm64_x86_64 + ios-arm64 LibraryPath RadixEngineToolkit.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform - macos + ios BinaryPath @@ -40,15 +39,16 @@ BinaryPath RadixEngineToolkit.framework/RadixEngineToolkit LibraryIdentifier - ios-arm64 + macos-arm64_x86_64 LibraryPath RadixEngineToolkit.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform - ios + macos CFBundlePackageType diff --git a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h index 4675dfa..e5c7b3e 100644 --- a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h +++ b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h @@ -968,6 +968,21 @@ void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2_ ); RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2_to_payload_bytes(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); +void uniffi_radix_engine_toolkit_uniffi_fn_free_partialtransactionv2builder(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_partialtransactionv2builder_new(RustCallStatus *_Nonnull out_status + +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_add_child(void*_Nonnull ptr, void*_Nonnull child, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_build(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_intent_header(void*_Nonnull ptr, RustBuffer intent_header, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_manifest(void*_Nonnull ptr, void*_Nonnull manifest, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_message(void*_Nonnull ptr, RustBuffer message, RustCallStatus *_Nonnull out_status +); void uniffi_radix_engine_toolkit_uniffi_fn_free_precisedecimal(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_precisedecimal_from_le_bytes(RustBuffer value, RustCallStatus *_Nonnull out_status @@ -1034,6 +1049,25 @@ void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_precisedecimal_sub(vo ); RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_precisedecimal_to_le_bytes(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); +void uniffi_radix_engine_toolkit_uniffi_fn_free_previewtransactionv2builder(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_previewtransactionv2builder_new(RustCallStatus *_Nonnull out_status + +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_child(void*_Nonnull ptr, void*_Nonnull partial_transaction, RustBuffer signers, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_root_intent_signer(void*_Nonnull ptr, RustBuffer signer, RustCallStatus *_Nonnull out_status +); +RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_build(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_intent_header(void*_Nonnull ptr, RustBuffer intent_header, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_manifest(void*_Nonnull ptr, void*_Nonnull manifest, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_message(void*_Nonnull ptr, RustBuffer message, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_transaction_header(void*_Nonnull ptr, RustBuffer transaction_header, RustCallStatus *_Nonnull out_status +); void uniffi_radix_engine_toolkit_uniffi_fn_free_privatekey(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_privatekey_new(RustBuffer bytes, RustBuffer curve, RustCallStatus *_Nonnull out_status @@ -2720,6 +2754,21 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2 ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2_to_payload_bytes(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_add_child(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_build(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_intent_header(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_manifest(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_message(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_abs(void @@ -2792,6 +2841,27 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_sub(v ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_to_le_bytes(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_child(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_root_intent_signer(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_build(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_intent_header(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_manifest(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_message(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_transaction_header(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_privatekey_curve(void @@ -3191,6 +3261,9 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransact ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2_new(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2builder_new(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_from_le_bytes(void @@ -3209,6 +3282,9 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_ ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_zero(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_previewtransactionv2builder_new(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_privatekey_new(void diff --git a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/RadixEngineToolkit b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/RadixEngineToolkit index 65c5ec1..3d6411c 100644 Binary files a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/RadixEngineToolkit and b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64/RadixEngineToolkit.framework/RadixEngineToolkit differ diff --git a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h index 4675dfa..e5c7b3e 100644 --- a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h +++ b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h @@ -968,6 +968,21 @@ void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2_ ); RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2_to_payload_bytes(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); +void uniffi_radix_engine_toolkit_uniffi_fn_free_partialtransactionv2builder(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_partialtransactionv2builder_new(RustCallStatus *_Nonnull out_status + +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_add_child(void*_Nonnull ptr, void*_Nonnull child, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_build(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_intent_header(void*_Nonnull ptr, RustBuffer intent_header, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_manifest(void*_Nonnull ptr, void*_Nonnull manifest, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_message(void*_Nonnull ptr, RustBuffer message, RustCallStatus *_Nonnull out_status +); void uniffi_radix_engine_toolkit_uniffi_fn_free_precisedecimal(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_precisedecimal_from_le_bytes(RustBuffer value, RustCallStatus *_Nonnull out_status @@ -1034,6 +1049,25 @@ void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_precisedecimal_sub(vo ); RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_precisedecimal_to_le_bytes(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); +void uniffi_radix_engine_toolkit_uniffi_fn_free_previewtransactionv2builder(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_previewtransactionv2builder_new(RustCallStatus *_Nonnull out_status + +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_child(void*_Nonnull ptr, void*_Nonnull partial_transaction, RustBuffer signers, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_root_intent_signer(void*_Nonnull ptr, RustBuffer signer, RustCallStatus *_Nonnull out_status +); +RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_build(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_intent_header(void*_Nonnull ptr, RustBuffer intent_header, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_manifest(void*_Nonnull ptr, void*_Nonnull manifest, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_message(void*_Nonnull ptr, RustBuffer message, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_transaction_header(void*_Nonnull ptr, RustBuffer transaction_header, RustCallStatus *_Nonnull out_status +); void uniffi_radix_engine_toolkit_uniffi_fn_free_privatekey(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_privatekey_new(RustBuffer bytes, RustBuffer curve, RustCallStatus *_Nonnull out_status @@ -2720,6 +2754,21 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2 ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2_to_payload_bytes(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_add_child(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_build(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_intent_header(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_manifest(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_message(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_abs(void @@ -2792,6 +2841,27 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_sub(v ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_to_le_bytes(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_child(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_root_intent_signer(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_build(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_intent_header(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_manifest(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_message(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_transaction_header(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_privatekey_curve(void @@ -3191,6 +3261,9 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransact ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2_new(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2builder_new(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_from_le_bytes(void @@ -3209,6 +3282,9 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_ ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_zero(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_previewtransactionv2builder_new(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_privatekey_new(void diff --git a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/RadixEngineToolkit b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/RadixEngineToolkit index e968c7a..d613c82 100644 Binary files a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/RadixEngineToolkit and b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/ios-arm64_x86_64-simulator/RadixEngineToolkit.framework/RadixEngineToolkit differ diff --git a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h index 4675dfa..e5c7b3e 100644 --- a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h +++ b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/Headers/radix_engine_toolkit_uniffiFFI.h @@ -968,6 +968,21 @@ void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2_ ); RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2_to_payload_bytes(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); +void uniffi_radix_engine_toolkit_uniffi_fn_free_partialtransactionv2builder(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_partialtransactionv2builder_new(RustCallStatus *_Nonnull out_status + +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_add_child(void*_Nonnull ptr, void*_Nonnull child, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_build(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_intent_header(void*_Nonnull ptr, RustBuffer intent_header, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_manifest(void*_Nonnull ptr, void*_Nonnull manifest, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_partialtransactionv2builder_message(void*_Nonnull ptr, RustBuffer message, RustCallStatus *_Nonnull out_status +); void uniffi_radix_engine_toolkit_uniffi_fn_free_precisedecimal(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_precisedecimal_from_le_bytes(RustBuffer value, RustCallStatus *_Nonnull out_status @@ -1034,6 +1049,25 @@ void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_precisedecimal_sub(vo ); RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_precisedecimal_to_le_bytes(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); +void uniffi_radix_engine_toolkit_uniffi_fn_free_previewtransactionv2builder(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_previewtransactionv2builder_new(RustCallStatus *_Nonnull out_status + +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_child(void*_Nonnull ptr, void*_Nonnull partial_transaction, RustBuffer signers, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_add_root_intent_signer(void*_Nonnull ptr, RustBuffer signer, RustCallStatus *_Nonnull out_status +); +RustBuffer uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_build(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_intent_header(void*_Nonnull ptr, RustBuffer intent_header, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_manifest(void*_Nonnull ptr, void*_Nonnull manifest, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_message(void*_Nonnull ptr, RustBuffer message, RustCallStatus *_Nonnull out_status +); +void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_method_previewtransactionv2builder_transaction_header(void*_Nonnull ptr, RustBuffer transaction_header, RustCallStatus *_Nonnull out_status +); void uniffi_radix_engine_toolkit_uniffi_fn_free_privatekey(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status ); void*_Nonnull uniffi_radix_engine_toolkit_uniffi_fn_constructor_privatekey_new(RustBuffer bytes, RustBuffer curve, RustCallStatus *_Nonnull out_status @@ -2720,6 +2754,21 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2 ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2_to_payload_bytes(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_add_child(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_build(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_intent_header(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_manifest(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_partialtransactionv2builder_message(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_abs(void @@ -2792,6 +2841,27 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_sub(v ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_precisedecimal_to_le_bytes(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_child(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_add_root_intent_signer(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_build(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_intent_header(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_manifest(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_message(void + +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_previewtransactionv2builder_transaction_header(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_method_privatekey_curve(void @@ -3191,6 +3261,9 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransact ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2_new(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_partialtransactionv2builder_new(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_from_le_bytes(void @@ -3209,6 +3282,9 @@ uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_ ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_precisedecimal_zero(void +); +uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_previewtransactionv2builder_new(void + ); uint16_t uniffi_radix_engine_toolkit_uniffi_checksum_constructor_privatekey_new(void diff --git a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/RadixEngineToolkit b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/RadixEngineToolkit index 017677f..983ac29 100644 Binary files a/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/RadixEngineToolkit and b/Sources/RadixEngineToolkit/RadixEngineToolkit.xcframework/macos-arm64_x86_64/RadixEngineToolkit.framework/RadixEngineToolkit differ