@layerzerolabs/lz-v2-stellar-sdk 0.2.13 → 0.2.18

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.
Files changed (107) hide show
  1. package/.turbo/turbo-build.log +1 -0
  2. package/.turbo/turbo-test.log +1009 -0
  3. package/dist/generated/bml.d.ts +104 -37
  4. package/dist/generated/bml.js +83 -42
  5. package/dist/generated/counter.d.ts +334 -175
  6. package/dist/generated/counter.js +109 -63
  7. package/dist/generated/dvn.d.ts +1985 -0
  8. package/dist/generated/dvn.js +326 -0
  9. package/dist/generated/dvn_fee_lib.d.ts +690 -0
  10. package/dist/generated/dvn_fee_lib.js +163 -0
  11. package/dist/generated/endpoint.d.ts +155 -46
  12. package/dist/generated/endpoint.js +93 -50
  13. package/dist/generated/executor.d.ts +1841 -0
  14. package/dist/generated/executor.js +312 -0
  15. package/dist/generated/executor_fee_lib.d.ts +1083 -0
  16. package/dist/generated/executor_fee_lib.js +255 -0
  17. package/dist/generated/executor_helper.d.ts +981 -0
  18. package/dist/generated/executor_helper.js +236 -0
  19. package/dist/generated/oft_std.d.ts +1722 -0
  20. package/dist/generated/oft_std.js +316 -0
  21. package/dist/generated/price_feed.d.ts +1077 -0
  22. package/dist/generated/price_feed.js +210 -0
  23. package/dist/generated/sml.d.ts +171 -56
  24. package/dist/generated/sml.js +111 -62
  25. package/dist/generated/treasury.d.ts +896 -0
  26. package/dist/generated/treasury.js +219 -0
  27. package/dist/generated/uln302.d.ts +175 -75
  28. package/dist/generated/uln302.js +126 -82
  29. package/dist/generated/upgrader.d.ts +70 -0
  30. package/dist/generated/upgrader.js +19 -0
  31. package/dist/index.d.ts +10 -0
  32. package/dist/index.js +14 -0
  33. package/dist/wasm/blocked-message-lib.d.ts +1 -0
  34. package/dist/wasm/blocked-message-lib.js +2 -0
  35. package/dist/wasm/counter.d.ts +1 -0
  36. package/dist/wasm/counter.js +2 -0
  37. package/dist/wasm/dvn-fee-lib.d.ts +1 -0
  38. package/dist/wasm/dvn-fee-lib.js +2 -0
  39. package/dist/wasm/dvn.d.ts +1 -0
  40. package/dist/wasm/dvn.js +2 -0
  41. package/dist/wasm/endpoint-v2.d.ts +1 -0
  42. package/dist/wasm/endpoint-v2.js +2 -0
  43. package/dist/wasm/executor-fee-lib.d.ts +1 -0
  44. package/dist/wasm/executor-fee-lib.js +2 -0
  45. package/dist/wasm/executor-helper.d.ts +1 -0
  46. package/dist/wasm/executor-helper.js +2 -0
  47. package/dist/wasm/executor.d.ts +1 -0
  48. package/dist/wasm/executor.js +2 -0
  49. package/dist/wasm/layerzero-views.d.ts +1 -0
  50. package/dist/wasm/layerzero-views.js +2 -0
  51. package/dist/wasm/oft-std.d.ts +1 -0
  52. package/dist/wasm/oft-std.js +2 -0
  53. package/dist/wasm/price-feed.d.ts +1 -0
  54. package/dist/wasm/price-feed.js +2 -0
  55. package/dist/wasm/simple-message-lib.d.ts +1 -0
  56. package/dist/wasm/simple-message-lib.js +2 -0
  57. package/dist/wasm/treasury.d.ts +1 -0
  58. package/dist/wasm/treasury.js +2 -0
  59. package/dist/wasm/uln302.d.ts +1 -0
  60. package/dist/wasm/uln302.js +2 -0
  61. package/dist/wasm/upgrader.d.ts +1 -0
  62. package/dist/wasm/upgrader.js +2 -0
  63. package/dist/wasm.d.ts +15 -0
  64. package/dist/wasm.js +15 -0
  65. package/package.json +12 -9
  66. package/src/generated/bml.ts +117 -66
  67. package/src/generated/counter.ts +338 -191
  68. package/src/generated/dvn.ts +2036 -0
  69. package/src/generated/dvn_fee_lib.ts +693 -0
  70. package/src/generated/endpoint.ts +177 -80
  71. package/src/generated/executor.ts +228 -127
  72. package/src/generated/executor_fee_lib.ts +1072 -0
  73. package/src/generated/executor_helper.ts +163 -57
  74. package/src/generated/oft_std.ts +800 -246
  75. package/src/generated/price_feed.ts +1108 -0
  76. package/src/generated/sml.ts +194 -91
  77. package/src/generated/treasury.ts +943 -0
  78. package/src/generated/uln302.ts +211 -113
  79. package/src/generated/upgrader.ts +102 -0
  80. package/src/index.ts +17 -0
  81. package/src/wasm/blocked-message-lib.ts +2 -0
  82. package/src/wasm/counter.ts +2 -0
  83. package/src/wasm/dvn-fee-lib.ts +2 -0
  84. package/src/wasm/dvn.ts +2 -0
  85. package/src/wasm/endpoint-v2.ts +2 -0
  86. package/src/wasm/executor-fee-lib.ts +2 -0
  87. package/src/wasm/executor-helper.ts +2 -0
  88. package/src/wasm/executor.ts +2 -0
  89. package/src/wasm/layerzero-views.ts +2 -0
  90. package/src/wasm/oft-std.ts +2 -0
  91. package/src/wasm/price-feed.ts +2 -0
  92. package/src/wasm/simple-message-lib.ts +2 -0
  93. package/src/wasm/treasury.ts +2 -0
  94. package/src/wasm/uln302.ts +2 -0
  95. package/src/wasm/upgrader.ts +2 -0
  96. package/src/wasm.ts +15 -0
  97. package/test/counter-sml.test.ts +376 -0
  98. package/test/counter-uln.test.ts +493 -0
  99. package/test/{oft.test.ts → oft-sml.test.ts} +187 -323
  100. package/test/suites/constants.ts +22 -2
  101. package/test/suites/dummyContractClient.ts +169 -0
  102. package/test/suites/globalSetup.ts +450 -0
  103. package/test/suites/localnet.ts +23 -6
  104. package/test/upgrader.test.ts +300 -0
  105. package/test/utils.ts +558 -85
  106. package/vitest.config.ts +21 -0
  107. package/test/index.test.ts +0 -376
