defs.json 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. {
  2. "ActorId": "u64",
  3. "MemberId": "u64",
  4. "BlockAndTime": {
  5. "block": "u32",
  6. "time": "u64"
  7. },
  8. "ThreadId": "u64",
  9. "PostId": "u64",
  10. "InputValidationLengthConstraint": {
  11. "min": "u16",
  12. "max_min_diff": "u16"
  13. },
  14. "WorkingGroup": {
  15. "_enum": [
  16. "Forum",
  17. "Storage",
  18. "Content",
  19. "Membership"
  20. ]
  21. },
  22. "MemoText": "Text",
  23. "BalanceKind": {
  24. "_enum": [
  25. "Positive",
  26. "Negative"
  27. ]
  28. },
  29. "Address": "AccountId",
  30. "LookupSource": "AccountId",
  31. "Membership": {
  32. "handle_hash": "Bytes",
  33. "root_account": "AccountId",
  34. "controller_account": "AccountId",
  35. "verified": "bool",
  36. "invites": "u32"
  37. },
  38. "StakingAccountMemberBinding": {
  39. "member_id": "MemberId",
  40. "confirmed": "bool"
  41. },
  42. "BuyMembershipParameters": {
  43. "root_account": "AccountId",
  44. "controller_account": "AccountId",
  45. "handle": "Option<Text>",
  46. "metadata": "Bytes",
  47. "referrer_id": "Option<MemberId>"
  48. },
  49. "InviteMembershipParameters": {
  50. "inviting_member_id": "MemberId",
  51. "root_account": "AccountId",
  52. "controller_account": "AccountId",
  53. "handle": "Option<Text>",
  54. "metadata": "Bytes"
  55. },
  56. "CouncilStageAnnouncing": {
  57. "candidatesCount": "u64"
  58. },
  59. "CouncilStageElection": {
  60. "candidatesCount": "u64"
  61. },
  62. "CouncilStageUpdate": {
  63. "stage": "CouncilStage",
  64. "changed_at": "u32"
  65. },
  66. "CouncilStage": {
  67. "_enum": {
  68. "Announcing": "CouncilStageAnnouncing",
  69. "Election": "CouncilStageElection",
  70. "Idle": "Null"
  71. }
  72. },
  73. "Candidate": {
  74. "staking_account_id": "AccountId",
  75. "reward_account_id": "AccountId",
  76. "cycle_id": "u64",
  77. "stake": "u32",
  78. "vote_power": "VotePower",
  79. "note_hash": "Option<Hash>"
  80. },
  81. "CouncilMemberOf": {
  82. "staking_account_id": "AccountId",
  83. "reward_account_id": "AccountId",
  84. "membership_id": "MemberId",
  85. "stake": "u128",
  86. "last_payment_block": "u32",
  87. "unpaid_reward": "u128"
  88. },
  89. "CastVoteOf": {
  90. "commitment": "Hash",
  91. "cycle_id": "u64",
  92. "stake": "u128",
  93. "vote_for": "Option<MemberId>"
  94. },
  95. "ForumUserId": "u64",
  96. "ModeratorId": "u64",
  97. "CategoryId": "u64",
  98. "PostReactionId": "u64",
  99. "Category": {
  100. "title_hash": "Hash",
  101. "description_hash": "Hash",
  102. "archived": "bool",
  103. "num_direct_subcategories": "u32",
  104. "num_direct_threads": "u32",
  105. "num_direct_moderators": "u32",
  106. "parent_category_id": "Option<CategoryId>",
  107. "sticky_thread_ids": "Vec<ThreadId>"
  108. },
  109. "Thread": {
  110. "title_hash": "Hash",
  111. "category_id": "CategoryId",
  112. "author_id": "ForumUserId",
  113. "archived": "bool",
  114. "poll": "Option<Poll>",
  115. "num_direct_posts": "u32"
  116. },
  117. "Post": {
  118. "thread_id": "ThreadId",
  119. "text_hash": "Hash",
  120. "author_id": "ForumUserId"
  121. },
  122. "PollAlternative": {
  123. "alternative_text_hash": "Hash",
  124. "vote_count": "u32"
  125. },
  126. "Poll": {
  127. "description_hash": "Hash",
  128. "end_time": "u64",
  129. "poll_alternatives": "Vec<PollAlternative>"
  130. },
  131. "PrivilegedActor": {
  132. "_enum": {
  133. "Lead": "Null",
  134. "Moderator": "ModeratorId"
  135. }
  136. },
  137. "ThreadOf": {
  138. "title_hash": "Hash",
  139. "category_id": "CategoryId",
  140. "author_id": "ForumUserId",
  141. "archived": "bool",
  142. "poll": "Option<Poll>",
  143. "num_direct_posts": "u32"
  144. },
  145. "ApplicationId": "u64",
  146. "Application": {
  147. "role_account_id": "AccountId",
  148. "reward_account_id": "AccountId",
  149. "staking_account_id": "AccountId",
  150. "member_id": "MemberId",
  151. "description_hash": "Bytes",
  152. "opening_id": "OpeningId"
  153. },
  154. "ApplicationInfo": {
  155. "application_id": "ApplicationId",
  156. "application": "Application"
  157. },
  158. "ApplicationIdSet": "BTreeSet<ApplicationId>",
  159. "ApplicationIdToWorkerIdMap": "BTreeMap<ApplicationId,WorkerId>",
  160. "WorkerId": "u64",
  161. "Worker": {
  162. "member_id": "MemberId",
  163. "role_account_id": "AccountId",
  164. "staking_account_id": "AccountId",
  165. "reward_account_id": "AccountId",
  166. "started_leaving_at": "Option<u32>",
  167. "job_unstaking_period": "u32",
  168. "reward_per_block": "Option<u128>",
  169. "missed_reward": "Option<u128>",
  170. "created_at": "u32"
  171. },
  172. "WorkerInfo": {
  173. "worker_id": "WorkerId",
  174. "worker": "Worker"
  175. },
  176. "Opening": {
  177. "opening_type": "OpeningType",
  178. "created": "u32",
  179. "description_hash": "Bytes",
  180. "stake_policy": "StakePolicy",
  181. "reward_per_block": "Option<u128>"
  182. },
  183. "OpeningId": "u64",
  184. "StakePolicy": {
  185. "stake_amount": "u128",
  186. "leaving_unstaking_period": "u32"
  187. },
  188. "StakeParameters": {
  189. "stake": "u128",
  190. "staking_account_id": "AccountId"
  191. },
  192. "StorageProviderId": "u64",
  193. "OpeningType": {
  194. "_enum": {
  195. "Leader": "Null",
  196. "Regular": "Null"
  197. }
  198. },
  199. "ApplyOnOpeningParameters": {
  200. "member_id": "MemberId",
  201. "opening_id": "OpeningId",
  202. "role_account_id": "AccountId",
  203. "reward_account_id": "AccountId",
  204. "description": "Bytes",
  205. "stake_parameters": "StakeParameters"
  206. },
  207. "Penalty": {
  208. "slashing_text": "Text",
  209. "slashing_amount": "u128"
  210. },
  211. "RewardPaymentType": {
  212. "_enum": [
  213. "MissedReward",
  214. "RegularReward"
  215. ]
  216. },
  217. "Url": "Text",
  218. "IPNSIdentity": "Text",
  219. "ServiceProviderRecord": {
  220. "identity": "IPNSIdentity",
  221. "expires_at": "u32"
  222. },
  223. "ContentId": "[u8;32]",
  224. "LiaisonJudgement": {
  225. "_enum": [
  226. "Pending",
  227. "Accepted",
  228. "Rejected"
  229. ]
  230. },
  231. "DataObject": {
  232. "owner": "MemberId",
  233. "added_at": "BlockAndTime",
  234. "type_id": "DataObjectTypeId",
  235. "size": "u64",
  236. "liaison": "StorageProviderId",
  237. "liaison_judgement": "LiaisonJudgement",
  238. "ipfs_content_id": "Text"
  239. },
  240. "DataObjectStorageRelationshipId": "u64",
  241. "DataObjectStorageRelationship": {
  242. "content_id": "ContentId",
  243. "storage_provider": "StorageProviderId",
  244. "ready": "bool"
  245. },
  246. "DataObjectTypeId": "u64",
  247. "DataObjectType": {
  248. "description": "Text",
  249. "active": "bool"
  250. },
  251. "DataObjectsMap": "BTreeMap<ContentId,DataObject>",
  252. "ParticipantId": "u64",
  253. "Title": "Text",
  254. "UpdatedTitle": "Option<Text>",
  255. "UpdatedBody": "Option<Text>",
  256. "ReplyId": "u64",
  257. "Reply": {
  258. "text_hash": "Hash",
  259. "owner": "ParticipantId",
  260. "parent_id": "PostId"
  261. },
  262. "ReplyToDelete": {
  263. "post_id": "PostId",
  264. "reply_id": "ReplyId",
  265. "hide": "bool"
  266. },
  267. "ProposalId": "u32",
  268. "ProposalStatus": {
  269. "_enum": {
  270. "Active": "Null",
  271. "PendingExecution": "u32",
  272. "PendingConstitutionality": "Null"
  273. }
  274. },
  275. "ProposalOf": {
  276. "parameters": "ProposalParameters",
  277. "proposerId": "MemberId",
  278. "activatedAt": "u32",
  279. "status": "ProposalStatus",
  280. "votingResults": "VotingResults",
  281. "exactExecutionBlock": "Option<u32>",
  282. "nrOfCouncilConfirmations": "u32",
  283. "stakingAccountId": "Option<AccountId>"
  284. },
  285. "ProposalDetails": {
  286. "_enum": {
  287. "Signal": "Text",
  288. "RuntimeUpgrade": "Bytes",
  289. "FundingRequest": "Vec<FundingRequestParameters>",
  290. "SetMaxValidatorCount": "u32",
  291. "CreateWorkingGroupLeadOpening": "CreateOpeningParameters",
  292. "FillWorkingGroupLeadOpening": "FillOpeningParameters",
  293. "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)",
  294. "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)",
  295. "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)",
  296. "SetWorkingGroupLeadReward": "(WorkerId,Option<Balance>,WorkingGroup)",
  297. "TerminateWorkingGroupLead": "TerminateRoleParameters",
  298. "AmendConstitution": "Text",
  299. "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)",
  300. "SetMembershipPrice": "u128",
  301. "SetCouncilBudgetIncrement": "u128",
  302. "SetCouncilorReward": "u128",
  303. "SetInitialInvitationBalance": "u128",
  304. "SetInitialInvitationCount": "u32",
  305. "SetMembershipLeadInvitationQuota": "u32",
  306. "SetReferralCut": "u8",
  307. "CreateBlogPost": "(Text,Text)",
  308. "EditBlogPost": "(PostId,Option<Text>,Option<Text>)",
  309. "LockBlogPost": "PostId",
  310. "UnlockBlogPost": "PostId",
  311. "VetoProposal": "ProposalId"
  312. }
  313. },
  314. "ProposalDetailsOf": {
  315. "_enum": {
  316. "Signal": "Text",
  317. "RuntimeUpgrade": "Bytes",
  318. "FundingRequest": "Vec<FundingRequestParameters>",
  319. "SetMaxValidatorCount": "u32",
  320. "CreateWorkingGroupLeadOpening": "CreateOpeningParameters",
  321. "FillWorkingGroupLeadOpening": "FillOpeningParameters",
  322. "UpdateWorkingGroupBudget": "(Balance,WorkingGroup,BalanceKind)",
  323. "DecreaseWorkingGroupLeadStake": "(WorkerId,Balance,WorkingGroup)",
  324. "SlashWorkingGroupLead": "(WorkerId,Balance,WorkingGroup)",
  325. "SetWorkingGroupLeadReward": "(WorkerId,Option<Balance>,WorkingGroup)",
  326. "TerminateWorkingGroupLead": "TerminateRoleParameters",
  327. "AmendConstitution": "Text",
  328. "CancelWorkingGroupLeadOpening": "(OpeningId,WorkingGroup)",
  329. "SetMembershipPrice": "u128",
  330. "SetCouncilBudgetIncrement": "u128",
  331. "SetCouncilorReward": "u128",
  332. "SetInitialInvitationBalance": "u128",
  333. "SetInitialInvitationCount": "u32",
  334. "SetMembershipLeadInvitationQuota": "u32",
  335. "SetReferralCut": "u8",
  336. "CreateBlogPost": "(Text,Text)",
  337. "EditBlogPost": "(PostId,Option<Text>,Option<Text>)",
  338. "LockBlogPost": "PostId",
  339. "UnlockBlogPost": "PostId",
  340. "VetoProposal": "ProposalId"
  341. }
  342. },
  343. "VotingResults": {
  344. "abstensions": "u32",
  345. "approvals": "u32",
  346. "rejections": "u32",
  347. "slashes": "u32"
  348. },
  349. "ProposalParameters": {
  350. "votingPeriod": "u32",
  351. "gracePeriod": "u32",
  352. "approvalQuorumPercentage": "u32",
  353. "approvalThresholdPercentage": "u32",
  354. "slashingQuorumPercentage": "u32",
  355. "slashingThresholdPercentage": "u32",
  356. "requiredStake": "Option<u128>",
  357. "constitutionality": "u32"
  358. },
  359. "GeneralProposalParameters": {
  360. "member_id": "MemberId",
  361. "title": "Text",
  362. "description": "Text",
  363. "staking_account_id": "Option<AccountId>",
  364. "exact_execution_block": "Option<u32>"
  365. },
  366. "VoteKind": {
  367. "_enum": [
  368. "Approve",
  369. "Reject",
  370. "Slash",
  371. "Abstain"
  372. ]
  373. },
  374. "DiscussionThread": {
  375. "activated_at": "u32",
  376. "author_id": "u64",
  377. "mode": "ThreadMode"
  378. },
  379. "DiscussionPost": {
  380. "author_id": "u64"
  381. },
  382. "CreateOpeningParameters": {
  383. "description": "Bytes",
  384. "stake_policy": "StakePolicy",
  385. "reward_per_block": "Option<u128>",
  386. "working_group": "WorkingGroup"
  387. },
  388. "FillOpeningParameters": {
  389. "opening_id": "OpeningId",
  390. "successful_application_id": "ApplicationId",
  391. "working_group": "WorkingGroup"
  392. },
  393. "TerminateRoleParameters": {
  394. "worker_id": "WorkerId",
  395. "slashing_amount": "Option<u128>",
  396. "working_group": "WorkingGroup"
  397. },
  398. "ProposalDecision": {
  399. "_enum": {
  400. "Canceled": "Null",
  401. "CanceledByRuntime": "Null",
  402. "Vetoed": "Null",
  403. "Rejected": "Null",
  404. "Slashed": "Null",
  405. "Expired": "Null",
  406. "Approved": "Approved"
  407. }
  408. },
  409. "ExecutionFailed": {
  410. "error": "Text"
  411. },
  412. "Approved": {
  413. "_enum": [
  414. "PendingExecution",
  415. "PendingConstitutionality"
  416. ]
  417. },
  418. "SetLeadParams": "(MemberId,AccountId)",
  419. "ThreadMode": {
  420. "_enum": {
  421. "Open": "Null",
  422. "Closed": "Vec<MemberId>"
  423. }
  424. },
  425. "ExecutionStatus": {
  426. "_enum": {
  427. "Executed": "Null",
  428. "ExecutionFailed": "ExecutionFailed"
  429. }
  430. },
  431. "FundingRequestParameters": {
  432. "account": "AccountId",
  433. "amount": "u128"
  434. },
  435. "Nonce": "u64",
  436. "EntityId": "u64",
  437. "ClassId": "u64",
  438. "CuratorId": "u64",
  439. "CuratorGroupId": "u64",
  440. "VecMaxLength": "u16",
  441. "TextMaxLength": "u16",
  442. "HashedTextMaxLength": "Option<u16>",
  443. "PropertyId": "u16",
  444. "SchemaId": "u16",
  445. "SameController": "bool",
  446. "ClassPermissions": {
  447. "any_member": "bool",
  448. "entity_creation_blocked": "bool",
  449. "all_entity_property_values_locked": "bool",
  450. "maintainers": "Vec<CuratorGroupId>"
  451. },
  452. "PropertyTypeSingle": {
  453. "_enum": {
  454. "Bool": "Null",
  455. "Uint16": "Null",
  456. "Uint32": "Null",
  457. "Uint64": "Null",
  458. "Int16": "Null",
  459. "Int32": "Null",
  460. "Int64": "Null",
  461. "Text": "TextMaxLength",
  462. "Hash": "HashedTextMaxLength",
  463. "Reference": "(ClassId,SameController)"
  464. }
  465. },
  466. "PropertyTypeVector": {
  467. "vec_type": "PropertyTypeSingle",
  468. "max_length": "VecMaxLength"
  469. },
  470. "PropertyType": {
  471. "_enum": {
  472. "Single": "PropertyTypeSingle",
  473. "Vector": "PropertyTypeVector"
  474. }
  475. },
  476. "PropertyLockingPolicy": {
  477. "is_locked_from_maintainer": "bool",
  478. "is_locked_from_controller": "bool"
  479. },
  480. "Property": {
  481. "property_type": "PropertyType",
  482. "required": "bool",
  483. "unique": "bool",
  484. "name": "Text",
  485. "description": "Text",
  486. "locking_policy": "PropertyLockingPolicy"
  487. },
  488. "Schema": {
  489. "properties": "Vec<PropertyId>",
  490. "is_active": "bool"
  491. },
  492. "Class": {
  493. "class_permissions": "ClassPermissions",
  494. "properties": "Vec<Property>",
  495. "schemas": "Vec<Schema>",
  496. "name": "Text",
  497. "description": "Text",
  498. "maximum_entities_count": "EntityId",
  499. "current_number_of_entities": "EntityId",
  500. "default_entity_creation_voucher_upper_bound": "EntityId"
  501. },
  502. "ClassOf": {
  503. "class_permissions": "ClassPermissions",
  504. "properties": "Vec<Property>",
  505. "schemas": "Vec<Schema>",
  506. "name": "Text",
  507. "description": "Text",
  508. "maximum_entities_count": "EntityId",
  509. "current_number_of_entities": "EntityId",
  510. "default_entity_creation_voucher_upper_bound": "EntityId"
  511. },
  512. "EntityController": {
  513. "_enum": {
  514. "Maintainers": "Null",
  515. "Member": "MemberId",
  516. "Lead": "Null"
  517. }
  518. },
  519. "EntityPermissions": {
  520. "controller": "EntityController",
  521. "frozen": "bool",
  522. "referenceable": "bool"
  523. },
  524. "StoredValue": {
  525. "_enum": {
  526. "Bool": "bool",
  527. "Uint16": "u16",
  528. "Uint32": "u32",
  529. "Uint64": "u64",
  530. "Int16": "i16",
  531. "Int32": "i32",
  532. "Int64": "i64",
  533. "Text": "Text",
  534. "Hash": "Hash",
  535. "Reference": "EntityId"
  536. }
  537. },
  538. "VecStoredValue": {
  539. "_enum": {
  540. "Bool": "Vec<bool>",
  541. "Uint16": "Vec<u16>",
  542. "Uint32": "Vec<u32>",
  543. "Uint64": "Vec<u64>",
  544. "Int16": "Vec<i16>",
  545. "Int32": "Vec<i32>",
  546. "Int64": "Vec<i64>",
  547. "Hash": "Vec<Hash>",
  548. "Text": "Vec<Text>",
  549. "Reference": "Vec<EntityId>"
  550. }
  551. },
  552. "VecStoredPropertyValue": {
  553. "vec_value": "VecStoredValue",
  554. "nonce": "Nonce"
  555. },
  556. "StoredPropertyValue": {
  557. "_enum": {
  558. "Single": "StoredValue",
  559. "Vector": "VecStoredPropertyValue"
  560. }
  561. },
  562. "InboundReferenceCounter": {
  563. "total": "u32",
  564. "same_owner": "u32"
  565. },
  566. "Entity": {
  567. "entity_permissions": "EntityPermissions",
  568. "class_id": "ClassId",
  569. "supported_schemas": "Vec<SchemaId>",
  570. "values": "BTreeMap<PropertyId,StoredPropertyValue>",
  571. "reference_counter": "InboundReferenceCounter"
  572. },
  573. "EntityOf": {
  574. "entity_permissions": "EntityPermissions",
  575. "class_id": "ClassId",
  576. "supported_schemas": "Vec<SchemaId>",
  577. "values": "BTreeMap<PropertyId,StoredPropertyValue>",
  578. "reference_counter": "InboundReferenceCounter"
  579. },
  580. "CuratorGroup": {
  581. "curators": "Vec<CuratorId>",
  582. "active": "bool",
  583. "number_of_classes_maintained": "u32"
  584. },
  585. "EntityCreationVoucher": {
  586. "maximum_entities_count": "EntityId",
  587. "entities_created": "EntityId"
  588. },
  589. "Actor": {
  590. "_enum": {
  591. "Curator": "(CuratorGroupId,CuratorId)",
  592. "Member": "MemberId",
  593. "Lead": "Null"
  594. }
  595. },
  596. "EntityReferenceCounterSideEffect": {
  597. "total": "i32",
  598. "same_owner": "i32"
  599. },
  600. "ReferenceCounterSideEffects": "BTreeMap<EntityId,EntityReferenceCounterSideEffect>",
  601. "SideEffects": "Option<ReferenceCounterSideEffects>",
  602. "SideEffect": "Option<(EntityId,EntityReferenceCounterSideEffect)>",
  603. "Status": "bool",
  604. "InputValue": {
  605. "_enum": {
  606. "Bool": "bool",
  607. "Uint16": "u16",
  608. "Uint32": "u32",
  609. "Uint64": "u64",
  610. "Int16": "i16",
  611. "Int32": "i32",
  612. "Int64": "i64",
  613. "Text": "Text",
  614. "TextToHash": "Text",
  615. "Reference": "EntityId"
  616. }
  617. },
  618. "VecInputValue": {
  619. "_enum": {
  620. "Bool": "Vec<bool>",
  621. "Uint16": "Vec<u16>",
  622. "Uint32": "Vec<u32>",
  623. "Uint64": "Vec<u64>",
  624. "Int16": "Vec<i16>",
  625. "Int32": "Vec<i32>",
  626. "Int64": "Vec<i64>",
  627. "TextToHash": "Vec<Text>",
  628. "Text": "Vec<Text>",
  629. "Reference": "Vec<EntityId>"
  630. }
  631. },
  632. "InputPropertyValue": {
  633. "_enum": {
  634. "Single": "InputValue",
  635. "Vector": "VecInputValue"
  636. }
  637. },
  638. "ParameterizedEntity": {
  639. "_enum": {
  640. "InternalEntityJustAdded": "u32",
  641. "ExistingEntity": "EntityId"
  642. }
  643. },
  644. "ParametrizedPropertyValue": {
  645. "_enum": {
  646. "InputPropertyValue": "InputPropertyValue",
  647. "InternalEntityJustAdded": "u32",
  648. "InternalEntityVec": "Vec<ParameterizedEntity>"
  649. }
  650. },
  651. "ParametrizedClassPropertyValue": {
  652. "in_class_index": "PropertyId",
  653. "value": "ParametrizedPropertyValue"
  654. },
  655. "CreateEntityOperation": {
  656. "class_id": "ClassId"
  657. },
  658. "UpdatePropertyValuesOperation": {
  659. "entity_id": "ParameterizedEntity",
  660. "new_parametrized_property_values": "Vec<ParametrizedClassPropertyValue>"
  661. },
  662. "AddSchemaSupportToEntityOperation": {
  663. "entity_id": "ParameterizedEntity",
  664. "schema_id": "SchemaId",
  665. "parametrized_property_values": "Vec<ParametrizedClassPropertyValue>"
  666. },
  667. "OperationType": {
  668. "_enum": {
  669. "CreateEntity": "CreateEntityOperation",
  670. "UpdatePropertyValues": "UpdatePropertyValuesOperation",
  671. "AddSchemaSupportToEntity": "AddSchemaSupportToEntityOperation"
  672. }
  673. },
  674. "InputEntityValuesMap": "BTreeMap<PropertyId,InputPropertyValue>",
  675. "FailedAt": "u32",
  676. "ReferendumStageVoting": {
  677. "started": "u32",
  678. "winning_target_count": "u64",
  679. "current_cycle_id": "u64"
  680. },
  681. "ReferendumStageRevealing": {
  682. "started": "u32",
  683. "winning_target_count": "u64",
  684. "intermediate_winners": "Vec<OptionResult>",
  685. "current_cycle_id": "u64"
  686. },
  687. "ReferendumStage": {
  688. "_enum": {
  689. "Inactive": "Null",
  690. "Voting": "ReferendumStageVoting",
  691. "Revealing": "ReferendumStageRevealing"
  692. }
  693. },
  694. "OptionResult": {
  695. "option_id": "MemberId",
  696. "vote_power": "VotePower"
  697. },
  698. "VotePower": "u128",
  699. "ConstitutionInfo": {
  700. "text_hash": "Hash"
  701. },
  702. "BountyId": "u32",
  703. "EntryId": "u32",
  704. "BountyActor": {
  705. "_enum": {
  706. "Council": "Null",
  707. "Member": "MemberId"
  708. }
  709. },
  710. "AssuranceContractType": {
  711. "_enum": {
  712. "Open": "Null",
  713. "Closed": "Vec<MemberId>"
  714. }
  715. },
  716. "FundingType_Limited": {
  717. "min_funding_amount": "u128",
  718. "max_funding_amount": "u128",
  719. "funding_period": "u32"
  720. },
  721. "FundingType_Perpetual": {
  722. "target": "u128"
  723. },
  724. "FundingType": {
  725. "_enum": {
  726. "Perpetual": "FundingType_Perpetual",
  727. "Limited": "FundingType_Limited"
  728. }
  729. },
  730. "BountyCreationParameters": {
  731. "oracle": "BountyActor",
  732. "contract_type": "AssuranceContractType",
  733. "creator": "BountyActor",
  734. "cherry": "u128",
  735. "entrant_stake": "u128",
  736. "funding_type": "FundingType",
  737. "work_period": "u32",
  738. "judging_period": "u32"
  739. },
  740. "OracleJudgment_Winner": {
  741. "reward": "u128"
  742. },
  743. "OracleJudgment": {
  744. "_enum": {
  745. "Winner": "OracleJudgment_Winner",
  746. "Rejected": "Null"
  747. }
  748. },
  749. "Entry": {
  750. "member_id": "MemberId",
  751. "staking_account_id": "GenericAccountId",
  752. "submitted_at": "u32",
  753. "work_submitted": "bool",
  754. "oracle_judgment_result": "Option<OracleJudgment>"
  755. }
  756. }