types.ts 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257
  1. // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
  2. /* eslint-disable */
  3. import type { BTreeMap, BTreeSet, Bytes, Enum, GenericAccountId, Null, Option, Struct, Text, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';
  4. import type { ITuple } from '@polkadot/types/types';
  5. import type { AccountId, Balance, Hash } from '@polkadot/types/interfaces/runtime';
  6. import type { AccountInfoWithRefCount } from '@polkadot/types/interfaces/system';
  7. /** @name AcceptingApplications */
  8. export interface AcceptingApplications extends Struct {
  9. readonly started_accepting_applicants_at_block: u32;
  10. }
  11. /** @name AccountInfo */
  12. export interface AccountInfo extends AccountInfoWithRefCount {}
  13. /** @name ActivateOpeningAt */
  14. export interface ActivateOpeningAt extends Enum {
  15. readonly isCurrentBlock: boolean;
  16. readonly isExactBlock: boolean;
  17. readonly asExactBlock: u32;
  18. }
  19. /** @name ActiveOpeningStage */
  20. export interface ActiveOpeningStage extends Enum {
  21. readonly isAcceptingApplications: boolean;
  22. readonly asAcceptingApplications: AcceptingApplications;
  23. readonly isReviewPeriod: boolean;
  24. readonly asReviewPeriod: ReviewPeriod;
  25. readonly isDeactivated: boolean;
  26. readonly asDeactivated: Deactivated;
  27. }
  28. /** @name ActiveOpeningStageVariant */
  29. export interface ActiveOpeningStageVariant extends Struct {
  30. readonly stage: ActiveOpeningStage;
  31. readonly applications_added: BTreeSet<ApplicationId>;
  32. readonly active_application_count: u32;
  33. readonly unstaking_application_count: u32;
  34. readonly deactivated_application_count: u32;
  35. }
  36. /** @name ActiveStake */
  37. export interface ActiveStake extends Struct {
  38. readonly stake_id: StakeId;
  39. readonly source_account_id: GenericAccountId;
  40. }
  41. /** @name ActorId */
  42. export interface ActorId extends u64 {}
  43. /** @name AddOpeningParameters */
  44. export interface AddOpeningParameters extends Struct {
  45. readonly activate_at: ActivateOpeningAt;
  46. readonly commitment: OpeningPolicyCommitment;
  47. readonly human_readable_text: Bytes;
  48. readonly working_group: WorkingGroup;
  49. }
  50. /** @name Address */
  51. export interface Address extends AccountId {}
  52. /** @name AdjustCapacityBy */
  53. export interface AdjustCapacityBy extends Enum {
  54. readonly isSetting: boolean;
  55. readonly asSetting: u128;
  56. readonly isAdding: boolean;
  57. readonly asAdding: u128;
  58. readonly isReducing: boolean;
  59. readonly asReducing: u128;
  60. }
  61. /** @name AdjustOnInterval */
  62. export interface AdjustOnInterval extends Struct {
  63. readonly block_interval: u32;
  64. readonly adjustment_type: AdjustCapacityBy;
  65. }
  66. /** @name Application */
  67. export interface Application extends Struct {
  68. readonly opening_id: OpeningId;
  69. readonly application_index_in_opening: u32;
  70. readonly add_to_opening_in_block: u32;
  71. readonly active_role_staking_id: Option<StakeId>;
  72. readonly active_application_staking_id: Option<StakeId>;
  73. readonly stage: ApplicationStage;
  74. readonly human_readable_text: Text;
  75. }
  76. /** @name ApplicationDeactivationCause */
  77. export interface ApplicationDeactivationCause extends Enum {
  78. readonly isExternal: boolean;
  79. readonly isHired: boolean;
  80. readonly isNotHired: boolean;
  81. readonly isCrowdedOut: boolean;
  82. readonly isOpeningCancelled: boolean;
  83. readonly isReviewPeriodExpired: boolean;
  84. readonly isOpeningFilled: boolean;
  85. }
  86. /** @name ApplicationId */
  87. export interface ApplicationId extends u64 {}
  88. /** @name ApplicationIdSet */
  89. export interface ApplicationIdSet extends BTreeSet<ApplicationId> {}
  90. /** @name ApplicationIdToWorkerIdMap */
  91. export interface ApplicationIdToWorkerIdMap extends BTreeMap<ApplicationId, WorkerId> {}
  92. /** @name ApplicationOf */
  93. export interface ApplicationOf extends Struct {
  94. readonly role_account_id: GenericAccountId;
  95. readonly opening_id: OpeningId;
  96. readonly member_id: MemberId;
  97. readonly application_id: ApplicationId;
  98. }
  99. /** @name ApplicationRationingPolicy */
  100. export interface ApplicationRationingPolicy extends Struct {
  101. readonly max_active_applicants: u32;
  102. }
  103. /** @name ApplicationStage */
  104. export interface ApplicationStage extends Enum {
  105. readonly isActive: boolean;
  106. readonly isUnstaking: boolean;
  107. readonly asUnstaking: UnstakingApplicationStage;
  108. readonly isInactive: boolean;
  109. readonly asInactive: InactiveApplicationStage;
  110. }
  111. /** @name Approved */
  112. export interface Approved extends Enum {
  113. readonly isPendingExecution: boolean;
  114. readonly isExecuted: boolean;
  115. readonly isExecutionFailed: boolean;
  116. readonly asExecutionFailed: ExecutionFailed;
  117. }
  118. /** @name Backer */
  119. export interface Backer extends Struct {
  120. readonly member: GenericAccountId;
  121. readonly stake: u128;
  122. }
  123. /** @name Backers */
  124. export interface Backers extends Vec<Backer> {}
  125. /** @name Bag */
  126. export interface Bag extends Struct {
  127. readonly stored_by: BTreeSet<StorageBucketId>;
  128. readonly distributed_by: BTreeSet<DistributionBucketId>;
  129. readonly deletion_prize: Option<u128>;
  130. readonly objects_total_size: u64;
  131. readonly objects_number: u64;
  132. }
  133. /** @name BagId */
  134. export interface BagId extends Enum {
  135. readonly isStatic: boolean;
  136. readonly asStatic: Static;
  137. readonly isDynamic: boolean;
  138. readonly asDynamic: Dynamic;
  139. }
  140. /** @name BagIdType */
  141. export interface BagIdType extends Enum {
  142. readonly isStatic: boolean;
  143. readonly asStatic: Static;
  144. readonly isDynamic: boolean;
  145. readonly asDynamic: Dynamic;
  146. }
  147. /** @name BalanceOfMint */
  148. export interface BalanceOfMint extends u128 {}
  149. /** @name BlockAndTime */
  150. export interface BlockAndTime extends Struct {
  151. readonly block: u32;
  152. readonly time: u64;
  153. }
  154. /** @name Category */
  155. export interface Category extends Struct {
  156. readonly id: CategoryId;
  157. readonly title: Text;
  158. readonly description: Text;
  159. readonly created_at: BlockAndTime;
  160. readonly deleted: bool;
  161. readonly archived: bool;
  162. readonly num_direct_subcategories: u32;
  163. readonly num_direct_unmoderated_threads: u32;
  164. readonly num_direct_moderated_threads: u32;
  165. readonly position_in_parent_category: Option<ChildPositionInParentCategory>;
  166. readonly moderator_id: GenericAccountId;
  167. }
  168. /** @name CategoryId */
  169. export interface CategoryId extends u64 {}
  170. /** @name Channel */
  171. export interface Channel extends Struct {
  172. readonly owner: ChannelOwner;
  173. readonly num_videos: u64;
  174. readonly is_censored: bool;
  175. readonly reward_account: Option<GenericAccountId>;
  176. readonly collaborators: BTreeSet<MemberId>;
  177. }
  178. /** @name ChannelCategory */
  179. export interface ChannelCategory extends Struct {}
  180. /** @name ChannelCategoryCreationParameters */
  181. export interface ChannelCategoryCreationParameters extends Struct {
  182. readonly meta: Bytes;
  183. }
  184. /** @name ChannelCategoryId */
  185. export interface ChannelCategoryId extends u64 {}
  186. /** @name ChannelCategoryUpdateParameters */
  187. export interface ChannelCategoryUpdateParameters extends Struct {
  188. readonly new_meta: Bytes;
  189. }
  190. /** @name ChannelCreationParameters */
  191. export interface ChannelCreationParameters extends Struct {
  192. readonly assets: Option<StorageAssets>;
  193. readonly meta: Option<Bytes>;
  194. readonly reward_account: Option<GenericAccountId>;
  195. readonly collaborators: BTreeSet<MemberId>;
  196. }
  197. /** @name ChannelId */
  198. export interface ChannelId extends u64 {}
  199. /** @name ChannelMigrationConfig */
  200. export interface ChannelMigrationConfig extends Struct {
  201. readonly current_id: ChannelId;
  202. readonly final_id: ChannelId;
  203. }
  204. /** @name ChannelOwner */
  205. export interface ChannelOwner extends Enum {
  206. readonly isMember: boolean;
  207. readonly asMember: MemberId;
  208. readonly isCurators: boolean;
  209. readonly asCurators: CuratorGroupId;
  210. }
  211. /** @name ChannelOwnershipTransferRequest */
  212. export interface ChannelOwnershipTransferRequest extends Struct {
  213. readonly channel_id: ChannelId;
  214. readonly new_owner: ChannelOwner;
  215. readonly payment: u128;
  216. readonly new_reward_account: Option<GenericAccountId>;
  217. }
  218. /** @name ChannelOwnershipTransferRequestId */
  219. export interface ChannelOwnershipTransferRequestId extends u64 {}
  220. /** @name ChannelUpdateParameters */
  221. export interface ChannelUpdateParameters extends Struct {
  222. readonly assets_to_upload: Option<StorageAssets>;
  223. readonly new_meta: Option<Bytes>;
  224. readonly reward_account: Option<Option<GenericAccountId>>;
  225. readonly assets_to_remove: BTreeSet<DataObjectId>;
  226. readonly collaborators: Option<BTreeSet<MemberId>>;
  227. }
  228. /** @name ChildPositionInParentCategory */
  229. export interface ChildPositionInParentCategory extends Struct {
  230. readonly parent_id: CategoryId;
  231. readonly child_nr_in_parent_category: u32;
  232. }
  233. /** @name Cid */
  234. export interface Cid extends Bytes {}
  235. /** @name ContentActor */
  236. export interface ContentActor extends Enum {
  237. readonly isCurator: boolean;
  238. readonly asCurator: ITuple<[CuratorGroupId, CuratorId]>;
  239. readonly isMember: boolean;
  240. readonly asMember: MemberId;
  241. readonly isLead: boolean;
  242. readonly isCollaborator: boolean;
  243. readonly asCollaborator: MemberId;
  244. }
  245. /** @name ContentId */
  246. export interface ContentId extends Null {}
  247. /** @name ContentIdSet */
  248. export interface ContentIdSet extends BTreeSet<Cid> {}
  249. /** @name ContentParameters */
  250. export interface ContentParameters extends Null {}
  251. /** @name CuratorGroup */
  252. export interface CuratorGroup extends Struct {
  253. readonly curators: BTreeSet<CuratorId>;
  254. readonly active: bool;
  255. }
  256. /** @name CuratorGroupId */
  257. export interface CuratorGroupId extends u64 {}
  258. /** @name CuratorId */
  259. export interface CuratorId extends u64 {}
  260. /** @name DataObject */
  261. export interface DataObject extends Struct {
  262. readonly accepted: bool;
  263. readonly deletion_prize: u128;
  264. readonly ipfsContentId: Bytes;
  265. }
  266. /** @name DataObjectCreationParameters */
  267. export interface DataObjectCreationParameters extends Struct {
  268. readonly ipfsContentId: Bytes;
  269. }
  270. /** @name DataObjectId */
  271. export interface DataObjectId extends u64 {}
  272. /** @name DataObjectIdMap */
  273. export interface DataObjectIdMap extends BTreeMap<DataObjectId, DataObject> {}
  274. /** @name DataObjectIdSet */
  275. export interface DataObjectIdSet extends BTreeSet<DataObjectId> {}
  276. /** @name DataObjectStorageRelationship */
  277. export interface DataObjectStorageRelationship extends Null {}
  278. /** @name DataObjectStorageRelationshipId */
  279. export interface DataObjectStorageRelationshipId extends Null {}
  280. /** @name DataObjectType */
  281. export interface DataObjectType extends Null {}
  282. /** @name DataObjectTypeId */
  283. export interface DataObjectTypeId extends Null {}
  284. /** @name Deactivated */
  285. export interface Deactivated extends Struct {
  286. readonly cause: OpeningDeactivationCause;
  287. readonly deactivated_at_block: u32;
  288. readonly started_accepting_applicants_at_block: u32;
  289. readonly started_review_period_at_block: Option<u32>;
  290. }
  291. /** @name DiscussionPost */
  292. export interface DiscussionPost extends Struct {
  293. readonly text: Bytes;
  294. readonly created_at: u32;
  295. readonly updated_at: u32;
  296. readonly author_id: MemberId;
  297. readonly thread_id: ThreadId;
  298. readonly edition_number: u32;
  299. }
  300. /** @name DiscussionThread */
  301. export interface DiscussionThread extends Struct {
  302. readonly title: Bytes;
  303. readonly created_at: u32;
  304. readonly author_id: MemberId;
  305. }
  306. /** @name DistributionBucket */
  307. export interface DistributionBucket extends Struct {
  308. readonly accepting_new_bags: bool;
  309. readonly distributing: bool;
  310. readonly pending_invitations: BTreeSet<WorkerId>;
  311. readonly operators: BTreeSet<WorkerId>;
  312. readonly assigned_bags: u64;
  313. }
  314. /** @name DistributionBucketFamily */
  315. export interface DistributionBucketFamily extends Struct {
  316. readonly next_distribution_bucket_index: DistributionBucketIndex;
  317. }
  318. /** @name DistributionBucketFamilyId */
  319. export interface DistributionBucketFamilyId extends u64 {}
  320. /** @name DistributionBucketId */
  321. export interface DistributionBucketId extends Struct {
  322. readonly distribution_bucket_family_id: DistributionBucketFamilyId;
  323. readonly distribution_bucket_index: DistributionBucketIndex;
  324. }
  325. /** @name DistributionBucketIndex */
  326. export interface DistributionBucketIndex extends u64 {}
  327. /** @name DistributionBucketIndexSet */
  328. export interface DistributionBucketIndexSet extends BTreeSet<DistributionBucketIndex> {}
  329. /** @name Dynamic */
  330. export interface Dynamic extends Enum {
  331. readonly isMember: boolean;
  332. readonly asMember: MemberId;
  333. readonly isChannel: boolean;
  334. readonly asChannel: u64;
  335. }
  336. /** @name DynamicBagCreationPolicy */
  337. export interface DynamicBagCreationPolicy extends Struct {
  338. readonly numberOfStorageBuckets: u64;
  339. readonly families: BTreeMap<DistributionBucketFamilyId, u32>;
  340. }
  341. /** @name DynamicBagCreationPolicyDistributorFamiliesMap */
  342. export interface DynamicBagCreationPolicyDistributorFamiliesMap extends BTreeMap<DistributionBucketFamilyId, u32> {}
  343. /** @name DynamicBagDeletionPrize */
  344. export interface DynamicBagDeletionPrize extends Struct {
  345. readonly account_id: GenericAccountId;
  346. readonly prize: u128;
  347. }
  348. /** @name DynamicBagDeletionPrizeRecord */
  349. export interface DynamicBagDeletionPrizeRecord extends Struct {
  350. readonly account_id: GenericAccountId;
  351. readonly prize: u128;
  352. }
  353. /** @name DynamicBagId */
  354. export interface DynamicBagId extends Enum {
  355. readonly isMember: boolean;
  356. readonly asMember: MemberId;
  357. readonly isChannel: boolean;
  358. readonly asChannel: u64;
  359. }
  360. /** @name DynamicBagType */
  361. export interface DynamicBagType extends Enum {
  362. readonly isMember: boolean;
  363. readonly isChannel: boolean;
  364. }
  365. /** @name ElectionParameters */
  366. export interface ElectionParameters extends Struct {
  367. readonly announcing_period: u32;
  368. readonly voting_period: u32;
  369. readonly revealing_period: u32;
  370. readonly council_size: u32;
  371. readonly candidacy_limit: u32;
  372. readonly new_term_duration: u32;
  373. readonly min_council_stake: u128;
  374. readonly min_voting_stake: u128;
  375. }
  376. /** @name ElectionStage */
  377. export interface ElectionStage extends Enum {
  378. readonly isAnnouncing: boolean;
  379. readonly asAnnouncing: u32;
  380. readonly isVoting: boolean;
  381. readonly asVoting: u32;
  382. readonly isRevealing: boolean;
  383. readonly asRevealing: u32;
  384. }
  385. /** @name ElectionStake */
  386. export interface ElectionStake extends Struct {
  387. readonly new: u128;
  388. readonly transferred: u128;
  389. }
  390. /** @name EntryMethod */
  391. export interface EntryMethod extends Enum {
  392. readonly isPaid: boolean;
  393. readonly asPaid: u64;
  394. readonly isScreening: boolean;
  395. readonly asScreening: AccountId;
  396. readonly isGenesis: boolean;
  397. }
  398. /** @name EpisodeParemters */
  399. export interface EpisodeParemters extends Enum {
  400. readonly isNewVideo: boolean;
  401. readonly asNewVideo: VideoCreationParameters;
  402. readonly isExistingVideo: boolean;
  403. readonly asExistingVideo: VideoId;
  404. }
  405. /** @name ExecutionFailed */
  406. export interface ExecutionFailed extends Struct {
  407. readonly error: Bytes;
  408. }
  409. /** @name FillOpeningParameters */
  410. export interface FillOpeningParameters extends Struct {
  411. readonly opening_id: OpeningId;
  412. readonly successful_application_id: ApplicationId;
  413. readonly reward_policy: Option<RewardPolicy>;
  414. readonly working_group: WorkingGroup;
  415. }
  416. /** @name Finalized */
  417. export interface Finalized extends Struct {
  418. readonly proposalStatus: ProposalDecisionStatus;
  419. readonly finalizedAt: u32;
  420. readonly encodedUnstakingErrorDueToBrokenRuntime: Option<Bytes>;
  421. readonly stakeDataAfterUnstakingError: Option<ActiveStake>;
  422. }
  423. /** @name HiringApplicationId */
  424. export interface HiringApplicationId extends u64 {}
  425. /** @name InactiveApplicationStage */
  426. export interface InactiveApplicationStage extends Struct {
  427. readonly deactivation_initiated: u32;
  428. readonly deactivated: u32;
  429. readonly cause: ApplicationDeactivationCause;
  430. }
  431. /** @name InputValidationLengthConstraint */
  432. export interface InputValidationLengthConstraint extends Struct {
  433. readonly min: u16;
  434. readonly max_min_diff: u16;
  435. }
  436. /** @name IsCensored */
  437. export interface IsCensored extends bool {}
  438. /** @name LookupSource */
  439. export interface LookupSource extends AccountId {}
  440. /** @name MaxNumber */
  441. export interface MaxNumber extends u32 {}
  442. /** @name MemberId */
  443. export interface MemberId extends u64 {}
  444. /** @name Membership */
  445. export interface Membership extends Struct {
  446. readonly handle: Text;
  447. readonly avatar_uri: Text;
  448. readonly about: Text;
  449. readonly registered_at_block: u32;
  450. readonly registered_at_time: u64;
  451. readonly entry: EntryMethod;
  452. readonly suspended: bool;
  453. readonly subscription: Option<SubscriptionId>;
  454. readonly root_account: GenericAccountId;
  455. readonly controller_account: GenericAccountId;
  456. }
  457. /** @name MemoText */
  458. export interface MemoText extends Text {}
  459. /** @name Mint */
  460. export interface Mint extends Struct {
  461. readonly capacity: u128;
  462. readonly next_adjustment: Option<NextAdjustment>;
  463. readonly created_at: u32;
  464. readonly total_minted: u128;
  465. }
  466. /** @name MintBalanceOf */
  467. export interface MintBalanceOf extends u128 {}
  468. /** @name MintId */
  469. export interface MintId extends u64 {}
  470. /** @name ModerationAction */
  471. export interface ModerationAction extends Struct {
  472. readonly moderated_at: BlockAndTime;
  473. readonly moderator_id: GenericAccountId;
  474. readonly rationale: Text;
  475. }
  476. /** @name NewAsset */
  477. export interface NewAsset extends Null {}
  478. /** @name NextAdjustment */
  479. export interface NextAdjustment extends Struct {
  480. readonly adjustment: AdjustOnInterval;
  481. readonly at_block: u32;
  482. }
  483. /** @name ObjectOwner */
  484. export interface ObjectOwner extends Null {}
  485. /** @name Opening */
  486. export interface Opening extends Struct {
  487. readonly created: u32;
  488. readonly stage: OpeningStage;
  489. readonly max_review_period_length: u32;
  490. readonly application_rationing_policy: Option<ApplicationRationingPolicy>;
  491. readonly application_staking_policy: Option<StakingPolicy>;
  492. readonly role_staking_policy: Option<StakingPolicy>;
  493. readonly human_readable_text: Text;
  494. }
  495. /** @name OpeningDeactivationCause */
  496. export interface OpeningDeactivationCause extends Enum {
  497. readonly isCancelledBeforeActivation: boolean;
  498. readonly isCancelledAcceptingApplications: boolean;
  499. readonly isCancelledInReviewPeriod: boolean;
  500. readonly isReviewPeriodExpired: boolean;
  501. readonly isFilled: boolean;
  502. }
  503. /** @name OpeningId */
  504. export interface OpeningId extends u64 {}
  505. /** @name OpeningOf */
  506. export interface OpeningOf extends Struct {
  507. readonly hiring_opening_id: OpeningId;
  508. readonly applications: BTreeSet<ApplicationId>;
  509. readonly policy_commitment: OpeningPolicyCommitment;
  510. readonly opening_type: OpeningType;
  511. }
  512. /** @name OpeningPolicyCommitment */
  513. export interface OpeningPolicyCommitment extends Struct {
  514. readonly application_rationing_policy: Option<ApplicationRationingPolicy>;
  515. readonly max_review_period_length: u32;
  516. readonly application_staking_policy: Option<StakingPolicy>;
  517. readonly role_staking_policy: Option<StakingPolicy>;
  518. readonly role_slashing_terms: SlashingTerms;
  519. readonly fill_opening_successful_applicant_application_stake_unstaking_period: Option<u32>;
  520. readonly fill_opening_failed_applicant_application_stake_unstaking_period: Option<u32>;
  521. readonly fill_opening_failed_applicant_role_stake_unstaking_period: Option<u32>;
  522. readonly terminate_application_stake_unstaking_period: Option<u32>;
  523. readonly terminate_role_stake_unstaking_period: Option<u32>;
  524. readonly exit_role_application_stake_unstaking_period: Option<u32>;
  525. readonly exit_role_stake_unstaking_period: Option<u32>;
  526. }
  527. /** @name OpeningStage */
  528. export interface OpeningStage extends Enum {
  529. readonly isWaitingToBegin: boolean;
  530. readonly asWaitingToBegin: WaitingToBeingOpeningStageVariant;
  531. readonly isActive: boolean;
  532. readonly asActive: ActiveOpeningStageVariant;
  533. }
  534. /** @name OpeningType */
  535. export interface OpeningType extends Enum {
  536. readonly isLeader: boolean;
  537. readonly isWorker: boolean;
  538. }
  539. /** @name PaidMembershipTerms */
  540. export interface PaidMembershipTerms extends Struct {
  541. readonly fee: u128;
  542. readonly text: Text;
  543. }
  544. /** @name PaidTermId */
  545. export interface PaidTermId extends u64 {}
  546. /** @name Person */
  547. export interface Person extends Struct {
  548. readonly controlled_by: PersonController;
  549. }
  550. /** @name PersonActor */
  551. export interface PersonActor extends Enum {
  552. readonly isMember: boolean;
  553. readonly asMember: MemberId;
  554. readonly isCurator: boolean;
  555. readonly asCurator: CuratorId;
  556. }
  557. /** @name PersonController */
  558. export interface PersonController extends Enum {
  559. readonly isMember: boolean;
  560. readonly asMember: MemberId;
  561. readonly isCurators: boolean;
  562. }
  563. /** @name PersonCreationParameters */
  564. export interface PersonCreationParameters extends Struct {
  565. readonly assets: StorageAssets;
  566. readonly meta: Bytes;
  567. }
  568. /** @name PersonId */
  569. export interface PersonId extends u64 {}
  570. /** @name PersonUpdateParameters */
  571. export interface PersonUpdateParameters extends Struct {
  572. readonly assets: Option<StorageAssets>;
  573. readonly meta: Option<Bytes>;
  574. }
  575. /** @name Playlist */
  576. export interface Playlist extends Struct {
  577. readonly in_channel: ChannelId;
  578. }
  579. /** @name PlaylistCreationParameters */
  580. export interface PlaylistCreationParameters extends Struct {
  581. readonly meta: Bytes;
  582. }
  583. /** @name PlaylistId */
  584. export interface PlaylistId extends u64 {}
  585. /** @name PlaylistUpdateParameters */
  586. export interface PlaylistUpdateParameters extends Struct {
  587. readonly new_meta: Bytes;
  588. }
  589. /** @name Post */
  590. export interface Post extends Struct {
  591. readonly id: PostId;
  592. readonly thread_id: ThreadId;
  593. readonly nr_in_thread: u32;
  594. readonly current_text: Text;
  595. readonly moderation: Option<ModerationAction>;
  596. readonly text_change_history: Vec<PostTextChange>;
  597. readonly created_at: BlockAndTime;
  598. readonly author_id: GenericAccountId;
  599. }
  600. /** @name PostId */
  601. export interface PostId extends u64 {}
  602. /** @name PostTextChange */
  603. export interface PostTextChange extends Struct {
  604. readonly expired_at: BlockAndTime;
  605. readonly text: Text;
  606. }
  607. /** @name ProposalDecisionStatus */
  608. export interface ProposalDecisionStatus extends Enum {
  609. readonly isCanceled: boolean;
  610. readonly isVetoed: boolean;
  611. readonly isRejected: boolean;
  612. readonly isSlashed: boolean;
  613. readonly isExpired: boolean;
  614. readonly isApproved: boolean;
  615. readonly asApproved: Approved;
  616. }
  617. /** @name ProposalDetails */
  618. export interface ProposalDetails extends Enum {
  619. readonly isText: boolean;
  620. readonly asText: Bytes;
  621. readonly isRuntimeUpgrade: boolean;
  622. readonly asRuntimeUpgrade: Bytes;
  623. readonly isSetElectionParameters: boolean;
  624. readonly asSetElectionParameters: ElectionParameters;
  625. readonly isSpending: boolean;
  626. readonly asSpending: ITuple<[Balance, AccountId]>;
  627. readonly isSetLead: boolean;
  628. readonly asSetLead: Option<SetLeadParams>;
  629. readonly isSetContentWorkingGroupMintCapacity: boolean;
  630. readonly asSetContentWorkingGroupMintCapacity: u128;
  631. readonly isEvictStorageProvider: boolean;
  632. readonly asEvictStorageProvider: GenericAccountId;
  633. readonly isSetValidatorCount: boolean;
  634. readonly asSetValidatorCount: u32;
  635. readonly isSetStorageRoleParameters: boolean;
  636. readonly asSetStorageRoleParameters: RoleParameters;
  637. readonly isAddWorkingGroupLeaderOpening: boolean;
  638. readonly asAddWorkingGroupLeaderOpening: AddOpeningParameters;
  639. readonly isBeginReviewWorkingGroupLeaderApplication: boolean;
  640. readonly asBeginReviewWorkingGroupLeaderApplication: ITuple<[OpeningId, WorkingGroup]>;
  641. readonly isFillWorkingGroupLeaderOpening: boolean;
  642. readonly asFillWorkingGroupLeaderOpening: FillOpeningParameters;
  643. readonly isSetWorkingGroupMintCapacity: boolean;
  644. readonly asSetWorkingGroupMintCapacity: ITuple<[Balance, WorkingGroup]>;
  645. readonly isDecreaseWorkingGroupLeaderStake: boolean;
  646. readonly asDecreaseWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
  647. readonly isSlashWorkingGroupLeaderStake: boolean;
  648. readonly asSlashWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
  649. readonly isSetWorkingGroupLeaderReward: boolean;
  650. readonly asSetWorkingGroupLeaderReward: ITuple<[WorkerId, Balance, WorkingGroup]>;
  651. readonly isTerminateWorkingGroupLeaderRole: boolean;
  652. readonly asTerminateWorkingGroupLeaderRole: TerminateRoleParameters;
  653. }
  654. /** @name ProposalDetailsOf */
  655. export interface ProposalDetailsOf extends Enum {
  656. readonly isText: boolean;
  657. readonly asText: Bytes;
  658. readonly isRuntimeUpgrade: boolean;
  659. readonly asRuntimeUpgrade: Bytes;
  660. readonly isSetElectionParameters: boolean;
  661. readonly asSetElectionParameters: ElectionParameters;
  662. readonly isSpending: boolean;
  663. readonly asSpending: ITuple<[Balance, AccountId]>;
  664. readonly isSetLead: boolean;
  665. readonly asSetLead: Option<SetLeadParams>;
  666. readonly isSetContentWorkingGroupMintCapacity: boolean;
  667. readonly asSetContentWorkingGroupMintCapacity: u128;
  668. readonly isEvictStorageProvider: boolean;
  669. readonly asEvictStorageProvider: GenericAccountId;
  670. readonly isSetValidatorCount: boolean;
  671. readonly asSetValidatorCount: u32;
  672. readonly isSetStorageRoleParameters: boolean;
  673. readonly asSetStorageRoleParameters: RoleParameters;
  674. readonly isAddWorkingGroupLeaderOpening: boolean;
  675. readonly asAddWorkingGroupLeaderOpening: AddOpeningParameters;
  676. readonly isBeginReviewWorkingGroupLeaderApplication: boolean;
  677. readonly asBeginReviewWorkingGroupLeaderApplication: ITuple<[OpeningId, WorkingGroup]>;
  678. readonly isFillWorkingGroupLeaderOpening: boolean;
  679. readonly asFillWorkingGroupLeaderOpening: FillOpeningParameters;
  680. readonly isSetWorkingGroupMintCapacity: boolean;
  681. readonly asSetWorkingGroupMintCapacity: ITuple<[Balance, WorkingGroup]>;
  682. readonly isDecreaseWorkingGroupLeaderStake: boolean;
  683. readonly asDecreaseWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
  684. readonly isSlashWorkingGroupLeaderStake: boolean;
  685. readonly asSlashWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
  686. readonly isSetWorkingGroupLeaderReward: boolean;
  687. readonly asSetWorkingGroupLeaderReward: ITuple<[WorkerId, Balance, WorkingGroup]>;
  688. readonly isTerminateWorkingGroupLeaderRole: boolean;
  689. readonly asTerminateWorkingGroupLeaderRole: TerminateRoleParameters;
  690. }
  691. /** @name ProposalId */
  692. export interface ProposalId extends u32 {}
  693. /** @name ProposalOf */
  694. export interface ProposalOf extends Struct {
  695. readonly parameters: ProposalParameters;
  696. readonly proposerId: MemberId;
  697. readonly title: Bytes;
  698. readonly description: Bytes;
  699. readonly createdAt: u32;
  700. readonly status: ProposalStatus;
  701. readonly votingResults: VotingResults;
  702. }
  703. /** @name ProposalParameters */
  704. export interface ProposalParameters extends Struct {
  705. readonly votingPeriod: u32;
  706. readonly gracePeriod: u32;
  707. readonly approvalQuorumPercentage: u32;
  708. readonly approvalThresholdPercentage: u32;
  709. readonly slashingQuorumPercentage: u32;
  710. readonly slashingThresholdPercentage: u32;
  711. readonly requiredStake: Option<u128>;
  712. }
  713. /** @name ProposalStatus */
  714. export interface ProposalStatus extends Enum {
  715. readonly isActive: boolean;
  716. readonly asActive: Option<ActiveStake>;
  717. readonly isFinalized: boolean;
  718. readonly asFinalized: Finalized;
  719. }
  720. /** @name RationaleText */
  721. export interface RationaleText extends Bytes {}
  722. /** @name Recipient */
  723. export interface Recipient extends Struct {
  724. readonly total_reward_received: u128;
  725. readonly total_reward_missed: u128;
  726. }
  727. /** @name RecipientId */
  728. export interface RecipientId extends u64 {}
  729. /** @name Reply */
  730. export interface Reply extends Struct {
  731. readonly owner: GenericAccountId;
  732. readonly thread_id: ThreadId;
  733. readonly text: Text;
  734. readonly moderation: Option<ModerationAction>;
  735. }
  736. /** @name ReplyId */
  737. export interface ReplyId extends u64 {}
  738. /** @name ReviewPeriod */
  739. export interface ReviewPeriod extends Struct {
  740. readonly started_accepting_applicants_at_block: u32;
  741. readonly started_review_period_at_block: u32;
  742. }
  743. /** @name RewardPolicy */
  744. export interface RewardPolicy extends Struct {
  745. readonly amount_per_payout: u128;
  746. readonly next_payment_at_block: u32;
  747. readonly payout_interval: Option<u32>;
  748. }
  749. /** @name RewardRelationship */
  750. export interface RewardRelationship extends Struct {
  751. readonly recipient: RecipientId;
  752. readonly mint_id: MintId;
  753. readonly account: GenericAccountId;
  754. readonly amount_per_payout: u128;
  755. readonly next_payment_at_block: Option<u32>;
  756. readonly payout_interval: Option<u32>;
  757. readonly total_reward_received: u128;
  758. readonly total_reward_missed: u128;
  759. }
  760. /** @name RewardRelationshipId */
  761. export interface RewardRelationshipId extends u64 {}
  762. /** @name RoleParameters */
  763. export interface RoleParameters extends Struct {
  764. readonly min_stake: u128;
  765. readonly min_actors: u32;
  766. readonly max_actors: u32;
  767. readonly reward: u128;
  768. readonly reward_period: u32;
  769. readonly bonding_period: u32;
  770. readonly unbonding_period: u32;
  771. readonly min_service_period: u32;
  772. readonly startup_grace_period: u32;
  773. readonly entry_request_fee: u128;
  774. }
  775. /** @name RoleStakeProfile */
  776. export interface RoleStakeProfile extends Struct {
  777. readonly stake_id: StakeId;
  778. readonly termination_unstaking_period: Option<u32>;
  779. readonly exit_unstaking_period: Option<u32>;
  780. }
  781. /** @name SealedVote */
  782. export interface SealedVote extends Struct {
  783. readonly voter: GenericAccountId;
  784. readonly commitment: Hash;
  785. readonly stake: ElectionStake;
  786. readonly vote: Option<GenericAccountId>;
  787. }
  788. /** @name Season */
  789. export interface Season extends Struct {
  790. readonly episodes: Vec<VideoId>;
  791. }
  792. /** @name SeasonParameters */
  793. export interface SeasonParameters extends Struct {
  794. readonly assets: Option<StorageAssets>;
  795. readonly episodes: Option<Vec<Option<EpisodeParemters>>>;
  796. readonly meta: Option<Bytes>;
  797. }
  798. /** @name Seat */
  799. export interface Seat extends Struct {
  800. readonly member: GenericAccountId;
  801. readonly stake: u128;
  802. readonly backers: Backers;
  803. }
  804. /** @name Seats */
  805. export interface Seats extends Vec<Seat> {}
  806. /** @name Series */
  807. export interface Series extends Struct {
  808. readonly in_channel: ChannelId;
  809. readonly seasons: Vec<Season>;
  810. }
  811. /** @name SeriesId */
  812. export interface SeriesId extends u64 {}
  813. /** @name SeriesParameters */
  814. export interface SeriesParameters extends Struct {
  815. readonly assets: Option<StorageAssets>;
  816. readonly seasons: Option<Vec<Option<SeasonParameters>>>;
  817. readonly meta: Option<Bytes>;
  818. }
  819. /** @name SetLeadParams */
  820. export interface SetLeadParams extends ITuple<[MemberId, GenericAccountId]> {}
  821. /** @name Slash */
  822. export interface Slash extends Struct {
  823. readonly started_at_block: u32;
  824. readonly is_active: bool;
  825. readonly blocks_remaining_in_active_period_for_slashing: u32;
  826. readonly slash_amount: u128;
  827. }
  828. /** @name SlashableTerms */
  829. export interface SlashableTerms extends Struct {
  830. readonly max_count: u16;
  831. readonly max_percent_pts_per_time: u16;
  832. }
  833. /** @name SlashingTerms */
  834. export interface SlashingTerms extends Enum {
  835. readonly isUnslashable: boolean;
  836. readonly isSlashable: boolean;
  837. readonly asSlashable: SlashableTerms;
  838. }
  839. /** @name Stake */
  840. export interface Stake extends Struct {
  841. readonly created: u32;
  842. readonly staking_status: StakingStatus;
  843. }
  844. /** @name Staked */
  845. export interface Staked extends Struct {
  846. readonly staked_amount: u128;
  847. readonly staked_status: StakedStatus;
  848. readonly next_slash_id: u64;
  849. readonly ongoing_slashes: BTreeMap<u64, Slash>;
  850. }
  851. /** @name StakedStatus */
  852. export interface StakedStatus extends Enum {
  853. readonly isNormal: boolean;
  854. readonly isUnstaking: boolean;
  855. readonly asUnstaking: Unstaking;
  856. }
  857. /** @name StakeId */
  858. export interface StakeId extends u64 {}
  859. /** @name StakingAmountLimitMode */
  860. export interface StakingAmountLimitMode extends Enum {
  861. readonly isAtLeast: boolean;
  862. readonly isExact: boolean;
  863. }
  864. /** @name StakingPolicy */
  865. export interface StakingPolicy extends Struct {
  866. readonly amount: u128;
  867. readonly amount_mode: StakingAmountLimitMode;
  868. readonly crowded_out_unstaking_period_length: Option<u32>;
  869. readonly review_period_expired_unstaking_period_length: Option<u32>;
  870. }
  871. /** @name StakingStatus */
  872. export interface StakingStatus extends Enum {
  873. readonly isNotStaked: boolean;
  874. readonly isStaked: boolean;
  875. readonly asStaked: Staked;
  876. }
  877. /** @name Static */
  878. export interface Static extends Enum {
  879. readonly isCouncil: boolean;
  880. readonly isWorkingGroup: boolean;
  881. readonly asWorkingGroup: WorkingGroup;
  882. }
  883. /** @name StaticBagId */
  884. export interface StaticBagId extends Enum {
  885. readonly isCouncil: boolean;
  886. readonly isWorkingGroup: boolean;
  887. readonly asWorkingGroup: WorkingGroup;
  888. }
  889. /** @name StorageAssets */
  890. export interface StorageAssets extends Struct {
  891. readonly object_creation_list: Vec<DataObjectCreationParameters>;
  892. readonly expected_data_size_fee: u128;
  893. }
  894. /** @name StorageBucket */
  895. export interface StorageBucket extends Struct {
  896. readonly operator_status: StorageBucketOperatorStatus;
  897. readonly accepting_new_bags: bool;
  898. readonly voucher: Voucher;
  899. readonly assigned_bags: u64;
  900. }
  901. /** @name StorageBucketId */
  902. export interface StorageBucketId extends u64 {}
  903. /** @name StorageBucketIdSet */
  904. export interface StorageBucketIdSet extends BTreeSet<StorageBucketId> {}
  905. /** @name StorageBucketOperatorStatus */
  906. export interface StorageBucketOperatorStatus extends Enum {
  907. readonly isMissing: boolean;
  908. readonly isInvitedStorageWorker: boolean;
  909. readonly asInvitedStorageWorker: WorkerId;
  910. readonly isStorageWorker: boolean;
  911. readonly asStorageWorker: ITuple<[WorkerId, GenericAccountId]>;
  912. }
  913. /** @name StorageBucketsPerBagValueConstraint */
  914. export interface StorageBucketsPerBagValueConstraint extends Struct {
  915. readonly min: u64;
  916. readonly max_min_diff: u64;
  917. }
  918. /** @name StorageObjectOwner */
  919. export interface StorageObjectOwner extends Null {}
  920. /** @name StorageProviderId */
  921. export interface StorageProviderId extends u64 {}
  922. /** @name SubscriptionId */
  923. export interface SubscriptionId extends u64 {}
  924. /** @name TerminateRoleParameters */
  925. export interface TerminateRoleParameters extends Struct {
  926. readonly worker_id: WorkerId;
  927. readonly rationale: Bytes;
  928. readonly slash: bool;
  929. readonly working_group: WorkingGroup;
  930. }
  931. /** @name Thread */
  932. export interface Thread extends Struct {
  933. readonly id: ThreadId;
  934. readonly title: Text;
  935. readonly category_id: CategoryId;
  936. readonly nr_in_category: u32;
  937. readonly moderation: Option<ModerationAction>;
  938. readonly num_unmoderated_posts: u32;
  939. readonly num_moderated_posts: u32;
  940. readonly created_at: BlockAndTime;
  941. readonly author_id: GenericAccountId;
  942. }
  943. /** @name ThreadCounter */
  944. export interface ThreadCounter extends Struct {
  945. readonly author_id: MemberId;
  946. readonly counter: u32;
  947. }
  948. /** @name ThreadId */
  949. export interface ThreadId extends u64 {}
  950. /** @name TransferableStake */
  951. export interface TransferableStake extends Struct {
  952. readonly seat: u128;
  953. readonly backing: u128;
  954. }
  955. /** @name Unstaking */
  956. export interface Unstaking extends Struct {
  957. readonly started_at_block: u32;
  958. readonly is_active: bool;
  959. readonly blocks_remaining_in_active_period_for_unstaking: u32;
  960. }
  961. /** @name UnstakingApplicationStage */
  962. export interface UnstakingApplicationStage extends Struct {
  963. readonly deactivation_initiated: u32;
  964. readonly cause: ApplicationDeactivationCause;
  965. }
  966. /** @name UploadingStatus */
  967. export interface UploadingStatus extends Null {}
  968. /** @name UploadParameters */
  969. export interface UploadParameters extends Struct {
  970. readonly bagId: BagId;
  971. readonly objectCreationList: Vec<DataObjectCreationParameters>;
  972. readonly deletionPrizeSourceAccountId: GenericAccountId;
  973. readonly expectedDataSizeFee: u128;
  974. }
  975. /** @name Url */
  976. export interface Url extends Text {}
  977. /** @name Video */
  978. export interface Video extends Struct {
  979. readonly in_channel: ChannelId;
  980. readonly in_series: Option<SeriesId>;
  981. readonly is_censored: bool;
  982. }
  983. /** @name VideoCategory */
  984. export interface VideoCategory extends Struct {}
  985. /** @name VideoCategoryCreationParameters */
  986. export interface VideoCategoryCreationParameters extends Struct {
  987. readonly meta: Bytes;
  988. }
  989. /** @name VideoCategoryId */
  990. export interface VideoCategoryId extends u64 {}
  991. /** @name VideoCategoryUpdateParameters */
  992. export interface VideoCategoryUpdateParameters extends Struct {
  993. readonly new_meta: Bytes;
  994. }
  995. /** @name VideoCreationParameters */
  996. export interface VideoCreationParameters extends Struct {
  997. readonly assets: Option<StorageAssets>;
  998. readonly meta: Option<Bytes>;
  999. }
  1000. /** @name VideoId */
  1001. export interface VideoId extends u64 {}
  1002. /** @name VideoMigrationConfig */
  1003. export interface VideoMigrationConfig extends Struct {
  1004. readonly current_id: VideoId;
  1005. readonly final_id: VideoId;
  1006. }
  1007. /** @name VideoUpdateParameters */
  1008. export interface VideoUpdateParameters extends Struct {
  1009. readonly assets_to_upload: Option<StorageAssets>;
  1010. readonly new_meta: Option<Bytes>;
  1011. readonly assets_to_remove: BTreeSet<DataObjectId>;
  1012. }
  1013. /** @name VoteKind */
  1014. export interface VoteKind extends Enum {
  1015. readonly isApprove: boolean;
  1016. readonly isReject: boolean;
  1017. readonly isSlash: boolean;
  1018. readonly isAbstain: boolean;
  1019. }
  1020. /** @name VotingResults */
  1021. export interface VotingResults extends Struct {
  1022. readonly abstensions: u32;
  1023. readonly approvals: u32;
  1024. readonly rejections: u32;
  1025. readonly slashes: u32;
  1026. }
  1027. /** @name Voucher */
  1028. export interface Voucher extends Struct {
  1029. readonly sizeLimit: u64;
  1030. readonly objectsLimit: u64;
  1031. readonly sizeUsed: u64;
  1032. readonly objectsUsed: u64;
  1033. }
  1034. /** @name VoucherLimit */
  1035. export interface VoucherLimit extends Null {}
  1036. /** @name WaitingToBeingOpeningStageVariant */
  1037. export interface WaitingToBeingOpeningStageVariant extends Struct {
  1038. readonly begins_at_block: u32;
  1039. }
  1040. /** @name WorkerId */
  1041. export interface WorkerId extends u64 {}
  1042. /** @name WorkerOf */
  1043. export interface WorkerOf extends Struct {
  1044. readonly member_id: MemberId;
  1045. readonly role_account_id: GenericAccountId;
  1046. readonly reward_relationship: Option<RewardRelationshipId>;
  1047. readonly role_stake_profile: Option<RoleStakeProfile>;
  1048. }
  1049. /** @name WorkingGroup */
  1050. export interface WorkingGroup extends Enum {
  1051. readonly isStorage: boolean;
  1052. readonly isContent: boolean;
  1053. readonly isOperationsAlpha: boolean;
  1054. readonly isGateway: boolean;
  1055. readonly isDistribution: boolean;
  1056. readonly isOperationsBeta: boolean;
  1057. readonly isOperationsGamma: boolean;
  1058. }
  1059. export type PHANTOM_ALL = 'all';