@totochain/api-augment 0.1.0 → 0.2.0
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/README.md +1 -1
- package/dist/interfaces/augment-api-consts.d.ts +113 -71
- package/dist/interfaces/augment-api-errors.d.ts +71 -44
- package/dist/interfaces/augment-api-events.d.ts +235 -201
- package/dist/interfaces/augment-api-query.d.ts +145 -104
- package/dist/interfaces/augment-api-tx.d.ts +52 -29
- package/dist/interfaces/lookup.d.ts +319 -266
- package/dist/interfaces/lookup.js +334 -281
- package/dist/interfaces/registry.d.ts +7 -6
- package/dist/interfaces/types-lookup.d.ts +367 -308
- package/package.json +1 -1
- package/src/interfaces/augment-api-consts.ts +113 -71
- package/src/interfaces/augment-api-errors.ts +71 -44
- package/src/interfaces/augment-api-events.ts +153 -140
- package/src/interfaces/augment-api-query.ts +145 -104
- package/src/interfaces/augment-api-tx.ts +52 -29
- package/src/interfaces/lookup.ts +334 -281
- package/src/interfaces/registry.ts +7 -6
- package/src/interfaces/types-lookup.ts +369 -309
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { BTreeSet, Bytes, Null, Option, U256, U8aFixed, Vec, bool, i32, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId20, Call, H160, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { EthereumBlock, EthereumReceiptReceiptV4, EthereumTransactionTransactionV3, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAttestationAttestationRecord, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollectiveVotes, PalletCtypeCtypeEntry, PalletDidDidRecord, PalletEvmCodeMetadata,
|
|
7
|
+
import type { EthereumBlock, EthereumReceiptReceiptV4, EthereumTransactionTransactionV3, FpRpcTransactionStatus, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAttestationAttestationRecord, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCollectiveVotes, PalletCtypeCtypeEntry, PalletDidDidRecord, PalletEvmCodeMetadata, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletHandshakeHandshakeStatus, PalletIdentityAuthorityProperties, PalletIdentityProvider, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletIdentityUsernameInformation, PalletImOnlineSr25519AppSr25519Public, PalletMultisigMultisig, PalletPotentialRewardSweepCursorState, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletPuzzlePiecesOpenSet, PalletPuzzlePiecesPendingDraw, PalletReferendaReferendumInfo, PalletReputationVotingProcessingState, PalletReputationVotingTally, PalletReputationVotingVoteDirection, PalletReputationVotingVoteRecord, PalletRuntimeParamsGovernanceParams, PalletRuntimeParamsRewardParams, PalletRuntimeParamsSafeModeParams, PalletRuntimeParamsTimingParams, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTransactionPaymentReleases, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpStakingOffenceOffenceDetails, SpWeightsWeightV2Weight, TotochainRuntimeSessionKeys } from '@polkadot/types/lookup';
|
|
8
8
|
import type { Observable } from '@polkadot/types/types';
|
|
9
9
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
10
10
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -34,10 +34,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
34
34
|
};
|
|
35
35
|
attestation: {
|
|
36
36
|
attestationProviderIds: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
37
|
-
attestations: AugmentedQuery<ApiType, (
|
|
38
|
-
claimsBySubject: AugmentedQuery<ApiType, (arg1: AccountId20 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<ITuple<[H256, bool]>>>, [AccountId20, H256]> & QueryableStorageEntry<ApiType, [AccountId20, H256]>;
|
|
37
|
+
attestations: AugmentedQuery<ApiType, (arg1: AccountId20 | string | Uint8Array, arg2: H256 | string | Uint8Array) => Observable<Option<PalletAttestationAttestationRecord>>, [AccountId20, H256]> & QueryableStorageEntry<ApiType, [AccountId20, H256]>;
|
|
39
38
|
claimsCountBySubject: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<u32>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
40
39
|
ctypeWeights: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<u32>>, [H256]> & QueryableStorageEntry<ApiType, [H256]>;
|
|
40
|
+
/**
|
|
41
|
+
* The `issuance_id` the next `add` assigns. Only ever increases.
|
|
42
|
+
**/
|
|
43
|
+
nextIssuanceId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
41
44
|
/**
|
|
42
45
|
* Generic query
|
|
43
46
|
**/
|
|
@@ -310,76 +313,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
310
313
|
**/
|
|
311
314
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
312
315
|
};
|
|
313
|
-
fractionalNft: {
|
|
314
|
-
collectionIdNftInfo: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletFractionalNftNftInfo>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
315
|
-
currentCollectionId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
316
|
-
currentItemId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
317
|
-
/**
|
|
318
|
-
* Per-collection presence index of valid (live) fractional-NFT items.
|
|
319
|
-
*
|
|
320
|
-
* Replaces the previous `ValidItems: StorageMap<CollectionId, BoundedBTreeSet<ItemId>>`.
|
|
321
|
-
* Single-item insert/remove no longer decodes the whole per-collection set, so the
|
|
322
|
-
* per-call proof estimate drops from `MaxValidItems`-sized to a single small row.
|
|
323
|
-
* `ValidItemCount` is the source of truth for cardinality (the runtime-checked cap).
|
|
324
|
-
**/
|
|
325
|
-
isValidItem: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
326
|
-
/**
|
|
327
|
-
* Wildcards owed to the distribution queue but not yet minted or scheduled.
|
|
328
|
-
*
|
|
329
|
-
* `mint` credits this counter instead of inserting into `WildcardDistributionMap`
|
|
330
|
-
* inline, so a deposit can never fail on the state of the shared queue — including
|
|
331
|
-
* a queue filled by *other* accounts' deposits (BC-505).
|
|
332
|
-
* `process_pending_wildcards` (called from `on_finalize`) drains it into free queue
|
|
333
|
-
* slots, at most [`crate::MAX_WILDCARD_MINTS_PER_BLOCK`] per block.
|
|
334
|
-
*
|
|
335
|
-
* Effective wildcard throughput is bounded by the queue drain rate, not by this
|
|
336
|
-
* counter or the per-block mint cap: an entry holds its slot for the whole
|
|
337
|
-
* randomized 1–24 h delay while at most one leaves per block, so the queue sustains
|
|
338
|
-
* `MaxWildcardEntries / mean_delay_in_blocks` wildcards per block. Size the cap above
|
|
339
|
-
* the expected production rate or this counter grows without bound and wildcards
|
|
340
|
-
* arrive ever later — the backlog is bonus rewards running late, never a failed
|
|
341
|
-
* deposit, but it is unbounded. Monitor it via [`Event::WildcardMintDeferred`].
|
|
342
|
-
**/
|
|
343
|
-
pendingWildcards: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
344
|
-
totalfNFTsMinted: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
345
|
-
totalNonWildcardItems: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
346
|
-
/**
|
|
347
|
-
* Forward array of the unused-collections pool: `idx -> collection_id`.
|
|
348
|
-
**/
|
|
349
|
-
unusedCollectionAt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
350
|
-
/**
|
|
351
|
-
* Reverse index of the unused-collections pool: `collection_id -> idx`. Used for
|
|
352
|
-
* O(1) arbitrary remove via swap-pop. `OptionQuery` because index `0` is valid.
|
|
353
|
-
**/
|
|
354
|
-
unusedCollectionIndex: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
355
|
-
/**
|
|
356
|
-
* Number of collections currently in the unused pool.
|
|
357
|
-
**/
|
|
358
|
-
unusedCollectionsCount: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
359
|
-
/**
|
|
360
|
-
* Forward array of the per-collection unused-items pool: `(collection_id, idx) -> item_id`.
|
|
361
|
-
**/
|
|
362
|
-
unusedItemAt: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
363
|
-
/**
|
|
364
|
-
* Reverse index of the per-collection unused-items pool: `(collection_id, item_id) -> idx`.
|
|
365
|
-
**/
|
|
366
|
-
unusedItemIndex: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
367
|
-
/**
|
|
368
|
-
* Number of items currently in the unused pool for each collection.
|
|
369
|
-
**/
|
|
370
|
-
unusedItemsCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
371
|
-
/**
|
|
372
|
-
* Live count of valid items per collection. Source of truth for the
|
|
373
|
-
* runtime-checked `MaxValidItems` cap.
|
|
374
|
-
**/
|
|
375
|
-
validItemCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
376
|
-
wildcardDistributionMap: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
377
|
-
wildcardThreshold: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
378
|
-
/**
|
|
379
|
-
* Generic query
|
|
380
|
-
**/
|
|
381
|
-
[key: string]: QueryableStorageEntry<ApiType>;
|
|
382
|
-
};
|
|
383
316
|
grandpa: {
|
|
384
317
|
/**
|
|
385
318
|
* The current list of authorities.
|
|
@@ -700,10 +633,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
700
633
|
**/
|
|
701
634
|
totalPotentialMinted: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
702
635
|
/**
|
|
703
|
-
* Total accounts processed
|
|
704
|
-
*
|
|
705
|
-
*
|
|
706
|
-
*
|
|
636
|
+
* Total live accounts processed in the current burn cycle — every account
|
|
637
|
+
* `burn_for_account` ran for, including those with zero potential and those
|
|
638
|
+
* that failed individually. Dead rows and the reward pool are skipped before
|
|
639
|
+
* this point and are not counted; `process_burn_batch` bounds the scan and
|
|
640
|
+
* charges weight on visited rows instead.
|
|
707
641
|
**/
|
|
708
642
|
totalProcessedInCycle: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
709
643
|
/**
|
|
@@ -741,6 +675,111 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
741
675
|
**/
|
|
742
676
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
743
677
|
};
|
|
678
|
+
puzzlePieces: {
|
|
679
|
+
currentCollectionId: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
680
|
+
currentItemId: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
681
|
+
/**
|
|
682
|
+
* Entropy every draw of the current block uses: a hash chain of the block entropy
|
|
683
|
+
* outputs ([`Config::BlockEntropy`]) of every block so far, extended at the end of each
|
|
684
|
+
* block's `on_finalize`, after its draws.
|
|
685
|
+
**/
|
|
686
|
+
drawEntropy: AugmentedQuery<ApiType, () => Observable<U8aFixed>, []> & QueryableStorageEntry<ApiType, []>;
|
|
687
|
+
/**
|
|
688
|
+
* [`DrawEntropy`] as it stood right after [`EntropyBlocks`] reached the key. An activation
|
|
689
|
+
* draw resolves with the checkpoint at its `ready_at`, so its seed is fixed when it matures,
|
|
690
|
+
* however long the budget defers it: outputs absorbed after that cannot re-roll it.
|
|
691
|
+
*
|
|
692
|
+
* Every key lies in `[EntropyCheckpointFloor, EntropyBlocks]`. Checkpoints below the floor
|
|
693
|
+
* are removed, at most [`crate::MAX_ENTROPY_CHECKPOINT_PRUNES_PER_BLOCK`] a block.
|
|
694
|
+
**/
|
|
695
|
+
entropyAt: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<U8aFixed>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
696
|
+
/**
|
|
697
|
+
* How many block entropy outputs [`DrawEntropy`] has absorbed. Activation draws wait on
|
|
698
|
+
* it, not on block numbers, so a block without a VRF output delays them instead of
|
|
699
|
+
* letting them resolve on entropy nobody added.
|
|
700
|
+
**/
|
|
701
|
+
entropyBlocks: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
702
|
+
/**
|
|
703
|
+
* The lowest [`EntropyAt`] key still kept; never above `EntropyBlocks + 1`. A draw resolves
|
|
704
|
+
* with the checkpoint at `max(ready_at, floor)`. `ready_at` never decreases from one draw to
|
|
705
|
+
* the next while `DrawEntropyDelay` does not, and the floor never passes a pending draw's
|
|
706
|
+
* `ready_at`, so that is the draw's own `ready_at`. The `max` only matters for draws an
|
|
707
|
+
* upgrade lowering the delay committed behind a later-maturing one: they resolve after it
|
|
708
|
+
* anyway, and use a checkpoint that still exists.
|
|
709
|
+
**/
|
|
710
|
+
entropyCheckpointFloor: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
711
|
+
/**
|
|
712
|
+
* Per-collection presence index of valid (live) puzzle pieces.
|
|
713
|
+
*
|
|
714
|
+
* Replaces the previous `ValidItems: StorageMap<CollectionId, BoundedBTreeSet<ItemId>>`.
|
|
715
|
+
* Single-item insert/remove no longer decodes the whole per-collection set, so the
|
|
716
|
+
* per-call proof estimate drops from `MaxValidItems`-sized to a single small row.
|
|
717
|
+
* `ValidItemCount` is the source of truth for cardinality (the runtime-checked cap).
|
|
718
|
+
**/
|
|
719
|
+
isValidItem: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
720
|
+
/**
|
|
721
|
+
* The id the next committed draw gets.
|
|
722
|
+
**/
|
|
723
|
+
nextDrawId: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
724
|
+
/**
|
|
725
|
+
* The oldest draw not resolved yet: the head of the queue.
|
|
726
|
+
**/
|
|
727
|
+
nextDrawToResolve: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
|
|
728
|
+
/**
|
|
729
|
+
* The reward sets still filling, one per slot; always `OpenSetCount` long once genesis
|
|
730
|
+
* has run. A piece that fills a set seals it and opens a fresh set in the same slot.
|
|
731
|
+
* A collection is open exactly while it is listed here, and only a sealed set can be
|
|
732
|
+
* unlocked.
|
|
733
|
+
**/
|
|
734
|
+
openSets: AugmentedQuery<ApiType, () => Observable<Vec<PalletPuzzlePiecesOpenSet>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
735
|
+
/**
|
|
736
|
+
* Committed activation draws, keyed by [`DrawId`] and resolved in id order. Every id from
|
|
737
|
+
* [`NextDrawToResolve`] up to [`NextDrawId`] is present.
|
|
738
|
+
**/
|
|
739
|
+
pendingDraws: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletPuzzlePiecesPendingDraw>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
|
|
740
|
+
/**
|
|
741
|
+
* Wildcards owed to the distribution queue but not yet minted or scheduled.
|
|
742
|
+
*
|
|
743
|
+
* `mint` credits this counter instead of inserting into `WildcardDistributionMap`
|
|
744
|
+
* inline, so a deposit can never fail on the state of the shared queue — including
|
|
745
|
+
* a queue filled by *other* accounts' deposits (BC-505).
|
|
746
|
+
* `process_pending_wildcards` (called from `on_finalize`) drains it into free queue
|
|
747
|
+
* slots, at most [`crate::MAX_WILDCARD_MINTS_PER_BLOCK`] per block.
|
|
748
|
+
*
|
|
749
|
+
* Effective wildcard throughput is bounded by the queue drain rate, not by this
|
|
750
|
+
* counter or the per-block mint cap: an entry holds its slot for the whole
|
|
751
|
+
* randomized 1–24 h delay while at most one leaves per block, so the queue sustains
|
|
752
|
+
* `MaxWildcardEntries / mean_delay_in_blocks` wildcards per block. Size the cap above
|
|
753
|
+
* the expected production rate or this counter grows without bound and wildcards
|
|
754
|
+
* arrive ever later — the backlog is bonus rewards running late, never a failed
|
|
755
|
+
* deposit, but it is unbounded.
|
|
756
|
+
*
|
|
757
|
+
* It also stalls while the reward pool cannot fund one `ItemDeposit` reserve, which
|
|
758
|
+
* `process_pending_wildcards` detects up front and skips on silently (BC-527). Read the
|
|
759
|
+
* counter through the `pending_wildcards` runtime API to tell a stalled backlog from a
|
|
760
|
+
* draining one; [`Event::WildcardMintDeferred`] reports it only at increment time.
|
|
761
|
+
**/
|
|
762
|
+
pendingWildcards: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
763
|
+
/**
|
|
764
|
+
* Collections a partial unlock retired but could not destroy, because pieces it did
|
|
765
|
+
* not need are still on their holders. `reap_collection` destroys one once its last
|
|
766
|
+
* piece is gone, which releases its `CollectionDeposit` to the reward pool.
|
|
767
|
+
**/
|
|
768
|
+
retiredCollections: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
769
|
+
totalNonWildcardItems: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
770
|
+
totalPuzzlePiecesMinted: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
771
|
+
/**
|
|
772
|
+
* Live count of valid items per collection. Source of truth for the
|
|
773
|
+
* runtime-checked `MaxValidItems` cap.
|
|
774
|
+
**/
|
|
775
|
+
validItemCount: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
776
|
+
wildcardDistributionMap: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
777
|
+
wildcardThreshold: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
778
|
+
/**
|
|
779
|
+
* Generic query
|
|
780
|
+
**/
|
|
781
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
782
|
+
};
|
|
744
783
|
referenda: {
|
|
745
784
|
/**
|
|
746
785
|
* The number of referenda being decided currently.
|
|
@@ -810,7 +849,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
810
849
|
/**
|
|
811
850
|
* `account -> referrer`, write-once and **never removed** — including by
|
|
812
851
|
* `split_tree`. The full genealogy of who referred whom, preserved across
|
|
813
|
-
* validator splits. Sole consumer: upward
|
|
852
|
+
* validator splits. Sole consumer: upward puzzle piece distribution.
|
|
814
853
|
**/
|
|
815
854
|
lineageParent: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<AccountId20>>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
816
855
|
/**
|
|
@@ -905,20 +944,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
905
944
|
* survives the boundary.
|
|
906
945
|
**/
|
|
907
946
|
burnablePoolBalance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
908
|
-
/**
|
|
909
|
-
* Underlying ERC721 tokens currently claimed by a fractional-NFT collection, keyed by
|
|
910
|
-
* `(contract address, token id)`.
|
|
911
|
-
*
|
|
912
|
-
* Exists so one real NFT can back at most one collection. Two collections claiming the
|
|
913
|
-
* same `(address, token_id)` would let whoever unlocked first take both the payout **and**
|
|
914
|
-
* the physical ERC721 via the unlock callback, while the second unlock failed on its EVM
|
|
915
|
-
* call and rolled back — burning the loser's fractional NFTs for nothing (BC-493).
|
|
916
|
-
*
|
|
917
|
-
* Written by [`Pallet::record_nft_deposit`] and cleared by
|
|
918
|
-
* [`unlock`](crate::unlock::RewardPoolUnlockHandler::unlock) once the token leaves the
|
|
919
|
-
* pool, so a withdrawn NFT can be deposited again later.
|
|
920
|
-
**/
|
|
921
|
-
depositedNfts: AugmentedQuery<ApiType, (arg1: H160 | string | Uint8Array, arg2: U256 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [H160, U256]> & QueryableStorageEntry<ApiType, [H160, U256]>;
|
|
922
947
|
/**
|
|
923
948
|
* Share of each burnable inflow reserved for the cycle-boundary burn (recycle).
|
|
924
949
|
*
|
|
@@ -928,7 +953,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
928
953
|
**/
|
|
929
954
|
recycleShare: AugmentedQuery<ApiType, () => Observable<Permill>, []> & QueryableStorageEntry<ApiType, []>;
|
|
930
955
|
/**
|
|
931
|
-
* The sub-bucket of [`BurnablePoolBalance`] available for
|
|
956
|
+
* The sub-bucket of [`BurnablePoolBalance`] available for puzzle unlock payouts.
|
|
932
957
|
*
|
|
933
958
|
* Invariant: `UnlockFundBalance <= BurnablePoolBalance`. Each burnable inflow is
|
|
934
959
|
* split by [`RecycleShare`]: the recycle portion (`ρ · x`) stays in the burnable
|
|
@@ -939,15 +964,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
939
964
|
* unlock credit survives the boundary.
|
|
940
965
|
**/
|
|
941
966
|
unlockFundBalance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
942
|
-
|
|
943
|
-
* Storage for tracking daily NFT submissions per account (account, day_index, count)
|
|
944
|
-
**/
|
|
945
|
-
userDailyNftSubmissions: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<ITuple<[u32, u32]>>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
946
|
-
/**
|
|
947
|
-
* Storage for tracking number of NFTs submitted to reward pool per account
|
|
948
|
-
**/
|
|
949
|
-
userSubmittedNftsCount: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<u32>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
950
|
-
userUnlockedNfts: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<BTreeSet<u32>>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
967
|
+
userUnlockedPuzzles: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<BTreeSet<u32>>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
951
968
|
/**
|
|
952
969
|
* Generic query
|
|
953
970
|
**/
|
|
@@ -1167,6 +1184,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1167
1184
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
1168
1185
|
};
|
|
1169
1186
|
techCommitteeManager: {
|
|
1187
|
+
/**
|
|
1188
|
+
* Accounts `force_unregister_candidate` removed. They cannot register again until
|
|
1189
|
+
* `unban_candidate` lifts the ban; without it a removed account that still clears
|
|
1190
|
+
* `MinCandidateReputation` would re-register in the next block and be seated again at the
|
|
1191
|
+
* next session. Only `ForceOrigin` writes it, so its size is bounded by governance.
|
|
1192
|
+
**/
|
|
1193
|
+
bannedCandidates: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Option<Null>>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
1170
1194
|
candidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1171
1195
|
selectedCandidates: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1172
1196
|
/**
|
|
@@ -1305,17 +1329,34 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1305
1329
|
* Counter for the related counted storage map
|
|
1306
1330
|
**/
|
|
1307
1331
|
counterForReputationPenalties: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Offenders already charged the equivocation penalty, keyed by the session the
|
|
1334
|
+
* offence happened in.
|
|
1335
|
+
*
|
|
1336
|
+
* `pallet_offences` hands `on_offence` every concurrent offender of the same
|
|
1337
|
+
* kind and time slot each time a new one is reported, so an equivocator already
|
|
1338
|
+
* charged would be charged again for each accomplice reported after it. This
|
|
1339
|
+
* marker charges each offender at most once per offence session. Pruned in
|
|
1340
|
+
* `start_session` once the session falls outside the offence retention window.
|
|
1341
|
+
**/
|
|
1342
|
+
equivocationsPenalised: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId20 | string | Uint8Array) => Observable<Option<Null>>, [u32, AccountId20]> & QueryableStorageEntry<ApiType, [u32, AccountId20]>;
|
|
1308
1343
|
offenceValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId20, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1309
1344
|
offlineValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId20, u32]>>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1310
1345
|
/**
|
|
1311
|
-
*
|
|
1346
|
+
* Evicted accounts that keep their session keys while they serve the current set.
|
|
1347
|
+
* Purged once they leave it, even if their blacklist entry has expired by then.
|
|
1348
|
+
**/
|
|
1349
|
+
pendingKeyPurges: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Accumulated reputation penalties per validator account, as the share of the
|
|
1352
|
+
* account's reputation the penalty takes (see [`apply_reputation_penalty`]).
|
|
1312
1353
|
* Incremented on each offence, decayed each session during maintenance.
|
|
1313
1354
|
* Removed when penalty reaches 0 to avoid unbounded map growth.
|
|
1314
1355
|
*
|
|
1315
1356
|
* `CountedStorageMap` so `count()` is O(1) and can be used to charge the
|
|
1316
1357
|
* actual decay weight on session boundaries instead of a fixed upper bound.
|
|
1317
1358
|
**/
|
|
1318
|
-
reputationPenalties: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<
|
|
1359
|
+
reputationPenalties: AugmentedQuery<ApiType, (arg: AccountId20 | string | Uint8Array) => Observable<Perbill>, [AccountId20]> & QueryableStorageEntry<ApiType, [AccountId20]>;
|
|
1319
1360
|
selectedValidators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1320
1361
|
validators: AugmentedQuery<ApiType, () => Observable<Vec<AccountId20>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1321
1362
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/submittable';
|
|
2
2
|
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Data } from '@polkadot/types';
|
|
4
|
-
import type { Bytes, Compact,
|
|
4
|
+
import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId20, Call, H160, H256, Permill } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
import type { EthereumTransactionEip7702AuthorizationListItem, EthereumTransactionTransactionV3, FpAccountEthereumSignature, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, PalletBalancesAdjustmentDirection, PalletIdentityJudgement, PalletIdentityLegacyIdentityInfo, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletReputationVotingVoteDirection, PalletUniquesDestroyWitness, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpSessionMembershipProof, SpWeightsWeightV2Weight, TotochainRuntimeConfigsUtilityProxyType, TotochainRuntimeOriginCaller, TotochainRuntimeSessionKeys } from '@polkadot/types/lookup';
|
|
@@ -17,15 +17,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
17
17
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
18
18
|
};
|
|
19
19
|
attestation: {
|
|
20
|
-
add: AugmentedSubmittable<(
|
|
20
|
+
add: AugmentedSubmittable<(subject: AccountId20 | string | Uint8Array, ctypeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, H256]>;
|
|
21
21
|
addAttester: AugmentedSubmittable<(attester: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
|
|
22
22
|
addCtypeWithWeight: AugmentedSubmittable<(ctypeHash: H256 | string | Uint8Array, ctypeWeight: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, u32]>;
|
|
23
|
-
forceRemove: AugmentedSubmittable<(
|
|
24
|
-
forceRevoke: AugmentedSubmittable<(
|
|
25
|
-
remove: AugmentedSubmittable<(
|
|
23
|
+
forceRemove: AugmentedSubmittable<(subject: AccountId20 | string | Uint8Array, ctypeHash: H256 | string | Uint8Array, issuanceId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, H256, u64]>;
|
|
24
|
+
forceRevoke: AugmentedSubmittable<(subject: AccountId20 | string | Uint8Array, ctypeHash: H256 | string | Uint8Array, issuanceId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, H256, u64]>;
|
|
25
|
+
remove: AugmentedSubmittable<(subject: AccountId20 | string | Uint8Array, ctypeHash: H256 | string | Uint8Array, issuanceId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, H256, u64]>;
|
|
26
26
|
removeAttester: AugmentedSubmittable<(attester: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
|
|
27
27
|
removeCtypeWithWeight: AugmentedSubmittable<(ctypeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
28
|
-
revoke: AugmentedSubmittable<(
|
|
28
|
+
revoke: AugmentedSubmittable<(subject: AccountId20 | string | Uint8Array, ctypeHash: H256 | string | Uint8Array, issuanceId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, H256, u64]>;
|
|
29
29
|
/**
|
|
30
30
|
* Generic tx
|
|
31
31
|
**/
|
|
@@ -250,16 +250,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
250
250
|
**/
|
|
251
251
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
252
252
|
};
|
|
253
|
-
fractionalNft: {
|
|
254
|
-
/**
|
|
255
|
-
* Transfer fractional NFT
|
|
256
|
-
**/
|
|
257
|
-
transfer: AugmentedSubmittable<(to: AccountId20 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, u32, u32]>;
|
|
258
|
-
/**
|
|
259
|
-
* Generic tx
|
|
260
|
-
**/
|
|
261
|
-
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
262
|
-
};
|
|
263
253
|
grandpa: {
|
|
264
254
|
/**
|
|
265
255
|
* Note that the current authority set of the GRANDPA finality gadget has stalled.
|
|
@@ -1029,6 +1019,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1029
1019
|
**/
|
|
1030
1020
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1031
1021
|
};
|
|
1022
|
+
puzzlePieces: {
|
|
1023
|
+
/**
|
|
1024
|
+
* Destroy a collection a partial unlock retired, once its last leftover piece is
|
|
1025
|
+
* gone, releasing its deposit to the reward pool. Anyone may call it; a successful
|
|
1026
|
+
* reap pays no fee.
|
|
1027
|
+
**/
|
|
1028
|
+
reapCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1029
|
+
/**
|
|
1030
|
+
* Transfer puzzle piece
|
|
1031
|
+
**/
|
|
1032
|
+
transfer: AugmentedSubmittable<(to: AccountId20 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20, u32, u32]>;
|
|
1033
|
+
/**
|
|
1034
|
+
* Generic tx
|
|
1035
|
+
**/
|
|
1036
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1037
|
+
};
|
|
1032
1038
|
referenda: {
|
|
1033
1039
|
/**
|
|
1034
1040
|
* Cancel an ongoing referendum.
|
|
@@ -1145,31 +1151,33 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1145
1151
|
};
|
|
1146
1152
|
referral: {
|
|
1147
1153
|
/**
|
|
1148
|
-
* Activate the caller's pending referral,
|
|
1149
|
-
* attach the caller to the active tree.
|
|
1154
|
+
* Activate the caller's pending referral, commit its puzzle piece rewards to a later
|
|
1155
|
+
* draw, and attach the caller to the active tree.
|
|
1150
1156
|
*
|
|
1151
1157
|
* Uses **two independent chains**:
|
|
1152
1158
|
* - **Active chain** (`collect_active_chain_bounded`): feeds `add_child_with_chain` and
|
|
1153
1159
|
* `DescendantCount`. Rejects with [`Error::MaxReferralDepthExceeded`] when the active
|
|
1154
1160
|
* ancestor count exceeds `MAX_REFERRAL_DEPTH`.
|
|
1155
|
-
* - **Lineage chain** (`collect_lineage_chain_truncated`): feeds
|
|
1161
|
+
* - **Lineage chain** (`collect_lineage_chain_truncated`): feeds puzzle piece reward distribution.
|
|
1156
1162
|
* Walks `LineageParent` edges, filtering to reward-eligible ancestors. Truncates
|
|
1157
1163
|
* silently at `MAX_LINEAGE_REWARD_DEPTH` instead of erroring, because lineage chains can
|
|
1158
1164
|
* legitimately exceed 100 (splits shorten active chains but never lineage chains) — an
|
|
1159
1165
|
* erroring variant would permanently brick activation for entire deep branches.
|
|
1160
1166
|
*
|
|
1161
|
-
* Rewards follow a **two-tier payout** (decision 4):
|
|
1162
|
-
*
|
|
1163
|
-
*
|
|
1164
|
-
*
|
|
1165
|
-
*
|
|
1167
|
+
* Rewards follow a **two-tier payout** (decision 4): the sender (tier 1) and its
|
|
1168
|
+
* lineage ancestors (tier 2). They are not minted here: they are committed to a draw
|
|
1169
|
+
* that `pallet_puzzle_pieces` resolves, all-or-nothing, a few blocks later from block
|
|
1170
|
+
* entropy produced after this one (BC-538), so the sender cannot learn the outcome
|
|
1171
|
+
* before signing. A refused commit, such as a full draw queue, aborts the activation.
|
|
1166
1172
|
*
|
|
1167
1173
|
* Fails with [`Error::BlockProducerCannotActivateReferral`] if the caller is
|
|
1168
1174
|
* already a block producer — block producers must be active-tree roots.
|
|
1169
1175
|
*
|
|
1170
1176
|
* Weight scales linearly with both active depth (`a`) and lineage
|
|
1171
|
-
* depth (`l`) via `WeightInfo::activate_referral_depth
|
|
1172
|
-
*
|
|
1177
|
+
* depth (`l`) via `WeightInfo::activate_referral_depth`, plus the weight resolving
|
|
1178
|
+
* the draw will take (`PuzzlePieceRewardDistributor::reward_draw_weight`), so the
|
|
1179
|
+
* sender pays for its mints. Pre-dispatch reserves worst case on all of them;
|
|
1180
|
+
* post-dispatch refunds to actual.
|
|
1173
1181
|
**/
|
|
1174
1182
|
activateReferral: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1175
1183
|
/**
|
|
@@ -1230,11 +1238,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1230
1238
|
**/
|
|
1231
1239
|
setRecycleShare: AugmentedSubmittable<(share: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Permill]>;
|
|
1232
1240
|
/**
|
|
1233
|
-
* Unlock core asset for submitting all
|
|
1241
|
+
* Unlock core asset for submitting all puzzle pieces.
|
|
1234
1242
|
*
|
|
1235
1243
|
* `WeightInfo::unlock` scales linearly with the number of items in the
|
|
1236
|
-
* collection at dispatch time: burning each
|
|
1237
|
-
* each
|
|
1244
|
+
* collection at dispatch time: burning each puzzle piece and clearing
|
|
1245
|
+
* each valid-item entry is per-item work, and so is the wildcard lookup that
|
|
1246
|
+
* fills the caller's gaps (see [`MAX_UNLOCK_ITEMS`]). The dispatch pre-charges the
|
|
1238
1247
|
* worst case `unlock(MAX_UNLOCK_ITEMS)` so the validator can admit the
|
|
1239
1248
|
* extrinsic, then refunds the difference via `PostDispatchInfo`. Calls
|
|
1240
1249
|
* against collections exceeding [`MAX_UNLOCK_ITEMS`] are rejected with
|
|
@@ -1535,7 +1544,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1535
1544
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1536
1545
|
};
|
|
1537
1546
|
techCommitteeManager: {
|
|
1547
|
+
/**
|
|
1548
|
+
* Remove `who` from the candidates and, if it holds a seat, from the committee now
|
|
1549
|
+
* rather than at the next session, since the committee acts within a session. `who`
|
|
1550
|
+
* is banned from registering again until `unban_candidate`.
|
|
1551
|
+
*
|
|
1552
|
+
* The eviction may leave the committee below `MinMembers`, as blacklist eviction
|
|
1553
|
+
* does; it recovers once enough eligible candidates are registered.
|
|
1554
|
+
**/
|
|
1555
|
+
forceUnregisterCandidate: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
|
|
1538
1556
|
registerTechCommitteeCandidate: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1557
|
+
/**
|
|
1558
|
+
* Lift the ban `force_unregister_candidate` placed on `who`. It is not re-registered;
|
|
1559
|
+
* it may register itself again if it clears the floor.
|
|
1560
|
+
**/
|
|
1561
|
+
unbanCandidate: AugmentedSubmittable<(who: AccountId20 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId20]>;
|
|
1539
1562
|
unregisterTechCommitteeCandidate: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1540
1563
|
/**
|
|
1541
1564
|
* Generic tx
|