import '@polkadot/api-base/types/events'; import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Result, U8aFixed, Vec, i64, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime'; import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletReactionsReactionKind, SpRuntimeDispatchError, SpWeightsWeightV2Weight, SubsocialParachainRuntimeProxyType, SubsocialSupportUser, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup'; export declare type __AugmentedEvent = AugmentedEvent; declare module '@polkadot/api-base/types/events' { interface AugmentedEvents { accountFollows: { AccountFollowed: AugmentedEvent; AccountUnfollowed: AugmentedEvent; }; balances: { /** * A balance was set by root. **/ BalanceSet: AugmentedEvent; /** * Some amount was deposited (e.g. for transaction fees). **/ Deposit: AugmentedEvent; /** * An account was removed whose balance was non-zero but below ExistentialDeposit, * resulting in an outright loss. **/ DustLost: AugmentedEvent; /** * An account was created with some free balance. **/ Endowed: AugmentedEvent; /** * Some balance was reserved (moved from free to reserved). **/ Reserved: AugmentedEvent; /** * Some balance was moved from the reserve of the first account to the second account. * Final argument indicates the destination balance type. **/ ReserveRepatriated: AugmentedEvent; /** * Some amount was removed from the account (e.g. for misbehavior). **/ Slashed: AugmentedEvent; /** * Transfer succeeded. **/ Transfer: AugmentedEvent; /** * Some balance was unreserved (moved from reserved to free). **/ Unreserved: AugmentedEvent; /** * Some amount was withdrawn from the account (e.g. for transaction fees). **/ Withdraw: AugmentedEvent; }; collatorSelection: { CandidateAdded: AugmentedEvent; CandidateRemoved: AugmentedEvent; NewCandidacyBond: AugmentedEvent; NewDesiredCandidates: AugmentedEvent; NewInvulnerables: AugmentedEvent], { invulnerables: Vec; }>; }; cumulusXcm: { /** * Downward message executed with the given outcome. * \[ id, outcome \] **/ ExecutedDownward: AugmentedEvent; /** * Downward message is invalid XCM. * \[ id \] **/ InvalidFormat: AugmentedEvent; /** * Downward message is unsupported version of XCM. * \[ id \] **/ UnsupportedVersion: AugmentedEvent; }; dmpQueue: { /** * Downward message executed with the given outcome. **/ ExecutedDownward: AugmentedEvent; /** * Downward message is invalid XCM. **/ InvalidFormat: AugmentedEvent; /** * Downward message is overweight and was placed in the overweight queue. **/ OverweightEnqueued: AugmentedEvent; /** * Downward message from the overweight queue was executed. **/ OverweightServiced: AugmentedEvent; /** * Downward message is unsupported version of XCM. **/ UnsupportedVersion: AugmentedEvent; /** * The weight limit for handling downward messages was reached. **/ WeightExhausted: AugmentedEvent; }; domains: { /** * The domain meta was successfully updated. **/ DomainMetaUpdated: AugmentedEvent; /** * The domain name was successfully registered. **/ DomainRegistered: AugmentedEvent; /** * Added support for new TLDs (top-level domains). **/ NewTldsSupported: AugmentedEvent; /** * New words have been reserved. **/ NewWordsReserved: AugmentedEvent; }; energy: { /** * An account was removed whose balance was non-zero but below * ExistentialDeposit, resulting in an outright loss. **/ DustLost: AugmentedEvent; /** * Energy have been generated to an account. **/ EnergyGenerated: AugmentedEvent; /** * Energy value coefficient has been updated. **/ ValueCoefficientUpdated: AugmentedEvent; }; parachainSystem: { /** * Downward messages were processed using the given weight. **/ DownwardMessagesProcessed: AugmentedEvent; /** * Some downward messages have been received and will be processed. **/ DownwardMessagesReceived: AugmentedEvent; /** * An upgrade has been authorized. **/ UpgradeAuthorized: AugmentedEvent; /** * The validation function was applied as of the contained relay chain block number. **/ ValidationFunctionApplied: AugmentedEvent; /** * The relay-chain aborted the upgrade process. **/ ValidationFunctionDiscarded: AugmentedEvent; /** * The validation function has been scheduled to apply. **/ ValidationFunctionStored: AugmentedEvent; }; polkadotXcm: { /** * Some assets have been claimed from an asset trap * * \[ hash, origin, assets \] **/ AssetsClaimed: AugmentedEvent; /** * Some assets have been placed in an asset trap. * * \[ hash, origin, assets \] **/ AssetsTrapped: AugmentedEvent; /** * Execution of an XCM message was attempted. * * \[ outcome \] **/ Attempted: AugmentedEvent; /** * Expected query response has been received but the origin location of the response does * not match that expected. The query remains registered for a later, valid, response to * be received and acted upon. * * \[ origin location, id, expected location \] **/ InvalidResponder: AugmentedEvent]>; /** * Expected query response has been received but the expected origin location placed in * storage by this runtime previously cannot be decoded. The query remains registered. * * This is unexpected (since a location placed in storage in a previously executing * runtime should be readable prior to query timeout) and dangerous since the possibly * valid response will be dropped. Manual governance intervention is probably going to be * needed. * * \[ origin location, id \] **/ InvalidResponderVersion: AugmentedEvent; /** * Query response has been received and query is removed. The registered notification has * been dispatched and executed successfully. * * \[ id, pallet index, call index \] **/ Notified: AugmentedEvent; /** * Query response has been received and query is removed. The dispatch was unable to be * decoded into a `Call`; this might be due to dispatch function having a signature which * is not `(origin, QueryId, Response)`. * * \[ id, pallet index, call index \] **/ NotifyDecodeFailed: AugmentedEvent; /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. * * \[ id, pallet index, call index \] **/ NotifyDispatchError: AugmentedEvent; /** * Query response has been received and query is removed. The registered notification could * not be dispatched because the dispatch weight is greater than the maximum weight * originally budgeted by this runtime for the query result. * * \[ id, pallet index, call index, actual weight, max budgeted weight \] **/ NotifyOverweight: AugmentedEvent; /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. * * \[ location, query ID \] **/ NotifyTargetMigrationFail: AugmentedEvent; /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. * * \[ location, query ID, error \] **/ NotifyTargetSendFail: AugmentedEvent; /** * Query response has been received and is ready for taking with `take_response`. There is * no registered notification call. * * \[ id, response \] **/ ResponseReady: AugmentedEvent; /** * Received query response has been read and removed. * * \[ id \] **/ ResponseTaken: AugmentedEvent; /** * A XCM message was sent. * * \[ origin, destination, message \] **/ Sent: AugmentedEvent; /** * The supported version of a location has been changed. This might be through an * automatic notification or a manual intervention. * * \[ location, XCM version \] **/ SupportedVersionChanged: AugmentedEvent; /** * Query response received which does not match a registered query. This may be because a * matching query was never registered, it may be because it is a duplicate response, or * because the query timed out. * * \[ origin location, id \] **/ UnexpectedResponse: AugmentedEvent; /** * An XCM version change notification message has been attempted to be sent. * * \[ destination, result \] **/ VersionChangeNotified: AugmentedEvent; }; posts: { PostCreated: AugmentedEvent; PostMoved: AugmentedEvent, toSpace: Option], { account: AccountId32; postId: u64; fromSpace: Option; toSpace: Option; }>; PostUpdated: AugmentedEvent; }; profiles: { /** * Profile's space id was updated for this account. **/ ProfileUpdated: AugmentedEvent], { account: AccountId32; spaceId: Option; }>; }; proxy: { /** * An announcement was placed to make a call in the future. **/ Announced: AugmentedEvent; /** * A proxy was added. **/ ProxyAdded: AugmentedEvent; /** * A proxy was executed correctly, with the given. **/ ProxyExecuted: AugmentedEvent], { result: Result; }>; /** * A proxy was removed. **/ ProxyRemoved: AugmentedEvent; /** * A pure account has been created by new proxy with given * disambiguation index and proxy type. **/ PureCreated: AugmentedEvent; }; reactions: { PostReactionCreated: AugmentedEvent; PostReactionDeleted: AugmentedEvent; PostReactionUpdated: AugmentedEvent; }; roles: { RoleCreated: AugmentedEvent; RoleDeleted: AugmentedEvent; RoleGranted: AugmentedEvent], { account: AccountId32; roleId: u64; users: Vec; }>; RoleRevoked: AugmentedEvent], { account: AccountId32; roleId: u64; users: Vec; }>; RoleUpdated: AugmentedEvent; }; session: { /** * New session has happened. Note that the argument is the session index, not the * block number as the type might suggest. **/ NewSession: AugmentedEvent; }; spaceFollows: { SpaceFollowed: AugmentedEvent; SpaceUnfollowed: AugmentedEvent; }; spaceOwnership: { SpaceOwnershipTransferAccepted: AugmentedEvent; SpaceOwnershipTransferCreated: AugmentedEvent; SpaceOwnershipTransferRejected: AugmentedEvent; }; spaces: { SpaceCreated: AugmentedEvent; SpaceUpdated: AugmentedEvent; }; sudo: { /** * The \[sudoer\] just switched identity; the old key is supplied if one existed. **/ KeyChanged: AugmentedEvent], { oldSudoer: Option; }>; /** * A sudo just took place. \[result\] **/ Sudid: AugmentedEvent], { sudoResult: Result; }>; /** * A sudo just took place. \[result\] **/ SudoAsDone: AugmentedEvent], { sudoResult: Result; }>; }; system: { /** * `:code` was updated. **/ CodeUpdated: AugmentedEvent; /** * An extrinsic failed. **/ ExtrinsicFailed: AugmentedEvent; /** * An extrinsic completed successfully. **/ ExtrinsicSuccess: AugmentedEvent; /** * An account was reaped. **/ KilledAccount: AugmentedEvent; /** * A new account was created. **/ NewAccount: AugmentedEvent; /** * On on-chain remark happened. **/ Remarked: AugmentedEvent; }; transactionPayment: { /** * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, * has been paid by `who`. **/ TransactionFeePaid: AugmentedEvent; }; utility: { /** * Batch of dispatches completed fully with no error. **/ BatchCompleted: AugmentedEvent; /** * Batch of dispatches completed but has errors. **/ BatchCompletedWithErrors: AugmentedEvent; /** * Batch of dispatches did not complete fully. Index of first failing dispatch given, as * well as the error. **/ BatchInterrupted: AugmentedEvent; /** * A call was dispatched. **/ DispatchedAs: AugmentedEvent], { result: Result; }>; /** * A single item within a Batch of dispatches has completed with no error. **/ ItemCompleted: AugmentedEvent; /** * A single item within a Batch of dispatches has completed with error. **/ ItemFailed: AugmentedEvent; }; vesting: { /** * An \[account\] has become fully vested. **/ VestingCompleted: AugmentedEvent; /** * The amount vested has been updated. This could indicate a change in funds available. * The balance given is the amount which is left unvested (and thus locked). **/ VestingUpdated: AugmentedEvent; }; xcmpQueue: { /** * Bad XCM format used. **/ BadFormat: AugmentedEvent], { messageHash: Option; }>; /** * Bad XCM version used. **/ BadVersion: AugmentedEvent], { messageHash: Option; }>; /** * Some XCM failed. **/ Fail: AugmentedEvent, error: XcmV2TraitsError, weight: SpWeightsWeightV2Weight], { messageHash: Option; error: XcmV2TraitsError; weight: SpWeightsWeightV2Weight; }>; /** * An XCM exceeded the individual message weight budget. **/ OverweightEnqueued: AugmentedEvent; /** * An XCM from the overweight queue was executed with the given actual weight used. **/ OverweightServiced: AugmentedEvent; /** * Some XCM was executed ok. **/ Success: AugmentedEvent, weight: SpWeightsWeightV2Weight], { messageHash: Option; weight: SpWeightsWeightV2Weight; }>; /** * An upward message was sent to the relay chain. **/ UpwardMessageSent: AugmentedEvent], { messageHash: Option; }>; /** * An HRMP message was sent to a sibling parachain. **/ XcmpMessageSent: AugmentedEvent], { messageHash: Option; }>; }; } }