123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699 |
- {
- "ActorId": "u64",
- "MemberId": "u64",
- "BlockAndTime": {
- "block": "u32",
- "time": "u64"
- },
- "ThreadId": "u64",
- "PostId": "u64",
- "InputValidationLengthConstraint": {
- "min": "u16",
- "max_min_diff": "u16"
- },
- "WorkingGroup": {
- "_enum": [
- "Forum",
- "Storage",
- "Content",
- "Membership",
- "Operations",
- "Gateway"
- ]
- },
- "MemoText": "Text",
- "BalanceKind": {
- "_enum": [
- "Positive",
- "Negative"
- ]
- },
- "Address": "AccountId",
- "LookupSource": "AccountId",
- "ChannelId": "u64",
- "DAOId": "u64",
- "Url": "Text",
- "Membership": {
- "handle_hash": "Bytes",
- "root_account": "AccountId",
- "controller_account": "AccountId",
- "verified": "bool",
- "invites": "u32"
- },
- "StakingAccountMemberBinding": {
- "member_id": "MemberId",
- "confirmed": "bool"
- },
- "BuyMembershipParameters": {
- "root_account": "AccountId",
- "controller_account": "AccountId",
- "handle": "Option<Text>",
- "metadata": "Bytes",
- "referrer_id": "Option<MemberId>"
- },
- "InviteMembershipParameters": {
- "inviting_member_id": "MemberId",
- "root_account": "AccountId",
- "controller_account": "AccountId",
- "handle": "Option<Text>",
- "metadata": "Bytes"
- },
- "CouncilStageAnnouncing": {
- "candidatesCount": "u64"
- },
- "CouncilStageElection": {
- "candidatesCount": "u64"
- },
- "CouncilStageUpdate": {
- "stage": "CouncilStage",
- "changed_at": "u32"
- },
- "CouncilStage": {
- "_enum": {
- "Announcing": "CouncilStageAnnouncing",
- "Election": "CouncilStageElection",
- "Idle": "Null"
- }
- },
- "Candidate": {
- "staking_account_id": "AccountId",
- "reward_account_id": "AccountId",
- "cycle_id": "u64",
- "stake": "u32",
- "vote_power": "VotePower",
- "note_hash": "Option<Hash>"
- },
- "CouncilMemberOf": {
- "staking_account_id": "AccountId",
- "reward_account_id": "AccountId",
- "membership_id": "MemberId",
- "stake": "u128",
- "last_payment_block": "u32",
- "unpaid_reward": "u128"
- },
- "CastVoteOf": {
- "commitment": "Hash",
- "cycle_id": "u64",
- "stake": "u128",
- "vote_for": "Option<MemberId>"
- },
- "ForumUserId": "u64",
- "ModeratorId": "u64",
- "CategoryId": "u64",
- "PostReactionId": "u64",
- "Category": {
- "title_hash": "Hash",
- "description_hash": "Hash",
- "archived": "bool",
- "num_direct_subcategories": "u32",
- "num_direct_threads": "u32",
- "num_direct_moderators": "u32",
- "parent_category_id": "Option<CategoryId>",
- "sticky_thread_ids": "Vec<ThreadId>"
- },
- "Thread": {
- "category_id": "CategoryId",
- "author_id": "ForumUserId",
- "poll": "Option<Poll>",
- "cleanup_pay_off": "u128",
- "number_of_posts": "u64"
- },
- "Post": {
- "thread_id": "ThreadId",
- "text_hash": "Hash",
- "author_id": "ForumUserId",
- "cleanup_pay_off": "u128",
- "last_edited": "u32"
- },
- "PollAlternative": {
- "alternative_text_hash": "Hash",
- "vote_count": "u32"
- },
- "Poll": {
- "description_hash": "Hash",
- "end_time": "u64",
- "poll_alternatives": "Vec<PollAlternative>"
- },
- "PrivilegedActor": {
- "_enum": {
- "Lead": "Null",
- "Moderator": "ModeratorId"
- }
- },
- "PollInput": {
- "description": "Bytes",
- "end_time": "u64",
- "poll_alternatives": "Vec<Bytes>"
- },
- "ThreadOf": {
- "category_id": "CategoryId",
- "author_id": "ForumUserId",
- "poll": "Option<Poll>",
- "cleanup_pay_off": "u128",
- "number_of_posts": "u64"
- },
- "ExtendedPostId": {
- "category_id": "CategoryId",
- "thread_id": "ThreadId",
- "post_id": "PostId"
- },
- "ApplicationId": "u64",
- "Application": {
- "role_account_id": "AccountId",
- "reward_account_id": "AccountId",
- "staking_account_id": "AccountId",
- "member_id": "MemberId",
- "description_hash": "Bytes",
- "opening_id": "OpeningId"
- },
- "ApplicationInfo": {
- "application_id": "ApplicationId",
- "application": "Application"
- },
- "ApplicationIdSet": "BTreeSet<ApplicationId>",
- "ApplicationIdToWorkerIdMap": "BTreeMap<ApplicationId,WorkerId>",
- "WorkerId": "u64",
- "Worker": {
- "member_id": "MemberId",
- "role_account_id": "AccountId",
- "staking_account_id": "AccountId",
- "reward_account_id": "AccountId",
- "started_leaving_at": "Option<u32>",
- "job_unstaking_period": "u32",
- "reward_per_block": "Option<u128>",
- "missed_reward": "Option<u128>",
- "created_at": "u32"
- },
- "WorkerInfo": {
- "worker_id": "WorkerId",
- "worker": "Worker"
- },
- "Opening": {
- "opening_type": "OpeningType",
- "created": "u32",
- "description_hash": "Bytes",
- "stake_policy": "StakePolicy",
- "reward_per_block": "Option<u128>",
- "creation_stake": "u128"
- },
- "OpeningId": "u64",
- "StakePolicy": {
- "stake_amount": "u128",
- "leaving_unstaking_period": "u32"
- },
- "StakeParameters": {
- "stake": "u128",
- "staking_account_id": "AccountId"
- },
- "StorageProviderId": "u64",
- "OpeningType": {
- "_enum": {
- "Leader": "Null",
- "Regular": "Null"
- }
- },
- "ApplyOnOpeningParameters": {
- "member_id": "MemberId",
- "opening_id": "OpeningId",
- "role_account_id": "AccountId",
- "reward_account_id": "AccountId",
- "description": "Bytes",
- "stake_parameters": "StakeParameters"
- },
- "Penalty": {
- "slashing_text": "Text",
- "slashing_amount": "u128"
- },
- "RewardPaymentType": {
- "_enum": [
- "MissedReward",
- "RegularReward"
- ]
- },
- "ContentId": "[u8;32]",
- "LiaisonJudgement": {
- "_enum": [
- "Pending",
- "Accepted"
- ]
- },
- "DataObject": {
- "owner": "StorageObjectOwner",
- "added_at": "BlockAndTime",
- "type_id": "DataObjectTypeId",
- "size": "u64",
- "liaison": "Option<StorageProviderId>",
- "liaison_judgement": "LiaisonJudgement",
- "ipfs_content_id": "Text"
- },
- "DataObjectStorageRelationshipId": "u64",
- "DataObjectStorageRelationship": {
- "content_id": "ContentId",
- "storage_provider": "StorageProviderId",
- "ready": "bool"
- },
- "DataObjectTypeId": "u64",
- "DataObjectType": {
- "description": "Text",
- "active": "bool"
- },
- "DataObjectsMap": "BTreeMap<ContentId,DataObject>",
- "ContentParameters": {
- "content_id": "ContentId",
- "type_id": "DataObjectTypeId",
- "size": "u64",
- "ipfs_content_id": "Bytes"
- },
- "StorageObjectOwner": {
- "_enum": {
- "Member": "MemberId",
- "Channel": "ChannelId",
- "DAO": "DAOId",
- "Council": "Null",
- "WorkingGroup": "WorkingGroup"
- }
- },
- "ObjectOwner": {
- "_enum": {
- "Member": "MemberId",
- "Channel": "ChannelId",
- "DAO": "DAOId",
- "Council": "Null",
- "WorkingGroup": "WorkingGroup"
- }
- },
- "Voucher": {
- "size_limit": "u64",
- "objects_limit": "u64",
- "size_used": "u64",
- "objects_used": "u64"
- },
- "VoucherLimit": "u64",
- "UploadingStatus": "bool",
- "ParticipantId": "u64",
- "Title": "Text",
- "UpdatedTitle": "Option<Text>",
- "UpdatedBody": "Option<Text>",
- "ReplyId": "u64",
- "Reply": {
- "text_hash": "Hash",
- "owner": "ParticipantId",
- "parent_id": "PostId"
- },
- "ReplyToDelete": {
- "post_id": "PostId",
- "reply_id": "ReplyId",
- "hide": "bool"
- },
- "ProposalId": "u32",
- "ProposalStatus": {
- "_enum": {
- "Active": "Null",
- "PendingExecution": "u32",
- "PendingConstitutionality": "Null"
- }
- },
- "ProposalOf": {
- "parameters": "ProposalParameters",
- "proposerId": "MemberId",
- "activatedAt": "u32",
- "status": "ProposalStatus",
- "votingResults": "VotingResults",
- "exactExecutionBlock": "Option<u32>",
- "nrOfCouncilConfirmations": "u32",
- "stakingAccountId": "Option<AccountId>"
- },
- "ProposalDetails": {
- "_enum": {
- "Signal": "Text",
- "RuntimeUpgrade": "Bytes",
- "FundingRequest": "Vec<FundingRequestParameters>",
- "SetMaxValidatorCount": "u32",
- "CreateWorkingGroupLeadOpening": "CreateOpeningParameters",
- "FillWorkingGroupLeadOpening": "FillOpeningParameters",
- "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)",
- "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)",
- "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)",
- "SetWorkingGroupLeadReward": "(WorkerId,Option<Balance>,WorkingGroup)",
- "TerminateWorkingGroupLead": "TerminateRoleParameters",
- "AmendConstitution": "Text",
- "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)",
- "SetMembershipPrice": "u128",
- "SetCouncilBudgetIncrement": "u128",
- "SetCouncilorReward": "u128",
- "SetInitialInvitationBalance": "u128",
- "SetInitialInvitationCount": "u32",
- "SetMembershipLeadInvitationQuota": "u32",
- "SetReferralCut": "u8",
- "CreateBlogPost": "(Text,Text)",
- "EditBlogPost": "(PostId,Option<Text>,Option<Text>)",
- "LockBlogPost": "PostId",
- "UnlockBlogPost": "PostId",
- "VetoProposal": "ProposalId"
- }
- },
- "ProposalDetailsOf": {
- "_enum": {
- "Signal": "Text",
- "RuntimeUpgrade": "Bytes",
- "FundingRequest": "Vec<FundingRequestParameters>",
- "SetMaxValidatorCount": "u32",
- "CreateWorkingGroupLeadOpening": "CreateOpeningParameters",
- "FillWorkingGroupLeadOpening": "FillOpeningParameters",
- "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)",
- "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)",
- "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)",
- "SetWorkingGroupLeadReward": "(WorkerId,Option<Balance>,WorkingGroup)",
- "TerminateWorkingGroupLead": "TerminateRoleParameters",
- "AmendConstitution": "Text",
- "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)",
- "SetMembershipPrice": "u128",
- "SetCouncilBudgetIncrement": "u128",
- "SetCouncilorReward": "u128",
- "SetInitialInvitationBalance": "u128",
- "SetInitialInvitationCount": "u32",
- "SetMembershipLeadInvitationQuota": "u32",
- "SetReferralCut": "u8",
- "CreateBlogPost": "(Text,Text)",
- "EditBlogPost": "(PostId,Option<Text>,Option<Text>)",
- "LockBlogPost": "PostId",
- "UnlockBlogPost": "PostId",
- "VetoProposal": "ProposalId"
- }
- },
- "VotingResults": {
- "abstensions": "u32",
- "approvals": "u32",
- "rejections": "u32",
- "slashes": "u32"
- },
- "ProposalParameters": {
- "votingPeriod": "u32",
- "gracePeriod": "u32",
- "approvalQuorumPercentage": "u32",
- "approvalThresholdPercentage": "u32",
- "slashingQuorumPercentage": "u32",
- "slashingThresholdPercentage": "u32",
- "requiredStake": "Option<u128>",
- "constitutionality": "u32"
- },
- "GeneralProposalParameters": {
- "member_id": "MemberId",
- "title": "Text",
- "description": "Text",
- "staking_account_id": "Option<AccountId>",
- "exact_execution_block": "Option<u32>"
- },
- "VoteKind": {
- "_enum": [
- "Approve",
- "Reject",
- "Slash",
- "Abstain"
- ]
- },
- "DiscussionThread": {
- "activated_at": "u32",
- "author_id": "u64",
- "mode": "ThreadMode"
- },
- "DiscussionPost": {
- "author_id": "u64"
- },
- "CreateOpeningParameters": {
- "description": "Bytes",
- "stake_policy": "StakePolicy",
- "reward_per_block": "Option<u128>",
- "working_group": "WorkingGroup"
- },
- "FillOpeningParameters": {
- "opening_id": "OpeningId",
- "successful_application_id": "ApplicationId",
- "working_group": "WorkingGroup"
- },
- "TerminateRoleParameters": {
- "worker_id": "WorkerId",
- "slashing_amount": "Option<u128>",
- "working_group": "WorkingGroup"
- },
- "ProposalDecision": {
- "_enum": {
- "Canceled": "Null",
- "CanceledByRuntime": "Null",
- "Vetoed": "Null",
- "Rejected": "Null",
- "Slashed": "Null",
- "Expired": "Null",
- "Approved": "Approved"
- }
- },
- "ExecutionFailed": {
- "error": "Text"
- },
- "Approved": {
- "_enum": [
- "PendingExecution",
- "PendingConstitutionality"
- ]
- },
- "SetLeadParams": "(MemberId,AccountId)",
- "ThreadMode": {
- "_enum": {
- "Open": "Null",
- "Closed": "Vec<MemberId>"
- }
- },
- "ExecutionStatus": {
- "_enum": {
- "Executed": "Null",
- "ExecutionFailed": "ExecutionFailed"
- }
- },
- "FundingRequestParameters": {
- "account": "AccountId",
- "amount": "u128"
- },
- "ReferendumStageVoting": {
- "started": "u32",
- "winning_target_count": "u64",
- "current_cycle_id": "u64"
- },
- "ReferendumStageRevealing": {
- "started": "u32",
- "winning_target_count": "u64",
- "intermediate_winners": "Vec<OptionResult>",
- "current_cycle_id": "u64"
- },
- "ReferendumStage": {
- "_enum": {
- "Inactive": "Null",
- "Voting": "ReferendumStageVoting",
- "Revealing": "ReferendumStageRevealing"
- }
- },
- "OptionResult": {
- "option_id": "MemberId",
- "vote_power": "VotePower"
- },
- "VotePower": "u128",
- "ConstitutionInfo": {
- "text_hash": "Hash"
- },
- "BountyId": "u32",
- "EntryId": "u32",
- "BountyActor": {
- "_enum": {
- "Council": "Null",
- "Member": "MemberId"
- }
- },
- "AssuranceContractType": {
- "_enum": {
- "Open": "Null",
- "Closed": "Vec<MemberId>"
- }
- },
- "FundingType_Limited": {
- "min_funding_amount": "u128",
- "max_funding_amount": "u128",
- "funding_period": "u32"
- },
- "FundingType_Perpetual": {
- "target": "u128"
- },
- "FundingType": {
- "_enum": {
- "Perpetual": "FundingType_Perpetual",
- "Limited": "FundingType_Limited"
- }
- },
- "BountyCreationParameters": {
- "oracle": "BountyActor",
- "contract_type": "AssuranceContractType",
- "creator": "BountyActor",
- "cherry": "u128",
- "entrant_stake": "u128",
- "funding_type": "FundingType",
- "work_period": "u32",
- "judging_period": "u32"
- },
- "OracleWorkEntryJudgment_Winner": {
- "reward": "u128"
- },
- "OracleWorkEntryJudgment": {
- "_enum": {
- "Winner": "OracleWorkEntryJudgment_Winner",
- "Rejected": "Null"
- }
- },
- "OracleJudgment": "BTreeMap<EntryId,OracleWorkEntryJudgment>",
- "Entry": {
- "member_id": "MemberId",
- "staking_account_id": "AccountId",
- "submitted_at": "u32",
- "work_submitted": "bool",
- "oracle_judgment_result": "Option<OracleJudgment>"
- },
- "CuratorId": "u64",
- "CuratorGroupId": "u64",
- "CuratorGroup": {
- "curators": "Vec<CuratorId>",
- "active": "bool"
- },
- "ContentActor": {
- "_enum": {
- "Curator": "(CuratorGroupId,CuratorId)",
- "Member": "MemberId",
- "Lead": "Null"
- }
- },
- "NewAsset": {
- "_enum": {
- "Upload": "ContentParameters",
- "Urls": "Vec<Url>"
- }
- },
- "Channel": {
- "owner": "ChannelOwner",
- "videos": "Vec<VideoId>",
- "playlists": "Vec<PlaylistId>",
- "series": "Vec<SeriesId>",
- "is_censored": "bool",
- "reward_account": "Option<AccountId>"
- },
- "ChannelOwner": {
- "_enum": {
- "Member": "MemberId",
- "Curators": "CuratorGroupId",
- "Dao": "DAOId"
- }
- },
- "ChannelCategoryId": "u64",
- "ChannelCategory": {},
- "ChannelCategoryCreationParameters": {
- "meta": "Bytes"
- },
- "ChannelCategoryUpdateParameters": {
- "new_meta": "Bytes"
- },
- "ChannelCreationParameters": {
- "assets": "Vec<NewAsset>",
- "meta": "Bytes",
- "reward_account": "Option<AccountId>"
- },
- "ChannelUpdateParameters": {
- "assets": "Option<Vec<NewAsset>>",
- "new_meta": "Option<Bytes>",
- "reward_account": "Option<Option<AccountId>>"
- },
- "ChannelOwnershipTransferRequestId": "u64",
- "ChannelOwnershipTransferRequest": {
- "channel_id": "ChannelId",
- "new_owner": "ChannelOwner",
- "payment": "u128",
- "new_reward_account": "Option<AccountId>"
- },
- "Video": {
- "in_channel": "ChannelId",
- "in_series": "Option<SeriesId>",
- "is_censored": "bool"
- },
- "VideoId": "u64",
- "VideoCategoryId": "u64",
- "VideoCategory": {},
- "VideoCategoryCreationParameters": {
- "meta": "Bytes"
- },
- "VideoCategoryUpdateParameters": {
- "new_meta": "Bytes"
- },
- "VideoCreationParameters": {
- "assets": "Vec<NewAsset>",
- "meta": "Bytes"
- },
- "VideoUpdateParameters": {
- "assets": "Option<Vec<NewAsset>>",
- "new_meta": "Option<Bytes>"
- },
- "Person": {
- "controlled_by": "PersonController"
- },
- "PersonId": "u64",
- "PersonController": {
- "_enum": {
- "Member": "MemberId",
- "Curators": "Null"
- }
- },
- "PersonActor": {
- "_enum": {
- "Member": "MemberId",
- "Curator": "CuratorId"
- }
- },
- "PersonCreationParameters": {
- "assets": "Vec<NewAsset>",
- "meta": "Bytes"
- },
- "PersonUpdateParameters": {
- "assets": "Option<Vec<NewAsset>>",
- "meta": "Option<Bytes>"
- },
- "Playlist": {
- "in_channel": "ChannelId"
- },
- "PlaylistId": "u64",
- "PlaylistCreationParameters": {
- "meta": "Bytes"
- },
- "PlaylistUpdateParameters": {
- "new_meta": "Bytes"
- },
- "SeriesId": "u64",
- "Series": {
- "in_channel": "ChannelId",
- "seasons": "Vec<Season>"
- },
- "Season": {
- "episodes": "Vec<VideoId>"
- },
- "SeriesParameters": {
- "assets": "Option<Vec<NewAsset>>",
- "seasons": "Option<Vec<Option<SeasonParameters>>>",
- "meta": "Option<Bytes>"
- },
- "SeasonParameters": {
- "assets": "Option<Vec<NewAsset>>",
- "episodes": "Option<Vec<Option<EpisodeParemters>>>",
- "meta": "Option<Bytes>"
- },
- "EpisodeParemters": {
- "_enum": {
- "NewVideo": "VideoCreationParameters",
- "ExistingVideo": "VideoId"
- }
- },
- "MaxNumber": "u32",
- "IsCensored": "bool",
- "AccountInfo": "AccountInfoWithRefCount"
- }
|