@argonprotocol/mainchain 1.5.2 → 1.6.0-dev.0f1257cf

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.
Files changed (40) hide show
  1. package/README.md +95 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +401 -16
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +753 -0
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  11. package/browser/index.d.ts +13518 -8123
  12. package/browser/index.js +6458 -2506
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +573 -0
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +401 -16
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +753 -0
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +187 -0
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +391 -0
  23. package/lib/index.cjs +6428 -2499
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +13518 -8123
  26. package/lib/index.d.ts +13518 -8123
  27. package/lib/index.js +6710 -2781
  28. package/lib/index.js.map +1 -1
  29. package/package.json +17 -13
  30. package/src/interfaces/augment-api-consts.ts +183 -42
  31. package/src/interfaces/augment-api-errors.ts +408 -21
  32. package/src/interfaces/augment-api-events.ts +320 -1696
  33. package/src/interfaces/augment-api-query.ts +502 -1143
  34. package/src/interfaces/augment-api-rpc.ts +88 -613
  35. package/src/interfaces/augment-api-runtime.ts +255 -221
  36. package/src/interfaces/augment-api-tx.ts +403 -1633
  37. package/src/interfaces/augment-types.ts +46 -1350
  38. package/src/interfaces/lookup.ts +3844 -2824
  39. package/src/interfaces/registry.ts +132 -332
  40. package/src/interfaces/types-lookup.ts +4490 -3811
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2
- /* eslint-disable */
3
2
 
4
3
  // import type lookup before we augment - in some environments
5
4
  // this is required to allow for ambient/previous definitions
@@ -11,6 +10,96 @@ export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>
11
10
 
