123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970 |
- // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
- /* eslint-disable */
- import type { Bytes, Option, Vec, bool, u32, u64 } from '@polkadot/types';
- import type { ApplicationId, ApplicationIdToWorkerIdMap, CategoryId, Channel, ChannelCategory, ChannelCategoryCreationParameters, ChannelCategoryId, ChannelCategoryUpdateParameters, ChannelCreationParameters, ChannelId, ChannelOwnershipTransferRequest, ChannelOwnershipTransferRequestId, ChannelUpdateParameters, ContentActor, ContentId, ContentParameters, CuratorGroupId, CuratorId, DataObjectStorageRelationshipId, DataObjectType, DataObjectTypeId, EntryMethod, IsCensored, MemberId, MintBalanceOf, MintId, NewAsset, OpeningId, PersonCreationParameters, PersonId, PersonUpdateParameters, PlaylistCreationParameters, PlaylistId, PlaylistUpdateParameters, PostId, ProposalId, ProposalStatus, RationaleText, Series, SeriesId, SeriesParameters, StorageObjectOwner, StorageProviderId, ThreadId, UploadingStatus, VideoCategoryCreationParameters, VideoCategoryId, VideoCategoryUpdateParameters, VideoCreationParameters, VideoId, VideoUpdateParameters, VoteKind, VoucherLimit, WorkerId } from './all';
- import type { BalanceStatus } from '@polkadot/types/interfaces/balances';
- import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
- import type { AuthorityList } from '@polkadot/types/interfaces/grandpa';
- import type { Kind, OpaqueTimeSlot } from '@polkadot/types/interfaces/offences';
- import type { AccountId, Balance, BlockNumber, Hash } from '@polkadot/types/interfaces/runtime';
- import type { IdentificationTuple, SessionIndex } from '@polkadot/types/interfaces/session';
- import type { ElectionCompute, EraIndex } from '@polkadot/types/interfaces/staking';
- import type { DispatchError, DispatchInfo, DispatchResult } from '@polkadot/types/interfaces/system';
- import type { ApiTypes } from '@polkadot/api/types';
- declare module '@polkadot/api/types/events' {
- export interface AugmentedEvents<ApiType> {
- balances: {
- /**
- * A balance was set by root. \[who, free, reserved\]
- **/
- BalanceSet: AugmentedEvent<ApiType, [AccountId, Balance, Balance]>;
- /**
- * Some amount was deposited (e.g. for transaction fees). \[who, deposit\]
- **/
- Deposit: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * An account was removed whose balance was non-zero but below ExistentialDeposit,
- * resulting in an outright loss. \[account, balance\]
- **/
- DustLost: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * An account was created with some free balance. \[account, free_balance\]
- **/
- Endowed: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * Some balance was reserved (moved from free to reserved). \[who, value\]
- **/
- Reserved: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * Some balance was moved from the reserve of the first account to the second account.
- * Final argument indicates the destination balance type.
- * \[from, to, balance, destination_status\]
- **/
- ReserveRepatriated: AugmentedEvent<ApiType, [AccountId, AccountId, Balance, BalanceStatus]>;
- /**
- * Transfer succeeded. \[from, to, value\]
- **/
- Transfer: AugmentedEvent<ApiType, [AccountId, AccountId, Balance]>;
- /**
- * Some balance was unreserved (moved from reserved to free). \[who, value\]
- **/
- Unreserved: AugmentedEvent<ApiType, [AccountId, Balance]>;
- };
- content: {
- ChannelAssetsRemoved: AugmentedEvent<ApiType, [ContentActor, ChannelId, Vec<ContentId>]>;
- ChannelCategoryCreated: AugmentedEvent<ApiType, [ChannelCategoryId, ChannelCategory, ChannelCategoryCreationParameters]>;
- ChannelCategoryDeleted: AugmentedEvent<ApiType, [ContentActor, ChannelCategoryId]>;
- ChannelCategoryUpdated: AugmentedEvent<ApiType, [ContentActor, ChannelCategoryId, ChannelCategoryUpdateParameters]>;
- ChannelCensorshipStatusUpdated: AugmentedEvent<ApiType, [ContentActor, ChannelId, IsCensored, Bytes]>;
- ChannelCreated: AugmentedEvent<ApiType, [ContentActor, ChannelId, Channel, ChannelCreationParameters]>;
- ChannelOwnershipTransferred: AugmentedEvent<ApiType, [ContentActor, ChannelOwnershipTransferRequestId]>;
- ChannelOwnershipTransferRequested: AugmentedEvent<ApiType, [ContentActor, ChannelOwnershipTransferRequestId, ChannelOwnershipTransferRequest]>;
- ChannelOwnershipTransferRequestWithdrawn: AugmentedEvent<ApiType, [ContentActor, ChannelOwnershipTransferRequestId]>;
- ChannelUpdated: AugmentedEvent<ApiType, [ContentActor, ChannelId, Channel, ChannelUpdateParameters]>;
- CuratorAdded: AugmentedEvent<ApiType, [CuratorGroupId, CuratorId]>;
- CuratorGroupCreated: AugmentedEvent<ApiType, [CuratorGroupId]>;
- CuratorGroupStatusSet: AugmentedEvent<ApiType, [CuratorGroupId, bool]>;
- CuratorRemoved: AugmentedEvent<ApiType, [CuratorGroupId, CuratorId]>;
- FeaturedVideosSet: AugmentedEvent<ApiType, [ContentActor, Vec<VideoId>]>;
- PersonCreated: AugmentedEvent<ApiType, [ContentActor, PersonId, Vec<NewAsset>, PersonCreationParameters]>;
- PersonDeleted: AugmentedEvent<ApiType, [ContentActor, PersonId]>;
- PersonUpdated: AugmentedEvent<ApiType, [ContentActor, PersonId, Vec<NewAsset>, PersonUpdateParameters]>;
- PlaylistCreated: AugmentedEvent<ApiType, [ContentActor, PlaylistId, PlaylistCreationParameters]>;
- PlaylistDeleted: AugmentedEvent<ApiType, [ContentActor, PlaylistId]>;
- PlaylistUpdated: AugmentedEvent<ApiType, [ContentActor, PlaylistId, PlaylistUpdateParameters]>;
- SeriesCreated: AugmentedEvent<ApiType, [ContentActor, SeriesId, Vec<NewAsset>, SeriesParameters, Series]>;
- SeriesDeleted: AugmentedEvent<ApiType, [ContentActor, SeriesId]>;
- SeriesUpdated: AugmentedEvent<ApiType, [ContentActor, SeriesId, Vec<NewAsset>, SeriesParameters, Series]>;
- VideoCategoryCreated: AugmentedEvent<ApiType, [ContentActor, VideoCategoryId, VideoCategoryCreationParameters]>;
- VideoCategoryDeleted: AugmentedEvent<ApiType, [ContentActor, VideoCategoryId]>;
- VideoCategoryUpdated: AugmentedEvent<ApiType, [ContentActor, VideoCategoryId, VideoCategoryUpdateParameters]>;
- VideoCensorshipStatusUpdated: AugmentedEvent<ApiType, [ContentActor, VideoId, IsCensored, Bytes]>;
- VideoCreated: AugmentedEvent<ApiType, [ContentActor, ChannelId, VideoId, VideoCreationParameters]>;
- VideoDeleted: AugmentedEvent<ApiType, [ContentActor, VideoId]>;
- VideoUpdated: AugmentedEvent<ApiType, [ContentActor, VideoId, VideoUpdateParameters]>;
- };
- contentDirectoryWorkingGroup: {
- /**
- * Emits on accepting application for the worker opening.
- * Params:
- * - Opening id
- **/
- AcceptedApplications: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on terminating the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationTerminated: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on withdrawing the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationWithdrawn: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on adding the application for the worker opening.
- * Params:
- * - Opening id
- * - Application id
- **/
- AppliedOnOpening: AugmentedEvent<ApiType, [OpeningId, ApplicationId]>;
- /**
- * Emits on beginning the application review for the worker/lead opening.
- * Params:
- * - Opening id
- **/
- BeganApplicationReview: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on setting the leader.
- * Params:
- * - Worker id.
- **/
- LeaderSet: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on un-setting the leader.
- * Params:
- **/
- LeaderUnset: AugmentedEvent<ApiType, []>;
- /**
- * Emits on changing working group mint capacity.
- * Params:
- * - mint id.
- * - new mint balance.
- **/
- MintCapacityChanged: AugmentedEvent<ApiType, [MintId, MintBalanceOf]>;
- /**
- * Emits on adding new worker opening.
- * Params:
- * - Opening id
- **/
- OpeningAdded: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on filling the worker opening.
- * Params:
- * - Worker opening id
- * - Worker application id to the worker id dictionary
- **/
- OpeningFilled: AugmentedEvent<ApiType, [OpeningId, ApplicationIdToWorkerIdMap]>;
- /**
- * Emits on decreasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeDecreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on increasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeIncreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on slashing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeSlashed: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on terminating the leader.
- * Params:
- * - leader worker id.
- * - termination rationale text
- **/
- TerminatedLeader: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on terminating the worker.
- * Params:
- * - worker id.
- * - termination rationale text
- **/
- TerminatedWorker: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on exiting the worker.
- * Params:
- * - worker id.
- * - exit rationale text
- **/
- WorkerExited: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on updating the reward account of the worker.
- * Params:
- * - Member id of the worker.
- * - Reward account id of the worker.
- **/
- WorkerRewardAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the reward amount of the worker.
- * Params:
- * - Id of the worker.
- **/
- WorkerRewardAmountUpdated: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on updating the role account of the worker.
- * Params:
- * - Id of the worker.
- * - Role account id of the worker.
- **/
- WorkerRoleAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the worker storage role.
- * Params:
- * - Id of the worker.
- * - Raw storage field.
- **/
- WorkerStorageUpdated: AugmentedEvent<ApiType, [WorkerId, Bytes]>;
- };
- council: {
- CouncilTermEnded: AugmentedEvent<ApiType, [BlockNumber]>;
- NewCouncilTermStarted: AugmentedEvent<ApiType, [BlockNumber]>;
- };
- councilElection: {
- AnnouncingEnded: AugmentedEvent<ApiType, []>;
- AnnouncingStarted: AugmentedEvent<ApiType, [u32]>;
- Applied: AugmentedEvent<ApiType, [AccountId]>;
- CouncilElected: AugmentedEvent<ApiType, [BlockNumber]>;
- /**
- * A new election started
- **/
- ElectionStarted: AugmentedEvent<ApiType, []>;
- Revealed: AugmentedEvent<ApiType, [AccountId, Hash, AccountId]>;
- RevealingEnded: AugmentedEvent<ApiType, []>;
- RevealingStarted: AugmentedEvent<ApiType, []>;
- Voted: AugmentedEvent<ApiType, [AccountId, Hash]>;
- VotingEnded: AugmentedEvent<ApiType, []>;
- VotingStarted: AugmentedEvent<ApiType, []>;
- };
- dataDirectory: {
- /**
- * Emits when the storage provider accepts a content.
- * Params:
- * - Id of the relationship.
- * - Id of the storage provider.
- **/
- ContentAccepted: AugmentedEvent<ApiType, [ContentId, StorageProviderId]>;
- /**
- * Emits on adding of the content.
- * Params:
- * - Content parameters representation.
- * - StorageObjectOwner enum.
- **/
- ContentAdded: AugmentedEvent<ApiType, [Vec<ContentParameters>, StorageObjectOwner]>;
- /**
- * Emits when the storage provider rejects a content.
- * Params:
- * - Id of the relationship.
- * - Id of the storage provider.
- **/
- ContentRejected: AugmentedEvent<ApiType, [ContentId, StorageProviderId]>;
- /**
- * Emits on content removal.
- * Params:
- * - Content parameters representation.
- * - StorageObjectOwner enum.
- **/
- ContentRemoved: AugmentedEvent<ApiType, [Vec<ContentId>, StorageObjectOwner]>;
- /**
- * Emits when the content uploading status update performed.
- * Params:
- * - UploadingStatus bool flag.
- **/
- ContentUploadingStatusUpdated: AugmentedEvent<ApiType, [UploadingStatus]>;
- /**
- * Emits when the lead sets a new default voucher
- * Params:
- * - New size limit
- * - New objects limit
- **/
- DefaultVoucherUpdated: AugmentedEvent<ApiType, [u64, u64]>;
- /**
- * Emits when the global voucher objects limit is updated.
- * Params:
- * - New limit
- **/
- GlobalVoucherObjectsLimitUpdated: AugmentedEvent<ApiType, [u64]>;
- /**
- * Emits when the global voucher size limit is updated.
- * Params:
- * - New limit
- **/
- GlobalVoucherSizeLimitUpdated: AugmentedEvent<ApiType, [u64]>;
- /**
- * Emits when the storage object owner voucher objects limit update performed.
- * Params:
- * - StorageObjectOwner enum.
- * - voucher objects limit.
- **/
- StorageObjectOwnerVoucherObjectsLimitUpdated: AugmentedEvent<ApiType, [StorageObjectOwner, VoucherLimit]>;
- /**
- * Emits when the storage object owner voucher size limit update performed.
- * Params:
- * - StorageObjectOwner enum.
- * - voucher size limit.
- **/
- StorageObjectOwnerVoucherSizeLimitUpdated: AugmentedEvent<ApiType, [StorageObjectOwner, VoucherLimit]>;
- /**
- * Emits when the objects limit upper bound is updated.
- * Params:
- * - New Upper bound
- **/
- VoucherObjectsLimitUpperBoundUpdated: AugmentedEvent<ApiType, [u64]>;
- /**
- * Emits when the size limit upper bound is updated.
- * Params:
- * - New Upper bound
- **/
- VoucherSizeLimitUpperBoundUpdated: AugmentedEvent<ApiType, [u64]>;
- };
- dataObjectStorageRegistry: {
- /**
- * Emits on adding of the data object storage relationship.
- * Params:
- * - Id of the relationship.
- * - Id of the content.
- * - Id of the storage provider.
- **/
- DataObjectStorageRelationshipAdded: AugmentedEvent<ApiType, [DataObjectStorageRelationshipId, ContentId, StorageProviderId]>;
- /**
- * Emits on adding of the data object storage relationship.
- * Params:
- * - Id of the storage provider.
- * - Id of the relationship.
- * - Current state of the relationship (True=Active).
- **/
- DataObjectStorageRelationshipReadyUpdated: AugmentedEvent<ApiType, [StorageProviderId, DataObjectStorageRelationshipId, bool]>;
- };
- dataObjectTypeRegistry: {
- /**
- * Emits on the data object type registration.
- * Params:
- * - DataObjectType
- * - Id of the new data object type.
- **/
- DataObjectTypeRegistered: AugmentedEvent<ApiType, [DataObjectType, DataObjectTypeId]>;
- /**
- * Emits on the data object type update.
- * Params:
- * - Id of the updated data object type.
- * - DataObjectType
- **/
- DataObjectTypeUpdated: AugmentedEvent<ApiType, [DataObjectTypeId, DataObjectType]>;
- };
- forum: {
- /**
- * A category was introduced
- **/
- CategoryCreated: AugmentedEvent<ApiType, [CategoryId]>;
- /**
- * A category with given id was updated.
- * The second argument reflects the new archival status of the category, if changed.
- * The third argument reflects the new deletion status of the category, if changed.
- **/
- CategoryUpdated: AugmentedEvent<ApiType, [CategoryId, Option<bool>, Option<bool>]>;
- /**
- * Given account was set as forum sudo.
- **/
- ForumSudoSet: AugmentedEvent<ApiType, [Option<AccountId>, Option<AccountId>]>;
- /**
- * Post with given id was created.
- **/
- PostAdded: AugmentedEvent<ApiType, [PostId]>;
- /**
- * Post with givne id was moderated.
- **/
- PostModerated: AugmentedEvent<ApiType, [PostId]>;
- /**
- * Post with given id had its text updated.
- * The second argument reflects the number of total edits when the text update occurs.
- **/
- PostTextUpdated: AugmentedEvent<ApiType, [PostId, u64]>;
- /**
- * A thread with given id was created.
- **/
- ThreadCreated: AugmentedEvent<ApiType, [ThreadId]>;
- /**
- * A thread with given id was moderated.
- **/
- ThreadModerated: AugmentedEvent<ApiType, [ThreadId]>;
- };
- gatewayWorkingGroup: {
- /**
- * Emits on accepting application for the worker opening.
- * Params:
- * - Opening id
- **/
- AcceptedApplications: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on terminating the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationTerminated: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on withdrawing the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationWithdrawn: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on adding the application for the worker opening.
- * Params:
- * - Opening id
- * - Application id
- **/
- AppliedOnOpening: AugmentedEvent<ApiType, [OpeningId, ApplicationId]>;
- /**
- * Emits on beginning the application review for the worker/lead opening.
- * Params:
- * - Opening id
- **/
- BeganApplicationReview: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on setting the leader.
- * Params:
- * - Worker id.
- **/
- LeaderSet: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on un-setting the leader.
- * Params:
- **/
- LeaderUnset: AugmentedEvent<ApiType, []>;
- /**
- * Emits on changing working group mint capacity.
- * Params:
- * - mint id.
- * - new mint balance.
- **/
- MintCapacityChanged: AugmentedEvent<ApiType, [MintId, MintBalanceOf]>;
- /**
- * Emits on adding new worker opening.
- * Params:
- * - Opening id
- **/
- OpeningAdded: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on filling the worker opening.
- * Params:
- * - Worker opening id
- * - Worker application id to the worker id dictionary
- **/
- OpeningFilled: AugmentedEvent<ApiType, [OpeningId, ApplicationIdToWorkerIdMap]>;
- /**
- * Emits on decreasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeDecreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on increasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeIncreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on slashing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeSlashed: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on terminating the leader.
- * Params:
- * - leader worker id.
- * - termination rationale text
- **/
- TerminatedLeader: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on terminating the worker.
- * Params:
- * - worker id.
- * - termination rationale text
- **/
- TerminatedWorker: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on exiting the worker.
- * Params:
- * - worker id.
- * - exit rationale text
- **/
- WorkerExited: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on updating the reward account of the worker.
- * Params:
- * - Member id of the worker.
- * - Reward account id of the worker.
- **/
- WorkerRewardAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the reward amount of the worker.
- * Params:
- * - Id of the worker.
- **/
- WorkerRewardAmountUpdated: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on updating the role account of the worker.
- * Params:
- * - Id of the worker.
- * - Role account id of the worker.
- **/
- WorkerRoleAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the worker storage role.
- * Params:
- * - Id of the worker.
- * - Raw storage field.
- **/
- WorkerStorageUpdated: AugmentedEvent<ApiType, [WorkerId, Bytes]>;
- };
- grandpa: {
- /**
- * New authority set has been applied. \[authority_set\]
- **/
- NewAuthorities: AugmentedEvent<ApiType, [AuthorityList]>;
- /**
- * Current authority set has been paused.
- **/
- Paused: AugmentedEvent<ApiType, []>;
- /**
- * Current authority set has been resumed.
- **/
- Resumed: AugmentedEvent<ApiType, []>;
- };
- imOnline: {
- /**
- * At the end of the session, no offence was committed.
- **/
- AllGood: AugmentedEvent<ApiType, []>;
- /**
- * A new heartbeat was received from `AuthorityId` \[authority_id\]
- **/
- HeartbeatReceived: AugmentedEvent<ApiType, [AuthorityId]>;
- /**
- * At the end of the session, at least one validator was found to be \[offline\].
- **/
- SomeOffline: AugmentedEvent<ApiType, [Vec<IdentificationTuple>]>;
- };
- members: {
- MemberRegistered: AugmentedEvent<ApiType, [MemberId, AccountId, EntryMethod]>;
- MemberSetControllerAccount: AugmentedEvent<ApiType, [MemberId, AccountId]>;
- MemberSetRootAccount: AugmentedEvent<ApiType, [MemberId, AccountId]>;
- MemberUpdatedAboutText: AugmentedEvent<ApiType, [MemberId]>;
- MemberUpdatedAvatar: AugmentedEvent<ApiType, [MemberId]>;
- MemberUpdatedHandle: AugmentedEvent<ApiType, [MemberId]>;
- };
- memo: {
- MemoUpdated: AugmentedEvent<ApiType, [AccountId]>;
- };
- offences: {
- /**
- * There is an offence reported of the given `kind` happened at the `session_index` and
- * (kind-specific) time slot. This event is not deposited for duplicate slashes. last
- * element indicates of the offence was applied (true) or queued (false)
- * \[kind, timeslot, applied\].
- **/
- Offence: AugmentedEvent<ApiType, [Kind, OpaqueTimeSlot, bool]>;
- };
- operationsWorkingGroup: {
- /**
- * Emits on accepting application for the worker opening.
- * Params:
- * - Opening id
- **/
- AcceptedApplications: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on terminating the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationTerminated: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on withdrawing the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationWithdrawn: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on adding the application for the worker opening.
- * Params:
- * - Opening id
- * - Application id
- **/
- AppliedOnOpening: AugmentedEvent<ApiType, [OpeningId, ApplicationId]>;
- /**
- * Emits on beginning the application review for the worker/lead opening.
- * Params:
- * - Opening id
- **/
- BeganApplicationReview: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on setting the leader.
- * Params:
- * - Worker id.
- **/
- LeaderSet: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on un-setting the leader.
- * Params:
- **/
- LeaderUnset: AugmentedEvent<ApiType, []>;
- /**
- * Emits on changing working group mint capacity.
- * Params:
- * - mint id.
- * - new mint balance.
- **/
- MintCapacityChanged: AugmentedEvent<ApiType, [MintId, MintBalanceOf]>;
- /**
- * Emits on adding new worker opening.
- * Params:
- * - Opening id
- **/
- OpeningAdded: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on filling the worker opening.
- * Params:
- * - Worker opening id
- * - Worker application id to the worker id dictionary
- **/
- OpeningFilled: AugmentedEvent<ApiType, [OpeningId, ApplicationIdToWorkerIdMap]>;
- /**
- * Emits on decreasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeDecreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on increasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeIncreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on slashing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeSlashed: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on terminating the leader.
- * Params:
- * - leader worker id.
- * - termination rationale text
- **/
- TerminatedLeader: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on terminating the worker.
- * Params:
- * - worker id.
- * - termination rationale text
- **/
- TerminatedWorker: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on exiting the worker.
- * Params:
- * - worker id.
- * - exit rationale text
- **/
- WorkerExited: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on updating the reward account of the worker.
- * Params:
- * - Member id of the worker.
- * - Reward account id of the worker.
- **/
- WorkerRewardAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the reward amount of the worker.
- * Params:
- * - Id of the worker.
- **/
- WorkerRewardAmountUpdated: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on updating the role account of the worker.
- * Params:
- * - Id of the worker.
- * - Role account id of the worker.
- **/
- WorkerRoleAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the worker storage role.
- * Params:
- * - Id of the worker.
- * - Raw storage field.
- **/
- WorkerStorageUpdated: AugmentedEvent<ApiType, [WorkerId, Bytes]>;
- };
- proposalsDiscussion: {
- /**
- * Emits on post creation.
- **/
- PostCreated: AugmentedEvent<ApiType, [PostId, MemberId]>;
- /**
- * Emits on post update.
- **/
- PostUpdated: AugmentedEvent<ApiType, [PostId, MemberId]>;
- /**
- * Emits on thread creation.
- **/
- ThreadCreated: AugmentedEvent<ApiType, [ThreadId, MemberId]>;
- };
- proposalsEngine: {
- /**
- * Emits on proposal creation.
- * Params:
- * - Member id of a proposer.
- * - Id of a newly created proposal after it was saved in storage.
- **/
- ProposalCreated: AugmentedEvent<ApiType, [MemberId, ProposalId]>;
- /**
- * Emits on proposal status change.
- * Params:
- * - Id of a updated proposal.
- * - New proposal status
- **/
- ProposalStatusUpdated: AugmentedEvent<ApiType, [ProposalId, ProposalStatus]>;
- /**
- * Emits on voting for the proposal
- * Params:
- * - Voter - member id of a voter.
- * - Id of a proposal.
- * - Kind of vote.
- **/
- Voted: AugmentedEvent<ApiType, [MemberId, ProposalId, VoteKind]>;
- };
- session: {
- /**
- * New session has happened. Note that the argument is the \[session_index\], not the block
- * number as the type might suggest.
- **/
- NewSession: AugmentedEvent<ApiType, [SessionIndex]>;
- };
- staking: {
- /**
- * An account has bonded this amount. \[stash, amount\]
- *
- * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
- * it will not be emitted for staking rewards when they are added to stake.
- **/
- Bonded: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * The era payout has been set; the first balance is the validator-payout; the second is
- * the remainder from the maximum amount of reward.
- * \[era_index, validator_payout, remainder\]
- **/
- EraPayout: AugmentedEvent<ApiType, [EraIndex, Balance, Balance]>;
- /**
- * An old slashing report from a prior era was discarded because it could
- * not be processed. \[session_index\]
- **/
- OldSlashingReportDiscarded: AugmentedEvent<ApiType, [SessionIndex]>;
- /**
- * The staker has been rewarded by this amount. \[stash, amount\]
- **/
- Reward: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * One validator (and its nominators) has been slashed by the given amount.
- * \[validator, amount\]
- **/
- Slash: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * A new solution for the upcoming election has been stored. \[compute\]
- **/
- SolutionStored: AugmentedEvent<ApiType, [ElectionCompute]>;
- /**
- * A new set of stakers was elected with the given \[compute\].
- **/
- StakingElection: AugmentedEvent<ApiType, [ElectionCompute]>;
- /**
- * An account has unbonded this amount. \[stash, amount\]
- **/
- Unbonded: AugmentedEvent<ApiType, [AccountId, Balance]>;
- /**
- * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
- * from the unlocking queue. \[stash, amount\]
- **/
- Withdrawn: AugmentedEvent<ApiType, [AccountId, Balance]>;
- };
- storageWorkingGroup: {
- /**
- * Emits on accepting application for the worker opening.
- * Params:
- * - Opening id
- **/
- AcceptedApplications: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on terminating the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationTerminated: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on withdrawing the application for the worker/lead opening.
- * Params:
- * - Worker application id
- **/
- ApplicationWithdrawn: AugmentedEvent<ApiType, [ApplicationId]>;
- /**
- * Emits on adding the application for the worker opening.
- * Params:
- * - Opening id
- * - Application id
- **/
- AppliedOnOpening: AugmentedEvent<ApiType, [OpeningId, ApplicationId]>;
- /**
- * Emits on beginning the application review for the worker/lead opening.
- * Params:
- * - Opening id
- **/
- BeganApplicationReview: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on setting the leader.
- * Params:
- * - Worker id.
- **/
- LeaderSet: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on un-setting the leader.
- * Params:
- **/
- LeaderUnset: AugmentedEvent<ApiType, []>;
- /**
- * Emits on changing working group mint capacity.
- * Params:
- * - mint id.
- * - new mint balance.
- **/
- MintCapacityChanged: AugmentedEvent<ApiType, [MintId, MintBalanceOf]>;
- /**
- * Emits on adding new worker opening.
- * Params:
- * - Opening id
- **/
- OpeningAdded: AugmentedEvent<ApiType, [OpeningId]>;
- /**
- * Emits on filling the worker opening.
- * Params:
- * - Worker opening id
- * - Worker application id to the worker id dictionary
- **/
- OpeningFilled: AugmentedEvent<ApiType, [OpeningId, ApplicationIdToWorkerIdMap]>;
- /**
- * Emits on decreasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeDecreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on increasing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeIncreased: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on slashing the worker/lead stake.
- * Params:
- * - worker/lead id.
- **/
- StakeSlashed: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on terminating the leader.
- * Params:
- * - leader worker id.
- * - termination rationale text
- **/
- TerminatedLeader: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on terminating the worker.
- * Params:
- * - worker id.
- * - termination rationale text
- **/
- TerminatedWorker: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on exiting the worker.
- * Params:
- * - worker id.
- * - exit rationale text
- **/
- WorkerExited: AugmentedEvent<ApiType, [WorkerId, RationaleText]>;
- /**
- * Emits on updating the reward account of the worker.
- * Params:
- * - Member id of the worker.
- * - Reward account id of the worker.
- **/
- WorkerRewardAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the reward amount of the worker.
- * Params:
- * - Id of the worker.
- **/
- WorkerRewardAmountUpdated: AugmentedEvent<ApiType, [WorkerId]>;
- /**
- * Emits on updating the role account of the worker.
- * Params:
- * - Id of the worker.
- * - Role account id of the worker.
- **/
- WorkerRoleAccountUpdated: AugmentedEvent<ApiType, [WorkerId, AccountId]>;
- /**
- * Emits on updating the worker storage role.
- * Params:
- * - Id of the worker.
- * - Raw storage field.
- **/
- WorkerStorageUpdated: AugmentedEvent<ApiType, [WorkerId, Bytes]>;
- };
- sudo: {
- /**
- * The \[sudoer\] just switched identity; the old key is supplied.
- **/
- KeyChanged: AugmentedEvent<ApiType, [AccountId]>;
- /**
- * A sudo just took place. \[result\]
- **/
- Sudid: AugmentedEvent<ApiType, [DispatchResult]>;
- /**
- * A sudo just took place. \[result\]
- **/
- SudoAsDone: AugmentedEvent<ApiType, [bool]>;
- };
- system: {
- /**
- * `:code` was updated.
- **/
- CodeUpdated: AugmentedEvent<ApiType, []>;
- /**
- * An extrinsic failed. \[error, info\]
- **/
- ExtrinsicFailed: AugmentedEvent<ApiType, [DispatchError, DispatchInfo]>;
- /**
- * An extrinsic completed successfully. \[info\]
- **/
- ExtrinsicSuccess: AugmentedEvent<ApiType, [DispatchInfo]>;
- /**
- * An \[account\] was reaped.
- **/
- KilledAccount: AugmentedEvent<ApiType, [AccountId]>;
- /**
- * A new \[account\] was created.
- **/
- NewAccount: AugmentedEvent<ApiType, [AccountId]>;
- };
- utility: {
- /**
- * Batch of dispatches completed fully with no error.
- **/
- BatchCompleted: AugmentedEvent<ApiType, []>;
- /**
- * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
- * well as the error. \[index, error\]
- **/
- BatchInterrupted: AugmentedEvent<ApiType, [u32, DispatchError]>;
- };
- }
- export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {
- }
- }
|