@layerzerolabs/lz-sui-oft-sdk-v2 3.0.133 → 3.0.134-sui.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/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { SuiClient } from '@mysten/sui/client';
2
2
  import { Transaction, TransactionArgument, TransactionResult } from '@mysten/sui/transactions';
3
- import { SDK, IPTBValidator, MessagingFee, ObjectOptions } from '@layerzerolabs/lz-sui-sdk-v2';
4
- import { Transaction as Transaction$1, TransactionArgument as TransactionArgument$1, TransactionResult as TransactionResult$1 } from '@mysten/sui/dist/cjs/transactions';
3
+ import { SDK, IPTBValidator, MessagingFee } from '@layerzerolabs/lz-sui-sdk-v2';
5
4
  import * as _mysten_sui_dist_cjs_bcs from '@mysten/sui/dist/cjs/bcs';
6
5
 
7
6
  declare const OFTMsgType: {
@@ -31,14 +30,16 @@ interface OFTReceipt {
31
30
  }
32
31
 
33
32
  declare const OFTErrorCode: {
34
- readonly OFT_EComposeMsgNotAllowed: 1;
35
- readonly OFT_EComposeMsgRequired: 2;
36
- readonly OFT_EInvalidComposeQueue: 3;
37
- readonly OFT_EInvalidLocalDecimals: 4;
38
- readonly OFT_EPaused: 5;
39
- readonly OFT_EPauseUnchanged: 6;
40
- readonly OFT_ESlippageExceeded: 7;
41
- readonly OFT_EInsufficientBalance: 8;
33
+ readonly EComposeMsgNotAllowed: 1;
34
+ readonly EComposeMsgRequired: 2;
35
+ readonly EInsufficientBalance: 3;
36
+ readonly EInvalidAdminCap: 4;
37
+ readonly EInvalidComposeQueue: 5;
38
+ readonly EInvalidLocalDecimals: 6;
39
+ readonly EInvalidMigrationCap: 7;
40
+ readonly EInvalidSendContext: 8;
41
+ readonly ESlippageExceeded: 9;
42
+ readonly EWrongPackageVersion: 10;
42
43
  };
43
44
  /**
44
45
  * OFT (Omnichain Fungible Token) Class
@@ -50,7 +51,7 @@ declare const OFTErrorCode: {
50
51
  * @example
51
52
  * ```typescript
52
53
  * // Initialize OFT instance
53
- * const oft = new OFT(protocolSDK, corePackageId, packageId, oftObjectId, coinType, adminCapId);
54
+ * const oft = new OFT(protocolSDK, oftPackageId, oftObjectId, coinType, oappObjectId, adminCapId);
54
55
  *
55
56
  * // Send tokens cross-chain
56
57
  * const tx = new Transaction();
@@ -67,7 +68,7 @@ declare class OFT {
67
68
  #private;
68
69
  /** Sui client for blockchain interactions */
69
70
  readonly client: SuiClient;
70
- /** The package ID of the core OFT framework (shared OFT functionality) */
71
+ /** The package ID of the OFT */
71
72
  oftPackageId: string;
72
73
  /** LayerZero protocol object references (endpoint, messaging channels, etc.) */
73
74
  private readonly objects;
@@ -77,6 +78,8 @@ declare class OFT {
77
78
  private readonly adminCapId?;
78
79
  /** The Sui coin type this OFT represents (e.g., "0x123::mycoin::MYCOIN") */
79
80
  private readonly coinType;
81
+ /** The unique object ID of the associated OApp instance on Sui */
82
+ private oappObjectId;
80
83
  /** Reference to the LayerZero protocol SDK for cross-chain operations */
81
84
  private readonly protocolSDK;
82
85
  /**
@@ -89,36 +92,52 @@ declare class OFT {
89
92
  * @param adminCapId - Optional admin capability object ID for privileged operations (required for admin functions)
90
93
  */
91
94
  constructor(protocolSDK: SDK, oftPackageId: string, // the OFT package id
92
- oftObjectId: string, coinType: string, adminCapId?: string);
95
+ oftObjectId: string, coinType: string, oappObjectId: string, // the associated oapp object id
96
+ adminCapId?: string);
93
97
  /**
94
- * Register OFT as an OApp with LayerZero endpoint
98
+ * Updates the associated OApp object ID
99
+ * @param oappObjectId - The new OApp object ID
100
+ */
101
+ setOappObjectId(oappObjectId: string): void;
102
+ /**
103
+ * Initialize an OFT instance with a treasury capability
104
+ * Creates a new OFT that mints its own tokens
95
105
  * @param tx - The transaction to add the move call to
96
- * @param lzReceiveInfo - PTB Builder lzReceiveInfoMoveCall result, used for protocol SDK to dynamically build the PTB
97
- * for OFT's lzReceive operation
106
+ * @param ticket - The OFTCreationTicket object ID or TransactionArgument
107
+ * @param treasury - The TreasuryCap object ID or TransactionArgument for the coin type
108
+ * @param metadata - The CoinMetadata object ID or TransactionArgument for the coin type
109
+ * @param sharedDecimals - Number of decimals to use for cross-chain operations
110
+ * @returns TransactionResult array containing [AdminCap, MigrationCap] - MigrationCap must be transferred or stored
98
111
  */
99
- registerOAppMoveCall(tx: Transaction, lzReceiveInfo: Uint8Array | TransactionArgument): void;
112
+ initOftMoveCall(tx: Transaction, ticket: string | TransactionArgument, oapp: string | TransactionArgument, treasury: string | TransactionArgument, metadata: string | TransactionArgument, sharedDecimals: number | TransactionArgument): TransactionResult;
100
113
  /**
101
- * Set enforced options for OFT messaging to a destination
114
+ * Initialize an OFT adapter instance
115
+ * Creates an OFT adapter that wraps an existing coin type
102
116
  * @param tx - The transaction to add the move call to
103
- * @param eid - Endpoint ID
104
- * @param msgType - Message type (SEND or SEND_AND_CALL)
105
- * @param options - Enforced options as bytes
117
+ * @param ticket - The OFTCreationTicket object ID or TransactionArgument
118
+ * @param metadata - The CoinMetadata object ID or TransactionArgument for the coin type
119
+ * @param sharedDecimals - Number of decimals to use for cross-chain operations
120
+ * @returns TransactionResult array containing [AdminCap, MigrationCap] - MigrationCap must be transferred or stored
106
121
  */
107
- setEnforcedOptionsMoveCall(tx: Transaction, eid: number | TransactionArgument, msgType: number | TransactionArgument, options: Uint8Array | TransactionArgument): void;
122
+ initOftAdapterMoveCall(tx: Transaction, ticket: string | TransactionArgument, oapp: string | TransactionArgument, metadata: string | TransactionArgument, sharedDecimals: number | TransactionArgument): TransactionResult;
108
123
  /**
109
- * Set peer OFT on another chain
124
+ * Get LayerZero receive information for OFT registration
125
+ *
126
+ * This function prepares the necessary metadata for registering an OFT
127
+ * with the LayerZero endpoint, enabling it to receive cross-chain messages.
128
+ *
110
129
  * @param tx - The transaction to add the move call to
111
- * @param messagingChannel - The messaging channel object ID
112
- * @param eid - Peer endpoint ID
113
- * @param peer - Peer OFT address as bytes
130
+ * @param composerManager - The composer manager object ID for routing compose transfers
131
+ * @returns TransactionResult containing serialized execution metadata for endpoint registration
114
132
  */
115
- setPeerMoveCall(tx: Transaction, messagingChannel: string | TransactionArgument, eid: number | TransactionArgument, peer: Uint8Array | TransactionArgument): void;
133
+ lzReceiveInfoMoveCall(tx: Transaction, composerManager: string | TransactionArgument): TransactionResult;
116
134
  /**
117
- * Set delegate for OFT
135
+ * Register OFT as an OApp with LayerZero endpoint
118
136
  * @param tx - The transaction to add the move call to
119
- * @param newDelegate - The new delegate address
137
+ * @param lzReceiveInfo - PTB Builder lzReceiveInfoMoveCall result, used for protocol SDK to dynamically build the PTB
138
+ * for OFT's lzReceive operation
120
139
  */
121
- setDelegateMoveCall(tx: Transaction, newDelegate: string | TransactionArgument): void;
140
+ registerOAppMoveCall(tx: Transaction, lzReceiveInfo: Uint8Array | TransactionArgument): void;
122
141
  /**
123
142
  * Set pause state for OFT operations
124
143
  * @param tx - The transaction to add the move call to
@@ -131,12 +150,27 @@ declare class OFT {
131
150
  * @param feeDepositAddress - The new fee deposit address
132
151
  */
133
152
  setFeeDepositAddressMoveCall(tx: Transaction, feeDepositAddress: string | TransactionArgument): void;
153
+ setDefaultFeeBpsMoveCall(tx: Transaction, feeBps: bigint | number | string | TransactionArgument): void;
154
+ /**
155
+ * Set fee basis points for a specific destination chain
156
+ * @param tx - The transaction to add the move call to
157
+ * @param dstEid - Destination endpoint ID
158
+ * @param feeBps - Fee rate in basis points (0-10,000, where 10,000 = 100%)
159
+ */
160
+ setFeeBpsMoveCall(tx: Transaction, dstEid: number | TransactionArgument, feeBps: bigint | number | string | TransactionArgument): void;
161
+ /**
162
+ * Removes the fee rate for a specific destination chain
163
+ * @param tx - The transaction to add the move call to
164
+ * @param dstEid - Destination endpoint ID
165
+ */
166
+ unsetFeeBpsMoveCall(tx: Transaction, dstEid: number | TransactionArgument): void;
134
167
  /**
135
- * Set fee basis points for OFT transfers
168
+ * Migrate OFT instance to a new contract
136
169
  * @param tx - The transaction to add the move call to
137
- * @param feeBps - The fee in basis points
170
+ * @param migrationCap - Migration capability object ID or transaction argument
171
+ * @returns TransactionResult containing the migration ticket
138
172
  */
139
- setFeeBpsMoveCall(tx: Transaction, feeBps: bigint | number | string | TransactionArgument): void;
173
+ migrateMoveCall(tx: Transaction, migrationCap: string | TransactionArgument): TransactionResult;
140
174
  /**
141
175
  * Set rate limit for OFT transfers
142
176
  * @param tx - The transaction to add the move call to
@@ -176,6 +210,29 @@ declare class OFT {
176
210
  * @returns Promise<TransactionResult> - Transaction result containing send operation and receipt objects
177
211
  */
178
212
  sendMoveCall(tx: Transaction, sender: string, sendParam: SendParam | TransactionArgument, coinProvided: string | TransactionArgument, nativeFee: bigint | TransactionArgument, zroFee: bigint | TransactionArgument, refundAddress: string | TransactionArgument, validators?: IPTBValidator[], maxSimulationTimes?: number): Promise<void>;
213
+ /**
214
+ * Process inbound cross-chain token transfers
215
+ * @param tx - The transaction to add the move call to
216
+ * @param call - LayerZero receive call containing the verified cross-chain message
217
+ * @returns TransactionResult containing the processed transfer
218
+ */
219
+ lzReceiveMoveCall(tx: Transaction, call: string | TransactionArgument): TransactionResult;
220
+ /**
221
+ * Process inbound cross-chain token transfers with compose functionality
222
+ * @param tx - The transaction to add the move call to
223
+ * @param composeQueue - The composer's message queue for sequencing operations
224
+ * @param composerManager - Manager managing token deposits for composers
225
+ * @param call - LayerZero receive call containing the verified cross-chain message
226
+ * @returns TransactionResult containing the processed transfer
227
+ */
228
+ lzReceiveWithComposeMoveCall(tx: Transaction, composeQueue: string | TransactionArgument, composerManager: string | TransactionArgument, call: string | TransactionArgument): TransactionResult;
229
+ /**
230
+ * Confirms and extracts results from a quote operation
231
+ * @param tx - The transaction to add the move call to
232
+ * @param call - Completed Call object from quote_send() execution
233
+ * @returns TransactionResult containing the messaging fee
234
+ */
235
+ confirmQuoteSendMoveCall(tx: Transaction, call: string | TransactionArgument): TransactionResult;
179
236
  /**
180
237
  * Quote OFT sending operation with detailed fee breakdown
181
238
  * @param sendParam - Send parameters for the OFT operation
@@ -194,6 +251,28 @@ declare class OFT {
194
251
  * @returns Promise<MessagingFee> - The calculated messaging fees
195
252
  */
196
253
  quoteSend(sender: string, sendParam: SendParam | TransactionArgument, payInZro: boolean | TransactionArgument, validators?: IPTBValidator[], maxSimulationTimes?: number): Promise<MessagingFee>;
254
+ /**
255
+ * Get the upgrade version of this OFT instance
256
+ * @param tx - The transaction to add the move call to
257
+ * @returns Transaction result containing the upgrade version
258
+ */
259
+ upgradeVersionMoveCall(tx: Transaction): TransactionResult;
260
+ /**
261
+ * Get the upgrade version of this OFT instance
262
+ * @returns Promise<bigint> - The upgrade version
263
+ */
264
+ upgradeVersion(): Promise<bigint>;
265
+ /**
266
+ * Get the associated OApp object address
267
+ * @param tx - The transaction to add the move call to
268
+ * @returns Transaction result containing the OApp object address
269
+ */
270
+ oappObjectMoveCall(tx: Transaction): TransactionResult;
271
+ /**
272
+ * Get the associated OApp object address
273
+ * @returns Promise<string> - The OApp object address
274
+ */
275
+ oappObject(): Promise<string>;
197
276
  /**
198
277
  * Get OFT version information
199
278
  * @param tx - The transaction to add the move call to
@@ -208,8 +287,19 @@ declare class OFT {
208
287
  major: number;
209
288
  minor: number;
210
289
  }>;
211
- oftAddressMoveCall(tx: Transaction): TransactionResult;
212
- oftAddress(): Promise<string>;
290
+ oftCapIdMoveCall(tx: Transaction): TransactionResult;
291
+ oftCapId(): Promise<string>;
292
+ /**
293
+ * Get the migration capability address for this OFT
294
+ * @param tx - The transaction to add the move call to
295
+ * @returns Transaction result containing the migration capability address
296
+ */
297
+ migrationCapMoveCall(tx: Transaction): TransactionResult;
298
+ /**
299
+ * Get the migration capability address for this OFT
300
+ * @returns Promise<string> - The migration capability address
301
+ */
302
+ migrationCap(): Promise<string>;
213
303
  messagingChannel(): Promise<string>;
214
304
  /**
215
305
  * Get coin metadata address
@@ -223,16 +313,16 @@ declare class OFT {
223
313
  */
224
314
  coinMetadata(): Promise<string>;
225
315
  /**
226
- * Get OFT admin address
316
+ * Get OFT admin capability address
227
317
  * @param tx - The transaction to add the move call to
228
- * @returns Transaction result containing the admin address
318
+ * @returns Transaction result containing the admin capability address
229
319
  */
230
- adminMoveCall(tx: Transaction): TransactionResult;
320
+ adminCapMoveCall(tx: Transaction): TransactionResult;
231
321
  /**
232
- * Get OFT admin address
233
- * @returns Promise<string> - The admin address
322
+ * Get OFT admin capability address
323
+ * @returns Promise<string> - The admin capability address
234
324
  */
235
- admin(): Promise<string>;
325
+ adminCap(): Promise<string>;
236
326
  /**
237
327
  * Get shared decimals for cross-chain compatibility
238
328
  * @param tx - The transaction to add the move call to
@@ -244,6 +334,17 @@ declare class OFT {
244
334
  * @returns Promise<number> - The shared decimal precision
245
335
  */
246
336
  sharedDecimals(): Promise<number>;
337
+ /**
338
+ * Get the decimal conversion rate for this OFT
339
+ * @param tx - The transaction to add the move call to
340
+ * @returns Transaction result containing the decimal conversion rate
341
+ */
342
+ decimalConversionRateMoveCall(tx: Transaction): TransactionResult;
343
+ /**
344
+ * Get the decimal conversion rate for this OFT
345
+ * @returns Promise<bigint> - The decimal conversion rate multiplier
346
+ */
347
+ decimalConversionRate(): Promise<bigint>;
247
348
  /**
248
349
  * Check if OFT is paused
249
350
  * @param tx - The transaction to add the move call to
@@ -267,16 +368,55 @@ declare class OFT {
267
368
  */
268
369
  isAdapter(): Promise<boolean>;
269
370
  /**
270
- * Get fee basis points for OFT transfers
371
+ * Check if the OFT has a fee rate greater than 0 for the specified destination
271
372
  * @param tx - The transaction to add the move call to
373
+ * @param dstEid - Destination endpoint ID
374
+ * @returns Transaction result containing whether fee exists
375
+ */
376
+ hasOftFeeMoveCall(tx: Transaction, dstEid: number | TransactionArgument): TransactionResult;
377
+ /**
378
+ * Check if the OFT has a fee rate greater than 0 for the specified destination
379
+ * @param dstEid - Destination endpoint ID
380
+ * @returns Promise<boolean> - True if fee exists
381
+ */
382
+ hasOftFee(dstEid: number): Promise<boolean>;
383
+ /**
384
+ * Get the effective fee rate for a specific destination chain
385
+ * @param tx - The transaction to add the move call to
386
+ * @param dstEid - Destination endpoint ID
387
+ * @returns Transaction result containing the effective fee basis points
388
+ */
389
+ effectiveFeeBpsMoveCall(tx: Transaction, dstEid: number | TransactionArgument): TransactionResult;
390
+ /**
391
+ * Get the effective fee rate for a specific destination chain
392
+ * @param dstEid - Destination endpoint ID
393
+ * @returns Promise<bigint> - The effective fee in basis points
394
+ */
395
+ effectiveFeeBps(dstEid: number): Promise<bigint>;
396
+ /**
397
+ * Get the default fee rate
398
+ * @param tx - The transaction to add the move call to
399
+ * @returns Transaction result containing the default fee basis points
400
+ */
401
+ defaultFeeBpsMoveCall(tx: Transaction): TransactionResult;
402
+ /**
403
+ * Get the default fee rate
404
+ * @returns Promise<bigint> - The default fee in basis points
405
+ */
406
+ defaultFeeBps(): Promise<bigint>;
407
+ /**
408
+ * Get fee basis points for a specific destination chain
409
+ * @param tx - The transaction to add the move call to
410
+ * @param dstEid - Destination endpoint ID
272
411
  * @returns Transaction result containing the fee basis points
273
412
  */
274
- feeBpsMoveCall(tx: Transaction): TransactionResult;
413
+ feeBpsMoveCall(tx: Transaction, dstEid: number | TransactionArgument): TransactionResult;
275
414
  /**
276
- * Get fee basis points for OFT transfers
415
+ * Get fee basis points for a specific destination chain
416
+ * @param dstEid - Destination endpoint ID
277
417
  * @returns Promise<bigint> - The fee in basis points
278
418
  */
279
- feeBps(): Promise<bigint>;
419
+ feeBps(dstEid: number): Promise<bigint>;
280
420
  /**
281
421
  * Get fee deposit address for OFT
282
422
  * @param tx - The transaction to add the move call to
@@ -336,78 +476,20 @@ declare class OFT {
336
476
  * @returns Promise<bigint> - Remaining rate limit capacity
337
477
  */
338
478
  rateLimitCapacity(eid: number, inbound: boolean): Promise<bigint>;
339
- /**
340
- * Combine enforced options with extra options
341
- * @param tx - The transaction to add the move call to
342
- * @param eid - Endpoint ID
343
- * @param msgType - Message type
344
- * @param extraOptions - Extra options to combine with enforced options
345
- * @returns Transaction result containing the combined options
346
- */
347
- combineOptionsMoveCall(tx: Transaction, eid: number | TransactionArgument, msgType: number | TransactionArgument, extraOptions: Uint8Array | TransactionArgument): TransactionResult;
348
- /**
349
- * Combine enforced options with extra options
350
- * @param eid - Endpoint ID
351
- * @param msgType - Message type
352
- * @param extraOptions - Extra options to combine with enforced options
353
- * @returns Promise<Uint8Array> - The combined options as bytes
354
- */
355
- combineOptions(eid: number, msgType: number, extraOptions: Uint8Array): Promise<Uint8Array>;
356
- /**
357
- * Get enforced options for OFT messaging
358
- * @param tx - The transaction to add the move call to
359
- * @param eid - Endpoint ID
360
- * @param msgType - Message type
361
- * @returns Transaction result containing the enforced options
362
- */
363
- getEnforcedOptionsMoveCall(tx: Transaction, eid: number | TransactionArgument, msgType: number | TransactionArgument): TransactionResult;
364
- /**
365
- * Get enforced options for OFT messaging
366
- * @param eid - Endpoint ID
367
- * @param msgType - Message type
368
- * @returns Promise<Uint8Array> - The enforced options as bytes
369
- */
370
- getEnforcedOptions(eid: number, msgType: number): Promise<Uint8Array>;
371
- /**
372
- * Check if OFT has a peer on specific endpoint
373
- * @param tx - The transaction to add the move call to
374
- * @param eid - Endpoint ID
375
- * @returns Transaction result containing the peer existence status
376
- */
377
- hasPeerMoveCall(tx: Transaction, eid: number | TransactionArgument): TransactionResult;
378
- /**
379
- * Check if OFT has a peer on specific endpoint
380
- * @param eid - Endpoint ID
381
- * @returns Promise<boolean> - True if peer exists on the endpoint
382
- */
383
- hasPeer(eid: number): Promise<boolean>;
384
- /**
385
- * Get peer OFT address on specific endpoint
386
- * @param tx - The transaction to add the move call to
387
- * @param eid - Endpoint ID
388
- * @returns Transaction result containing the peer address
389
- */
390
- getPeerMoveCall(tx: Transaction, eid: number | TransactionArgument): TransactionResult;
391
- /**
392
- * Get peer OFT address on specific endpoint
393
- * @param eid - Endpoint ID
394
- * @returns Promise<Uint8Array> - The peer address as bytes32
395
- */
396
- getPeer(eid: number): Promise<Uint8Array>;
397
479
  txSenderMoveCall(tx: Transaction): TransactionResult;
398
480
  }
