@argonprotocol/mainchain 1.5.2-dev.aad85636 → 1.5.2-dev.b031c548

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 +439 -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 +319 -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 +5031 -461
  12. package/browser/index.js +4852 -1346
  13. package/browser/index.js.map +1 -1
  14. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -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 +319 -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 +4430 -949
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5031 -461
  26. package/lib/index.d.ts +5031 -461
  27. package/lib/index.js +4454 -973
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +67 -0
  31. package/src/interfaces/augment-api-errors.ts +135 -1
  32. package/src/interfaces/augment-api-events.ts +132 -2
  33. package/src/interfaces/augment-api-query.ts +218 -5
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +134 -27
  36. package/src/interfaces/lookup.ts +697 -266
  37. package/src/interfaces/registry.ts +60 -4
  38. package/src/interfaces/types-lookup.ts +762 -279
@@ -9,6 +9,8 @@ import type {
9
9
  ArgonNotaryAuditErrorVerifyError,
10
10
  ArgonPrimitivesAccountAccountType,
11
11
  ArgonPrimitivesAmountRankAmountRankKey,
12
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
13
+ ArgonPrimitivesAmountRankAscendingRankKeyU64,
12
14
  ArgonPrimitivesBalanceChangeAccountOrigin,
13
15
  ArgonPrimitivesBalanceChangeMerkleProof,
14
16
  ArgonPrimitivesBitcoinBitcoinBlock,
@@ -36,6 +38,7 @@ import type {
36
38
  ArgonPrimitivesDomainSemver,
37
39
  ArgonPrimitivesDomainVersionHost,
38
40
  ArgonPrimitivesDomainZoneRecord,
41
+ ArgonPrimitivesEthereumEthereumAccountStorageProof,
39
42
  ArgonPrimitivesEthereumEthereumBeaconPreset,
40
43
  ArgonPrimitivesEthereumEthereumCombinedReceiptProof,
41
44
  ArgonPrimitivesEthereumEthereumExecutionBlockProof,
@@ -45,6 +48,7 @@ import type {
45
48
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
46
49
  ArgonPrimitivesEthereumEthereumReceiptLogProofBlock,
47
50
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt,
51
+ ArgonPrimitivesEthereumEthereumStorageSlotProof,
48
52
  ArgonPrimitivesForkPower,
49
53
  ArgonPrimitivesInherentsBitcoinUtxoFunding,
50
54
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2,
@@ -58,6 +62,7 @@ import type {
58
62
  ArgonPrimitivesNotebookNotebookAuditResult,
59
63
  ArgonPrimitivesNotebookNotebookHeader,
60
64
  ArgonPrimitivesNotebookSignedNotebookHeader,
65
+ ArgonPrimitivesPriceIndex,
61
66
  ArgonPrimitivesProvidersBlockSealerInfo,
62
67
  ArgonPrimitivesProvidersOperationalRewardKind,
63
68
  ArgonPrimitivesTickTicker,
@@ -168,6 +173,7 @@ import type {
168
173
  PalletCrosschainTransferCouncilApprovalTargetId,
169
174
  PalletCrosschainTransferError,
170
175
  PalletCrosschainTransferEvent,
176
+ PalletCrosschainTransferGatewayActivityStorageProof,
171
177
  PalletCrosschainTransferGatewayState,
172
178
  PalletCrosschainTransferGatewaySyncPause,
173
179
  PalletCrosschainTransferGatewaySyncPauseReason,
@@ -179,6 +185,7 @@ import type {
179
185
  PalletCrosschainTransferMintingAuthorityState,
180
186
  PalletCrosschainTransferSourceChain,
181
187
  PalletCrosschainTransferSourceChainCirculation,
188
+ PalletCrosschainTransferSwapPurchaseEvidence,
182
189
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation,
183
190
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
184
191
  PalletCrosschainTransferTransferOutTransferOutOfArgon,
@@ -205,6 +212,7 @@ import type {
205
212
  PalletEthereumVerifierSyncCommittee,
206
213
  PalletEthereumVerifierSyncCommitteePrepared,
207
214
  PalletEthereumVerifierUpdate,
215
+ PalletEthereumVerifierVersionedExecutionPayloadHeader,
208
216
  PalletFeeControlError,
209
217
  PalletFeeControlEvent,
210
218
  PalletGrandpaCall,
@@ -221,7 +229,9 @@ import type {
221
229
  PalletMiningSlotEvent,
222
230
  PalletMiningSlotHoldReason,
223
231
  PalletMiningSlotMinerNonceScoring,
232
+ PalletMiningSlotPendingBid,
224
233
  PalletMiningSlotSeatPriceStats,
234
+ PalletMiningSlotStandingBid,
225
235
  PalletMintCall,
226
236
  PalletMintError,
227
237
  PalletMintEvent,
@@ -258,13 +268,31 @@ import type {
258
268
  PalletPriceIndexEthereumPriceFrameAccumulator,
259
269
  PalletPriceIndexEthereumPriceIndex,
260
270
  PalletPriceIndexEvent,
261
- PalletPriceIndexPriceIndex,
262
271
  PalletProxyAnnouncement,
263
272
  PalletProxyCall,
264
273
  PalletProxyDepositKind,
265
274
  PalletProxyError,
266
275
  PalletProxyEvent,
267
276
  PalletProxyProxyDefinition,
277
+ PalletStabilizerBuysAccountBuys,
278
+ PalletStabilizerBuysAuction,
279
+ PalletStabilizerBuysBuyPayout,
280
+ PalletStabilizerBuysCall,
281
+ PalletStabilizerBuysError,
282
+ PalletStabilizerBuysEvent,
283
+ PalletStabilizerBuysHoldReason,
284
+ PalletStabilizerBuysIneligibleReason,
285
+ PalletStabilizerBuysPriceHistoryHourlyPriceReference,
286
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
287
+ PalletStabilizerPoolsCall,
288
+ PalletStabilizerPoolsCheckpointOutcome,
289
+ PalletStabilizerPoolsError,
290
+ PalletStabilizerPoolsEvent,
291
+ PalletStabilizerPoolsPoolConfig,
292
+ PalletStabilizerPoolsPoolKey,
293
+ PalletStabilizerPoolsPositionCheckpoint,
294
+ PalletStabilizerPoolsPositionProof,
295
+ PalletStabilizerPoolsProofBlock,
268
296
  PalletSudoCall,
269
297
  PalletSudoError,
270
298
  PalletSudoEvent,
@@ -290,6 +318,7 @@ import type {
290
318
  PalletTreasuryLockedFrameBondTerms,
291
319
  PalletTreasuryLockedFrameVaultTerms,
292
320
  PalletTreasuryPositionsPosition,
321
+ PalletTreasuryRewardReserveBalances,
293
322
  PalletTreasuryVaultBondState,
294
323
  PalletTreasuryVaultSecuritizationPosition,
295
324
  PalletTxPauseCall,
@@ -312,7 +341,6 @@ import type {
312
341
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader,
313
342
  SnowbridgeBeaconPrimitivesPublicKey,
314
343
  SnowbridgeBeaconPrimitivesSignature,
315
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader,
316
344
  SnowbridgeMilagroBlsKeysPublicKey,
317
345
  SpArithmeticArithmeticError,
318
346
  SpConsensusGrandpaAppPublic,
@@ -339,6 +367,8 @@ declare module '@polkadot/types/types/registry' {
339
367
  ArgonNotaryAuditErrorVerifyError: ArgonNotaryAuditErrorVerifyError;
340
368
  ArgonPrimitivesAccountAccountType: ArgonPrimitivesAccountAccountType;
341
369
  ArgonPrimitivesAmountRankAmountRankKey: ArgonPrimitivesAmountRankAmountRankKey;
370
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32;
371
+ ArgonPrimitivesAmountRankAscendingRankKeyU64: ArgonPrimitivesAmountRankAscendingRankKeyU64;
342
372
  ArgonPrimitivesBalanceChangeAccountOrigin: ArgonPrimitivesBalanceChangeAccountOrigin;
343
373
  ArgonPrimitivesBalanceChangeMerkleProof: ArgonPrimitivesBalanceChangeMerkleProof;
344
374
  ArgonPrimitivesBitcoinBitcoinBlock: ArgonPrimitivesBitcoinBitcoinBlock;
@@ -366,6 +396,7 @@ declare module '@polkadot/types/types/registry' {
366
396
  ArgonPrimitivesDomainSemver: ArgonPrimitivesDomainSemver;
367
397
  ArgonPrimitivesDomainVersionHost: ArgonPrimitivesDomainVersionHost;
368
398
  ArgonPrimitivesDomainZoneRecord: ArgonPrimitivesDomainZoneRecord;
399
+ ArgonPrimitivesEthereumEthereumAccountStorageProof: ArgonPrimitivesEthereumEthereumAccountStorageProof;
369
400
  ArgonPrimitivesEthereumEthereumBeaconPreset: ArgonPrimitivesEthereumEthereumBeaconPreset;
370
401
  ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
371
402
  ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
@@ -375,6 +406,7 @@ declare module '@polkadot/types/types/registry' {
375
406
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch: ArgonPrimitivesEthereumEthereumReceiptLogProofBatch;
376
407
  ArgonPrimitivesEthereumEthereumReceiptLogProofBlock: ArgonPrimitivesEthereumEthereumReceiptLogProofBlock;
377
408
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
409
+ ArgonPrimitivesEthereumEthereumStorageSlotProof: ArgonPrimitivesEthereumEthereumStorageSlotProof;
378
410
  ArgonPrimitivesForkPower: ArgonPrimitivesForkPower;
379
411
  ArgonPrimitivesInherentsBitcoinUtxoFunding: ArgonPrimitivesInherentsBitcoinUtxoFunding;
380
412
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2: ArgonPrimitivesInherentsBitcoinUtxoSpendV2;
@@ -388,6 +420,7 @@ declare module '@polkadot/types/types/registry' {
388
420
  ArgonPrimitivesNotebookNotebookAuditResult: ArgonPrimitivesNotebookNotebookAuditResult;
389
421
  ArgonPrimitivesNotebookNotebookHeader: ArgonPrimitivesNotebookNotebookHeader;
390
422
  ArgonPrimitivesNotebookSignedNotebookHeader: ArgonPrimitivesNotebookSignedNotebookHeader;
423
+ ArgonPrimitivesPriceIndex: ArgonPrimitivesPriceIndex;
391
424
  ArgonPrimitivesProvidersBlockSealerInfo: ArgonPrimitivesProvidersBlockSealerInfo;
392
425
  ArgonPrimitivesProvidersOperationalRewardKind: ArgonPrimitivesProvidersOperationalRewardKind;
393
426
  ArgonPrimitivesTickTicker: ArgonPrimitivesTickTicker;
@@ -498,6 +531,7 @@ declare module '@polkadot/types/types/registry' {
498
531
  PalletCrosschainTransferCouncilApprovalTargetId: PalletCrosschainTransferCouncilApprovalTargetId;
499
532
  PalletCrosschainTransferError: PalletCrosschainTransferError;
500
533
  PalletCrosschainTransferEvent: PalletCrosschainTransferEvent;
534
+ PalletCrosschainTransferGatewayActivityStorageProof: PalletCrosschainTransferGatewayActivityStorageProof;
501
535
  PalletCrosschainTransferGatewayState: PalletCrosschainTransferGatewayState;
502
536
  PalletCrosschainTransferGatewaySyncPause: PalletCrosschainTransferGatewaySyncPause;
503
537
  PalletCrosschainTransferGatewaySyncPauseReason: PalletCrosschainTransferGatewaySyncPauseReason;
@@ -509,6 +543,7 @@ declare module '@polkadot/types/types/registry' {
509
543
  PalletCrosschainTransferMintingAuthorityState: PalletCrosschainTransferMintingAuthorityState;
510
544
  PalletCrosschainTransferSourceChain: PalletCrosschainTransferSourceChain;
511
545
  PalletCrosschainTransferSourceChainCirculation: PalletCrosschainTransferSourceChainCirculation;
546
+ PalletCrosschainTransferSwapPurchaseEvidence: PalletCrosschainTransferSwapPurchaseEvidence;
512
547
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation: PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation;
513
548
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest: PalletCrosschainTransferTransferOutPendingCollateralizationRequest;
514
549
  PalletCrosschainTransferTransferOutTransferOutOfArgon: PalletCrosschainTransferTransferOutTransferOutOfArgon;
@@ -535,6 +570,7 @@ declare module '@polkadot/types/types/registry' {
535
570
  PalletEthereumVerifierSyncCommittee: PalletEthereumVerifierSyncCommittee;
536
571
  PalletEthereumVerifierSyncCommitteePrepared: PalletEthereumVerifierSyncCommitteePrepared;
537
572
  PalletEthereumVerifierUpdate: PalletEthereumVerifierUpdate;
573
+ PalletEthereumVerifierVersionedExecutionPayloadHeader: PalletEthereumVerifierVersionedExecutionPayloadHeader;
538
574
  PalletFeeControlError: PalletFeeControlError;
539
575
  PalletFeeControlEvent: PalletFeeControlEvent;
540
576
  PalletGrandpaCall: PalletGrandpaCall;
@@ -551,7 +587,9 @@ declare module '@polkadot/types/types/registry' {
551
587
  PalletMiningSlotEvent: PalletMiningSlotEvent;
552
588
  PalletMiningSlotHoldReason: PalletMiningSlotHoldReason;
553
589
  PalletMiningSlotMinerNonceScoring: PalletMiningSlotMinerNonceScoring;
590
+ PalletMiningSlotPendingBid: PalletMiningSlotPendingBid;
554
591
  PalletMiningSlotSeatPriceStats: PalletMiningSlotSeatPriceStats;
592
+ PalletMiningSlotStandingBid: PalletMiningSlotStandingBid;
555
593
  PalletMintCall: PalletMintCall;
556
594
  PalletMintError: PalletMintError;
557
595
  PalletMintEvent: PalletMintEvent;
@@ -588,13 +626,31 @@ declare module '@polkadot/types/types/registry' {
588
626
  PalletPriceIndexEthereumPriceFrameAccumulator: PalletPriceIndexEthereumPriceFrameAccumulator;
589
627
  PalletPriceIndexEthereumPriceIndex: PalletPriceIndexEthereumPriceIndex;
590
628
  PalletPriceIndexEvent: PalletPriceIndexEvent;
591
- PalletPriceIndexPriceIndex: PalletPriceIndexPriceIndex;
592
629
  PalletProxyAnnouncement: PalletProxyAnnouncement;
593
630
  PalletProxyCall: PalletProxyCall;
594
631
  PalletProxyDepositKind: PalletProxyDepositKind;
595
632
  PalletProxyError: PalletProxyError;
596
633
  PalletProxyEvent: PalletProxyEvent;
597
634
  PalletProxyProxyDefinition: PalletProxyProxyDefinition;
635
+ PalletStabilizerBuysAccountBuys: PalletStabilizerBuysAccountBuys;
636
+ PalletStabilizerBuysAuction: PalletStabilizerBuysAuction;
637
+ PalletStabilizerBuysBuyPayout: PalletStabilizerBuysBuyPayout;
638
+ PalletStabilizerBuysCall: PalletStabilizerBuysCall;
639
+ PalletStabilizerBuysError: PalletStabilizerBuysError;
640
+ PalletStabilizerBuysEvent: PalletStabilizerBuysEvent;
641
+ PalletStabilizerBuysHoldReason: PalletStabilizerBuysHoldReason;
642
+ PalletStabilizerBuysIneligibleReason: PalletStabilizerBuysIneligibleReason;
643
+ PalletStabilizerBuysPriceHistoryHourlyPriceReference: PalletStabilizerBuysPriceHistoryHourlyPriceReference;
644
+ PalletStabilizerBuysUniswapPurchasePurchasePool: PalletStabilizerBuysUniswapPurchasePurchasePool;
645
+ PalletStabilizerPoolsCall: PalletStabilizerPoolsCall;
646
+ PalletStabilizerPoolsCheckpointOutcome: PalletStabilizerPoolsCheckpointOutcome;
647
+ PalletStabilizerPoolsError: PalletStabilizerPoolsError;
648
+ PalletStabilizerPoolsEvent: PalletStabilizerPoolsEvent;
649
+ PalletStabilizerPoolsPoolConfig: PalletStabilizerPoolsPoolConfig;
650
+ PalletStabilizerPoolsPoolKey: PalletStabilizerPoolsPoolKey;
651
+ PalletStabilizerPoolsPositionCheckpoint: PalletStabilizerPoolsPositionCheckpoint;
652
+ PalletStabilizerPoolsPositionProof: PalletStabilizerPoolsPositionProof;
653
+ PalletStabilizerPoolsProofBlock: PalletStabilizerPoolsProofBlock;
598
654
  PalletSudoCall: PalletSudoCall;
599
655
  PalletSudoError: PalletSudoError;
600
656
  PalletSudoEvent: PalletSudoEvent;
@@ -620,6 +676,7 @@ declare module '@polkadot/types/types/registry' {
620
676
  PalletTreasuryLockedFrameBondTerms: PalletTreasuryLockedFrameBondTerms;
621
677
  PalletTreasuryLockedFrameVaultTerms: PalletTreasuryLockedFrameVaultTerms;
622
678
  PalletTreasuryPositionsPosition: PalletTreasuryPositionsPosition;
679
+ PalletTreasuryRewardReserveBalances: PalletTreasuryRewardReserveBalances;
623
680
  PalletTreasuryVaultBondState: PalletTreasuryVaultBondState;
624
681
  PalletTreasuryVaultSecuritizationPosition: PalletTreasuryVaultSecuritizationPosition;
625
682
  PalletTxPauseCall: PalletTxPauseCall;
@@ -642,7 +699,6 @@ declare module '@polkadot/types/types/registry' {
642
699
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
643
700
  SnowbridgeBeaconPrimitivesPublicKey: SnowbridgeBeaconPrimitivesPublicKey;
644
701
  SnowbridgeBeaconPrimitivesSignature: SnowbridgeBeaconPrimitivesSignature;
645
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
646
702
  SnowbridgeMilagroBlsKeysPublicKey: SnowbridgeMilagroBlsKeysPublicKey;
647
703
  SpArithmeticArithmeticError: SpArithmeticArithmeticError;
648
704
  SpConsensusGrandpaAppPublic: SpConsensusGrandpaAppPublic;