@argonprotocol/mainchain 1.5.1 → 1.5.2-dev.085c3add

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 (38) hide show
  1. package/README.md +87 -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 +357 -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 +699 -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 +6074 -822
  12. package/browser/index.js +4738 -991
  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 +357 -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 +699 -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 +4955 -1233
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +6074 -822
  26. package/lib/index.d.ts +6074 -822
  27. package/lib/index.js +4720 -998
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +101 -1
  31. package/src/interfaces/augment-api-errors.ts +185 -13
  32. package/src/interfaces/augment-api-events.ts +279 -82
  33. package/src/interfaces/augment-api-query.ts +399 -54
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +209 -78
  36. package/src/interfaces/lookup.ts +909 -345
  37. package/src/interfaces/registry.ts +86 -10
  38. package/src/interfaces/types-lookup.ts +1003 -370
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@argonprotocol/mainchain",
3
- "version": "1.5.1",
3
+ "version": "1.5.2-dev.085c3add",
4
4
  "description": "A client for accessing the Argon mainchain apis.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,16 +14,16 @@
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
+ "generate:contract-declarations": "yarn workspace @argonprotocol/ethereum-contracts build && tsc -p tsconfig.contracts.json",
18
18
  "generate:defs": "polkadot-types-from-defs --endpoint metadata.json --input ./src/interfaces --package @argonprotocol/mainchain/interfaces",
19
19
  "generate:meta": "polkadot-types-from-chain --endpoint metadata.json --output ./src/interfaces --package @argonprotocol/mainchain/interfaces --strict",
20
20
  "test": "vitest --run --config vitest.config.ts",
21
- "tsc": "yarn workspace @argonprotocol/ethereum-contracts build && yarn generate:contract-declarations && tsup && yarn validate:package",
21
+ "tsc": "yarn generate:contract-declarations && tsup && yarn validate:package",
22
22
  "tsup": "yarn tsc",
23
23
  "validate:package": "tsx src/scripts/validatePackage.ts",
24
24
  "backfill:flexible-bond-metrics": "tsx src/scripts/backfillFlexibleBondMetrics.ts",
25
25
  "watch": "yarn generate:contract-declarations && tsup --watch",
26
- "typecheck": "tsc --noEmit -p tsconfig.test.json"
26
+ "typecheck": "yarn workspace @argonprotocol/ethereum-contracts build && tsc --noEmit -p tsconfig.test.json"
27
27
  },
28
28
  "files": [
29
29
  "lib/",
@@ -51,8 +51,9 @@
51
51
  }
52
52
  },
53
53
  "dependencies": {
54
- "@ethereumjs/block": "^10.1.1",
55
- "@ethereumjs/mpt": "^10.1.1",
54
+ "@ethereumjs/block": "^10.1.3",
55
+ "@ethereumjs/common": "^10.1.3",
56
+ "@ethereumjs/mpt": "^10.1.3",
56
57
  "@polkadot/api": "^17.0.1",
57
58
  "@polkadot/api-base": "^17.0.1",
58
59
  "@polkadot/keyring": "^14.0.3",
@@ -68,7 +69,7 @@
68
69
  },
