123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539 |
- // Auto-generated via `yarn polkadot-types-from-defs`, do not edit
- /* eslint-disable */
- import type { BTreeMap, BTreeSet, Bytes, Enum, GenericAccountId, Null, Option, Struct, Text, Vec, bool, i16, i32, i64, u128, u16, u32, u64 } from '@polkadot/types';
- import type { ITuple } from '@polkadot/types/types';
- import type { AccountId, Balance, Hash } from '@polkadot/types/interfaces/runtime';
- /** @name AcceptingApplications */
- export interface AcceptingApplications extends Struct {
- readonly started_accepting_applicants_at_block: u32;
- }
- /** @name ActivateOpeningAt */
- export interface ActivateOpeningAt extends Enum {
- readonly isCurrentBlock: boolean;
- readonly isExactBlock: boolean;
- readonly asExactBlock: u32;
- }
- /** @name ActiveOpeningStage */
- export interface ActiveOpeningStage extends Enum {
- readonly isAcceptingApplications: boolean;
- readonly asAcceptingApplications: AcceptingApplications;
- readonly isReviewPeriod: boolean;
- readonly asReviewPeriod: ReviewPeriod;
- readonly isDeactivated: boolean;
- readonly asDeactivated: Deactivated;
- }
- /** @name ActiveOpeningStageVariant */
- export interface ActiveOpeningStageVariant extends Struct {
- readonly stage: ActiveOpeningStage;
- readonly applications_added: Vec<ApplicationId>;
- readonly active_application_count: u32;
- readonly unstaking_application_count: u32;
- readonly deactivated_application_count: u32;
- }
- /** @name ActiveStake */
- export interface ActiveStake extends Struct {
- readonly stake_id: StakeId;
- readonly source_account_id: GenericAccountId;
- }
- /** @name Actor */
- export interface Actor extends Enum {
- readonly isCurator: boolean;
- readonly asCurator: ITuple<[CuratorGroupId, u64]>;
- readonly isMember: boolean;
- readonly asMember: MemberId;
- readonly isLead: boolean;
- }
- /** @name ActorId */
- export interface ActorId extends u64 {}
- /** @name AddOpeningParameters */
- export interface AddOpeningParameters extends Struct {
- readonly activate_at: ActivateOpeningAt;
- readonly commitment: WorkingGroupOpeningPolicyCommitment;
- readonly human_readable_text: Bytes;
- readonly working_group: WorkingGroup;
- }
- /** @name Address */
- export interface Address extends AccountId {}
- /** @name AddSchemaSupportToEntityOperation */
- export interface AddSchemaSupportToEntityOperation extends Struct {
- readonly entity_id: ParameterizedEntity;
- readonly schema_id: SchemaId;
- readonly parametrized_property_values: Vec<ParametrizedClassPropertyValue>;
- }
- /** @name AdjustCapacityBy */
- export interface AdjustCapacityBy extends Enum {
- readonly isSetting: boolean;
- readonly asSetting: u128;
- readonly isAdding: boolean;
- readonly asAdding: u128;
- readonly isReducing: boolean;
- readonly asReducing: u128;
- }
- /** @name AdjustOnInterval */
- export interface AdjustOnInterval extends Struct {
- readonly block_interval: u32;
- readonly adjustment_type: AdjustCapacityBy;
- }
- /** @name Application */
- export interface Application extends Struct {
- readonly opening_id: OpeningId;
- readonly application_index_in_opening: u32;
- readonly add_to_opening_in_block: u32;
- readonly active_role_staking_id: Option<StakeId>;
- readonly active_application_staking_id: Option<StakeId>;
- readonly stage: ApplicationStage;
- readonly human_readable_text: Text;
- }
- /** @name ApplicationDeactivationCause */
- export interface ApplicationDeactivationCause extends Enum {
- readonly isExternal: boolean;
- readonly isHired: boolean;
- readonly isNotHired: boolean;
- readonly isCrowdedOut: boolean;
- readonly isOpeningCancelled: boolean;
- readonly isReviewPeriodExpired: boolean;
- readonly isOpeningFilled: boolean;
- }
- /** @name ApplicationId */
- export interface ApplicationId extends u64 {}
- /** @name ApplicationIdSet */
- export interface ApplicationIdSet extends BTreeSet<ApplicationId> {}
- /** @name ApplicationIdToWorkerIdMap */
- export interface ApplicationIdToWorkerIdMap extends BTreeMap<ApplicationId, WorkerId> {}
- /** @name ApplicationOf */
- export interface ApplicationOf extends Struct {
- readonly role_account_id: GenericAccountId;
- readonly opening_id: OpeningId;
- readonly member_id: MemberId;
- readonly application_id: ApplicationId;
- }
- /** @name ApplicationRationingPolicy */
- export interface ApplicationRationingPolicy extends Struct {
- readonly max_active_applicants: u32;
- }
- /** @name ApplicationStage */
- export interface ApplicationStage extends Enum {
- readonly isActive: boolean;
- readonly isUnstaking: boolean;
- readonly asUnstaking: UnstakingApplicationStage;
- readonly isInactive: boolean;
- readonly asInactive: InactiveApplicationStage;
- }
- /** @name Approved */
- export interface Approved extends Enum {
- readonly isPendingExecution: boolean;
- readonly isExecuted: boolean;
- readonly isExecutionFailed: boolean;
- readonly asExecutionFailed: ExecutionFailed;
- }
- /** @name Backer */
- export interface Backer extends Struct {
- readonly member: GenericAccountId;
- readonly stake: u128;
- }
- /** @name Backers */
- export interface Backers extends Vec<Backer> {}
- /** @name Bag */
- export interface Bag extends Struct {
- readonly objects: BTreeMap<DataObjectId, DataObject>;
- readonly stored_by: StorageBucketIdSet;
- readonly distributed_by: Vec<DistributionBucketId>;
- readonly deletion_prize: Option<u128>;
- }
- /** @name BagId */
- export interface BagId extends Enum {
- readonly isStatic: boolean;
- readonly asStatic: Static;
- readonly isDynamic: boolean;
- readonly asDynamic: Dynamic;
- }
- /** @name BagIdType */
- export interface BagIdType extends Enum {
- readonly isStatic: boolean;
- readonly asStatic: Static;
- readonly isDynamic: boolean;
- readonly asDynamic: Dynamic;
- }
- /** @name BalanceOfMint */
- export interface BalanceOfMint extends u128 {}
- /** @name BlockAndTime */
- export interface BlockAndTime extends Struct {
- readonly block: u32;
- readonly time: u64;
- }
- /** @name Category */
- export interface Category extends Struct {
- readonly id: CategoryId;
- readonly title: Text;
- readonly description: Text;
- readonly created_at: BlockAndTime;
- readonly deleted: bool;
- readonly archived: bool;
- readonly num_direct_subcategories: u32;
- readonly num_direct_unmoderated_threads: u32;
- readonly num_direct_moderated_threads: u32;
- readonly position_in_parent_category: Option<ChildPositionInParentCategory>;
- readonly moderator_id: GenericAccountId;
- }
- /** @name CategoryId */
- export interface CategoryId extends u64 {}
- /** @name Channel */
- export interface Channel extends Struct {
- readonly verified: bool;
- readonly handle: Text;
- readonly title: OptionalText;
- readonly description: OptionalText;
- readonly avatar: OptionalText;
- readonly banner: OptionalText;
- readonly content: ChannelContentType;
- readonly owner: MemberId;
- readonly role_account: GenericAccountId;
- readonly publication_status: ChannelPublicationStatus;
- readonly curation_status: ChannelCurationStatus;
- readonly created: u32;
- readonly principal_id: PrincipalId;
- }
- /** @name ChannelContentType */
- export interface ChannelContentType extends Enum {
- readonly isVideo: boolean;
- readonly isMusic: boolean;
- readonly isEbook: boolean;
- }
- /** @name ChannelCurationStatus */
- export interface ChannelCurationStatus extends Enum {
- readonly isNormal: boolean;
- readonly isCensored: boolean;
- }
- /** @name ChannelId */
- export interface ChannelId extends u64 {}
- /** @name ChannelPublicationStatus */
- export interface ChannelPublicationStatus extends Enum {
- readonly isPublic: boolean;
- readonly isUnlisted: boolean;
- }
- /** @name ChildPositionInParentCategory */
- export interface ChildPositionInParentCategory extends Struct {
- readonly parent_id: CategoryId;
- readonly child_nr_in_parent_category: u32;
- }
- /** @name Cid */
- export interface Cid extends Bytes {}
- /** @name Class */
- export interface Class extends Struct {
- readonly class_permissions: ClassPermissions;
- readonly properties: Vec<Property>;
- readonly schemas: Vec<Schema>;
- readonly name: Text;
- readonly description: Text;
- readonly maximum_entities_count: EntityId;
- readonly current_number_of_entities: EntityId;
- readonly default_entity_creation_voucher_upper_bound: EntityId;
- }
- /** @name ClassId */
- export interface ClassId extends u64 {}
- /** @name ClassOf */
- export interface ClassOf extends Struct {
- readonly class_permissions: ClassPermissions;
- readonly properties: Vec<Property>;
- readonly schemas: Vec<Schema>;
- readonly name: Text;
- readonly description: Text;
- readonly maximum_entities_count: EntityId;
- readonly current_number_of_entities: EntityId;
- readonly default_entity_creation_voucher_upper_bound: EntityId;
- }
- /** @name ClassPermissions */
- export interface ClassPermissions extends Struct {
- readonly any_member: bool;
- readonly entity_creation_blocked: bool;
- readonly all_entity_property_values_locked: bool;
- readonly maintainers: Vec<CuratorGroupId>;
- }
- /** @name ClassPermissionsType */
- export interface ClassPermissionsType extends Null {}
- /** @name ClassPropertyValue */
- export interface ClassPropertyValue extends Null {}
- /** @name ContentIdSet */
- export interface ContentIdSet extends BTreeSet<Cid> {}
- /** @name CreateEntityOperation */
- export interface CreateEntityOperation extends Struct {
- readonly class_id: ClassId;
- }
- /** @name Credential */
- export interface Credential extends u64 {}
- /** @name CredentialSet */
- export interface CredentialSet extends BTreeSet<Credential> {}
- /** @name CurationActor */
- export interface CurationActor extends Enum {
- readonly isLead: boolean;
- readonly isCurator: boolean;
- readonly asCurator: CuratorId;
- }
- /** @name Curator */
- export interface Curator extends Struct {
- readonly role_account: GenericAccountId;
- readonly reward_relationship: Option<RewardRelationshipId>;
- readonly role_stake_profile: Option<CuratorRoleStakeProfile>;
- readonly stage: CuratorRoleStage;
- readonly induction: CuratorInduction;
- readonly principal_id: PrincipalId;
- }
- /** @name CuratorApplication */
- export interface CuratorApplication extends Struct {
- readonly role_account: GenericAccountId;
- readonly curator_opening_id: CuratorOpeningId;
- readonly member_id: MemberId;
- readonly application_id: ApplicationId;
- }
- /** @name CuratorApplicationId */
- export interface CuratorApplicationId extends u64 {}
- /** @name CuratorApplicationIdSet */
- export interface CuratorApplicationIdSet extends BTreeSet<CuratorApplicationId> {}
- /** @name CuratorApplicationIdToCuratorIdMap */
- export interface CuratorApplicationIdToCuratorIdMap extends BTreeMap<ApplicationId, CuratorId> {}
- /** @name CuratorExitInitiationOrigin */
- export interface CuratorExitInitiationOrigin extends Enum {
- readonly isLead: boolean;
- readonly isCurator: boolean;
- }
- /** @name CuratorExitSummary */
- export interface CuratorExitSummary extends Struct {
- readonly origin: CuratorExitInitiationOrigin;
- readonly initiated_at_block_number: u32;
- readonly rationale_text: Text;
- }
- /** @name CuratorGroup */
- export interface CuratorGroup extends Struct {
- readonly curators: Vec<u64>;
- readonly active: bool;
- readonly number_of_classes_maintained: u32;
- }
- /** @name CuratorGroupId */
- export interface CuratorGroupId extends u64 {}
- /** @name CuratorId */
- export interface CuratorId extends u64 {}
- /** @name CuratorInduction */
- export interface CuratorInduction extends Struct {
- readonly lead: LeadId;
- readonly curator_application_id: CuratorApplicationId;
- readonly at_block: u32;
- }
- /** @name CuratorOpening */
- export interface CuratorOpening extends Struct {
- readonly opening_id: OpeningId;
- readonly curator_applications: Vec<CuratorApplicationId>;
- readonly policy_commitment: OpeningPolicyCommitment;
- }
- /** @name CuratorOpeningId */
- export interface CuratorOpeningId extends u64 {}
- /** @name CuratorRoleStage */
- export interface CuratorRoleStage extends Enum {
- readonly isActive: boolean;
- readonly isUnstaking: boolean;
- readonly asUnstaking: CuratorExitSummary;
- readonly isExited: boolean;
- readonly asExited: CuratorExitSummary;
- }
- /** @name CuratorRoleStakeProfile */
- export interface CuratorRoleStakeProfile extends Struct {
- readonly stake_id: StakeId;
- readonly termination_unstaking_period: Option<u32>;
- readonly exit_unstaking_period: Option<u32>;
- }
- /** @name DataObject */
- export interface DataObject extends Struct {
- readonly accepted: bool;
- readonly deletion_prize: u128;
- }
- /** @name DataObjectCreationParameters */
- export interface DataObjectCreationParameters extends Struct {
- readonly ipfsContentId: Bytes;
- }
- /** @name DataObjectId */
- export interface DataObjectId extends u64 {}
- /** @name DataObjectIdSet */
- export interface DataObjectIdSet extends BTreeSet<DataObjectId> {}
- /** @name Deactivated */
- export interface Deactivated extends Struct {
- readonly cause: OpeningDeactivationCause;
- readonly deactivated_at_block: u32;
- readonly started_accepting_applicants_at_block: u32;
- readonly started_review_period_at_block: Option<u32>;
- }
- /** @name DiscussionPost */
- export interface DiscussionPost extends Struct {
- readonly text: Bytes;
- readonly created_at: u32;
- readonly updated_at: u32;
- readonly author_id: MemberId;
- readonly thread_id: ThreadId;
- readonly edition_number: u32;
- }
- /** @name DiscussionThread */
- export interface DiscussionThread extends Struct {
- readonly title: Bytes;
- readonly created_at: u32;
- readonly author_id: MemberId;
- }
- /** @name DistributionBucket */
- export interface DistributionBucket extends Struct {
- readonly accepting_new_bags: bool;
- readonly distributing: bool;
- readonly pending_invitations: Vec<WorkerId>;
- readonly operators: Vec<WorkerId>;
- readonly assigned_bags: u64;
- }
- /** @name DistributionBucketFamily */
- export interface DistributionBucketFamily extends Struct {
- readonly distribution_buckets: BTreeMap<DistributionBucketId, DistributionBucket>;
- }
- /** @name DistributionBucketFamilyId */
- export interface DistributionBucketFamilyId extends u64 {}
- /** @name DistributionBucketId */
- export interface DistributionBucketId extends u64 {}
- /** @name Dynamic */
- export interface Dynamic extends Enum {
- readonly isMember: boolean;
- readonly asMember: MemberId;
- readonly isChannel: boolean;
- readonly asChannel: u64;
- }
- /** @name DynamicBagCreationPolicy */
- export interface DynamicBagCreationPolicy extends Struct {
- readonly numberOfStorageBuckets: u64;
- }
- /** @name DynamicBagDeletionPrize */
- export interface DynamicBagDeletionPrize extends Struct {
- readonly account_id: GenericAccountId;
- readonly prize: u128;
- }
- /** @name DynamicBagDeletionPrizeRecord */
- export interface DynamicBagDeletionPrizeRecord extends Struct {
- readonly account_id: GenericAccountId;
- readonly prize: u128;
- }
- /** @name DynamicBagId */
- export interface DynamicBagId extends Enum {
- readonly isMember: boolean;
- readonly asMember: MemberId;
- readonly isChannel: boolean;
- readonly asChannel: u64;
- }
- /** @name DynamicBagType */
- export interface DynamicBagType extends Enum {
- readonly isMember: boolean;
- readonly isChannel: boolean;
- }
- /** @name ElectionParameters */
- export interface ElectionParameters extends Struct {
- readonly announcing_period: u32;
- readonly voting_period: u32;
- readonly revealing_period: u32;
- readonly council_size: u32;
- readonly candidacy_limit: u32;
- readonly new_term_duration: u32;
- readonly min_council_stake: u128;
- readonly min_voting_stake: u128;
- }
- /** @name ElectionStage */
- export interface ElectionStage extends Enum {
- readonly isAnnouncing: boolean;
- readonly asAnnouncing: u32;
- readonly isVoting: boolean;
- readonly asVoting: u32;
- readonly isRevealing: boolean;
- readonly asRevealing: u32;
- }
- /** @name ElectionStake */
- export interface ElectionStake extends Struct {
- readonly new: u128;
- readonly transferred: u128;
- }
- /** @name Entity */
- export interface Entity extends Struct {
- readonly entity_permissions: EntityPermissions;
- readonly class_id: ClassId;
- readonly supported_schemas: Vec<SchemaId>;
- readonly reference_counter: InboundReferenceCounter;
- }
- /** @name EntityController */
- export interface EntityController extends Enum {
- readonly isMaintainers: boolean;
- readonly isMember: boolean;
- readonly asMember: MemberId;
- readonly isLead: boolean;
- }
- /** @name EntityCreationVoucher */
- export interface EntityCreationVoucher extends Struct {
- readonly maximum_entities_count: EntityId;
- readonly entities_created: EntityId;
- }
- /** @name EntityId */
- export interface EntityId extends u64 {}
- /** @name EntityOf */
- export interface EntityOf extends Struct {
- readonly entity_permissions: EntityPermissions;
- readonly class_id: ClassId;
- readonly supported_schemas: Vec<SchemaId>;
- readonly reference_counter: InboundReferenceCounter;
- }
- /** @name EntityPermissions */
- export interface EntityPermissions extends Struct {
- readonly controller: EntityController;
- readonly frozen: bool;
- readonly referenceable: bool;
- }
- /** @name EntityReferenceCounterSideEffect */
- export interface EntityReferenceCounterSideEffect extends Struct {
- readonly total: i32;
- readonly same_owner: i32;
- }
- /** @name EntryMethod */
- export interface EntryMethod extends Enum {
- readonly isPaid: boolean;
- readonly asPaid: u64;
- readonly isScreening: boolean;
- readonly asScreening: AccountId;
- readonly isGenesis: boolean;
- }
- /** @name ExecutionFailed */
- export interface ExecutionFailed extends Struct {
- readonly error: Text;
- }
- /** @name ExitedLeadRole */
- export interface ExitedLeadRole extends Struct {
- readonly initiated_at_block_number: u32;
- }
- /** @name FailedAt */
- export interface FailedAt extends u32 {}
- /** @name FillOpeningParameters */
- export interface FillOpeningParameters extends Struct {
- readonly opening_id: OpeningId;
- readonly successful_application_id: ApplicationId;
- readonly reward_policy: Option<RewardPolicy>;
- readonly working_group: WorkingGroup;
- }
- /** @name Finalized */
- export interface Finalized extends Struct {
- readonly proposalStatus: ProposalDecisionStatus;
- readonly finalizedAt: u32;
- readonly encodedUnstakingErrorDueToBrokenRuntime: Option<Bytes>;
- readonly stakeDataAfterUnstakingError: Option<ActiveStake>;
- }
- /** @name HashedTextMaxLength */
- export interface HashedTextMaxLength extends Option<u16> {}
- /** @name HiringApplicationId */
- export interface HiringApplicationId extends u64 {}
- /** @name InactiveApplicationStage */
- export interface InactiveApplicationStage extends Struct {
- readonly deactivation_initiated: u32;
- readonly deactivated: u32;
- readonly cause: ApplicationDeactivationCause;
- }
- /** @name InboundReferenceCounter */
- export interface InboundReferenceCounter extends Struct {
- readonly total: u32;
- readonly same_owner: u32;
- }
- /** @name InputEntityValuesMap */
- export interface InputEntityValuesMap extends BTreeMap<PropertyId, InputPropertyValue> {}
- /** @name InputPropertyValue */
- export interface InputPropertyValue extends Enum {
- readonly isSingle: boolean;
- readonly asSingle: InputValue;
- readonly isVector: boolean;
- readonly asVector: VecInputValue;
- }
- /** @name InputValidationLengthConstraint */
- export interface InputValidationLengthConstraint extends Struct {
- readonly min: u16;
- readonly max_min_diff: u16;
- }
- /** @name InputValue */
- export interface InputValue extends Enum {
- readonly isBool: boolean;
- readonly asBool: bool;
- readonly isUint16: boolean;
- readonly asUint16: u16;
- readonly isUint32: boolean;
- readonly asUint32: u32;
- readonly isUint64: boolean;
- readonly asUint64: u64;
- readonly isInt16: boolean;
- readonly asInt16: i16;
- readonly isInt32: boolean;
- readonly asInt32: i32;
- readonly isInt64: boolean;
- readonly asInt64: i64;
- readonly isText: boolean;
- readonly asText: Text;
- readonly isTextToHash: boolean;
- readonly asTextToHash: Text;
- readonly isReference: boolean;
- readonly asReference: EntityId;
- }
- /** @name IPNSIdentity */
- export interface IPNSIdentity extends Text {}
- /** @name Lead */
- export interface Lead extends Struct {
- readonly member_id: MemberId;
- readonly role_account: GenericAccountId;
- readonly reward_relationship: Option<RewardRelationshipId>;
- readonly inducted: u32;
- readonly stage: LeadRoleState;
- }
- /** @name LeadId */
- export interface LeadId extends u64 {}
- /** @name LeadRoleState */
- export interface LeadRoleState extends Enum {
- readonly isActive: boolean;
- readonly isExited: boolean;
- readonly asExited: ExitedLeadRole;
- }
- /** @name LookupSource */
- export interface LookupSource extends AccountId {}
- /** @name MemberId */
- export interface MemberId extends u64 {}
- /** @name Membership */
- export interface Membership extends Struct {
- readonly handle: Text;
- readonly avatar_uri: Text;
- readonly about: Text;
- readonly registered_at_block: u32;
- readonly registered_at_time: u64;
- readonly entry: EntryMethod;
- readonly suspended: bool;
- readonly subscription: Option<SubscriptionId>;
- readonly root_account: GenericAccountId;
- readonly controller_account: GenericAccountId;
- }
- /** @name MemoText */
- export interface MemoText extends Text {}
- /** @name Mint */
- export interface Mint extends Struct {
- readonly capacity: u128;
- readonly next_adjustment: Option<NextAdjustment>;
- readonly created_at: u32;
- readonly total_minted: u128;
- }
- /** @name MintBalanceOf */
- export interface MintBalanceOf extends u128 {}
- /** @name MintId */
- export interface MintId extends u64 {}
- /** @name ModerationAction */
- export interface ModerationAction extends Struct {
- readonly moderated_at: BlockAndTime;
- readonly moderator_id: GenericAccountId;
- readonly rationale: Text;
- }
- /** @name NextAdjustment */
- export interface NextAdjustment extends Struct {
- readonly adjustment: AdjustOnInterval;
- readonly at_block: u32;
- }
- /** @name Nonce */
- export interface Nonce extends u64 {}
- /** @name Opening */
- export interface Opening extends Struct {
- readonly created: u32;
- readonly stage: OpeningStage;
- readonly max_review_period_length: u32;
- readonly application_rationing_policy: Option<ApplicationRationingPolicy>;
- readonly application_staking_policy: Option<StakingPolicy>;
- readonly role_staking_policy: Option<StakingPolicy>;
- readonly human_readable_text: Text;
- }
- /** @name OpeningDeactivationCause */
- export interface OpeningDeactivationCause extends Enum {
- readonly isCancelledBeforeActivation: boolean;
- readonly isCancelledAcceptingApplications: boolean;
- readonly isCancelledInReviewPeriod: boolean;
- readonly isReviewPeriodExpired: boolean;
- readonly isFilled: boolean;
- }
- /** @name OpeningId */
- export interface OpeningId extends u64 {}
- /** @name OpeningOf */
- export interface OpeningOf extends Struct {
- readonly hiring_opening_id: OpeningId;
- readonly applications: Vec<ApplicationId>;
- readonly policy_commitment: WorkingGroupOpeningPolicyCommitment;
- readonly opening_type: OpeningType;
- }
- /** @name OpeningPolicyCommitment */
- export interface OpeningPolicyCommitment extends Struct {
- readonly application_rationing_policy: Option<ApplicationRationingPolicy>;
- readonly max_review_period_length: u32;
- readonly application_staking_policy: Option<StakingPolicy>;
- readonly role_staking_policy: Option<StakingPolicy>;
- readonly role_slashing_terms: SlashingTerms;
- readonly fill_opening_successful_applicant_application_stake_unstaking_period: Option<u32>;
- readonly fill_opening_failed_applicant_application_stake_unstaking_period: Option<u32>;
- readonly fill_opening_failed_applicant_role_stake_unstaking_period: Option<u32>;
- readonly terminate_curator_application_stake_unstaking_period: Option<u32>;
- readonly terminate_curator_role_stake_unstaking_period: Option<u32>;
- readonly exit_curator_role_application_stake_unstaking_period: Option<u32>;
- readonly exit_curator_role_stake_unstaking_period: Option<u32>;
- }
- /** @name OpeningStage */
- export interface OpeningStage extends Enum {
- readonly isWaitingToBegin: boolean;
- readonly asWaitingToBegin: WaitingToBeingOpeningStageVariant;
- readonly isActive: boolean;
- readonly asActive: ActiveOpeningStageVariant;
- }
- /** @name OpeningType */
- export interface OpeningType extends Enum {
- readonly isLeader: boolean;
- readonly isWorker: boolean;
- }
- /** @name Operation */
- export interface Operation extends Null {}
- /** @name OperationType */
- export interface OperationType extends Enum {
- readonly isCreateEntity: boolean;
- readonly asCreateEntity: CreateEntityOperation;
- readonly isUpdatePropertyValues: boolean;
- readonly asUpdatePropertyValues: UpdatePropertyValuesOperation;
- readonly isAddSchemaSupportToEntity: boolean;
- readonly asAddSchemaSupportToEntity: AddSchemaSupportToEntityOperation;
- }
- /** @name OptionalText */
- export interface OptionalText extends Option<Text> {}
- /** @name PaidMembershipTerms */
- export interface PaidMembershipTerms extends Struct {
- readonly fee: u128;
- readonly text: Text;
- }
- /** @name PaidTermId */
- export interface PaidTermId extends u64 {}
- /** @name ParameterizedEntity */
- export interface ParameterizedEntity extends Enum {
- readonly isInternalEntityJustAdded: boolean;
- readonly asInternalEntityJustAdded: u32;
- readonly isExistingEntity: boolean;
- readonly asExistingEntity: EntityId;
- }
- /** @name ParametrizedClassPropertyValue */
- export interface ParametrizedClassPropertyValue extends Struct {
- readonly in_class_index: PropertyId;
- readonly value: ParametrizedPropertyValue;
- }
- /** @name ParametrizedPropertyValue */
- export interface ParametrizedPropertyValue extends Enum {
- readonly isInputPropertyValue: boolean;
- readonly asInputPropertyValue: InputPropertyValue;
- readonly isInternalEntityJustAdded: boolean;
- readonly asInternalEntityJustAdded: u32;
- readonly isInternalEntityVec: boolean;
- readonly asInternalEntityVec: Vec<ParameterizedEntity>;
- }
- /** @name Post */
- export interface Post extends Struct {
- readonly id: PostId;
- readonly thread_id: ThreadId;
- readonly nr_in_thread: u32;
- readonly current_text: Text;
- readonly moderation: Option<ModerationAction>;
- readonly text_change_history: Vec<PostTextChange>;
- readonly created_at: BlockAndTime;
- readonly author_id: GenericAccountId;
- }
- /** @name PostId */
- export interface PostId extends u64 {}
- /** @name PostTextChange */
- export interface PostTextChange extends Struct {
- readonly expired_at: BlockAndTime;
- readonly text: Text;
- }
- /** @name Principal */
- export interface Principal extends Enum {
- readonly isLead: boolean;
- readonly isCurator: boolean;
- readonly asCurator: CuratorId;
- readonly isChannelOwner: boolean;
- readonly asChannelOwner: ChannelId;
- }
- /** @name PrincipalId */
- export interface PrincipalId extends u64 {}
- /** @name Property */
- export interface Property extends Struct {
- readonly property_type: PropertyType;
- readonly required: bool;
- readonly unique: bool;
- readonly name: Text;
- readonly description: Text;
- readonly locking_policy: PropertyLockingPolicy;
- }
- /** @name PropertyId */
- export interface PropertyId extends u16 {}
- /** @name PropertyLockingPolicy */
- export interface PropertyLockingPolicy extends Struct {
- readonly is_locked_from_maintainer: bool;
- readonly is_locked_from_controller: bool;
- }
- /** @name PropertyType */
- export interface PropertyType extends Enum {
- readonly isSingle: boolean;
- readonly asSingle: PropertyTypeSingle;
- readonly isVector: boolean;
- readonly asVector: PropertyTypeVector;
- }
- /** @name PropertyTypeSingle */
- export interface PropertyTypeSingle extends Enum {
- readonly isBool: boolean;
- readonly isUint16: boolean;
- readonly isUint32: boolean;
- readonly isUint64: boolean;
- readonly isInt16: boolean;
- readonly isInt32: boolean;
- readonly isInt64: boolean;
- readonly isText: boolean;
- readonly asText: TextMaxLength;
- readonly isHash: boolean;
- readonly asHash: HashedTextMaxLength;
- readonly isReference: boolean;
- readonly asReference: ITuple<[ClassId, SameController]>;
- }
- /** @name PropertyTypeVector */
- export interface PropertyTypeVector extends Struct {
- readonly vec_type: PropertyTypeSingle;
- readonly max_length: VecMaxLength;
- }
- /** @name ProposalDecisionStatus */
- export interface ProposalDecisionStatus extends Enum {
- readonly isCanceled: boolean;
- readonly isVetoed: boolean;
- readonly isRejected: boolean;
- readonly isSlashed: boolean;
- readonly isExpired: boolean;
- readonly isApproved: boolean;
- readonly asApproved: Approved;
- }
- /** @name ProposalDetails */
- export interface ProposalDetails extends Enum {
- readonly isText: boolean;
- readonly asText: Text;
- readonly isRuntimeUpgrade: boolean;
- readonly asRuntimeUpgrade: Bytes;
- readonly isSetElectionParameters: boolean;
- readonly asSetElectionParameters: ElectionParameters;
- readonly isSpending: boolean;
- readonly asSpending: ITuple<[Balance, AccountId]>;
- readonly isSetLead: boolean;
- readonly asSetLead: Option<SetLeadParams>;
- readonly isSetContentWorkingGroupMintCapacity: boolean;
- readonly asSetContentWorkingGroupMintCapacity: u128;
- readonly isEvictStorageProvider: boolean;
- readonly asEvictStorageProvider: GenericAccountId;
- readonly isSetValidatorCount: boolean;
- readonly asSetValidatorCount: u32;
- readonly isSetStorageRoleParameters: boolean;
- readonly asSetStorageRoleParameters: RoleParameters;
- readonly isAddWorkingGroupLeaderOpening: boolean;
- readonly asAddWorkingGroupLeaderOpening: AddOpeningParameters;
- readonly isBeginReviewWorkingGroupLeaderApplication: boolean;
- readonly asBeginReviewWorkingGroupLeaderApplication: ITuple<[OpeningId, WorkingGroup]>;
- readonly isFillWorkingGroupLeaderOpening: boolean;
- readonly asFillWorkingGroupLeaderOpening: FillOpeningParameters;
- readonly isSetWorkingGroupMintCapacity: boolean;
- readonly asSetWorkingGroupMintCapacity: ITuple<[Balance, WorkingGroup]>;
- readonly isDecreaseWorkingGroupLeaderStake: boolean;
- readonly asDecreaseWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
- readonly isSlashWorkingGroupLeaderStake: boolean;
- readonly asSlashWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
- readonly isSetWorkingGroupLeaderReward: boolean;
- readonly asSetWorkingGroupLeaderReward: ITuple<[WorkerId, Balance, WorkingGroup]>;
- readonly isTerminateWorkingGroupLeaderRole: boolean;
- readonly asTerminateWorkingGroupLeaderRole: TerminateRoleParameters;
- }
- /** @name ProposalDetailsOf */
- export interface ProposalDetailsOf extends Enum {
- readonly isText: boolean;
- readonly asText: Text;
- readonly isRuntimeUpgrade: boolean;
- readonly asRuntimeUpgrade: Bytes;
- readonly isSetElectionParameters: boolean;
- readonly asSetElectionParameters: ElectionParameters;
- readonly isSpending: boolean;
- readonly asSpending: ITuple<[Balance, AccountId]>;
- readonly isSetLead: boolean;
- readonly asSetLead: Option<SetLeadParams>;
- readonly isSetContentWorkingGroupMintCapacity: boolean;
- readonly asSetContentWorkingGroupMintCapacity: u128;
- readonly isEvictStorageProvider: boolean;
- readonly asEvictStorageProvider: GenericAccountId;
- readonly isSetValidatorCount: boolean;
- readonly asSetValidatorCount: u32;
- readonly isSetStorageRoleParameters: boolean;
- readonly asSetStorageRoleParameters: RoleParameters;
- readonly isAddWorkingGroupLeaderOpening: boolean;
- readonly asAddWorkingGroupLeaderOpening: AddOpeningParameters;
- readonly isBeginReviewWorkingGroupLeaderApplication: boolean;
- readonly asBeginReviewWorkingGroupLeaderApplication: ITuple<[OpeningId, WorkingGroup]>;
- readonly isFillWorkingGroupLeaderOpening: boolean;
- readonly asFillWorkingGroupLeaderOpening: FillOpeningParameters;
- readonly isSetWorkingGroupMintCapacity: boolean;
- readonly asSetWorkingGroupMintCapacity: ITuple<[Balance, WorkingGroup]>;
- readonly isDecreaseWorkingGroupLeaderStake: boolean;
- readonly asDecreaseWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
- readonly isSlashWorkingGroupLeaderStake: boolean;
- readonly asSlashWorkingGroupLeaderStake: ITuple<[WorkerId, Balance, WorkingGroup]>;
- readonly isSetWorkingGroupLeaderReward: boolean;
- readonly asSetWorkingGroupLeaderReward: ITuple<[WorkerId, Balance, WorkingGroup]>;
- readonly isTerminateWorkingGroupLeaderRole: boolean;
- readonly asTerminateWorkingGroupLeaderRole: TerminateRoleParameters;
- }
- /** @name ProposalId */
- export interface ProposalId extends u32 {}
- /** @name ProposalOf */
- export interface ProposalOf extends Struct {
- readonly parameters: ProposalParameters;
- readonly proposerId: MemberId;
- readonly title: Text;
- readonly description: Text;
- readonly createdAt: u32;
- readonly status: ProposalStatus;
- readonly votingResults: VotingResults;
- }
- /** @name ProposalParameters */
- export interface ProposalParameters extends Struct {
- readonly votingPeriod: u32;
- readonly gracePeriod: u32;
- readonly approvalQuorumPercentage: u32;
- readonly approvalThresholdPercentage: u32;
- readonly slashingQuorumPercentage: u32;
- readonly slashingThresholdPercentage: u32;
- readonly requiredStake: Option<u128>;
- }
- /** @name ProposalStatus */
- export interface ProposalStatus extends Enum {
- readonly isActive: boolean;
- readonly asActive: Option<ActiveStake>;
- readonly isFinalized: boolean;
- readonly asFinalized: Finalized;
- }
- /** @name RationaleText */
- export interface RationaleText extends Bytes {}
- /** @name Recipient */
- export interface Recipient extends Struct {
- readonly total_reward_received: u128;
- readonly total_reward_missed: u128;
- }
- /** @name RecipientId */
- export interface RecipientId extends u64 {}
- /** @name ReferenceConstraint */
- export interface ReferenceConstraint extends Null {}
- /** @name ReferenceCounterSideEffects */
- export interface ReferenceCounterSideEffects extends BTreeMap<EntityId, EntityReferenceCounterSideEffect> {}
- /** @name Reply */
- export interface Reply extends Struct {
- readonly owner: GenericAccountId;
- readonly thread_id: ThreadId;
- readonly text: Text;
- readonly moderation: Option<ModerationAction>;
- }
- /** @name ReplyId */
- export interface ReplyId extends u64 {}
- /** @name ReviewPeriod */
- export interface ReviewPeriod extends Struct {
- readonly started_accepting_applicants_at_block: u32;
- readonly started_review_period_at_block: u32;
- }
- /** @name RewardPolicy */
- export interface RewardPolicy extends Struct {
- readonly amount_per_payout: u128;
- readonly next_payment_at_block: u32;
- readonly payout_interval: Option<u32>;
- }
- /** @name RewardRelationship */
- export interface RewardRelationship extends Struct {
- readonly recipient: RecipientId;
- readonly mint_id: MintId;
- readonly account: GenericAccountId;
- readonly amount_per_payout: u128;
- readonly next_payment_at_block: Option<u32>;
- readonly payout_interval: Option<u32>;
- readonly total_reward_received: u128;
- readonly total_reward_missed: u128;
- }
- /** @name RewardRelationshipId */
- export interface RewardRelationshipId extends u64 {}
- /** @name RoleParameters */
- export interface RoleParameters extends Struct {
- readonly min_stake: u128;
- readonly min_actors: u32;
- readonly max_actors: u32;
- readonly reward: u128;
- readonly reward_period: u32;
- readonly bonding_period: u32;
- readonly unbonding_period: u32;
- readonly min_service_period: u32;
- readonly startup_grace_period: u32;
- readonly entry_request_fee: u128;
- }
- /** @name RoleStakeProfile */
- export interface RoleStakeProfile extends Struct {
- readonly stake_id: StakeId;
- readonly termination_unstaking_period: Option<u32>;
- readonly exit_unstaking_period: Option<u32>;
- }
- /** @name SameController */
- export interface SameController extends bool {}
- /** @name Schema */
- export interface Schema extends Struct {
- readonly properties: Vec<PropertyId>;
- readonly is_active: bool;
- }
- /** @name SchemaId */
- export interface SchemaId extends u16 {}
- /** @name SealedVote */
- export interface SealedVote extends Struct {
- readonly voter: GenericAccountId;
- readonly commitment: Hash;
- readonly stake: ElectionStake;
- readonly vote: Option<GenericAccountId>;
- }
- /** @name Seat */
- export interface Seat extends Struct {
- readonly member: GenericAccountId;
- readonly stake: u128;
- readonly backers: Backers;
- }
- /** @name Seats */
- export interface Seats extends Vec<Seat> {}
- /** @name ServiceProviderRecord */
- export interface ServiceProviderRecord extends Struct {
- readonly identity: IPNSIdentity;
- readonly expires_at: u32;
- }
- /** @name SetLeadParams */
- export interface SetLeadParams extends ITuple<[MemberId, GenericAccountId]> {}
- /** @name SideEffect */
- export interface SideEffect extends Option<ITuple<[EntityId, EntityReferenceCounterSideEffect]>> {}
- /** @name SideEffects */
- export interface SideEffects extends Option<ReferenceCounterSideEffects> {}
- /** @name Slash */
- export interface Slash extends Struct {
- readonly started_at_block: u32;
- readonly is_active: bool;
- readonly blocks_remaining_in_active_period_for_slashing: u32;
- readonly slash_amount: u128;
- }
- /** @name SlashableTerms */
- export interface SlashableTerms extends Struct {
- readonly max_count: u16;
- readonly max_percent_pts_per_time: u16;
- }
- /** @name SlashingTerms */
- export interface SlashingTerms extends Enum {
- readonly isUnslashable: boolean;
- readonly isSlashable: boolean;
- readonly asSlashable: SlashableTerms;
- }
- /** @name Stake */
- export interface Stake extends Struct {
- readonly created: u32;
- readonly staking_status: StakingStatus;
- }
- /** @name Staked */
- export interface Staked extends Struct {
- readonly staked_amount: u128;
- readonly staked_status: StakedStatus;
- readonly next_slash_id: u64;
- readonly ongoing_slashes: BTreeMap<u64, Slash>;
- }
- /** @name StakedStatus */
- export interface StakedStatus extends Enum {
- readonly isNormal: boolean;
- readonly isUnstaking: boolean;
- readonly asUnstaking: Unstaking;
- }
- /** @name StakeId */
- export interface StakeId extends u64 {}
- /** @name StakingAmountLimitMode */
- export interface StakingAmountLimitMode extends Enum {
- readonly isAtLeast: boolean;
- readonly isExact: boolean;
- }
- /** @name StakingPolicy */
- export interface StakingPolicy extends Struct {
- readonly amount: u128;
- readonly amount_mode: StakingAmountLimitMode;
- readonly crowded_out_unstaking_period_length: Option<u32>;
- readonly review_period_expired_unstaking_period_length: Option<u32>;
- }
- /** @name StakingStatus */
- export interface StakingStatus extends Enum {
- readonly isNotStaked: boolean;
- readonly isStaked: boolean;
- readonly asStaked: Staked;
- }
- /** @name Static */
- export interface Static extends Enum {
- readonly isCouncil: boolean;
- readonly isWorkingGroup: boolean;
- readonly asWorkingGroup: WorkingGroup;
- }
- /** @name StaticBagId */
- export interface StaticBagId extends Enum {
- readonly isCouncil: boolean;
- readonly isWorkingGroup: boolean;
- readonly asWorkingGroup: WorkingGroup;
- }
- /** @name Status */
- export interface Status extends bool {}
- /** @name StorageBucket */
- export interface StorageBucket extends Struct {
- readonly operator_status: StorageBucketOperatorStatus;
- readonly accepting_new_bags: bool;
- readonly voucher: Voucher;
- readonly metadata: Bytes;
- }
- /** @name StorageBucketId */
- export interface StorageBucketId extends u64 {}
- /** @name StorageBucketIdSet */
- export interface StorageBucketIdSet extends BTreeSet<StorageBucketId> {}
- /** @name StorageBucketOperatorStatus */
- export interface StorageBucketOperatorStatus extends Enum {
- readonly isMissing: boolean;
- readonly isInvitedStorageWorker: boolean;
- readonly asInvitedStorageWorker: WorkerId;
- readonly isStorageWorker: boolean;
- readonly asStorageWorker: WorkerId;
- }
- /** @name StorageBucketsPerBagValueConstraint */
- export interface StorageBucketsPerBagValueConstraint extends Struct {
- readonly min: u64;
- readonly max_min_diff: u64;
- }
- /** @name StorageProviderId */
- export interface StorageProviderId extends u64 {}
- /** @name StoredPropertyValue */
- export interface StoredPropertyValue extends Enum {
- readonly isSingle: boolean;
- readonly asSingle: StoredValue;
- readonly isVector: boolean;
- readonly asVector: VecStoredPropertyValue;
- }
- /** @name StoredValue */
- export interface StoredValue extends Enum {
- readonly isBool: boolean;
- readonly asBool: bool;
- readonly isUint16: boolean;
- readonly asUint16: u16;
- readonly isUint32: boolean;
- readonly asUint32: u32;
- readonly isUint64: boolean;
- readonly asUint64: u64;
- readonly isInt16: boolean;
- readonly asInt16: i16;
- readonly isInt32: boolean;
- readonly asInt32: i32;
- readonly isInt64: boolean;
- readonly asInt64: i64;
- readonly isText: boolean;
- readonly asText: Text;
- readonly isHash: boolean;
- readonly asHash: Hash;
- readonly isReference: boolean;
- readonly asReference: EntityId;
- }
- /** @name SubscriptionId */
- export interface SubscriptionId extends u64 {}
- /** @name TerminateRoleParameters */
- export interface TerminateRoleParameters extends Struct {
- readonly worker_id: WorkerId;
- readonly rationale: Bytes;
- readonly slash: bool;
- readonly working_group: WorkingGroup;
- }
- /** @name TextMaxLength */
- export interface TextMaxLength extends u16 {}
- /** @name Thread */
- export interface Thread extends Struct {
- readonly id: ThreadId;
- readonly title: Text;
- readonly category_id: CategoryId;
- readonly nr_in_category: u32;
- readonly moderation: Option<ModerationAction>;
- readonly num_unmoderated_posts: u32;
- readonly num_moderated_posts: u32;
- readonly created_at: BlockAndTime;
- readonly author_id: GenericAccountId;
- }
- /** @name ThreadCounter */
- export interface ThreadCounter extends Struct {
- readonly author_id: MemberId;
- readonly counter: u32;
- }
- /** @name ThreadId */
- export interface ThreadId extends u64 {}
- /** @name TransferableStake */
- export interface TransferableStake extends Struct {
- readonly seat: u128;
- readonly backing: u128;
- }
- /** @name Unstaking */
- export interface Unstaking extends Struct {
- readonly started_at_block: u32;
- readonly is_active: bool;
- readonly blocks_remaining_in_active_period_for_unstaking: u32;
- }
- /** @name UnstakingApplicationStage */
- export interface UnstakingApplicationStage extends Struct {
- readonly deactivation_initiated: u32;
- readonly cause: ApplicationDeactivationCause;
- }
- /** @name UpdatePropertyValuesOperation */
- export interface UpdatePropertyValuesOperation extends Struct {
- readonly entity_id: ParameterizedEntity;
- readonly new_parametrized_property_values: Vec<ParametrizedClassPropertyValue>;
- }
- /** @name UploadParameters */
- export interface UploadParameters extends Struct {
- readonly authenticationKey: Bytes;
- readonly bagId: BagId;
- readonly objectCreationList: Vec<DataObjectCreationParameters>;
- readonly deletionPrizeSourceAccountId: GenericAccountId;
- readonly expectedDataSizeFee: u128;
- }
- /** @name Url */
- export interface Url extends Text {}
- /** @name VecInputValue */
- export interface VecInputValue extends Enum {
- readonly isBool: boolean;
- readonly asBool: Vec<bool>;
- readonly isUint16: boolean;
- readonly asUint16: Vec<u16>;
- readonly isUint32: boolean;
- readonly asUint32: Vec<u32>;
- readonly isUint64: boolean;
- readonly asUint64: Vec<u64>;
- readonly isInt16: boolean;
- readonly asInt16: Vec<i16>;
- readonly isInt32: boolean;
- readonly asInt32: Vec<i32>;
- readonly isInt64: boolean;
- readonly asInt64: Vec<i64>;
- readonly isTextToHash: boolean;
- readonly asTextToHash: Vec<Text>;
- readonly isText: boolean;
- readonly asText: Vec<Text>;
- readonly isReference: boolean;
- readonly asReference: Vec<EntityId>;
- }
- /** @name VecMaxLength */
- export interface VecMaxLength extends u16 {}
- /** @name VecStoredPropertyValue */
- export interface VecStoredPropertyValue extends Struct {
- readonly vec_value: VecStoredValue;
- readonly nonce: Nonce;
- }
- /** @name VecStoredValue */
- export interface VecStoredValue extends Enum {
- readonly isBool: boolean;
- readonly asBool: Vec<bool>;
- readonly isUint16: boolean;
- readonly asUint16: Vec<u16>;
- readonly isUint32: boolean;
- readonly asUint32: Vec<u32>;
- readonly isUint64: boolean;
- readonly asUint64: Vec<u64>;
- readonly isInt16: boolean;
- readonly asInt16: Vec<i16>;
- readonly isInt32: boolean;
- readonly asInt32: Vec<i32>;
- readonly isInt64: boolean;
- readonly asInt64: Vec<i64>;
- readonly isHash: boolean;
- readonly asHash: Vec<Hash>;
- readonly isText: boolean;
- readonly asText: Vec<Text>;
- readonly isReference: boolean;
- readonly asReference: Vec<EntityId>;
- }
- /** @name VoteKind */
- export interface VoteKind extends Enum {
- readonly isApprove: boolean;
- readonly isReject: boolean;
- readonly isSlash: boolean;
- readonly isAbstain: boolean;
- }
- /** @name VotingResults */
- export interface VotingResults extends Struct {
- readonly abstensions: u32;
- readonly approvals: u32;
- readonly rejections: u32;
- readonly slashes: u32;
- }
- /** @name Voucher */
- export interface Voucher extends Struct {
- readonly sizeLimit: u64;
- readonly objectsLimit: u64;
- readonly sizeUsed: u64;
- readonly objectsUsed: u64;
- }
- /** @name WaitingToBeingOpeningStageVariant */
- export interface WaitingToBeingOpeningStageVariant extends Struct {
- readonly begins_at_block: u32;
- }
- /** @name WorkerId */
- export interface WorkerId extends u64 {}
- /** @name WorkerOf */
- export interface WorkerOf extends Struct {
- readonly member_id: MemberId;
- readonly role_account_id: GenericAccountId;
- readonly reward_relationship: Option<RewardRelationshipId>;
- readonly role_stake_profile: Option<RoleStakeProfile>;
- }
- /** @name WorkingGroup */
- export interface WorkingGroup extends Enum {
- readonly isStorage: boolean;
- readonly isContent: boolean;
- }
- /** @name WorkingGroupOpeningPolicyCommitment */
- export interface WorkingGroupOpeningPolicyCommitment extends Struct {
- readonly application_rationing_policy: Option<ApplicationRationingPolicy>;
- readonly max_review_period_length: u32;
- readonly application_staking_policy: Option<StakingPolicy>;
- readonly role_staking_policy: Option<StakingPolicy>;
- readonly role_slashing_terms: SlashingTerms;
- readonly fill_opening_successful_applicant_application_stake_unstaking_period: Option<u32>;
- readonly fill_opening_failed_applicant_application_stake_unstaking_period: Option<u32>;
- readonly fill_opening_failed_applicant_role_stake_unstaking_period: Option<u32>;
- readonly terminate_application_stake_unstaking_period: Option<u32>;
- readonly terminate_role_stake_unstaking_period: Option<u32>;
- readonly exit_role_application_stake_unstaking_period: Option<u32>;
- readonly exit_role_stake_unstaking_period: Option<u32>;
- }
- /** @name WorkingGroupUnstaker */
- export interface WorkingGroupUnstaker extends Enum {
- readonly isLead: boolean;
- readonly asLead: LeadId;
- readonly isCurator: boolean;
- readonly asCurator: CuratorId;
- }
- export type PHANTOM_ALL = 'all';
|