12
11
  declare module '@polkadot/api-base/types/errors' {
13
12
  interface AugmentedErrors<ApiType extends ApiTypes> {
13
+ accountSecurity: {
14
+ /**
15
+ * Initial enrollment cannot overwrite an existing policy.
16
+ **/
17
+ AlreadyRegistered: AugmentedError<ApiType>;
18
+ /**
19
+ * The main account or a required policy/recovery/acceptance signature is missing.
20
+ **/
21
+ ApprovalRequired: AugmentedError<ApiType>;
22
+ /**
23
+ * Nested depth, call count, or a native multisig's signatory count exceeds its limit.
24
+ **/
25
+ CallLimitExceeded: AugmentedError<ApiType>;
26
+ /**
27
+ * Authorization nonces cannot wrap or be reused.
28
+ **/
29
+ CounterExhausted: AugmentedError<ApiType>;
30
+ /**
31
+ * One account supplied more than one proof.
32
+ **/
33
+ DuplicateApproval: AugmentedError<ApiType>;
34
+ /**
35
+ * Linking would discard a participant's policy or backup authority.
36
+ **/
37
+ IncompatibleAccountProtection: AugmentedError<ApiType>;
38
+ /**
39
+ * Only recovery-origin management may be submitted through native wrappers.
40
+ **/
41
+ IndirectAuthorization: AugmentedError<ApiType>;
42
+ /**
43
+ * The approval expired or exceeds the allowed future lifetime.
44
+ **/
45
+ InvalidExpiry: AugmentedError<ApiType>;
46
+ /**
47
+ * The supplied nonce is not the group's next unused authorization nonce.
48
+ **/
49
+ InvalidNonce: AugmentedError<ApiType>;
50
+ /**
51
+ * A threshold is invalid or signers are empty, duplicated or not sorted.
52
+ **/
53
+ InvalidPolicy: AugmentedError<ApiType>;
54
+ /**
55
+ * A proxy origin or transfer destination could not be resolved to an account.
56
+ **/
57
+ InvalidProxy: AugmentedError<ApiType>;
58
+ /**
59
+ * A proof does not verify against its account and the exact canonical call payload.
60
+ **/
61
+ InvalidSignature: AugmentedError<ApiType>;
62
+ /**
63
+ * Native wallet signing context could not be constructed for this security call.
64
+ **/
65
+ InvalidSigningPayload: AugmentedError<ApiType>;
66
+ /**
67
+ * Signing roles overlap the protected group or recovery overlaps a policy signer.
68
+ **/
69
+ KeysNotIndependent: AugmentedError<ApiType>;
70
+ /**
71
+ * Only a group's default account may manage its configuration.
72
+ **/
73
+ NotDefaultAccount: AugmentedError<ApiType>;
74
+ /**
75
+ * The default account has not enrolled protection.
76
+ **/
77
+ NotRegistered: AugmentedError<ApiType>;
78
+ /**
79
+ * A delayed replacement is already pending; cancel it before proposing another.
80
+ **/
81
+ PolicyUpdatePending: AugmentedError<ApiType>;
82
+ /**
83
+ * The current tick has not reached the pending replacement's execution tick.
84
+ **/
85
+ RecoveryDelayActive: AugmentedError<ApiType>;
86
+ /**
87
+ * The account group or current policy differs from the signed authorization.
88
+ **/
89
+ StalePolicy: AugmentedError<ApiType>;
90
+ /**
91
+ * Adding the configured delay to the current tick would overflow.
92
+ **/
93
+ TickOverflow: AugmentedError<ApiType>;
94
+ /**
95
+ * No pending replacement exists with this proposal's consumed authorization nonce.
96
+ **/
97
+ UnknownPolicyUpdate: AugmentedError<ApiType>;
98
+ /**
99
+ * Pre-dispatch state cannot safely authorize the nested call combination.
100
+ **/
101
+ UnsupportedComposition: AugmentedError<ApiType>;
102
+ };
14
103
  balances: {
15
104
  /**
16
105
  * Beneficiary account must pre-exist.
@@ -102,6 +191,26 @@ declare module '@polkadot/api-base/types/errors' {
102
191
  * A source Lock's securitization does not cover the requested allocation and liability.
103
192
  **/
104
193
  InsufficientSecuritization: AugmentedError<ApiType>;
194
+ /**
195
+ * The fee coupon is invalid, expired, or already consumed.
196
+ **/
197
+ InvalidFeeCoupon: AugmentedError<ApiType>;
198
+ /**
199
+ * Zero is reserved for the absence of a Liquid and cannot identify a new allocation.
200
+ **/
201
+ InvalidLiquidId: AugmentedError<ApiType>;
202
+ /**
203
+ * Fissions can join an existing Liquid only during its original creation tick.
204
+ **/
205
+ LiquidCreationWindowClosed: AugmentedError<ApiType>;
206
+ /**
207
+ * This owner has no active Fissions in the selected Liquid.
208
+ **/
209
+ LiquidNotFound: AugmentedError<ApiType>;
210
+ /**
211
+ * This owner's Liquid has unsettled repayment purchases, so it cannot close or ratchet.
212
+ **/
213
+ LiquidRepaymentPending: AugmentedError<ApiType>;
105
214
  /**
106
215
  * The requested source Lock does not exist.
107
216
  **/
@@ -138,6 +247,22 @@ declare module '@polkadot/api-base/types/errors' {
138
247
  * The Fission's ratchet counter cannot be incremented.
139
248
  **/
140
249
  RatchetNumberOverflow: AugmentedError<ApiType>;
250
+ /**
251
+ * The actual burn exceeds the remaining purchase budget.
252
+ **/
253
+ RepaymentBudgetExceeded: AugmentedError<ApiType>;
254
+ /**
255
+ * The repayment requests more satoshis than the Fission currently allocates.
256
+ **/
257
+ RepaymentExceedsFission: AugmentedError<ApiType>;
258
+ /**
259
+ * A repayment must return at least one satoshi to its source Lock.
260
+ **/
261
+ RepaymentHasNoSatoshis: AugmentedError<ApiType>;
262
+ /**
263
+ * The Vault could not upgrade the guarantee assigned to this Fission.
264
+ **/
265
+ ResecuritizationFailed: AugmentedError<ApiType>;
141
266
  /**
142
267
  * The source Lock already has the maximum number of active Fissions.
143
268
  **/
@@ -221,10 +346,6 @@ declare module '@polkadot/api-base/types/errors' {
221
346
  * The requested Lock securitization has fewer satoshis than its active Fissions.
222
347
  **/
223
348
  InsufficientSatoshisForFissions: AugmentedError<ApiType>;
224
- /**
225
- * The requested Lock securitization does not cover its active Fission liabilities.
226
- **/
227
- InsufficientSecuritizationForFissions: AugmentedError<ApiType>;
228
349
  InsufficientVaultFunds: AugmentedError<ApiType>;
229
350
  /**
230
351
  * The external destination amount must be nonzero and fit with the network fee.
@@ -247,7 +368,7 @@ declare module '@polkadot/api-base/types/errors' {
247
368
  **/
248
369
  LockHasActiveFissions: AugmentedError<ApiType>;
249
370
  /**
250
- * A Lock in the release process cannot be resecuritized.
371
+ * A Lock's guarantee cannot be changed while release is pending.
251
372
  **/
252
373
  LockInProcessOfRelease: AugmentedError<ApiType>;
253
374
  /**
@@ -279,13 +400,13 @@ declare module '@polkadot/api-base/types/errors' {
279
400
  **/
280
401
  NoBitcoinPricesAvailable: AugmentedError<ApiType>;
281
402
  /**
282
- * The user does not have permissions to perform this action
403
+ * The requested securitization matches the Lock's current securitization.
283
404
  **/
284
- NoPermissions: AugmentedError<ApiType>;
405
+ NoGuaranteeChange: AugmentedError<ApiType>;
285
406
  /**
286
- * The requested securitization matches the Lock's current securitization.
407
+ * The user does not have permissions to perform this action
287
408
  **/
288
- NoResecuritizationChange: AugmentedError<ApiType>;
409
+ NoPermissions: AugmentedError<ApiType>;
289
410
  /**
290
411
  * No Vault public keys are available
291
412
  **/
@@ -377,7 +498,8 @@ declare module '@polkadot/api-base/types/errors' {
377
498
  **/
378
499
  UtxoNotLocked: AugmentedError<ApiType>;
379
500
  };
380
- blockRewards: {};
501
+ blockRewards: {
502
+ };
381
503
  blockSeal: {
382
504
  /**
383
505
  * A block seal authority could not be properly decoded
@@ -545,7 +667,8 @@ declare module '@polkadot/api-base/types/errors' {
545
667
  **/
546
668
  InsufficientMintingAuthorityCollateral: AugmentedError<ApiType>;
547
669
  /**
548
- * The configured source-chain shape is incomplete or malformed.
670
+ * Source-chain configuration is missing, has zero identifiers, or changes a canonical
671
+ * chain/token identity.
549
672
  **/
550
673
  InvalidChainConfig: AugmentedError<ApiType>;
551
674
  /**
@@ -568,6 +691,11 @@ declare module '@polkadot/api-base/types/errors' {
568
691
  * The supplied Global Issuance Council is empty or internally inconsistent.
569
692
  **/
570
693
  InvalidGlobalIssuanceCouncil: AugmentedError<ApiType>;
694
+ /**
695
+ * The canonical target is unavailable or cannot fit the gateway's signed 18-decimal
696
+ * inflation value when creating a council snapshot.
697
+ **/
698
+ InvalidInflationPercentSinceLaunch: AugmentedError<ApiType>;
571
699
  /**
572
700
  * The council-managed Argonot floor could not be determined from current pricing.
573
701
  **/
@@ -610,7 +738,7 @@ declare module '@polkadot/api-base/types/errors' {
610
738
  **/
611
739
  InvalidTransferCollateralUpdate: AugmentedError<ApiType>;
612
740
  /**
613
- * The transfer-out amount must be nonzero.
741
+ * The transfer-out amount is below the selected currency's minimum account balance.
614
742
  **/
615
743
  InvalidTransferOutAmount: AugmentedError<ApiType>;
616
744
  /**
@@ -800,14 +928,16 @@ declare module '@polkadot/api-base/types/errors' {
800
928
  ExecutionHeaderAnchorNotHistorical: AugmentedError<ApiType>;
801
929
  ExpectedFinalizedHeaderNotStored: AugmentedError<ApiType>;
802
930
  ForkDataHashTreeRootFailed: AugmentedError<ApiType>;
931
+ GloasForkAlreadyActive: AugmentedError<ApiType>;
803
932
  Halted: AugmentedError<ApiType>;
804
933
  HeaderHashTreeRootFailed: AugmentedError<ApiType>;
805
934
  InvalidBackfillHeaderRoot: AugmentedError<ApiType>;
806
935
  InvalidExecutionHeaderProof: AugmentedError<ApiType>;
807
936
  /**
808
- * The gap between finalized headers is larger than the retained historical window.
937
+ * Reserved error index; finalized updates are now bounded by authenticated committees.
809
938
  **/
810
939
  InvalidFinalizedHeaderGap: AugmentedError<ApiType>;
940
+ InvalidForkSchedule: AugmentedError<ApiType>;
811
941
  InvalidHeaderMerkleProof: AugmentedError<ApiType>;
812
942
  InvalidSyncCommitteeMerkleProof: AugmentedError<ApiType>;
813
943
  /**
@@ -899,7 +1029,15 @@ declare module '@polkadot/api-base/types/errors' {
899
1029
  };
900
1030
  miningSlot: {
901
1031
  /**
902
- * The mining bid cannot be reduced
1032
+ * The bid batch cannot settle until its reveal window has ended.
1033
+ **/
1034
+ BatchNotMature: AugmentedError<ApiType>;
1035
+ /**
1036
+ * The pending bid's maximum has already been revealed.
1037
+ **/
1038
+ BidAlreadyRevealed: AugmentedError<ApiType>;
1039
+ /**
1040
+ * Paid bids cannot decrease; public-only replacements must exceed the standing maximum.
903
1041
  **/
904
1042
  BidCannotBeReduced: AugmentedError<ApiType>;
905
1043
  /**
@@ -914,6 +1052,10 @@ declare module '@polkadot/api-base/types/errors' {
914
1052
  * An account can only have one active registration
915
1053
  **/
916
1054
  CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
1055
+ /**
1056
+ * The miner already has a submission awaiting clearing or maximum disclosure.
1057
+ **/
1058
+ DuplicateBidCommitment: AugmentedError<ApiType>;
917
1059
  /**
918
1060
  * The funding account does not have enough funds to cover the bid
919
1061
  **/
@@ -926,14 +1068,46 @@ declare module '@polkadot/api-base/types/errors' {
926
1068
  * Bids must be in allowed increments
927
1069
  **/
928
1070
  InvalidBidAmount: AugmentedError<ApiType>;
1071
+ /**
1072
+ * The revealed maximum and salt do not match the pending bid's hash.
1073
+ **/
1074
+ InvalidBidCommitment: AugmentedError<ApiType>;
1075
+ /**
1076
+ * The revealed maximum is lower than the public bid.
1077
+ **/
1078
+ InvalidBidRange: AugmentedError<ApiType>;
1079
+ /**
1080
+ * A maximum must be revealed in a block after submission and within the reveal window.
1081
+ **/
1082
+ InvalidRevealBlock: AugmentedError<ApiType>;
1083
+ /**
1084
+ * The miner has no pending bid with a committed maximum to reveal.
1085
+ **/
1086
+ MissingBidCommitment: AugmentedError<ApiType>;
1087
+ /**
1088
+ * The miner has no settled bid with a standing maximum in the upcoming auction.
1089
+ **/
1090
+ MissingStandingBid: AugmentedError<ApiType>;
929
1091
  /**
930
1092
  * Mining slot bidding currently requires a prior operational-account upgrade.
931
1093
  **/
932
1094
  OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
1095
+ /**
1096
+ * Bidding with a committed maximum is not enabled for the current auction frame.
1097
+ **/
1098
+ RangeAuctionNotActive: AugmentedError<ApiType>;
933
1099
  /**
934
1100
  * Bidding for the next cohort has closed
935
1101
  **/
936
1102
  SlotNotTakingBids: AugmentedError<ApiType>;
1103
+ /**
1104
+ * This block has reached the maximum number of pending bid submissions.
1105
+ **/
1106
+ TooManyBidCommitments: AugmentedError<ApiType>;
1107
+ /**
1108
+ * The disclosure queue already contains every commitment allowed in the reveal window.
1109
+ **/
1110
+ TooManyBidReveals: AugmentedError<ApiType>;
937
1111
  /**
938
1112
  * The cohort registration overflowed
939
1113
  **/
@@ -942,6 +1116,10 @@ declare module '@polkadot/api-base/types/errors' {
942
1116
  * The argonots on hold cannot be released
943
1117
  **/
944
1118
  UnrecoverableHold: AugmentedError<ApiType>;
1119
+ /**
1120
+ * The bid targets a different auction frame than the current one.
1121
+ **/
1122
+ WrongBidFrame: AugmentedError<ApiType>;
945
1123
  };
946
1124
  mint: {
947
1125
  TooManyPendingMints: AugmentedError<ApiType>;
@@ -1135,6 +1313,11 @@ declare module '@polkadot/api-base/types/errors' {
1135
1313
  * alphanumeric.
1136
1314
  **/
1137
1315
  InvalidName: AugmentedError<ApiType>;
1316
+ /**
1317
+ * The operational signature does not authorize this registration on this chain.
1318
+ * Clients using ownership-only proofs must upgrade to registration proof version 2.
1319
+ **/
1320
+ InvalidRegistrationProof: AugmentedError<ApiType>;
1138
1321
  /**
1139
1322
  * The caller is not one of the accounts included in the registration.
1140
1323
  **/
@@ -1243,6 +1426,10 @@ declare module '@polkadot/api-base/types/errors' {
1243
1426
  * Ethereum prices must be non-zero and correspond to the submitted price-index tick.
1244
1427
  **/
1245
1428
  InvalidEthereumPrices: AugmentedError<ApiType>;
1429
+ /**
1430
+ * A supplied USDC observation must be positive and no later than the current tick.
1431
+ **/
1432
+ InvalidUsdcPrice: AugmentedError<ApiType>;
1246
1433
  /**
1247
1434
  * Change in argon price is too large
1248
1435
  **/
@@ -1294,6 +1481,150 @@ declare module '@polkadot/api-base/types/errors' {
1294
1481
  **/
1295
1482
  Unproxyable: AugmentedError<ApiType>;
1296
1483
  };
1484
+ stabilizerBuys: {
1485
+ /**
1486
+ * No auction exists for the supplied admission frame.
1487
+ **/
1488
+ AuctionNotFound: AugmentedError<ApiType>;
1489
+ /**
1490
+ * Allocation was requested before the auction's Treasury budget was finalized.
1491
+ **/
1492
+ AuctionNotReady: AugmentedError<ApiType>;
1493
+ /**
1494
+ * The call is outside F+1 or the auction no longer accepts bids.
1495
+ **/
1496
+ BiddingClosed: AugmentedError<ApiType>;
1497
+ /**
1498
+ * Positive submissions are exhausted; zero may still opt out.
1499
+ **/
1500
+ BidLimitReached: AugmentedError<ApiType>;
1501
+ /**
1502
+ * A positive rate produces zero whole microgons against the matching basis.
1503
+ **/
1504
+ BidRoundsToZero: AugmentedError<ApiType>;
1505
+ /**
1506
+ * A positive bid repeats the account's current rate.
1507
+ **/
1508
+ BidUnchanged: AugmentedError<ApiType>;
1509
+ /**
1510
+ * The account has no purchase bucket for this auction.
1511
+ **/
1512
+ EntryNotFound: AugmentedError<ApiType>;
1513
+ /**
1514
+ * A repayment hold has not matured, its price window is incomplete, or its auction
1515
+ * result is not available yet.
1516
+ **/
1517
+ PayoutNotReady: AugmentedError<ApiType>;
1518
+ };
1519
+ stabilizerPools: {
1520
+ /**
1521
+ * The registered position cannot be valued at the frame's sampled pool price.
1522
+ **/
1523
+ ClaimValuationFailed: AugmentedError<ApiType>;
1524
+ /**
1525
+ * Another handoff already consumed a frame touched by this transition.
1526
+ **/
1527
+ ContinuationAlreadyUsed: AugmentedError<ApiType>;
1528
+ /**
1529
+ * The Ethereum gap exceeds the configured allowance, or continuation is disabled.
1530
+ **/
1531
+ ContinuationGraceExceeded: AugmentedError<ApiType>;
1532
+ /**
1533
+ * The source frame is too old, the replacement proof is in the future, or report recovery
1534
+ * has expired.
1535
+ **/
1536
+ ContinuationTooLate: AugmentedError<ApiType>;
1537
+ /**
1538
+ * The three account witnesses do not contain identical execution-block proofs.
1539
+ **/
1540
+ InconsistentProofBlocks: AugmentedError<ApiType>;
1541
+ /**
1542
+ * A deployment address is zero or reused, or the pool key fails ordering or encoding
1543
+ * bounds.
1544
+ **/
1545
+ InvalidPool: AugmentedError<ApiType>;
1546
+ /**
1547
+ * The pool or PositionManager identity mismatches, ticks are invalid/misaligned,
1548
+ * or liquidity exceeds uint128.
1549
+ **/
1550
+ InvalidPosition: AugmentedError<ApiType>;
1551
+ /**
1552
+ * The Ethereum verifier is unavailable, or header ancestry/account/storage authentication
1553
+ * fails.
1554
+ **/
1555
+ InvalidProof: AugmentedError<ApiType>;
1556
+ /**
1557
+ * A witness has the wrong slot count or slot addresses for the requested NFT position.
1558
+ **/
1559
+ InvalidStorageSlots: AugmentedError<ApiType>;
1560
+ /**
1561
+ * The NFT's subscriber or subscription flag is invalid, or its permanent revision is
1562
+ * zero.
1563
+ **/
1564
+ InvalidSubscription: AugmentedError<ApiType>;
1565
+ /**
1566
+ * The signer does not match the beneficiary of the position.
1567
+ **/
1568
+ NotBeneficiary: AugmentedError<ApiType>;
1569
+ /**
1570
+ * This PoolManager/PoolId pair already has an immutable registration.
1571
+ **/
1572
+ PoolAlreadyRegistered: AugmentedError<ApiType>;
1573
+ /**
1574
+ * No approved configuration exists for the supplied PoolManager/PoolId pair.
1575
+ **/
1576
+ PoolNotRegistered: AugmentedError<ApiType>;
1577
+ /**
1578
+ * The replacement NFT has previous Mainchain checkpoint history.
1579
+ **/
1580
+ PositionAlreadyCheckpointed: AugmentedError<ApiType>;
1581
+ /**
1582
+ * Beneficiary, subscriber, pool, tick range, or liquidity changed without a revision
1583
+ * increase.
1584
+ **/
1585
+ PositionChangedWithoutRevision: AugmentedError<ApiType>;
1586
+ /**
1587
+ * The authenticated state still has the registered revision or subscription.
1588
+ **/
1589
+ PositionChangeNotProven: AugmentedError<ApiType>;
1590
+ /**
1591
+ * The enrollment, recoverable report, account slot, or required checkpoint is missing.
1592
+ **/
1593
+ PositionNotEnrolled: AugmentedError<ApiType>;
1594
+ /**
1595
+ * The source NFT's packed position slot is not proven zero at the replacement block.
1596
+ **/
1597
+ PositionNotRetired: AugmentedError<ApiType>;
1598
+ /**
1599
+ * New enrollment or increased liquidity would be admitted below the ARGON target price.
1600
+ **/
1601
+ PriceBelowTarget: AugmentedError<ApiType>;
1602
+ /**
1603
+ * Current market or target quotes are unavailable, or the target is zero.
1604
+ **/
1605
+ PriceUnavailable: AugmentedError<ApiType>;
1606
+ /**
1607
+ * The subscriber revision is lower than the NFT's last accepted revision.
1608
+ **/
1609
+ RevisionRegressed: AugmentedError<ApiType>;
1610
+ /**
1611
+ * Ethereum block height or time does not strictly advance past the stored checkpoint.
1612
+ **/
1613
+ StaleCheckpoint: AugmentedError<ApiType>;
1614
+ /**
1615
+ * The active frame is tracking its maximum number of distinct band changes. A proof
1616
+ * needs no pending entry when the Ethereum handoff frame has already closed.
1617
+ **/
1618
+ TooManyPendingBandChanges: AugmentedError<ApiType>;
1619
+ /**
1620
+ * Unpaid history cannot fit within the retained frame bound.
1621
+ **/
1622
+ TooManyPositionPeriods: AugmentedError<ApiType>;
1623
+ /**
1624
+ * The beneficiary already has the maximum number of enrolled NFTs.
1625
+ **/
1626
+ TooManyPositions: AugmentedError<ApiType>;
1627
+ };
1297
1628
  sudo: {
1298
1629
  /**
1299
1630
  * Sender must be the Sudo account.
@@ -1307,7 +1638,7 @@ declare module '@polkadot/api-base/types/errors' {
1307
1638
  CallFiltered: AugmentedError<ApiType>;
1308
1639
  /**
1309
1640
  * Failed to extract the runtime version from the new runtime.
1310
- *
1641
+ *
1311
1642
  * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1312
1643
  **/
1313
1644
  FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
@@ -1342,11 +1673,12 @@ declare module '@polkadot/api-base/types/errors' {
1342
1673
  **/
1343
1674
  Unauthorized: AugmentedError<ApiType>;
1344
1675
  };
1345
- ticks: {};
1676
+ ticks: {
1677
+ };
1346
1678
  treasury: {
1347
1679
  /**
1348
- * Liquidating this bond lot would take the account below its crosschain-encumbered
1349
- * treasury backing.
1680
+ * A reservation or liquidation would leave Treasury backing uncovered, or queued
1681
+ * settlement exceeds the account's remaining encumbrance.
1350
1682
  **/
1351
1683
  ActiveBondAmountBelowEncumberedBacking: AugmentedError<ApiType>;
1352
1684
  /**
@@ -1357,6 +1689,11 @@ declare module '@polkadot/api-base/types/errors' {
1357
1689
  * The Argonot bond purchase did not beat the current active-set cutoff.
1358
1690
  **/
1359
1691
  ArgonotBondPurchaseBelowCutoff: AugmentedError<ApiType>;
1692
+ /**
1693
+ * Pre-upgrade collateral exceeds its selected backing; supply a complete lot selection
1694
+ * with registration before withdrawing principal or processing collateral.
1695
+ **/
1696
+ BondCollateralSelectionRequired: AugmentedError<ApiType>;
1360
1697
  /**
1361
1698
  * The bond lot is already scheduled for release.
1362
1699
  **/
@@ -1401,6 +1738,10 @@ declare module '@polkadot/api-base/types/errors' {
1401
1738
  * The bonus approval was signed for a different vault.
1402
1739
  **/
1403
1740
  BonusApprovalWrongVault: AugmentedError<ApiType>;
1741
+ /**
1742
+ * A caller-supplied collateral selection repeats a lot ID.
1743
+ **/
1744
+ DuplicateBondCollateralLot: AugmentedError<ApiType>;
1404
1745
  /**
1405
1746
  * The vault doesn't have enough raw securitization to support this bond purchase.
1406
1747
  **/
@@ -1409,6 +1750,10 @@ declare module '@polkadot/api-base/types/errors' {
1409
1750
  * An internal error occurred.
1410
1751
  **/
1411
1752
  InternalError: AugmentedError<ApiType>;
1753
+ /**
1754
+ * Only active ARGON vault bonds can back a gateway authority.
1755
+ **/
1756
+ InvalidBondCollateralLot: AugmentedError<ApiType>;
1412
1757
  /**
1413
1758
  * The proposed backfill would reduce or corrupt the lot's earnings metrics.
1414
1759
  **/
@@ -1418,9 +1763,9 @@ declare module '@polkadot/api-base/types/errors' {
1418
1763
  **/
1419
1764
  InvalidBonusApprovalSignature: AugmentedError<ApiType>;
1420
1765
  /**
1421
- * The network has reached the direct-payout vault bond lot admission limit.
1766
+ * A reward target or the price adjustment window is invalid.
1422
1767
  **/
1423
- MaxArgonBondLotsExceeded: AugmentedError<ApiType>;
1768
+ InvalidRewardTaperingPolicy: AugmentedError<ApiType>;
1424
1769
  /**
1425
1770
  * The vault already has the maximum number of flexible bond lots.
1426
1771
  **/
@@ -1437,11 +1782,45 @@ declare module '@polkadot/api-base/types/errors' {
1437
1782
  * The caller does not own the bond lot.
1438
1783
  **/
1439
1784
  NotBondLotOwner: AugmentedError<ApiType>;
1785
+ /**
1786
+ * A requested reward frame has yet to finalize its rate.
1787
+ **/
1788
+ StabilizerPoolClaimNotReady: AugmentedError<ApiType>;
1789
+ /**
1790
+ * The supplied list or the operator's resulting backing set exceeds the lot limit.
1791
+ **/
1792
+ TooManyBondCollateralLots: AugmentedError<ApiType>;
1440
1793
  /**
1441
1794
  * The vault is not accepting bond purchases.
1442
1795
  **/
1443
1796
  VaultNotAcceptingBondPurchases: AugmentedError<ApiType>;
1444
1797
  };
1798
+ treasuryPositions: {
1799
+ /**
1800
+ * The account layout upgrade must succeed before custody can be used.
1801
+ **/
1802
+ CollectMigrationIncomplete: AugmentedError<ApiType>;
1803
+ /**
1804
+ * Indexed frames must commit once and in their allocation order.
1805
+ **/
1806
+ EarningsFrameOutOfOrder: AugmentedError<ApiType>;
1807
+ /**
1808
+ * The source tried to expire more vault revenue than its account bucket contains.
1809
+ **/
1810
+ InsufficientVaultEarnings: AugmentedError<ApiType>;
1811
+ /**
1812
+ * An account quantity transition still refers to a missing retained boundary.
1813
+ **/
1814
+ MissingEarningsBoundary: AugmentedError<ApiType>;
1815
+ /**
1816
+ * The caller and beneficiary do not share a registered operational account.
1817
+ **/
1818
+ NotLinkedAccount: AugmentedError<ApiType>;
1819
+ /**
1820
+ * A nonzero indexed allocation requires eligible quantity.
1821
+ **/
1822
+ UnfundedEarnings: AugmentedError<ApiType>;
1823
+ };
1445
1824
  txPause: {
1446
1825
  /**
1447
1826
  * The call is paused.
@@ -1480,6 +1859,10 @@ declare module '@polkadot/api-base/types/errors' {
1480
1859
  * Bitcoin conversion to compressed pubkey failed
1481
1860
  **/
1482
1861
  BitcoinConversionFailed: AugmentedError<ApiType>;
1862
+ /**
1863
+ * Vault revenue must be moved from legacy holds into Collect custody first.
1864
+ **/
1865
+ CollectMigrationIncomplete: AugmentedError<ApiType>;
1483
1866
  /**
1484
1867
  * A funding change is already scheduled
1485
1868
  **/
@@ -1577,6 +1960,10 @@ declare module '@polkadot/api-base/types/errors' {
1577
1960
  * This reduction in vault securitization goes below the amount already committed
1578
1961
  **/
1579
1962
  VaultReductionBelowSecuritization: AugmentedError<ApiType>;
1963
+ /**
1964
+ * The vault's frame ledger differs from its aggregate earnings in Positions.
1965
+ **/
1966
+ VaultRevenueMismatch: AugmentedError<ApiType>;
1580
1967
  /**
1581
1968
  * Wrong Xpub Network
1582
1969
  **/