// Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ import type { BTreeMap, BTreeSet, Bytes, Enum, GenericAccountId, Option, Struct, Text, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types'; import type { ITuple } from '@polkadot/types/types'; import type { AccountId, Balance, Hash } from '@polkadot/types/interfaces/runtime'; import type { ValidatorPrefsWithCommission } from '@polkadot/types/interfaces/staking'; import type { AccountInfoWithRefCount } from '@polkadot/types/interfaces/system'; /** @name AccountInfo */ export interface AccountInfo extends AccountInfoWithRefCount {} /** @name ActorId */ export interface ActorId extends u64 {} /** @name Address */ export interface Address extends AccountId {} /** @name Application */ export interface Application extends Struct { readonly role_account_id: AccountId; readonly reward_account_id: AccountId; readonly staking_account_id: AccountId; readonly member_id: MemberId; readonly description_hash: Bytes; readonly opening_id: OpeningId; } /** @name ApplicationId */ export interface ApplicationId extends u64 {} /** @name ApplicationIdSet */ export interface ApplicationIdSet extends BTreeSet {} /** @name ApplicationIdToWorkerIdMap */ export interface ApplicationIdToWorkerIdMap extends BTreeMap {} /** @name ApplicationInfo */ export interface ApplicationInfo extends Struct { readonly application_id: ApplicationId; readonly application: Application; } /** @name ApplyOnOpeningParameters */ export interface ApplyOnOpeningParameters extends Struct { readonly member_id: MemberId; readonly opening_id: OpeningId; readonly role_account_id: AccountId; readonly reward_account_id: AccountId; readonly description: Bytes; readonly stake_parameters: StakeParameters; } /** @name Approved */ export interface Approved extends Enum { readonly isPendingExecution: boolean; readonly isPendingConstitutionality: boolean; } /** @name AssuranceContractType */ export interface AssuranceContractType extends Enum { readonly isOpen: boolean; readonly isClosed: boolean; readonly asClosed: AssuranceContractType_Closed; } /** @name AssuranceContractType_Closed */ export interface AssuranceContractType_Closed extends BTreeSet {} /** @name Auction */ export interface Auction extends Struct { readonly starting_price: u128; readonly buy_now_price: Option; readonly auction_type: AuctionType; readonly minimal_bid_step: u128; readonly last_bid: Option; readonly starts_at: u32; readonly whitelist: BTreeSet; } /** @name AuctionParams */ export interface AuctionParams extends Struct { readonly auction_type: AuctionType; readonly starting_price: u128; readonly minimal_bid_step: u128; readonly buy_now_price: Option; readonly starts_at: Option; readonly whitelist: BTreeSet; } /** @name AuctionType */ export interface AuctionType extends Enum { readonly isEnglish: boolean; readonly asEnglish: EnglishAuctionDetails; readonly isOpen: boolean; readonly asOpen: OpenAuctionDetails; } /** @name Bag */ export interface Bag extends Struct { readonly stored_by: BTreeSet; readonly distributed_by: BTreeSet; readonly deletion_prize: Option; readonly objects_total_size: u64; readonly objects_number: u64; } /** @name BagId */ export interface BagId extends Enum { readonly isStatic: boolean; readonly asStatic: Static; readonly isDynamic: boolean; readonly asDynamic: Dynamic; } /** @name BagIdType */ export interface BagIdType extends Enum { readonly isStatic: boolean; readonly asStatic: Static; readonly isDynamic: boolean; readonly asDynamic: Dynamic; } /** @name BalanceKind */ export interface BalanceKind extends Enum { readonly isPositive: boolean; readonly isNegative: boolean; } /** @name Bid */ export interface Bid extends Struct { readonly bidder: MemberId; readonly bidder_account_id: GenericAccountId; readonly amount: u128; readonly made_at_block: u32; } /** @name BlockAndTime */ export interface BlockAndTime extends Struct { readonly block: u32; readonly time: u64; } /** @name Bounty */ export interface Bounty extends Struct { readonly creation_params: BountyCreationParameters; readonly total_funding: u128; readonly milestone: BountyMilestone; readonly active_work_entry_count: u32; } /** @name BountyActor */ export interface BountyActor extends Enum { readonly isCouncil: boolean; readonly isMember: boolean; readonly asMember: MemberId; } /** @name BountyCreationParameters */ export interface BountyCreationParameters extends Struct { readonly oracle: BountyActor; readonly contract_type: AssuranceContractType; readonly creator: BountyActor; readonly cherry: u128; readonly entrant_stake: u128; readonly funding_type: FundingType; readonly work_period: u32; readonly judging_period: u32; } /** @name BountyId */ export interface BountyId extends u64 {} /** @name BountyMilestone */ export interface BountyMilestone extends Enum { readonly isCreated: boolean; readonly asCreated: BountyMilestone_Created; readonly isBountyMaxFundingReached: boolean; readonly asBountyMaxFundingReached: BountyMilestone_BountyMaxFundingReached; readonly isWorkSubmitted: boolean; readonly asWorkSubmitted: BountyMilestone_WorkSubmitted; readonly isJudgmentSubmitted: boolean; readonly asJudgmentSubmitted: BountyMilestone_JudgmentSubmitted; } /** @name BountyMilestone_BountyMaxFundingReached */ export interface BountyMilestone_BountyMaxFundingReached extends Struct { readonly max_funding_reached_at: u32; } /** @name BountyMilestone_Created */ export interface BountyMilestone_Created extends Struct { readonly created_at: u32; readonly has_contributions: bool; } /** @name BountyMilestone_JudgmentSubmitted */ export interface BountyMilestone_JudgmentSubmitted extends Struct { readonly successful_bounty: bool; } /** @name BountyMilestone_WorkSubmitted */ export interface BountyMilestone_WorkSubmitted extends Struct { readonly work_period_started_at: u32; } /** @name BuyMembershipParameters */ export interface BuyMembershipParameters extends Struct { readonly root_account: AccountId; readonly controller_account: AccountId; readonly handle: Option; readonly metadata: Bytes; readonly referrer_id: Option; } /** @name Candidate */ export interface Candidate extends Struct { readonly staking_account_id: AccountId; readonly reward_account_id: AccountId; readonly cycle_id: u64; readonly stake: u32; readonly vote_power: VotePower; readonly note_hash: Option; } /** @name CastVoteOf */ export interface CastVoteOf extends Struct { readonly commitment: Hash; readonly cycle_id: u64; readonly stake: u128; readonly vote_for: Option; } /** @name Category */ export interface Category extends Struct { readonly title_hash: Hash; readonly description_hash: Hash; readonly archived: bool; readonly num_direct_subcategories: u32; readonly num_direct_threads: u32; readonly num_direct_moderators: u32; readonly parent_category_id: Option; readonly sticky_thread_ids: Vec; } /** @name CategoryId */ export interface CategoryId extends u64 {} /** @name Channel */ export interface Channel extends Struct { readonly owner: ChannelOwner; readonly num_videos: u64; readonly is_censored: bool; readonly reward_account: Option; readonly collaborators: BTreeSet; readonly moderators: BTreeSet; readonly cumulative_payout_earned: u128; } /** @name ChannelCategory */ export interface ChannelCategory extends Struct {} /** @name ChannelCategoryCreationParameters */ export interface ChannelCategoryCreationParameters extends Struct { readonly meta: Bytes; } /** @name ChannelCategoryId */ export interface ChannelCategoryId extends u64 {} /** @name ChannelCategoryUpdateParameters */ export interface ChannelCategoryUpdateParameters extends Struct { readonly new_meta: Bytes; } /** @name ChannelCreationParameters */ export interface ChannelCreationParameters extends Struct { readonly assets: Option; readonly meta: Option; readonly reward_account: Option; readonly collaborators: BTreeSet; readonly moderators: BTreeSet; } /** @name ChannelId */ export interface ChannelId extends u64 {} /** @name ChannelOwner */ export interface ChannelOwner extends Enum { readonly isMember: boolean; readonly asMember: MemberId; readonly isCurators: boolean; readonly asCurators: CuratorGroupId; } /** @name ChannelUpdateParameters */ export interface ChannelUpdateParameters extends Struct { readonly assets_to_upload: Option; readonly new_meta: Option; readonly reward_account: Option>; readonly assets_to_remove: BTreeSet; readonly collaborators: Option>; } /** @name Cid */ export interface Cid extends Bytes {} /** @name ConstitutionInfo */ export interface ConstitutionInfo extends Struct { readonly text_hash: Hash; } /** @name ContentActor */ export interface ContentActor extends Enum { readonly isCurator: boolean; readonly asCurator: ITuple<[CuratorGroupId, CuratorId]>; readonly isMember: boolean; readonly asMember: MemberId; readonly isLead: boolean; } /** @name ContentIdSet */ export interface ContentIdSet extends BTreeSet {} /** @name CouncilMemberOf */ export interface CouncilMemberOf extends Struct { readonly staking_account_id: AccountId; readonly reward_account_id: AccountId; readonly membership_id: MemberId; readonly stake: u128; readonly last_payment_block: u32; readonly unpaid_reward: u128; } /** @name CouncilStage */ export interface CouncilStage extends Enum { readonly isAnnouncing: boolean; readonly asAnnouncing: CouncilStageAnnouncing; readonly isElection: boolean; readonly asElection: CouncilStageElection; readonly isIdle: boolean; } /** @name CouncilStageAnnouncing */ export interface CouncilStageAnnouncing extends Struct { readonly candidatesCount: u64; } /** @name CouncilStageElection */ export interface CouncilStageElection extends Struct { readonly candidatesCount: u64; } /** @name CouncilStageUpdate */ export interface CouncilStageUpdate extends Struct { readonly stage: CouncilStage; readonly changed_at: u32; } /** @name CreateOpeningParameters */ export interface CreateOpeningParameters extends Struct { readonly description: Bytes; readonly stake_policy: StakePolicy; readonly reward_per_block: Option; readonly working_group: WorkingGroup; } /** @name CuratorGroup */ export interface CuratorGroup extends Struct { readonly curators: BTreeSet; readonly active: bool; } /** @name CuratorGroupId */ export interface CuratorGroupId extends u64 {} /** @name CuratorId */ export interface CuratorId extends u64 {} /** @name CurrencyAmount */ export interface CurrencyAmount extends u128 {} /** @name CurrencyOf */ export interface CurrencyOf extends u128 {} /** @name DataObject */ export interface DataObject extends Struct { readonly accepted: bool; readonly deletion_prize: u128; readonly ipfsContentId: Bytes; } /** @name DataObjectCreationParameters */ export interface DataObjectCreationParameters extends Struct { readonly ipfsContentId: Bytes; } /** @name DataObjectId */ export interface DataObjectId extends u64 {} /** @name DataObjectIdMap */ export interface DataObjectIdMap extends BTreeMap {} /** @name DataObjectIdSet */ export interface DataObjectIdSet extends BTreeSet {} /** @name DiscussionPost */ export interface DiscussionPost extends Struct { readonly author_id: u64; } /** @name DiscussionThread */ export interface DiscussionThread extends Struct { readonly activated_at: u32; readonly author_id: u64; readonly mode: ThreadMode; } /** @name DistributionBucket */ export interface DistributionBucket extends Struct { readonly accepting_new_bags: bool; readonly distributing: bool; readonly pending_invitations: BTreeSet; readonly operators: BTreeSet; readonly assigned_bags: u64; } /** @name DistributionBucketFamily */ export interface DistributionBucketFamily extends Struct { readonly next_distribution_bucket_index: DistributionBucketIndex; } /** @name DistributionBucketFamilyId */ export interface DistributionBucketFamilyId extends u64 {} /** @name DistributionBucketId */ export interface DistributionBucketId extends Struct { readonly distribution_bucket_family_id: DistributionBucketFamilyId; readonly distribution_bucket_index: DistributionBucketIndex; } /** @name DistributionBucketIndex */ export interface DistributionBucketIndex extends u64 {} /** @name DistributionBucketIndexSet */ export interface DistributionBucketIndexSet extends BTreeSet {} /** @name Dynamic */ export interface Dynamic extends Enum { readonly isMember: boolean; readonly asMember: MemberId; readonly isChannel: boolean; readonly asChannel: u64; } /** @name DynamicBagCreationPolicy */ export interface DynamicBagCreationPolicy extends Struct { readonly numberOfStorageBuckets: u64; readonly families: BTreeMap; } /** @name DynamicBagCreationPolicyDistributorFamiliesMap */ export interface DynamicBagCreationPolicyDistributorFamiliesMap extends BTreeMap {} /** @name DynamicBagDeletionPrize */ export interface DynamicBagDeletionPrize extends Struct { readonly account_id: GenericAccountId; readonly prize: u128; } /** @name DynamicBagDeletionPrizeRecord */ export interface DynamicBagDeletionPrizeRecord extends Struct { readonly account_id: GenericAccountId; readonly prize: u128; } /** @name DynamicBagId */ export interface DynamicBagId extends Enum { readonly isMember: boolean; readonly asMember: MemberId; readonly isChannel: boolean; readonly asChannel: u64; } /** @name DynamicBagType */ export interface DynamicBagType extends Enum { readonly isMember: boolean; readonly isChannel: boolean; } /** @name EnglishAuctionDetails */ export interface EnglishAuctionDetails extends Struct { readonly extension_period: u32; readonly auction_duration: u32; } /** @name Entry */ export interface Entry extends Struct { readonly member_id: MemberId; readonly staking_account_id: AccountId; readonly submitted_at: u32; readonly work_submitted: bool; readonly oracle_judgment_result: Option; } /** @name EntryId */ export interface EntryId extends u64 {} /** @name ExecutionFailed */ export interface ExecutionFailed extends Struct { readonly error: Text; } /** @name ExecutionStatus */ export interface ExecutionStatus extends Enum { readonly isExecuted: boolean; readonly isExecutionFailed: boolean; readonly asExecutionFailed: ExecutionFailed; } /** @name ExtendedPostId */ export interface ExtendedPostId extends Struct { readonly category_id: CategoryId; readonly thread_id: ThreadId; readonly post_id: PostId; } /** @name FillOpeningParameters */ export interface FillOpeningParameters extends Struct { readonly opening_id: OpeningId; readonly successful_application_id: ApplicationId; readonly working_group: WorkingGroup; } /** @name ForumUserId */ export interface ForumUserId extends u64 {} /** @name FundingRequestParameters */ export interface FundingRequestParameters extends Struct { readonly account: AccountId; readonly amount: u128; } /** @name FundingType */ export interface FundingType extends Enum { readonly isPerpetual: boolean; readonly asPerpetual: FundingType_Perpetual; readonly isLimited: boolean; readonly asLimited: FundingType_Limited; } /** @name FundingType_Limited */ export interface FundingType_Limited extends Struct { readonly min_funding_amount: u128; readonly max_funding_amount: u128; readonly funding_period: u32; } /** @name FundingType_Perpetual */ export interface FundingType_Perpetual extends Struct { readonly target: u128; } /** @name GeneralProposalParameters */ export interface GeneralProposalParameters extends Struct { readonly member_id: MemberId; readonly title: Text; readonly description: Text; readonly staking_account_id: Option; readonly exact_execution_block: Option; } /** @name InitTransactionalStatus */ export interface InitTransactionalStatus extends Enum { readonly isIdle: boolean; readonly isInitiatedOfferToMember: boolean; readonly asInitiatedOfferToMember: ITuple<[MemberId, Option]>; readonly isAuction: boolean; readonly asAuction: AuctionParams; } /** @name InputValidationLengthConstraint */ export interface InputValidationLengthConstraint extends Struct { readonly min: u16; readonly max_min_diff: u16; } /** @name InviteMembershipParameters */ export interface InviteMembershipParameters extends Struct { readonly inviting_member_id: MemberId; readonly root_account: AccountId; readonly controller_account: AccountId; readonly handle: Option; readonly metadata: Bytes; } /** @name IsCensored */ export interface IsCensored extends bool {} /** @name IsExtended */ export interface IsExtended extends bool {} /** @name LookupSource */ export interface LookupSource extends AccountId {} /** @name MaxNumber */ export interface MaxNumber extends u32 {} /** @name MemberId */ export interface MemberId extends u64 {} /** @name Membership */ export interface Membership extends Struct { readonly handle_hash: Bytes; readonly root_account: AccountId; readonly controller_account: AccountId; readonly verified: bool; readonly invites: u32; } /** @name ModeratorId */ export interface ModeratorId extends u64 {} /** @name ModeratorSet */ export interface ModeratorSet extends BTreeSet {} /** @name NftIssuanceParameters */ export interface NftIssuanceParameters extends Struct { readonly royalty: Option; readonly nft_metadata: Bytes; readonly non_channel_owner: Option; readonly init_transactional_status: InitTransactionalStatus; } /** @name NftMetadata */ export interface NftMetadata extends Bytes {} /** @name NftOwner */ export interface NftOwner extends Enum { readonly isChannelOwner: boolean; readonly isMember: boolean; readonly asMember: MemberId; } /** @name OpenAuctionDetails */ export interface OpenAuctionDetails extends Struct { readonly bid_lock_duration: u32; } /** @name Opening */ export interface Opening extends Struct { readonly opening_type: OpeningType; readonly created: u32; readonly description_hash: Bytes; readonly stake_policy: StakePolicy; readonly reward_per_block: Option; readonly creation_stake: u128; } /** @name OpeningId */ export interface OpeningId extends u64 {} /** @name OpeningType */ export interface OpeningType extends Enum { readonly isLeader: boolean; readonly isRegular: boolean; } /** @name OptionResult */ export interface OptionResult extends Struct { readonly option_id: MemberId; readonly vote_power: VotePower; } /** @name OracleJudgment */ export interface OracleJudgment extends BTreeMap {} /** @name OracleWorkEntryJudgment */ export interface OracleWorkEntryJudgment extends Enum { readonly isWinner: boolean; readonly asWinner: OracleWorkEntryJudgment_Winner; readonly isRejected: boolean; } /** @name OracleWorkEntryJudgment_Winner */ export interface OracleWorkEntryJudgment_Winner extends Struct { readonly reward: u128; } /** @name OwnedNft */ export interface OwnedNft extends Struct { readonly owner: NftOwner; readonly transactional_status: TransactionalStatus; readonly creator_royalty: Option; } /** @name ParticipantId */ export interface ParticipantId extends u64 {} /** @name Penalty */ export interface Penalty extends Struct { readonly slashing_text: Text; readonly slashing_amount: u128; } /** @name Poll */ export interface Poll extends Struct { readonly description_hash: Hash; readonly end_time: u64; readonly poll_alternatives: Vec; } /** @name PollAlternative */ export interface PollAlternative extends Struct { readonly alternative_text_hash: Hash; readonly vote_count: u32; } /** @name PollInput */ export interface PollInput extends Struct { readonly description: Bytes; readonly end_time: u64; readonly poll_alternatives: Vec; } /** @name Post */ export interface Post extends Struct { readonly thread_id: ThreadId; readonly text_hash: Hash; readonly author_id: ForumUserId; readonly cleanup_pay_off: u128; readonly last_edited: u32; } /** @name PostId */ export interface PostId extends u64 {} /** @name PostReactionId */ export interface PostReactionId extends u64 {} /** @name PrivilegedActor */ export interface PrivilegedActor extends Enum { readonly isLead: boolean; readonly isModerator: boolean; readonly asModerator: ModeratorId; } /** @name ProofElement */ export interface ProofElement extends Struct { readonly side: Side; } /** @name ProposalDecision */ export interface ProposalDecision extends Enum { readonly isCanceled: boolean; readonly isCanceledByRuntime: boolean; readonly isVetoed: boolean; readonly isRejected: boolean; readonly isSlashed: boolean; readonly isExpired: boolean; readonly isApproved: boolean; readonly asApproved: Approved; } /** @name ProposalDetails */ export interface ProposalDetails extends Enum { readonly isSignal: boolean; readonly asSignal: Text; readonly isRuntimeUpgrade: boolean; readonly asRuntimeUpgrade: Bytes; readonly isFundingRequest: boolean; readonly asFundingRequest: Vec; readonly isSetMaxValidatorCount: boolean; readonly asSetMaxValidatorCount: u32; readonly isCreateWorkingGroupLeadOpening: boolean; readonly asCreateWorkingGroupLeadOpening: CreateOpeningParameters; readonly isFillWorkingGroupLeadOpening: boolean; readonly asFillWorkingGroupLeadOpening: FillOpeningParameters; readonly isUpdateWorkingGroupBudget: boolean; readonly asUpdateWorkingGroupBudget: ITuple<[Balance, WorkingGroup, BalanceKind]>; readonly isDecreaseWorkingGroupLeadStake: boolean; readonly asDecreaseWorkingGroupLeadStake: ITuple<[WorkerId, Balance, WorkingGroup]>; readonly isSlashWorkingGroupLead: boolean; readonly asSlashWorkingGroupLead: ITuple<[WorkerId, Balance, WorkingGroup]>; readonly isSetWorkingGroupLeadReward: boolean; readonly asSetWorkingGroupLeadReward: ITuple<[WorkerId, Option, WorkingGroup]>; readonly isTerminateWorkingGroupLead: boolean; readonly asTerminateWorkingGroupLead: TerminateRoleParameters; readonly isAmendConstitution: boolean; readonly asAmendConstitution: Text; readonly isCancelWorkingGroupLeadOpening: boolean; readonly asCancelWorkingGroupLeadOpening: ITuple<[OpeningId, WorkingGroup]>; readonly isSetMembershipPrice: boolean; readonly asSetMembershipPrice: u128; readonly isSetCouncilBudgetIncrement: boolean; readonly asSetCouncilBudgetIncrement: u128; readonly isSetCouncilorReward: boolean; readonly asSetCouncilorReward: u128; readonly isSetInitialInvitationBalance: boolean; readonly asSetInitialInvitationBalance: u128; readonly isSetInitialInvitationCount: boolean; readonly asSetInitialInvitationCount: u32; readonly isSetMembershipLeadInvitationQuota: boolean; readonly asSetMembershipLeadInvitationQuota: u32; readonly isSetReferralCut: boolean; readonly asSetReferralCut: u8; readonly isCreateBlogPost: boolean; readonly asCreateBlogPost: ITuple<[Text, Text]>; readonly isEditBlogPost: boolean; readonly asEditBlogPost: ITuple<[PostId, Option, Option]>; readonly isLockBlogPost: boolean; readonly asLockBlogPost: PostId; readonly isUnlockBlogPost: boolean; readonly asUnlockBlogPost: PostId; readonly isVetoProposal: boolean; readonly asVetoProposal: ProposalId; } /** @name ProposalDetailsOf */ export interface ProposalDetailsOf extends Enum { readonly isSignal: boolean; readonly asSignal: Text; readonly isRuntimeUpgrade: boolean; readonly asRuntimeUpgrade: Bytes; readonly isFundingRequest: boolean; readonly asFundingRequest: Vec; readonly isSetMaxValidatorCount: boolean; readonly asSetMaxValidatorCount: u32; readonly isCreateWorkingGroupLeadOpening: boolean; readonly asCreateWorkingGroupLeadOpening: CreateOpeningParameters; readonly isFillWorkingGroupLeadOpening: boolean; readonly asFillWorkingGroupLeadOpening: FillOpeningParameters; readonly isUpdateWorkingGroupBudget: boolean; readonly asUpdateWorkingGroupBudget: ITuple<[Balance, WorkingGroup, BalanceKind]>; readonly isDecreaseWorkingGroupLeadStake: boolean; readonly asDecreaseWorkingGroupLeadStake: ITuple<[WorkerId, Balance, WorkingGroup]>; readonly isSlashWorkingGroupLead: boolean; readonly asSlashWorkingGroupLead: ITuple<[WorkerId, Balance, WorkingGroup]>; readonly isSetWorkingGroupLeadReward: boolean; readonly asSetWorkingGroupLeadReward: ITuple<[WorkerId, Option, WorkingGroup]>; readonly isTerminateWorkingGroupLead: boolean; readonly asTerminateWorkingGroupLead: TerminateRoleParameters; readonly isAmendConstitution: boolean; readonly asAmendConstitution: Text; readonly isCancelWorkingGroupLeadOpening: boolean; readonly asCancelWorkingGroupLeadOpening: ITuple<[OpeningId, WorkingGroup]>; readonly isSetMembershipPrice: boolean; readonly asSetMembershipPrice: u128; readonly isSetCouncilBudgetIncrement: boolean; readonly asSetCouncilBudgetIncrement: u128; readonly isSetCouncilorReward: boolean; readonly asSetCouncilorReward: u128; readonly isSetInitialInvitationBalance: boolean; readonly asSetInitialInvitationBalance: u128; readonly isSetInitialInvitationCount: boolean; readonly asSetInitialInvitationCount: u32; readonly isSetMembershipLeadInvitationQuota: boolean; readonly asSetMembershipLeadInvitationQuota: u32; readonly isSetReferralCut: boolean; readonly asSetReferralCut: u8; readonly isCreateBlogPost: boolean; readonly asCreateBlogPost: ITuple<[Text, Text]>; readonly isEditBlogPost: boolean; readonly asEditBlogPost: ITuple<[PostId, Option, Option]>; readonly isLockBlogPost: boolean; readonly asLockBlogPost: PostId; readonly isUnlockBlogPost: boolean; readonly asUnlockBlogPost: PostId; readonly isVetoProposal: boolean; readonly asVetoProposal: ProposalId; } /** @name ProposalId */ export interface ProposalId extends u32 {} /** @name ProposalOf */ export interface ProposalOf extends Struct { readonly parameters: ProposalParameters; readonly proposerId: MemberId; readonly activatedAt: u32; readonly status: ProposalStatus; readonly votingResults: VotingResults; readonly exactExecutionBlock: Option; readonly nrOfCouncilConfirmations: u32; readonly stakingAccountId: Option; } /** @name ProposalParameters */ export interface ProposalParameters extends Struct { readonly votingPeriod: u32; readonly gracePeriod: u32; readonly approvalQuorumPercentage: u32; readonly approvalThresholdPercentage: u32; readonly slashingQuorumPercentage: u32; readonly slashingThresholdPercentage: u32; readonly requiredStake: Option; readonly constitutionality: u32; } /** @name ProposalStatus */ export interface ProposalStatus extends Enum { readonly isActive: boolean; readonly isPendingExecution: boolean; readonly asPendingExecution: u32; readonly isPendingConstitutionality: boolean; } /** @name PullPayment */ export interface PullPayment extends Struct { readonly channel_id: ChannelId; readonly cumulative_payout_claimed: u128; readonly reason: Hash; } /** @name ReactionId */ export interface ReactionId extends u64 {} /** @name ReferendumStage */ export interface ReferendumStage extends Enum { readonly isInactive: boolean; readonly isVoting: boolean; readonly asVoting: ReferendumStageVoting; readonly isRevealing: boolean; readonly asRevealing: ReferendumStageRevealing; } /** @name ReferendumStageRevealing */ export interface ReferendumStageRevealing extends Struct { readonly started: u32; readonly winning_target_count: u64; readonly intermediate_winners: Vec; readonly current_cycle_id: u64; } /** @name ReferendumStageVoting */ export interface ReferendumStageVoting extends Struct { readonly started: u32; readonly winning_target_count: u64; readonly current_cycle_id: u64; } /** @name Reply */ export interface Reply extends Struct { readonly text_hash: Hash; readonly owner: ParticipantId; readonly parent_id: PostId; } /** @name ReplyId */ export interface ReplyId extends u64 {} /** @name ReplyToDelete */ export interface ReplyToDelete extends Struct { readonly post_id: PostId; readonly reply_id: ReplyId; readonly hide: bool; } /** @name RewardPaymentType */ export interface RewardPaymentType extends Enum { readonly isMissedReward: boolean; readonly isRegularReward: boolean; } /** @name Royalty */ export interface Royalty extends u64 {} /** @name SetLeadParams */ export interface SetLeadParams extends ITuple<[MemberId, AccountId]> {} /** @name Side */ export interface Side extends Enum { readonly isLeft: boolean; readonly isRight: boolean; } /** @name StakeParameters */ export interface StakeParameters extends Struct { readonly stake: u128; readonly staking_account_id: AccountId; } /** @name StakePolicy */ export interface StakePolicy extends Struct { readonly stake_amount: u128; readonly leaving_unstaking_period: u32; } /** @name StakingAccountMemberBinding */ export interface StakingAccountMemberBinding extends Struct { readonly member_id: MemberId; readonly confirmed: bool; } /** @name Static */ export interface Static extends Enum { readonly isCouncil: boolean; readonly isWorkingGroup: boolean; readonly asWorkingGroup: WorkingGroup; } /** @name StaticBagId */ export interface StaticBagId extends Enum { readonly isCouncil: boolean; readonly isWorkingGroup: boolean; readonly asWorkingGroup: WorkingGroup; } /** @name StorageAssets */ export interface StorageAssets extends Struct { readonly object_creation_list: Vec; readonly expected_data_size_fee: u128; } /** @name StorageBucket */ export interface StorageBucket extends Struct { readonly operator_status: StorageBucketOperatorStatus; readonly accepting_new_bags: bool; readonly voucher: Voucher; readonly assigned_bags: u64; } /** @name StorageBucketId */ export interface StorageBucketId extends u64 {} /** @name StorageBucketIdSet */ export interface StorageBucketIdSet extends BTreeSet {} /** @name StorageBucketOperatorStatus */ export interface StorageBucketOperatorStatus extends Enum { readonly isMissing: boolean; readonly isInvitedStorageWorker: boolean; readonly asInvitedStorageWorker: WorkerId; readonly isStorageWorker: boolean; readonly asStorageWorker: ITuple<[WorkerId, GenericAccountId]>; } /** @name StorageBucketsPerBagValueConstraint */ export interface StorageBucketsPerBagValueConstraint extends Struct { readonly min: u64; readonly max_min_diff: u64; } /** @name StorageProviderId */ export interface StorageProviderId extends u64 {} /** @name TerminateRoleParameters */ export interface TerminateRoleParameters extends Struct { readonly worker_id: WorkerId; readonly slashing_amount: Option; readonly working_group: WorkingGroup; } /** @name Thread */ export interface Thread extends Struct { readonly category_id: CategoryId; readonly author_id: ForumUserId; readonly poll: Option; readonly cleanup_pay_off: u128; readonly number_of_posts: u64; } /** @name ThreadId */ export interface ThreadId extends u64 {} /** @name ThreadMode */ export interface ThreadMode extends Enum { readonly isOpen: boolean; readonly isClosed: boolean; readonly asClosed: Vec; } /** @name ThreadOf */ export interface ThreadOf extends Struct { readonly category_id: CategoryId; readonly author_id: ForumUserId; readonly poll: Option; readonly cleanup_pay_off: u128; readonly number_of_posts: u64; } /** @name Title */ export interface Title extends Text {} /** @name TransactionalStatus */ export interface TransactionalStatus extends Enum { readonly isIdle: boolean; readonly isInitiatedOfferToMember: boolean; readonly asInitiatedOfferToMember: ITuple<[MemberId, Option]>; readonly isAuction: boolean; readonly asAuction: Auction; readonly isBuyNow: boolean; readonly asBuyNow: u128; } /** @name UpdatedBody */ export interface UpdatedBody extends Option {} /** @name UpdatedTitle */ export interface UpdatedTitle extends Option {} /** @name UploadParameters */ export interface UploadParameters extends Struct { readonly bagId: BagId; readonly objectCreationList: Vec; readonly deletionPrizeSourceAccountId: GenericAccountId; readonly expectedDataSizeFee: u128; } /** @name Url */ export interface Url extends Text {} /** @name ValidatorPrefs */ export interface ValidatorPrefs extends ValidatorPrefsWithCommission {} /** @name Video */ export interface Video extends Struct { readonly in_channel: ChannelId; readonly is_censored: bool; readonly enable_comments: bool; readonly video_post_id: Option; readonly nft_status: Option; } /** @name VideoCategory */ export interface VideoCategory extends Struct {} /** @name VideoCategoryCreationParameters */ export interface VideoCategoryCreationParameters extends Struct { readonly meta: Bytes; } /** @name VideoCategoryId */ export interface VideoCategoryId extends u64 {} /** @name VideoCategoryUpdateParameters */ export interface VideoCategoryUpdateParameters extends Struct { readonly new_meta: Bytes; } /** @name VideoCreationParameters */ export interface VideoCreationParameters extends Struct { readonly assets: Option; readonly meta: Option; readonly enable_comments: bool; readonly auto_issue_nft: Option; } /** @name VideoId */ export interface VideoId extends u64 {} /** @name VideoPost */ export interface VideoPost extends Struct { readonly author: ContentActor; readonly bloat_bond: u128; readonly replies_count: VideoPostId; readonly post_type: VideoPostType; readonly video_reference: VideoId; } /** @name VideoPostCreationParameters */ export interface VideoPostCreationParameters extends Struct { readonly post_type: VideoPostType; readonly video_reference: VideoId; } /** @name VideoPostDeletionParameters */ export interface VideoPostDeletionParameters extends Struct { readonly witness: Option; readonly rationale: Option; } /** @name VideoPostId */ export interface VideoPostId extends u64 {} /** @name VideoPostType */ export interface VideoPostType extends Enum { readonly isDescription: boolean; readonly isComment: boolean; readonly asComment: VideoPostId; } /** @name VideoUpdateParameters */ export interface VideoUpdateParameters extends Struct { readonly assets_to_upload: Option; readonly new_meta: Option; readonly assets_to_remove: BTreeSet; readonly enable_comments: Option; } /** @name VoteKind */ export interface VoteKind extends Enum { readonly isApprove: boolean; readonly isReject: boolean; readonly isSlash: boolean; readonly isAbstain: boolean; } /** @name VotePower */ export interface VotePower extends u128 {} /** @name VotingResults */ export interface VotingResults extends Struct { readonly abstensions: u32; readonly approvals: u32; readonly rejections: u32; readonly slashes: u32; } /** @name Voucher */ export interface Voucher extends Struct { readonly sizeLimit: u64; readonly objectsLimit: u64; readonly sizeUsed: u64; readonly objectsUsed: u64; } /** @name Worker */ export interface Worker extends Struct { readonly member_id: MemberId; readonly role_account_id: AccountId; readonly staking_account_id: AccountId; readonly reward_account_id: AccountId; readonly started_leaving_at: Option; readonly job_unstaking_period: u32; readonly reward_per_block: Option; readonly missed_reward: Option; readonly created_at: u32; } /** @name WorkerId */ export interface WorkerId extends u64 {} /** @name WorkerInfo */ export interface WorkerInfo extends Struct { readonly worker_id: WorkerId; readonly worker: Worker; } /** @name WorkingGroup */ export interface WorkingGroup extends Enum { readonly isForum: boolean; readonly isStorage: boolean; readonly isContent: boolean; readonly isOperationsAlpha: boolean; readonly isGateway: boolean; readonly isDistribution: boolean; readonly isOperationsBeta: boolean; readonly isOperationsGamma: boolean; readonly isMembership: boolean; } export type PHANTOM_ALL = 'all';