@argonprotocol/mainchain 1.5.2-dev.eeea0796 → 1.5.2-dev.f931ed2c

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 (41) 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 +4886 -484
  12. package/browser/index.js +4449 -1008
  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 +4348 -938
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +4886 -484
  26. package/lib/index.d.ts +4886 -484
  27. package/lib/index.js +4363 -953
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +63 -1
  31. package/src/interfaces/augment-api-errors.ts +95 -1
  32. package/src/interfaces/augment-api-events.ts +119 -2
  33. package/src/interfaces/augment-api-query.ts +196 -8
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-runtime.ts +0 -1
  36. package/src/interfaces/augment-api-tx.ts +116 -4
  37. package/src/interfaces/augment-api.ts +0 -1
  38. package/src/interfaces/augment-types.ts +0 -1
  39. package/src/interfaces/lookup.ts +648 -272
  40. package/src/interfaces/registry.ts +60 -7
  41. package/src/interfaces/types-lookup.ts +690 -278
@@ -1,5 +1,4 @@
1
1
  // Auto-generated via `yarn polkadot-types-from-defs`, 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
@@ -9,7 +8,10 @@ import type {
9
8
  ArgonNotaryAuditAccountHistoryLookupError,
10
9
  ArgonNotaryAuditErrorVerifyError,
11
10
  ArgonPrimitivesAccountAccountType,
12
- ArgonPrimitivesAmountRankAmountRankKey,
11
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32,
12
+ ArgonPrimitivesAmountRankAmountRankKeyU32,
13
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32,
14
+ ArgonPrimitivesAmountRankAscendingRankKeyU64,
13
15
  ArgonPrimitivesBalanceChangeAccountOrigin,
14
16
  ArgonPrimitivesBalanceChangeMerkleProof,
15
17
  ArgonPrimitivesBitcoinBitcoinBlock,
@@ -37,6 +39,7 @@ import type {
37
39
  ArgonPrimitivesDomainSemver,
38
40
  ArgonPrimitivesDomainVersionHost,
39
41
  ArgonPrimitivesDomainZoneRecord,
42
+ ArgonPrimitivesEthereumEthereumAccountStorageProof,
40
43
  ArgonPrimitivesEthereumEthereumBeaconPreset,
41
44
  ArgonPrimitivesEthereumEthereumCombinedReceiptProof,
42
45
  ArgonPrimitivesEthereumEthereumExecutionBlockProof,
@@ -46,6 +49,7 @@ import type {
46
49
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
47
50
  ArgonPrimitivesEthereumEthereumReceiptLogProofBlock,
48
51
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt,
52
+ ArgonPrimitivesEthereumEthereumStorageSlotProof,
49
53
  ArgonPrimitivesForkPower,
50
54
  ArgonPrimitivesInherentsBitcoinUtxoFunding,
51
55
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2,
@@ -59,6 +63,7 @@ import type {
59
63
  ArgonPrimitivesNotebookNotebookAuditResult,
60
64
  ArgonPrimitivesNotebookNotebookHeader,
61
65
  ArgonPrimitivesNotebookSignedNotebookHeader,
66
+ ArgonPrimitivesPriceIndex,
62
67
  ArgonPrimitivesProvidersBlockSealerInfo,
63
68
  ArgonPrimitivesProvidersOperationalRewardKind,
64
69
  ArgonPrimitivesTickTicker,
@@ -169,6 +174,7 @@ import type {
169
174
  PalletCrosschainTransferCouncilApprovalTargetId,
170
175
  PalletCrosschainTransferError,
171
176
  PalletCrosschainTransferEvent,
177
+ PalletCrosschainTransferGatewayActivityStorageProof,
172
178
  PalletCrosschainTransferGatewayState,
173
179
  PalletCrosschainTransferGatewaySyncPause,
174
180
  PalletCrosschainTransferGatewaySyncPauseReason,
@@ -180,6 +186,7 @@ import type {
180
186
  PalletCrosschainTransferMintingAuthorityState,
181
187
  PalletCrosschainTransferSourceChain,
182
188
  PalletCrosschainTransferSourceChainCirculation,
189
+ PalletCrosschainTransferSwapPurchaseEvidence,
183
190
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation,
184
191
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
185
192
  PalletCrosschainTransferTransferOutTransferOutOfArgon,
@@ -206,6 +213,7 @@ import type {
206
213
  PalletEthereumVerifierSyncCommittee,
207
214
  PalletEthereumVerifierSyncCommitteePrepared,
208
215
  PalletEthereumVerifierUpdate,
216
+ PalletEthereumVerifierVersionedExecutionPayloadHeader,
209
217
  PalletFeeControlError,
210
218
  PalletFeeControlEvent,
211
219
  PalletGrandpaCall,
@@ -261,13 +269,31 @@ import type {
261
269
  PalletPriceIndexEthereumPriceFrameAccumulator,
262
270
  PalletPriceIndexEthereumPriceIndex,
263
271
  PalletPriceIndexEvent,
264
- PalletPriceIndexPriceIndex,
265
272
  PalletProxyAnnouncement,
266
273
  PalletProxyCall,
267
274
  PalletProxyDepositKind,
268
275
  PalletProxyError,
269
276
  PalletProxyEvent,
270
277
  PalletProxyProxyDefinition,
278
+ PalletStabilizerBuysAccountBuys,
279
+ PalletStabilizerBuysAuction,
280
+ PalletStabilizerBuysBuyPayout,
281
+ PalletStabilizerBuysCall,
282
+ PalletStabilizerBuysError,
283
+ PalletStabilizerBuysEvent,
284
+ PalletStabilizerBuysHoldReason,
285
+ PalletStabilizerBuysIneligibleReason,
286
+ PalletStabilizerBuysPriceHistoryHourlyPriceReference,
287
+ PalletStabilizerBuysUniswapPurchasePurchasePool,
288
+ PalletStabilizerPoolsCall,
289
+ PalletStabilizerPoolsCheckpointOutcome,
290
+ PalletStabilizerPoolsError,
291
+ PalletStabilizerPoolsEvent,
292
+ PalletStabilizerPoolsPoolConfig,
293
+ PalletStabilizerPoolsPoolKey,
294
+ PalletStabilizerPoolsPositionCheckpoint,
295
+ PalletStabilizerPoolsPositionProof,
296
+ PalletStabilizerPoolsProofBlock,
271
297
  PalletSudoCall,
272
298
  PalletSudoError,
273
299
  PalletSudoEvent,
@@ -293,6 +319,7 @@ import type {
293
319
  PalletTreasuryLockedFrameBondTerms,
294
320
  PalletTreasuryLockedFrameVaultTerms,
295
321
  PalletTreasuryPositionsPosition,
322
+ PalletTreasuryRewardReserveBalances,
296
323
  PalletTreasuryVaultBondState,
297
324
  PalletTreasuryVaultSecuritizationPosition,
298
325
  PalletTxPauseCall,
@@ -315,7 +342,6 @@ import type {
315
342
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader,
316
343
  SnowbridgeBeaconPrimitivesPublicKey,
317
344
  SnowbridgeBeaconPrimitivesSignature,
318
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader,
319
345
  SnowbridgeMilagroBlsKeysPublicKey,
320
346
  SpArithmeticArithmeticError,
321
347
  SpConsensusGrandpaAppPublic,
@@ -341,7 +367,10 @@ declare module '@polkadot/types/types/registry' {
341
367
  ArgonNotaryAuditAccountHistoryLookupError: ArgonNotaryAuditAccountHistoryLookupError;
342
368
  ArgonNotaryAuditErrorVerifyError: ArgonNotaryAuditErrorVerifyError;
343
369
  ArgonPrimitivesAccountAccountType: ArgonPrimitivesAccountAccountType;
344
- ArgonPrimitivesAmountRankAmountRankKey: ArgonPrimitivesAmountRankAmountRankKey;
370
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32: ArgonPrimitivesAmountRankAmountRankKeyAccountId32;
371
+ ArgonPrimitivesAmountRankAmountRankKeyU32: ArgonPrimitivesAmountRankAmountRankKeyU32;
372
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32;
373
+ ArgonPrimitivesAmountRankAscendingRankKeyU64: ArgonPrimitivesAmountRankAscendingRankKeyU64;
345
374
  ArgonPrimitivesBalanceChangeAccountOrigin: ArgonPrimitivesBalanceChangeAccountOrigin;
346
375
  ArgonPrimitivesBalanceChangeMerkleProof: ArgonPrimitivesBalanceChangeMerkleProof;
347
376
  ArgonPrimitivesBitcoinBitcoinBlock: ArgonPrimitivesBitcoinBitcoinBlock;
@@ -369,6 +398,7 @@ declare module '@polkadot/types/types/registry' {
369
398
  ArgonPrimitivesDomainSemver: ArgonPrimitivesDomainSemver;
370
399
  ArgonPrimitivesDomainVersionHost: ArgonPrimitivesDomainVersionHost;
371
400
  ArgonPrimitivesDomainZoneRecord: ArgonPrimitivesDomainZoneRecord;
401
+ ArgonPrimitivesEthereumEthereumAccountStorageProof: ArgonPrimitivesEthereumEthereumAccountStorageProof;
372
402
  ArgonPrimitivesEthereumEthereumBeaconPreset: ArgonPrimitivesEthereumEthereumBeaconPreset;
373
403
  ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
374
404
  ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
@@ -378,6 +408,7 @@ declare module '@polkadot/types/types/registry' {
378
408
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch: ArgonPrimitivesEthereumEthereumReceiptLogProofBatch;
379
409
  ArgonPrimitivesEthereumEthereumReceiptLogProofBlock: ArgonPrimitivesEthereumEthereumReceiptLogProofBlock;
380
410
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
411
+ ArgonPrimitivesEthereumEthereumStorageSlotProof: ArgonPrimitivesEthereumEthereumStorageSlotProof;
381
412
  ArgonPrimitivesForkPower: ArgonPrimitivesForkPower;
382
413
  ArgonPrimitivesInherentsBitcoinUtxoFunding: ArgonPrimitivesInherentsBitcoinUtxoFunding;
383
414
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2: ArgonPrimitivesInherentsBitcoinUtxoSpendV2;
@@ -391,6 +422,7 @@ declare module '@polkadot/types/types/registry' {
391
422
  ArgonPrimitivesNotebookNotebookAuditResult: ArgonPrimitivesNotebookNotebookAuditResult;
392
423
  ArgonPrimitivesNotebookNotebookHeader: ArgonPrimitivesNotebookNotebookHeader;
393
424
  ArgonPrimitivesNotebookSignedNotebookHeader: ArgonPrimitivesNotebookSignedNotebookHeader;
425
+ ArgonPrimitivesPriceIndex: ArgonPrimitivesPriceIndex;
394
426
  ArgonPrimitivesProvidersBlockSealerInfo: ArgonPrimitivesProvidersBlockSealerInfo;
395
427
  ArgonPrimitivesProvidersOperationalRewardKind: ArgonPrimitivesProvidersOperationalRewardKind;
396
428
  ArgonPrimitivesTickTicker: ArgonPrimitivesTickTicker;
@@ -501,6 +533,7 @@ declare module '@polkadot/types/types/registry' {
501
533
  PalletCrosschainTransferCouncilApprovalTargetId: PalletCrosschainTransferCouncilApprovalTargetId;
502
534
  PalletCrosschainTransferError: PalletCrosschainTransferError;
503
535
  PalletCrosschainTransferEvent: PalletCrosschainTransferEvent;
536
+ PalletCrosschainTransferGatewayActivityStorageProof: PalletCrosschainTransferGatewayActivityStorageProof;
504
537
  PalletCrosschainTransferGatewayState: PalletCrosschainTransferGatewayState;
505
538
  PalletCrosschainTransferGatewaySyncPause: PalletCrosschainTransferGatewaySyncPause;
506
539
  PalletCrosschainTransferGatewaySyncPauseReason: PalletCrosschainTransferGatewaySyncPauseReason;
@@ -512,6 +545,7 @@ declare module '@polkadot/types/types/registry' {
512
545
  PalletCrosschainTransferMintingAuthorityState: PalletCrosschainTransferMintingAuthorityState;
513
546
  PalletCrosschainTransferSourceChain: PalletCrosschainTransferSourceChain;
514
547
  PalletCrosschainTransferSourceChainCirculation: PalletCrosschainTransferSourceChainCirculation;
548
+ PalletCrosschainTransferSwapPurchaseEvidence: PalletCrosschainTransferSwapPurchaseEvidence;
515
549
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation: PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation;
516
550
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest: PalletCrosschainTransferTransferOutPendingCollateralizationRequest;
517
551
  PalletCrosschainTransferTransferOutTransferOutOfArgon: PalletCrosschainTransferTransferOutTransferOutOfArgon;
@@ -538,6 +572,7 @@ declare module '@polkadot/types/types/registry' {
538
572
  PalletEthereumVerifierSyncCommittee: PalletEthereumVerifierSyncCommittee;
539
573
  PalletEthereumVerifierSyncCommitteePrepared: PalletEthereumVerifierSyncCommitteePrepared;
540
574
  PalletEthereumVerifierUpdate: PalletEthereumVerifierUpdate;
575
+ PalletEthereumVerifierVersionedExecutionPayloadHeader: PalletEthereumVerifierVersionedExecutionPayloadHeader;
541
576
  PalletFeeControlError: PalletFeeControlError;
542
577
  PalletFeeControlEvent: PalletFeeControlEvent;
543
578
  PalletGrandpaCall: PalletGrandpaCall;
@@ -593,13 +628,31 @@ declare module '@polkadot/types/types/registry' {
593
628
  PalletPriceIndexEthereumPriceFrameAccumulator: PalletPriceIndexEthereumPriceFrameAccumulator;
594
629
  PalletPriceIndexEthereumPriceIndex: PalletPriceIndexEthereumPriceIndex;
595
630
  PalletPriceIndexEvent: PalletPriceIndexEvent;
596
- PalletPriceIndexPriceIndex: PalletPriceIndexPriceIndex;
597
631
  PalletProxyAnnouncement: PalletProxyAnnouncement;
598
632
  PalletProxyCall: PalletProxyCall;
599
633
  PalletProxyDepositKind: PalletProxyDepositKind;
600
634
  PalletProxyError: PalletProxyError;
601
635
  PalletProxyEvent: PalletProxyEvent;
602
636
  PalletProxyProxyDefinition: PalletProxyProxyDefinition;
637
+ PalletStabilizerBuysAccountBuys: PalletStabilizerBuysAccountBuys;
638
+ PalletStabilizerBuysAuction: PalletStabilizerBuysAuction;
639
+ PalletStabilizerBuysBuyPayout: PalletStabilizerBuysBuyPayout;
640
+ PalletStabilizerBuysCall: PalletStabilizerBuysCall;
641
+ PalletStabilizerBuysError: PalletStabilizerBuysError;
642
+ PalletStabilizerBuysEvent: PalletStabilizerBuysEvent;
643
+ PalletStabilizerBuysHoldReason: PalletStabilizerBuysHoldReason;
644
+ PalletStabilizerBuysIneligibleReason: PalletStabilizerBuysIneligibleReason;
645
+ PalletStabilizerBuysPriceHistoryHourlyPriceReference: PalletStabilizerBuysPriceHistoryHourlyPriceReference;
646
+ PalletStabilizerBuysUniswapPurchasePurchasePool: PalletStabilizerBuysUniswapPurchasePurchasePool;
647
+ PalletStabilizerPoolsCall: PalletStabilizerPoolsCall;
648
+ PalletStabilizerPoolsCheckpointOutcome: PalletStabilizerPoolsCheckpointOutcome;
649
+ PalletStabilizerPoolsError: PalletStabilizerPoolsError;
650
+ PalletStabilizerPoolsEvent: PalletStabilizerPoolsEvent;
651
+ PalletStabilizerPoolsPoolConfig: PalletStabilizerPoolsPoolConfig;
652
+ PalletStabilizerPoolsPoolKey: PalletStabilizerPoolsPoolKey;
653
+ PalletStabilizerPoolsPositionCheckpoint: PalletStabilizerPoolsPositionCheckpoint;
654
+ PalletStabilizerPoolsPositionProof: PalletStabilizerPoolsPositionProof;
655
+ PalletStabilizerPoolsProofBlock: PalletStabilizerPoolsProofBlock;
603
656
  PalletSudoCall: PalletSudoCall;
604
657
  PalletSudoError: PalletSudoError;
605
658
  PalletSudoEvent: PalletSudoEvent;
@@ -625,6 +678,7 @@ declare module '@polkadot/types/types/registry' {
625
678
  PalletTreasuryLockedFrameBondTerms: PalletTreasuryLockedFrameBondTerms;
626
679
  PalletTreasuryLockedFrameVaultTerms: PalletTreasuryLockedFrameVaultTerms;
627
680
  PalletTreasuryPositionsPosition: PalletTreasuryPositionsPosition;
681
+ PalletTreasuryRewardReserveBalances: PalletTreasuryRewardReserveBalances;
628
682
  PalletTreasuryVaultBondState: PalletTreasuryVaultBondState;
629
683
  PalletTreasuryVaultSecuritizationPosition: PalletTreasuryVaultSecuritizationPosition;
630
684
  PalletTxPauseCall: PalletTxPauseCall;
@@ -647,7 +701,6 @@ declare module '@polkadot/types/types/registry' {
647
701
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
648
702
  SnowbridgeBeaconPrimitivesPublicKey: SnowbridgeBeaconPrimitivesPublicKey;
649
703
  SnowbridgeBeaconPrimitivesSignature: SnowbridgeBeaconPrimitivesSignature;
650
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
651
704
  SnowbridgeMilagroBlsKeysPublicKey: SnowbridgeMilagroBlsKeysPublicKey;
652
705
  SpArithmeticArithmeticError: SpArithmeticArithmeticError;
653
706
  SpConsensusGrandpaAppPublic: SpConsensusGrandpaAppPublic;