{ "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" ] }, "MemoText": "Text", "BalanceKind": { "_enum": [ "Positive", "Negative" ] }, "Address": "AccountId", "LookupSource": "AccountId", "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", "metadata": "Bytes", "referrer_id": "Option" }, "InviteMembershipParameters": { "inviting_member_id": "MemberId", "root_account": "AccountId", "controller_account": "AccountId", "handle": "Option", "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" }, "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" }, "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", "sticky_thread_ids": "Vec" }, "Thread": { "title_hash": "Hash", "category_id": "CategoryId", "author_id": "ForumUserId", "archived": "bool", "poll": "Option", "num_direct_posts": "u32" }, "Post": { "thread_id": "ThreadId", "text_hash": "Hash", "author_id": "ForumUserId" }, "PollAlternative": { "alternative_text_hash": "Hash", "vote_count": "u32" }, "Poll": { "description_hash": "Hash", "end_time": "u64", "poll_alternatives": "Vec" }, "PrivilegedActor": { "_enum": { "Lead": "Null", "Moderator": "ModeratorId" } }, "ThreadOf": { "title_hash": "Hash", "category_id": "CategoryId", "author_id": "ForumUserId", "archived": "bool", "poll": "Option", "num_direct_posts": "u32" }, "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", "ApplicationIdToWorkerIdMap": "BTreeMap", "WorkerId": "u64", "Worker": { "member_id": "MemberId", "role_account_id": "AccountId", "staking_account_id": "AccountId", "reward_account_id": "AccountId", "started_leaving_at": "Option", "job_unstaking_period": "u32", "reward_per_block": "Option", "missed_reward": "Option", "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" }, "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" ] }, "Url": "Text", "IPNSIdentity": "Text", "ServiceProviderRecord": { "identity": "IPNSIdentity", "expires_at": "u32" }, "ContentId": "[u8;32]", "LiaisonJudgement": { "_enum": [ "Pending", "Accepted", "Rejected" ] }, "DataObject": { "owner": "MemberId", "added_at": "BlockAndTime", "type_id": "DataObjectTypeId", "size": "u64", "liaison": "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", "ParticipantId": "u64", "Title": "Text", "UpdatedTitle": "Option", "UpdatedBody": "Option", "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", "nrOfCouncilConfirmations": "u32", "stakingAccountId": "Option" }, "ProposalDetails": { "_enum": { "Signal": "Text", "RuntimeUpgrade": "Bytes", "FundingRequest": "Vec", "SetMaxValidatorCount": "u32", "CreateWorkingGroupLeadOpening": "CreateOpeningParameters", "FillWorkingGroupLeadOpening": "FillOpeningParameters", "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)", "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)", "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)", "SetWorkingGroupLeadReward": "(WorkerId,Option,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,Option)", "LockBlogPost": "PostId", "UnlockBlogPost": "PostId", "VetoProposal": "ProposalId" } }, "ProposalDetailsOf": { "_enum": { "Signal": "Text", "RuntimeUpgrade": "Bytes", "FundingRequest": "Vec", "SetMaxValidatorCount": "u32", "CreateWorkingGroupLeadOpening": "CreateOpeningParameters", "FillWorkingGroupLeadOpening": "FillOpeningParameters", "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)", "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)", "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)", "SetWorkingGroupLeadReward": "(WorkerId,Option,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,Option)", "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", "constitutionality": "u32" }, "GeneralProposalParameters": { "member_id": "MemberId", "title": "Text", "description": "Text", "staking_account_id": "Option", "exact_execution_block": "Option" }, "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", "working_group": "WorkingGroup" }, "FillOpeningParameters": { "opening_id": "OpeningId", "successful_application_id": "ApplicationId", "working_group": "WorkingGroup" }, "TerminateRoleParameters": { "worker_id": "WorkerId", "slashing_amount": "Option", "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" } }, "ExecutionStatus": { "_enum": { "Executed": "Null", "ExecutionFailed": "ExecutionFailed" } }, "FundingRequestParameters": { "account": "AccountId", "amount": "u128" }, "Nonce": "u64", "EntityId": "u64", "ClassId": "u64", "CuratorId": "u64", "CuratorGroupId": "u64", "VecMaxLength": "u16", "TextMaxLength": "u16", "HashedTextMaxLength": "Option", "PropertyId": "u16", "SchemaId": "u16", "SameController": "bool", "ClassPermissions": { "any_member": "bool", "entity_creation_blocked": "bool", "all_entity_property_values_locked": "bool", "maintainers": "Vec" }, "PropertyTypeSingle": { "_enum": { "Bool": "Null", "Uint16": "Null", "Uint32": "Null", "Uint64": "Null", "Int16": "Null", "Int32": "Null", "Int64": "Null", "Text": "TextMaxLength", "Hash": "HashedTextMaxLength", "Reference": "(ClassId,SameController)" } }, "PropertyTypeVector": { "vec_type": "PropertyTypeSingle", "max_length": "VecMaxLength" }, "PropertyType": { "_enum": { "Single": "PropertyTypeSingle", "Vector": "PropertyTypeVector" } }, "PropertyLockingPolicy": { "is_locked_from_maintainer": "bool", "is_locked_from_controller": "bool" }, "Property": { "property_type": "PropertyType", "required": "bool", "unique": "bool", "name": "Text", "description": "Text", "locking_policy": "PropertyLockingPolicy" }, "Schema": { "properties": "Vec", "is_active": "bool" }, "Class": { "class_permissions": "ClassPermissions", "properties": "Vec", "schemas": "Vec", "name": "Text", "description": "Text", "maximum_entities_count": "EntityId", "current_number_of_entities": "EntityId", "default_entity_creation_voucher_upper_bound": "EntityId" }, "ClassOf": { "class_permissions": "ClassPermissions", "properties": "Vec", "schemas": "Vec", "name": "Text", "description": "Text", "maximum_entities_count": "EntityId", "current_number_of_entities": "EntityId", "default_entity_creation_voucher_upper_bound": "EntityId" }, "EntityController": { "_enum": { "Maintainers": "Null", "Member": "MemberId", "Lead": "Null" } }, "EntityPermissions": { "controller": "EntityController", "frozen": "bool", "referenceable": "bool" }, "StoredValue": { "_enum": { "Bool": "bool", "Uint16": "u16", "Uint32": "u32", "Uint64": "u64", "Int16": "i16", "Int32": "i32", "Int64": "i64", "Text": "Text", "Hash": "Hash", "Reference": "EntityId" } }, "VecStoredValue": { "_enum": { "Bool": "Vec", "Uint16": "Vec", "Uint32": "Vec", "Uint64": "Vec", "Int16": "Vec", "Int32": "Vec", "Int64": "Vec", "Hash": "Vec", "Text": "Vec", "Reference": "Vec" } }, "VecStoredPropertyValue": { "vec_value": "VecStoredValue", "nonce": "Nonce" }, "StoredPropertyValue": { "_enum": { "Single": "StoredValue", "Vector": "VecStoredPropertyValue" } }, "InboundReferenceCounter": { "total": "u32", "same_owner": "u32" }, "Entity": { "entity_permissions": "EntityPermissions", "class_id": "ClassId", "supported_schemas": "Vec", "values": "BTreeMap", "reference_counter": "InboundReferenceCounter" }, "EntityOf": { "entity_permissions": "EntityPermissions", "class_id": "ClassId", "supported_schemas": "Vec", "values": "BTreeMap", "reference_counter": "InboundReferenceCounter" }, "CuratorGroup": { "curators": "Vec", "active": "bool", "number_of_classes_maintained": "u32" }, "EntityCreationVoucher": { "maximum_entities_count": "EntityId", "entities_created": "EntityId" }, "Actor": { "_enum": { "Curator": "(CuratorGroupId,CuratorId)", "Member": "MemberId", "Lead": "Null" } }, "EntityReferenceCounterSideEffect": { "total": "i32", "same_owner": "i32" }, "ReferenceCounterSideEffects": "BTreeMap", "SideEffects": "Option", "SideEffect": "Option<(EntityId,EntityReferenceCounterSideEffect)>", "Status": "bool", "InputValue": { "_enum": { "Bool": "bool", "Uint16": "u16", "Uint32": "u32", "Uint64": "u64", "Int16": "i16", "Int32": "i32", "Int64": "i64", "Text": "Text", "TextToHash": "Text", "Reference": "EntityId" } }, "VecInputValue": { "_enum": { "Bool": "Vec", "Uint16": "Vec", "Uint32": "Vec", "Uint64": "Vec", "Int16": "Vec", "Int32": "Vec", "Int64": "Vec", "TextToHash": "Vec", "Text": "Vec", "Reference": "Vec" } }, "InputPropertyValue": { "_enum": { "Single": "InputValue", "Vector": "VecInputValue" } }, "ParameterizedEntity": { "_enum": { "InternalEntityJustAdded": "u32", "ExistingEntity": "EntityId" } }, "ParametrizedPropertyValue": { "_enum": { "InputPropertyValue": "InputPropertyValue", "InternalEntityJustAdded": "u32", "InternalEntityVec": "Vec" } }, "ParametrizedClassPropertyValue": { "in_class_index": "PropertyId", "value": "ParametrizedPropertyValue" }, "CreateEntityOperation": { "class_id": "ClassId" }, "UpdatePropertyValuesOperation": { "entity_id": "ParameterizedEntity", "new_parametrized_property_values": "Vec" }, "AddSchemaSupportToEntityOperation": { "entity_id": "ParameterizedEntity", "schema_id": "SchemaId", "parametrized_property_values": "Vec" }, "OperationType": { "_enum": { "CreateEntity": "CreateEntityOperation", "UpdatePropertyValues": "UpdatePropertyValuesOperation", "AddSchemaSupportToEntity": "AddSchemaSupportToEntityOperation" } }, "InputEntityValuesMap": "BTreeMap", "FailedAt": "u32", "ReferendumStageVoting": { "started": "u32", "winning_target_count": "u64", "current_cycle_id": "u64" }, "ReferendumStageRevealing": { "started": "u32", "winning_target_count": "u64", "intermediate_winners": "Vec", "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" } }, "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" }, "OracleJudgment_Winner": { "reward": "u128" }, "OracleJudgment": { "_enum": { "Winner": "OracleJudgment_Winner", "Rejected": "Null" } }, "Entry": { "member_id": "MemberId", "staking_account_id": "GenericAccountId", "submitted_at": "u32", "work_submitted": "bool", "oracle_judgment_result": "Option" } }