399
481
 
400
- declare const OFTComposerRegistryErrorCode: {
482
+ declare const OFTComposerManagerErrorCode: {
401
483
  readonly EComposeTransferNotFound: 1;
402
484
  readonly EDepositAddressNotFound: 2;
403
485
  };
404
486
  /**
405
- * OFT Composer Registry
487
+ * OFT Composer Manager
406
488
  *
407
489
  * This class manages the registry for OFT Composer operations, including
408
490
  * deposit addresses and compose transfer routing for cross-chain composition.
409
491
  */
410
- declare class OFTComposerRegistry {
492
+ declare class OFTComposerManager {
411
493
  #private;
412
494
  packageId: string;
413
495
  readonly client: SuiClient;
@@ -448,33 +530,6 @@ declare class OFTComposerRegistry {
448
530
  getComposeTransfer(from: string, guid: Uint8Array, composer: string): Promise<string>;
449
531
  }
450
532
 
451
- /**
452
- * OFT PTB (Programmable Transaction Block) Builder
453
- *
454
- * This class provides utility functions for building programmable transactions
455
- * for OFT operations, particularly for LayerZero receive operations.
456
- */
457
- declare class OFTPtbBuilder {
458
- packageId: string;
459
- objectId: string;
460
- readonly client: SuiClient;
461
- readonly coinType: string;
462
- readonly oftObjectId: string;
463
- readonly objects: ObjectOptions;
464
- constructor(protocolSDK: SDK, packageId: string, objectId: string, client: SuiClient, coinType: string, oftObjectId: string);
465
- /**
466
- * Get LayerZero receive information for OFT registration
467
- *
468
- * This function prepares the necessary metadata for registering an OFT
469
- * with the LayerZero endpoint, enabling it to receive cross-chain messages.
470
- *
471
- * @param tx - The transaction to add the move call to
472
- * @param composerRegistry - The composer registry object ID for routing compose transfers
473
- * @returns TransactionResult containing serialized execution metadata for endpoint registration
474
- */
475
- lzReceiveInfoMoveCall(tx: Transaction$1, composerRegistry: string | TransactionArgument$1): TransactionResult$1;
476
- }
477
-
478
533
  declare const OFTLimitBcs: _mysten_sui_dist_cjs_bcs.BcsType<{
479
534
  min_amount_ld: string;
480
535
  max_amount_ld: string;
@@ -502,4 +557,4 @@ declare function parseOFTLimit(data: Uint8Array): OFTLimit;
502
557
  declare function parseOFTFeeDetails(data: Uint8Array): OFTFeeDetail[];
503
558
  declare function parseOFTReceipt(data: Uint8Array): OFTReceipt;
504
559
 
505
- export { OFT, OFTComposerRegistry, OFTComposerRegistryErrorCode, OFTErrorCode, type OFTFeeDetail, OFTFeeDetailBcs, type OFTLimit, OFTLimitBcs, OFTMsgType, OFTPtbBuilder, type OFTReceipt, OFTReceiptBcs, type SendParam, parseOFTFeeDetails, parseOFTLimit, parseOFTReceipt };
560
+ export { OFT, OFTComposerManager, OFTComposerManagerErrorCode, OFTErrorCode, type OFTFeeDetail, OFTFeeDetailBcs, type OFTLimit, OFTLimitBcs, OFTMsgType, type OFTReceipt, OFTReceiptBcs, type SendParam, parseOFTFeeDetails, parseOFTLimit, parseOFTReceipt };