// Auto-generated via `yarn polkadot-types-from-chain`, do not edit /* eslint-disable */ // import type lookup before we augment - in some environments // this is required to allow for ambient/previous definitions import '@polkadot/api-base/types/storage'; import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime'; import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, JoystreamNodeRuntimeSessionKeys, PalletArgoBridgeBridgeStatus, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountyBountyActor, PalletBountyBountyRecord, PalletBountyContribution, PalletBountyEntryRecord, PalletConstitutionConstitutionInfo, PalletContentChannelRecord, PalletContentLimitPerPeriod, PalletContentNftCounter, PalletContentNftTypesOpenAuctionBidRecord, PalletContentPermissionsCuratorGroupCuratorGroupRecord, PalletContentVideoRecord, PalletCouncilCandidate, PalletCouncilCouncilMember, PalletCouncilCouncilStageUpdate, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletForumCategory, PalletForumPost, PalletForumThread, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletMembershipMembershipObject, PalletMembershipStakingAccountMemberBinding, PalletMultisigMultisig, PalletProjectTokenAccountData, PalletProjectTokenTokenData, PalletProposalsDiscussionDiscussionPost, PalletProposalsDiscussionDiscussionThread, PalletProposalsEngineProposal, PalletProposalsEngineVoteKind, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendumCastVote, PalletReferendumReferendumStage, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStorageBagIdType, PalletStorageBagRecord, PalletStorageDataObject, PalletStorageDistributionBucketFamilyRecord, PalletStorageDistributionBucketRecord, PalletStorageDynamicBagCreationPolicy, PalletStorageDynamicBagType, PalletStorageStorageBucketRecord, PalletTransactionPaymentReleases, PalletVestingReleases, PalletVestingVestingInfo, PalletWorkingGroupGroupWorker, PalletWorkingGroupJobApplication, PalletWorkingGroupOpening, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; export type __QueryableStorageEntry = QueryableStorageEntry; declare module '@polkadot/api-base/types/storage' { interface AugmentedQueries { appWorkingGroup: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; argoBridge: { /** * Amount of JOY burned as a fee for each transfer **/ bridgingFee: AugmentedQuery Observable, []>; /** * Number of tokens that the bridge pallet is able to mint **/ mintAllowance: AugmentedQuery Observable, []>; nextTransferId: AugmentedQuery Observable, []>; /** * Account ID that operates the bridge **/ operatorAccount: AugmentedQuery Observable>, []>; /** * List of account IDs with permission to pause the bridge operations **/ pauserAccounts: AugmentedQuery Observable>, []>; remoteChains: AugmentedQuery Observable>, []>; status: AugmentedQuery Observable, []>; /** * Number of blocks needed before bridge unpause can be finalised **/ thawnDuration: AugmentedQuery Observable, []>; }; authorityDiscovery: { /** * Keys of the current authority set. **/ keys: AugmentedQuery Observable>, []>; /** * Keys of the next authority set. **/ nextKeys: AugmentedQuery Observable>, []>; }; authorship: { /** * Author of current block. **/ author: AugmentedQuery Observable>, []>; }; babe: { /** * Current epoch authorities. **/ authorities: AugmentedQuery Observable>>, []>; /** * This field should always be populated during block processing unless * secondary plain slots are enabled (which don't contain a VRF output). * * It is set in `on_finalize`, before it will contain the value from the last block. **/ authorVrfRandomness: AugmentedQuery Observable>, []>; /** * Current slot number. **/ currentSlot: AugmentedQuery Observable, []>; /** * The configuration for the current epoch. Should never be `None` as it is initialized in * genesis. **/ epochConfig: AugmentedQuery Observable>, []>; /** * Current epoch index. **/ epochIndex: AugmentedQuery Observable, []>; /** * The block numbers when the last and current epoch have started, respectively `N-1` and * `N`. * NOTE: We track this is in order to annotate the block number when a given pool of * entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in * slots, which may be skipped, the block numbers may not line up with the slot numbers. **/ epochStart: AugmentedQuery Observable>, []>; /** * The slot at which the first epoch actually started. This is 0 * until the first block of the chain. **/ genesisSlot: AugmentedQuery Observable, []>; /** * Temporary value (cleared at block finalization) which is `Some` * if per-block initialization has already been called for current block. **/ initialized: AugmentedQuery Observable>>, []>; /** * How late the current block is compared to its parent. * * This entry is populated as part of block execution and is cleaned up * on block finalization. Querying this storage entry outside of block * execution context should always yield zero. **/ lateness: AugmentedQuery Observable, []>; /** * Next epoch authorities. **/ nextAuthorities: AugmentedQuery Observable>>, []>; /** * The configuration for the next epoch, `None` if the config will not change * (you can fallback to `EpochConfig` instead in that case). **/ nextEpochConfig: AugmentedQuery Observable>, []>; /** * Next epoch randomness. **/ nextRandomness: AugmentedQuery Observable, []>; /** * Pending epoch configuration change that will be applied when the next epoch is enacted. **/ pendingEpochConfigChange: AugmentedQuery Observable>, []>; /** * The epoch randomness for the *current* epoch. * * # Security * * This MUST NOT be used for gambling, as it can be influenced by a * malicious validator in the short term. It MAY be used in many * cryptographic protocols, however, so long as one remembers that this * (like everything else on-chain) it is public. For example, it can be * used where a number is needed that cannot have been chosen by an * adversary, for purposes such as public-coin zero-knowledge proofs. **/ randomness: AugmentedQuery Observable, []>; /** * Randomness under construction. * * We make a trade-off between storage accesses and list length. * We store the under-construction randomness in segments of up to * `UNDER_CONSTRUCTION_SEGMENT_LENGTH`. * * Once a segment reaches this length, we begin the next one. * We reset all segments and return to `0` at the beginning of every * epoch. **/ segmentIndex: AugmentedQuery Observable, []>; /** * A list of the last 100 skipped epochs and the corresponding session index * when the epoch was skipped. * * This is only used for validating equivocation proofs. An equivocation proof * must contains a key-ownership proof for a given session, therefore we need a * way to tie together sessions and epoch indices, i.e. we need to validate that * a validator was the owner of a given key on a given session, and what the * active epoch index was during that session. **/ skippedEpochs: AugmentedQuery Observable>>, []>; /** * TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay. **/ underConstruction: AugmentedQuery Observable>, [u32]>; }; balances: { /** * The Balances pallet example of storing the balance of an account. * * # Example * * ```nocompile * impl pallet_balances::Config for Runtime { * type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> * } * ``` * * You can also store the balance of an account in the `System` pallet. * * # Example * * ```nocompile * impl pallet_balances::Config for Runtime { * type AccountStore = System * } * ``` * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the * `Balances` pallet, which uses a `StorageMap` to store balances data only. * NOTE: This is only used in the case that this pallet is used to store balances. **/ account: AugmentedQuery Observable, [AccountId32]>; /** * The total units of outstanding deactivated balance in the system. **/ inactiveIssuance: AugmentedQuery Observable, []>; /** * Any liquidity locks on some account balances. * NOTE: Should only be accessed when setting, changing and freeing a lock. **/ locks: AugmentedQuery Observable>, [AccountId32]>; /** * Named reserves on some account balances. **/ reserves: AugmentedQuery Observable>, [AccountId32]>; /** * The total units issued in the system. **/ totalIssuance: AugmentedQuery Observable, []>; }; bounty: { /** * Bounty storage. **/ bounties: AugmentedQuery Observable, [u64]>; /** * Double map for bounty funding. It stores a member or council funding for bounties. **/ bountyContributions: AugmentedQuery Observable, [u64, PalletBountyBountyActor]>; /** * Count of all bounties that have been created. **/ bountyCount: AugmentedQuery Observable, []>; /** * Work entry storage map. **/ entries: AugmentedQuery Observable>, [u64, u64]>; /** * Count of all work entries that have been created. **/ entryCount: AugmentedQuery Observable, []>; }; constitution: { constitution: AugmentedQuery Observable, []>; }; content: { /** * Max delta between current block and starts at **/ auctionStartsAtMaxDelta: AugmentedQuery Observable, []>; channelById: AugmentedQuery Observable, [u64]>; channelCashoutsEnabled: AugmentedQuery Observable, []>; /** * The state bloat bond for the channel (helps preventing the state bloat). **/ channelStateBloatBondValue: AugmentedQuery Observable, []>; commitment: AugmentedQuery Observable, []>; curatorGroupById: AugmentedQuery Observable, [u64]>; /** * Global daily NFT counter. **/ globalDailyNftCounter: AugmentedQuery Observable, []>; /** * Global daily NFT limit. **/ globalDailyNftLimit: AugmentedQuery Observable, []>; /** * Global weekly NFT counter. **/ globalWeeklyNftCounter: AugmentedQuery Observable, []>; /** * Global weekly NFT limit. **/ globalWeeklyNftLimit: AugmentedQuery Observable, []>; /** * Max auction duration **/ maxAuctionDuration: AugmentedQuery Observable, []>; /** * Max auction extension period **/ maxAuctionExtensionPeriod: AugmentedQuery Observable, []>; /** * Max bid lock duration **/ maxBidLockDuration: AugmentedQuery Observable, []>; /** * Max auction bid step **/ maxBidStep: AugmentedQuery Observable, []>; maxCashoutAllowed: AugmentedQuery Observable, []>; /** * Max creator royalty percentage **/ maxCreatorRoyalty: AugmentedQuery Observable, []>; /** * Max auction staring price **/ maxStartingPrice: AugmentedQuery Observable, []>; /** * Min auction duration **/ minAuctionDuration: AugmentedQuery Observable, []>; /** * Min auction extension period **/ minAuctionExtensionPeriod: AugmentedQuery Observable, []>; /** * Min bid lock duration **/ minBidLockDuration: AugmentedQuery Observable, []>; /** * Min auction bid step **/ minBidStep: AugmentedQuery Observable, []>; minCashoutAllowed: AugmentedQuery Observable, []>; /** * Min creator royalty percentage **/ minCreatorRoyalty: AugmentedQuery Observable, []>; /** * Min auction staring price **/ minStartingPrice: AugmentedQuery Observable, []>; nextChannelId: AugmentedQuery Observable, []>; nextCuratorGroupId: AugmentedQuery Observable, []>; nextTransferId: AugmentedQuery Observable, []>; nextVideoId: AugmentedQuery Observable, []>; /** * NFT limits enabled or not * Can be updated in flight by the Council **/ nftLimitsEnabled: AugmentedQuery Observable, []>; /** * Bids for open auctions **/ openAuctionBidByVideoAndMember: AugmentedQuery Observable, [u64, u64]>; /** * Platform fee percentage **/ platfromFeePercentage: AugmentedQuery Observable, []>; videoById: AugmentedQuery Observable, [u64]>; /** * The state bloat bond for the video (helps preventing the state bloat). **/ videoStateBloatBondValue: AugmentedQuery Observable, []>; }; contentWorkingGroup: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; council: { /** * Index of the current candidacy period. It is incremented everytime announcement period * starts. **/ announcementPeriodNr: AugmentedQuery Observable, []>; /** * Budget for the council's elected members rewards. **/ budget: AugmentedQuery Observable, []>; /** * Amount of balance to be refilled every budget period **/ budgetIncrement: AugmentedQuery Observable, []>; /** * Map of all candidates that ever candidated and haven't unstake yet. **/ candidates: AugmentedQuery Observable>, [u64]>; /** * Current council members **/ councilMembers: AugmentedQuery Observable>, []>; /** * Councilor reward per block **/ councilorReward: AugmentedQuery Observable, []>; /** * Era payou damping factor: a parameter in [0,1] that can be used to reduce the era * payout without changing the reward curve directly **/ eraPayoutDampingFactor: AugmentedQuery Observable, []>; /** * The next block in which the budget will be increased. **/ nextBudgetRefill: AugmentedQuery Observable, []>; /** * The next block in which the elected council member rewards will be payed. **/ nextRewardPayments: AugmentedQuery Observable, []>; /** * Current council voting stage **/ stage: AugmentedQuery Observable, []>; }; distributionWorkingGroup: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; electionProviderMultiPhase: { /** * Current phase. **/ currentPhase: AugmentedQuery Observable, []>; /** * Desired number of targets to elect for this round. * * Only exists when [`Snapshot`] is present. **/ desiredTargets: AugmentedQuery Observable>, []>; /** * The minimum score that each 'untrusted' solution must attain in order to be considered * feasible. * * Can be set via `set_minimum_untrusted_score`. **/ minimumUntrustedScore: AugmentedQuery Observable>, []>; /** * Current best solution, signed or unsigned, queued to be returned upon `elect`. **/ queuedSolution: AugmentedQuery Observable>, []>; /** * Internal counter for the number of rounds. * * This is useful for de-duplication of transactions submitted to the pool, and general * diagnostics of the pallet. * * This is merely incremented once per every time that an upstream `elect` is called. **/ round: AugmentedQuery Observable, []>; /** * A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a * value in `SignedSubmissions`. * * We never need to process more than a single signed submission at a time. Signed submissions * can be quite large, so we're willing to pay the cost of multiple database accesses to access * them one at a time instead of reading and decoding all of them at once. **/ signedSubmissionIndices: AugmentedQuery Observable>>, []>; /** * The next index to be assigned to an incoming signed submission. * * Every accepted submission is assigned a unique index; that index is bound to that particular * submission for the duration of the election. On election finalization, the next index is * reset to 0. * * We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its * capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`, * because iteration is slow. Instead, we store the value here. **/ signedSubmissionNextIndex: AugmentedQuery Observable, []>; /** * Unchecked, signed solutions. * * Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while * allowing us to keep only a single one in memory at a time. * * Twox note: the key of the map is an auto-incrementing index which users cannot inspect or * affect; we shouldn't need a cryptographically secure hasher. **/ signedSubmissionsMap: AugmentedQuery Observable>, [u32]>; /** * Snapshot data of the round. * * This is created at the beginning of the signed phase and cleared upon calling `elect`. **/ snapshot: AugmentedQuery Observable>, []>; /** * The metadata of the [`RoundSnapshot`] * * Only exists when [`Snapshot`] is present. **/ snapshotMetadata: AugmentedQuery Observable>, []>; }; forum: { /** * Map category identifier to corresponding category. **/ categoryById: AugmentedQuery Observable, [u64]>; /** * Moderator set for each Category **/ categoryByModerator: AugmentedQuery Observable, [u64, u64]>; /** * Counter for all existing categories. **/ categoryCounter: AugmentedQuery Observable, []>; /** * Category identifier value to be used for the next Category created. **/ nextCategoryId: AugmentedQuery Observable, []>; /** * Post identifier value to be used for for next post created. **/ nextPostId: AugmentedQuery Observable, []>; /** * Thread identifier value to be used for next Thread in threadById. **/ nextThreadId: AugmentedQuery Observable, []>; /** * Map post identifier to corresponding post. **/ postById: AugmentedQuery Observable, [u64, u64]>; /** * Map thread identifier to corresponding thread. **/ threadById: AugmentedQuery Observable, [u64, u64]>; }; forumWorkingGroup: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; grandpa: { /** * The number of changes (both in terms of keys and underlying economic responsibilities) * in the "set" of Grandpa validators from genesis. **/ currentSetId: AugmentedQuery Observable, []>; /** * next block number where we can force a change. **/ nextForced: AugmentedQuery Observable>, []>; /** * Pending change: (signaled at, scheduled change). **/ pendingChange: AugmentedQuery Observable>, []>; /** * A mapping from grandpa set ID to the index of the *most recent* session for which its * members were responsible. * * This is only used for validating equivocation proofs. An equivocation proof must * contains a key-ownership proof for a given session, therefore we need a way to tie * together sessions and GRANDPA set ids, i.e. we need to validate that a validator * was the owner of a given key on a given session, and what the active set ID was * during that session. * * TWOX-NOTE: `SetId` is not under user control. **/ setIdSession: AugmentedQuery Observable>, [u64]>; /** * `true` if we are currently stalled. **/ stalled: AugmentedQuery Observable>>, []>; /** * State of the current authority set. **/ state: AugmentedQuery Observable, []>; }; historical: { /** * Mapping from historical session indices to session-data root hash and validator count. **/ historicalSessions: AugmentedQuery Observable>>, [u32]>; /** * The range of historical sessions we store. [first, last) **/ storedRange: AugmentedQuery Observable>>, []>; }; imOnline: { /** * For each session index, we keep a mapping of `ValidatorId` to the * number of blocks authored by the given authority. **/ authoredBlocks: AugmentedQuery Observable, [u32, AccountId32]>; /** * The block number after which it's ok to send heartbeats in the current * session. * * At the beginning of each session we set this to a value that should fall * roughly in the middle of the session duration. The idea is to first wait for * the validators to produce a block in the current session, so that the * heartbeat later on will not be necessary. * * This value will only be used as a fallback if we fail to get a proper session * progress estimate from `NextSessionRotation`, as those estimates should be * more accurate then the value we calculate for `HeartbeatAfter`. **/ heartbeatAfter: AugmentedQuery Observable, []>; /** * The current set of keys that may issue a heartbeat. **/ keys: AugmentedQuery Observable>, []>; /** * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to * `WrapperOpaque`. **/ receivedHeartbeats: AugmentedQuery Observable>>, [u32, u32]>; }; joystreamUtility: { }; members: { /** * Initial invitation balance for the invited member. **/ initialInvitationBalance: AugmentedQuery Observable, []>; /** * Initial invitation count for the newly bought membership. **/ initialInvitationCount: AugmentedQuery Observable, []>; /** * Registered unique handles hash and their mapping to their owner. **/ memberIdByHandleHash: AugmentedQuery Observable, [H256]>; /** * Mapping of member's id to their membership profile. **/ membershipById: AugmentedQuery Observable>, [u64]>; /** * Current membership price. **/ membershipPrice: AugmentedQuery Observable, []>; /** * MemberId to assign to next member that is added to the registry, and is also the * total number of members created. MemberIds start at Zero. **/ nextMemberId: AugmentedQuery Observable, []>; /** * Referral cut percent of the membership fee to receive on buying the membership. **/ referralCut: AugmentedQuery Observable, []>; /** * Double of a staking account id and member id to the confirmation status. **/ stakingAccountIdMemberStatus: AugmentedQuery Observable, [AccountId32]>; }; membershipWorkingGroup: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; multisig: { /** * The set of open multisig operations. **/ multisigs: AugmentedQuery Observable>, [AccountId32, U8aFixed]>; }; offences: { /** * A vector of reports of the same kind that happened at the same time slot. **/ concurrentReportsIndex: AugmentedQuery Observable>, [U8aFixed, Bytes]>; /** * The primary structure that holds all offence records keyed by report identifiers. **/ reports: AugmentedQuery Observable>, [H256]>; /** * Enumerates all reports of a kind along with the time they happened. * * All reports are sorted by the time of offence. * * Note that the actual type of this mapping is `Vec`, this is because values of * different types are not supported at the moment so we are doing the manual serialization. **/ reportsByKindIndex: AugmentedQuery Observable, [U8aFixed]>; }; operationsWorkingGroupAlpha: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; operationsWorkingGroupBeta: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; operationsWorkingGroupGamma: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; projectToken: { /** * Double map TokenId x MemberId => AccountData for managing account data **/ accountInfoByTokenAndMember: AugmentedQuery Observable, [u64, u64]>; /** * AMM buy transaction fee percentage **/ ammBuyTxFees: AugmentedQuery Observable, []>; /** * Percentage threshold for deactivating the amm functionality **/ ammDeactivationThreshold: AugmentedQuery Observable, []>; /** * AMM sell transaction fee percentage **/ ammSellTxFees: AugmentedQuery Observable, []>; /** * Bloat Bond value used during account creation **/ bloatBond: AugmentedQuery Observable, []>; /** * Max patronage rate allowed **/ maxYearlyPatronageRate: AugmentedQuery Observable, []>; /** * Minimum slope parameters allowed for AMM curve **/ minAmmSlopeParameter: AugmentedQuery Observable, []>; /** * Minimum revenue split duration constraint **/ minRevenueSplitDuration: AugmentedQuery Observable, []>; /** * Minimum revenue split time to start constraint **/ minRevenueSplitTimeToStart: AugmentedQuery Observable, []>; /** * Minimum duration of a token sale **/ minSaleDuration: AugmentedQuery Observable, []>; /** * Token Id nonce **/ nextTokenId: AugmentedQuery Observable, []>; /** * Current frozen state. **/ palletFrozen: AugmentedQuery Observable, []>; /** * Platform fee (percentage) charged on top of each sale purchase (in JOY) and burned **/ salePlatformFee: AugmentedQuery Observable, []>; /** * map TokenId => TokenData to retrieve token information **/ tokenInfoById: AugmentedQuery Observable, [u64]>; }; proposalsCodex: { /** * Map proposal id to its discussion thread id **/ threadIdByProposalId: AugmentedQuery Observable, [u32]>; }; proposalsDiscussion: { /** * Count of all posts that have been created. **/ postCount: AugmentedQuery Observable, []>; /** * Map thread id and post id to corresponding post. **/ postThreadIdByPostId: AugmentedQuery Observable, [u64, u64]>; /** * Map thread identifier to corresponding thread. **/ threadById: AugmentedQuery Observable, [u64]>; /** * Count of all threads that have been created. **/ threadCount: AugmentedQuery Observable, []>; }; proposalsEngine: { /** * Count of active proposals. **/ activeProposalCount: AugmentedQuery Observable, []>; /** * Map proposal executable code by proposal id. **/ dispatchableCallCode: AugmentedQuery Observable, [u32]>; /** * Count of all proposals that have been created. **/ proposalCount: AugmentedQuery Observable, []>; /** * Map proposal by its id. **/ proposals: AugmentedQuery Observable, [u32]>; /** * Double map for preventing duplicate votes. Should be cleaned after usage. **/ voteExistsByProposalByVoter: AugmentedQuery Observable, [u32, u64]>; }; proxy: { /** * The announcements made by the proxy (key). **/ announcements: AugmentedQuery Observable, u128]>>, [AccountId32]>; /** * The set of account proxies. Maps the account which has delegated to the accounts * which are being delegated to, together with the amount held on deposit. **/ proxies: AugmentedQuery Observable, u128]>>, [AccountId32]>; }; randomnessCollectiveFlip: { /** * Series of block headers from the last 81 blocks that acts as random seed material. This * is arranged as a ring buffer with `block_number % 81` being the index into the `Vec` of * the oldest hash. **/ randomMaterial: AugmentedQuery Observable>, []>; }; referendum: { /** * Accounts that permanently opted out of voting in referendum. **/ accountsOptedOut: AugmentedQuery Observable, [AccountId32]>; /** * Current referendum stage. **/ stage: AugmentedQuery Observable, []>; /** * Votes cast in the referendum. A new record is added to this map when a user casts a * sealed vote. * It is modified when a user reveals the vote's commitment proof. * A record is finally removed when the user unstakes, which can happen during a voting * stage or after the current cycle ends. * A stake for a vote can be reused in future referendum cycles. **/ votes: AugmentedQuery Observable, [AccountId32]>; }; session: { /** * Current index of the session. **/ currentIndex: AugmentedQuery Observable, []>; /** * Indices of disabled validators. * * The vec is always kept sorted so that we can find whether a given validator is * disabled using binary search. It gets cleared when `on_session_ending` returns * a new set of identities. **/ disabledValidators: AugmentedQuery Observable>, []>; /** * The owner of a key. The key is the `KeyTypeId` + the encoded key. **/ keyOwner: AugmentedQuery | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]>; /** * The next session keys for a validator. **/ nextKeys: AugmentedQuery Observable>, [AccountId32]>; /** * True if the underlying economic identities or weighting behind the validators * has changed in the queued validator set. **/ queuedChanged: AugmentedQuery Observable, []>; /** * The queued keys for the next session. When the next session begins, these keys * will be used to determine the validator's session keys. **/ queuedKeys: AugmentedQuery Observable>>, []>; /** * The current set of validators. **/ validators: AugmentedQuery Observable>, []>; }; staking: { /** * The active era information, it holds index and start. * * The active era is the era being currently rewarded. Validator set of this era must be * equal to [`SessionInterface::validators`]. **/ activeEra: AugmentedQuery Observable>, []>; /** * Map from all locked "stash" accounts to the controller account. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ bonded: AugmentedQuery Observable>, [AccountId32]>; /** * A mapping from still-bonded eras to the first session index of that era. * * Must contains information for eras for the range: * `[active_era - bounding_duration; active_era]` **/ bondedEras: AugmentedQuery Observable>>, []>; /** * The amount of currency given to reporters of a slash event which was * canceled by extraordinary circumstances (e.g. governance). **/ canceledSlashPayout: AugmentedQuery Observable, []>; /** * The threshold for when users can start calling `chill_other` for other validators / * nominators. The threshold is compared to the actual number of validators / nominators * (`CountFor*`) in the system compared to the configured max (`Max*Count`). **/ chillThreshold: AugmentedQuery Observable>, []>; /** * Counter for the related counted storage map **/ counterForNominators: AugmentedQuery Observable, []>; /** * Counter for the related counted storage map **/ counterForValidators: AugmentedQuery Observable, []>; /** * The current era index. * * This is the latest planned era, depending on how the Session pallet queues the validator * set, it might be active or not. **/ currentEra: AugmentedQuery Observable>, []>; /** * The last planned session scheduled by the session pallet. * * This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]. **/ currentPlannedSession: AugmentedQuery Observable, []>; /** * Rewards for the last `HISTORY_DEPTH` eras. * If reward hasn't been set or has been removed then 0 reward is returned. **/ erasRewardPoints: AugmentedQuery Observable, [u32]>; /** * Exposure of validator at era. * * This is keyed first by the era index to allow bulk deletion and then the stash account. * * Is it removed after `HISTORY_DEPTH` eras. * If stakers hasn't been set or has been removed then empty exposure is returned. **/ erasStakers: AugmentedQuery Observable, [u32, AccountId32]>; /** * Clipped Exposure of validator at era. * * This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the * `T::MaxNominatorRewardedPerValidator` biggest stakers. * (Note: the field `total` and `own` of the exposure remains unchanged). * This is used to limit the i/o cost for the nominator payout. * * This is keyed fist by the era index to allow bulk deletion and then the stash account. * * Is it removed after `HISTORY_DEPTH` eras. * If stakers hasn't been set or has been removed then empty exposure is returned. **/ erasStakersClipped: AugmentedQuery Observable, [u32, AccountId32]>; /** * The session index at which the era start for the last `HISTORY_DEPTH` eras. * * Note: This tracks the starting session (i.e. session index when era start being active) * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`. **/ erasStartSessionIndex: AugmentedQuery Observable>, [u32]>; /** * The total amount staked for the last `HISTORY_DEPTH` eras. * If total hasn't been set or has been removed then 0 stake is returned. **/ erasTotalStake: AugmentedQuery Observable, [u32]>; /** * Similar to `ErasStakers`, this holds the preferences of validators. * * This is keyed first by the era index to allow bulk deletion and then the stash account. * * Is it removed after `HISTORY_DEPTH` eras. **/ erasValidatorPrefs: AugmentedQuery Observable, [u32, AccountId32]>; /** * The total validator era payout for the last `HISTORY_DEPTH` eras. * * Eras that haven't finished yet or has been removed doesn't have reward. **/ erasValidatorReward: AugmentedQuery Observable>, [u32]>; /** * Mode of era forcing. **/ forceEra: AugmentedQuery Observable, []>; /** * Any validators that may never be slashed or forcibly kicked. It's a Vec since they're * easy to initialize and the performance hit is minimal (we expect no more than four * invulnerables) and restricted to testnets. **/ invulnerables: AugmentedQuery Observable>, []>; /** * Map from all (unlocked) "controller" accounts to the info regarding the staking. **/ ledger: AugmentedQuery Observable>, [AccountId32]>; /** * The maximum nominator count before we stop allowing new validators to join. * * When this value is not set, no limits are enforced. **/ maxNominatorsCount: AugmentedQuery Observable>, []>; /** * The maximum validator count before we stop allowing new validators to join. * * When this value is not set, no limits are enforced. **/ maxValidatorsCount: AugmentedQuery Observable>, []>; /** * The minimum amount of commission that validators can set. * * If set to `0`, no limit exists. **/ minCommission: AugmentedQuery Observable, []>; /** * The minimum active nominator stake of the last successful election. **/ minimumActiveStake: AugmentedQuery Observable, []>; /** * Minimum number of staking participants before emergency conditions are imposed. **/ minimumValidatorCount: AugmentedQuery Observable, []>; /** * The minimum active bond to become and maintain the role of a nominator. **/ minNominatorBond: AugmentedQuery Observable, []>; /** * The minimum active bond to become and maintain the role of a validator. **/ minValidatorBond: AugmentedQuery Observable, []>; /** * The map from nominator stash key to their nomination preferences, namely the validators that * they wish to support. * * Note that the keys of this storage map might become non-decodable in case the * [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators * are still existent in storage, their key is correct and retrievable (i.e. `contains_key` * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable * nominators will effectively not-exist, until they re-submit their preferences such that it * is within the bounds of the newly set `Config::MaxNominations`. * * This implies that `::iter_keys().count()` and `::iter().count()` might return different * values for this map. Moreover, the main `::count()` is aligned with the former, namely the * number of keys that exist. * * Lastly, if any of the nominators become non-decodable, they can be chilled immediately via * [`Call::chill_other`] dispatchable by anyone. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ nominators: AugmentedQuery Observable>, [AccountId32]>; /** * All slashing events on nominators, mapped by era to the highest slash value of the era. **/ nominatorSlashInEra: AugmentedQuery Observable>, [u32, AccountId32]>; /** * Indices of validators that have offended in the active era and whether they are currently * disabled. * * This value should be a superset of disabled validators since not all offences lead to the * validator being disabled (if there was no slash). This is needed to track the percentage of * validators that have offended in the current era, ensuring a new era is forced if * `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find * whether a given validator has previously offended using binary search. It gets cleared when * the era ends. **/ offendingValidators: AugmentedQuery Observable>>, []>; /** * Where the reward payment should be made. Keyed by stash. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ payee: AugmentedQuery Observable, [AccountId32]>; /** * Slashing spans for stash accounts. **/ slashingSpans: AugmentedQuery Observable>, [AccountId32]>; /** * The percentage of the slash that is distributed to reporters. * * The rest of the slashed value is handled by the `Slash`. **/ slashRewardFraction: AugmentedQuery Observable, []>; /** * Records information about the maximum slash of a stash within a slashing span, * as well as how much reward has been paid out. **/ spanSlash: AugmentedQuery | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable, [ITuple<[AccountId32, u32]>]>; /** * All unapplied slashes that are queued for later. **/ unappliedSlashes: AugmentedQuery Observable>, [u32]>; /** * The ideal number of active validators. **/ validatorCount: AugmentedQuery Observable, []>; /** * The map from (wannabe) validator stash key to the preferences of that validator. * * TWOX-NOTE: SAFE since `AccountId` is a secure hash. **/ validators: AugmentedQuery Observable, [AccountId32]>; /** * All slashing events on validators, mapped by era to the highest slash proportion * and slash value of the era. **/ validatorSlashInEra: AugmentedQuery Observable>>, [u32, AccountId32]>; }; storage: { /** * Bags storage map. **/ bags: AugmentedQuery Observable, [PalletStorageBagIdType]>; /** * Blacklisted data object hashes. **/ blacklist: AugmentedQuery Observable, [Bytes]>; /** * Blacklist collection counter. **/ currentBlacklistSize: AugmentedQuery Observable, []>; /** * Size based pricing of new objects uploaded. **/ dataObjectPerMegabyteFee: AugmentedQuery Observable, []>; /** * 'Data objects for bags' storage double map. **/ dataObjectsById: AugmentedQuery Observable, [PalletStorageBagIdType, u64]>; /** * The state bloat bond for the data objects (helps preventing the state bloat). **/ dataObjectStateBloatBondValue: AugmentedQuery Observable, []>; /** * 'Distribution bucket' storage double map. **/ distributionBucketByFamilyIdById: AugmentedQuery Observable, [u64, u64]>; /** * Distribution bucket families. **/ distributionBucketFamilyById: AugmentedQuery Observable, [u64]>; /** * Total number of distribution bucket families in the system. **/ distributionBucketFamilyNumber: AugmentedQuery Observable, []>; /** * "Distribution buckets per bag" number limit. **/ distributionBucketsPerBagLimit: AugmentedQuery Observable, []>; /** * DynamicBagCreationPolicy by bag type storage map. **/ dynamicBagCreationPolicies: AugmentedQuery Observable, [PalletStorageDynamicBagType]>; /** * Data object id counter. Starts at zero. **/ nextDataObjectId: AugmentedQuery Observable, []>; /** * Distribution bucket family id counter. Starts at zero. **/ nextDistributionBucketFamilyId: AugmentedQuery Observable, []>; /** * Storage bucket id counter. Starts at zero. **/ nextStorageBucketId: AugmentedQuery Observable, []>; /** * Storage buckets. **/ storageBucketById: AugmentedQuery Observable>, [u64]>; /** * "Storage buckets per bag" number limit. **/ storageBucketsPerBagLimit: AugmentedQuery Observable, []>; /** * Defines whether all new uploads blocked **/ uploadingBlocked: AugmentedQuery Observable, []>; /** * "Max objects number for a storage bucket voucher" number limit. **/ voucherMaxObjectsNumberLimit: AugmentedQuery Observable, []>; /** * "Max objects size for a storage bucket voucher" number limit. **/ voucherMaxObjectsSizeLimit: AugmentedQuery Observable, []>; }; storageWorkingGroup: { /** * Count of active workers. **/ activeWorkerCount: AugmentedQuery Observable, []>; /** * Maps identifier to worker application on opening. **/ applicationById: AugmentedQuery Observable>, [u64]>; /** * Budget for the working group. **/ budget: AugmentedQuery Observable, []>; /** * Current group lead. **/ currentLead: AugmentedQuery Observable>, []>; /** * Next identifier value for new worker application. **/ nextApplicationId: AugmentedQuery Observable, []>; /** * Next identifier value for new job opening. **/ nextOpeningId: AugmentedQuery Observable, []>; /** * Next identifier for a new worker. **/ nextWorkerId: AugmentedQuery Observable, []>; /** * Maps identifier to job opening. **/ openingById: AugmentedQuery Observable, [u64]>; /** * Status text hash. **/ statusTextHash: AugmentedQuery Observable, []>; /** * Maps identifier to corresponding worker. **/ workerById: AugmentedQuery Observable>, [u64]>; }; system: { /** * The full account information for a particular account ID. **/ account: AugmentedQuery Observable, [AccountId32]>; /** * Total length (in bytes) for all extrinsics put together, for the current block. **/ allExtrinsicsLen: AugmentedQuery Observable>, []>; /** * Map of block numbers to block hashes. **/ blockHash: AugmentedQuery Observable, [u32]>; /** * The current weight for the block. **/ blockWeight: AugmentedQuery Observable, []>; /** * Digest of the current block, also part of the block header. **/ digest: AugmentedQuery Observable, []>; /** * The number of events in the `Events` list. **/ eventCount: AugmentedQuery Observable, []>; /** * Events deposited for the current block. * * NOTE: The item is unbound and should therefore never be read on chain. * It could otherwise inflate the PoV size of a block. * * Events have a large in-memory size. Box the events to not go out-of-memory * just in case someone still reads them from within the runtime. **/ events: AugmentedQuery Observable>, []>; /** * Mapping between a topic (represented by T::Hash) and a vector of indexes * of events in the `>` list. * * All topic vectors have deterministic storage locations depending on the topic. This * allows light-clients to leverage the changes trie storage tracking mechanism and * in case of changes fetch the list of events of interest. * * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just * the `EventIndex` then in case if the topic has the same contents on the next block * no notification will be triggered thus the event might be lost. **/ eventTopics: AugmentedQuery Observable>>, [H256]>; /** * The execution phase of the block. **/ executionPhase: AugmentedQuery Observable>, []>; /** * Total extrinsics count for the current block. **/ extrinsicCount: AugmentedQuery Observable>, []>; /** * Extrinsics data for the current block (maps an extrinsic's index to its data). **/ extrinsicData: AugmentedQuery Observable, [u32]>; /** * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. **/ lastRuntimeUpgrade: AugmentedQuery Observable>, []>; /** * The current block number being processed. Set by `execute_block`. **/ number: AugmentedQuery Observable, []>; /** * Hash of the previous block. **/ parentHash: AugmentedQuery Observable, []>; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. **/ upgradedToTripleRefCount: AugmentedQuery Observable, []>; /** * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. **/ upgradedToU32RefCount: AugmentedQuery Observable, []>; }; timestamp: { /** * Did the timestamp get updated in this block? **/ didUpdate: AugmentedQuery Observable, []>; /** * Current time for the current block. **/ now: AugmentedQuery Observable, []>; }; transactionPayment: { nextFeeMultiplier: AugmentedQuery Observable, []>; storageVersion: AugmentedQuery Observable, []>; }; vesting: { /** * Storage version of the pallet. * * New networks start with latest version, as determined by the genesis build. **/ storageVersion: AugmentedQuery Observable, []>; /** * Information regarding the vesting of a given account. **/ vesting: AugmentedQuery Observable>>, [AccountId32]>; }; voterList: { /** * Counter for the related counted storage map **/ counterForListNodes: AugmentedQuery Observable, []>; /** * A bag stored in storage. * * Stores a `Bag` struct, which stores head and tail pointers to itself. **/ listBags: AugmentedQuery Observable>, [u64]>; /** * A single node, within some bag. * * Nodes store links forward and back within their respective bags. **/ listNodes: AugmentedQuery Observable>, [AccountId32]>; }; } // AugmentedQueries } // declare module