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

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 (47) hide show
  1. package/dist/generated/bml.d.ts +40 -30
  2. package/dist/generated/bml.js +16 -11
  3. package/dist/generated/counter.d.ts +168 -134
  4. package/dist/generated/counter.js +26 -21
  5. package/dist/generated/dvn.d.ts +1932 -0
  6. package/dist/generated/dvn.js +288 -0
  7. package/dist/generated/dvn_fee_lib.d.ts +615 -0
  8. package/dist/generated/dvn_fee_lib.js +123 -0
  9. package/dist/generated/endpoint.d.ts +75 -41
  10. package/dist/generated/endpoint.js +22 -17
  11. package/dist/generated/executor.d.ts +1809 -0
  12. package/dist/generated/executor.js +269 -0
  13. package/dist/generated/executor_fee_lib.d.ts +999 -0
  14. package/dist/generated/executor_fee_lib.js +208 -0
  15. package/dist/generated/executor_helper.d.ts +869 -0
  16. package/dist/generated/executor_helper.js +187 -0
  17. package/dist/generated/oft_std.d.ts +1544 -0
  18. package/dist/generated/oft_std.js +271 -0
  19. package/dist/generated/price_feed.d.ts +1002 -0
  20. package/dist/generated/price_feed.js +170 -0
  21. package/dist/generated/sml.d.ts +75 -41
  22. package/dist/generated/sml.js +22 -17
  23. package/dist/generated/uln302.d.ts +79 -60
  24. package/dist/generated/uln302.js +37 -37
  25. package/dist/generated/upgrader.d.ts +70 -0
  26. package/dist/generated/upgrader.js +19 -0
  27. package/dist/index.d.ts +8 -0
  28. package/dist/index.js +11 -0
  29. package/package.json +8 -7
  30. package/src/generated/bml.ts +45 -35
  31. package/src/generated/counter.ts +186 -152
  32. package/src/generated/dvn.ts +1979 -0
  33. package/src/generated/dvn_fee_lib.ts +628 -0
  34. package/src/generated/endpoint.ts +81 -47
  35. package/src/generated/executor.ts +112 -34
  36. package/src/generated/executor_fee_lib.ts +1000 -0
  37. package/src/generated/executor_helper.ts +18 -8
  38. package/src/generated/oft_std.ts +500 -110
  39. package/src/generated/price_feed.ts +1043 -0
  40. package/src/generated/sml.ts +81 -47
  41. package/src/generated/uln302.ts +98 -69
  42. package/src/generated/upgrader.ts +102 -0
  43. package/src/index.ts +13 -0
  44. package/test/index.test.ts +0 -1
  45. package/test/oft.test.ts +12 -23
  46. package/test/suites/testUpgradeable.ts +169 -0
  47. package/test/upgrader.test.ts +309 -0
