@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.4.10-dev.459cb75f",
3
+ "version": "1.4.10-dev.4dee3b2f",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,11 +14,14 @@
14
14
  "homepage": "https://github.com/argonprotocol/mainchain#readme",
15
15
  "scripts": {
16
16
  "build": "yarn generate:defs && yarn generate:meta && node clean-build.js && yarn tsc",
17
+ "generate:contract-declarations": "tsc -p tsconfig.contracts.json",
17
18
  "generate:defs": "polkadot-types-from-defs --endpoint metadata.json --input ./src/interfaces --package @argonprotocol/mainchain/interfaces",
18
19
  "generate:meta": "polkadot-types-from-chain --endpoint metadata.json --output ./src/interfaces --package @argonprotocol/mainchain/interfaces --strict",
19
20
  "test": "vitest --run --config vitest.config.ts",
20
- "tsc": "yarn workspace @argonprotocol/ethereum-contracts build && tsup",
21
- "watch": "tsup --watch",
21
+ "tsc": "yarn workspace @argonprotocol/ethereum-contracts build && yarn generate:contract-declarations && tsup && yarn validate:package",
22
+ "tsup": "yarn tsc",
23
+ "validate:package": "tsx src/scripts/validatePackage.ts",
24
+ "watch": "yarn generate:contract-declarations && tsup --watch",
22
25
  "typecheck": "tsc --noEmit -p tsconfig.test.json"
23
26
  },
24
27
  "files": [
@@ -65,7 +68,7 @@
65
68
  },
