@argonprotocol/mainchain 1.5.2-dev.689967a9 → 1.5.2-dev.79fc938b

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 (32) 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/index.d.ts +5168 -551
  9. package/browser/index.js +2168 -420
  10. package/browser/index.js.map +1 -1
  11. package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +439 -0
  12. package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +11 -11
  13. package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +11 -11
  14. package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +319 -16
  15. package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +3 -3
  16. package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +4 -4
  17. package/lib/index.cjs +2123 -400
  18. package/lib/index.cjs.map +1 -1
  19. package/lib/index.d.cts +5168 -551
  20. package/lib/index.d.ts +5168 -551
  21. package/lib/index.js +2144 -421
  22. package/lib/index.js.map +1 -1
  23. package/package.json +8 -7
  24. package/src/interfaces/augment-api-consts.ts +68 -1
  25. package/src/interfaces/augment-api-errors.ts +148 -10
  26. package/src/interfaces/augment-api-events.ts +133 -3
  27. package/src/interfaces/augment-api-query.ts +244 -10
  28. package/src/interfaces/augment-api-rpc.ts +0 -1
  29. package/src/interfaces/augment-api-tx.ts +179 -38
  30. package/src/interfaces/lookup.ts +729 -272
  31. package/src/interfaces/registry.ts +66 -4
  32. package/src/interfaces/types-lookup.ts +799 -292
