@argonprotocol/mainchain 1.5.2-dev.20010413 → 1.5.2-dev.4f5b015c

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 (37) hide show
  1. package/README.md +20 -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 +328 -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 +5501 -617
  12. package/browser/index.js +3907 -972
  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 +328 -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 +3905 -964
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5501 -617
  26. package/lib/index.d.ts +5501 -617
  27. package/lib/index.js +3918 -977
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +86 -0
  31. package/src/interfaces/augment-api-errors.ts +138 -5
  32. package/src/interfaces/augment-api-events.ts +260 -53
  33. package/src/interfaces/augment-api-query.ts +336 -48
  34. package/src/interfaces/augment-api-tx.ts +130 -37
  35. package/src/interfaces/lookup.ts +770 -311
  36. package/src/interfaces/registry.ts +70 -10
  37. package/src/interfaces/types-lookup.ts +841 -324
@@ -8,7 +8,10 @@ import type {
8
8
  ArgonNotaryAuditAccountHistoryLookupError,
9
9
  ArgonNotaryAuditErrorVerifyError,
10
10
  ArgonPrimitivesAccountAccountType,
11
- ArgonPrimitivesAmountRankAmountRankKey,
11
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
12
+ ArgonPrimitivesAmountRankAmountRankKeyU32,
13
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
14
+ ArgonPrimitivesAmountRankAscendingRankKeyU64,
12
15
  ArgonPrimitivesBalanceChangeAccountOrigin,
13
16
  ArgonPrimitivesBalanceChangeMerkleProof,
14
17
  ArgonPrimitivesBitcoinBitcoinBlock,
@@ -48,6 +51,8 @@ import type {
48
51
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt,
49
52
  ArgonPrimitivesEthereumEthereumStorageSlotProof,
50
53
  ArgonPrimitivesForkPower,
54
+ ArgonPrimitivesGatewayGatewayState,
55
+ ArgonPrimitivesGatewaySourceChain,
51
56
  ArgonPrimitivesInherentsBitcoinUtxoFunding,
52
57
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2,
53
58
  ArgonPrimitivesInherentsBitcoinUtxoSyncV2,
@@ -60,6 +65,8 @@ import type {
60
65
  ArgonPrimitivesNotebookNotebookAuditResult,
61
66
  ArgonPrimitivesNotebookNotebookHeader,
62
67
  ArgonPrimitivesNotebookSignedNotebookHeader,
68
+ ArgonPrimitivesPriceIndex,
69
+ ArgonPrimitivesPriceIndexRValueHighWaterMark,
63
70
  ArgonPrimitivesProvidersBlockSealerInfo,
64
71
  ArgonPrimitivesProvidersOperationalRewardKind,
65
72
  ArgonPrimitivesTickTicker,
@@ -131,6 +138,7 @@ import type {
131
138
  PalletBitcoinFissionsError,
132
139
  PalletBitcoinFissionsEvent,
133
140
  PalletBitcoinFissionsFission,
141
+ PalletBitcoinFissionsLiquidTicks,
134
142
  PalletBitcoinLocksCall,
135
143
  PalletBitcoinLocksError,
136
144
  PalletBitcoinLocksEvent,
@@ -171,7 +179,6 @@ import type {
171
179
  PalletCrosschainTransferError,
172
180
  PalletCrosschainTransferEvent,
173
181
  PalletCrosschainTransferGatewayActivityStorageProof,
174
- PalletCrosschainTransferGatewayState,
175
182
  PalletCrosschainTransferGatewaySyncPause,
176
183
  PalletCrosschainTransferGatewaySyncPauseReason,
177
184
  PalletCrosschainTransferGlobalIssuanceCouncil,
@@ -180,8 +187,8 @@ import type {
180
187
  PalletCrosschainTransferMintingAuthority,
181
188
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
182
189
  PalletCrosschainTransferMintingAuthorityState,
183
- PalletCrosschainTransferSourceChain,
184
190
  PalletCrosschainTransferSourceChainCirculation,
191
+ PalletCrosschainTransferSwapPurchaseEvidence,
185
192
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation,
186
193
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
187
194
  PalletCrosschainTransferTransferOutTransferOutOfArgon,
@@ -208,6 +215,7 @@ import type {
208
215
  PalletEthereumVerifierSyncCommittee,
209
216
  PalletEthereumVerifierSyncCommitteePrepared,
210
217
  PalletEthereumVerifierUpdate,
218
+ PalletEthereumVerifierVersionedExecutionPayloadHeader,
211
219
  PalletFeeControlError,
212
220
  PalletFeeControlEvent,
213
221
  PalletGrandpaCall,
@@ -263,13 +271,34 @@ import type {
263
271
  PalletPriceIndexEthereumPriceFrameAccumulator,
264
272
  PalletPriceIndexEthereumPriceIndex,
265
273
  PalletPriceIndexEvent,
266
- PalletPriceIndexPriceIndex,
267
274
  PalletProxyAnnouncement,
268
275
  PalletProxyCall,
269
276
  PalletProxyDepositKind,
270
277
  PalletProxyError,
271
278
  PalletProxyEvent,
272
279
  PalletProxyProxyDefinition,
280
+ PalletStabilizerBuysAccountFrameBuys,
281
+ PalletStabilizerBuysAccountPayoutState,
282
+ PalletStabilizerBuysAuction,
283
+ PalletStabilizerBuysCall,
284
+ PalletStabilizerBuysError,
285
+ PalletStabilizerBuysEvent,
286
+ PalletStabilizerBuysHoldReason,
287
+ PalletStabilizerBuysIneligibleReason,
288
+ PalletStabilizerBuysLiquidRepay,
289
+ PalletStabilizerBuysLiquidRepayPriceWindow,
290
+ PalletStabilizerBuysPriceHistoryPriceObservation,
291
+ PalletStabilizerBuysPriceHistoryPurchasePriceReference,
292
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
293
+ PalletStabilizerPoolsCall,
294
+ PalletStabilizerPoolsCheckpointOutcome,
295
+ PalletStabilizerPoolsError,
296
+ PalletStabilizerPoolsEvent,
297
+ PalletStabilizerPoolsPoolConfig,
298
+ PalletStabilizerPoolsPoolKey,
299
+ PalletStabilizerPoolsPositionCheckpoint,
300
+ PalletStabilizerPoolsPositionProof,
301
+ PalletStabilizerPoolsProofBlock,
273
302
  PalletSudoCall,
274
303
  PalletSudoError,
275
304
  PalletSudoEvent,
@@ -294,7 +323,9 @@ import type {
294
323
  PalletTreasuryHoldReason,
295
324
  PalletTreasuryLockedFrameBondTerms,
296
325
  PalletTreasuryLockedFrameVaultTerms,
326
+ PalletTreasuryPendingBondCollateral,
297
327
  PalletTreasuryPositionsPosition,
328
+ PalletTreasuryRewardReserveBalances,
298
329
  PalletTreasuryVaultBondState,
299
330
  PalletTreasuryVaultSecuritizationPosition,
300
331
  PalletTxPauseCall,
@@ -317,7 +348,6 @@ import type {
317
348
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader,
318
349
  SnowbridgeBeaconPrimitivesPublicKey,
319
350
  SnowbridgeBeaconPrimitivesSignature,
320
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader,
321
351
  SnowbridgeMilagroBlsKeysPublicKey,
322
352
  SpArithmeticArithmeticError,
323
353
  SpConsensusGrandpaAppPublic,
@@ -343,7 +373,10 @@ declare module '@polkadot/types/types/registry' {
343
373
  ArgonNotaryAuditAccountHistoryLookupError: ArgonNotaryAuditAccountHistoryLookupError;
344
374
  ArgonNotaryAuditErrorVerifyError: ArgonNotaryAuditErrorVerifyError;
345
375
  ArgonPrimitivesAccountAccountType: ArgonPrimitivesAccountAccountType;
346
- ArgonPrimitivesAmountRankAmountRankKey: ArgonPrimitivesAmountRankAmountRankKey;
376
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32: ArgonPrimitivesAmountRankAmountRankKeyAccountId32;
377
+ ArgonPrimitivesAmountRankAmountRankKeyU32: ArgonPrimitivesAmountRankAmountRankKeyU32;
378
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32;
379
+ ArgonPrimitivesAmountRankAscendingRankKeyU64: ArgonPrimitivesAmountRankAscendingRankKeyU64;
347
380
  ArgonPrimitivesBalanceChangeAccountOrigin: ArgonPrimitivesBalanceChangeAccountOrigin;
348
381
  ArgonPrimitivesBalanceChangeMerkleProof: ArgonPrimitivesBalanceChangeMerkleProof;
349
382
  ArgonPrimitivesBitcoinBitcoinBlock: ArgonPrimitivesBitcoinBitcoinBlock;
@@ -383,6 +416,8 @@ declare module '@polkadot/types/types/registry' {
383
416
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
384
417
  ArgonPrimitivesEthereumEthereumStorageSlotProof: ArgonPrimitivesEthereumEthereumStorageSlotProof;
385
418
  ArgonPrimitivesForkPower: ArgonPrimitivesForkPower;
419
+ ArgonPrimitivesGatewayGatewayState: ArgonPrimitivesGatewayGatewayState;
420
+ ArgonPrimitivesGatewaySourceChain: ArgonPrimitivesGatewaySourceChain;
386
421
  ArgonPrimitivesInherentsBitcoinUtxoFunding: ArgonPrimitivesInherentsBitcoinUtxoFunding;
387
422
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2: ArgonPrimitivesInherentsBitcoinUtxoSpendV2;
388
423
  ArgonPrimitivesInherentsBitcoinUtxoSyncV2: ArgonPrimitivesInherentsBitcoinUtxoSyncV2;
@@ -395,6 +430,8 @@ declare module '@polkadot/types/types/registry' {
395
430
  ArgonPrimitivesNotebookNotebookAuditResult: ArgonPrimitivesNotebookNotebookAuditResult;
396
431
  ArgonPrimitivesNotebookNotebookHeader: ArgonPrimitivesNotebookNotebookHeader;
397
432
  ArgonPrimitivesNotebookSignedNotebookHeader: ArgonPrimitivesNotebookSignedNotebookHeader;
433
+ ArgonPrimitivesPriceIndex: ArgonPrimitivesPriceIndex;
434
+ ArgonPrimitivesPriceIndexRValueHighWaterMark: ArgonPrimitivesPriceIndexRValueHighWaterMark;
398
435
  ArgonPrimitivesProvidersBlockSealerInfo: ArgonPrimitivesProvidersBlockSealerInfo;
399
436
  ArgonPrimitivesProvidersOperationalRewardKind: ArgonPrimitivesProvidersOperationalRewardKind;
400
437
  ArgonPrimitivesTickTicker: ArgonPrimitivesTickTicker;
@@ -466,6 +503,7 @@ declare module '@polkadot/types/types/registry' {
466
503
  PalletBitcoinFissionsError: PalletBitcoinFissionsError;
467
504
  PalletBitcoinFissionsEvent: PalletBitcoinFissionsEvent;
468
505
  PalletBitcoinFissionsFission: PalletBitcoinFissionsFission;
506
+ PalletBitcoinFissionsLiquidTicks: PalletBitcoinFissionsLiquidTicks;
469
507
  PalletBitcoinLocksCall: PalletBitcoinLocksCall;
470
508
  PalletBitcoinLocksError: PalletBitcoinLocksError;
471
509
  PalletBitcoinLocksEvent: PalletBitcoinLocksEvent;
@@ -506,7 +544,6 @@ declare module '@polkadot/types/types/registry' {
506
544
  PalletCrosschainTransferError: PalletCrosschainTransferError;
507
545
  PalletCrosschainTransferEvent: PalletCrosschainTransferEvent;
508
546
  PalletCrosschainTransferGatewayActivityStorageProof: PalletCrosschainTransferGatewayActivityStorageProof;
509
- PalletCrosschainTransferGatewayState: PalletCrosschainTransferGatewayState;
510
547
  PalletCrosschainTransferGatewaySyncPause: PalletCrosschainTransferGatewaySyncPause;
511
548
  PalletCrosschainTransferGatewaySyncPauseReason: PalletCrosschainTransferGatewaySyncPauseReason;
512
549
  PalletCrosschainTransferGlobalIssuanceCouncil: PalletCrosschainTransferGlobalIssuanceCouncil;
@@ -515,8 +552,8 @@ declare module '@polkadot/types/types/registry' {
515
552
  PalletCrosschainTransferMintingAuthority: PalletCrosschainTransferMintingAuthority;
516
553
  PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing: PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing;
517
554
  PalletCrosschainTransferMintingAuthorityState: PalletCrosschainTransferMintingAuthorityState;
518
- PalletCrosschainTransferSourceChain: PalletCrosschainTransferSourceChain;
519
555
  PalletCrosschainTransferSourceChainCirculation: PalletCrosschainTransferSourceChainCirculation;
556
+ PalletCrosschainTransferSwapPurchaseEvidence: PalletCrosschainTransferSwapPurchaseEvidence;
520
557
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation: PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation;
521
558
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest: PalletCrosschainTransferTransferOutPendingCollateralizationRequest;
522
559
  PalletCrosschainTransferTransferOutTransferOutOfArgon: PalletCrosschainTransferTransferOutTransferOutOfArgon;
@@ -543,6 +580,7 @@ declare module '@polkadot/types/types/registry' {
543
580
  PalletEthereumVerifierSyncCommittee: PalletEthereumVerifierSyncCommittee;
544
581
  PalletEthereumVerifierSyncCommitteePrepared: PalletEthereumVerifierSyncCommitteePrepared;
545
582
  PalletEthereumVerifierUpdate: PalletEthereumVerifierUpdate;
583
+ PalletEthereumVerifierVersionedExecutionPayloadHeader: PalletEthereumVerifierVersionedExecutionPayloadHeader;
546
584
  PalletFeeControlError: PalletFeeControlError;
547
585
  PalletFeeControlEvent: PalletFeeControlEvent;
548
586
  PalletGrandpaCall: PalletGrandpaCall;
@@ -598,13 +636,34 @@ declare module '@polkadot/types/types/registry' {
598
636
  PalletPriceIndexEthereumPriceFrameAccumulator: PalletPriceIndexEthereumPriceFrameAccumulator;
599
637
  PalletPriceIndexEthereumPriceIndex: PalletPriceIndexEthereumPriceIndex;
600
638
  PalletPriceIndexEvent: PalletPriceIndexEvent;
601
- PalletPriceIndexPriceIndex: PalletPriceIndexPriceIndex;
602
639
  PalletProxyAnnouncement: PalletProxyAnnouncement;
603
640
  PalletProxyCall: PalletProxyCall;
604
641
  PalletProxyDepositKind: PalletProxyDepositKind;
605
642
  PalletProxyError: PalletProxyError;
606
643
  PalletProxyEvent: PalletProxyEvent;
607
644
  PalletProxyProxyDefinition: PalletProxyProxyDefinition;
645
+ PalletStabilizerBuysAccountFrameBuys: PalletStabilizerBuysAccountFrameBuys;
646
+ PalletStabilizerBuysAccountPayoutState: PalletStabilizerBuysAccountPayoutState;
647
+ PalletStabilizerBuysAuction: PalletStabilizerBuysAuction;
648
+ PalletStabilizerBuysCall: PalletStabilizerBuysCall;
649
+ PalletStabilizerBuysError: PalletStabilizerBuysError;
650
+ PalletStabilizerBuysEvent: PalletStabilizerBuysEvent;
651
+ PalletStabilizerBuysHoldReason: PalletStabilizerBuysHoldReason;
652
+ PalletStabilizerBuysIneligibleReason: PalletStabilizerBuysIneligibleReason;
653
+ PalletStabilizerBuysLiquidRepay: PalletStabilizerBuysLiquidRepay;
654
+ PalletStabilizerBuysLiquidRepayPriceWindow: PalletStabilizerBuysLiquidRepayPriceWindow;
655
+ PalletStabilizerBuysPriceHistoryPriceObservation: PalletStabilizerBuysPriceHistoryPriceObservation;
656
+ PalletStabilizerBuysPriceHistoryPurchasePriceReference: PalletStabilizerBuysPriceHistoryPurchasePriceReference;
657
+ PalletStabilizerBuysUniswapPurchasePurchasePool: PalletStabilizerBuysUniswapPurchasePurchasePool;
658
+ PalletStabilizerPoolsCall: PalletStabilizerPoolsCall;
659
+ PalletStabilizerPoolsCheckpointOutcome: PalletStabilizerPoolsCheckpointOutcome;
660
+ PalletStabilizerPoolsError: PalletStabilizerPoolsError;
661
+ PalletStabilizerPoolsEvent: PalletStabilizerPoolsEvent;
662
+ PalletStabilizerPoolsPoolConfig: PalletStabilizerPoolsPoolConfig;
663
+ PalletStabilizerPoolsPoolKey: PalletStabilizerPoolsPoolKey;
664
+ PalletStabilizerPoolsPositionCheckpoint: PalletStabilizerPoolsPositionCheckpoint;
665
+ PalletStabilizerPoolsPositionProof: PalletStabilizerPoolsPositionProof;
666
+ PalletStabilizerPoolsProofBlock: PalletStabilizerPoolsProofBlock;
608
667
  PalletSudoCall: PalletSudoCall;
609
668
  PalletSudoError: PalletSudoError;
610
669
  PalletSudoEvent: PalletSudoEvent;
@@ -629,7 +688,9 @@ declare module '@polkadot/types/types/registry' {
629
688
  PalletTreasuryHoldReason: PalletTreasuryHoldReason;
630
689
  PalletTreasuryLockedFrameBondTerms: PalletTreasuryLockedFrameBondTerms;
631
690
  PalletTreasuryLockedFrameVaultTerms: PalletTreasuryLockedFrameVaultTerms;
691
+ PalletTreasuryPendingBondCollateral: PalletTreasuryPendingBondCollateral;
632
692
  PalletTreasuryPositionsPosition: PalletTreasuryPositionsPosition;
693
+ PalletTreasuryRewardReserveBalances: PalletTreasuryRewardReserveBalances;
633
694
  PalletTreasuryVaultBondState: PalletTreasuryVaultBondState;
634
695
  PalletTreasuryVaultSecuritizationPosition: PalletTreasuryVaultSecuritizationPosition;
635
696
  PalletTxPauseCall: PalletTxPauseCall;
@@ -652,7 +713,6 @@ declare module '@polkadot/types/types/registry' {
652
713
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
653
714
  SnowbridgeBeaconPrimitivesPublicKey: SnowbridgeBeaconPrimitivesPublicKey;
654
715
  SnowbridgeBeaconPrimitivesSignature: SnowbridgeBeaconPrimitivesSignature;
655
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
656
716
  SnowbridgeMilagroBlsKeysPublicKey: SnowbridgeMilagroBlsKeysPublicKey;
657
717
  SpArithmeticArithmeticError: SpArithmeticArithmeticError;
658
718
  SpConsensusGrandpaAppPublic: SpConsensusGrandpaAppPublic;