@argonprotocol/mainchain 1.5.2-dev.f931ed2c → 1.6.0-dev.0331b728

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 +8 -0
  2. package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
  3. package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
  4. package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
  5. package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +105 -23
  6. package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
  7. package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
  8. package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +89 -35
  9. package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
  10. package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +3 -3
  11. package/browser/index.d.ts +5393 -5415
  12. package/browser/index.js +635 -189
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
  15. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
  16. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
  17. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +105 -23
  18. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
  19. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
  20. package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +89 -35
  21. package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
  22. package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +3 -3
  23. package/lib/index.cjs +648 -200
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5393 -5415
  26. package/lib/index.d.ts +5393 -5415
  27. package/lib/index.js +642 -194
  28. package/lib/index.js.map +1 -1
  29. package/package.json +13 -10
  30. package/src/interfaces/augment-api-consts.ts +67 -42
  31. package/src/interfaces/augment-api-errors.ts +152 -12
  32. package/src/interfaces/augment-api-events.ts +269 -1789
  33. package/src/interfaces/augment-api-query.ts +311 -1285
  34. package/src/interfaces/augment-api-rpc.ts +88 -612
  35. package/src/interfaces/augment-api-runtime.ts +255 -221
  36. package/src/interfaces/augment-api-tx.ts +336 -1729
  37. package/src/interfaces/augment-types.ts +46 -1350
  38. package/src/interfaces/lookup.ts +3626 -3500
  39. package/src/interfaces/registry.ts +55 -362
  40. package/src/interfaces/types-lookup.ts +3895 -4168
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.5.2-dev.f931ed2c",
3
+ "version": "1.6.0-dev.0331b728",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,22 +13,25 @@
13
13
  },
14
14
  "homepage": "https://github.com/argonprotocol/mainchain#readme",
15
15
  "scripts": {
16
- "build": "yarn generate:defs && yarn generate:meta && node clean-build.js && yarn tsc",
16
+ "build": "yarn tsc",
17
+ "generate": "tsx src/scripts/generateMetadata.ts && node clean-build.js",
17
18
  "generate:contract-declarations": "yarn workspace @argonprotocol/ethereum-contracts build && tsc -p tsconfig.contracts.json",
18
19
  "generate:defs": "polkadot-types-from-defs --endpoint metadata.json --input ./src/interfaces --package @argonprotocol/mainchain/interfaces",
19
20
  "generate:meta": "polkadot-types-from-chain --endpoint metadata.json --output ./src/interfaces --package @argonprotocol/mainchain/interfaces --strict",
20
- "test": "vitest --run --config vitest.config.ts",
21
- "tsc": "yarn generate:contract-declarations && tsup && yarn validate:package",
21
+ "pretest": "yarn generate && yarn generate:contract-declarations",
22
+ "pretest:ci": "yarn pretest",
23
+ "test": "yarn pretest && vitest --run --config vitest.config.ts",
24
+ "tsc": "yarn generate && yarn generate:contract-declarations && tsup && yarn validate:package",
22
25
  "tsup": "yarn tsc",
23
26
  "validate:package": "tsx src/scripts/validatePackage.ts",
24
- "backfill:flexible-bond-metrics": "tsx src/scripts/backfillFlexibleBondMetrics.ts",
25
- "watch": "yarn generate:contract-declarations && tsup --watch",
26
- "typecheck": "yarn workspace @argonprotocol/ethereum-contracts build && tsc --noEmit -p tsconfig.test.json"
27
+ "backfill:flexible-bond-metrics": "yarn pretest && tsx src/scripts/backfillFlexibleBondMetrics.ts",
28
+ "watch": "yarn generate && yarn generate:contract-declarations && tsup --watch",
29
+ "typecheck": "yarn generate && yarn workspace @argonprotocol/ethereum-contracts build && tsc --noEmit -p tsconfig.test.json"
27
30
  },
28
31
  "files": [
29
32
  "lib/",
30
33
  "browser/",
31
- "src/interfaces/"
34
+ "src/interfaces/**"
32
35
  ],
33
36
  "type": "module",
34
37
  "module": "./lib/index.js",
@@ -47,7 +50,7 @@
47
50
  }
48
51
  },
49
52
  "./interfaces/*": {
50
- "types": "./src/interfaces/*/index.ts"
53
+ "types": "./src/interfaces/*.ts"
51
54
  }
