@argonprotocol/mainchain 1.4.10 → 1.4.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.4.10",
3
+ "version": "1.4.11",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@argonprotocol/ethereum-contracts": "workspace:*",
68
- "@argonprotocol/testing": "1.4.10",
68
+ "@argonprotocol/testing": "1.4.11",
69
69
  "@polkadot/typegen": "^16.5.6",
70
70
  "@substrate/ss58-registry": "^1.51.0",
71
71
  "@types/node": "^20",
@@ -1,4 +1,5 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
2
3
 
3
4
  // import type lookup before we augment - in some environments
4
5
  // this is required to allow for ambient/previous definitions
@@ -159,6 +160,12 @@ declare module '@polkadot/api-base/types/consts' {
159
160
  **/
160
161
  targetBlockVotes: u128 & AugmentedConst<ApiType>;
161
162
  };
163
+ bootstrap: {
164
+ /**
165
+ * Maximum number of bytes in an encrypted recovery or endpoint payload.
166
+ **/
167
+ maxEncryptedPayloadLen: u32 & AugmentedConst<ApiType>;
168
+ };
162
169
  crosschainTransfer: {
163
170
  /**
164
171
  * Minimum remaining frame commitment required when reading vault committed collateral
@@ -372,10 +379,6 @@ declare module '@polkadot/api-base/types/consts' {
372
379
  * Maximum number of available access codes allowed at once.
373
380
  **/
374
381
  maxAvailableAccessCodes: u32 & AugmentedConst<ApiType>;
375
- /**
376
- * Maximum number of encrypted server bytes stored per network account.
377
- **/
378
- maxEncryptedServerLen: u32 & AugmentedConst<ApiType>;
379
382
  /**
380
383
  * Minimum bitcoin amount required to register.
381
384
  **/
@@ -467,6 +470,10 @@ declare module '@polkadot/api-base/types/consts' {
467
470
  * The maximum number of ticks to preserve a price index
468
471
  **/
469
472
  maxDowntimeTicksBeforeReset: u64 & AugmentedConst<ApiType>;
473
+ /**
474
+ * Maximum number of per-frame Ethereum price buckets to retain.
475
+ **/
476
+ maxEthereumPriceHistoryFrames: u32 & AugmentedConst<ApiType>;
470
477
  /**
471
478
  * The oldest history to keep
472
479
  **/
@@ -352,6 +352,20 @@ declare module '@polkadot/api-base/types/errors' {
352
352
  **/
353
353
  MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
354
354
  };
355
+ bootstrap: {
356
+ /**
357
+ * The encrypted payload exceeds [`Config::MaxEncryptedPayloadLen`].
358
+ **/
359
+ EncryptedPayloadTooLong: AugmentedError<ApiType>;
360
+ /**
361
+ * The endpoint public key is already owned by a different account.
362
+ **/
363
+ EndpointOwnedByAnotherAccount: AugmentedError<ApiType>;
364
+ /**
365
+ * The recovery proof does not authorize this writer, public key, and payload.
366
+ **/
367
+ InvalidRecoveryProof: AugmentedError<ApiType>;
368
+ };
355
369
  crosschainTransfer: {
356
370
  /**
357
371
  * The force-set cut would discard a queue entry that already has local quorum.
@@ -369,6 +383,10 @@ declare module '@polkadot/api-base/types/errors' {
369
383
  * The account has not registered a council signer for this destination chain.
370
384
  **/
371
385
  CouncilSignerNotRegistered: AugmentedError<ApiType>;
386
+ /**
387
+ * The account already has a council signer rotation pending for this destination chain.
388
+ **/
389
+ CouncilSignerRotationPending: AugmentedError<ApiType>;
372
390
  /**
373
391
  * The supplied Global Issuance Council contains the same account more than once.
374
392
  **/
@@ -986,10 +1004,6 @@ declare module '@polkadot/api-base/types/errors' {
986
1004
  * An account cannot grant access to itself.
987
1005
  **/
988
1006
  CannotGrantAccessToSelf: AugmentedError<ApiType>;
989
- /**
990
- * The encrypted server payload exceeds the configured max length.
991
- **/
992
- EncryptedServerTooLong: AugmentedError<ApiType>;
993
1007
  /**
994
1008
  * The upstream access proof is invalid.
995
1009
  **/
@@ -1022,10 +1036,6 @@ declare module '@polkadot/api-base/types/errors' {
1022
1036
  * The requested account has not registered operational accounts.
1023
1037
  **/
1024
1038
  NotOperationalAccount: AugmentedError<ApiType>;
1025
- /**
1026
- * The caller is not the upstream account for the requested downstream account.
1027
- **/
1028
- NotUpstreamOfDownstream: AugmentedError<ApiType>;
1029
1039
  /**
1030
1040
  * A valid invite is required to register an operational account.
1031
1041
  **/
@@ -1106,6 +1116,10 @@ declare module '@polkadot/api-base/types/errors' {
1106
1116
  VestingBalance: AugmentedError<ApiType>;
1107
1117
  };
1108
1118
  priceIndex: {
1119
+ /**
1120
+ * Ethereum prices must be non-zero and correspond to the submitted price-index tick.
1121
+ **/
1122
+ InvalidEthereumPrices: AugmentedError<ApiType>;
1109
1123
  /**
1110
1124
  * Change in argon price is too large
1111
1125
  **/
@@ -1224,6 +1238,10 @@ declare module '@polkadot/api-base/types/errors' {
1224
1238
  * The bond lot is already scheduled for release.
1225
1239
  **/
1226
1240
  BondLotAlreadyReleasing: AugmentedError<ApiType>;
1241
+ /**
1242
+ * Only an active vault bond owned by its operator can be used as backfill.
1243
+ **/
1244
+ BondLotNotEligibleForBackfill: AugmentedError<ApiType>;
1227
1245
  /**
1228
1246
  * The bond lot could not be found.
1229
1247
  **/
@@ -1272,6 +1290,10 @@ declare module '@polkadot/api-base/types/errors' {
1272
1290
  * Too many bond lot releases are scheduled for the same frame.
1273
1291
  **/
1274
1292
  MaxPendingBondReleasesExceeded: AugmentedError<ApiType>;
1293
+ /**
1294
+ * The caller does not have permission to perform this action.
1295
+ **/
1296
+ NoPermissions: AugmentedError<ApiType>;
1275
1297
  /**
1276
1298
  * The caller does not own the bond lot.
1277
1299
  **/
@@ -38,6 +38,8 @@ import type {
38
38
  FrameSupportTokensMiscBalanceStatus,
39
39
  FrameSystemDispatchEventInfo,
40
40
  PalletBalancesUnexpectedKind,
41
+ PalletBootstrapEndpointPubkey,
42
+ PalletBootstrapRecoveryPubkey,
41
43
  PalletCrosschainTransferAssetKind,
42
44
  PalletCrosschainTransferCouncilApprovalTargetId,
43
45
  PalletCrosschainTransferGatewayState,
@@ -315,6 +317,11 @@ declare module '@polkadot/api-base/types/events' {
315
317
  [utxoId: u64, vaultId: u32, compensationAmount: u128, compensatedAccountId: AccountId32],
316
318
  { utxoId: u64; vaultId: u32; compensationAmount: u128; compensatedAccountId: AccountId32 }
317
319
  >;
320
+ BitcoinLockBackfillChanged: AugmentedEvent<
321
+ ApiType,
322
+ [utxoId: u64, vaultId: u32, isBackfill: bool],
323
+ { utxoId: u64; vaultId: u32; isBackfill: bool }
324
+ >;
318
325
  BitcoinLockBurned: AugmentedEvent<
319
326
  ApiType,
320
327
  [utxoId: u64, vaultId: u32, wasUtxoSpent: bool],
@@ -530,6 +537,24 @@ declare module '@polkadot/api-base/types/events' {
530
537
  }
531
538
  >;
532
539
  };
540
+ bootstrap: {
541
+ /**
542
+ * An encrypted endpoint payload was stored or replaced by its owner.
543
+ **/
544
+ EndpointUpdated: AugmentedEvent<
545
+ ApiType,
546
+ [endpointOwner: AccountId32, endpointPubkey: PalletBootstrapEndpointPubkey],
547
+ { endpointOwner: AccountId32; endpointPubkey: PalletBootstrapEndpointPubkey }
548
+ >;
549
+ /**
550
+ * An encrypted recovery payload was stored or replaced.
551
+ **/
552
+ RecoveryPayloadUpdated: AugmentedEvent<
553
+ ApiType,
554
+ [writer: AccountId32, recoveryPubkey: PalletBootstrapRecoveryPubkey],
555
+ { writer: AccountId32; recoveryPubkey: PalletBootstrapRecoveryPubkey }
556
+ >;
557
+ };
533
558
  crosschainTransfer: {
534
559
  /**
535
560
  * An account registered its council signer for one destination chain.
@@ -607,6 +632,22 @@ declare module '@polkadot/api-base/types/events' {
607
632
  [destinationChain: PalletCrosschainTransferSourceChain, councilHash: H256],
608
633
  { destinationChain: PalletCrosschainTransferSourceChain; councilHash: H256 }
609
634
  >;
635
+ /**
636
+ * A frame transition queued a new Global Issuance Council for destination-chain approval.
637
+ **/
638
+ GlobalIssuanceCouncilRotationQueued: AugmentedEvent<
639
+ ApiType,
640
+ [
641
+ destinationChain: PalletCrosschainTransferSourceChain,
642
+ councilHash: H256,
643
+ approvalQueueNonce: u64,
644
+ ],
645
+ {
646
+ destinationChain: PalletCrosschainTransferSourceChain;
647
+ councilHash: H256;
648
+ approvalQueueNonce: u64;
649
+ }
650
+ >;
610
651
  /**
611
652
  * Root updated the minimum normalized microgon value required to register a Minting
612
653
  * Authority on one destination chain.
@@ -1257,14 +1298,6 @@ declare module '@polkadot/api-base/types/events' {
1257
1298
  [account: AccountId32],
1258
1299
  { account: AccountId32 }
1259
1300
  >;
1260
- /**
1261
- * An upstream account updated the encrypted server payload for a downstream account.
1262
- **/
1263
- EncryptedServerUpdated: AugmentedEvent<
1264
- ApiType,
1265
- [upstreamAccount: AccountId32, downstreamAccount: AccountId32],
1266
- { upstreamAccount: AccountId32; downstreamAccount: AccountId32 }
1267
- >;
1268
1301
  /**
1269
1302
  * An operational account was registered with its linked accounts.
1270
1303
  **/
@@ -1814,6 +1847,16 @@ declare module '@polkadot/api-base/types/events' {
1814
1847
  >;
1815
1848
  };
1816
1849
  treasury: {
1850
+ BackfillBondsReservedChanged: AugmentedEvent<
1851
+ ApiType,
1852
+ [vaultId: u32, backfillBondsReserved: u32],
1853
+ { vaultId: u32; backfillBondsReserved: u32 }
1854
+ >;
1855
+ BondLotBackfillChanged: AugmentedEvent<
1856
+ ApiType,
1857
+ [vaultId: u32, bondLotId: u64, isBackfill: bool],
1858
+ { vaultId: u32; bondLotId: u64; isBackfill: bool }
1859
+ >;
1817
1860
  /**
1818
1861
  * A bond purchase entered its active program set.
1819
1862
  **/
@@ -2058,6 +2101,11 @@ declare module '@polkadot/api-base/types/events' {
2058
2101
  >;
2059
2102
  };
2060
2103
  vaults: {
2104
+ BackfillSecuritizationReservedChanged: AugmentedEvent<
2105
+ ApiType,
2106
+ [vaultId: u32, backfillSecuritizationReserved: u128],
2107
+ { vaultId: u32; backfillSecuritizationReserved: u128 }
2108
+ >;
2061
2109
  CommittedArgonotsSet: AugmentedEvent<
2062
2110
  ApiType,
2063
2111
  [vaultId: u32, operatorAccountId: AccountId32, amount: u128],
@@ -1,4 +1,5 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
2
3
 
3
4
  // import type lookup before we augment - in some environments
4
5
  // this is required to allow for ambient/previous definitions
@@ -65,6 +66,8 @@ import type {
65
66
  PalletBitcoinLocksLockReleaseRequest,
66
67
  PalletBitcoinLocksLockedBitcoin,
67
68
  PalletBitcoinLocksOrphanedUtxo,
69
+ PalletBootstrapEndpointPubkey,
70
+ PalletBootstrapRecoveryPubkey,
68
71
  PalletCrosschainTransferAccountTransferTotals,
69
72
  PalletCrosschainTransferChainConfig,
70
73
  PalletCrosschainTransferCouncilApprovalQueueEntry,
@@ -95,6 +98,8 @@ import type {
95
98
  PalletOperationalAccountsRewardsConfig,
96
99
  PalletPriceIndexArgonotAverageFrameAccumulator,
97
100
  PalletPriceIndexCpiMeasurementBucket,
101
+ PalletPriceIndexEthereumPriceFrameAccumulator,
102
+ PalletPriceIndexEthereumPriceIndex,
98
103
  PalletPriceIndexPriceIndex,
99
104
  PalletProxyAnnouncement,
100
105
  PalletProxyProxyDefinition,
@@ -103,6 +108,7 @@ import type {
103
108
  PalletTreasuryBondLotSummary,
104
109
  PalletTreasuryFrameArgonotBondParticipants,
105
110
  PalletTreasuryFrameVaultCapital,
111
+ PalletTreasuryVaultBondState,
106
112
  PalletVaultsRecentCapacityDrop,
107
113
  PalletVaultsVaultFrameRevenue,
108
114
  SpConsensusGrandpaAppPublic,
@@ -511,6 +517,40 @@ declare module '@polkadot/api-base/types/storage' {
511
517
  **/
512
518
  voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
513
519
  };
520
+ bootstrap: {
521
+ /**
522
+ * Encrypted endpoint payload keyed by its public key.
523
+ *
524
+ * The pallet enforces ownership and length but does not parse or verify encryption.
525
+ **/
526
+ encryptedEndpointByPubkey: AugmentedQuery<
527
+ ApiType,
528
+ (arg: PalletBootstrapEndpointPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
529
+ [PalletBootstrapEndpointPubkey]
530
+ >;
531
+ /**
532
+ * Encrypted recovery payload authorized by the corresponding recovery key.
533
+ *
534
+ * The pallet enforces authorization and length but does not parse or verify encryption.
535
+ **/
536
+ encryptedRecoveryPayloadByPubkey: AugmentedQuery<
537
+ ApiType,
538
+ (arg: PalletBootstrapRecoveryPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
539
+ [PalletBootstrapRecoveryPubkey]
540
+ >;
541
+ /**
542
+ * Account authorized to update an encrypted endpoint payload.
543
+ *
544
+ * The first successful [`Pallet::set_endpoint`] call for a public key establishes its owner.
545
+ **/
546
+ endpointOwnerByPubkey: AugmentedQuery<
547
+ ApiType,
548
+ (
549
+ arg: PalletBootstrapEndpointPubkey | string | Uint8Array,
550
+ ) => Observable<Option<AccountId32>>,
551
+ [PalletBootstrapEndpointPubkey]
552
+ >;
553
+ };
514
554
  crosschainTransfer: {
515
555
  /**
516
556
  * The active Global Issuance Council hash in force for each destination chain.
@@ -658,6 +698,16 @@ declare module '@polkadot/api-base/types/storage' {
658
698
  ) => Observable<u64>,
659
699
  [PalletCrosschainTransferSourceChain]
660
700
  >;
701
+ /**
702
+ * First frame where a new council snapshot may be added to a chain's approval queue.
703
+ **/
704
+ nextCouncilRotationFrameByDestinationChain: AugmentedQuery<
705
+ ApiType,
706
+ (
707
+ arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
708
+ ) => Observable<Option<u64>>,
709
+ [PalletCrosschainTransferSourceChain]
710
+ >;
661
711
  /**
662
712
  * Next outbound transfer nonce for each sending account.
663
713
  **/
@@ -1260,14 +1310,6 @@ declare module '@polkadot/api-base/types/storage' {
1260
1310
  >;
1261
1311
  };
1262
1312
  operationalAccounts: {
1263
- /**
1264
- * Opaque encrypted upstream server payload keyed by the downstream account.
1265
- **/
1266
- encryptedServerByDownstreamAccount: AugmentedQuery<
1267
- ApiType,
1268
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>,
1269
- [AccountId32]
1270
- >;
1271
1313
  /**
1272
1314
  * Whether operational-account access is invite-only.
1273
1315
  *
@@ -1392,6 +1434,14 @@ declare module '@polkadot/api-base/types/storage' {
1392
1434
  * Stores the active price index
1393
1435
  **/
1394
1436
  current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1437
+ /**
1438
+ * Stores Ethereum pricing submitted with the active price index.
1439
+ **/
1440
+ currentEthereumPrice: AugmentedQuery<
1441
+ ApiType,
1442
+ () => Observable<Option<PalletPriceIndexEthereumPriceIndex>>,
1443
+ []
1444
+ >;
1395
1445
  /**
1396
1446
  * Accumulates the current frame's Argonot price samples until the frame closes.
1397
1447
  **/
@@ -1424,6 +1474,14 @@ declare module '@polkadot/api-base/types/storage' {
1424
1474
  () => Observable<BTreeMap<u64, u128>>,
1425
1475
  []
1426
1476
  >;
1477
+ /**
1478
+ * Stores per-frame Ethereum price totals used for the trailing averages.
1479
+ **/
1480
+ historicEthereumPricesByFrame: AugmentedQuery<
1481
+ ApiType,
1482
+ () => Observable<BTreeMap<u64, PalletPriceIndexEthereumPriceFrameAccumulator>>,
1483
+ []
1484
+ >;
1427
1485
  /**
1428
1486
  * Stores the last valid price index
1429
1487
  **/
@@ -1648,7 +1706,8 @@ declare module '@polkadot/api-base/types/storage' {
1648
1706
  };
1649
1707
  treasury: {
1650
1708
  /**
1651
- * The active top Argonot bond lots kept in ascending bond order, then lower ids first.
1709
+ * The active Argonot set keeps the smallest bond amount first, then lower ids first when
1710
+ * amounts tie.
1652
1711
  **/
1653
1712
  argonotBondLots: AugmentedQuery<
1654
1713
  ApiType,
@@ -1675,13 +1734,15 @@ declare module '@polkadot/api-base/types/storage' {
1675
1734
  [AccountId32, u64]
1676
1735
  >;
1677
1736
  /**
1678
- * The accepted bond lots for a vault.
1737
+ * The active bond state for a vault.
1679
1738
  *
1680
- * Lots are kept in descending bond order, then lower `bond_lot_id` first for ties.
1739
+ * The bounded payout set keeps the largest bond amount first, then lower `bond_lot_id` first
1740
+ * when amounts tie. Backfill lots remain in `BondLotById` and are represented here by their
1741
+ * aggregate.
1681
1742
  **/
1682
1743
  bondLotsByVault: AugmentedQuery<
1683
1744
  ApiType,
1684
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletTreasuryBondLotSummary>>,
1745
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>,
1685
1746
  [u32]
1686
1747
  >;
1687
1748
  /**
@@ -1,4 +1,5 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
2
3
 
3
4
  // import type lookup before we augment - in some environments
4
5
  // this is required to allow for ambient/previous definitions
@@ -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,
@@ -366,6 +370,7 @@ declare module '@polkadot/api-base/types/submittable' {
366
370
  | PalletBitcoinLocksLockOptions
367
371
  | { V1: any }
368
372
  | string,
373
+ backfillSecuritizationToUnreserve: Compact<u128> | AnyNumber | Uint8Array,
369
374
  ) => SubmittableExtrinsic<ApiType>,
370
375
  [
371
376
  AccountId32,
@@ -373,6 +378,7 @@ declare module '@polkadot/api-base/types/submittable' {
373
378
  Compact<u64>,
374
379
  ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
375
380
  Option<PalletBitcoinLocksLockOptions>,
381
+ Compact<u128>,
376
382
  ]
377
383
  >;
378
384
  /**
@@ -432,6 +438,13 @@ declare module '@polkadot/api-base/types/submittable' {
432
438
  ) => SubmittableExtrinsic<ApiType>,
433
439
  [u64, Bytes, u64]
434
440
  >;
441
+ setAsBackfill: AugmentedSubmittable<
442
+ (
443
+ utxoId: u64 | AnyNumber | Uint8Array,
444
+ isBackfill: bool | boolean | Uint8Array,
445
+ ) => SubmittableExtrinsic<ApiType>,
446
+ [u64, bool]
447
+ >;
435
448
  };
436
449
  bitcoinUtxos: {
437
450
  /**
@@ -535,6 +548,35 @@ declare module '@polkadot/api-base/types/submittable' {
535
548
  [Option<u128>, Option<u128>]
536
549
  >;
537
550
  };
551
+ bootstrap: {
552
+ /**
553
+ * Store or replace an encrypted endpoint payload.
554
+ *
555
+ * The first writer for `endpoint_pubkey` becomes its owner. Later updates require the
556
+ * same signing account.
557
+ **/
558
+ setEndpoint: AugmentedSubmittable<
559
+ (
560
+ endpointPubkey: PalletBootstrapEndpointPubkey | string | Uint8Array,
561
+ encryptedEndpoint: Bytes | string | Uint8Array,
562
+ ) => SubmittableExtrinsic<ApiType>,
563
+ [PalletBootstrapEndpointPubkey, Bytes]
564
+ >;
565
+ /**
566
+ * Store or replace an encrypted recovery payload.
567
+ *
568
+ * The proof must be signed by `recovery_pubkey` and binds the submitting `writer`,
569
+ * `recovery_pubkey`, and the encrypted payload hash.
570
+ **/
571
+ setRecoveryPayload: AugmentedSubmittable<
572
+ (
573
+ recoveryPubkey: PalletBootstrapRecoveryPubkey | string | Uint8Array,
574
+ recoveryProof: PalletBootstrapRecoveryProof | { signature?: any } | string | Uint8Array,
575
+ encryptedRecoveryPayload: Bytes | string | Uint8Array,
576
+ ) => SubmittableExtrinsic<ApiType>,
577
+ [PalletBootstrapRecoveryPubkey, PalletBootstrapRecoveryProof, Bytes]
578
+ >;
579
+ };
538
580
  crosschainTransfer: {
539
581
  approveQueueEntries: AugmentedSubmittable<
540
582
  (
@@ -1177,16 +1219,6 @@ declare module '@polkadot/api-base/types/submittable' {
1177
1219
  ) => SubmittableExtrinsic<ApiType>,
1178
1220
  [PalletOperationalAccountsRegistration]
1179
1221
  >;
1180
- /**
1181
- * Store an opaque encrypted upstream server payload for a downstream account.
1182
- **/
1183
- setEncryptedServerForDownstreamAccount: AugmentedSubmittable<
1184
- (
1185
- downstreamAccount: AccountId32 | string | Uint8Array,
1186
- encryptedServer: Bytes | string | Uint8Array,
1187
- ) => SubmittableExtrinsic<ApiType>,
1188
- [AccountId32, Bytes]
1189
- >;
1190
1222
  /**
1191
1223
  * Update certification reward amounts for operational accounts.
1192
1224
  **/
@@ -1426,8 +1458,15 @@ declare module '@polkadot/api-base/types/submittable' {
1426
1458
  }
1427
1459
  | string
1428
1460
  | Uint8Array,
1461
+ ethereum:
1462
+ | Option<PalletPriceIndexEthereumPriceIndex>
1463
+ | null
1464
+ | Uint8Array
1465
+ | PalletPriceIndexEthereumPriceIndex
1466
+ | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any }
1467
+ | string,
1429
1468
  ) => SubmittableExtrinsic<ApiType>,
1430
- [PalletPriceIndexPriceIndex]
1469
+ [PalletPriceIndexPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
1431
1470
  >;
1432
1471
  };
1433
1472
  proxy: {
@@ -2023,7 +2062,13 @@ declare module '@polkadot/api-base/types/submittable' {
2023
2062
  | null
2024
2063
  | Uint8Array
2025
2064
  | ArgonPrimitivesVaultTreasuryBonusApprovalProof
2026
- | { vaultId?: any; beneficiary?: any; expiresAtFrame?: any; signature?: any }
2065
+ | {
2066
+ vaultId?: any;
2067
+ beneficiary?: any;
2068
+ expiresAtFrame?: any;
2069
+ backfillBondsToUnreserve?: any;
2070
+ signature?: any;
2071
+ }
2027
2072
  | string,
2028
2073
  ) => SubmittableExtrinsic<ApiType>,
2029
2074
  [u32, u32, Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof>]
@@ -2037,6 +2082,20 @@ declare module '@polkadot/api-base/types/submittable' {
2037
2082
  (bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
2038
2083
  [u64]
2039
2084
  >;
2085
+ setBackfillBondsReserved: AugmentedSubmittable<
2086
+ (
2087
+ vaultId: u32 | AnyNumber | Uint8Array,
2088
+ backfillBondsReserved: u32 | AnyNumber | Uint8Array,
2089
+ ) => SubmittableExtrinsic<ApiType>,
2090
+ [u32, u32]
2091
+ >;
2092
+ setBondLotAsBackfill: AugmentedSubmittable<
2093
+ (
2094
+ bondLotId: u64 | AnyNumber | Uint8Array,
2095
+ isBackfill: bool | boolean | Uint8Array,
2096
+ ) => SubmittableExtrinsic<ApiType>,
2097
+ [u64, bool]
2098
+ >;
2040
2099
  };
2041
2100
  txPause: {
2042
2101
  /**
@@ -2320,6 +2379,13 @@ declare module '@polkadot/api-base/types/submittable' {
2320
2379
  ) => SubmittableExtrinsic<ApiType>,
2321
2380
  [u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]
2322
2381
  >;
2382
+ setBackfillSecuritizationReserved: AugmentedSubmittable<
2383
+ (
2384
+ vaultId: u32 | AnyNumber | Uint8Array,
2385
+ backfillSecuritizationReserved: u128 | AnyNumber | Uint8Array,
2386
+ ) => SubmittableExtrinsic<ApiType>,
2387
+ [u32, u128]
2388
+ >;
2323
2389
  setCommittedArgonots: AugmentedSubmittable<
2324
2390
  (amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
2325
2391
  [Compact<u128>]
@@ -1,4 +1,5 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
+ /* eslint-disable */
2
3
 
3
4
  import './augment-api-consts.js';
4
5
  import './augment-api-errors.js';
@@ -1,4 +1,5 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2
+ /* eslint-disable */
2
3
 
3
4
  // import type lookup before we augment - in some environments
4
5
  // this is required to allow for ambient/previous definitions