66
69
  "devDependencies": {
67
70
  "@argonprotocol/ethereum-contracts": "workspace:*",
68
- "@argonprotocol/testing": "1.4.10-dev.459cb75f",
71
+ "@argonprotocol/testing": "1.4.10-dev.4dee3b2f",
69
72
  "@polkadot/typegen": "^16.5.6",
70
73
  "@substrate/ss58-registry": "^1.51.0",
71
74
  "@types/node": "^20",
@@ -103,7 +103,8 @@ declare module '@polkadot/api-base/types/consts' {
103
103
  **/
104
104
  maximumSatoshiThresholdFromExpected: u64 & AugmentedConst<ApiType>;
105
105
  /**
106
- * Maximum bitcoin blocks to watch a Utxo for confirmation before canceling
106
+ * Maximum bitcoin blocks to accept a UTXO for confirmation. Expired locks remain watched
107
+ * for this many additional blocks so late funding can be detected as orphaned.
107
108
  **/
108
109
  maxPendingConfirmationBlocks: u64 & AugmentedConst<ApiType>;
109
110
  /**
@@ -160,6 +161,12 @@ declare module '@polkadot/api-base/types/consts' {
160
161
  **/
161
162
  targetBlockVotes: u128 & AugmentedConst<ApiType>;
162
163
  };
164
+ bootstrap: {
165
+ /**
166
+ * Maximum number of bytes in an encrypted recovery or endpoint payload.
167
+ **/
168
+ maxEncryptedPayloadLen: u32 & AugmentedConst<ApiType>;
169
+ };
163
170
  crosschainTransfer: {
164
171
  /**
165
172
  * Minimum remaining frame commitment required when reading vault committed collateral
@@ -370,13 +377,13 @@ declare module '@polkadot/api-base/types/consts' {
370
377
  **/
371
378
  bitcoinLockSizeForAccessCode: u128 & AugmentedConst<ApiType>;
372
379
  /**
373
- * Maximum number of available access codes allowed at once.
380
+ * Maximum number of accrued access codes awarded at one frame boundary.
374
381
  **/
375
- maxAvailableAccessCodes: u32 & AugmentedConst<ApiType>;
382
+ maxAccessCodeAwardsPerFrame: u32 & AugmentedConst<ApiType>;
376
383
  /**
377
- * Maximum number of encrypted server bytes stored per network account.
384
+ * Maximum number of available access codes allowed at once.
378
385
  **/
379
- maxEncryptedServerLen: u32 & AugmentedConst<ApiType>;
386
+ maxAvailableAccessCodes: u32 & AugmentedConst<ApiType>;
380
387
  /**
381
388
  * Minimum bitcoin amount required to register.
382
389
  **/
@@ -468,6 +475,10 @@ declare module '@polkadot/api-base/types/consts' {
468
475
  * The maximum number of ticks to preserve a price index
469
476
  **/
470
477
  maxDowntimeTicksBeforeReset: u64 & AugmentedConst<ApiType>;
478
+ /**
479
+ * Maximum number of per-frame Ethereum price buckets to retain.
480
+ **/
481
+ maxEthereumPriceHistoryFrames: u32 & AugmentedConst<ApiType>;
471
482
  /**
472
483
  * The oldest history to keep
473
484
  **/
@@ -640,11 +651,6 @@ declare module '@polkadot/api-base/types/consts' {
640
651
  batchedCallsLimit: u32 & AugmentedConst<ApiType>;
641
652
  };
642
653
  vaults: {
643
- /**
644
- * One no-fee stale `initialize_for` failure is allowed for each this-many units of lost
645
- * `available_for_lock`.
646
- **/
647
- capacityDropAttemptUnit: u128 & AugmentedConst<ApiType>;
648
654
  /**
649
655
  * Max concurrent cosigns pending per vault
650
656
  **/
@@ -653,10 +659,6 @@ declare module '@polkadot/api-base/types/consts' {
653
659
  * The max pending vault term changes per block
654
660
  **/
655
661
  maxPendingTermModificationsPerTick: u32 & AugmentedConst<ApiType>;
656
- /**
657
- * Maximum number of recent `available_for_lock` drops retained per vault.
658
- **/
659
- maxRecentCapacityDropsPerVault: u32 & AugmentedConst<ApiType>;
660
662
  /**
661
663
  * The max number of vaults that can be created
662
664
  **/
@@ -669,10 +671,6 @@ declare module '@polkadot/api-base/types/consts' {
669
671
  * Minimum vault securitization required while the operational floor lock is active.
670
672
  **/
671
673
  operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
672
- /**
673
- * Number of Argon blocks to keep recent `available_for_lock` drops for stale init checks.
674
- **/
675
- recentCapacityDropBlockWindow: u32 & AugmentedConst<ApiType>;
676
674
  /**
677
675
  * The number of frames within which revenue must be collected
678
676
  **/
@@ -98,6 +98,30 @@ declare module '@polkadot/api-base/types/errors' {
98
98
  * An overflow occurred recording a lock expiration
99
99
  **/
100
100
  ExpirationAtBlockOverflow: AugmentedError<ApiType>;
101
+ /**
102
+ * The fee coupon nonce has already been consumed or superseded.
103
+ **/
104
+ FeeCouponAlreadyUsed: AugmentedError<ApiType>;
105
+ /**
106
+ * The fee coupon is past its expiration frame.
107
+ **/
108
+ FeeCouponExpired: AugmentedError<ApiType>;
109
+ /**
110
+ * Fee coupons can only be applied when initializing a lock.
111
+ **/
112
+ FeeCouponOnlyForInitialization: AugmentedError<ApiType>;
113
+ /**
114
+ * The fee coupon was issued for a different beneficiary.
115
+ **/
116
+ FeeCouponWrongAccount: AugmentedError<ApiType>;
117
+ /**
118
+ * The fee coupon was issued for a different chain.
119
+ **/
120
+ FeeCouponWrongChain: AugmentedError<ApiType>;
121
+ /**
122
+ * The fee coupon was issued for a different vault.
123
+ **/
124
+ FeeCouponWrongVault: AugmentedError<ApiType>;
101
125
  /**
102
126
  * Cannot request an orphaned release for the funding UTXO
103
127
  **/
@@ -124,6 +148,10 @@ declare module '@polkadot/api-base/types/errors' {
124
148
  * The bitcoin script to lock this bitcoin has errors
125
149
  **/
126
150
  InvalidBitcoinScript: AugmentedError<ApiType>;
151
+ /**
152
+ * The fee coupon was not signed by the vault delegate.
153
+ **/
154
+ InvalidFeeCouponSignature: AugmentedError<ApiType>;
127
155
  /**
128
156
  * Funding would result in an overflow of the balance type
129
157
  **/
@@ -352,6 +380,20 @@ declare module '@polkadot/api-base/types/errors' {
352
380
  **/
353
381
  MaxNotebooksAtTickExceeded: AugmentedError<ApiType>;
354
382
  };
383
+ bootstrap: {
384
+ /**
385
+ * The encrypted payload exceeds [`Config::MaxEncryptedPayloadLen`].
386
+ **/
387
+ EncryptedPayloadTooLong: AugmentedError<ApiType>;
388
+ /**
389
+ * The endpoint public key is already owned by a different account.
390
+ **/
391
+ EndpointOwnedByAnotherAccount: AugmentedError<ApiType>;
392
+ /**
393
+ * The recovery proof does not authorize this writer, public key, and payload.
394
+ **/
395
+ InvalidRecoveryProof: AugmentedError<ApiType>;
396
+ };
355
397
  crosschainTransfer: {
356
398
  /**
357
399
  * The force-set cut would discard a queue entry that already has local quorum.
@@ -990,10 +1032,6 @@ declare module '@polkadot/api-base/types/errors' {
990
1032
  * An account cannot grant access to itself.
991
1033
  **/
992
1034
  CannotGrantAccessToSelf: AugmentedError<ApiType>;
993
- /**
994
- * The encrypted server payload exceeds the configured max length.
995
- **/
996
- EncryptedServerTooLong: AugmentedError<ApiType>;
997
1035
  /**
998
1036
  * The upstream access proof is invalid.
999
1037
  **/
@@ -1002,6 +1040,11 @@ declare module '@polkadot/api-base/types/errors' {
1002
1040
  * One of the linked account ownership proofs is invalid.
1003
1041
  **/
1004
1042
  InvalidAccountProof: AugmentedError<ApiType>;
1043
+ /**
1044
+ * Profile names must start with an uppercase ASCII letter and otherwise be ASCII
1045
+ * alphanumeric.
1046
+ **/
1047
+ InvalidName: AugmentedError<ApiType>;
1005
1048
  /**
1006
1049
  * The caller is not one of the accounts included in the registration.
1007
1050
  **/
@@ -1026,10 +1069,6 @@ declare module '@polkadot/api-base/types/errors' {
1026
1069
  * The requested account has not registered operational accounts.
1027
1070
  **/
1028
1071
  NotOperationalAccount: AugmentedError<ApiType>;
1029
- /**
1030
- * The caller is not the upstream account for the requested downstream account.
1031
- **/
1032
- NotUpstreamOfDownstream: AugmentedError<ApiType>;
1033
1072
  /**
1034
1073
  * A valid invite is required to register an operational account.
1035
1074
  **/
@@ -1110,6 +1149,10 @@ declare module '@polkadot/api-base/types/errors' {
1110
1149
  VestingBalance: AugmentedError<ApiType>;
1111
1150
  };
1112
1151
  priceIndex: {
1152
+ /**
1153
+ * Ethereum prices must be non-zero and correspond to the submitted price-index tick.
1154
+ **/
1155
+ InvalidEthereumPrices: AugmentedError<ApiType>;
1113
1156
  /**
1114
1157
  * Change in argon price is too large
1115
1158
  **/
@@ -1228,6 +1271,10 @@ declare module '@polkadot/api-base/types/errors' {
1228
1271
  * The bond lot is already scheduled for release.
1229
1272
  **/
1230
1273
  BondLotAlreadyReleasing: AugmentedError<ApiType>;
1274
+ /**
1275
+ * Only an active vault bond owned by its operator can be used as backfill.
1276
+ **/
1277
+ BondLotNotEligibleForBackfill: AugmentedError<ApiType>;
1231
1278
  /**
1232
1279
  * The bond lot could not be found.
1233
1280
  **/
@@ -1276,6 +1323,10 @@ declare module '@polkadot/api-base/types/errors' {
1276
1323
  * Too many bond lot releases are scheduled for the same frame.
1277
1324
  **/
1278
1325
  MaxPendingBondReleasesExceeded: AugmentedError<ApiType>;
1326
+ /**
1327
+ * The caller does not have permission to perform this action.
1328
+ **/
1329
+ NoPermissions: AugmentedError<ApiType>;
1279
1330
  /**
1280
1331
  * The caller does not own the bond lot.
1281
1332
  **/
@@ -1357,11 +1408,6 @@ declare module '@polkadot/api-base/types/errors' {
1357
1408
  * Funding would result in an overflow of the balance type
1358
1409
  **/
1359
1410
  InvalidVaultAmount: AugmentedError<ApiType>;
1360
- /**
1361
- * Vault names must start with an uppercase ASCII letter and otherwise be ASCII
1362
- * alphanumeric.
1363
- **/
1364
- InvalidVaultName: AugmentedError<ApiType>;
1365
1411
  /**
1366
1412
  * Unable to decode xpubkey
1367
1413
  **/
@@ -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.
@@ -1273,14 +1298,6 @@ declare module '@polkadot/api-base/types/events' {
1273
1298
  [account: AccountId32],
1274
1299
  { account: AccountId32 }
1275
1300
  >;
1276
- /**
1277
- * An upstream account updated the encrypted server payload for a downstream account.
1278
- **/
1279
- EncryptedServerUpdated: AugmentedEvent<
1280
- ApiType,
1281
- [upstreamAccount: AccountId32, downstreamAccount: AccountId32],
1282
- { upstreamAccount: AccountId32; downstreamAccount: AccountId32 }
1283
- >;
1284
1301
  /**
1285
1302
  * An operational account was registered with its linked accounts.
1286
1303
  **/
@@ -1830,6 +1847,16 @@ declare module '@polkadot/api-base/types/events' {
1830
1847
  >;
1831
1848
  };
1832
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
+ >;
1833
1860
  /**
1834
1861
  * A bond purchase entered its active program set.
1835
1862
  **/
@@ -2074,6 +2101,11 @@ declare module '@polkadot/api-base/types/events' {
2074
2101
  >;
2075
2102
  };
2076
2103
  vaults: {
2104
+ BackfillSecuritizationReservedChanged: AugmentedEvent<
2105
+ ApiType,
2106
+ [vaultId: u32, backfillSecuritizationReserved: u128],
2107
+ { vaultId: u32; backfillSecuritizationReserved: u128 }
2108
+ >;
2077
2109
  CommittedArgonotsSet: AugmentedEvent<
2078
2110
  ApiType,
2079
2111
  [vaultId: u32, operatorAccountId: AccountId32, amount: u128],
@@ -66,6 +66,8 @@ import type {
66
66
  PalletBitcoinLocksLockReleaseRequest,
67
67
  PalletBitcoinLocksLockedBitcoin,
68
68
  PalletBitcoinLocksOrphanedUtxo,
69
+ PalletBootstrapEndpointPubkey,
70
+ PalletBootstrapRecoveryPubkey,
69
71
  PalletCrosschainTransferAccountTransferTotals,
70
72
  PalletCrosschainTransferChainConfig,
71
73
  PalletCrosschainTransferCouncilApprovalQueueEntry,
@@ -96,6 +98,8 @@ import type {
96
98
  PalletOperationalAccountsRewardsConfig,
97
99
  PalletPriceIndexArgonotAverageFrameAccumulator,
98
100
  PalletPriceIndexCpiMeasurementBucket,
101
+ PalletPriceIndexEthereumPriceFrameAccumulator,
102
+ PalletPriceIndexEthereumPriceIndex,
99
103
  PalletPriceIndexPriceIndex,
100
104
  PalletProxyAnnouncement,
101
105
  PalletProxyProxyDefinition,
@@ -104,7 +108,7 @@ import type {
104
108
  PalletTreasuryBondLotSummary,
105
109
  PalletTreasuryFrameArgonotBondParticipants,
106
110
  PalletTreasuryFrameVaultCapital,
107
- PalletVaultsRecentCapacityDrop,
111
+ PalletTreasuryVaultBondState,
108
112
  PalletVaultsVaultFrameRevenue,
109
113
  SpConsensusGrandpaAppPublic,
110
114
  SpRuntimeDigest,
@@ -206,6 +210,14 @@ declare module '@polkadot/api-base/types/storage' {
206
210
  totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
207
211
  };
208
212
  bitcoinLocks: {
213
+ lastFeeCouponNonceByVaultAndAccount: AugmentedQuery<
214
+ ApiType,
215
+ (
216
+ arg1: u32 | AnyNumber | Uint8Array,
217
+ arg2: AccountId32 | string | Uint8Array,
218
+ ) => Observable<Option<u64>>,
219
+ [u32, AccountId32]
220
+ >;
209
221
  /**
210
222
  * Utxos that have been requested to be cosigned for releasing
211
223
  **/
@@ -338,7 +350,8 @@ declare module '@polkadot/api-base/types/storage' {
338
350
  []
339
351
  >;
340
352
  /**
341
- * Pending funding entries that have expired and are awaiting bounded cleanup.
353
+ * Pending funding entries that have expired. These remain watched until their additional
354
+ * orphan-detection window ends, then await bounded cleanup.
342
355
  **/
343
356
  expiredPendingFunding: AugmentedQuery<
344
357
  ApiType,
@@ -512,6 +525,40 @@ declare module '@polkadot/api-base/types/storage' {
512
525
  **/
513
526
  voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
514
527
  };
528
+ bootstrap: {
529
+ /**
530
+ * Encrypted endpoint payload keyed by its public key.
531
+ *
532
+ * The pallet enforces ownership and length but does not parse or verify encryption.
533
+ **/
534
+ encryptedEndpointByPubkey: AugmentedQuery<
535
+ ApiType,
536
+ (arg: PalletBootstrapEndpointPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
537
+ [PalletBootstrapEndpointPubkey]
538
+ >;
539
+ /**
540
+ * Encrypted recovery payload authorized by the corresponding recovery key.
541
+ *
542
+ * The pallet enforces authorization and length but does not parse or verify encryption.
543
+ **/
544
+ encryptedRecoveryPayloadByPubkey: AugmentedQuery<
545
+ ApiType,
546
+ (arg: PalletBootstrapRecoveryPubkey | string | Uint8Array) => Observable<Option<Bytes>>,
547
+ [PalletBootstrapRecoveryPubkey]
548
+ >;
549
+ /**
550
+ * Account authorized to update an encrypted endpoint payload.
551
+ *
552
+ * The first successful [`Pallet::set_endpoint`] call for a public key establishes its owner.
553
+ **/
554
+ endpointOwnerByPubkey: AugmentedQuery<
555
+ ApiType,
556
+ (
557
+ arg: PalletBootstrapEndpointPubkey | string | Uint8Array,
558
+ ) => Observable<Option<AccountId32>>,
559
+ [PalletBootstrapEndpointPubkey]
560
+ >;
561
+ };
515
562
  crosschainTransfer: {
516
563
  /**
517
564
  * The active Global Issuance Council hash in force for each destination chain.
@@ -1272,13 +1319,18 @@ declare module '@polkadot/api-base/types/storage' {
1272
1319
  };
1273
1320
  operationalAccounts: {
1274
1321
  /**
1275
- * Opaque encrypted upstream server payload keyed by the downstream account.
1322
+ * Set of operational accounts that have met both follow-on access-code thresholds.
1323
+ * The key count weights frame processing without scanning the set twice.
1276
1324
  **/
1277
- encryptedServerByDownstreamAccount: AugmentedQuery<
1325
+ accessCodeReadyAccounts: AugmentedQuery<
1278
1326
  ApiType,
1279
- (arg: AccountId32 | string | Uint8Array) => Observable<Option<Bytes>>,
1327
+ (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>,
1280
1328
  [AccountId32]
1281
1329
  >;
1330
+ /**
1331
+ * Counter for the related counted storage map
1332
+ **/
1333
+ counterForAccessCodeReadyAccounts: AugmentedQuery<ApiType, () => Observable<u32>, []>;
1282
1334
  /**
1283
1335
  * Whether operational-account access is invite-only.
1284
1336
  *
@@ -1403,6 +1455,14 @@ declare module '@polkadot/api-base/types/storage' {
1403
1455
  * Stores the active price index
1404
1456
  **/
1405
1457
  current: AugmentedQuery<ApiType, () => Observable<Option<PalletPriceIndexPriceIndex>>, []>;
1458
+ /**
1459
+ * Stores the latest submitted Ethereum pricing.
1460
+ **/
1461
+ currentEthereumPrice: AugmentedQuery<
1462
+ ApiType,
1463
+ () => Observable<Option<PalletPriceIndexEthereumPriceIndex>>,
1464
+ []
1465
+ >;
1406
1466
  /**
1407
1467
  * Accumulates the current frame's Argonot price samples until the frame closes.
1408
1468
  **/
@@ -1435,6 +1495,14 @@ declare module '@polkadot/api-base/types/storage' {
1435
1495
  () => Observable<BTreeMap<u64, u128>>,
1436
1496
  []
1437
1497
  >;
1498
+ /**
1499
+ * Stores per-frame Ethereum price totals used for the trailing averages.
1500
+ **/
1501
+ historicEthereumPricesByFrame: AugmentedQuery<
1502
+ ApiType,
1503
+ () => Observable<BTreeMap<u64, PalletPriceIndexEthereumPriceFrameAccumulator>>,
1504
+ []
1505
+ >;
1438
1506
  /**
1439
1507
  * Stores the last valid price index
1440
1508
  **/
@@ -1659,7 +1727,8 @@ declare module '@polkadot/api-base/types/storage' {
1659
1727
  };
1660
1728
  treasury: {
1661
1729
  /**
1662
- * The active top Argonot bond lots kept in ascending bond order, then lower ids first.
1730
+ * The active Argonot set keeps the smallest bond amount first, then lower ids first when
1731
+ * amounts tie.
1663
1732
  **/
1664
1733
  argonotBondLots: AugmentedQuery<
1665
1734
  ApiType,
@@ -1686,13 +1755,15 @@ declare module '@polkadot/api-base/types/storage' {
1686
1755
  [AccountId32, u64]
1687
1756
  >;
1688
1757
  /**
1689
- * The accepted bond lots for a vault.
1758
+ * The active bond state for a vault.
1690
1759
  *
1691
- * Lots are kept in descending bond order, then lower `bond_lot_id` first for ties.
1760
+ * The bounded payout set keeps the largest bond amount first, then lower `bond_lot_id` first
1761
+ * when amounts tie. Backfill lots remain in `BondLotById` and are represented here by their
1762
+ * aggregate.
1692
1763
  **/
1693
1764
  bondLotsByVault: AugmentedQuery<
1694
1765
  ApiType,
1695
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletTreasuryBondLotSummary>>,
1766
+ (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletTreasuryVaultBondState>,
1696
1767
  [u32]
1697
1768
  >;
1698
1769
  /**
@@ -1809,14 +1880,6 @@ declare module '@polkadot/api-base/types/storage' {
1809
1880
  (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<u32>>,
1810
1881
  [u64]
1811
1882
  >;
1812
- /**
1813
- * Recent reductions in `available_for_lock`, grouped by vault.
1814
- **/
1815
- recentCapacityDropsByVault: AugmentedQuery<
1816
- ApiType,
1817
- (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsRecentCapacityDrop>>,
1818
- [u32]
1819
- >;
1820
1883
  /**
1821
1884
  * Tracks revenue from Bitcoin Locks and Treasury Pools for the trailing frames for each vault
1822
1885
  * (a frame is a "mining day" in Argon). Newest frames are first. Frames are removed after the