@typemove/aptos 1.5.6-rc.1 → 1.5.6-rc.2

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.
@@ -100,6 +100,18 @@ export declare namespace code {
100
100
  data_decoded: PackageRegistry;
101
101
  type_arguments: [];
102
102
  }
103
+ interface PublishPackage {
104
+ code_address: MoveAddressType;
105
+ is_upgrade: Boolean;
106
+ }
107
+ namespace PublishPackage {
108
+ const TYPE_QNAME = "0x1::code::PublishPackage";
109
+ function type(): TypeDescriptor<PublishPackage>;
110
+ }
111
+ interface PublishPackageInstance extends TypedEventInstance<PublishPackage> {
112
+ data_decoded: PublishPackage;
113
+ type_arguments: [];
114
+ }
103
115
  interface UpgradePolicy {
104
116
  policy: number;
105
117
  }
@@ -283,6 +295,185 @@ export declare namespace hash {
283
295
  namespace entry { }
284
296
  namespace view { }
285
297
  }
298
+ export declare namespace jwks {
299
+ interface AllProvidersJWKs {
300
+ entries: jwks.ProviderJWKs[];
301
+ }
302
+ namespace AllProvidersJWKs {
303
+ const TYPE_QNAME = "0x1::jwks::AllProvidersJWKs";
304
+ function type(): TypeDescriptor<AllProvidersJWKs>;
305
+ }
306
+ interface AllProvidersJWKsInstance extends TypedEventInstance<AllProvidersJWKs> {
307
+ data_decoded: AllProvidersJWKs;
308
+ type_arguments: [];
309
+ }
310
+ interface JWK {
311
+ variant: copyable_any.Any;
312
+ }
313
+ namespace JWK {
314
+ const TYPE_QNAME = "0x1::jwks::JWK";
315
+ function type(): TypeDescriptor<JWK>;
316
+ }
317
+ interface JWKInstance extends TypedEventInstance<JWK> {
318
+ data_decoded: JWK;
319
+ type_arguments: [];
320
+ }
321
+ interface OIDCProvider {
322
+ name: string;
323
+ config_url: string;
324
+ }
325
+ namespace OIDCProvider {
326
+ const TYPE_QNAME = "0x1::jwks::OIDCProvider";
327
+ function type(): TypeDescriptor<OIDCProvider>;
328
+ }
329
+ interface OIDCProviderInstance extends TypedEventInstance<OIDCProvider> {
330
+ data_decoded: OIDCProvider;
331
+ type_arguments: [];
332
+ }
333
+ interface ObservedJWKs {
334
+ jwks: jwks.AllProvidersJWKs;
335
+ }
336
+ namespace ObservedJWKs {
337
+ const TYPE_QNAME = "0x1::jwks::ObservedJWKs";
338
+ function type(): TypeDescriptor<ObservedJWKs>;
339
+ }
340
+ interface ObservedJWKsInstance extends TypedEventInstance<ObservedJWKs> {
341
+ data_decoded: ObservedJWKs;
342
+ type_arguments: [];
343
+ }
344
+ interface ObservedJWKsUpdated {
345
+ epoch: bigint;
346
+ jwks: jwks.AllProvidersJWKs;
347
+ }
348
+ namespace ObservedJWKsUpdated {
349
+ const TYPE_QNAME = "0x1::jwks::ObservedJWKsUpdated";
350
+ function type(): TypeDescriptor<ObservedJWKsUpdated>;
351
+ }
352
+ interface ObservedJWKsUpdatedInstance extends TypedEventInstance<ObservedJWKsUpdated> {
353
+ data_decoded: ObservedJWKsUpdated;
354
+ type_arguments: [];
355
+ }
356
+ interface Patch {
357
+ variant: copyable_any.Any;
358
+ }
359
+ namespace Patch {
360
+ const TYPE_QNAME = "0x1::jwks::Patch";
361
+ function type(): TypeDescriptor<Patch>;
362
+ }
363
+ interface PatchInstance extends TypedEventInstance<Patch> {
364
+ data_decoded: Patch;
365
+ type_arguments: [];
366
+ }
367
+ interface PatchRemoveAll {
368
+ dummy_field: Boolean;
369
+ }
370
+ namespace PatchRemoveAll {
371
+ const TYPE_QNAME = "0x1::jwks::PatchRemoveAll";
372
+ function type(): TypeDescriptor<PatchRemoveAll>;
373
+ }
374
+ interface PatchRemoveAllInstance extends TypedEventInstance<PatchRemoveAll> {
375
+ data_decoded: PatchRemoveAll;
376
+ type_arguments: [];
377
+ }
378
+ interface PatchRemoveIssuer {
379
+ issuer: string;
380
+ }
381
+ namespace PatchRemoveIssuer {
382
+ const TYPE_QNAME = "0x1::jwks::PatchRemoveIssuer";
383
+ function type(): TypeDescriptor<PatchRemoveIssuer>;
384
+ }
385
+ interface PatchRemoveIssuerInstance extends TypedEventInstance<PatchRemoveIssuer> {
386
+ data_decoded: PatchRemoveIssuer;
387
+ type_arguments: [];
388
+ }
389
+ interface PatchRemoveJWK {
390
+ issuer: string;
391
+ jwk_id: string;
392
+ }
393
+ namespace PatchRemoveJWK {
394
+ const TYPE_QNAME = "0x1::jwks::PatchRemoveJWK";
395
+ function type(): TypeDescriptor<PatchRemoveJWK>;
396
+ }
397
+ interface PatchRemoveJWKInstance extends TypedEventInstance<PatchRemoveJWK> {
398
+ data_decoded: PatchRemoveJWK;
399
+ type_arguments: [];
400
+ }
401
+ interface PatchUpsertJWK {
402
+ issuer: string;
403
+ jwk: jwks.JWK;
404
+ }
405
+ namespace PatchUpsertJWK {
406
+ const TYPE_QNAME = "0x1::jwks::PatchUpsertJWK";
407
+ function type(): TypeDescriptor<PatchUpsertJWK>;
408
+ }
409
+ interface PatchUpsertJWKInstance extends TypedEventInstance<PatchUpsertJWK> {
410
+ data_decoded: PatchUpsertJWK;
411
+ type_arguments: [];
412
+ }
413
+ interface PatchedJWKs {
414
+ jwks: jwks.AllProvidersJWKs;
415
+ }
416
+ namespace PatchedJWKs {
417
+ const TYPE_QNAME = "0x1::jwks::PatchedJWKs";
418
+ function type(): TypeDescriptor<PatchedJWKs>;
419
+ }
420
+ interface Patches {
421
+ patches: jwks.Patch[];
422
+ }
423
+ namespace Patches {
424
+ const TYPE_QNAME = "0x1::jwks::Patches";
425
+ function type(): TypeDescriptor<Patches>;
426
+ }
427
+ interface ProviderJWKs {
428
+ issuer: string;
429
+ version: bigint;
430
+ jwks: jwks.JWK[];
431
+ }
432
+ namespace ProviderJWKs {
433
+ const TYPE_QNAME = "0x1::jwks::ProviderJWKs";
434
+ function type(): TypeDescriptor<ProviderJWKs>;
435
+ }
436
+ interface ProviderJWKsInstance extends TypedEventInstance<ProviderJWKs> {
437
+ data_decoded: ProviderJWKs;
438
+ type_arguments: [];
439
+ }
440
+ interface RSA_JWK {
441
+ kid: string;
442
+ kty: string;
443
+ alg: string;
444
+ e: string;
445
+ n: string;
446
+ }
447
+ namespace RSA_JWK {
448
+ const TYPE_QNAME = "0x1::jwks::RSA_JWK";
449
+ function type(): TypeDescriptor<RSA_JWK>;
450
+ }
451
+ interface RSA_JWKInstance extends TypedEventInstance<RSA_JWK> {
452
+ data_decoded: RSA_JWK;
453
+ type_arguments: [];
454
+ }
455
+ interface SupportedOIDCProviders {
456
+ providers: jwks.OIDCProvider[];
457
+ }
458
+ namespace SupportedOIDCProviders {
459
+ const TYPE_QNAME = "0x1::jwks::SupportedOIDCProviders";
460
+ function type(): TypeDescriptor<SupportedOIDCProviders>;
461
+ }
462
+ interface UnsupportedJWK {
463
+ id: string;
464
+ payload: string;
465
+ }
466
+ namespace UnsupportedJWK {
467
+ const TYPE_QNAME = "0x1::jwks::UnsupportedJWK";
468
+ function type(): TypeDescriptor<UnsupportedJWK>;
469
+ }
470
+ interface UnsupportedJWKInstance extends TypedEventInstance<UnsupportedJWK> {
471
+ data_decoded: UnsupportedJWK;
472
+ type_arguments: [];
473
+ }
474
+ namespace entry { }
475
+ namespace view { }
476
+ }
286
477
  export declare namespace util {
287
478
  namespace entry { }
288
479
  namespace view { }
@@ -1208,6 +1399,10 @@ export declare namespace account {
1208
1399
  typeArguments: [];
1209
1400
  functionArguments: [number, string, number, string, string, string];
1210
1401
  }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1402
+ function rotateAuthenticationKeyCall(client: Aptos, account: AptosAccount, request: {
1403
+ typeArguments: [];
1404
+ functionArguments: [string];
1405
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
1211
1406
  function rotateAuthenticationKeyWithRotationCapability(client: Aptos, account: AptosAccount, request: {
1212
1407
  typeArguments: [];
1213
1408
  functionArguments: [MoveAddressType, number, string, string];
@@ -2323,6 +2518,18 @@ export declare namespace aggregator_v2 {
2323
2518
  data_decoded: AggregatorSnapshot<any>;
2324
2519
  type_arguments: [string];
2325
2520
  }
2521
+ interface DerivedStringSnapshot {
2522
+ value: string;
2523
+ padding: string;
2524
+ }
2525
+ namespace DerivedStringSnapshot {
2526
+ const TYPE_QNAME = "0x1::aggregator_v2::DerivedStringSnapshot";
2527
+ function type(): TypeDescriptor<DerivedStringSnapshot>;
2528
+ }
2529
+ interface DerivedStringSnapshotInstance extends TypedEventInstance<DerivedStringSnapshot> {
2530
+ data_decoded: DerivedStringSnapshot;
2531
+ type_arguments: [];
2532
+ }
2326
2533
  namespace entry { }
2327
2534
  namespace view { }
2328
2535
  }
@@ -3207,6 +3414,42 @@ export declare namespace delegation_pool {
3207
3414
  }, version?: bigint): Promise<[bigint]>;
3208
3415
  }
3209
3416
  }
3417
+ export declare namespace keyless_account {
3418
+ interface Configuration {
3419
+ override_aud_vals: string[];
3420
+ max_signatures_per_txn: number;
3421
+ max_exp_horizon_secs: bigint;
3422
+ training_wheels_pubkey: option.Option<string>;
3423
+ max_commited_epk_bytes: number;
3424
+ max_iss_val_bytes: number;
3425
+ max_extra_field_bytes: number;
3426
+ max_jwt_header_b64_bytes: number;
3427
+ }
3428
+ namespace Configuration {
3429
+ const TYPE_QNAME = "0x1::keyless_account::Configuration";
3430
+ function type(): TypeDescriptor<Configuration>;
3431
+ }
3432
+ interface Groth16VerificationKey {
3433
+ alpha_g1: string;
3434
+ beta_g2: string;
3435
+ gamma_g2: string;
3436
+ delta_g2: string;
3437
+ gamma_abc_g1: string[];
3438
+ }
3439
+ namespace Groth16VerificationKey {
3440
+ const TYPE_QNAME = "0x1::keyless_account::Groth16VerificationKey";
3441
+ function type(): TypeDescriptor<Groth16VerificationKey>;
3442
+ }
3443
+ interface Group {
3444
+ dummy_field: Boolean;
3445
+ }
3446
+ namespace Group {
3447
+ const TYPE_QNAME = "0x1::keyless_account::Group";
3448
+ function type(): TypeDescriptor<Group>;
3449
+ }
3450
+ namespace entry { }
3451
+ namespace view { }
3452
+ }
3210
3453
  export declare namespace reconfiguration {
3211
3454
  interface Configuration {
3212
3455
  epoch: bigint;
@@ -4323,6 +4566,67 @@ export declare namespace ristretto255_pedersen {
4323
4566
  namespace entry { }
4324
4567
  namespace view { }
4325
4568
  }
4569
+ export declare namespace object_code_deployment {
4570
+ interface Freeze {
4571
+ object_address: MoveAddressType;
4572
+ }
4573
+ namespace Freeze {
4574
+ const TYPE_QNAME = "0x1::object_code_deployment::Freeze";
4575
+ function type(): TypeDescriptor<Freeze>;
4576
+ }
4577
+ interface FreezeInstance extends TypedEventInstance<Freeze> {
4578
+ data_decoded: Freeze;
4579
+ type_arguments: [];
4580
+ }
4581
+ interface ManagingRefs {
4582
+ extend_ref: object_.ExtendRef;
4583
+ }
4584
+ namespace ManagingRefs {
4585
+ const TYPE_QNAME = "0x1::object_code_deployment::ManagingRefs";
4586
+ function type(): TypeDescriptor<ManagingRefs>;
4587
+ }
4588
+ interface Publish {
4589
+ object_address: MoveAddressType;
4590
+ }
4591
+ namespace Publish {
4592
+ const TYPE_QNAME = "0x1::object_code_deployment::Publish";
4593
+ function type(): TypeDescriptor<Publish>;
4594
+ }
4595
+ interface PublishInstance extends TypedEventInstance<Publish> {
4596
+ data_decoded: Publish;
4597
+ type_arguments: [];
4598
+ }
4599
+ interface Upgrade {
4600
+ object_address: MoveAddressType;
4601
+ }
4602
+ namespace Upgrade {
4603
+ const TYPE_QNAME = "0x1::object_code_deployment::Upgrade";
4604
+ function type(): TypeDescriptor<Upgrade>;
4605
+ }
4606
+ interface UpgradeInstance extends TypedEventInstance<Upgrade> {
4607
+ data_decoded: Upgrade;
4608
+ type_arguments: [];
4609
+ }
4610
+ namespace entry {
4611
+ function freezeCodeObject(client: Aptos, account: AptosAccount, request: {
4612
+ typeArguments: [];
4613
+ functionArguments: [object_.Object<code.PackageRegistry>];
4614
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
4615
+ function publish(client: Aptos, account: AptosAccount, request: {
4616
+ typeArguments: [];
4617
+ functionArguments: [string, string[]];
4618
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
4619
+ function upgrade(client: Aptos, account: AptosAccount, request: {
4620
+ typeArguments: [];
4621
+ functionArguments: [
4622
+ string,
4623
+ string[],
4624
+ object_.Object<code.PackageRegistry>
4625
+ ];
4626
+ }, options?: InputGenerateTransactionOptions): Promise<PendingTransactionResponse>;
4627
+ }
4628
+ namespace view { }
4629
+ }
4326
4630
  export declare namespace primary_fungible_store {
4327
4631
  interface DeriveRefPod {
4328
4632
  metadata_derive_ref: object_.DeriveRef;