69
70
  "devDependencies": {
70
71
  "@argonprotocol/ethereum-contracts": "workspace:*",
71
- "@argonprotocol/testing": "1.5.1",
72
+ "@argonprotocol/testing": "1.5.2-dev.085c3add",
72
73
  "@polkadot/typegen": "^17.0.1",
73
74
  "@substrate/ss58-registry": "^1.51.0",
74
75
  "@types/node": "^20",
@@ -51,14 +51,26 @@ declare module '@polkadot/api-base/types/consts' {
51
51
  maxReserves: u32 & AugmentedConst<ApiType>;
52
52
  };
53
53
  bitcoinFissions: {
54
+ /**
55
+ * Fissions per Liquid covered by repayment benchmarks and checked by try-state.
56
+ **/
57
+ maxExpectedFissionsPerLiquid: u32 & AugmentedConst<ApiType>;
54
58
  /**
55
59
  * Maximum number of active Fissions that may allocate satoshis from one Lock.
56
60
  **/
57
61
  maxFissionsPerLock: u32 & AugmentedConst<ApiType>;
62
+ /**
63
+ * Maximum older frame records pruned in one block after gateway sync catches up.
64
+ **/
65
+ maxRValueHistoryPrunesPerBlock: u32 & AugmentedConst<ApiType>;
58
66
  /**
59
67
  * Minimum percentage change required to ratchet a Fission.
60
68
  **/
61
69
  minimumRatchetPercent: Percent & AugmentedConst<ApiType>;
70
+ /**
71
+ * Number of recent frame high-water marks retained after their source interval has synced.
72
+ **/
73
+ rValueHistoryFrames: u32 & AugmentedConst<ApiType>;
62
74
  };
63
75
  bitcoinLocks: {
64
76
  /**
@@ -101,7 +113,7 @@ declare module '@polkadot/api-base/types/consts' {
101
113
  **/
102
114
  orphanedUtxoReleaseExpiryFrames: u64 & AugmentedConst<ApiType>;
103
115
  /**
104
- * Number of Bitcoin blocks to reserve securitization that has not yet been activated.
116
+ * Initial Bitcoin deposit window, measured in Bitcoin blocks.
105
117
  **/
106
118
  securitizationHoldBlocks: u64 & AugmentedConst<ApiType>;
107
119
  /**
@@ -181,6 +193,10 @@ declare module '@polkadot/api-base/types/consts' {
181
193
  * Canonical Ethereum burn-accounting account representing funds moved to Ethereum.
182
194
  **/
183
195
  ethereumBurnAccount: AccountId32 & AugmentedConst<ApiType>;
196
+ /**
197
+ * Maximum activities in one complete gateway locator storage proof.
198
+ **/
199
+ maxActivitiesPerGatewayProof: u32 & AugmentedConst<ApiType>;
184
200
  /**
185
201
  * Maximum number of ordered gateway activities that may share one receipt proof.
186
202
  **/
@@ -189,6 +205,10 @@ declare module '@polkadot/api-base/types/consts' {
189
205
  * Maximum number of members the active Global Issuance Council may carry.
190
206
  **/
191
207
  maxCouncilMembers: u32 & AugmentedConst<ApiType>;
208
+ /**
209
+ * Maximum aggregate event data carried by one storage-proof locator.
210
+ **/
211
+ maxGatewayActivityLogDataBytes: u32 & AugmentedConst<ApiType>;
192
212
  /**
193
213
  * Maximum number of non-terminal transfer-out requests tracked for one destination chain.
194
214
  **/
@@ -271,6 +291,8 @@ declare module '@polkadot/api-base/types/consts' {
271
291
  * The increment that bids can be on (for instance, one cent increments)
272
292
  **/
273
293
  bidIncrements: u128 & AugmentedConst<ApiType>;
294
+ bidRevealBlocks: u32 & AugmentedConst<ApiType>;
295
+ bidSettlementBuffer: u32 & AugmentedConst<ApiType>;
274
296
  /**
275
297
  * The number of frames a miner operates for
276
298
  **/
@@ -279,6 +301,10 @@ declare module '@polkadot/api-base/types/consts' {
279
301
  * The initial argonots needed per seat before a prior-day median is available.
280
302
  **/
281
303
  initialArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
304
+ /**
305
+ * Maximum commitments, including public bids, admitted per block.
306
+ **/
307
+ maxBidsPerBlock: u32 & AugmentedConst<ApiType>;
282
308
  /**
283
309
  * How many new miners can be in the cohort for each slot. The actual maximum will adjust
284
310
  * dynamically
@@ -428,6 +454,11 @@ declare module '@polkadot/api-base/types/consts' {
428
454
  * Minimum vault securitization required to become operational.
429
455
  **/
430
456
  operationalMinimumVaultSecuritization: u128 & AugmentedConst<ApiType>;
457
+ /**
458
+ * Required operational registration signing contract. Clients must require version 2
459
+ * before signing; older clients must upgrade rather than reuse ownership-only proofs.
460
+ **/
461
+ registrationProofVersion: u8 & AugmentedConst<ApiType>;
431
462
  };
432
463
  ownership: {
433
464
  /**
@@ -526,6 +557,61 @@ declare module '@polkadot/api-base/types/consts' {
526
557
  **/
527
558
  proxyDepositFactor: u128 & AugmentedConst<ApiType>;
528
559
  };
560
+ stabilizerBuys: {
561
+ /**
562
+ * Fraction of total matching basis admitted to rewards, independent of bid rates.
563
+ * Configure 90%; reserve up to that amount, bounded separately by available Treasury
564
+ * funding.
565
+ **/
566
+ auctionInclusionPercent: Percent & AugmentedConst<ApiType>;
567
+ /**
568
+ * Additional burn-funded reward before applying the purchase's auction result.
569
+ **/
570
+ liquidRepaymentRewardPercent: Percent & AugmentedConst<ApiType>;
571
+ /**
572
+ * Maximum account/frame purchase buckets visited in one account payout.
573
+ * This bounds work, without limiting the number of purchases an account can hold.
574
+ **/
575
+ maxFramesPerPayout: u32 & AugmentedConst<ApiType>;
576
+ /**
577
+ * Maximum Liquid repayments attempted across all account payouts in one block.
578
+ **/
579
+ maxLiquidRepaysPerBlock: u32 & AugmentedConst<ApiType>;
580
+ /**
581
+ * Maximum work in each automatic stage per block: ranked bid decisions, then account
582
+ * payout attempts. Failures and empty-auction completion consume work; excess stays
583
+ * queued.
584
+ **/
585
+ maxPayoutsPerBlock: u32 & AugmentedConst<ApiType>;
586
+ /**
587
+ * Positive submissions per account and auction; four allows an initial bid and three
588
+ * revisions.
589
+ **/
590
+ maxPositiveBids: u8 & AugmentedConst<ApiType>;
591
+ /**
592
+ * Maximum observation age at purchase time; also bounds historical lookup reads.
593
+ **/
594
+ maxPriceAgeTicks: u64 & AugmentedConst<ApiType>;
595
+ /**
596
+ * Maximum obsolete price entries removed per block after gateway sync advances.
597
+ **/
598
+ maxPriceHistoryPrunesPerBlock: u32 & AugmentedConst<ApiType>;
599
+ /**
600
+ * Maximum frame visits per repayment attempt; a partial frame visit also reads one tick.
601
+ **/
602
+ maxPriceWindowSteps: u32 & AugmentedConst<ApiType>;
603
+ /**
604
+ * Total mining-frame hold from admission, including the bidding window.
605
+ **/
606
+ purchaseHoldFrames: u64 & AugmentedConst<ApiType>;
607
+ };
608
+ stabilizerPools: {
609
+ /**
610
+ * Opening references retained in financial-day frames, including the checkpoint buffer.
611
+ * Zero disables history. Both production runtimes retain 30 frames plus a 3-frame buffer.
612
+ **/
613
+ maxFramePriceHistoryFrames: u32 & AugmentedConst<ApiType>;
614
+ };
529
615
  system: {
530
616
  /**
531
617
  * Maximum number of block number to block hash mappings to keep (oldest pruned first).
@@ -615,6 +701,16 @@ declare module '@polkadot/api-base/types/consts' {
615
701
  * The maximum percent of ownership-token circulation that can be bonded.
616
702
  **/
617
703
  maxArgonotBondedPercentOfCirculation: Percent & AugmentedConst<ApiType>;
704
+ /**
705
+ * Maximum accounts whose queued bond collateral is attempted in one block.
706
+ **/
707
+ maxBondCollateralSettlementsPerBlock: u32 & AugmentedConst<ApiType>;
708
+ /**
709
+ * Owner bond/stake lot count assumed by scan benchmarks and checked by try_state.
710
+ * Includes lots awaiting release. Purchases remain unrestricted and scans are not
711
+ * truncated.
712
+ **/
713
+ maxExpectedBondLotsPerAccount: u32 & AugmentedConst<ApiType>;
618
714
  /**
619
715
  * The maximum number of bond lots whose release delay may mature in a single frame.
620
716
  **/
@@ -670,6 +766,10 @@ declare module '@polkadot/api-base/types/consts' {
670
766
  upstreamBitcoinTarget: u128 & AugmentedConst<ApiType>;
671
767
  upstreamBitcoinWeight: Permill & AugmentedConst<ApiType>;
672
768
  upstreamBondTarget: u128 & AugmentedConst<ApiType>;
769
+ /**
770
+ * Maximum share of the full bid pool paid for vault Bitcoin participation.
771
+ **/
772
+ vaultBitcoinRewardPercent: Permill & AugmentedConst<ApiType>;
673
773
  };
674
774
  txPause: {
675
775
  /**
@@ -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
@@ -102,6 +101,26 @@ declare module '@polkadot/api-base/types/errors' {
102
101
  * A source Lock's securitization does not cover the requested allocation and liability.
103
102
  **/
104
103
  InsufficientSecuritization: AugmentedError<ApiType>;
104
+ /**
105
+ * The fee coupon is invalid, expired, or already consumed.
106
+ **/
107
+ InvalidFeeCoupon: AugmentedError<ApiType>;
108
+ /**
109
+ * Zero is reserved for the absence of a Liquid and cannot identify a new allocation.
110
+ **/
111
+ InvalidLiquidId: AugmentedError<ApiType>;
112
+ /**
113
+ * Fissions can join an existing Liquid only during its original creation tick.
114
+ **/
115
+ LiquidCreationWindowClosed: AugmentedError<ApiType>;
116
+ /**
117
+ * This owner has no active Fissions in the selected Liquid.
118
+ **/
119
+ LiquidNotFound: AugmentedError<ApiType>;
120
+ /**
121
+ * This owner's Liquid has unsettled repayment purchases, so it cannot close or ratchet.
122
+ **/
123
+ LiquidRepaymentPending: AugmentedError<ApiType>;
105
124
  /**
106
125
  * The requested source Lock does not exist.
107
126
  **/
@@ -138,6 +157,22 @@ declare module '@polkadot/api-base/types/errors' {
138
157
  * The Fission's ratchet counter cannot be incremented.
139
158
  **/
140
159
  RatchetNumberOverflow: AugmentedError<ApiType>;
160
+ /**
161
+ * The actual burn exceeds the remaining purchase budget.
162
+ **/
163
+ RepaymentBudgetExceeded: AugmentedError<ApiType>;
164
+ /**
165
+ * The repayment requests more satoshis than the Fission currently allocates.
166
+ **/
167
+ RepaymentExceedsFission: AugmentedError<ApiType>;
168
+ /**
169
+ * A repayment must return at least one satoshi to its source Lock.
170
+ **/
171
+ RepaymentHasNoSatoshis: AugmentedError<ApiType>;
172
+ /**
173
+ * The Vault could not upgrade the guarantee assigned to this Fission.
174
+ **/
175
+ ResecuritizationFailed: AugmentedError<ApiType>;
141
176
  /**
142
177
  * The source Lock already has the maximum number of active Fissions.
143
178
  **/
@@ -221,10 +256,6 @@ declare module '@polkadot/api-base/types/errors' {
221
256
  * The requested Lock securitization has fewer satoshis than its active Fissions.
222
257
  **/
223
258
  InsufficientSatoshisForFissions: AugmentedError<ApiType>;
224
- /**
225
- * The requested Lock securitization does not cover its active Fission liabilities.
226
- **/
227
- InsufficientSecuritizationForFissions: AugmentedError<ApiType>;
228
259
  InsufficientVaultFunds: AugmentedError<ApiType>;
229
260
  /**
230
261
  * The external destination amount must be nonzero and fit with the network fee.
@@ -247,7 +278,7 @@ declare module '@polkadot/api-base/types/errors' {
247
278
  **/
248
279
  LockHasActiveFissions: AugmentedError<ApiType>;
249
280
  /**
250
- * A Lock in the release process cannot be resecuritized.
281
+ * A Lock's guarantee cannot be changed while release is pending.
251
282
  **/
252
283
  LockInProcessOfRelease: AugmentedError<ApiType>;
253
284
  /**
@@ -279,13 +310,13 @@ declare module '@polkadot/api-base/types/errors' {
279
310
  **/
280
311
  NoBitcoinPricesAvailable: AugmentedError<ApiType>;
281
312
  /**
282
- * The user does not have permissions to perform this action
313
+ * The requested securitization matches the Lock's current securitization.
283
314
  **/
284
- NoPermissions: AugmentedError<ApiType>;
315
+ NoGuaranteeChange: AugmentedError<ApiType>;
285
316
  /**
286
- * The requested securitization matches the Lock's current securitization.
317
+ * The user does not have permissions to perform this action
287
318
  **/
288
- NoResecuritizationChange: AugmentedError<ApiType>;
319
+ NoPermissions: AugmentedError<ApiType>;
289
320
  /**
290
321
  * No Vault public keys are available
291
322
  **/
@@ -610,7 +641,7 @@ declare module '@polkadot/api-base/types/errors' {
610
641
  **/
611
642
  InvalidTransferCollateralUpdate: AugmentedError<ApiType>;
612
643
  /**
613
- * The transfer-out amount must be nonzero.
644
+ * The transfer-out amount is below the selected currency's minimum account balance.
614
645
  **/
615
646
  InvalidTransferOutAmount: AugmentedError<ApiType>;
616
647
  /**
@@ -800,6 +831,7 @@ declare module '@polkadot/api-base/types/errors' {
800
831
  ExecutionHeaderAnchorNotHistorical: AugmentedError<ApiType>;
801
832
  ExpectedFinalizedHeaderNotStored: AugmentedError<ApiType>;
802
833
  ForkDataHashTreeRootFailed: AugmentedError<ApiType>;
834
+ GloasForkAlreadyActive: AugmentedError<ApiType>;
803
835
  Halted: AugmentedError<ApiType>;
804
836
  HeaderHashTreeRootFailed: AugmentedError<ApiType>;
805
837
  InvalidBackfillHeaderRoot: AugmentedError<ApiType>;
@@ -808,6 +840,7 @@ declare module '@polkadot/api-base/types/errors' {
808
840
  * The gap between finalized headers is larger than the retained historical window.
809
841
  **/
810
842
  InvalidFinalizedHeaderGap: AugmentedError<ApiType>;
843
+ InvalidForkSchedule: AugmentedError<ApiType>;
811
844
  InvalidHeaderMerkleProof: AugmentedError<ApiType>;
812
845
  InvalidSyncCommitteeMerkleProof: AugmentedError<ApiType>;
813
846
  /**
@@ -898,6 +931,14 @@ declare module '@polkadot/api-base/types/errors' {
898
931
  NotebookIncludesExpiredLocalchainTransfer: AugmentedError<ApiType>;
899
932
  };
900
933
  miningSlot: {
934
+ /**
935
+ * The bid batch cannot settle until its reveal window has ended.
936
+ **/
937
+ BatchNotMature: AugmentedError<ApiType>;
938
+ /**
939
+ * The pending bid's maximum has already been revealed.
940
+ **/
941
+ BidAlreadyRevealed: AugmentedError<ApiType>;
901
942
  /**
902
943
  * The mining bid cannot be reduced
903
944
  **/
@@ -914,6 +955,10 @@ declare module '@polkadot/api-base/types/errors' {
914
955
  * An account can only have one active registration
915
956
  **/
916
957
  CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
958
+ /**
959
+ * The miner already has a pending bid awaiting settlement.
960
+ **/
961
+ DuplicateBidCommitment: AugmentedError<ApiType>;
917
962
  /**
918
963
  * The funding account does not have enough funds to cover the bid
919
964
  **/
@@ -926,14 +971,38 @@ declare module '@polkadot/api-base/types/errors' {
926
971
  * Bids must be in allowed increments
927
972
  **/
928
973
  InvalidBidAmount: AugmentedError<ApiType>;
974
+ /**
975
+ * The revealed maximum and salt do not match the pending bid's hash.
976
+ **/
977
+ InvalidBidCommitment: AugmentedError<ApiType>;
978
+ /**
979
+ * The revealed maximum is lower than the public bid.
980
+ **/
981
+ InvalidBidRange: AugmentedError<ApiType>;
982
+ /**
983
+ * A maximum must be revealed in a block after submission and within the reveal window.
984
+ **/
985
+ InvalidRevealBlock: AugmentedError<ApiType>;
986
+ /**
987
+ * The miner has no pending bid with a committed maximum to reveal.
988
+ **/
989
+ MissingBidCommitment: AugmentedError<ApiType>;
929
990
  /**
930
991
  * Mining slot bidding currently requires a prior operational-account upgrade.
931
992
  **/
932
993
  OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
994
+ /**
995
+ * Bidding with a committed maximum is not enabled for the current auction frame.
996
+ **/
997
+ RangeAuctionNotActive: AugmentedError<ApiType>;
933
998
  /**
934
999
  * Bidding for the next cohort has closed
935
1000
  **/
936
1001
  SlotNotTakingBids: AugmentedError<ApiType>;
1002
+ /**
1003
+ * This block has reached the maximum number of pending bid submissions.
1004
+ **/
1005
+ TooManyBidCommitments: AugmentedError<ApiType>;
937
1006
  /**
938
1007
  * The cohort registration overflowed
939
1008
  **/
@@ -942,6 +1011,10 @@ declare module '@polkadot/api-base/types/errors' {
942
1011
  * The argonots on hold cannot be released
943
1012
  **/
944
1013
  UnrecoverableHold: AugmentedError<ApiType>;
1014
+ /**
1015
+ * The bid targets a different auction frame than the current one.
1016
+ **/
1017
+ WrongBidFrame: AugmentedError<ApiType>;
945
1018
  };
946
1019
  mint: {
947
1020
  TooManyPendingMints: AugmentedError<ApiType>;
@@ -1135,6 +1208,11 @@ declare module '@polkadot/api-base/types/errors' {
1135
1208
  * alphanumeric.
1136
1209
  **/
1137
1210
  InvalidName: AugmentedError<ApiType>;
1211
+ /**
1212
+ * The operational signature does not authorize this registration on this chain.
1213
+ * Clients using ownership-only proofs must upgrade to registration proof version 2.
1214
+ **/
1215
+ InvalidRegistrationProof: AugmentedError<ApiType>;
1138
1216
  /**
1139
1217
  * The caller is not one of the accounts included in the registration.
1140
1218
  **/
@@ -1243,6 +1321,10 @@ declare module '@polkadot/api-base/types/errors' {
1243
1321
  * Ethereum prices must be non-zero and correspond to the submitted price-index tick.
1244
1322
  **/
1245
1323
  InvalidEthereumPrices: AugmentedError<ApiType>;
1324
+ /**
1325
+ * A supplied USDC observation must be positive and no later than the current tick.
1326
+ **/
1327
+ InvalidUsdcPrice: AugmentedError<ApiType>;
1246
1328
  /**
1247
1329
  * Change in argon price is too large
1248
1330
  **/
@@ -1294,6 +1376,96 @@ declare module '@polkadot/api-base/types/errors' {
1294
1376
  **/
1295
1377
  Unproxyable: AugmentedError<ApiType>;
1296
1378
  };
1379
+ stabilizerBuys: {
1380
+ /**
1381
+ * No auction exists for the supplied admission frame.
1382
+ **/
1383
+ AuctionNotFound: AugmentedError<ApiType>;
1384
+ /**
1385
+ * Allocation was requested before the auction's Treasury budget was finalized.
1386
+ **/
1387
+ AuctionNotReady: AugmentedError<ApiType>;
1388
+ /**
1389
+ * The call is outside F+1 or the auction no longer accepts bids.
1390
+ **/
1391
+ BiddingClosed: AugmentedError<ApiType>;
1392
+ /**
1393
+ * Positive submissions are exhausted; zero may still opt out.
1394
+ **/
1395
+ BidLimitReached: AugmentedError<ApiType>;
1396
+ /**
1397
+ * A positive rate produces zero whole microgons against the matching basis.
1398
+ **/
1399
+ BidRoundsToZero: AugmentedError<ApiType>;
1400
+ /**
1401
+ * A positive bid repeats the account's current rate.
1402
+ **/
1403
+ BidUnchanged: AugmentedError<ApiType>;
1404
+ /**
1405
+ * The account has no purchase bucket for this auction.
1406
+ **/
1407
+ EntryNotFound: AugmentedError<ApiType>;
1408
+ /**
1409
+ * A repayment hold has not matured, its price window is incomplete, or its auction
1410
+ * result is not available yet.
1411
+ **/
1412
+ PayoutNotReady: AugmentedError<ApiType>;
1413
+ };
1414
+ stabilizerPools: {
1415
+ /**
1416
+ * The three account witnesses do not contain identical execution-block proofs.
1417
+ **/
1418
+ InconsistentProofBlocks: AugmentedError<ApiType>;
1419
+ /**
1420
+ * A deployment address is zero or reused, or the pool key fails ordering or encoding
1421
+ * bounds.
1422
+ **/
1423
+ InvalidPool: AugmentedError<ApiType>;
1424
+ /**
1425
+ * The packed PoolId mismatches, ticks are invalid/misaligned, or liquidity exceeds
1426
+ * uint128.
1427
+ **/
1428
+ InvalidPosition: AugmentedError<ApiType>;
1429
+ /**
1430
+ * The Ethereum verifier is unavailable, or header ancestry/account/storage authentication
1431
+ * fails.
1432
+ **/
1433
+ InvalidProof: AugmentedError<ApiType>;
1434
+ /**
1435
+ * A witness has the wrong slot count or slot addresses for the requested NFT position.
1436
+ **/
1437
+ InvalidStorageSlots: AugmentedError<ApiType>;
1438
+ /**
1439
+ * The NFT's subscriber or subscription flag is invalid, or its permanent revision is
1440
+ * zero.
1441
+ **/
1442
+ InvalidSubscription: AugmentedError<ApiType>;
1443
+ /**
1444
+ * The signer does not match the beneficiary encoded in the subscription witness.
1445
+ **/
1446
+ NotBeneficiary: AugmentedError<ApiType>;
1447
+ /**
1448
+ * This PoolManager/PoolId pair already has an immutable registration.
1449
+ **/
1450
+ PoolAlreadyRegistered: AugmentedError<ApiType>;
1451
+ /**
1452
+ * No approved configuration exists for the supplied PoolManager/PoolId pair.
1453
+ **/
1454
+ PoolNotRegistered: AugmentedError<ApiType>;
1455
+ /**
1456
+ * Beneficiary, subscriber, pool, tick range, or liquidity changed without a revision
1457
+ * increase.
1458
+ **/
1459
+ PositionChangedWithoutRevision: AugmentedError<ApiType>;
1460
+ /**
1461
+ * The subscriber revision is lower than the NFT's last accepted revision.
1462
+ **/
1463
+ RevisionRegressed: AugmentedError<ApiType>;
1464
+ /**
1465
+ * Ethereum block height or time does not strictly advance past the stored checkpoint.
1466
+ **/
1467
+ StaleCheckpoint: AugmentedError<ApiType>;
1468
+ };
1297
1469
  sudo: {
1298
1470
  /**
1299
1471
  * Sender must be the Sudo account.
@@ -1345,8 +1517,8 @@ declare module '@polkadot/api-base/types/errors' {
1345
1517
  ticks: {};
1346
1518
  treasury: {
1347
1519
  /**
1348
- * Liquidating this bond lot would take the account below its crosschain-encumbered
1349
- * treasury backing.
1520
+ * A reservation or liquidation would leave Treasury backing uncovered, or queued
1521
+ * settlement exceeds the account's remaining encumbrance.
1350
1522
  **/
1351
1523
  ActiveBondAmountBelowEncumberedBacking: AugmentedError<ApiType>;
1352
1524
  /**