@@ -4,6 +4,7 @@ import type { u32, u64, i128, Option } from '@stellar/stellar-sdk/contract';
4
4
  export * from '@stellar/stellar-sdk';
5
5
  export * as contract from '@stellar/stellar-sdk/contract';
6
6
  export * as rpc from '@stellar/stellar-sdk/rpc';
7
+ export type MigrationData = void;
7
8
  export declare const Uln302Error: {
8
9
  1: {
9
10
  message: string;
@@ -62,21 +63,6 @@ export declare const Uln302Error: {
62
63
  19: {
63
64
  message: string;
64
65
  };
65
- 20: {
66
- message: string;
67
- };
68
- 21: {
69
- message: string;
70
- };
71
- 22: {
72
- message: string;
73
- };
74
- 23: {
75
- message: string;
76
- };
77
- 24: {
78
- message: string;
79
- };
80
66
  };
81
67
  /**
82
68
  * Ultra Light Node configuration for message verification.
@@ -190,13 +176,13 @@ export type UlnStorage = {
190
176
  tag: "DefaultReceiveUlnConfigs";
191
177
  values: readonly [u32];
192
178
  } | {
193
- tag: "OAppSendUlnConfigs";
179
+ tag: "OAppExecutorConfigs";
194
180
  values: readonly [string, u32];
195
181
  } | {
196
- tag: "OAppReceiveUlnConfigs";
182
+ tag: "OAppSendUlnConfigs";
197
183
  values: readonly [string, u32];
198
184
  } | {
199
- tag: "OAppExecutorConfigs";
185
+ tag: "OAppReceiveUlnConfigs";
200
186
  values: readonly [string, u32];
201
187
  } | {
202
188
  tag: "Confirmations";
@@ -275,6 +261,9 @@ export declare const EndpointError: {
275
261
  24: {
276
262
  message: string;
277
263
  };
264
+ 25: {
265
+ message: string;
266
+ };
278
267
  };
279
268
  /**
280
269
  * Parameters for sending a cross-chain message.
@@ -487,43 +476,52 @@ export interface FeesAndPacket {
487
476
  */
488
477
  zro_fee_recipients: Array<FeeRecipient>;
489
478
  }
479
+ /**
480
+ * PacketCodecV1Error: 1100-1109
481
+ */
490
482
  export declare const PacketCodecV1Error: {
491
- 1001: {
483
+ 1100: {
492
484
  message: string;
493
485
  };
494
- 1002: {
486
+ 1101: {
495
487
  message: string;
496
488
  };
497
489
  };
490
+ /**
491
+ * WorkerOptionsError: 1110-1119
492
+ */
498
493
  export declare const WorkerOptionsError: {
499
- 1101: {
494
+ 1110: {
500
495
  message: string;
501
496
  };
502
- 1102: {
497
+ 1111: {
503
498
  message: string;
504
499
  };
505
- 1103: {
500
+ 1112: {
506
501
  message: string;
507
502
  };
508
- 1104: {
503
+ 1113: {
509
504
  message: string;
510
505
  };
511
- 1105: {
506
+ 1114: {
512
507
  message: string;
513
508
  };
514
- 1106: {
509
+ 1115: {
515
510
  message: string;
516
511
  };
517
- 1107: {
512
+ 1116: {
518
513
  message: string;
519
514
  };
520
- 1108: {
515
+ 1117: {
521
516
  message: string;
522
517
  };
523
- 1109: {
518
+ 1118: {
524
519
  message: string;
525
520
  };
526
521
  };
522
+ /**
523
+ * BufferReaderError: 1000-1009
524
+ */
527
525
  export declare const BufferReaderError: {
528
526
  1000: {
529
527
  message: string;
@@ -532,41 +530,97 @@ export declare const BufferReaderError: {
532
530
  message: string;
533
531
  };
534
532
  };
533
+ /**
534
+ * BufferWriterError: 1010-1019
535
+ */
535
536
  export declare const BufferWriterError: {
536
- 1100: {
537
+ 1010: {
537
538
  message: string;
538
539
  };
539
540
  };
540
- export declare const TtlError: {
541
- 1200: {
541
+ /**
542
+ * TtlConfigurableError: 1020-1029
543
+ */
544
+ export declare const TtlConfigurableError: {
545
+ 1020: {
542
546
  message: string;
543
547
  };
544
- 1201: {
548
+ 1021: {
545
549
  message: string;
546
550
  };
547
- 1202: {
551
+ 1022: {
548
552
  message: string;
549
553
  };
550
554
  };
555
+ /**
556
+ * OwnableError: 1030-1039
557
+ */
551
558
  export declare const OwnableError: {
552
- 1300: {
559
+ 1030: {
553
560
  message: string;
554
561
  };
555
- 1301: {
562
+ 1031: {
556
563
  message: string;
557
564
  };
558
565
  };
566
+ /**
567
+ * BytesExtError: 1040-1049
568
+ */
559
569
  export declare const BytesExtError: {
560
- 1400: {
570
+ 1040: {
571
+ message: string;
572
+ };
573
+ };
574
+ /**
575
+ * UpgradeableError: 1050-1059
576
+ */
577
+ export declare const UpgradeableError: {
578
+ 1050: {
579
+ message: string;
580
+ };
581
+ };
582
+ /**
583
+ * MultisigError: 1060-1069
584
+ */
585
+ export declare const MultisigError: {
586
+ 1060: {
587
+ message: string;
588
+ };
589
+ 1061: {
590
+ message: string;
591
+ };
592
+ 1062: {
593
+ message: string;
594
+ };
595
+ 1063: {
596
+ message: string;
597
+ };
598
+ 1064: {
599
+ message: string;
600
+ };
601
+ 1065: {
602
+ message: string;
603
+ };
604
+ 1066: {
605
+ message: string;
606
+ };
607
+ 1067: {
561
608
  message: string;
562
609
  };
563
610
  };
564
- export type DefaultOwnableStorage = {
611
+ export type MultisigStorage = {
612
+ tag: "Signers";
613
+ values: void;
614
+ } | {
615
+ tag: "Threshold";
616
+ values: void;
617
+ };
618
+ export type OwnableStorage = {
565
619
  tag: "Owner";
566
620
  values: void;
567
621
  };
568
622
  /**
569
- * A pair of TTL values: threshold (when to trigger extension) and extend_to (target TTL).
623
+ * TTL configuration: threshold (when to extend) and extend_to (target TTL).
570
624
  */
571
625
  export interface TtlConfig {
572
626
  /**
@@ -588,6 +642,10 @@ export type TtlConfigStorage = {
588
642
  tag: "Persistent";
589
643
  values: void;
590
644
  };
645
+ export type UpgradeableStorage = {
646
+ tag: "Migrating";
647
+ values: void;
648
+ };
591
649
  export interface Client {
592
650
  /**
593
651
  * Construct and simulate a set_default_executor_configs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
@@ -1044,7 +1102,7 @@ export interface Client {
1044
1102
  }) => Promise<AssembledTransaction<Buffer>>;
1045
1103
  /**
1046
1104
  * Construct and simulate a is_supported_eid transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1047
- * Returns true if the message library has default send and receive ULN configurations for the endpoint ID.
1105
+ * Returns true if the message library has full default configurations for the endpoint ID.
1048
1106
  */
1049
1107
  is_supported_eid: ({ eid }: {
1050
1108
  eid: u32;
@@ -1117,9 +1175,9 @@ export interface Client {
1117
1175
  simulate?: boolean;
1118
1176
  }) => Promise<AssembledTransaction<string>>;
1119
1177
  /**
1120
- * Construct and simulate a owner transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1178
+ * Construct and simulate a authorizer transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1121
1179
  */
1122
- owner: (txnOptions?: {
1180
+ authorizer: (txnOptions?: {
1123
1181
  /**
1124
1182
  * The fee to pay for the transaction. Default: BASE_FEE
1125
1183
  */
@@ -1132,12 +1190,25 @@ export interface Client {
1132
1190
  * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
1133
1191
  */
1134
1192
  simulate?: boolean;
1135
- }) => Promise<AssembledTransaction<Option<string>>>;
1193
+ }) => Promise<AssembledTransaction<string>>;
1136
1194
  /**
1137
- * Construct and simulate a transfer_ownership transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1195
+ * Construct and simulate a set_ttl_configs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1196
+ * Sets TTL configs for instance and persistent storage.
1197
+ *
1198
+ * - `None` values remove the corresponding config (disables auto-extension for that type)
1199
+ * - Validates that `threshold <= extend_to <= MAX_TTL`
1200
+ *
1201
+ * # Arguments
1202
+ * - `instance` - TTL config for instance storage
1203
+ * - `persistent` - TTL config for persistent storage
1204
+ *
1205
+ * # Panics
1206
+ * - `TtlConfigFrozen` if configs are frozen
1207
+ * - `InvalidTtlConfig` if validation fails
1138
1208
  */
1139
- transfer_ownership: ({ new_owner }: {
1140
- new_owner: string;
1209
+ set_ttl_configs: ({ instance, persistent }: {
1210
+ instance: Option<TtlConfig>;
1211
+ persistent: Option<TtlConfig>;
1141
1212
  }, txnOptions?: {
1142
1213
  /**
1143
1214
  * The fee to pay for the transaction. Default: BASE_FEE
@@ -1153,9 +1224,10 @@ export interface Client {
1153
1224
  simulate?: boolean;
1154
1225
  }) => Promise<AssembledTransaction<null>>;
1155
1226
  /**
1156
- * Construct and simulate a renounce_ownership transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1227
+ * Construct and simulate a ttl_configs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1228
+ * Returns the current TTL configs as (instance_config, persistent_config).
1157
1229
  */
1158
- renounce_ownership: (txnOptions?: {
1230
+ ttl_configs: (txnOptions?: {
1159
1231
  /**
1160
1232
  * The fee to pay for the transaction. Default: BASE_FEE
1161
1233
  */
@@ -1168,14 +1240,18 @@ export interface Client {
1168
1240
  * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
1169
1241
  */
1170
1242
  simulate?: boolean;
1171
- }) => Promise<AssembledTransaction<null>>;
1243
+ }) => Promise<AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>>;
1172
1244
  /**
1173
- * Construct and simulate a set_ttl_configs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1245
+ * Construct and simulate a freeze_ttl_configs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1246
+ * Permanently freezes TTL configs, preventing any future modifications.
1247
+ *
1248
+ * This is irreversible and provides immutability guarantees to users.
1249
+ * Emits `TtlConfigsFrozen` event.
1250
+ *
1251
+ * # Panics
1252
+ * - `TtlConfigAlreadyFrozen` if already frozen
1174
1253
  */
1175
- set_ttl_configs: ({ instance, persistent }: {
1176
- instance: Option<TtlConfig>;
1177
- persistent: Option<TtlConfig>;
1178
- }, txnOptions?: {
1254
+ freeze_ttl_configs: (txnOptions?: {
1179
1255
  /**
1180
1256
  * The fee to pay for the transaction. Default: BASE_FEE
1181
1257
  */
@@ -1190,9 +1266,10 @@ export interface Client {
1190
1266
  simulate?: boolean;
1191
1267
  }) => Promise<AssembledTransaction<null>>;
1192
1268
  /**
1193
- * Construct and simulate a ttl_configs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1269
+ * Construct and simulate a is_ttl_configs_frozen transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1270
+ * Returns whether TTL configs are frozen.
1194
1271
  */
1195
- ttl_configs: (txnOptions?: {
1272
+ is_ttl_configs_frozen: (txnOptions?: {
1196
1273
  /**
1197
1274
  * The fee to pay for the transaction. Default: BASE_FEE
1198
1275
  */
@@ -1205,11 +1282,20 @@ export interface Client {
1205
1282
  * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
1206
1283
  */
1207
1284
  simulate?: boolean;
1208
- }) => Promise<AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>>;
1285
+ }) => Promise<AssembledTransaction<boolean>>;
1209
1286
  /**
1210
- * Construct and simulate a freeze_ttl_configs transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1287
+ * Construct and simulate a extend_instance_ttl transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1288
+ * Extends the instance TTL.
1289
+ *
1290
+ * # Arguments
1291
+ *
1292
+ * * `threshold` - The threshold to extend the TTL (if current TTL is below this, extend).
1293
+ * * `extend_to` - The TTL to extend to.
1211
1294
  */
1212
- freeze_ttl_configs: (txnOptions?: {
1295
+ extend_instance_ttl: ({ threshold, extend_to }: {
1296
+ threshold: u32;
1297
+ extend_to: u32;
1298
+ }, txnOptions?: {
1213
1299
  /**
1214
1300
  * The fee to pay for the transaction. Default: BASE_FEE
1215
1301
  */
@@ -1224,9 +1310,10 @@ export interface Client {
1224
1310
  simulate?: boolean;
1225
1311
  }) => Promise<AssembledTransaction<null>>;
1226
1312
  /**
1227
- * Construct and simulate a is_ttl_configs_frozen transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1313
+ * Construct and simulate a owner transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1314
+ * Returns the current owner address, or None if no owner is set.
1228
1315
  */
1229
- is_ttl_configs_frozen: (txnOptions?: {
1316
+ owner: (txnOptions?: {
1230
1317
  /**
1231
1318
  * The fee to pay for the transaction. Default: BASE_FEE
1232
1319
  */
@@ -1239,19 +1326,13 @@ export interface Client {
1239
1326
  * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
1240
1327
  */
1241
1328
  simulate?: boolean;
1242
- }) => Promise<AssembledTransaction<boolean>>;
1329
+ }) => Promise<AssembledTransaction<Option<string>>>;
1243
1330
  /**
1244
- * Construct and simulate a extend_instance_ttl transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1245
- * Extends the instance TTL.
1246
- *
1247
- * # Arguments
1248
- *
1249
- * * `threshold` - The threshold to extend the TTL.
1250
- * * `extend_to` - The TTL to extend to.
1331
+ * Construct and simulate a transfer_ownership transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1332
+ * Transfers ownership to a new address. Requires current owner authorization.
1251
1333
  */
1252
- extend_instance_ttl: ({ threshold, extend_to }: {
1253
- threshold: u32;
1254
- extend_to: u32;
1334
+ transfer_ownership: ({ new_owner }: {
1335
+ new_owner: string;
1255
1336
  }, txnOptions?: {
1256
1337
  /**
1257
1338
  * The fee to pay for the transaction. Default: BASE_FEE
@@ -1266,6 +1347,24 @@ export interface Client {
1266
1347
  */
1267
1348
  simulate?: boolean;
1268
1349
  }) => Promise<AssembledTransaction<null>>;
1350
+ /**
1351
+ * Construct and simulate a renounce_ownership transaction. Returns an `AssembledTransaction` object which will have a `result` field containing the result of the simulation. If this transaction changes contract state, you will need to call `signAndSend()` on the returned object.
1352
+ * Permanently renounces ownership. Requires current owner authorization.
1353
+ */
1354
+ renounce_ownership: (txnOptions?: {
1355
+ /**
1356
+ * The fee to pay for the transaction. Default: BASE_FEE
1357
+ */
1358
+ fee?: number;
1359
+ /**
1360
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
1361
+ */
1362
+ timeoutInSeconds?: number;
1363
+ /**
1364
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
1365
+ */
1366
+ simulate?: boolean;
1367
+ }) => Promise<AssembledTransaction<null>>;
1269
1368
  }
1270
1369
  export declare class Client extends ContractClient {
1271
1370
  readonly options: ContractClientOptions;
@@ -1312,13 +1411,14 @@ export declare class Client extends ContractClient {
1312
1411
  version: (json: string) => AssembledTransaction<MessageLibVersion>;
1313
1412
  message_lib_type: (json: string) => AssembledTransaction<MessageLibType>;
1314
1413
  endpoint: (json: string) => AssembledTransaction<string>;
1315
- owner: (json: string) => AssembledTransaction<Option<string>>;
1316
- transfer_ownership: (json: string) => AssembledTransaction<null>;
1317
- renounce_ownership: (json: string) => AssembledTransaction<null>;
1414
+ authorizer: (json: string) => AssembledTransaction<string>;
1318
1415
  set_ttl_configs: (json: string) => AssembledTransaction<null>;
1319
1416
  ttl_configs: (json: string) => AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>;
1320
1417
  freeze_ttl_configs: (json: string) => AssembledTransaction<null>;
1321
1418
  is_ttl_configs_frozen: (json: string) => AssembledTransaction<boolean>;
1322
1419
  extend_instance_ttl: (json: string) => AssembledTransaction<null>;
1420
+ owner: (json: string) => AssembledTransaction<Option<string>>;
1421
+ transfer_ownership: (json: string) => AssembledTransaction<null>;
1422
+ renounce_ownership: (json: string) => AssembledTransaction<null>;
1323
1423
  };
1324
1424
  }