@argonprotocol/mainchain 1.4.3-dev.4408f4ff → 1.4.3-dev.4544e954
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 +1838 -482
- package/browser/index.js +6083 -499
- 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 +6111 -531
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1838 -482
- package/lib/index.d.ts +1838 -482
- package/lib/index.js +6107 -527
- package/lib/index.js.map +1 -1
- package/package.json +3 -3
- package/src/interfaces/augment-api-consts.ts +59 -7
- package/src/interfaces/augment-api-errors.ts +209 -13
- package/src/interfaces/augment-api-events.ts +295 -13
- package/src/interfaces/augment-api-query.ts +281 -27
- package/src/interfaces/augment-api-rpc.ts +1 -1
- package/src/interfaces/augment-api-runtime.ts +1 -28
- package/src/interfaces/augment-api-tx.ts +138 -24
- package/src/interfaces/augment-api.ts +0 -1
- package/src/interfaces/augment-types.ts +7 -4
- package/src/interfaces/definitions.ts +11 -26
- package/src/interfaces/ethereum/index.ts +0 -1
- package/src/interfaces/ethereum/types.ts +17 -6
- package/src/interfaces/lookup.ts +689 -301
- package/src/interfaces/registry.ts +48 -11
- package/src/interfaces/types-lookup.ts +833 -321
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, 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
|
|
6
|
-
import '@polkadot/api-base/types/storage';
|
|
5
|
+
import type {} from '@polkadot/api-base/types/storage';
|
|
7
6
|
|
|
8
7
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
9
8
|
import type {
|
|
@@ -50,6 +49,7 @@ import type {
|
|
|
50
49
|
ArgonPrimitivesProvidersBlockSealerInfo,
|
|
51
50
|
ArgonPrimitivesTickTicker,
|
|
52
51
|
ArgonPrimitivesVault,
|
|
52
|
+
ArgonPrimitivesVaultVaultArgonotCommitment,
|
|
53
53
|
FrameSupportDispatchPerDispatchClassWeight,
|
|
54
54
|
FrameSupportTokensFungibleImbalance,
|
|
55
55
|
FrameSupportTokensMiscIdAmountRuntimeFreezeReason,
|
|
@@ -66,7 +66,16 @@ import type {
|
|
|
66
66
|
PalletBitcoinLocksLockedBitcoin,
|
|
67
67
|
PalletBitcoinLocksOrphanedUtxo,
|
|
68
68
|
PalletCrosschainTransferChainConfig,
|
|
69
|
+
PalletCrosschainTransferCouncilApprovalQueueEntry,
|
|
70
|
+
PalletCrosschainTransferGatewayState,
|
|
71
|
+
PalletCrosschainTransferGatewaySyncPause,
|
|
72
|
+
PalletCrosschainTransferGlobalIssuanceCouncil,
|
|
73
|
+
PalletCrosschainTransferMintingAuthority,
|
|
74
|
+
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
69
75
|
PalletCrosschainTransferSourceChain,
|
|
76
|
+
PalletCrosschainTransferSourceChainCirculation,
|
|
77
|
+
PalletCrosschainTransferTransferOutPendingCollateralizationRequest,
|
|
78
|
+
PalletCrosschainTransferTransferOutTransferOutOfArgon,
|
|
70
79
|
PalletDomainsDomainRegistration,
|
|
71
80
|
PalletEthereumVerifierBasicOperatingMode,
|
|
72
81
|
PalletEthereumVerifierExecutionHeaderAnchor,
|
|
@@ -235,7 +244,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
235
244
|
[u64]
|
|
236
245
|
>;
|
|
237
246
|
/**
|
|
238
|
-
* History of microgons per btc
|
|
247
|
+
* History of target microgons per btc.
|
|
239
248
|
**/
|
|
240
249
|
microgonPerBtcHistory: AugmentedQuery<
|
|
241
250
|
ApiType,
|
|
@@ -483,6 +492,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
483
492
|
voteMinimumHistory: AugmentedQuery<ApiType, () => Observable<Vec<u128>>, []>;
|
|
484
493
|
};
|
|
485
494
|
crosschainTransfer: {
|
|
495
|
+
/**
|
|
496
|
+
* The active Global Issuance Council hash in force for each destination chain.
|
|
497
|
+
**/
|
|
498
|
+
activeGlobalIssuanceCouncilByDestinationChain: AugmentedQuery<
|
|
499
|
+
ApiType,
|
|
500
|
+
(
|
|
501
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
502
|
+
) => Observable<Option<H256>>,
|
|
503
|
+
[PalletCrosschainTransferSourceChain]
|
|
504
|
+
>;
|
|
486
505
|
/**
|
|
487
506
|
* Config accepted for each supported source chain.
|
|
488
507
|
**/
|
|
@@ -493,6 +512,79 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
493
512
|
) => Observable<Option<PalletCrosschainTransferChainConfig>>,
|
|
494
513
|
[PalletCrosschainTransferSourceChain]
|
|
495
514
|
>;
|
|
515
|
+
/**
|
|
516
|
+
* Latest council approval queue nonce signed by this account for one destination chain.
|
|
517
|
+
**/
|
|
518
|
+
councilApprovalCursorByDestinationChainAndAccountId: AugmentedQuery<
|
|
519
|
+
ApiType,
|
|
520
|
+
(
|
|
521
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
522
|
+
arg2: AccountId32 | string | Uint8Array,
|
|
523
|
+
) => Observable<Option<u64>>,
|
|
524
|
+
[PalletCrosschainTransferSourceChain, AccountId32]
|
|
525
|
+
>;
|
|
526
|
+
/**
|
|
527
|
+
* The ordered outbound council approval queue for each destination chain.
|
|
528
|
+
**/
|
|
529
|
+
councilApprovalQueueByDestinationChainAndNonce: AugmentedQuery<
|
|
530
|
+
ApiType,
|
|
531
|
+
(
|
|
532
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
533
|
+
arg2: u64 | AnyNumber | Uint8Array,
|
|
534
|
+
) => Observable<Option<PalletCrosschainTransferCouncilApprovalQueueEntry>>,
|
|
535
|
+
[PalletCrosschainTransferSourceChain, u64]
|
|
536
|
+
>;
|
|
537
|
+
/**
|
|
538
|
+
* The registered council signer for each account on each destination chain.
|
|
539
|
+
**/
|
|
540
|
+
councilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
541
|
+
ApiType,
|
|
542
|
+
(
|
|
543
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
544
|
+
arg2: AccountId32 | string | Uint8Array,
|
|
545
|
+
) => Observable<Option<H160>>,
|
|
546
|
+
[PalletCrosschainTransferSourceChain, AccountId32]
|
|
547
|
+
>;
|
|
548
|
+
/**
|
|
549
|
+
* Conservative transfer-out conversion rate currently quoted for each destination chain.
|
|
550
|
+
**/
|
|
551
|
+
currentTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
552
|
+
ApiType,
|
|
553
|
+
(
|
|
554
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
555
|
+
) => Observable<Option<u128>>,
|
|
556
|
+
[PalletCrosschainTransferSourceChain]
|
|
557
|
+
>;
|
|
558
|
+
/**
|
|
559
|
+
* Latest proven gateway activity snapshot for each source chain.
|
|
560
|
+
**/
|
|
561
|
+
gatewayStateBySourceChain: AugmentedQuery<
|
|
562
|
+
ApiType,
|
|
563
|
+
(
|
|
564
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
565
|
+
) => Observable<Option<PalletCrosschainTransferGatewayState>>,
|
|
566
|
+
[PalletCrosschainTransferSourceChain]
|
|
567
|
+
>;
|
|
568
|
+
/**
|
|
569
|
+
* Pause state recorded when a canonical gateway activity cannot be applied safely.
|
|
570
|
+
**/
|
|
571
|
+
gatewaySyncPauseBySourceChain: AugmentedQuery<
|
|
572
|
+
ApiType,
|
|
573
|
+
(
|
|
574
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
575
|
+
) => Observable<Option<PalletCrosschainTransferGatewaySyncPause>>,
|
|
576
|
+
[PalletCrosschainTransferSourceChain]
|
|
577
|
+
>;
|
|
578
|
+
/**
|
|
579
|
+
* Historical Global Issuance Council snapshots keyed by their signer-ordered council hash.
|
|
580
|
+
**/
|
|
581
|
+
globalIssuanceCouncilByHash: AugmentedQuery<
|
|
582
|
+
ApiType,
|
|
583
|
+
(
|
|
584
|
+
arg: H256 | string | Uint8Array,
|
|
585
|
+
) => Observable<Option<PalletCrosschainTransferGlobalIssuanceCouncil>>,
|
|
586
|
+
[H256]
|
|
587
|
+
>;
|
|
496
588
|
/**
|
|
497
589
|
* Accounts whose recent-transfer evidence expires at a given tick.
|
|
498
590
|
**/
|
|
@@ -506,19 +598,117 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
506
598
|
**/
|
|
507
599
|
lastTransferExpiryCleanupTick: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
508
600
|
/**
|
|
509
|
-
*
|
|
601
|
+
* The latest queued council hash that should govern the next queue entry on each destination
|
|
602
|
+
* chain.
|
|
510
603
|
**/
|
|
511
|
-
|
|
604
|
+
latestQueuedCouncilHashByDestinationChain: AugmentedQuery<
|
|
512
605
|
ApiType,
|
|
513
606
|
(
|
|
514
|
-
arg:
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
607
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
608
|
+
) => Observable<Option<H256>>,
|
|
609
|
+
[PalletCrosschainTransferSourceChain]
|
|
610
|
+
>;
|
|
611
|
+
/**
|
|
612
|
+
* Per-chain override for the minimum normalized microgon value required to register a
|
|
613
|
+
* Minting Authority.
|
|
614
|
+
**/
|
|
615
|
+
minimumMintingAuthorityValueByDestinationChain: AugmentedQuery<
|
|
616
|
+
ApiType,
|
|
617
|
+
(
|
|
618
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
619
|
+
) => Observable<u128>,
|
|
620
|
+
[PalletCrosschainTransferSourceChain]
|
|
621
|
+
>;
|
|
622
|
+
/**
|
|
623
|
+
* Local Minting Authority records keyed by their destination signing key.
|
|
624
|
+
**/
|
|
625
|
+
mintingAuthoritiesBySigner: AugmentedQuery<
|
|
626
|
+
ApiType,
|
|
627
|
+
(
|
|
628
|
+
arg: H160 | string | Uint8Array,
|
|
629
|
+
) => Observable<Option<PalletCrosschainTransferMintingAuthority>>,
|
|
630
|
+
[H160]
|
|
631
|
+
>;
|
|
632
|
+
/**
|
|
633
|
+
* Pricing inputs used to repay relayers for Minting Authority activation batches on each
|
|
634
|
+
* destination chain.
|
|
635
|
+
**/
|
|
636
|
+
mintingAuthorityActivationRepaymentPricingByDestinationChain: AugmentedQuery<
|
|
637
|
+
ApiType,
|
|
638
|
+
(
|
|
639
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
640
|
+
) => Observable<Option<PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing>>,
|
|
641
|
+
[PalletCrosschainTransferSourceChain]
|
|
642
|
+
>;
|
|
643
|
+
/**
|
|
644
|
+
* The next outbound approval-queue nonce to assign on each destination chain.
|
|
645
|
+
**/
|
|
646
|
+
nextCouncilApprovalQueueNonceByDestinationChain: AugmentedQuery<
|
|
647
|
+
ApiType,
|
|
648
|
+
(
|
|
649
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
650
|
+
) => Observable<u64>,
|
|
651
|
+
[PalletCrosschainTransferSourceChain]
|
|
652
|
+
>;
|
|
653
|
+
/**
|
|
654
|
+
* Next outbound transfer nonce for each sending account.
|
|
655
|
+
**/
|
|
656
|
+
nextTransferOutNonceBySendingAccountId: AugmentedQuery<
|
|
657
|
+
ApiType,
|
|
658
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<u64>,
|
|
659
|
+
[AccountId32]
|
|
660
|
+
>;
|
|
661
|
+
/**
|
|
662
|
+
* Number of non-terminal transfer-out requests on each destination chain.
|
|
663
|
+
**/
|
|
664
|
+
nonTerminalTransferOutCountByDestinationChain: AugmentedQuery<
|
|
665
|
+
ApiType,
|
|
666
|
+
(
|
|
667
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
668
|
+
) => Observable<u32>,
|
|
669
|
+
[PalletCrosschainTransferSourceChain]
|
|
670
|
+
>;
|
|
671
|
+
/**
|
|
672
|
+
* Collateralization requests still open on each destination chain.
|
|
673
|
+
**/
|
|
674
|
+
pendingCollateralizationRequestsByChain: AugmentedQuery<
|
|
675
|
+
ApiType,
|
|
676
|
+
(
|
|
677
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
678
|
+
) => Observable<Vec<PalletCrosschainTransferTransferOutPendingCollateralizationRequest>>,
|
|
679
|
+
[PalletCrosschainTransferSourceChain]
|
|
680
|
+
>;
|
|
681
|
+
/**
|
|
682
|
+
* A staged council signer rotation for the next council activation on each destination chain.
|
|
683
|
+
**/
|
|
684
|
+
pendingCouncilSignerByDestinationChainAndAccountId: AugmentedQuery<
|
|
685
|
+
ApiType,
|
|
686
|
+
(
|
|
687
|
+
arg1: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
688
|
+
arg2: AccountId32 | string | Uint8Array,
|
|
689
|
+
) => Observable<Option<H160>>,
|
|
690
|
+
[PalletCrosschainTransferSourceChain, AccountId32]
|
|
691
|
+
>;
|
|
692
|
+
/**
|
|
693
|
+
* Pending outbound principal by destination chain.
|
|
694
|
+
**/
|
|
695
|
+
pendingTransferOutCirculationByDestinationChain: AugmentedQuery<
|
|
696
|
+
ApiType,
|
|
697
|
+
(
|
|
698
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
699
|
+
) => Observable<PalletCrosschainTransferSourceChainCirculation>,
|
|
700
|
+
[PalletCrosschainTransferSourceChain]
|
|
701
|
+
>;
|
|
702
|
+
/**
|
|
703
|
+
* Immediately previous transfer-out conversion rate still accepted while the floor ratchets
|
|
704
|
+
* upward across council transitions.
|
|
705
|
+
**/
|
|
706
|
+
previousTransferOutMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
707
|
+
ApiType,
|
|
708
|
+
(
|
|
709
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
710
|
+
) => Observable<Option<u128>>,
|
|
711
|
+
[PalletCrosschainTransferSourceChain]
|
|
522
712
|
>;
|
|
523
713
|
/**
|
|
524
714
|
* Count of still-retained qualifying Argon transfers for each local account.
|
|
@@ -528,6 +718,27 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
528
718
|
(arg: AccountId32 | string | Uint8Array) => Observable<u32>,
|
|
529
719
|
[AccountId32]
|
|
530
720
|
>;
|
|
721
|
+
/**
|
|
722
|
+
* Outbound transfers by transfer id.
|
|
723
|
+
**/
|
|
724
|
+
transferOutById: AugmentedQuery<
|
|
725
|
+
ApiType,
|
|
726
|
+
(
|
|
727
|
+
arg: H256 | string | Uint8Array,
|
|
728
|
+
) => Observable<Option<PalletCrosschainTransferTransferOutTransferOutOfArgon>>,
|
|
729
|
+
[H256]
|
|
730
|
+
>;
|
|
731
|
+
/**
|
|
732
|
+
* The conservative transfer-out quote floor that the next newly opened transfer should
|
|
733
|
+
* snapshot on each destination chain.
|
|
734
|
+
**/
|
|
735
|
+
transferOutQuoteMicrogonsPerArgonotByDestinationChain: AugmentedQuery<
|
|
736
|
+
ApiType,
|
|
737
|
+
(
|
|
738
|
+
arg: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
739
|
+
) => Observable<Option<u128>>,
|
|
740
|
+
[PalletCrosschainTransferSourceChain]
|
|
741
|
+
>;
|
|
531
742
|
};
|
|
532
743
|
digests: {
|
|
533
744
|
tempDigests: AugmentedQuery<
|
|
@@ -570,18 +781,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
570
781
|
() => Observable<PalletEthereumVerifierSyncCommitteePrepared>,
|
|
571
782
|
[]
|
|
572
783
|
>;
|
|
573
|
-
/**
|
|
574
|
-
* Execution header anchors: current position in ring buffer.
|
|
575
|
-
**/
|
|
576
|
-
executionHeaderAnchorIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
577
|
-
/**
|
|
578
|
-
* Execution header anchors: mapping of ring buffer index to a pruning candidate.
|
|
579
|
-
**/
|
|
580
|
-
executionHeaderAnchorMapping: AugmentedQuery<
|
|
581
|
-
ApiType,
|
|
582
|
-
(arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
|
|
583
|
-
[u32]
|
|
584
|
-
>;
|
|
585
784
|
/**
|
|
586
785
|
* Retained execution-layer header anchors by execution block hash.
|
|
587
786
|
**/
|
|
@@ -592,6 +791,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
592
791
|
) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
|
|
593
792
|
[H256]
|
|
594
793
|
>;
|
|
794
|
+
/**
|
|
795
|
+
* Ordered retained execution-layer anchors keyed by execution block number.
|
|
796
|
+
*
|
|
797
|
+
* The key is the big-endian execution block number so clients can start at a target execution
|
|
798
|
+
* block number and scan forward to the first retained anchor at or after that block without
|
|
799
|
+
* walking every retained finalized beacon root. `ExecutionHeaderAnchors` remains the canonical
|
|
800
|
+
* hash-keyed proof lookup.
|
|
801
|
+
**/
|
|
802
|
+
executionHeaderAnchorsByBlockNumber: AugmentedQuery<
|
|
803
|
+
ApiType,
|
|
804
|
+
(
|
|
805
|
+
arg: U8aFixed | string | Uint8Array,
|
|
806
|
+
) => Observable<Option<PalletEthereumVerifierExecutionHeaderAnchor>>,
|
|
807
|
+
[U8aFixed]
|
|
808
|
+
>;
|
|
595
809
|
/**
|
|
596
810
|
* Beacon state by finalized block root
|
|
597
811
|
**/
|
|
@@ -614,6 +828,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
614
828
|
(arg: u32 | AnyNumber | Uint8Array) => Observable<H256>,
|
|
615
829
|
[u32]
|
|
616
830
|
>;
|
|
831
|
+
/**
|
|
832
|
+
* Attached execution-layer anchor hash for each retained finalized beacon header root.
|
|
833
|
+
**/
|
|
834
|
+
finalizedExecutionHeaderAnchor: AugmentedQuery<
|
|
835
|
+
ApiType,
|
|
836
|
+
(arg: H256 | string | Uint8Array) => Observable<Option<H256>>,
|
|
837
|
+
[H256]
|
|
838
|
+
>;
|
|
617
839
|
/**
|
|
618
840
|
* Fork-version schedule used for sync-committee signing domains and beacon state paths.
|
|
619
841
|
**/
|
|
@@ -1160,6 +1382,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1160
1382
|
() => Observable<Vec<PalletPriceIndexCpiMeasurementBucket>>,
|
|
1161
1383
|
[]
|
|
1162
1384
|
>;
|
|
1385
|
+
/**
|
|
1386
|
+
* Tracks the lowest Argonot floor observed in each recent frame.
|
|
1387
|
+
**/
|
|
1388
|
+
historicArgonotFloorByFrame: AugmentedQuery<
|
|
1389
|
+
ApiType,
|
|
1390
|
+
() => Observable<BTreeMap<u64, u128>>,
|
|
1391
|
+
[]
|
|
1392
|
+
>;
|
|
1163
1393
|
/**
|
|
1164
1394
|
* Stores the last valid price index
|
|
1165
1395
|
**/
|
|
@@ -1422,6 +1652,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1422
1652
|
() => Observable<Option<PalletTreasuryFrameVaultCapital>>,
|
|
1423
1653
|
[]
|
|
1424
1654
|
>;
|
|
1655
|
+
/**
|
|
1656
|
+
* Exact treasury bond backing reserved for crosschain minting authorities by account.
|
|
1657
|
+
*
|
|
1658
|
+
* This is an exact microgon claim, not a mirror of the account's active whole-bond lots.
|
|
1659
|
+
* Bond lots stay coarse because participation only moves in whole bonds, while encumbrance can
|
|
1660
|
+
* remain fractional after a burn. The key invariant is that the non-releasing held balance
|
|
1661
|
+
* always covers this amount.
|
|
1662
|
+
**/
|
|
1663
|
+
encumberedBondMicrogonsByAccount: AugmentedQuery<
|
|
1664
|
+
ApiType,
|
|
1665
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<u128>,
|
|
1666
|
+
[AccountId32]
|
|
1667
|
+
>;
|
|
1425
1668
|
/**
|
|
1426
1669
|
* The next bond lot id.
|
|
1427
1670
|
**/
|
|
@@ -1452,6 +1695,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1452
1695
|
>;
|
|
1453
1696
|
};
|
|
1454
1697
|
vaults: {
|
|
1698
|
+
/**
|
|
1699
|
+
* Vault-side committed and crosschain-encumbered argonot backing.
|
|
1700
|
+
**/
|
|
1701
|
+
argonotCommitmentByVaultId: AugmentedQuery<
|
|
1702
|
+
ApiType,
|
|
1703
|
+
(
|
|
1704
|
+
arg: u32 | AnyNumber | Uint8Array,
|
|
1705
|
+
) => Observable<Option<ArgonPrimitivesVaultVaultArgonotCommitment>>,
|
|
1706
|
+
[u32]
|
|
1707
|
+
>;
|
|
1455
1708
|
/**
|
|
1456
1709
|
* The last collect frame of each vault
|
|
1457
1710
|
**/
|
|
@@ -1481,8 +1734,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1481
1734
|
[u32]
|
|
1482
1735
|
>;
|
|
1483
1736
|
/**
|
|
1484
|
-
* Pending terms that will be committed at the given block number (must be a minimum of 1
|
|
1485
|
-
* change away)
|
|
1737
|
+
* Pending terms that will be committed at the given block number (must be a minimum of 1
|
|
1738
|
+
* frame change away)
|
|
1486
1739
|
**/
|
|
1487
1740
|
pendingTermsModificationsByTick: AugmentedQuery<
|
|
1488
1741
|
ApiType,
|
|
@@ -1507,6 +1760,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1507
1760
|
(arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<PalletVaultsVaultFrameRevenue>>,
|
|
1508
1761
|
[u32]
|
|
1509
1762
|
>;
|
|
1763
|
+
revenuePerFrameByVaultCount: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
1510
1764
|
/**
|
|
1511
1765
|
* The vaults that have funds releasing at a given bitcoin height
|
|
1512
1766
|
**/
|
|
@@ -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';
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, 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
|
|
6
|
-
import '@polkadot/api-base/types/calls';
|
|
5
|
+
import type {} from '@polkadot/api-base/types/calls';
|
|
7
6
|
|
|
8
|
-
import type { ArgonPrimitivesEthereumEthereumVerifyError } from '@argonprotocol/mainchain/interfaces/ethereum';
|
|
9
7
|
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
10
8
|
import type { Bytes, Null, Option, Result, Vec, u32 } from '@polkadot/types-codec';
|
|
11
9
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
@@ -35,10 +33,6 @@ import type {
|
|
|
35
33
|
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
36
34
|
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
37
35
|
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
38
|
-
import type {
|
|
39
|
-
ArgonPrimitivesEthereumEthereumLog,
|
|
40
|
-
ArgonPrimitivesEthereumEthereumProof,
|
|
41
|
-
} from '@polkadot/types/lookup';
|
|
42
36
|
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
43
37
|
|
|
44
38
|
export type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
@@ -126,27 +120,6 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
126
120
|
**/
|
|
127
121
|
version: AugmentedCall<ApiType, () => Observable<RuntimeVersion>>;
|
|
128
122
|
};
|
|
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
123
|
/** 0xfbc577b9d747efd6/1 */
|
|
151
124
|
genesisBuilder: {
|
|
152
125
|
/**
|