@argonprotocol/mainchain 1.4.3-dev.fbc5662c → 1.4.4
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.
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
- package/browser/index.d.ts +1884 -465
- package/browser/index.js +6670 -539
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +671 -0
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +671 -0
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +1688 -0
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +135 -0
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +131 -0
- package/lib/index.cjs +6692 -551
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1884 -465
- package/lib/index.d.ts +1884 -465
- package/lib/index.js +6683 -542
- package/lib/index.js.map +1 -1
- package/package.json +17 -19
- package/src/interfaces/augment-api-consts.ts +59 -6
- package/src/interfaces/augment-api-errors.ts +212 -11
- package/src/interfaces/augment-api-events.ts +295 -13
- package/src/interfaces/augment-api-query.ts +291 -27
- package/src/interfaces/augment-api-rpc.ts +1 -1
- package/src/interfaces/augment-api-runtime.ts +1 -27
- package/src/interfaces/augment-api-tx.ts +138 -24
- package/src/interfaces/augment-types.ts +7 -3
- package/src/interfaces/definitions.ts +11 -26
- package/src/interfaces/ethereum/types.ts +17 -5
- package/src/interfaces/lookup.ts +700 -301
- package/src/interfaces/registry.ts +56 -16
- package/src/interfaces/types-lookup.ts +845 -322
- package/lib/chunk-3KFMHNNJ.cjs +0 -706
- package/lib/chunk-3KFMHNNJ.cjs.map +0 -1
- package/lib/chunk-D3FCDADJ.cjs +0 -175
- package/lib/chunk-D3FCDADJ.cjs.map +0 -1
- package/lib/chunk-RF6NOJOR.js +0 -706
- package/lib/chunk-RF6NOJOR.js.map +0 -1
- package/lib/chunk-YPXWOFUS.js +0 -175
- package/lib/chunk-YPXWOFUS.js.map +0 -1
- package/lib/lib-CU2JUZW6.cjs +0 -403
- package/lib/lib-CU2JUZW6.cjs.map +0 -1
- package/lib/lib-P3PEMYOB.js +0 -403
- package/lib/lib-P3PEMYOB.js.map +0 -1
- package/lib/setPreset-NCTHSXWD.js +0 -15
- package/lib/setPreset-NCTHSXWD.js.map +0 -1
- package/lib/setPreset-XHOPATBO.cjs +0 -15
- package/lib/setPreset-XHOPATBO.cjs.map +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
// import type lookup before we augment - in some environments
|
|
5
5
|
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/storage';
|
|
6
|
+
import type {} from '@polkadot/api-base/types/storage';
|
|
7
7
|
|
|
8
8
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
9
9
|
import type {
|
|
@@ -40,6 +40,7 @@ import type {
|
|
|
40
40
|
ArgonPrimitivesDigestsFrameInfo,
|
|
41
41
|
ArgonPrimitivesDigestsNotebookDigest,
|
|
42
42
|
ArgonPrimitivesDomainZoneRecord,
|
|
43
|
+
ArgonPrimitivesEthereumEthereumBeaconPreset,
|
|
43
44
|
ArgonPrimitivesForkPower,
|
|
44
45
|
ArgonPrimitivesInherentsBlockSealInherent,
|
|
45
46
|
ArgonPrimitivesNotaryNotaryMeta,
|
|
@@ -49,6 +50,7 @@ import type {
|
|
|
49
50
|
ArgonPrimitivesProvidersBlockSealerInfo,
|
|
50
51
|
ArgonPrimitivesTickTicker,
|
|
51
52
|
ArgonPrimitivesVault,
|
|
53
|
+
ArgonPrimitivesVaultVaultArgonotCommitment,
|
|
52
54
|
FrameSupportDispatchPerDispatchClassWeight,
|
|
53
55
|
FrameSupportTokensFungibleImbalance,
|
|
54
56
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
@@ -65,12 +67,22 @@ import type {
|
|
|
65
67
|
PalletBitcoinLocksLockedBitcoin,
|
|
66
68
|
PalletBitcoinLocksOrphanedUtxo,
|
|
67
69
|
PalletCrosschainTransferChainConfig,
|
|
70
|
+
PalletCrosschainTransferCouncilApprovalQueueEntry,
|
|
71
|
+
PalletCrosschainTransferGatewayState,
|
|
72
|
+
PalletCrosschainTransferGatewaySyncPause,
|
|
73
|
+
PalletCrosschainTransferGlobalIssuanceCouncil,
|
|
74
|
+
PalletCrosschainTransferMintingAuthority,
|
|
75
|
+
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
68
76
|
PalletCrosschainTransferSourceChain,
|
|
77
|
+
PalletCrosschainTransferSourceChainCirculation,
|
|
78
|
+
PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
|
|
79
|
+
PalletCrosschainTransferTransferOutTransferOutOfArgon,
|
|
69
80
|
PalletDomainsDomainRegistration,
|
|
70
81
|
PalletEthereumVerifierBasicOperatingMode,
|
|
71
82
|
PalletEthereumVerifierExecutionHeaderAnchor,
|
|
72
83
|
PalletEthereumVerifierFinalizedBeaconHeaderState,
|
|
73
84
|
PalletEthereumVerifierForkVersions,
|
|
85
|
+
PalletEthereumVerifierSyncCommitteePrepared,
|
|
74
86
|
PalletGrandpaStoredPendingChange,
|
|
75
87
|
PalletGrandpaStoredState,
|
|
76
88
|
PalletLocalchainTransferQueuedTransferOut,
|
|
@@ -89,7 +101,6 @@ import type {
|
|
|
89
101
|
PalletTreasuryFrameVaultCapital,
|
|
90
102
|
PalletVaultsRecentCapacityDrop,
|
|
91
103
|
PalletVaultsVaultFrameRevenue,
|
|
92
|
-
SnowbridgeBeaconPrimitivesSyncCommitteePrepared,
|
|
93
104
|
SpConsensusGrandpaAppPublic,
|
|
94
105
|
SpRuntimeDigest,
|
|
95
106
|
SpWeightsWeightV2Weight,
|
|
@@ -234,7 +245,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
234
245
|
[u64]
|
|
235
246
|
>;
|
|
236
247
|
/**
|
|
237
|
-
* History of microgons per btc
|
|
248
|
+
* History of target microgons per btc.
|
|
238
249
|
**/
|
|
239
250
|
microgonPerBtcHistory: AugmentedQuery<
|
|
240
251
|
ApiType,
|
|
@@ -482,6 +493,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
482
493
|
voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
|
|
483
494
|
};
|
|
484
495
|
crosschainTransfer: {
|
|
496
|
+
/**
|
|
497
|
+
* The active Global Issuance Council hash in force for each destination chain.
|
|
498
|
+
**/
|
|
499
|
+
activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
|
|
500
|
+
ApiType,
|
|
501
|
+
(
|
|
502
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
503
|
+
) => Observable<Option<H256>>,
|
|
504
|
+
[PalletCrosschainTransferSourceChain]
|
|
505
|
+
>;
|
|
485
506
|
/**
|
|
486
507
|
* Config accepted for each supported source chain.
|
|
487
508
|
**/
|
|
@@ -492,6 +513,79 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
492
513
|
) => Observable<Option<PalletCrosschainTransferChainConfig>>,
|
|
493
514
|
[PalletCrosschainTransferSourceChain]
|
|
494
515
|
>;
|
|
516
|
+
/**
|
|
517
|
+
* Latest council approval queue nonce signed by this account for one destination chain.
|
|
518
|
+
**/
|
|
519
|
+
councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
|
|
520
|
+
ApiType,
|
|
521
|
+
(
|
|
522
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
523
|
+
arg2: AccountId32 | string | Uint8Array,
|
|
524
|
+
) => Observable<Option<u64>>,
|
|
525
|
+
[PalletCrosschainTransferSourceChain, AccountId32]
|
|
526
|
+
>;
|
|
527
|
+
/**
|
|
528
|
+
* The ordered outbound council approval queue for each destination chain.
|
|
529
|
+
**/
|
|
530
|
+
councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
|
|
531
|
+
ApiType,
|
|
532
|
+
(
|
|
533
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
534
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
535
|
+
) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
|
|
536
|
+
[PalletCrosschainTransferSourceChain, u64]
|
|
537
|
+
>;
|
|
538
|
+
/**
|
|
539
|
+
* The registered council signer for each account on each destination chain.
|
|
540
|
+
**/
|
|
541
|
+
councilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
542
|
+
ApiType,
|
|
543
|
+
(
|
|
544
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
545
|
+
arg2: AccountId32 | string | Uint8Array,
|
|
546
|
+
) => Observable<Option<H160>>,
|
|
547
|
+
[PalletCrosschainTransferSourceChain, AccountId32]
|
|
548
|
+
>;
|
|
549
|
+
/**
|
|
550
|
+
* Conservative transfer-out conversion rate currently quoted for each destination chain.
|
|
551
|
+
**/
|
|
552
|
+
currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
553
|
+
ApiType,
|
|
554
|
+
(
|
|
555
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
556
|
+
) => Observable<Option<u128>>,
|
|
557
|
+
[PalletCrosschainTransferSourceChain]
|
|
558
|
+
>;
|
|
559
|
+
/**
|
|
560
|
+
* Latest proven gateway activity snapshot for each source chain.
|
|
561
|
+
**/
|
|
562
|
+
gatewayStateBySourceChain: AugmentedQuery<
|
|
563
|
+
ApiType,
|
|
564
|
+
(
|
|
565
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
566
|
+
) => Observable<Option<PalletCrosschainTransferGatewayState>>,
|
|
567
|
+
[PalletCrosschainTransferSourceChain]
|
|
568
|
+
>;
|
|
569
|
+
/**
|
|
570
|
+
* Pause state recorded when a canonical gateway activity cannot be applied safely.
|
|
571
|
+
**/
|
|
572
|
+
gatewaySyncPauseBySourceChain: AugmentedQuery<
|
|
573
|
+
ApiType,
|
|
574
|
+
(
|
|
575
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
576
|
+
) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
|
|
577
|
+
[PalletCrosschainTransferSourceChain]
|
|
578
|
+
>;
|
|
579
|
+
/**
|
|
580
|
+
* Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
|
|
581
|
+
**/
|
|
582
|
+
globalIssuanceCouncilByHash: AugmentedQuery<
|
|
583
|
+
ApiType,
|
|
584
|
+
(
|
|
585
|
+
arg: H256 | string | Uint8Array,
|
|
586
|
+
) => Observable<Option<PalletCrosschainTransferGlobalIssuanceCouncil>>,
|
|
587
|
+
[H256]
|
|
588
|
+
>;
|
|
495
589
|
/**
|
|
496
590
|
* Accounts whose recent-transfer evidence expires at a given tick.
|
|
497
591
|
**/
|
|
@@ -505,19 +599,117 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
505
599
|
**/
|
|
506
600
|
lastTransferExpiryCleanupTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
507
601
|
/**
|
|
508
|
-
*
|
|
602
|
+
* The latest queued council hash that should govern the next queue entry on each destination
|
|
603
|
+
* chain.
|
|
509
604
|
**/
|
|
510
|
-
|
|
605
|
+
latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
|
|
511
606
|
ApiType,
|
|
512
607
|
(
|
|
513
|
-
arg:
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
608
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
609
|
+
) => Observable<Option<H256>>,
|
|
610
|
+
[PalletCrosschainTransferSourceChain]
|
|
611
|
+
>;
|
|
612
|
+
/**
|
|
613
|
+
* Per-chain override for the minimum normalized microgon value required to register a
|
|
614
|
+
* Minting Authority.
|
|
615
|
+
**/
|
|
616
|
+
minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
|
|
617
|
+
ApiType,
|
|
618
|
+
(
|
|
619
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
620
|
+
) => Observable<u128>,
|
|
621
|
+
[PalletCrosschainTransferSourceChain]
|
|
622
|
+
>;
|
|
623
|
+
/**
|
|
624
|
+
* Local Minting Authority records keyed by their destination signing key.
|
|
625
|
+
**/
|
|
626
|
+
mintingAuthoritiesBySigner: AugmentedQuery<
|
|
627
|
+
ApiType,
|
|
628
|
+
(
|
|
629
|
+
arg: H160 | string | Uint8Array,
|
|
630
|
+
) => Observable<Option<PalletCrosschainTransferMintingAuthority>>,
|
|
631
|
+
[H160]
|
|
632
|
+
>;
|
|
633
|
+
/**
|
|
634
|
+
* Pricing inputs used to repay relayers for Minting Authority activation batches on each
|
|
635
|
+
* destination chain.
|
|
636
|
+
**/
|
|
637
|
+
mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
|
|
638
|
+
ApiType,
|
|
639
|
+
(
|
|
640
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
641
|
+
) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
|
|
642
|
+
[PalletCrosschainTransferSourceChain]
|
|
643
|
+
>;
|
|
644
|
+
/**
|
|
645
|
+
* The next outbound approval-queue nonce to assign on each destination chain.
|
|
646
|
+
**/
|
|
647
|
+
nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
|
|
648
|
+
ApiType,
|
|
649
|
+
(
|
|
650
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
651
|
+
) => Observable<u64>,
|
|
652
|
+
[PalletCrosschainTransferSourceChain]
|
|
653
|
+
>;
|
|
654
|
+
/**
|
|
655
|
+
* Next outbound transfer nonce for each sending account.
|
|
656
|
+
**/
|
|
657
|
+
nextTransferOutNonceBySendingAccountId: AugmentedQuery<
|
|
658
|
+
ApiType,
|
|
659
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<u64>,
|
|
660
|
+
[AccountId32]
|
|
661
|
+
>;
|
|
662
|
+
/**
|
|
663
|
+
* Number of non-terminal transfer-out requests on each destination chain.
|
|
664
|
+
**/
|
|
665
|
+
nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
|
|
666
|
+
ApiType,
|
|
667
|
+
(
|
|
668
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
669
|
+
) => Observable<u32>,
|
|
670
|
+
[PalletCrosschainTransferSourceChain]
|
|
671
|
+
>;
|
|
672
|
+
/**
|
|
673
|
+
* Collateralization requests still open on each destination chain.
|
|
674
|
+
**/
|
|
675
|
+
pendingCollateralizationRequestsByChain: AugmentedQuery<
|
|
676
|
+
ApiType,
|
|
677
|
+
(
|
|
678
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
679
|
+
) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
|
|
680
|
+
[PalletCrosschainTransferSourceChain]
|
|
681
|
+
>;
|
|
682
|
+
/**
|
|
683
|
+
* A staged council signer rotation for the next council activation on each destination chain.
|
|
684
|
+
**/
|
|
685
|
+
pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
686
|
+
ApiType,
|
|
687
|
+
(
|
|
688
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
689
|
+
arg2: AccountId32 | string | Uint8Array,
|
|
690
|
+
) => Observable<Option<H160>>,
|
|
691
|
+
[PalletCrosschainTransferSourceChain, AccountId32]
|
|
692
|
+
>;
|
|
693
|
+
/**
|
|
694
|
+
* Pending outbound principal by destination chain.
|
|
695
|
+
**/
|
|
696
|
+
pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
|
|
697
|
+
ApiType,
|
|
698
|
+
(
|
|
699
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
700
|
+
) => Observable<PalletCrosschainTransferSourceChainCirculation>,
|
|
701
|
+
[PalletCrosschainTransferSourceChain]
|
|
702
|
+
>;
|
|
703
|
+
/**
|
|
704
|
+
* Immediately previous transfer-out conversion rate still accepted while the floor ratchets
|
|
705
|
+
* upward across council transitions.
|
|
706
|
+
**/
|
|
707
|
+
previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
708
|
+
ApiType,
|
|
709
|
+
(
|
|
710
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
711
|
+
) => Observable<Option<u128>>,
|
|
712
|
+
[PalletCrosschainTransferSourceChain]
|
|
521
713
|
>;
|
|
522
714
|
/**
|
|
523
715
|
* Count of still-retained qualifying Argon transfers for each local account.
|
|
@@ -527,6 +719,27 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
527
719
|
(arg: AccountId32 | string | Uint8Array) => Observable<u32>,
|
|
528
720
|
[AccountId32]
|
|
529
721
|
>;
|
|
722
|
+
/**
|
|
723
|
+
* Outbound transfers by transfer id.
|
|
724
|
+
**/
|
|
725
|
+
transferOutById: AugmentedQuery<
|
|
726
|
+
ApiType,
|
|
727
|
+
(
|
|
728
|
+
arg: H256 | string | Uint8Array,
|
|
729
|
+
) => Observable<Option<PalletCrosschainTransferTransferOutTransferOutOfArgon>>,
|
|
730
|
+
[H256]
|
|
731
|
+
>;
|
|
732
|
+
/**
|
|
733
|
+
* The conservative transfer-out quote floor that the next newly opened transfer should
|
|
734
|
+
* snapshot on each destination chain.
|
|
735
|
+
**/
|
|
736
|
+
transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
737
|
+
ApiType,
|
|
738
|
+
(
|
|
739
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
740
|
+
) => Observable<Option<u128>>,
|
|
741
|
+
[PalletCrosschainTransferSourceChain]
|
|
742
|
+
>;
|
|
530
743
|
};
|
|
531
744
|
digests: {
|
|
532
745
|
tempDigests: AugmentedQuery<
|
|
@@ -554,24 +767,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
554
767
|
};
|
|
555
768
|
ethereumVerifier: {
|
|
556
769
|
/**
|
|
557
|
-
*
|
|
770
|
+
* Chain-configured beacon preset expected by clients that submit verifier updates.
|
|
558
771
|
**/
|
|
559
|
-
|
|
772
|
+
beaconPreset: AugmentedQuery<
|
|
560
773
|
ApiType,
|
|
561
|
-
() => Observable<
|
|
774
|
+
() => Observable<ArgonPrimitivesEthereumEthereumBeaconPreset>,
|
|
562
775
|
[]
|
|
563
776
|
>;
|
|
564
777
|
/**
|
|
565
|
-
*
|
|
566
|
-
**/
|
|
567
|
-
executionHeaderAnchorIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
568
|
-
/**
|
|
569
|
-
* Execution header anchors: mapping of ring buffer index to a pruning candidate.
|
|
778
|
+
* Sync committee for current period
|
|
570
779
|
**/
|
|
571
|
-
|
|
780
|
+
currentSyncCommittee: AugmentedQuery<
|
|
572
781
|
ApiType,
|
|
573
|
-
(
|
|
574
|
-
[
|
|
782
|
+
() => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
|
|
783
|
+
[]
|
|
575
784
|
>;
|
|
576
785
|
/**
|
|
577
786
|
* Retained execution-layer header anchors by execution block hash.
|
|
@@ -583,6 +792,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
583
792
|
) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
|
|
584
793
|
[H256]
|
|
585
794
|
>;
|
|
795
|
+
/**
|
|
796
|
+
* Ordered retained execution-layer anchors keyed by execution block number.
|
|
797
|
+
*
|
|
798
|
+
* The key is the big-endian execution block number so clients can start at a target execution
|
|
799
|
+
* block number and scan forward to the first retained anchor at or after that block without
|
|
800
|
+
* walking every retained finalized beacon root. `ExecutionHeaderAnchors` remains the canonical
|
|
801
|
+
* hash-keyed proof lookup.
|
|
802
|
+
**/
|
|
803
|
+
executionHeaderAnchorsByBlockNumber: AugmentedQuery<
|
|
804
|
+
ApiType,
|
|
805
|
+
(
|
|
806
|
+
arg: U8aFixed | string | Uint8Array,
|
|
807
|
+
) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
|
|
808
|
+
[U8aFixed]
|
|
809
|
+
>;
|
|
586
810
|
/**
|
|
587
811
|
* Beacon state by finalized block root
|
|
588
812
|
**/
|
|
@@ -605,6 +829,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
605
829
|
(arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
|
|
606
830
|
[u32]
|
|
607
831
|
>;
|
|
832
|
+
/**
|
|
833
|
+
* Attached execution-layer anchor hash for each retained finalized beacon header root.
|
|
834
|
+
**/
|
|
835
|
+
finalizedExecutionHeaderAnchor: AugmentedQuery<
|
|
836
|
+
ApiType,
|
|
837
|
+
(arg: H256 | string | Uint8Array) => Observable<Option<H256>>,
|
|
838
|
+
[H256]
|
|
839
|
+
>;
|
|
608
840
|
/**
|
|
609
841
|
* Fork-version schedule used for sync-committee signing domains and beacon state paths.
|
|
610
842
|
**/
|
|
@@ -638,7 +870,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
638
870
|
**/
|
|
639
871
|
nextSyncCommittee: AugmentedQuery<
|
|
640
872
|
ApiType,
|
|
641
|
-
() => Observable<
|
|
873
|
+
() => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
|
|
642
874
|
[]
|
|
643
875
|
>;
|
|
644
876
|
/**
|
|
@@ -1151,6 +1383,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1151
1383
|
() => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>,
|
|
1152
1384
|
[]
|
|
1153
1385
|
>;
|
|
1386
|
+
/**
|
|
1387
|
+
* Tracks the lowest Argonot floor observed in each recent frame.
|
|
1388
|
+
**/
|
|
1389
|
+
historicArgonotFloorByFrame: AugmentedQuery<
|
|
1390
|
+
ApiType,
|
|
1391
|
+
() => Observable<BTreeMap<u64, u128>>,
|
|
1392
|
+
[]
|
|
1393
|
+
>;
|
|
1154
1394
|
/**
|
|
1155
1395
|
* Stores the last valid price index
|
|
1156
1396
|
**/
|
|
@@ -1413,6 +1653,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1413
1653
|
() => Observable<Option<PalletTreasuryFrameVaultCapital>>,
|
|
1414
1654
|
[]
|
|
1415
1655
|
>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Exact treasury bond backing reserved for crosschain minting authorities by account.
|
|
1658
|
+
*
|
|
1659
|
+
* This is an exact microgon claim, not a mirror of the account's active whole-bond lots.
|
|
1660
|
+
* Bond lots stay coarse because participation only moves in whole bonds, while encumbrance can
|
|
1661
|
+
* remain fractional after a burn. The key invariant is that the non-releasing held balance
|
|
1662
|
+
* always covers this amount.
|
|
1663
|
+
**/
|
|
1664
|
+
encumberedBondMicrogonsByAccount: AugmentedQuery<
|
|
1665
|
+
ApiType,
|
|
1666
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<u128>,
|
|
1667
|
+
[AccountId32]
|
|
1668
|
+
>;
|
|
1416
1669
|
/**
|
|
1417
1670
|
* The next bond lot id.
|
|
1418
1671
|
**/
|
|
@@ -1443,6 +1696,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1443
1696
|
>;
|
|
1444
1697
|
};
|
|
1445
1698
|
vaults: {
|
|
1699
|
+
/**
|
|
1700
|
+
* Vault-side committed and crosschain-encumbered argonot backing.
|
|
1701
|
+
**/
|
|
1702
|
+
argonotCommitmentByVaultId: AugmentedQuery<
|
|
1703
|
+
ApiType,
|
|
1704
|
+
(
|
|
1705
|
+
arg: u32 | AnyNumber | Uint8Array,
|
|
1706
|
+
) => Observable<Option<ArgonPrimitivesVaultVaultArgonotCommitment>>,
|
|
1707
|
+
[u32]
|
|
1708
|
+
>;
|
|
1446
1709
|
/**
|
|
1447
1710
|
* The last collect frame of each vault
|
|
1448
1711
|
**/
|
|
@@ -1472,8 +1735,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1472
1735
|
[u32]
|
|
1473
1736
|
>;
|
|
1474
1737
|
/**
|
|
1475
|
-
* Pending terms that will be committed at the given block number (must be a minimum of 1
|
|
1476
|
-
* change away)
|
|
1738
|
+
* Pending terms that will be committed at the given block number (must be a minimum of 1
|
|
1739
|
+
* frame change away)
|
|
1477
1740
|
**/
|
|
1478
1741
|
pendingTermsModificationsByTick: AugmentedQuery<
|
|
1479
1742
|
ApiType,
|
|
@@ -1498,6 +1761,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1498
1761
|
(arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>,
|
|
1499
1762
|
[u32]
|
|
1500
1763
|
>;
|
|
1764
|
+
revenuePerFrameByVaultCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1501
1765
|
/**
|
|
1502
1766
|
* The vaults that have funds releasing at a given bitcoin height
|
|
1503
1767
|
**/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
// import type lookup before we augment - in some environments
|
|
5
5
|
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/rpc-core/types/jsonrpc';
|
|
6
|
+
import type {} from '@polkadot/rpc-core/types/jsonrpc';
|
|
7
7
|
|
|
8
8
|
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
|
|
9
9
|
import type { Metadata, StorageKey } from '@polkadot/types';
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
// import type lookup before we augment - in some environments
|
|
5
5
|
// this is required to allow for ambient/previous definitions
|
|
6
|
-
import '@polkadot/api-base/types/calls';
|
|
6
|
+
import type {} from '@polkadot/api-base/types/calls';
|
|
7
7
|
|
|
8
|
-
import type { ArgonPrimitivesEthereumEthereumVerifyError } from '@argonprotocol/mainchain/interfaces/ethereum';
|
|
9
8
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
10
9
|
import type { Bytes, Null, Option, Result, Vec, u32 } from '@polkadot/types-codec';
|
|
11
10
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
@@ -35,10 +34,6 @@ import type {
|
|
|
35
34
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
36
35
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
37
36
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
38
|
-
import type {
|
|
39
|
-
ArgonPrimitivesEthereumEthereumLog,
|
|
40
|
-
ArgonPrimitivesEthereumEthereumProof,
|
|
41
|
-
} from '@polkadot/types/lookup';
|
|
42
37
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
43
38
|
|
|
44
39
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
@@ -126,27 +121,6 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
126
121
|
**/
|
|
127
122
|
version: AugmentedCall<ApiType, () => Observable<RuntimeVersion>>;
|
|
128
123
|
};
|
|
129
|
-
/** 0x97c56de838cad0ef/1 */
|
|
130
|
-
ethereumApis: {
|
|
131
|
-
/**
|
|
132
|
-
* Preflight verify an Ethereum event log proof.
|
|
133
|
-
**/
|
|
134
|
-
verifyEventLog: AugmentedCall<
|
|
135
|
-
ApiType,
|
|
136
|
-
(
|
|
137
|
-
eventLog:
|
|
138
|
-
| ArgonPrimitivesEthereumEthereumLog
|
|
139
|
-
| { address?: any; topics?: any; data?: any }
|
|
140
|
-
| string
|
|
141
|
-
| Uint8Array,
|
|
142
|
-
proof:
|
|
143
|
-
| ArgonPrimitivesEthereumEthereumProof
|
|
144
|
-
| { executionBlockProof?: any; receiptProof?: any }
|
|
145
|
-
| string
|
|
146
|
-
| Uint8Array,
|
|
147
|
-
) => Observable<Result<Null, ArgonPrimitivesEthereumEthereumVerifyError>>
|
|
148
|
-
>;
|
|
149
|
-
};
|
|
150
124
|
/** 0xfbc577b9d747efd6/1 */
|
|
151
125
|
genesisBuilder: {
|
|
152
126
|
/**
|