@@ -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,13 +62,16 @@ import type {
58
62
  ArgonPrimitivesNotebookNotebookAuditResult,
59
63
  ArgonPrimitivesNotebookNotebookHeader,
60
64
  ArgonPrimitivesNotebookSignedNotebookHeader,
65
+ ArgonPrimitivesPriceIndex,
61
66
  ArgonPrimitivesProvidersBlockSealerInfo,
62
67
  ArgonPrimitivesProvidersOperationalRewardKind,
63
68
  ArgonPrimitivesTickTicker,
69
+ ArgonPrimitivesTreasuryNetworkPositionQuantities,
64
70
  ArgonPrimitivesTreasuryPositionQuantities,
65
71
  ArgonPrimitivesTreasuryUpstreamPosition,
66
72
  ArgonPrimitivesVault,
67
73
  ArgonPrimitivesVaultBitcoinSecuritizationBasis,
74
+ ArgonPrimitivesVaultCosignerGuarantee,
68
75
  ArgonPrimitivesVaultSecuritizationScheduleEntry,
69
76
  ArgonPrimitivesVaultTreasuryBonusApprovalProof,
70
77
  ArgonPrimitivesVaultVaultArgonotSecuritization,
@@ -166,6 +173,7 @@ import type {
166
173
  PalletCrosschainTransferCouncilApprovalTargetId,
167
174
  PalletCrosschainTransferError,
168
175
  PalletCrosschainTransferEvent,
176
+ PalletCrosschainTransferGatewayActivityStorageProof,
169
177
  PalletCrosschainTransferGatewayState,
170
178
  PalletCrosschainTransferGatewaySyncPause,
171
179
  PalletCrosschainTransferGatewaySyncPauseReason,
@@ -177,6 +185,7 @@ import type {
177
185
  PalletCrosschainTransferMintingAuthorityState,
178
186
  PalletCrosschainTransferSourceChain,
179
187
  PalletCrosschainTransferSourceChainCirculation,
188
+ PalletCrosschainTransferSwapPurchaseEvidence,
180
189
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation,
181
190
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
182
191
  PalletCrosschainTransferTransferOutTransferOutOfArgon,
@@ -203,6 +212,7 @@ import type {
203
212
  PalletEthereumVerifierSyncCommittee,
204
213
  PalletEthereumVerifierSyncCommitteePrepared,
205
214
  PalletEthereumVerifierUpdate,
215
+ PalletEthereumVerifierVersionedExecutionPayloadHeader,
206
216
  PalletFeeControlError,
207
217
  PalletFeeControlEvent,
208
218
  PalletGrandpaCall,
@@ -219,7 +229,9 @@ import type {
219
229
  PalletMiningSlotEvent,
220
230
  PalletMiningSlotHoldReason,
221
231
  PalletMiningSlotMinerNonceScoring,
232
+ PalletMiningSlotPendingBid,
222
233
  PalletMiningSlotSeatPriceStats,
234
+ PalletMiningSlotStandingBid,
223
235
  PalletMintCall,
224
236
  PalletMintError,
225
237
  PalletMintEvent,
@@ -256,13 +268,31 @@ import type {
256
268
  PalletPriceIndexEthereumPriceFrameAccumulator,
257
269
  PalletPriceIndexEthereumPriceIndex,
258
270
  PalletPriceIndexEvent,
259
- PalletPriceIndexPriceIndex,
260
271
  PalletProxyAnnouncement,
261
272
  PalletProxyCall,
262
273
  PalletProxyDepositKind,
263
274
  PalletProxyError,
264
275
  PalletProxyEvent,
265
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,
266
296
  PalletSudoCall,
267
297
  PalletSudoError,
268
298
  PalletSudoEvent,
@@ -282,11 +312,13 @@ import type {
282
312
  PalletTreasuryError,
283
313
  PalletTreasuryEvent,
284
314
  PalletTreasuryFrameArgonotBondParticipants,
315
+ PalletTreasuryFrameVaultBitcoin,
285
316
  PalletTreasuryFrameVaultCapital,
286
317
  PalletTreasuryHoldReason,
287
318
  PalletTreasuryLockedFrameBondTerms,
288
319
  PalletTreasuryLockedFrameVaultTerms,
289
320
  PalletTreasuryPositionsPosition,
321
+ PalletTreasuryRewardReserveBalances,
290
322
  PalletTreasuryVaultBondState,
291
323
  PalletTreasuryVaultSecuritizationPosition,
292
324
  PalletTxPauseCall,
@@ -309,7 +341,6 @@ import type {
309
341
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader,
310
342
  SnowbridgeBeaconPrimitivesPublicKey,
311
343
  SnowbridgeBeaconPrimitivesSignature,
312
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader,
313
344
  SnowbridgeMilagroBlsKeysPublicKey,
314
345
  SpArithmeticArithmeticError,
315
346
  SpConsensusGrandpaAppPublic,
@@ -336,6 +367,8 @@ declare module '@polkadot/types/types/registry' {
336
367
  ArgonNotaryAuditErrorVerifyError: ArgonNotaryAuditErrorVerifyError;
337
368
  ArgonPrimitivesAccountAccountType: ArgonPrimitivesAccountAccountType;
338
369
  ArgonPrimitivesAmountRankAmountRankKey: ArgonPrimitivesAmountRankAmountRankKey;
370
+ ArgonPrimitivesAmountRankAscendingRankKeyAccountId32: ArgonPrimitivesAmountRankAscendingRankKeyAccountId32;
371
+ ArgonPrimitivesAmountRankAscendingRankKeyU64: ArgonPrimitivesAmountRankAscendingRankKeyU64;
339
372
  ArgonPrimitivesBalanceChangeAccountOrigin: ArgonPrimitivesBalanceChangeAccountOrigin;
340
373
  ArgonPrimitivesBalanceChangeMerkleProof: ArgonPrimitivesBalanceChangeMerkleProof;
341
374
  ArgonPrimitivesBitcoinBitcoinBlock: ArgonPrimitivesBitcoinBitcoinBlock;
@@ -363,6 +396,7 @@ declare module '@polkadot/types/types/registry' {
363
396
  ArgonPrimitivesDomainSemver: ArgonPrimitivesDomainSemver;
364
397
  ArgonPrimitivesDomainVersionHost: ArgonPrimitivesDomainVersionHost;
365
398
  ArgonPrimitivesDomainZoneRecord: ArgonPrimitivesDomainZoneRecord;
399
+ ArgonPrimitivesEthereumEthereumAccountStorageProof: ArgonPrimitivesEthereumEthereumAccountStorageProof;
366
400
  ArgonPrimitivesEthereumEthereumBeaconPreset: ArgonPrimitivesEthereumEthereumBeaconPreset;
367
401
  ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
368
402
  ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
@@ -372,6 +406,7 @@ declare module '@polkadot/types/types/registry' {
372
406
  ArgonPrimitivesEthereumEthereumReceiptLogProofBatch: ArgonPrimitivesEthereumEthereumReceiptLogProofBatch;
373
407
  ArgonPrimitivesEthereumEthereumReceiptLogProofBlock: ArgonPrimitivesEthereumEthereumReceiptLogProofBlock;
374
408
  ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
409
+ ArgonPrimitivesEthereumEthereumStorageSlotProof: ArgonPrimitivesEthereumEthereumStorageSlotProof;
375
410
  ArgonPrimitivesForkPower: ArgonPrimitivesForkPower;
376
411
  ArgonPrimitivesInherentsBitcoinUtxoFunding: ArgonPrimitivesInherentsBitcoinUtxoFunding;
377
412
  ArgonPrimitivesInherentsBitcoinUtxoSpendV2: ArgonPrimitivesInherentsBitcoinUtxoSpendV2;
@@ -385,13 +420,16 @@ declare module '@polkadot/types/types/registry' {
385
420
  ArgonPrimitivesNotebookNotebookAuditResult: ArgonPrimitivesNotebookNotebookAuditResult;
386
421
  ArgonPrimitivesNotebookNotebookHeader: ArgonPrimitivesNotebookNotebookHeader;
387
422
  ArgonPrimitivesNotebookSignedNotebookHeader: ArgonPrimitivesNotebookSignedNotebookHeader;
423
+ ArgonPrimitivesPriceIndex: ArgonPrimitivesPriceIndex;
388
424
  ArgonPrimitivesProvidersBlockSealerInfo: ArgonPrimitivesProvidersBlockSealerInfo;
389
425
  ArgonPrimitivesProvidersOperationalRewardKind: ArgonPrimitivesProvidersOperationalRewardKind;
390
426
  ArgonPrimitivesTickTicker: ArgonPrimitivesTickTicker;
427
+ ArgonPrimitivesTreasuryNetworkPositionQuantities: ArgonPrimitivesTreasuryNetworkPositionQuantities;
391
428
  ArgonPrimitivesTreasuryPositionQuantities: ArgonPrimitivesTreasuryPositionQuantities;
392
429
  ArgonPrimitivesTreasuryUpstreamPosition: ArgonPrimitivesTreasuryUpstreamPosition;
393
430
  ArgonPrimitivesVault: ArgonPrimitivesVault;
394
431
  ArgonPrimitivesVaultBitcoinSecuritizationBasis: ArgonPrimitivesVaultBitcoinSecuritizationBasis;
432
+ ArgonPrimitivesVaultCosignerGuarantee: ArgonPrimitivesVaultCosignerGuarantee;
395
433
  ArgonPrimitivesVaultSecuritizationScheduleEntry: ArgonPrimitivesVaultSecuritizationScheduleEntry;
396
434
  ArgonPrimitivesVaultTreasuryBonusApprovalProof: ArgonPrimitivesVaultTreasuryBonusApprovalProof;
397
435
  ArgonPrimitivesVaultVaultArgonotSecuritization: ArgonPrimitivesVaultVaultArgonotSecuritization;
@@ -493,6 +531,7 @@ declare module '@polkadot/types/types/registry' {
493
531
  PalletCrosschainTransferCouncilApprovalTargetId: PalletCrosschainTransferCouncilApprovalTargetId;
494
532
  PalletCrosschainTransferError: PalletCrosschainTransferError;
495
533
  PalletCrosschainTransferEvent: PalletCrosschainTransferEvent;
534
+ PalletCrosschainTransferGatewayActivityStorageProof: PalletCrosschainTransferGatewayActivityStorageProof;
496
535
  PalletCrosschainTransferGatewayState: PalletCrosschainTransferGatewayState;
497
536
  PalletCrosschainTransferGatewaySyncPause: PalletCrosschainTransferGatewaySyncPause;
498
537
  PalletCrosschainTransferGatewaySyncPauseReason: PalletCrosschainTransferGatewaySyncPauseReason;
@@ -504,6 +543,7 @@ declare module '@polkadot/types/types/registry' {
504
543
  PalletCrosschainTransferMintingAuthorityState: PalletCrosschainTransferMintingAuthorityState;
505
544
  PalletCrosschainTransferSourceChain: PalletCrosschainTransferSourceChain;
506
545
  PalletCrosschainTransferSourceChainCirculation: PalletCrosschainTransferSourceChainCirculation;
546
+ PalletCrosschainTransferSwapPurchaseEvidence: PalletCrosschainTransferSwapPurchaseEvidence;
507
547
  PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation: PalletCrosschainTransferTransferOutMintingAuthorityTransferReservation;
508
548
  PalletCrosschainTransferTransferOutPendingCollateralizationRequest: PalletCrosschainTransferTransferOutPendingCollateralizationRequest;
509
549
  PalletCrosschainTransferTransferOutTransferOutOfArgon: PalletCrosschainTransferTransferOutTransferOutOfArgon;
@@ -530,6 +570,7 @@ declare module '@polkadot/types/types/registry' {
530
570
  PalletEthereumVerifierSyncCommittee: PalletEthereumVerifierSyncCommittee;
531
571
  PalletEthereumVerifierSyncCommitteePrepared: PalletEthereumVerifierSyncCommitteePrepared;
532
572
  PalletEthereumVerifierUpdate: PalletEthereumVerifierUpdate;
573
+ PalletEthereumVerifierVersionedExecutionPayloadHeader: PalletEthereumVerifierVersionedExecutionPayloadHeader;
533
574
  PalletFeeControlError: PalletFeeControlError;
534
575
  PalletFeeControlEvent: PalletFeeControlEvent;
535
576
  PalletGrandpaCall: PalletGrandpaCall;
@@ -546,7 +587,9 @@ declare module '@polkadot/types/types/registry' {
546
587
  PalletMiningSlotEvent: PalletMiningSlotEvent;
547
588
  PalletMiningSlotHoldReason: PalletMiningSlotHoldReason;
548
589
  PalletMiningSlotMinerNonceScoring: PalletMiningSlotMinerNonceScoring;
590
+ PalletMiningSlotPendingBid: PalletMiningSlotPendingBid;
549
591
  PalletMiningSlotSeatPriceStats: PalletMiningSlotSeatPriceStats;
592
+ PalletMiningSlotStandingBid: PalletMiningSlotStandingBid;
550
593
  PalletMintCall: PalletMintCall;
551
594
  PalletMintError: PalletMintError;
552
595
  PalletMintEvent: PalletMintEvent;
@@ -583,13 +626,31 @@ declare module '@polkadot/types/types/registry' {
583
626
  PalletPriceIndexEthereumPriceFrameAccumulator: PalletPriceIndexEthereumPriceFrameAccumulator;
584
627
  PalletPriceIndexEthereumPriceIndex: PalletPriceIndexEthereumPriceIndex;
585
628
  PalletPriceIndexEvent: PalletPriceIndexEvent;
586
- PalletPriceIndexPriceIndex: PalletPriceIndexPriceIndex;
587
629
  PalletProxyAnnouncement: PalletProxyAnnouncement;
588
630
  PalletProxyCall: PalletProxyCall;
589
631
  PalletProxyDepositKind: PalletProxyDepositKind;
590
632
  PalletProxyError: PalletProxyError;
591
633
  PalletProxyEvent: PalletProxyEvent;
592
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;
593
654
  PalletSudoCall: PalletSudoCall;
594
655
  PalletSudoError: PalletSudoError;
595
656
  PalletSudoEvent: PalletSudoEvent;
@@ -609,11 +670,13 @@ declare module '@polkadot/types/types/registry' {
609
670
  PalletTreasuryError: PalletTreasuryError;
610
671
  PalletTreasuryEvent: PalletTreasuryEvent;
611
672
  PalletTreasuryFrameArgonotBondParticipants: PalletTreasuryFrameArgonotBondParticipants;
673
+ PalletTreasuryFrameVaultBitcoin: PalletTreasuryFrameVaultBitcoin;
612
674
  PalletTreasuryFrameVaultCapital: PalletTreasuryFrameVaultCapital;
613
675
  PalletTreasuryHoldReason: PalletTreasuryHoldReason;
614
676
  PalletTreasuryLockedFrameBondTerms: PalletTreasuryLockedFrameBondTerms;
615
677
  PalletTreasuryLockedFrameVaultTerms: PalletTreasuryLockedFrameVaultTerms;
616
678
  PalletTreasuryPositionsPosition: PalletTreasuryPositionsPosition;
679
+ PalletTreasuryRewardReserveBalances: PalletTreasuryRewardReserveBalances;
617
680
  PalletTreasuryVaultBondState: PalletTreasuryVaultBondState;
618
681
  PalletTreasuryVaultSecuritizationPosition: PalletTreasuryVaultSecuritizationPosition;
619
682
  PalletTxPauseCall: PalletTxPauseCall;
@@ -636,7 +699,6 @@ declare module '@polkadot/types/types/registry' {
636
699
  SnowbridgeBeaconPrimitivesExecutionPayloadHeader: SnowbridgeBeaconPrimitivesExecutionPayloadHeader;
637
700
  SnowbridgeBeaconPrimitivesPublicKey: SnowbridgeBeaconPrimitivesPublicKey;
638
701
  SnowbridgeBeaconPrimitivesSignature: SnowbridgeBeaconPrimitivesSignature;
639
- SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader: SnowbridgeBeaconPrimitivesVersionedExecutionPayloadHeader;
640
702
  SnowbridgeMilagroBlsKeysPublicKey: SnowbridgeMilagroBlsKeysPublicKey;
641
703
  SpArithmeticArithmeticError: SpArithmeticArithmeticError;
642
704
  SpConsensusGrandpaAppPublic: SpConsensusGrandpaAppPublic;