52
55
  },
53
56
  "dependencies": {
@@ -69,7 +72,7 @@
69
72
  },
70
73
  "devDependencies": {
71
74
  "@argonprotocol/ethereum-contracts": "workspace:*",
72
- "@argonprotocol/testing": "1.5.2-dev.f931ed2c",
75
+ "@argonprotocol/testing": "1.6.0-dev.0331b728",
73
76
  "@polkadot/typegen": "^17.0.1",
74
77
  "@substrate/ss58-registry": "^1.51.0",
75
78
  "@types/node": "^20",
@@ -8,13 +8,7 @@ import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
8
8
  import type { u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
9
9
  import type { ITuple } from '@polkadot/types-codec/types';
10
10
  import type { AccountId32, Percent, Permill } from '@polkadot/types/interfaces/runtime';
11
- import type {
12
- FrameSupportPalletId,
13
- FrameSystemLimitsBlockLength,
14
- FrameSystemLimitsBlockWeights,
15
- SpVersionRuntimeVersion,
16
- SpWeightsRuntimeDbWeight,
17
- } from '@polkadot/types/lookup';
11
+ import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight } from '@polkadot/types/lookup';
18
12
 
19
13
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
20
14
 
@@ -23,12 +17,12 @@ declare module '@polkadot/api-base/types/consts' {
23
17
  balances: {
24
18
  /**
25
19
  * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
26
- *
20
+ *
27
21
  * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
28
22
  * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
29
23
  * In case you have multiple sources of provider references, you may also get unexpected
30
24
  * behaviour if you set this to zero.
31
- *
25
+ *
32
26
  * Bottom line: Do yourself a favour and make it at least one!
33
27
  **/
34
28
  existentialDeposit: u128 & AugmentedConst<ApiType>;
@@ -39,26 +33,38 @@ declare module '@polkadot/api-base/types/consts' {
39
33
  /**
40
34
  * The maximum number of locks that should exist on an account.
41
35
  * Not strictly enforced, but used for weight estimation.
42
- *
36
+ *
43
37
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
44
38
  **/
45
39
  maxLocks: u32 & AugmentedConst<ApiType>;
46
40
  /**
47
41
  * The maximum number of named reserves that can exist on an account.
48
- *
42
+ *
49
43
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
50
44
  **/
51
45
  maxReserves: u32 & AugmentedConst<ApiType>;
52
46
  };
53
47
  bitcoinFissions: {
48
+ /**
49
+ * Fissions per Liquid covered by repayment benchmarks and checked by try-state.
50
+ **/
51
+ maxExpectedFissionsPerLiquid: u32 & AugmentedConst<ApiType>;
54
52
  /**
55
53
  * Maximum number of active Fissions that may allocate satoshis from one Lock.
56
54
  **/
57
55
  maxFissionsPerLock: u32 & AugmentedConst<ApiType>;
56
+ /**
57
+ * Maximum older frame records pruned in one block after gateway sync catches up.
58
+ **/
59
+ maxRValueHistoryPrunesPerBlock: u32 & AugmentedConst<ApiType>;
58
60
  /**
59
61
  * Minimum percentage change required to ratchet a Fission.
60
62
  **/
61
63
  minimumRatchetPercent: Percent & AugmentedConst<ApiType>;
64
+ /**
65
+ * Number of recent frame price marks retained after their source interval has synced.
66
+ **/
67
+ rValueHistoryFrames: u32 & AugmentedConst<ApiType>;
62
68
  };
63
69
  bitcoinLocks: {
64
70
  /**
@@ -250,7 +256,7 @@ declare module '@polkadot/api-base/types/consts' {
250
256
  maxNominators: u32 & AugmentedConst<ApiType>;
251
257
  /**
252
258
  * The maximum number of entries to keep in the set id to session index mapping.
253
- *
259
+ *
254
260
  * Since the `SetIdSession` map is only used for validating equivocations this
255
261
  * value should relate to the bonding duration of whatever staking system is
256
262
  * being used (if any). If equivocation handling is not enabled then this value
@@ -341,7 +347,7 @@ declare module '@polkadot/api-base/types/consts' {
341
347
  /**
342
348
  * The base amount of currency needed to reserve for creating a multisig execution or to
343
349
  * store a dispatch call for later.
344
- *
350
+ *
345
351
  * This is held for an additional storage item whose value size is
346
352
  * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is
347
353
  * `32 + sizeof(AccountId)` bytes.
@@ -349,7 +355,7 @@ declare module '@polkadot/api-base/types/consts' {
349
355
  depositBase: u128 & AugmentedConst<ApiType>;
350
356
  /**
351
357
  * The amount of currency needed per unit threshold when creating a multisig execution.
352
- *
358
+ *
353
359
  * This is held for adding 32 bytes more into a pre-existing storage value.
354
360
  **/
355
361
  depositFactor: u128 & AugmentedConst<ApiType>;
@@ -442,16 +448,21 @@ declare module '@polkadot/api-base/types/consts' {
442
448
  * Minimum vault securitization required to become operational.
443
449
  **/
444
450
  operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
451
+ /**
452
+ * Required operational registration signing contract. Clients must require version 2
453
+ * before signing; older clients must upgrade rather than reuse ownership-only proofs.
454
+ **/
455
+ registrationProofVersion: u8 & AugmentedConst<ApiType>;
445
456
  };
446
457
  ownership: {
447
458
  /**
448
459
  * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!
449
- *
460
+ *
450
461
  * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for
451
462
  * this pallet. However, you do so at your own risk: this will open up a major DoS vector.
452
463
  * In case you have multiple sources of provider references, you may also get unexpected
453
464
  * behaviour if you set this to zero.
454
- *
465
+ *
455
466
  * Bottom line: Do yourself a favour and make it at least one!
456
467
  **/
457
468
  existentialDeposit: u128 & AugmentedConst<ApiType>;
@@ -462,13 +473,13 @@ declare module '@polkadot/api-base/types/consts' {
462
473
  /**
463
474
  * The maximum number of locks that should exist on an account.
464
475
  * Not strictly enforced, but used for weight estimation.
465
- *
476
+ *
466
477
  * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/`
467
478
  **/
468
479
  maxLocks: u32 & AugmentedConst<ApiType>;
469
480
  /**
470
481
  * The maximum number of named reserves that can exist on an account.
471
- *
482
+ *
472
483
  * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/`
473
484
  **/
474
485
  maxReserves: u32 & AugmentedConst<ApiType>;
@@ -504,14 +515,14 @@ declare module '@polkadot/api-base/types/consts' {
504
515
  proxy: {
505
516
  /**
506
517
  * The base amount of currency needed to reserve for creating an announcement.
507
- *
518
+ *
508
519
  * This is held when a new storage item holding a `Balance` is created (typically 16
509
520
  * bytes).
510
521
  **/
511
522
  announcementDepositBase: u128 & AugmentedConst<ApiType>;
512
523
  /**
513
524
  * The amount of currency needed per announcement made.
514
- *
525
+ *
515
526
  * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)
516
527
  * into a pre-existing storage value.
517
528
  **/
@@ -526,14 +537,14 @@ declare module '@polkadot/api-base/types/consts' {
526
537
  maxProxies: u32 & AugmentedConst<ApiType>;
527
538
  /**
528
539
  * The base amount of currency needed to reserve for creating a proxy.
529
- *
540
+ *
530
541
  * This is held for an additional storage item whose value size is
531
542
  * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes.
532
543
  **/
533
544
  proxyDepositBase: u128 & AugmentedConst<ApiType>;
534
545
  /**
535
546
  * The amount of currency needed per proxy added.
536
- *
547
+ *
537
548
  * This is held for adding 32 bytes plus an instance of `ProxyType` more into a
538
549
  * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take
539
550
  * into account `32 + proxy_type.encode().len()` bytes of data.
@@ -548,13 +559,18 @@ declare module '@polkadot/api-base/types/consts' {
548
559
  **/
549
560
  auctionInclusionPercent: Percent & AugmentedConst<ApiType>;
550
561
  /**
551
- * In the open bucket, allow USDC observations up to ten ticks before the purchase.
562
+ * Additional burn-funded reward before applying the purchase's auction result.
552
563
  **/
553
- maxCurrentHourPriceAgeTicks: u64 & AugmentedConst<ApiType>;
564
+ liquidRepaymentRewardPercent: Percent & AugmentedConst<ApiType>;
554
565
  /**
555
- * Maximum hourly reference buckets retained; configure 720.
566
+ * Maximum account/frame purchase buckets visited in one account payout.
567
+ * This bounds work, without limiting the number of purchases an account can hold.
568
+ **/
569
+ maxFramesPerPayout: u32 & AugmentedConst<ApiType>;
570
+ /**
571
+ * Maximum Liquid repayments attempted across all account payouts in one block.
556
572
  **/
557
- maxHourlyPriceReferences: u32 & AugmentedConst<ApiType>;
573
+ maxLiquidRepaysPerBlock: u32 & AugmentedConst<ApiType>;
558
574
  /**
559
575
  * Maximum work in each automatic stage per block: ranked bid decisions, then account
560
576
  * payout attempts. Failures and empty-auction completion consume work; excess stays
@@ -567,22 +583,21 @@ declare module '@polkadot/api-base/types/consts' {
567
583
  **/
568
584
  maxPositiveBids: u8 & AugmentedConst<ApiType>;
569
585
  /**
570
- * Maximum mature principal buckets released in one account payout visit.
571
- * This bounds work, without limiting the number of purchases an account can hold.
586
+ * Maximum observation age at purchase time; also bounds historical lookup reads.
572
587
  **/
573
- maxPrincipalPayouts: u32 & AugmentedConst<ApiType>;
588
+ maxPriceAgeTicks: u64 & AugmentedConst<ApiType>;
574
589
  /**
575
- * Most recent tick observations retained for exact ARGON targets; configure 360.
590
+ * Maximum obsolete price entries removed per block after gateway sync advances.
576
591
  **/
577
- maxRecentPriceTicks: u32 & AugmentedConst<ApiType>;
592
+ maxPriceHistoryPrunesPerBlock: u32 & AugmentedConst<ApiType>;
578
593
  /**
579
- * Tick width of each older reference bucket; configure 60.
594
+ * Maximum frame visits per repayment attempt; a partial frame visit also reads one tick.
580
595
  **/
581
- priceHistoryBucketTicks: u64 & AugmentedConst<ApiType>;
596
+ maxPriceWindowSteps: u32 & AugmentedConst<ApiType>;
582
597
  /**
583
- * Ticks after bidding close, configured for 30 elapsed days on the network.
598
+ * Total mining-frame hold from admission, including the bidding window.
584
599
  **/
585
- rewardMaturityTicks: u64 & AugmentedConst<ApiType>;
600
+ purchaseHoldFrames: u64 & AugmentedConst<ApiType>;
586
601
  };
587
602
  stabilizerPools: {
588
603
  /**
@@ -610,7 +625,7 @@ declare module '@polkadot/api-base/types/consts' {
610
625
  dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst<ApiType>;
611
626
  /**
612
627
  * The designated SS58 prefix of this chain.
613
- *
628
+ *
614
629
  * This replaces the "ss58Format" property declared in the chain spec. Reason is
615
630
  * that the runtime should know about the prefix in order to make use of it as
616
631
  * an identifier of the chain.
@@ -624,7 +639,7 @@ declare module '@polkadot/api-base/types/consts' {
624
639
  timestamp: {
625
640
  /**
626
641
  * The minimum period between blocks.
627
- *
642
+ *
628
643
  * Be aware that this is different to the *expected* period that the block production
629
644
  * apparatus provides. Your chosen consensus system will generally work with this to
630
645
  * determine a sensible block time. For example, in the Aura pallet it will be double this
@@ -636,21 +651,21 @@ declare module '@polkadot/api-base/types/consts' {
636
651
  /**
637
652
  * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their
638
653
  * `priority`
639
- *
654
+ *
640
655
  * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later
641
656
  * added to a tip component in regular `priority` calculations.
642
657
  * It means that a `Normal` transaction can front-run a similarly-sized `Operational`
643
658
  * extrinsic (with no tip), by including a tip value greater than the virtual tip.
644
- *
659
+ *
645
660
  * ```rust,ignore
646
661
  * // For `Normal`
647
662
  * let priority = priority_calc(tip);
648
- *
663
+ *
649
664
  * // For `Operational`
650
665
  * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;
651
666
  * let priority = priority_calc(tip + virtual_tip);
652
667
  * ```
653
- *
668
+ *
654
669
  * Note that since we use `final_fee` the multiplier applies also to the regular `tip`
655
670
  * sent with the transaction. So, not only does the transaction get a priority bump based
656
671
  * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`
@@ -680,6 +695,16 @@ declare module '@polkadot/api-base/types/consts' {
680
695
  * The maximum percent of ownership-token circulation that can be bonded.
681
696
  **/
682
697
  maxArgonotBondedPercentOfCirculation: Percent & AugmentedConst<ApiType>;
698
+ /**
699
+ * Maximum accounts whose queued bond collateral is attempted in one block.
700
+ **/
701
+ maxBondCollateralSettlementsPerBlock: u32 & AugmentedConst<ApiType>;
702
+ /**
703
+ * Owner bond/stake lot count assumed by scan benchmarks and checked by try_state.
704
+ * Includes lots awaiting release. Purchases remain unrestricted and scans are not
705
+ * truncated.
706
+ **/
707
+ maxExpectedBondLotsPerAccount: u32 & AugmentedConst<ApiType>;
683
708
  /**
684
709
  * The maximum number of bond lots whose release delay may mature in a single frame.
685
710
  **/
@@ -743,7 +768,7 @@ declare module '@polkadot/api-base/types/consts' {
743
768
  txPause: {
744
769
  /**
745
770
  * Maximum length for pallet name and call name SCALE encoded string names.
746
- *
771
+ *
747
772
  * TOO LONG NAMES WILL BE TREATED AS PAUSED.
748
773
  **/
749
774
  maxNameLen: u32 & AugmentedConst<ApiType>;
@@ -10,6 +10,96 @@ export type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>
10
10
 
11
11
  declare module '@polkadot/api-base/types/errors' {
12
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
+ };
13
103
  balances: {
14
104
  /**
15
105
  * Beneficiary account must pre-exist.
@@ -105,6 +195,22 @@ declare module '@polkadot/api-base/types/errors' {
105
195
  * The fee coupon is invalid, expired, or already consumed.
106
196
  **/
107
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>;
108
214
  /**
109
215
  * The requested source Lock does not exist.
110
216
  **/
@@ -141,6 +247,18 @@ declare module '@polkadot/api-base/types/errors' {
141
247
  * The Fission's ratchet counter cannot be incremented.
142
248
  **/
143
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>;
144
262
  /**
145
263
  * The Vault could not upgrade the guarantee assigned to this Fission.
146
264
  **/
@@ -380,7 +498,8 @@ declare module '@polkadot/api-base/types/errors' {
380
498
  **/
381
499
  UtxoNotLocked: AugmentedError<ApiType>;
382
500
  };
383
- blockRewards: {};
501
+ blockRewards: {
502
+ };
384
503
  blockSeal: {
385
504
  /**
386
505
  * A block seal authority could not be properly decoded
@@ -548,7 +667,8 @@ declare module '@polkadot/api-base/types/errors' {
548
667
  **/
549
668
  InsufficientMintingAuthorityCollateral: AugmentedError<ApiType>;
550
669
  /**
551
- * 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.
552
672
  **/
553
673
  InvalidChainConfig: AugmentedError<ApiType>;
554
674
  /**
@@ -571,6 +691,11 @@ declare module '@polkadot/api-base/types/errors' {
571
691
  * The supplied Global Issuance Council is empty or internally inconsistent.
572
692
  **/
573
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>;
574
699
  /**
575
700
  * The council-managed Argonot floor could not be determined from current pricing.
576
701
  **/
@@ -613,7 +738,7 @@ declare module '@polkadot/api-base/types/errors' {
613
738
  **/
614
739
  InvalidTransferCollateralUpdate: AugmentedError<ApiType>;
615
740
  /**
616
- * The transfer-out amount must be nonzero.
741
+ * The transfer-out amount is below the selected currency's minimum account balance.
617
742
  **/
618
743
  InvalidTransferOutAmount: AugmentedError<ApiType>;
619
744
  /**
@@ -809,7 +934,7 @@ declare module '@polkadot/api-base/types/errors' {
809
934
  InvalidBackfillHeaderRoot: AugmentedError<ApiType>;
810
935
  InvalidExecutionHeaderProof: AugmentedError<ApiType>;
811
936
  /**
812
- * The gap between finalized headers is larger than the retained historical window.
937
+ * Reserved error index; finalized updates are now bounded by authenticated committees.
813
938
  **/
814
939
  InvalidFinalizedHeaderGap: AugmentedError<ApiType>;
815
940
  InvalidForkSchedule: AugmentedError<ApiType>;
@@ -912,7 +1037,7 @@ declare module '@polkadot/api-base/types/errors' {
912
1037
  **/
913
1038
  BidAlreadyRevealed: AugmentedError<ApiType>;
914
1039
  /**
915
- * The mining bid cannot be reduced
1040
+ * Paid bids cannot decrease; public-only replacements must exceed the standing maximum.
916
1041
  **/
917
1042
  BidCannotBeReduced: AugmentedError<ApiType>;
918
1043
  /**
@@ -928,7 +1053,7 @@ declare module '@polkadot/api-base/types/errors' {
928
1053
  **/
929
1054
  CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
930
1055
  /**
931
- * The miner already has a pending bid awaiting settlement.
1056
+ * The miner already has a submission awaiting clearing or maximum disclosure.
932
1057
  **/
933
1058
  DuplicateBidCommitment: AugmentedError<ApiType>;
934
1059
  /**
@@ -959,6 +1084,10 @@ declare module '@polkadot/api-base/types/errors' {
959
1084
  * The miner has no pending bid with a committed maximum to reveal.
960
1085
  **/
961
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>;
962
1091
  /**
963
1092
  * Mining slot bidding currently requires a prior operational-account upgrade.
964
1093
  **/
@@ -975,6 +1104,10 @@ declare module '@polkadot/api-base/types/errors' {
975
1104
  * This block has reached the maximum number of pending bid submissions.
976
1105
  **/
977
1106
  TooManyBidCommitments: AugmentedError<ApiType>;
1107
+ /**
1108
+ * The disclosure queue already contains every commitment allowed in the reveal window.
1109
+ **/
1110
+ TooManyBidReveals: AugmentedError<ApiType>;
978
1111
  /**
979
1112
  * The cohort registration overflowed
980
1113
  **/
@@ -1180,6 +1313,11 @@ declare module '@polkadot/api-base/types/errors' {
1180
1313
  * alphanumeric.
1181
1314
  **/
1182
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>;
1183
1321
  /**
1184
1322
  * The caller is not one of the accounts included in the registration.
1185
1323
  **/
@@ -1349,7 +1487,7 @@ declare module '@polkadot/api-base/types/errors' {
1349
1487
  **/
1350
1488
  AuctionNotFound: AugmentedError<ApiType>;
1351
1489
  /**
1352
- * An auction scheduled for allocation lacks its reservation or maturity anchor.
1490
+ * Allocation was requested before the auction's Treasury budget was finalized.
1353
1491
  **/
1354
1492
  AuctionNotReady: AugmentedError<ApiType>;
1355
1493
  /**
@@ -1373,7 +1511,8 @@ declare module '@polkadot/api-base/types/errors' {
1373
1511
  **/
1374
1512
  EntryNotFound: AugmentedError<ApiType>;
1375
1513
  /**
1376
- * The scheduled account has no mature principal or committed reward to pay.
1514
+ * A repayment hold has not matured, its price window is incomplete, or its auction
1515
+ * result is not available yet.
1377
1516
  **/
1378
1517
  PayoutNotReady: AugmentedError<ApiType>;
1379
1518
  };
@@ -1445,7 +1584,7 @@ declare module '@polkadot/api-base/types/errors' {
1445
1584
  CallFiltered: AugmentedError<ApiType>;
1446
1585
  /**
1447
1586
  * Failed to extract the runtime version from the new runtime.
1448
- *
1587
+ *
1449
1588
  * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1450
1589
  **/
1451
1590
  FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
@@ -1480,11 +1619,12 @@ declare module '@polkadot/api-base/types/errors' {
1480
1619
  **/
1481
1620
  Unauthorized: AugmentedError<ApiType>;
1482
1621
  };
1483
- ticks: {};
1622
+ ticks: {
1623
+ };
1484
1624
  treasury: {
1485
1625
  /**
1486
- * Liquidating this bond lot would take the account below its crosschain-encumbered
1487
- * treasury backing.
1626
+ * A reservation or liquidation would leave Treasury backing uncovered, or queued
1627
+ * settlement exceeds the account's remaining encumbrance.
1488
1628
  **/
1489
1629
  ActiveBondAmountBelowEncumberedBacking: AugmentedError<ApiType>;
1490
1630
  /**