@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.
- package/dist/generated/bml.d.ts +40 -30
- package/dist/generated/bml.js +16 -11
- package/dist/generated/counter.d.ts +168 -134
- package/dist/generated/counter.js +26 -21
- package/dist/generated/dvn.d.ts +1932 -0
- package/dist/generated/dvn.js +288 -0
- package/dist/generated/dvn_fee_lib.d.ts +615 -0
- package/dist/generated/dvn_fee_lib.js +123 -0
- package/dist/generated/endpoint.d.ts +75 -41
- package/dist/generated/endpoint.js +22 -17
- package/dist/generated/executor.d.ts +1809 -0
- package/dist/generated/executor.js +269 -0
- package/dist/generated/executor_fee_lib.d.ts +999 -0
- package/dist/generated/executor_fee_lib.js +208 -0
- package/dist/generated/executor_helper.d.ts +869 -0
- package/dist/generated/executor_helper.js +187 -0
- package/dist/generated/oft_std.d.ts +1544 -0
- package/dist/generated/oft_std.js +271 -0
- package/dist/generated/price_feed.d.ts +1002 -0
- package/dist/generated/price_feed.js +170 -0
- package/dist/generated/sml.d.ts +75 -41
- package/dist/generated/sml.js +22 -17
- package/dist/generated/uln302.d.ts +79 -60
- package/dist/generated/uln302.js +37 -37
- package/dist/generated/upgrader.d.ts +70 -0
- package/dist/generated/upgrader.js +19 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +11 -0
- package/package.json +8 -7
- package/src/generated/bml.ts +45 -35
- package/src/generated/counter.ts +186 -152
- package/src/generated/dvn.ts +1979 -0
- package/src/generated/dvn_fee_lib.ts +628 -0
- package/src/generated/endpoint.ts +81 -47
- package/src/generated/executor.ts +112 -34
- package/src/generated/executor_fee_lib.ts +1000 -0
- package/src/generated/executor_helper.ts +18 -8
- package/src/generated/oft_std.ts +500 -110
- package/src/generated/price_feed.ts +1043 -0
- package/src/generated/sml.ts +81 -47
- package/src/generated/uln302.ts +98 -69
- package/src/generated/upgrader.ts +102 -0
- package/src/index.ts +13 -0
- package/test/index.test.ts +0 -1
- package/test/oft.test.ts +12 -23
- package/test/suites/testUpgradeable.ts +169 -0
- package/test/upgrader.test.ts +309 -0
package/dist/generated/bml.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import type { u32, u64, i128 } 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 EndpointError: {
|
|
8
9
|
1: {
|
|
9
10
|
message: string;
|
|
@@ -302,7 +303,7 @@ export declare const BufferWriterError: {
|
|
|
302
303
|
message: string;
|
|
303
304
|
};
|
|
304
305
|
};
|
|
305
|
-
export declare const
|
|
306
|
+
export declare const TtlConfigurableError: {
|
|
306
307
|
1200: {
|
|
307
308
|
message: string;
|
|
308
309
|
};
|
|
@@ -326,12 +327,17 @@ export declare const BytesExtError: {
|
|
|
326
327
|
message: string;
|
|
327
328
|
};
|
|
328
329
|
};
|
|
329
|
-
export
|
|
330
|
+
export declare const UpgradeableError: {
|
|
331
|
+
1500: {
|
|
332
|
+
message: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
export type OwnableStorage = {
|
|
330
336
|
tag: "Owner";
|
|
331
337
|
values: void;
|
|
332
338
|
};
|
|
333
339
|
/**
|
|
334
|
-
*
|
|
340
|
+
* TTL configuration: threshold (when to extend) and extend_to (target TTL).
|
|
335
341
|
*/
|
|
336
342
|
export interface TtlConfig {
|
|
337
343
|
/**
|
|
@@ -353,15 +359,18 @@ export type TtlConfigStorage = {
|
|
|
353
359
|
tag: "Persistent";
|
|
354
360
|
values: void;
|
|
355
361
|
};
|
|
362
|
+
export type UpgradeableStorage = {
|
|
363
|
+
tag: "Migrating";
|
|
364
|
+
values: void;
|
|
365
|
+
};
|
|
356
366
|
export interface Client {
|
|
357
367
|
/**
|
|
358
|
-
* Construct and simulate a
|
|
359
|
-
* Always panics - config
|
|
368
|
+
* Construct and simulate a set_config 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.
|
|
369
|
+
* Always panics - config modification is not supported.
|
|
360
370
|
*/
|
|
361
|
-
|
|
362
|
-
eid: u32;
|
|
371
|
+
set_config: ({ oapp, param }: {
|
|
363
372
|
oapp: string;
|
|
364
|
-
|
|
373
|
+
param: Array<SetConfigParam>;
|
|
365
374
|
}, txnOptions?: {
|
|
366
375
|
/**
|
|
367
376
|
* The fee to pay for the transaction. Default: BASE_FEE
|
|
@@ -375,13 +384,15 @@ export interface Client {
|
|
|
375
384
|
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
376
385
|
*/
|
|
377
386
|
simulate?: boolean;
|
|
378
|
-
}) => Promise<AssembledTransaction<
|
|
387
|
+
}) => Promise<AssembledTransaction<null>>;
|
|
379
388
|
/**
|
|
380
|
-
* Construct and simulate a
|
|
381
|
-
*
|
|
389
|
+
* Construct and simulate a get_config 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.
|
|
390
|
+
* Always panics - config retrieval is not supported.
|
|
382
391
|
*/
|
|
383
|
-
|
|
392
|
+
get_config: ({ eid, oapp, config_type }: {
|
|
384
393
|
eid: u32;
|
|
394
|
+
oapp: string;
|
|
395
|
+
config_type: u32;
|
|
385
396
|
}, txnOptions?: {
|
|
386
397
|
/**
|
|
387
398
|
* The fee to pay for the transaction. Default: BASE_FEE
|
|
@@ -395,12 +406,14 @@ export interface Client {
|
|
|
395
406
|
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
396
407
|
*/
|
|
397
408
|
simulate?: boolean;
|
|
398
|
-
}) => Promise<AssembledTransaction<
|
|
409
|
+
}) => Promise<AssembledTransaction<Buffer>>;
|
|
399
410
|
/**
|
|
400
|
-
* Construct and simulate a
|
|
401
|
-
* Returns
|
|
411
|
+
* 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.
|
|
412
|
+
* Returns true for all EIDs to allow assignment as a blocking library.
|
|
402
413
|
*/
|
|
403
|
-
|
|
414
|
+
is_supported_eid: ({ eid }: {
|
|
415
|
+
eid: u32;
|
|
416
|
+
}, txnOptions?: {
|
|
404
417
|
/**
|
|
405
418
|
* The fee to pay for the transaction. Default: BASE_FEE
|
|
406
419
|
*/
|
|
@@ -413,15 +426,12 @@ export interface Client {
|
|
|
413
426
|
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
414
427
|
*/
|
|
415
428
|
simulate?: boolean;
|
|
416
|
-
}) => Promise<AssembledTransaction<
|
|
429
|
+
}) => Promise<AssembledTransaction<boolean>>;
|
|
417
430
|
/**
|
|
418
|
-
* Construct and simulate a
|
|
419
|
-
*
|
|
431
|
+
* Construct and simulate a version 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.
|
|
432
|
+
* Returns max version to ensure it's recognized as a valid library.
|
|
420
433
|
*/
|
|
421
|
-
|
|
422
|
-
oapp: string;
|
|
423
|
-
param: Array<SetConfigParam>;
|
|
424
|
-
}, txnOptions?: {
|
|
434
|
+
version: (txnOptions?: {
|
|
425
435
|
/**
|
|
426
436
|
* The fee to pay for the transaction. Default: BASE_FEE
|
|
427
437
|
*/
|
|
@@ -434,12 +444,12 @@ export interface Client {
|
|
|
434
444
|
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
435
445
|
*/
|
|
436
446
|
simulate?: boolean;
|
|
437
|
-
}) => Promise<AssembledTransaction<
|
|
447
|
+
}) => Promise<AssembledTransaction<MessageLibVersion>>;
|
|
438
448
|
/**
|
|
439
|
-
* Construct and simulate a
|
|
440
|
-
* Returns
|
|
449
|
+
* Construct and simulate a message_lib_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.
|
|
450
|
+
* Returns SendAndReceive to indicate it can block both directions.
|
|
441
451
|
*/
|
|
442
|
-
|
|
452
|
+
message_lib_type: (txnOptions?: {
|
|
443
453
|
/**
|
|
444
454
|
* The fee to pay for the transaction. Default: BASE_FEE
|
|
445
455
|
*/
|
|
@@ -452,7 +462,7 @@ export interface Client {
|
|
|
452
462
|
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
453
463
|
*/
|
|
454
464
|
simulate?: boolean;
|
|
455
|
-
}) => Promise<AssembledTransaction<
|
|
465
|
+
}) => Promise<AssembledTransaction<MessageLibType>>;
|
|
456
466
|
/**
|
|
457
467
|
* Construct and simulate a quote 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.
|
|
458
468
|
* Always panics - quoting is blocked.
|
|
@@ -512,11 +522,11 @@ export declare class Client extends ContractClient {
|
|
|
512
522
|
}): Promise<AssembledTransaction<T>>;
|
|
513
523
|
constructor(options: ContractClientOptions);
|
|
514
524
|
readonly fromJSON: {
|
|
525
|
+
set_config: (json: string) => AssembledTransaction<null>;
|
|
515
526
|
get_config: (json: string) => AssembledTransaction<Buffer<ArrayBufferLike>>;
|
|
516
527
|
is_supported_eid: (json: string) => AssembledTransaction<boolean>;
|
|
517
|
-
message_lib_type: (json: string) => AssembledTransaction<MessageLibType>;
|
|
518
|
-
set_config: (json: string) => AssembledTransaction<null>;
|
|
519
528
|
version: (json: string) => AssembledTransaction<MessageLibVersion>;
|
|
529
|
+
message_lib_type: (json: string) => AssembledTransaction<MessageLibType>;
|
|
520
530
|
quote: (json: string) => AssembledTransaction<MessagingFee>;
|
|
521
531
|
send: (json: string) => AssembledTransaction<FeesAndPacket>;
|
|
522
532
|
};
|
package/dist/generated/bml.js
CHANGED
|
@@ -35,7 +35,7 @@ export const BufferReaderError = {
|
|
|
35
35
|
export const BufferWriterError = {
|
|
36
36
|
1100: { message: "InvalidAddressPayload" }
|
|
37
37
|
};
|
|
38
|
-
export const
|
|
38
|
+
export const TtlConfigurableError = {
|
|
39
39
|
1200: { message: "InvalidTtlConfig" },
|
|
40
40
|
1201: { message: "TtlConfigFrozen" },
|
|
41
41
|
1202: { message: "TtlConfigAlreadyFrozen" }
|
|
@@ -47,6 +47,9 @@ export const OwnableError = {
|
|
|
47
47
|
export const BytesExtError = {
|
|
48
48
|
1400: { message: "LengthMismatch" }
|
|
49
49
|
};
|
|
50
|
+
export const UpgradeableError = {
|
|
51
|
+
1500: { message: "MigrationNotAllowed" }
|
|
52
|
+
};
|
|
50
53
|
export class Client extends ContractClient {
|
|
51
54
|
options;
|
|
52
55
|
static async deploy(
|
|
@@ -55,11 +58,11 @@ export class Client extends ContractClient {
|
|
|
55
58
|
return ContractClient.deploy(null, options);
|
|
56
59
|
}
|
|
57
60
|
constructor(options) {
|
|
58
|
-
super(new ContractSpec(["
|
|
61
|
+
super(new ContractSpec(["AAAAAAAAADVBbHdheXMgcGFuaWNzIC0gY29uZmlnIG1vZGlmaWNhdGlvbiBpcyBub3Qgc3VwcG9ydGVkLgAAAAAAAApzZXRfY29uZmlnAAAAAAACAAAAAAAAAARvYXBwAAAAEwAAAAAAAAAFcGFyYW0AAAAAAAPqAAAH0AAAAA5TZXRDb25maWdQYXJhbQAAAAAAAA==",
|
|
62
|
+
"AAAAAAAAADJBbHdheXMgcGFuaWNzIC0gY29uZmlnIHJldHJpZXZhbCBpcyBub3Qgc3VwcG9ydGVkLgAAAAAACmdldF9jb25maWcAAAAAAAMAAAAAAAAAA2VpZAAAAAAEAAAAAAAAAARvYXBwAAAAEwAAAAAAAAALY29uZmlnX3R5cGUAAAAABAAAAAEAAAAO",
|
|
59
63
|
"AAAAAAAAAERSZXR1cm5zIHRydWUgZm9yIGFsbCBFSURzIHRvIGFsbG93IGFzc2lnbm1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pZ3NfZnJvemVuAAAAAAAAAAAAAg==",
|
|
112
|
+
"AAAAAgAAAAAAAAAAAAAAEFR0bENvbmZpZ1N0b3JhZ2UAAAADAAAAAAAAAAAAAAAGRnJvemVuAAAAAAAAAAAAAAAAAAhJbnN0YW5jZQAAAAAAAAAAAAAAClBlcnNpc3RlbnQAAA==",
|
|
113
|
+
"AAAAAgAAAAAAAAAAAAAAElVwZ3JhZGVhYmxlU3RvcmFnZQAAAAAAAQAAAAAAAAAAAAAACU1pZ3JhdGluZwAAAA=="]), options);
|
|
109
114
|
this.options = options;
|
|
110
115
|
}
|
|
111
116
|
fromJSON = {
|
|
117
|
+
set_config: (this.txFromJSON),
|
|
112
118
|
get_config: (this.txFromJSON),
|
|
113
119
|
is_supported_eid: (this.txFromJSON),
|
|
114
|
-
message_lib_type: (this.txFromJSON),
|
|
115
|
-
set_config: (this.txFromJSON),
|
|
116
120
|
version: (this.txFromJSON),
|
|
121
|
+
message_lib_type: (this.txFromJSON),
|
|
117
122
|
quote: (this.txFromJSON),
|
|
118
123
|
send: (this.txFromJSON)
|
|
119
124
|
};
|
|
@@ -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 CounterError: {
|
|
8
9
|
1: {
|
|
9
10
|
message: string;
|
|
@@ -368,7 +369,7 @@ export declare const BufferWriterError: {
|
|
|
368
369
|
message: string;
|
|
369
370
|
};
|
|
370
371
|
};
|
|
371
|
-
export declare const
|
|
372
|
+
export declare const TtlConfigurableError: {
|
|
372
373
|
1200: {
|
|
373
374
|
message: string;
|
|
374
375
|
};
|
|
@@ -392,12 +393,17 @@ export declare const BytesExtError: {
|
|
|
392
393
|
message: string;
|
|
393
394
|
};
|
|
394
395
|
};
|
|
395
|
-
export
|
|
396
|
+
export declare const UpgradeableError: {
|
|
397
|
+
1500: {
|
|
398
|
+
message: string;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
export type OwnableStorage = {
|
|
396
402
|
tag: "Owner";
|
|
397
403
|
values: void;
|
|
398
404
|
};
|
|
399
405
|
/**
|
|
400
|
-
*
|
|
406
|
+
* TTL configuration: threshold (when to extend) and extend_to (target TTL).
|
|
401
407
|
*/
|
|
402
408
|
export interface TtlConfig {
|
|
403
409
|
/**
|
|
@@ -419,131 +425,11 @@ export type TtlConfigStorage = {
|
|
|
419
425
|
tag: "Persistent";
|
|
420
426
|
values: void;
|
|
421
427
|
};
|
|
428
|
+
export type UpgradeableStorage = {
|
|
429
|
+
tag: "Migrating";
|
|
430
|
+
values: void;
|
|
431
|
+
};
|
|
422
432
|
export interface Client {
|
|
423
|
-
/**
|
|
424
|
-
* 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.
|
|
425
|
-
*/
|
|
426
|
-
owner: (txnOptions?: {
|
|
427
|
-
/**
|
|
428
|
-
* The fee to pay for the transaction. Default: BASE_FEE
|
|
429
|
-
*/
|
|
430
|
-
fee?: number;
|
|
431
|
-
/**
|
|
432
|
-
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
433
|
-
*/
|
|
434
|
-
timeoutInSeconds?: number;
|
|
435
|
-
/**
|
|
436
|
-
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
437
|
-
*/
|
|
438
|
-
simulate?: boolean;
|
|
439
|
-
}) => Promise<AssembledTransaction<Option<string>>>;
|
|
440
|
-
/**
|
|
441
|
-
* 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.
|
|
442
|
-
*/
|
|
443
|
-
transfer_ownership: ({ new_owner }: {
|
|
444
|
-
new_owner: string;
|
|
445
|
-
}, txnOptions?: {
|
|
446
|
-
/**
|
|
447
|
-
* The fee to pay for the transaction. Default: BASE_FEE
|
|
448
|
-
*/
|
|
449
|
-
fee?: number;
|
|
450
|
-
/**
|
|
451
|
-
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
452
|
-
*/
|
|
453
|
-
timeoutInSeconds?: number;
|
|
454
|
-
/**
|
|
455
|
-
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
456
|
-
*/
|
|
457
|
-
simulate?: boolean;
|
|
458
|
-
}) => Promise<AssembledTransaction<null>>;
|
|
459
|
-
/**
|
|
460
|
-
* 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.
|
|
461
|
-
*/
|
|
462
|
-
renounce_ownership: (txnOptions?: {
|
|
463
|
-
/**
|
|
464
|
-
* The fee to pay for the transaction. Default: BASE_FEE
|
|
465
|
-
*/
|
|
466
|
-
fee?: number;
|
|
467
|
-
/**
|
|
468
|
-
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
469
|
-
*/
|
|
470
|
-
timeoutInSeconds?: number;
|
|
471
|
-
/**
|
|
472
|
-
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
473
|
-
*/
|
|
474
|
-
simulate?: boolean;
|
|
475
|
-
}) => Promise<AssembledTransaction<null>>;
|
|
476
|
-
/**
|
|
477
|
-
* 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.
|
|
478
|
-
*/
|
|
479
|
-
set_ttl_configs: ({ instance, persistent }: {
|
|
480
|
-
instance: Option<TtlConfig>;
|
|
481
|
-
persistent: Option<TtlConfig>;
|
|
482
|
-
}, txnOptions?: {
|
|
483
|
-
/**
|
|
484
|
-
* The fee to pay for the transaction. Default: BASE_FEE
|
|
485
|
-
*/
|
|
486
|
-
fee?: number;
|
|
487
|
-
/**
|
|
488
|
-
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
489
|
-
*/
|
|
490
|
-
timeoutInSeconds?: number;
|
|
491
|
-
/**
|
|
492
|
-
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
493
|
-
*/
|
|
494
|
-
simulate?: boolean;
|
|
495
|
-
}) => Promise<AssembledTransaction<null>>;
|
|
496
|
-
/**
|
|
497
|
-
* 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.
|
|
498
|
-
*/
|
|
499
|
-
ttl_configs: (txnOptions?: {
|
|
500
|
-
/**
|
|
501
|
-
* The fee to pay for the transaction. Default: BASE_FEE
|
|
502
|
-
*/
|
|
503
|
-
fee?: number;
|
|
504
|
-
/**
|
|
505
|
-
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
506
|
-
*/
|
|
507
|
-
timeoutInSeconds?: number;
|
|
508
|
-
/**
|
|
509
|
-
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
510
|
-
*/
|
|
511
|
-
simulate?: boolean;
|
|
512
|
-
}) => Promise<AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>>;
|
|
513
|
-
/**
|
|
514
|
-
* 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.
|
|
515
|
-
*/
|
|
516
|
-
freeze_ttl_configs: (txnOptions?: {
|
|
517
|
-
/**
|
|
518
|
-
* The fee to pay for the transaction. Default: BASE_FEE
|
|
519
|
-
*/
|
|
520
|
-
fee?: number;
|
|
521
|
-
/**
|
|
522
|
-
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
523
|
-
*/
|
|
524
|
-
timeoutInSeconds?: number;
|
|
525
|
-
/**
|
|
526
|
-
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
527
|
-
*/
|
|
528
|
-
simulate?: boolean;
|
|
529
|
-
}) => Promise<AssembledTransaction<null>>;
|
|
530
|
-
/**
|
|
531
|
-
* 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.
|
|
532
|
-
*/
|
|
533
|
-
is_ttl_configs_frozen: (txnOptions?: {
|
|
534
|
-
/**
|
|
535
|
-
* The fee to pay for the transaction. Default: BASE_FEE
|
|
536
|
-
*/
|
|
537
|
-
fee?: number;
|
|
538
|
-
/**
|
|
539
|
-
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
540
|
-
*/
|
|
541
|
-
timeoutInSeconds?: number;
|
|
542
|
-
/**
|
|
543
|
-
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
544
|
-
*/
|
|
545
|
-
simulate?: boolean;
|
|
546
|
-
}) => Promise<AssembledTransaction<boolean>>;
|
|
547
433
|
/**
|
|
548
434
|
* 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.
|
|
549
435
|
* Extends the instance TTL.
|
|
@@ -1050,6 +936,154 @@ export interface Client {
|
|
|
1050
936
|
*/
|
|
1051
937
|
simulate?: boolean;
|
|
1052
938
|
}) => Promise<AssembledTransaction<null>>;
|
|
939
|
+
/**
|
|
940
|
+
* 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.
|
|
941
|
+
* Sets TTL configs for instance and persistent storage.
|
|
942
|
+
*
|
|
943
|
+
* - `None` values remove the corresponding config (disables auto-extension for that type)
|
|
944
|
+
* - Validates that `threshold <= extend_to <= MAX_TTL`
|
|
945
|
+
*
|
|
946
|
+
* # Arguments
|
|
947
|
+
* - `instance` - TTL config for instance storage
|
|
948
|
+
* - `persistent` - TTL config for persistent storage
|
|
949
|
+
*
|
|
950
|
+
* # Panics
|
|
951
|
+
* - `TtlConfigFrozen` if configs are frozen
|
|
952
|
+
* - `InvalidTtlConfig` if validation fails
|
|
953
|
+
*/
|
|
954
|
+
set_ttl_configs: ({ instance, persistent }: {
|
|
955
|
+
instance: Option<TtlConfig>;
|
|
956
|
+
persistent: Option<TtlConfig>;
|
|
957
|
+
}, txnOptions?: {
|
|
958
|
+
/**
|
|
959
|
+
* The fee to pay for the transaction. Default: BASE_FEE
|
|
960
|
+
*/
|
|
961
|
+
fee?: number;
|
|
962
|
+
/**
|
|
963
|
+
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
964
|
+
*/
|
|
965
|
+
timeoutInSeconds?: number;
|
|
966
|
+
/**
|
|
967
|
+
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
968
|
+
*/
|
|
969
|
+
simulate?: boolean;
|
|
970
|
+
}) => Promise<AssembledTransaction<null>>;
|
|
971
|
+
/**
|
|
972
|
+
* 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.
|
|
973
|
+
* Returns the current TTL configs as (instance_config, persistent_config).
|
|
974
|
+
*/
|
|
975
|
+
ttl_configs: (txnOptions?: {
|
|
976
|
+
/**
|
|
977
|
+
* The fee to pay for the transaction. Default: BASE_FEE
|
|
978
|
+
*/
|
|
979
|
+
fee?: number;
|
|
980
|
+
/**
|
|
981
|
+
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
982
|
+
*/
|
|
983
|
+
timeoutInSeconds?: number;
|
|
984
|
+
/**
|
|
985
|
+
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
986
|
+
*/
|
|
987
|
+
simulate?: boolean;
|
|
988
|
+
}) => Promise<AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>>;
|
|
989
|
+
/**
|
|
990
|
+
* 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.
|
|
991
|
+
* Permanently freezes TTL configs, preventing any future modifications.
|
|
992
|
+
*
|
|
993
|
+
* This is irreversible and provides immutability guarantees to users.
|
|
994
|
+
* Emits `TtlConfigsFrozen` event.
|
|
995
|
+
*
|
|
996
|
+
* # Panics
|
|
997
|
+
* - `TtlConfigAlreadyFrozen` if already frozen
|
|
998
|
+
*/
|
|
999
|
+
freeze_ttl_configs: (txnOptions?: {
|
|
1000
|
+
/**
|
|
1001
|
+
* The fee to pay for the transaction. Default: BASE_FEE
|
|
1002
|
+
*/
|
|
1003
|
+
fee?: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
1006
|
+
*/
|
|
1007
|
+
timeoutInSeconds?: number;
|
|
1008
|
+
/**
|
|
1009
|
+
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
1010
|
+
*/
|
|
1011
|
+
simulate?: boolean;
|
|
1012
|
+
}) => Promise<AssembledTransaction<null>>;
|
|
1013
|
+
/**
|
|
1014
|
+
* 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.
|
|
1015
|
+
* Returns whether TTL configs are frozen.
|
|
1016
|
+
*/
|
|
1017
|
+
is_ttl_configs_frozen: (txnOptions?: {
|
|
1018
|
+
/**
|
|
1019
|
+
* The fee to pay for the transaction. Default: BASE_FEE
|
|
1020
|
+
*/
|
|
1021
|
+
fee?: number;
|
|
1022
|
+
/**
|
|
1023
|
+
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
1024
|
+
*/
|
|
1025
|
+
timeoutInSeconds?: number;
|
|
1026
|
+
/**
|
|
1027
|
+
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
1028
|
+
*/
|
|
1029
|
+
simulate?: boolean;
|
|
1030
|
+
}) => Promise<AssembledTransaction<boolean>>;
|
|
1031
|
+
/**
|
|
1032
|
+
* 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.
|
|
1033
|
+
* Returns the current owner address, or None if no owner is set.
|
|
1034
|
+
*/
|
|
1035
|
+
owner: (txnOptions?: {
|
|
1036
|
+
/**
|
|
1037
|
+
* The fee to pay for the transaction. Default: BASE_FEE
|
|
1038
|
+
*/
|
|
1039
|
+
fee?: number;
|
|
1040
|
+
/**
|
|
1041
|
+
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
1042
|
+
*/
|
|
1043
|
+
timeoutInSeconds?: number;
|
|
1044
|
+
/**
|
|
1045
|
+
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
1046
|
+
*/
|
|
1047
|
+
simulate?: boolean;
|
|
1048
|
+
}) => Promise<AssembledTransaction<Option<string>>>;
|
|
1049
|
+
/**
|
|
1050
|
+
* 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.
|
|
1051
|
+
* Transfers ownership to a new address. Requires current owner authorization.
|
|
1052
|
+
*/
|
|
1053
|
+
transfer_ownership: ({ new_owner }: {
|
|
1054
|
+
new_owner: string;
|
|
1055
|
+
}, txnOptions?: {
|
|
1056
|
+
/**
|
|
1057
|
+
* The fee to pay for the transaction. Default: BASE_FEE
|
|
1058
|
+
*/
|
|
1059
|
+
fee?: number;
|
|
1060
|
+
/**
|
|
1061
|
+
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
1062
|
+
*/
|
|
1063
|
+
timeoutInSeconds?: number;
|
|
1064
|
+
/**
|
|
1065
|
+
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
1066
|
+
*/
|
|
1067
|
+
simulate?: boolean;
|
|
1068
|
+
}) => Promise<AssembledTransaction<null>>;
|
|
1069
|
+
/**
|
|
1070
|
+
* 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.
|
|
1071
|
+
* Permanently renounces ownership. Requires current owner authorization.
|
|
1072
|
+
*/
|
|
1073
|
+
renounce_ownership: (txnOptions?: {
|
|
1074
|
+
/**
|
|
1075
|
+
* The fee to pay for the transaction. Default: BASE_FEE
|
|
1076
|
+
*/
|
|
1077
|
+
fee?: number;
|
|
1078
|
+
/**
|
|
1079
|
+
* The maximum amount of time to wait for the transaction to complete. Default: DEFAULT_TIMEOUT
|
|
1080
|
+
*/
|
|
1081
|
+
timeoutInSeconds?: number;
|
|
1082
|
+
/**
|
|
1083
|
+
* Whether to automatically simulate the transaction when constructing the AssembledTransaction. Default: true
|
|
1084
|
+
*/
|
|
1085
|
+
simulate?: boolean;
|
|
1086
|
+
}) => Promise<AssembledTransaction<null>>;
|
|
1053
1087
|
}
|
|
1054
1088
|
export declare class Client extends ContractClient {
|
|
1055
1089
|
readonly options: ContractClientOptions;
|
|
@@ -1071,13 +1105,6 @@ export declare class Client extends ContractClient {
|
|
|
1071
1105
|
}): Promise<AssembledTransaction<T>>;
|
|
1072
1106
|
constructor(options: ContractClientOptions);
|
|
1073
1107
|
readonly fromJSON: {
|
|
1074
|
-
owner: (json: string) => AssembledTransaction<Option<string>>;
|
|
1075
|
-
transfer_ownership: (json: string) => AssembledTransaction<null>;
|
|
1076
|
-
renounce_ownership: (json: string) => AssembledTransaction<null>;
|
|
1077
|
-
set_ttl_configs: (json: string) => AssembledTransaction<null>;
|
|
1078
|
-
ttl_configs: (json: string) => AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>;
|
|
1079
|
-
freeze_ttl_configs: (json: string) => AssembledTransaction<null>;
|
|
1080
|
-
is_ttl_configs_frozen: (json: string) => AssembledTransaction<boolean>;
|
|
1081
1108
|
extend_instance_ttl: (json: string) => AssembledTransaction<null>;
|
|
1082
1109
|
quote: (json: string) => AssembledTransaction<MessagingFee>;
|
|
1083
1110
|
increment: (json: string) => AssembledTransaction<null>;
|
|
@@ -1101,5 +1128,12 @@ export declare class Client extends ContractClient {
|
|
|
1101
1128
|
peer: (json: string) => AssembledTransaction<Option<Buffer<ArrayBufferLike>>>;
|
|
1102
1129
|
set_peer: (json: string) => AssembledTransaction<null>;
|
|
1103
1130
|
set_delegate: (json: string) => AssembledTransaction<null>;
|
|
1131
|
+
set_ttl_configs: (json: string) => AssembledTransaction<null>;
|
|
1132
|
+
ttl_configs: (json: string) => AssembledTransaction<readonly [Option<TtlConfig>, Option<TtlConfig>]>;
|
|
1133
|
+
freeze_ttl_configs: (json: string) => AssembledTransaction<null>;
|
|
1134
|
+
is_ttl_configs_frozen: (json: string) => AssembledTransaction<boolean>;
|
|
1135
|
+
owner: (json: string) => AssembledTransaction<Option<string>>;
|
|
1136
|
+
transfer_ownership: (json: string) => AssembledTransaction<null>;
|
|
1137
|
+
renounce_ownership: (json: string) => AssembledTransaction<null>;
|
|
1104
1138
|
};
|
|
1105
1139
|
}
|