@argonprotocol/mainchain 1.5.2-dev.7cc5fb12 → 1.5.2-dev.862caf8c

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 +5048 -466
  12. package/browser/index.js +4620 -1109
  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 +4463 -977
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.cts +5048 -466
  26. package/lib/index.d.ts +5048 -466
  27. package/lib/index.js +4454 -968
  28. package/lib/index.js.map +1 -1
  29. package/package.json +8 -7
  30. package/src/interfaces/augment-api-consts.ts +69 -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 +228 -8
  34. package/src/interfaces/augment-api-rpc.ts +0 -1
  35. package/src/interfaces/augment-api-tx.ts +135 -27
  36. package/src/interfaces/lookup.ts +706 -267
  37. package/src/interfaces/registry.ts +64 -6
  38. package/src/interfaces/types-lookup.ts +770 -280
@@ -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,
@@ -36,6 +39,7 @@ import type {
36
39
  ArgonPrimitivesDomainSemver,
37
40
  ArgonPrimitivesDomainVersionHost,
38
41
  ArgonPrimitivesDomainZoneRecord,
42
+ ArgonPrimitivesEthereumEthereumAccountStorageProof,
39
43
  ArgonPrimitivesEthereumEthereumBeaconPreset,
40
44
  ArgonPrimitivesEthereumEthereumCombinedReceiptProof,
41
45
  ArgonPrimitivesEthereumEthereumExecutionBlockProof,
@@ -45,6 +49,7 @@ import type {
45
49
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
46
50
  ArgonPrimitivesEthereumEthereumReceiptLogProofBlock,
47
51
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt,
52
+ ArgonPrimitivesEthereumEthereumStorageSlotProof,
48
53
  ArgonPrimitivesForkPower,
49
54
  ArgonPrimitivesInherentsBitcoinUtxoFunding,
50
55
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2,
@@ -58,6 +63,7 @@ import type {
58
63
  ArgonPrimitivesNotebookNotebookAuditResult,
59
64
  ArgonPrimitivesNotebookNotebookHeader,
60
65
  ArgonPrimitivesNotebookSignedNotebookHeader,
66
+ ArgonPrimitivesPriceIndex,
61
67
  ArgonPrimitivesProvidersBlockSealerInfo,
62
68
  ArgonPrimitivesProvidersOperationalRewardKind,
63
69
  ArgonPrimitivesTickTicker,
@@ -168,6 +174,7 @@ import type {
168
174
  PalletCrosschainTransferCouncilApprovalTargetId,
169
175
  PalletCrosschainTransferError,
170
176
  PalletCrosschainTransferEvent,
177
+ PalletCrosschainTransferGatewayActivityStorageProof,
171
178
  PalletCrosschainTransferGatewayState,
172
179
  PalletCrosschainTransferGatewaySyncPause,
173
180
  PalletCrosschainTransferGatewaySyncPauseReason,
@@ -179,6 +186,7 @@ import type {
179
186
  PalletCrosschainTransferMintingAuthorityState,
180
187
  PalletCrosschainTransferSourceChain,
181
188
  PalletCrosschainTransferSourceChainCirculation,
189
+ PalletCrosschainTransferSwapPurchaseEvidence,
182
190
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation,
183
191
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
184
192
  PalletCrosschainTransferTransferOutTransferOutOfArgon,
@@ -205,6 +213,7 @@ import type {
205
213
  PalletEthereumVerifierSyncCommittee,
206
214
  PalletEthereumVerifierSyncCommitteePrepared,
207
215
  PalletEthereumVerifierUpdate,
216
+ PalletEthereumVerifierVersionedExecutionPayloadHeader,
208
217
  PalletFeeControlError,
209
218
  PalletFeeControlEvent,
210
219
  PalletGrandpaCall,
@@ -221,7 +230,9 @@ import type {
221
230
  PalletMiningSlotEvent,
222
231
  PalletMiningSlotHoldReason,
223
232
  PalletMiningSlotMinerNonceScoring,
233
+ PalletMiningSlotPendingBid,
224
234
  PalletMiningSlotSeatPriceStats,
235
+ PalletMiningSlotStandingBid,
225
236
  PalletMintCall,
226
237
  PalletMintError,
227
238
  PalletMintEvent,
@@ -258,13 +269,31 @@ import type {
258
269
  PalletPriceIndexEthereumPriceFrameAccumulator,
259
270
  PalletPriceIndexEthereumPriceIndex,
260
271
  PalletPriceIndexEvent,
261
- PalletPriceIndexPriceIndex,
262
272
  PalletProxyAnnouncement,
263
273
  PalletProxyCall,
264
274
  PalletProxyDepositKind,
265
275
  PalletProxyError,
266
276
  PalletProxyEvent,
267
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,
268
297
  PalletSudoCall,
269
298
  PalletSudoError,
270
299
  PalletSudoEvent,
@@ -290,6 +319,7 @@ import type {
290
319
  PalletTreasuryLockedFrameBondTerms,
291
320
  PalletTreasuryLockedFrameVaultTerms,
292
321
  PalletTreasuryPositionsPosition,
322
+ PalletTreasuryRewardReserveBalances,
293
323
  PalletTreasuryVaultBondState,
294
324
  PalletTreasuryVaultSecuritizationPosition,
295
325
  PalletTxPauseCall,
@@ -312,7 +342,6 @@ import type {
312
342
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader,
313
343
  SnowbridgeBeaconPrimitivesPublicKey,
314
344
  SnowbridgeBeaconPrimitivesSignature,
315
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader,
316
345
  SnowbridgeMilagroBlsKeysPublicKey,
317
346
  SpArithmeticArithmeticError,
318
347
  SpConsensusGrandpaAppPublic,
@@ -338,7 +367,10 @@ declare module '@polkadot/types/types/registry' {
338
367
  ArgonNotaryAuditAccountHistoryLookupError: ArgonNotaryAuditAccountHistoryLookupError;
339
368
  ArgonNotaryAuditErrorVerifyError: ArgonNotaryAuditErrorVerifyError;
340
369
  ArgonPrimitivesAccountAccountType: ArgonPrimitivesAccountAccountType;
341
- ArgonPrimitivesAmountRankAmountRankKey: ArgonPrimitivesAmountRankAmountRankKey;
370
+ ArgonPrimitivesAmountRankAmountRankKeyAccountId32: ArgonPrimitivesAmountRankAmountRankKeyAccountId32;
371
+ ArgonPrimitivesAmountRankAmountRankKeyU32: ArgonPrimitivesAmountRankAmountRankKeyU32;
372
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32;
373
+ ArgonPrimitivesAmountRankAscendingRankKeyU64: ArgonPrimitivesAmountRankAscendingRankKeyU64;
342
374
  ArgonPrimitivesBalanceChangeAccountOrigin: ArgonPrimitivesBalanceChangeAccountOrigin;
343
375
  ArgonPrimitivesBalanceChangeMerkleProof: ArgonPrimitivesBalanceChangeMerkleProof;
344
376
  ArgonPrimitivesBitcoinBitcoinBlock: ArgonPrimitivesBitcoinBitcoinBlock;
@@ -366,6 +398,7 @@ declare module '@polkadot/types/types/registry' {
366
398
  ArgonPrimitivesDomainSemver: ArgonPrimitivesDomainSemver;
367
399
  ArgonPrimitivesDomainVersionHost: ArgonPrimitivesDomainVersionHost;
368
400
  ArgonPrimitivesDomainZoneRecord: ArgonPrimitivesDomainZoneRecord;
401
+ ArgonPrimitivesEthereumEthereumAccountStorageProof: ArgonPrimitivesEthereumEthereumAccountStorageProof;
369
402
  ArgonPrimitivesEthereumEthereumBeaconPreset: ArgonPrimitivesEthereumEthereumBeaconPreset;
370
403
  ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
371
404
  ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
@@ -375,6 +408,7 @@ declare module '@polkadot/types/types/registry' {
375
408
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch: ArgonPrimitivesEthereumEthereumReceiptLogProofBatch;
376
409
  ArgonPrimitivesEthereumEthereumReceiptLogProofBlock: ArgonPrimitivesEthereumEthereumReceiptLogProofBlock;
377
410
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
411
+ ArgonPrimitivesEthereumEthereumStorageSlotProof: ArgonPrimitivesEthereumEthereumStorageSlotProof;
378
412
  ArgonPrimitivesForkPower: ArgonPrimitivesForkPower;
379
413
  ArgonPrimitivesInherentsBitcoinUtxoFunding: ArgonPrimitivesInherentsBitcoinUtxoFunding;
380
414
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2: ArgonPrimitivesInherentsBitcoinUtxoSpendV2;
@@ -388,6 +422,7 @@ declare module '@polkadot/types/types/registry' {
388
422
  ArgonPrimitivesNotebookNotebookAuditResult: ArgonPrimitivesNotebookNotebookAuditResult;
389
423
  ArgonPrimitivesNotebookNotebookHeader: ArgonPrimitivesNotebookNotebookHeader;
390
424
  ArgonPrimitivesNotebookSignedNotebookHeader: ArgonPrimitivesNotebookSignedNotebookHeader;
425
+ ArgonPrimitivesPriceIndex: ArgonPrimitivesPriceIndex;
391
426
  ArgonPrimitivesProvidersBlockSealerInfo: ArgonPrimitivesProvidersBlockSealerInfo;
392
427
  ArgonPrimitivesProvidersOperationalRewardKind: ArgonPrimitivesProvidersOperationalRewardKind;
393
428
  ArgonPrimitivesTickTicker: ArgonPrimitivesTickTicker;
@@ -498,6 +533,7 @@ declare module '@polkadot/types/types/registry' {
498
533
  PalletCrosschainTransferCouncilApprovalTargetId: PalletCrosschainTransferCouncilApprovalTargetId;
499
534
  PalletCrosschainTransferError: PalletCrosschainTransferError;
500
535
  PalletCrosschainTransferEvent: PalletCrosschainTransferEvent;
536
+ PalletCrosschainTransferGatewayActivityStorageProof: PalletCrosschainTransferGatewayActivityStorageProof;
501
537
  PalletCrosschainTransferGatewayState: PalletCrosschainTransferGatewayState;
502
538
  PalletCrosschainTransferGatewaySyncPause: PalletCrosschainTransferGatewaySyncPause;
503
539
  PalletCrosschainTransferGatewaySyncPauseReason: PalletCrosschainTransferGatewaySyncPauseReason;
@@ -509,6 +545,7 @@ declare module '@polkadot/types/types/registry' {
509
545
  PalletCrosschainTransferMintingAuthorityState: PalletCrosschainTransferMintingAuthorityState;
510
546
  PalletCrosschainTransferSourceChain: PalletCrosschainTransferSourceChain;
511
547
  PalletCrosschainTransferSourceChainCirculation: PalletCrosschainTransferSourceChainCirculation;
548
+ PalletCrosschainTransferSwapPurchaseEvidence: PalletCrosschainTransferSwapPurchaseEvidence;
512
549
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation: PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation;
513
550
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest: PalletCrosschainTransferTransferOutPendingCollateralizationRequest;
514
551
  PalletCrosschainTransferTransferOutTransferOutOfArgon: PalletCrosschainTransferTransferOutTransferOutOfArgon;
@@ -535,6 +572,7 @@ declare module '@polkadot/types/types/registry' {
535
572
  PalletEthereumVerifierSyncCommittee: PalletEthereumVerifierSyncCommittee;
536
573
  PalletEthereumVerifierSyncCommitteePrepared: PalletEthereumVerifierSyncCommitteePrepared;
537
574
  PalletEthereumVerifierUpdate: PalletEthereumVerifierUpdate;
575
+ PalletEthereumVerifierVersionedExecutionPayloadHeader: PalletEthereumVerifierVersionedExecutionPayloadHeader;
538
576
  PalletFeeControlError: PalletFeeControlError;
539
577
  PalletFeeControlEvent: PalletFeeControlEvent;
540
578
  PalletGrandpaCall: PalletGrandpaCall;
@@ -551,7 +589,9 @@ declare module '@polkadot/types/types/registry' {
551
589
  PalletMiningSlotEvent: PalletMiningSlotEvent;
552
590
  PalletMiningSlotHoldReason: PalletMiningSlotHoldReason;
553
591
  PalletMiningSlotMinerNonceScoring: PalletMiningSlotMinerNonceScoring;
592
+ PalletMiningSlotPendingBid: PalletMiningSlotPendingBid;
554
593
  PalletMiningSlotSeatPriceStats: PalletMiningSlotSeatPriceStats;
594
+ PalletMiningSlotStandingBid: PalletMiningSlotStandingBid;
555
595
  PalletMintCall: PalletMintCall;
556
596
  PalletMintError: PalletMintError;
557
597
  PalletMintEvent: PalletMintEvent;
@@ -588,13 +628,31 @@ declare module '@polkadot/types/types/registry' {
588
628
  PalletPriceIndexEthereumPriceFrameAccumulator: PalletPriceIndexEthereumPriceFrameAccumulator;
589
629
  PalletPriceIndexEthereumPriceIndex: PalletPriceIndexEthereumPriceIndex;
590
630
  PalletPriceIndexEvent: PalletPriceIndexEvent;
591
- PalletPriceIndexPriceIndex: PalletPriceIndexPriceIndex;
592
631
  PalletProxyAnnouncement: PalletProxyAnnouncement;
593
632
  PalletProxyCall: PalletProxyCall;
594
633
  PalletProxyDepositKind: PalletProxyDepositKind;
595
634
  PalletProxyError: PalletProxyError;
596
635
  PalletProxyEvent: PalletProxyEvent;
597
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;
598
656
  PalletSudoCall: PalletSudoCall;
599
657
  PalletSudoError: PalletSudoError;
600
658
  PalletSudoEvent: PalletSudoEvent;
@@ -620,6 +678,7 @@ declare module '@polkadot/types/types/registry' {
620
678
  PalletTreasuryLockedFrameBondTerms: PalletTreasuryLockedFrameBondTerms;
621
679
  PalletTreasuryLockedFrameVaultTerms: PalletTreasuryLockedFrameVaultTerms;
622
680
  PalletTreasuryPositionsPosition: PalletTreasuryPositionsPosition;
681
+ PalletTreasuryRewardReserveBalances: PalletTreasuryRewardReserveBalances;
623
682
  PalletTreasuryVaultBondState: PalletTreasuryVaultBondState;
624
683
  PalletTreasuryVaultSecuritizationPosition: PalletTreasuryVaultSecuritizationPosition;
625
684
  PalletTxPauseCall: PalletTxPauseCall;
@@ -642,7 +701,6 @@ declare module '@polkadot/types/types/registry' {
642
701
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
643
702
  SnowbridgeBeaconPrimitivesPublicKey: SnowbridgeBeaconPrimitivesPublicKey;
644
703
  SnowbridgeBeaconPrimitivesSignature: SnowbridgeBeaconPrimitivesSignature;
645
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
646
704
  SnowbridgeMilagroBlsKeysPublicKey: SnowbridgeMilagroBlsKeysPublicKey;
647
705
  SpArithmeticArithmeticError: SpArithmeticArithmeticError;
648
706
  SpConsensusGrandpaAppPublic: SpConsensusGrandpaAppPublic;