@@ -0,0 +1,1043 @@
1
+ import { Buffer } from "buffer";
2
+ import { Address } from '@stellar/stellar-sdk';
3
+ import {
4
+ AssembledTransaction,
5
+ Client as ContractClient,
6
+ ClientOptions as ContractClientOptions,
7
+ MethodOptions,
8
+ Result,
9
+ Spec as ContractSpec,
10
+ } from '@stellar/stellar-sdk/contract';
11
+ import type {
12
+ u32,
13
+ i32,
14
+ u64,
15
+ i64,
16
+ u128,
17
+ i128,
18
+ u256,
19
+ i256,
20
+ Option,
21
+ Typepoint,
22
+ Duration,
23
+ } from '@stellar/stellar-sdk/contract';
24
+ export * from '@stellar/stellar-sdk'
25
+ export * as contract from '@stellar/stellar-sdk/contract'
26
+ export * as rpc from '@stellar/stellar-sdk/rpc'
27
+
28
+ export type MigrationData = void;
29
+
30
+
31
+ export type PriceFeedStorage = {tag: "PriceRatioDenominator", values: void} | {tag: "PriceUpdater", values: readonly [string]} | {tag: "DefaultModelPrice", values: readonly [u32]} | {tag: "ArbitrumPriceExt", values: void} | {tag: "NativePriceUSD", values: void} | {tag: "ArbitrumCompressionPercent", values: void} | {tag: "EidToModelType", values: readonly [u32]};
32
+
33
+ export const PriceFeedError = {
34
+ 1: {message:"InvalidDenominator"},
35
+ 2: {message:"NoPrice"},
36
+ 3: {message:"NotAnOpStack"},
37
+ 4: {message:"OnlyPriceUpdater"},
38
+ 5: {message:"Overflow"}
39
+ }
40
+
41
+
42
+
43
+
44
+
45
+ /**
46
+ * Arbitrum-specific price extension
47
+ */
48
+ export interface ArbitrumPriceExt {
49
+ /**
50
+ * Gas cost per byte of L1 calldata (for Arbitrum's L1 data posting)
51
+ */
52
+ gas_per_l1_calldata_byte: u32;
53
+ /**
54
+ * Gas overhead per L2 transaction
55
+ */
56
+ gas_per_l2_tx: u64;
57
+ }
58
+
59
+
60
+ /**
61
+ * Parameter for updating a single price
62
+ */
63
+ export interface UpdatePrice {
64
+ /**
65
+ * Destination endpoint ID
66
+ */
67
+ eid: u32;
68
+ /**
69
+ * Price information for the destination
70
+ */
71
+ price: Price;
72
+ }
73
+
74
+
75
+ /**
76
+ * Parameter for updating Arbitrum price with extension
77
+ */
78
+ export interface UpdatePriceExt {
79
+ /**
80
+ * Destination endpoint ID (should be an Arbitrum endpoint)
81
+ */
82
+ eid: u32;
83
+ /**
84
+ * Arbitrum-specific pricing extension
85
+ */
86
+ extend: ArbitrumPriceExt;
87
+ /**
88
+ * Price information for the destination
89
+ */
90
+ price: Price;
91
+ }
92
+
93
+ /**
94
+ * Fee model type for different chain architectures
95
+ */
96
+ export enum ModelType {
97
+ Default = 0,
98
+ ArbStack = 1,
99
+ OpStack = 2,
100
+ }
101
+
102
+
103
+ /**
104
+ * Parameter for setting EID to model type mapping
105
+ */
106
+ export interface SetEidToModelTypeParam {
107
+ /**
108
+ * Destination endpoint ID
109
+ */
110
+ dst_eid: u32;
111
+ /**
112
+ * Fee model type for this destination
113
+ */
114
+ model_type: ModelType;
115
+ }
116
+
117
+ export const BufferReaderError = {
118
+ 1000: {message:"InvalidLength"},
119
+ 1001: {message:"InvalidAddressPayload"}
120
+ }
121
+
122
+ export const BufferWriterError = {
123
+ 1100: {message:"InvalidAddressPayload"}
124
+ }
125
+
126
+ export const TtlConfigurableError = {
127
+ 1200: {message:"InvalidTtlConfig"},
128
+ 1201: {message:"TtlConfigFrozen"},
129
+ 1202: {message:"TtlConfigAlreadyFrozen"}
130
+ }
131
+
132
+ export const OwnableError = {
133
+ 1300: {message:"OwnerAlreadySet"},
134
+ 1301: {message:"OwnerNotSet"}
135
+ }
136
+
137
+ export const BytesExtError = {
138
+ 1400: {message:"LengthMismatch"}
139
+ }
140
+
141
+ export const UpgradeableError = {
142
+ 1500: {message:"MigrationNotAllowed"}
143
+ }
144
+
145
+
146
+
147
+ export type OwnableStorage = {tag: "Owner", values: void};
148
+
149
+
150
+ /**
151
+ * TTL configuration: threshold (when to extend) and extend_to (target TTL).
152
+ */
153
+ export interface TtlConfig {
154
+ /**
155
+ * Target TTL after extension (in ledgers).
156
+ */
157
+ extend_to: u32;
158
+ /**
159
+ * TTL threshold that triggers extension (in ledgers).
160
+ */
161
+ threshold: u32;
162
+ }
163
+
164
+
165
+
166
+ export type TtlConfigStorage = {tag: "Frozen", values: void} | {tag: "Instance", values: void} | {tag: "Persistent", values: void};
167
+
168
+ export type UpgradeableStorage = {tag: "Migrating", values: void};
169
+
170
+ export const WorkerError = {
171
+ 1200: {message:"AdminAlreadyExists"},
172
+ 1201: {message:"AdminNotFound"},
173
+ 1202: {message:"AlreadyOnAllowlist"},
174
+ 1203: {message:"AlreadyOnDenylist"},
175
+ 1204: {message:"AttemptingToRemoveOnlyAdmin"},
176
+ 1205: {message:"DepositAddressNotSet"},
177
+ 1206: {message:"MessageLibAlreadySupported"},
178
+ 1207: {message:"MessageLibNotSupported"},
179
+ 1208: {message:"NoAdminsProvided"},
180
+ 1209: {message:"NotAllowed"},
181
+ 1210: {message:"NotOnAllowlist"},
182
+ 1211: {message:"NotOnDenylist"},
183
+ 1212: {message:"PauseStatusUnchanged"},
184
+ 1213: {message:"PriceFeedNotSet"},
185
+ 1214: {message:"ReInitialize"},
186
+ 1215: {message:"Unauthorized"},
187
+ 1216: {message:"UnsupportedMessageLib"},
188
+ 1217: {message:"WorkerFeeLibNotSet"},
189
+ 1218: {message:"WorkerIsPaused"}
190
+ }
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+ /**
205
+ * Parameters for DVN fee calculation.
206
+ *
207
+ * Contains all inputs needed by the fee library to calculate verification fees
208
+ * for cross-chain messages. Includes message parameters, common configuration,
209
+ * and destination-specific settings.
210
+ */
211
+ export interface DvnFeeParams {
212
+ /**
213
+ * Number of block confirmations required.
214
+ */
215
+ confirmations: u64;
216
+ /**
217
+ * Default fee multiplier in basis points (used if no dst-specific multiplier).
218
+ */
219
+ default_multiplier_bps: u32;
220
+ /**
221
+ * Destination endpoint ID (chain identifier).
222
+ */
223
+ dst_eid: u32;
224
+ /**
225
+ * Minimum fee margin in USD (scaled).
226
+ */
227
+ floor_margin_usd: u128;
228
+ /**
229
+ * ============================================================================================
230
+ * Destination-Specific Configuration
231
+ * ============================================================================================
232
+ * Gas estimate for verification on destination chain.
233
+ */
234
+ gas: u128;
235
+ /**
236
+ * Destination-specific fee multiplier in basis points (0 = use default).
237
+ */
238
+ multiplier_bps: u32;
239
+ /**
240
+ * DVN options
241
+ */
242
+ options: Buffer;
243
+ /**
244
+ * ============================================================================================
245
+ * Common Configuration
246
+ * ============================================================================================
247
+ * Price feed contract address for gas price and exchange rate data.
248
+ */
249
+ price_feed: string;
250
+ /**
251
+ * Number of required signatures (quorum).
252
+ */
253
+ quorum: u32;
254
+ /**
255
+ * ============================================================================================
256
+ * Message Parameters
257
+ * ============================================================================================
258
+ * The OApp sender address.
259
+ */
260
+ sender: string;
261
+ }
262
+
263
+
264
+ /**
265
+ * Parameters for executor fee calculation.
266
+ *
267
+ * Contains all inputs needed by the fee library to calculate execution fees
268
+ * for cross-chain messages. Includes message parameters, common configuration,
269
+ * and destination-specific settings.
270
+ */
271
+ export interface FeeParams {
272
+ /**
273
+ * Size of the message calldata in bytes.
274
+ */
275
+ calldata_size: u32;
276
+ /**
277
+ * Default fee multiplier in basis points (used if no dst-specific multiplier).
278
+ */
279
+ default_multiplier_bps: u32;
280
+ /**
281
+ * Destination endpoint ID (chain identifier).
282
+ */
283
+ dst_eid: u32;
284
+ /**
285
+ * Minimum fee margin in USD (scaled).
286
+ */
287
+ floor_margin_usd: u128;
288
+ /**
289
+ * Base gas for each lzCompose call on destination chain.
290
+ */
291
+ lz_compose_base_gas: u64;
292
+ /**
293
+ * ============================================================================================
294
+ * Destination-Specific Configuration
295
+ * ============================================================================================
296
+ * Base gas for lzReceive execution on destination chain.
297
+ */
298
+ lz_receive_base_gas: u64;
299
+ /**
300
+ * Destination-specific fee multiplier in basis points (0 = use default).
301
+ */
302
+ multiplier_bps: u32;
303
+ /**
304
+ * Maximum native token value that can be sent.
305
+ */
306
+ native_cap: u128;
307
+ /**
308
+ * Encoded executor options (lzReceive gas, lzCompose, nativeDrop, etc.).
309
+ */
310
+ options: Buffer;
311
+ /**
312
+ * ============================================================================================
313
+ * Common Configuration
314
+ * ============================================================================================
315
+ * Price feed contract address for gas price and exchange rate data.
316
+ */
317
+ price_feed: string;
318
+ /**
319
+ * ============================================================================================
320
+ * Message Parameters
321
+ * ============================================================================================
322
+ * The OApp sender address.
323
+ */
324
+ sender: string;
325
+ }
326
+
327
+
328
+ /**
329
+ * Gas price information for a destination endpoint.
330
+ *
331
+ * Contains the exchange rate and gas costs needed for cross-chain fee calculations.
332
+ */
333
+ export interface Price {
334
+ /**
335
+ * Gas cost per byte of calldata on the destination chain.
336
+ */
337
+ gas_per_byte: u32;
338
+ /**
339
+ * Gas price in the smallest unit (wei for EVM, stroops for Stellar).
340
+ */
341
+ gas_price_in_unit: u64;
342
+ /**
343
+ * Price ratio = (remote native token price / local native token price) * PRICE_RATIO_DENOMINATOR.
344
+ * Used to convert destination chain gas costs to source chain native token.
345
+ */
346
+ price_ratio: u128;
347
+ }
348
+
349
+
350
+ /**
351
+ * Fee estimation result with detailed breakdown.
352
+ *
353
+ * Contains the calculated fee and all intermediate values used in the calculation.
354
+ */
355
+ export interface FeeEstimate {
356
+ /**
357
+ * Source chain native token price in USD (scaled).
358
+ */
359
+ native_price_usd: u128;
360
+ /**
361
+ * Price ratio used for the calculation.
362
+ */
363
+ price_ratio: u128;
364
+ /**
365
+ * Denominator for the price ratio (typically 10^20).
366
+ */
367
+ price_ratio_denominator: u128;
368
+ /**
369
+ * Total gas fee in source chain native token units.
370
+ */
371
+ total_gas_fee: i128;
372
+ }
373
+
374
+ export type WorkerStorage = {tag: "Paused", values: void} | {tag: "DepositAddress", values: void} | {tag: "PriceFeed", values: void} | {tag: "WorkerFeeLib", values: void} | {tag: "DefaultMultiplierBps", values: void} | {tag: "SupportedOptionTypes", values: readonly [u32]} | {tag: "MessageLibs", values: void} | {tag: "Allowlist", values: readonly [string]} | {tag: "Denylist", values: readonly [string]} | {tag: "AllowlistSize", values: void} | {tag: "Admins", values: void};
375
+
376
+ export interface Client {
377
+ /**
378
+ * Construct and simulate a upgrade 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.
379
+ */
380
+ upgrade: ({new_wasm_hash}: {new_wasm_hash: Buffer}, txnOptions?: {
381
+ /**
382
+ * The fee to pay for the transaction. Default: BASE_FEE
383
+ */
384
+ fee?: number;
385
+
386
+ /**
387
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
388
+ */
389
+ timeoutInSeconds?: number;
390
+
391
+ /**
392
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
393
+ */
394
+ simulate?: boolean;
395
+ }) => Promise<AssembledTransaction<null>>
396
+
397
+ /**
398
+ * Construct and simulate a migrate 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.
399
+ */
400
+ migrate: ({migration_data}: {migration_data: MigrationData}, txnOptions?: {
401
+ /**
402
+ * The fee to pay for the transaction. Default: BASE_FEE
403
+ */
404
+ fee?: number;
405
+
406
+ /**
407
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
408
+ */
409
+ timeoutInSeconds?: number;
410
+
411
+ /**
412
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
413
+ */
414
+ simulate?: boolean;
415
+ }) => Promise<AssembledTransaction<null>>
416
+
417
+ /**
418
+ * 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.
419
+ * Extends the instance TTL.
420
+ *
421
+ * # Arguments
422
+ *
423
+ * * `threshold` - The threshold to extend the TTL.
424
+ * * `extend_to` - The TTL to extend to.
425
+ */
426
+ extend_instance_ttl: ({threshold, extend_to}: {threshold: u32, extend_to: u32}, txnOptions?: {
427
+ /**
428
+ * The fee to pay for the transaction. Default: BASE_FEE
429
+ */
430
+ fee?: number;
431
+
432
+ /**
433
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
434
+ */
435
+ timeoutInSeconds?: number;
436
+
437
+ /**
438
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
439
+ */
440
+ simulate?: boolean;
441
+ }) => Promise<AssembledTransaction<null>>
442
+
443
+ /**
444
+ * Construct and simulate a estimate_fee_by_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.
445
+ * Estimate fee with detailed breakdown by endpoint ID
446
+ * Corresponds to estimateFeeByEid in PriceFeed.sol
447
+ */
448
+ estimate_fee_by_eid: ({fee_lib, dst_eid, calldata_size, gas}: {fee_lib: string, dst_eid: u32, calldata_size: u32, gas: u128}, txnOptions?: {
449
+ /**
450
+ * The fee to pay for the transaction. Default: BASE_FEE
451
+ */
452
+ fee?: number;
453
+
454
+ /**
455
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
456
+ */
457
+ timeoutInSeconds?: number;
458
+
459
+ /**
460
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
461
+ */
462
+ simulate?: boolean;
463
+ }) => Promise<AssembledTransaction<FeeEstimate>>
464
+
465
+ /**
466
+ * Construct and simulate a native_token_price_usd 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.
467
+ * Get the native token price in USD
468
+ */
469
+ native_token_price_usd: (txnOptions?: {
470
+ /**
471
+ * The fee to pay for the transaction. Default: BASE_FEE
472
+ */
473
+ fee?: number;
474
+
475
+ /**
476
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
477
+ */
478
+ timeoutInSeconds?: number;
479
+
480
+ /**
481
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
482
+ */
483
+ simulate?: boolean;
484
+ }) => Promise<AssembledTransaction<u128>>
485
+
486
+ /**
487
+ * Construct and simulate a get_price 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.
488
+ * Get the price for a destination EID.
489
+ */
490
+ get_price: ({dst_eid}: {dst_eid: u32}, txnOptions?: {
491
+ /**
492
+ * The fee to pay for the transaction. Default: BASE_FEE
493
+ */
494
+ fee?: number;
495
+
496
+ /**
497
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
498
+ */
499
+ timeoutInSeconds?: number;
500
+
501
+ /**
502
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
503
+ */
504
+ simulate?: boolean;
505
+ }) => Promise<AssembledTransaction<Option<Price>>>
506
+
507
+ /**
508
+ * Construct and simulate a get_price_ratio_denominator 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.
509
+ * Get the price ratio denominator.
510
+ */
511
+ get_price_ratio_denominator: (txnOptions?: {
512
+ /**
513
+ * The fee to pay for the transaction. Default: BASE_FEE
514
+ */
515
+ fee?: number;
516
+
517
+ /**
518
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
519
+ */
520
+ timeoutInSeconds?: number;
521
+
522
+ /**
523
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
524
+ */
525
+ simulate?: boolean;
526
+ }) => Promise<AssembledTransaction<u128>>
527
+
528
+ /**
529
+ * Construct and simulate a set_price_updater 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.
530
+ * Set price updater status (owner only)
531
+ */
532
+ set_price_updater: ({updater, active}: {updater: string, active: boolean}, txnOptions?: {
533
+ /**
534
+ * The fee to pay for the transaction. Default: BASE_FEE
535
+ */
536
+ fee?: number;
537
+
538
+ /**
539
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
540
+ */
541
+ timeoutInSeconds?: number;
542
+
543
+ /**
544
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
545
+ */
546
+ simulate?: boolean;
547
+ }) => Promise<AssembledTransaction<null>>
548
+
549
+ /**
550
+ * Construct and simulate a set_price_ratio_denominator 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.
551
+ * Set the price ratio denominator (owner only)
552
+ */
553
+ set_price_ratio_denominator: ({denominator}: {denominator: u128}, txnOptions?: {
554
+ /**
555
+ * The fee to pay for the transaction. Default: BASE_FEE
556
+ */
557
+ fee?: number;
558
+
559
+ /**
560
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
561
+ */
562
+ timeoutInSeconds?: number;
563
+
564
+ /**
565
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
566
+ */
567
+ simulate?: boolean;
568
+ }) => Promise<AssembledTransaction<null>>
569
+
570
+ /**
571
+ * Construct and simulate a set_arbitrum_compression_percent 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.
572
+ * Set the Arbitrum compression percentage (owner only)
573
+ */
574
+ set_arbitrum_compression_percent: ({compression_percent}: {compression_percent: u128}, txnOptions?: {
575
+ /**
576
+ * The fee to pay for the transaction. Default: BASE_FEE
577
+ */
578
+ fee?: number;
579
+
580
+ /**
581
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
582
+ */
583
+ timeoutInSeconds?: number;
584
+
585
+ /**
586
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
587
+ */
588
+ simulate?: boolean;
589
+ }) => Promise<AssembledTransaction<null>>
590
+
591
+ /**
592
+ * Construct and simulate a set_eid_to_model_type 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.
593
+ * Set the fee model type for destination EIDs (owner only)
594
+ */
595
+ set_eid_to_model_type: ({params}: {params: Array<SetEidToModelTypeParam>}, txnOptions?: {
596
+ /**
597
+ * The fee to pay for the transaction. Default: BASE_FEE
598
+ */
599
+ fee?: number;
600
+
601
+ /**
602
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
603
+ */
604
+ timeoutInSeconds?: number;
605
+
606
+ /**
607
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
608
+ */
609
+ simulate?: boolean;
610
+ }) => Promise<AssembledTransaction<null>>
611
+
612
+ /**
613
+ * Construct and simulate a set_price 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.
614
+ * Set prices for multiple destinations (price updater or owner)
615
+ */
616
+ set_price: ({price_updater, prices}: {price_updater: string, prices: Array<UpdatePrice>}, txnOptions?: {
617
+ /**
618
+ * The fee to pay for the transaction. Default: BASE_FEE
619
+ */
620
+ fee?: number;
621
+
622
+ /**
623
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
624
+ */
625
+ timeoutInSeconds?: number;
626
+
627
+ /**
628
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
629
+ */
630
+ simulate?: boolean;
631
+ }) => Promise<AssembledTransaction<null>>
632
+
633
+ /**
634
+ * Construct and simulate a set_price_for_arbitrum 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.
635
+ * Set price for Arbitrum with extension (price updater or owner)
636
+ * Corresponds to setPriceForArbitrum in PriceFeed.sol
637
+ */
638
+ set_price_for_arbitrum: ({price_updater, update}: {price_updater: string, update: UpdatePriceExt}, txnOptions?: {
639
+ /**
640
+ * The fee to pay for the transaction. Default: BASE_FEE
641
+ */
642
+ fee?: number;
643
+
644
+ /**
645
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
646
+ */
647
+ timeoutInSeconds?: number;
648
+
649
+ /**
650
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
651
+ */
652
+ simulate?: boolean;
653
+ }) => Promise<AssembledTransaction<null>>
654
+
655
+ /**
656
+ * Construct and simulate a set_native_token_price_usd 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.
657
+ * Set the native token price in USD (price updater or owner).
658
+ *
659
+ * Kept as a standalone contract function (not part of the canonical `worker::ILayerZeroPriceFeed` interface).
660
+ */
661
+ set_native_token_price_usd: ({price_updater, native_token_price_usd}: {price_updater: string, native_token_price_usd: u128}, txnOptions?: {
662
+ /**
663
+ * The fee to pay for the transaction. Default: BASE_FEE
664
+ */
665
+ fee?: number;
666
+
667
+ /**
668
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
669
+ */
670
+ timeoutInSeconds?: number;
671
+
672
+ /**
673
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
674
+ */
675
+ simulate?: boolean;
676
+ }) => Promise<AssembledTransaction<null>>
677
+
678
+ /**
679
+ * Construct and simulate a is_price_updater 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.
680
+ * Check if an address is an active price updater
681
+ */
682
+ is_price_updater: ({updater}: {updater: string}, txnOptions?: {
683
+ /**
684
+ * The fee to pay for the transaction. Default: BASE_FEE
685
+ */
686
+ fee?: number;
687
+
688
+ /**
689
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
690
+ */
691
+ timeoutInSeconds?: number;
692
+
693
+ /**
694
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
695
+ */
696
+ simulate?: boolean;
697
+ }) => Promise<AssembledTransaction<boolean>>
698
+
699
+ /**
700
+ * Construct and simulate a arbitrum_compression_percent 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.
701
+ * Get the Arbitrum compression percent
702
+ */
703
+ arbitrum_compression_percent: (txnOptions?: {
704
+ /**
705
+ * The fee to pay for the transaction. Default: BASE_FEE
706
+ */
707
+ fee?: number;
708
+
709
+ /**
710
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
711
+ */
712
+ timeoutInSeconds?: number;
713
+
714
+ /**
715
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
716
+ */
717
+ simulate?: boolean;
718
+ }) => Promise<AssembledTransaction<u128>>
719
+
720
+ /**
721
+ * Construct and simulate a arbitrum_price_ext 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.
722
+ * Get the Arbitrum price extension
723
+ */
724
+ arbitrum_price_ext: (txnOptions?: {
725
+ /**
726
+ * The fee to pay for the transaction. Default: BASE_FEE
727
+ */
728
+ fee?: number;
729
+
730
+ /**
731
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
732
+ */
733
+ timeoutInSeconds?: number;
734
+
735
+ /**
736
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
737
+ */
738
+ simulate?: boolean;
739
+ }) => Promise<AssembledTransaction<ArbitrumPriceExt>>
740
+
741
+ /**
742
+ * Construct and simulate a eid_to_model_type 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.
743
+ * Get the model type for a destination EID
744
+ */
745
+ eid_to_model_type: ({dst_eid}: {dst_eid: u32}, txnOptions?: {
746
+ /**
747
+ * The fee to pay for the transaction. Default: BASE_FEE
748
+ */
749
+ fee?: number;
750
+
751
+ /**
752
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
753
+ */
754
+ timeoutInSeconds?: number;
755
+
756
+ /**
757
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
758
+ */
759
+ simulate?: boolean;
760
+ }) => Promise<AssembledTransaction<ModelType>>
761
+
762
+ /**
763
+ * 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.
764
+ * Returns the current owner address, or None if no owner is set.
765
+ */
766
+ owner: (txnOptions?: {
767
+ /**
768
+ * The fee to pay for the transaction. Default: BASE_FEE
769
+ */
770
+ fee?: number;
771
+
772
+ /**
773
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
774
+ */
775
+ timeoutInSeconds?: number;
776
+
777
+ /**
778
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
779
+ */
780
+ simulate?: boolean;
781
+ }) => Promise<AssembledTransaction<Option<string>>>
782
+
783
+ /**
784
+ * 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.
785
+ * Transfers ownership to a new address. Requires current owner authorization.
786
+ */
787
+ transfer_ownership: ({new_owner}: {new_owner: string}, txnOptions?: {
788
+ /**
789
+ * The fee to pay for the transaction. Default: BASE_FEE
790
+ */
791
+ fee?: number;
792
+
793
+ /**
794
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
795
+ */
796
+ timeoutInSeconds?: number;
797
+
798
+ /**
799
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
800
+ */
801
+ simulate?: boolean;
802
+ }) => Promise<AssembledTransaction<null>>
803
+
804
+ /**
805
+ * 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.
806
+ * Permanently renounces ownership. Requires current owner authorization.
807
+ */
808
+ renounce_ownership: (txnOptions?: {
809
+ /**
810
+ * The fee to pay for the transaction. Default: BASE_FEE
811
+ */
812
+ fee?: number;
813
+
814
+ /**
815
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
816
+ */
817
+ timeoutInSeconds?: number;
818
+
819
+ /**
820
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
821
+ */
822
+ simulate?: boolean;
823
+ }) => Promise<AssembledTransaction<null>>
824
+
825
+ /**
826
+ * 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.
827
+ * Sets TTL configs for instance and persistent storage.
828
+ *
829
+ * - `None` values remove the corresponding config (disables auto-extension for that type)
830
+ * - Validates that `threshold <= extend_to <= MAX_TTL`
831
+ *
832
+ * # Arguments
833
+ * - `instance` - TTL config for instance storage
834
+ * - `persistent` - TTL config for persistent storage
835
+ *
836
+ * # Panics
837
+ * - `TtlConfigFrozen` if configs are frozen
838
+ * - `InvalidTtlConfig` if validation fails
839
+ */
840
+ set_ttl_configs: ({instance, persistent}: {instance: Option<TtlConfig>, persistent: Option<TtlConfig>}, txnOptions?: {
841
+ /**
842
+ * The fee to pay for the transaction. Default: BASE_FEE
843
+ */
844
+ fee?: number;
845
+
846
+ /**
847
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
848
+ */
849
+ timeoutInSeconds?: number;
850
+
851
+ /**
852
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
853
+ */
854
+ simulate?: boolean;
855
+ }) => Promise<AssembledTransaction<null>>
856
+
857
+ /**
858
+ * 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.
859
+ * Returns the current TTL configs as (instance_config, persistent_config).
860
+ */
861
+ ttl_configs: (txnOptions?: {
862
+ /**
863
+ * The fee to pay for the transaction. Default: BASE_FEE
864
+ */
865
+ fee?: number;
866
+
867
+ /**
868
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
869
+ */
870
+ timeoutInSeconds?: number;
871
+
872
+ /**
873
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
874
+ */
875
+ simulate?: boolean;
876
+ }) => Promise<AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>>
877
+
878
+ /**
879
+ * 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.
880
+ * Permanently freezes TTL configs, preventing any future modifications.
881
+ *
882
+ * This is irreversible and provides immutability guarantees to users.
883
+ * Emits `TtlConfigsFrozen` event.
884
+ *
885
+ * # Panics
886
+ * - `TtlConfigAlreadyFrozen` if already frozen
887
+ */
888
+ freeze_ttl_configs: (txnOptions?: {
889
+ /**
890
+ * The fee to pay for the transaction. Default: BASE_FEE
891
+ */
892
+ fee?: number;
893
+
894
+ /**
895
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
896
+ */
897
+ timeoutInSeconds?: number;
898
+
899
+ /**
900
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
901
+ */
902
+ simulate?: boolean;
903
+ }) => Promise<AssembledTransaction<null>>
904
+
905
+ /**
906
+ * 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.
907
+ * Returns whether TTL configs are frozen.
908
+ */
909
+ is_ttl_configs_frozen: (txnOptions?: {
910
+ /**
911
+ * The fee to pay for the transaction. Default: BASE_FEE
912
+ */
913
+ fee?: number;
914
+
915
+ /**
916
+ * The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
917
+ */
918
+ timeoutInSeconds?: number;
919
+
920
+ /**
921
+ * Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
922
+ */
923
+ simulate?: boolean;
924
+ }) => Promise<AssembledTransaction<boolean>>
925
+
926
+ }
927
+ export class Client extends ContractClient {
928
+ static async deploy<T = Client>(
929
+ /** Constructor/Initialization Args for the contract's `__constructor` method */
930
+ {owner, price_updater}: {owner: string, price_updater: string},
931
+ /** Options for initializing a Client as well as for calling a method, with extras specific to deploying. */
932
+ options: MethodOptions &
933
+ Omit<ContractClientOptions, "contractId"> & {
934
+ /** The hash of the Wasm blob, which must already be installed on-chain. */
935
+ wasmHash: Buffer | string;
936
+ /** Salt used to generate the contract's ID. Passed through to {@link Operation.createCustomContract}. Default: random. */
937
+ salt?: Buffer | Uint8Array;
938
+ /** The format used to decode `wasmHash`, if it's provided as a string. */
939
+ format?: "hex" | "base64";
940
+ }
941
+ ): Promise<AssembledTransaction<T>> {
942
+ return ContractClient.deploy({owner, price_updater}, options)
943
+ }
944
+ constructor(public readonly options: ContractClientOptions) {
945
+ super(
946
+ new ContractSpec([ "AAAAAgAAAAAAAAAAAAAAEFByaWNlRmVlZFN0b3JhZ2UAAAAHAAAAAAAAAAAAAAAVUHJpY2VSYXRpb0Rlbm9taW5hdG9yAAAAAAAAAQAAAAAAAAAMUHJpY2VVcGRhdGVyAAAAAQAAABMAAAABAAAAAAAAABFEZWZhdWx0TW9kZWxQcmljZQAAAAAAAAEAAAAEAAAAAAAAAAAAAAAQQXJiaXRydW1QcmljZUV4dAAAAAAAAAAAAAAADk5hdGl2ZVByaWNlVVNEAAAAAAAAAAAAAAAAABpBcmJpdHJ1bUNvbXByZXN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kZXN0aW5hdGlvbi1zcGVjaWZpYyBzZXR0aW5ncy4AAAAAAAAAAAAADER2bkZlZVBhcmFtcwAAAAoAAAAnTnVtYmVyIG9mIGJsb2NrIGNvbmZpcm1hdGlvbnMgcmVxdWlyZWQuAAAAAA1jb25maXJtYXRpb25zAAAAAAAABgAAAExEZWZhdWx0IGZlZSBtdWx0aXBsaWVyIGluIGJhc2lzIHBvaW50cyAodXNlZCBpZiBubyBkc3Qtc3BlY2lmaWMgbXVsdGlwbGllcikuAAAAFmRlZmF1bHRfbXVsdGlwbGllcl9icHMAAAAAAAQAAAArRGVzdGluYXRpb24gZW5kcG9pbnQgSUQgKGNoYWluIGlkZW50aWZpZXIpLgAAAAAHZHN0X2VpZAAAAAAEAAAAI01pbmltdW0gZmVlIG1hcmdpbiBpbiBVU0QgKHNjYWxlZCkuAAAAABBmbG9vcl9tYXJnaW5fdXNkAAAACgAAARA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpEZXN0aW5hdGlvbi1TcGVjaWZpYyBDb25maWd1cmF0aW9uCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09CkdhcyBlc3RpbWF0ZSBmb3IgdmVyaWZpY2F0aW9uIG9uIGRlc3RpbmF0aW9uIGNoYWluLgAAAANnYXMAAAAACgAAAEZEZXN0aW5hdGlvbi1zcGVjaWZpYyBmZWUgbXVsdGlwbGllciBpbiBiYXNpcyBwb2ludHMgKDAgPSB1c2UgZGVmYXVsdCkuAAAAAAAObXVsdGlwbGllcl9icHMAAAAAAAQAAAALRFZOIG9wdGlvbnMAAAAAB29wdGlvbnMAAAAADgAAARA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpDb21tb24gQ29uZmlndXJhdGlvbgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpQcmljZSBmZWVkIGNvbnRyYWN0IGFkZHJlc3MgZm9yIGdhcyBwcmljZSBhbmQgZXhjaGFuZ2UgcmF0ZSBkYXRhLgAAAApwcmljZV9mZWVkAAAAAAATAAAAJ051bWJlciBvZiByZXF1aXJlZCBzaWduYXR1cmVzIChxdW9ydW0pLgAAAAAGcXVvcnVtAAAAAAAEAAAA5T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ck1lc3NhZ2UgUGFyYW1ldGVycwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpUaGUgT0FwcCBzZW5kZXIgYWRkcmVzcy4AAAAAAAAGc2VuZGVyAAAAAAAT",
1009
+ "AAAAAQAAAONQYXJhbWV0ZXJzIGZvciBleGVjdXRvciBmZWUgY2FsY3VsYXRpb24uCgpDb250YWlucyBhbGwgaW5wdXRzIG5lZWRlZCBieSB0aGUgZmVlIGxpYnJhcnkgdG8gY2FsY3VsYXRlIGV4ZWN1dGlvbiBmZWVzCmZvciBjcm9zcy1jaGFpbiBtZXNzYWdlcy4gSW5jbHVkZXMgbWVzc2FnZSBwYXJhbWV0ZXJzLCBjb21tb24gY29uZmlndXJhdGlvbiwKYW5kIGRlc3RpbmF0aW9uLXNwZWNpZmljIHNldHRpbmdzLgAAAAAAAAAACUZlZVBhcmFtcwAAAAAAAAsAAAAmU2l6ZSBvZiB0aGUgbWVzc2FnZSBjYWxsZGF0YSBpbiBieXRlcy4AAAAAAA1jYWxsZGF0YV9zaXpl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nMgKGx6UmVjZWl2ZSBnYXMsIGx6Q29tcG9zZSwgbmF0aXZlRHJvcCwgZXRjLikuAAAAAAAHb3B0aW9ucwAAAAAOAAABED09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09CkNvbW1vbiBDb25maWd1cmF0aW9uCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClByaWNlIGZlZWQgY29udHJhY3QgYWRkcmVzcyBmb3IgZ2FzIHByaWNlIGFuZCBleGNoYW5nZSByYXRlIGRhdGEuAAAACnByaWNlX2ZlZWQAAAAAABMAAADlPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KTWVzc2FnZSBQYXJhbWV0ZXJzCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClRoZSBPQXBwIHNlbmRlciBhZGRyZXNzLgAAAAAAAAZzZW5kZXIAAAAAABM=",
1010
+ "AAAAAQAAAIRHYXMgcHJpY2UgaW5mb3JtYXRpb24gZm9yIGEgZGVzdGluYXRpb24gZW5kcG9pbnQuCgpDb250YWlucyB0aGUgZXhjaGFuZ2UgcmF0ZSBhbmQgZ2FzIGNvc3RzIG5lZWRlZCBmb3IgY3Jvc3MtY2hhaW4gZmVlIGNhbGN1bGF0aW9ucy4AAAAAAAAABVByaWNlAAAAAAAAAwAAADdHYXMgY29zdCBwZXIgYnl0ZSBvZiBjYWxsZGF0YSBvbiB0aGUgZGVzdGluYXRpb24gY2hhaW4uAAAAAAxnYXNfcGVyX2J5dGUAAAAEAAAAQkdhcyBwcmljZSBpb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AAAAAAAAAAAAGUGF1c2VkAAAAAAAAAAAAAAAAAA5EZXBvc2l0QWRkcmVzcwAAAAAAAAAAAAAAAAAJUHJpY2VGZWVkAAAAAAAAAAAAAAAAAAAMV29ya2VyRmVlTGliAAAAAAAAAAAAAAAURGVmYXVsdE11bHRpcGxpZXJCcHMAAAABAAAAAAAAABRTdXBwb3J0ZWRPcHRpb25UeXBlcwAAAAEAAAAEAAAAAAAAAAAAAAALTWVzc2FnZUxpYnMAAAAAAQAAAAAAAAAJQWxsb3dsaXN0AAAAAAAAAQAAABMAAAABAAAAAAAAAAhEZW55bGlzdAAAAAEAAAATAAAAAAAAAAAAAAANQWxsb3dsaXN0U2l6ZQAAAAAAAAAAAAAAAAAABkFkbWlucwAA" ]),
1013
+ options
1014
+ )
1015
+ }
1016
+ public readonly fromJSON = {
1017
+ upgrade: this.txFromJSON<null>,
1018
+ migrate: this.txFromJSON<null>,
1019
+ extend_instance_ttl: this.txFromJSON<null>,
1020
+ estimate_fee_by_eid: this.txFromJSON<FeeEstimate>,
1021
+ native_token_price_usd: this.txFromJSON<u128>,
1022
+ get_price: this.txFromJSON<Option<Price>>,
1023
+ get_price_ratio_denominator: this.txFromJSON<u128>,
1024
+ set_price_updater: this.txFromJSON<null>,
1025
+ set_price_ratio_denominator: this.txFromJSON<null>,
1026
+ set_arbitrum_compression_percent: this.txFromJSON<null>,
1027
+ set_eid_to_model_type: this.txFromJSON<null>,
1028
+ set_price: this.txFromJSON<null>,
1029
+ set_price_for_arbitrum: this.txFromJSON<null>,
1030
+ set_native_token_price_usd: this.txFromJSON<null>,
1031
+ is_price_updater: this.txFromJSON<boolean>,
1032
+ arbitrum_compression_percent: this.txFromJSON<u128>,
1033
+ arbitrum_price_ext: this.txFromJSON<ArbitrumPriceExt>,
1034
+ eid_to_model_type: this.txFromJSON<ModelType>,
1035
+ owner: this.txFromJSON<Option<string>>,
1036
+ transfer_ownership: this.txFromJSON<null>,
1037
+ renounce_ownership: this.txFromJSON<null>,
1038
+ set_ttl_configs: this.txFromJSON<null>,
1039
+ ttl_configs: this.txFromJSON<readonly [Option<TtlConfig>, Option<TtlConfig>]>,
1040
+ freeze_ttl_configs: this.txFromJSON<null>,
1041
+ is_ttl_configs_frozen: this.txFromJSON<boolean>
1042
+ }
1043
+ }