@argonprotocol/mainchain 1.4.10-dev.459cb75f → 1.4.10-dev.4dee3b2f

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.
@@ -49,6 +49,9 @@ import type {
49
49
  ArgonRuntimeSessionKeys,
50
50
  PalletBalancesAdjustmentDirection,
51
51
  PalletBitcoinLocksLockOptions,
52
+ PalletBootstrapEndpointPubkey,
53
+ PalletBootstrapRecoveryProof,
54
+ PalletBootstrapRecoveryPubkey,
52
55
  PalletCrosschainTransferAssetKind,
53
56
  PalletCrosschainTransferChainConfig,
54
57
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
@@ -61,6 +64,7 @@ import type {
61
64
  PalletMultisigTimepoint,
62
65
  PalletOperationalAccountsOperationalProgressPatch,
63
66
  PalletOperationalAccountsRegistration,
67
+ PalletPriceIndexEthereumPriceIndex,
64
68
  PalletPriceIndexPriceIndex,
65
69
  PalletVaultsVaultConfig,
66
70
  SnowbridgeBeaconPrimitivesBeaconHeader,
@@ -344,6 +348,7 @@ declare module '@polkadot/api-base/types/submittable' {
344
348
  | Uint8Array
345
349
  | PalletBitcoinLocksLockOptions
346
350
  | { V1: any }
351
+ | { V2: any }
347
352
  | string,
348
353
  ) => SubmittableExtrinsic<ApiType>,
349
354
  [
@@ -353,28 +358,6 @@ declare module '@polkadot/api-base/types/submittable' {
353
358
  Option<PalletBitcoinLocksLockOptions>,
354
359
  ]
355
360
  >;
356
- initializeFor: AugmentedSubmittable<
357
- (
358
- accountId: AccountId32 | string | Uint8Array,
359
- vaultId: u32 | AnyNumber | Uint8Array,
360
- satoshis: Compact<u64> | AnyNumber | Uint8Array,
361
- bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array,
362
- options:
363
- | Option<PalletBitcoinLocksLockOptions>
364
- | null
365
- | Uint8Array
366
- | PalletBitcoinLocksLockOptions
367
- | { V1: any }
368
- | string,
369
- ) => SubmittableExtrinsic<ApiType>,
370
- [
371
- AccountId32,
372
- u32,
373
- Compact<u64>,
374
- ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
375
- Option<PalletBitcoinLocksLockOptions>,
376
- ]
377
- >;
378
361
  /**
379
362
  * Ratcheting allows a user to change the lock price of their bitcoin lock. This is
380
363
  * functionally the same as releasing and re-initializing, but it allows a user to skip
@@ -400,6 +383,7 @@ declare module '@polkadot/api-base/types/submittable' {
400
383
  | Uint8Array
401
384
  | PalletBitcoinLocksLockOptions
402
385
  | { V1: any }
386
+ | { V2: any }
403
387
  | string,
404
388
  ) => SubmittableExtrinsic<ApiType>,
405
389
  [u64, Option<PalletBitcoinLocksLockOptions>]
@@ -432,6 +416,13 @@ declare module '@polkadot/api-base/types/submittable' {
432
416
  ) => SubmittableExtrinsic<ApiType>,
433
417
  [u64, Bytes, u64]
434
418
  >;
419
+ setAsBackfill: AugmentedSubmittable<
420
+ (
421
+ utxoId: u64 | AnyNumber | Uint8Array,
422
+ isBackfill: bool | boolean | Uint8Array,
423
+ ) => SubmittableExtrinsic<ApiType>,
424
+ [u64, bool]
425
+ >;
435
426
  };
436
427
  bitcoinUtxos: {
437
428
  /**
@@ -535,6 +526,35 @@ declare module '@polkadot/api-base/types/submittable' {
535
526
  [Option<u128>, Option<u128>]
536
527
  >;
537
528
  };
529
+ bootstrap: {
530
+ /**
531
+ * Store or replace an encrypted endpoint payload.
532
+ *
533
+ * The first writer for `endpoint_pubkey` becomes its owner. Later updates require the
534
+ * same signing account.
535
+ **/
536
+ setEndpoint: AugmentedSubmittable<
537
+ (
538
+ endpointPubkey: PalletBootstrapEndpointPubkey | string | Uint8Array,
539
+ encryptedEndpoint: Bytes | string | Uint8Array,
540
+ ) => SubmittableExtrinsic<ApiType>,
541
+ [PalletBootstrapEndpointPubkey, Bytes]
542
+ >;
543
+ /**
544
+ * Store or replace an encrypted recovery payload.
545
+ *
546
+ * The proof must be signed by `recovery_pubkey` and binds the submitting `writer`,
547
+ * `recovery_pubkey`, and the encrypted payload hash.
548
+ **/
549
+ setRecoveryPayload: AugmentedSubmittable<
550
+ (
551
+ recoveryPubkey: PalletBootstrapRecoveryPubkey | string | Uint8Array,
552
+ recoveryProof: PalletBootstrapRecoveryProof | { signature?: any } | string | Uint8Array,
553
+ encryptedRecoveryPayload: Bytes | string | Uint8Array,
554
+ ) => SubmittableExtrinsic<ApiType>,
555
+ [PalletBootstrapRecoveryPubkey, PalletBootstrapRecoveryProof, Bytes]
556
+ >;
557
+ };
538
558
  crosschainTransfer: {
539
559
  approveQueueEntries: AugmentedSubmittable<
540
560
  (
@@ -1178,14 +1198,11 @@ declare module '@polkadot/api-base/types/submittable' {
1178
1198
  [PalletOperationalAccountsRegistration]
1179
1199
  >;
1180
1200
  /**
1181
- * Store an opaque encrypted upstream server payload for a downstream account.
1201
+ * Update the display name on an operational account profile.
1182
1202
  **/
1183
- setEncryptedServerForDownstreamAccount: AugmentedSubmittable<
1184
- (
1185
- downstreamAccount: AccountId32 | string | Uint8Array,
1186
- encryptedServer: Bytes | string | Uint8Array,
1187
- ) => SubmittableExtrinsic<ApiType>,
1188
- [AccountId32, Bytes]
1203
+ setName: AugmentedSubmittable<
1204
+ (name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>,
1205
+ [Option<Bytes>]
1189
1206
  >;
1190
1207
  /**
1191
1208
  * Update certification reward amounts for operational accounts.
@@ -1426,8 +1443,15 @@ declare module '@polkadot/api-base/types/submittable' {
1426
1443
  }
1427
1444
  | string
1428
1445
  | Uint8Array,
1446
+ ethereum:
1447
+ | Option<PalletPriceIndexEthereumPriceIndex>
1448
+ | null
1449
+ | Uint8Array
1450
+ | PalletPriceIndexEthereumPriceIndex
1451
+ | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any }
1452
+ | string,
1429
1453
  ) => SubmittableExtrinsic<ApiType>,
1430
- [PalletPriceIndexPriceIndex]
1454
+ [PalletPriceIndexPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1431
1455
  >;
1432
1456
  };
1433
1457
  proxy: {
@@ -2023,7 +2047,13 @@ declare module '@polkadot/api-base/types/submittable' {
2023
2047
  | null
2024
2048
  | Uint8Array
2025
2049
  | ArgonPrimitivesVaultTreasuryBonusApprovalProof
2026
- | { vaultId?: any; beneficiary?: any; expiresAtFrame?: any; signature?: any }
2050
+ | {
2051
+ vaultId?: any;
2052
+ beneficiary?: any;
2053
+ expiresAtFrame?: any;
2054
+ backfillBondsToUnreserve?: any;
2055
+ signature?: any;
2056
+ }
2027
2057
  | string,
2028
2058
  ) => SubmittableExtrinsic<ApiType>,
2029
2059
  [u32, u32, Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof>]
@@ -2037,6 +2067,20 @@ declare module '@polkadot/api-base/types/submittable' {
2037
2067
  (bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
2038
2068
  [u64]
2039
2069
  >;
2070
+ setBackfillBondsReserved: AugmentedSubmittable<
2071
+ (
2072
+ vaultId: u32 | AnyNumber | Uint8Array,
2073
+ backfillBondsReserved: u32 | AnyNumber | Uint8Array,
2074
+ ) => SubmittableExtrinsic<ApiType>,
2075
+ [u32, u32]
2076
+ >;
2077
+ setBondLotAsBackfill: AugmentedSubmittable<
2078
+ (
2079
+ bondLotId: u64 | AnyNumber | Uint8Array,
2080
+ isBackfill: bool | boolean | Uint8Array,
2081
+ ) => SubmittableExtrinsic<ApiType>,
2082
+ [u64, bool]
2083
+ >;
2040
2084
  };
2041
2085
  txPause: {
2042
2086
  /**
@@ -2259,7 +2303,6 @@ declare module '@polkadot/api-base/types/submittable' {
2259
2303
  | PalletVaultsVaultConfig
2260
2304
  | {
2261
2305
  terms?: any;
2262
- name?: any;
2263
2306
  delegateAccountId?: any;
2264
2307
  securitization?: any;
2265
2308
  bitcoinXpubkey?: any;
@@ -2320,6 +2363,13 @@ declare module '@polkadot/api-base/types/submittable' {
2320
2363
  ) => SubmittableExtrinsic<ApiType>,
2321
2364
  [u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]
2322
2365
  >;
2366
+ setBackfillSecuritizationReserved: AugmentedSubmittable<
2367
+ (
2368
+ vaultId: u32 | AnyNumber | Uint8Array,
2369
+ backfillSecuritizationReserved: u128 | AnyNumber | Uint8Array,
2370
+ ) => SubmittableExtrinsic<ApiType>,
2371
+ [u32, u128]
2372
+ >;
2323
2373
  setCommittedArgonots: AugmentedSubmittable<
2324
2374
  (amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
2325
2375
  [Compact<u128>]
@@ -2330,10 +2380,6 @@ declare module '@polkadot/api-base/types/submittable' {
2330
2380
  ) => SubmittableExtrinsic<ApiType>,
2331
2381
  [Option<AccountId32>]
2332
2382
  >;
2333
- setName: AugmentedSubmittable<
2334
- (name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>,
2335
- [Option<Bytes>]
2336
- >;
2337
2383
  };
2338
2384
  } // AugmentedSubmittables
2339
2385
  } // declare module