1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { EthereumLog, EvmCoreErrorExitReason } from './ethereum';5import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode } from './unique';6import type { ApiTypes } from '@polkadot/api/types';7import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types';8import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';9import type { FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';1011declare module '@polkadot/api/types/events' {12 export interface AugmentedEvents<ApiType> {13 balances: {14 /**15 * A balance was set by root.16 **/17 BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;18 /**19 * Some amount was deposited (e.g. for transaction fees).20 **/21 Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;22 /**23 * An account was removed whose balance was non-zero but below ExistentialDeposit,24 * resulting in an outright loss.25 **/26 DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;27 /**28 * An account was created with some free balance.29 **/30 Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;31 /**32 * Some balance was reserved (moved from free to reserved).33 **/34 Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;35 /**36 * Some balance was moved from the reserve of the first account to the second account.37 * Final argument indicates the destination balance type.38 **/39 ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;40 /**41 * Some amount was removed from the account (e.g. for misbehavior).42 **/43 Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;44 /**45 * Transfer succeeded.46 **/47 Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;48 /**49 * Some balance was unreserved (moved from reserved to free).50 **/51 Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;52 /**53 * Some amount was withdrawn from the account (e.g. for transaction fees).54 **/55 Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;56 /**57 * Generic event58 **/59 [key: string]: AugmentedEvent<ApiType>;60 };61 common: {62 /**63 * * collection_id64 * 65 * * item_id66 * 67 * * sender68 * 69 * * spender70 * 71 * * amount72 **/73 Approved: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;74 /**75 * New collection was created76 * 77 * # Arguments78 * 79 * * collection_id: Globally unique identifier of newly created collection.80 * 81 * * mode: [CollectionMode] converted into u8.82 * 83 * * account_id: Collection owner.84 **/85 CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;86 /**87 * New collection was destroyed88 * 89 * # Arguments90 * 91 * * collection_id: Globally unique identifier of collection.92 **/93 CollectionDestroyed: AugmentedEvent<ApiType, [u32]>;94 /**95 * New item was created.96 * 97 * # Arguments98 * 99 * * collection_id: Id of the collection where item was created.100 * 101 * * item_id: Id of an item. Unique within the collection.102 * 103 * * recipient: Owner of newly created item104 * 105 * * amount: Always 1 for NFT106 **/107 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;108 /**109 * Collection item was burned.110 * 111 * # Arguments112 * 113 * * collection_id.114 * 115 * * item_id: Identifier of burned NFT.116 * 117 * * owner: which user has destroyed its tokens118 * 119 * * amount: Always 1 for NFT120 **/121 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;122 /**123 * Item was transferred124 * 125 * * collection_id: Id of collection to which item is belong126 * 127 * * item_id: Id of an item128 * 129 * * sender: Original owner of item130 * 131 * * recipient: New owner of item132 * 133 * * amount: Always 1 for NFT134 **/135 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;136 /**137 * Generic event138 **/139 [key: string]: AugmentedEvent<ApiType>;140 };141 cumulusXcm: {142 /**143 * Downward message executed with the given outcome.144 * \[ id, outcome \]145 **/146 ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;147 /**148 * Downward message is invalid XCM.149 * \[ id \]150 **/151 InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;152 /**153 * Downward message is unsupported version of XCM.154 * \[ id \]155 **/156 UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;157 /**158 * Generic event159 **/160 [key: string]: AugmentedEvent<ApiType>;161 };162 dmpQueue: {163 /**164 * Downward message executed with the given outcome.165 * \[ id, outcome \]166 **/167 ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;168 /**169 * Downward message is invalid XCM.170 * \[ id \]171 **/172 InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;173 /**174 * Downward message is overweight and was placed in the overweight queue.175 * \[ id, index, required \]176 **/177 OverweightEnqueued: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;178 /**179 * Downward message from the overweight queue was executed.180 * \[ index, used \]181 **/182 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;183 /**184 * Downward message is unsupported version of XCM.185 * \[ id \]186 **/187 UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;188 /**189 * The weight limit for handling downward messages was reached.190 * \[ id, remaining, required \]191 **/192 WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;193 /**194 * Generic event195 **/196 [key: string]: AugmentedEvent<ApiType>;197 };198 ethereum: {199 /**200 * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason]201 **/202 Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>;203 /**204 * Generic event205 **/206 [key: string]: AugmentedEvent<ApiType>;207 };208 evm: {209 /**210 * A deposit has been made at a given address. \[sender, address, value\]211 **/212 BalanceDeposit: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;213 /**214 * A withdrawal has been made from a given address. \[sender, address, value\]215 **/216 BalanceWithdraw: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;217 /**218 * A contract has been created at given \[address\].219 **/220 Created: AugmentedEvent<ApiType, [H160]>;221 /**222 * A \[contract\] was attempted to be created, but the execution failed.223 **/224 CreatedFailed: AugmentedEvent<ApiType, [H160]>;225 /**226 * A \[contract\] has been executed successfully with states applied.227 **/228 Executed: AugmentedEvent<ApiType, [H160]>;229 /**230 * A \[contract\] has been executed with errors. States are reverted with only gas fees applied.231 **/232 ExecutedFailed: AugmentedEvent<ApiType, [H160]>;233 /**234 * Ethereum events from contracts.235 **/236 Log: AugmentedEvent<ApiType, [EthereumLog]>;237 /**238 * Generic event239 **/240 [key: string]: AugmentedEvent<ApiType>;241 };242 parachainSystem: {243 /**244 * Downward messages were processed using the given weight.245 * \[ weight_used, result_mqc_head \]246 **/247 DownwardMessagesProcessed: AugmentedEvent<ApiType, [u64, H256]>;248 /**249 * Some downward messages have been received and will be processed.250 * \[ count \]251 **/252 DownwardMessagesReceived: AugmentedEvent<ApiType, [u32]>;253 /**254 * An upgrade has been authorized.255 **/256 UpgradeAuthorized: AugmentedEvent<ApiType, [H256]>;257 /**258 * The validation function was applied as of the contained relay chain block number.259 **/260 ValidationFunctionApplied: AugmentedEvent<ApiType, [u32]>;261 /**262 * The relay-chain aborted the upgrade process.263 **/264 ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;265 /**266 * The validation function has been scheduled to apply.267 **/268 ValidationFunctionStored: AugmentedEvent<ApiType, []>;269 /**270 * Generic event271 **/272 [key: string]: AugmentedEvent<ApiType>;273 };274 polkadotXcm: {275 /**276 * Some assets have been placed in an asset trap.277 * 278 * \[ hash, origin, assets \]279 **/280 AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;281 /**282 * Execution of an XCM message was attempted.283 * 284 * \[ outcome \]285 **/286 Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;287 /**288 * Expected query response has been received but the origin location of the response does289 * not match that expected. The query remains registered for a later, valid, response to290 * be received and acted upon.291 * 292 * \[ origin location, id, expected location \]293 **/294 InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;295 /**296 * Expected query response has been received but the expected origin location placed in297 * storage by this runtime previously cannot be decoded. The query remains registered.298 * 299 * This is unexpected (since a location placed in storage in a previously executing300 * runtime should be readable prior to query timeout) and dangerous since the possibly301 * valid response will be dropped. Manual governance intervention is probably going to be302 * needed.303 * 304 * \[ origin location, id \]305 **/306 InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;307 /**308 * Query response has been received and query is removed. The registered notification has309 * been dispatched and executed successfully.310 * 311 * \[ id, pallet index, call index \]312 **/313 Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;314 /**315 * Query response has been received and query is removed. The dispatch was unable to be316 * decoded into a `Call`; this might be due to dispatch function having a signature which317 * is not `(origin, QueryId, Response)`.318 * 319 * \[ id, pallet index, call index \]320 **/321 NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;322 /**323 * Query response has been received and query is removed. There was a general error with324 * dispatching the notification call.325 * 326 * \[ id, pallet index, call index \]327 **/328 NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;329 /**330 * Query response has been received and query is removed. The registered notification could331 * not be dispatched because the dispatch weight is greater than the maximum weight332 * originally budgeted by this runtime for the query result.333 * 334 * \[ id, pallet index, call index, actual weight, max budgeted weight \]335 **/336 NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;337 /**338 * A given location which had a version change subscription was dropped owing to an error339 * migrating the location to our new XCM format.340 * 341 * \[ location, query ID \]342 **/343 NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;344 /**345 * A given location which had a version change subscription was dropped owing to an error346 * sending the notification to it.347 * 348 * \[ location, query ID, error \]349 **/350 NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;351 /**352 * Query response has been received and is ready for taking with `take_response`. There is353 * no registered notification call.354 * 355 * \[ id, response \]356 **/357 ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;358 /**359 * Received query response has been read and removed.360 * 361 * \[ id \]362 **/363 ResponseTaken: AugmentedEvent<ApiType, [u64]>;364 /**365 * A XCM message was sent.366 * 367 * \[ origin, destination, message \]368 **/369 Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;370 /**371 * The supported version of a location has been changed. This might be through an372 * automatic notification or a manual intervention.373 * 374 * \[ location, XCM version \]375 **/376 SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;377 /**378 * Query response received which does not match a registered query. This may be because a379 * matching query was never registered, it may be because it is a duplicate response, or380 * because the query timed out.381 * 382 * \[ origin location, id \]383 **/384 UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;385 /**386 * An XCM version change notification message has been attempted to be sent.387 * 388 * \[ destination, result \]389 **/390 VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;391 /**392 * Generic event393 **/394 [key: string]: AugmentedEvent<ApiType>;395 };396 sudo: {397 /**398 * The \[sudoer\] just switched identity; the old key is supplied.399 **/400 KeyChanged: AugmentedEvent<ApiType, [AccountId32]>;401 /**402 * A sudo just took place. \[result\]403 **/404 Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;405 /**406 * A sudo just took place. \[result\]407 **/408 SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;409 /**410 * Generic event411 **/412 [key: string]: AugmentedEvent<ApiType>;413 };414 system: {415 /**416 * `:code` was updated.417 **/418 CodeUpdated: AugmentedEvent<ApiType, []>;419 /**420 * An extrinsic failed. \[error, info\]421 **/422 ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;423 /**424 * An extrinsic completed successfully. \[info\]425 **/426 ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;427 /**428 * An \[account\] was reaped.429 **/430 KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;431 /**432 * A new \[account\] was created.433 **/434 NewAccount: AugmentedEvent<ApiType, [AccountId32]>;435 /**436 * On on-chain remark happened. \[origin, remark_hash\]437 **/438 Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;439 /**440 * Generic event441 **/442 [key: string]: AugmentedEvent<ApiType>;443 };444 treasury: {445 /**446 * Some funds have been allocated. \[proposal_index, award, beneficiary\]447 **/448 Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;449 /**450 * Some of our funds have been burnt. \[burn\]451 **/452 Burnt: AugmentedEvent<ApiType, [u128]>;453 /**454 * Some funds have been deposited. \[deposit\]455 **/456 Deposit: AugmentedEvent<ApiType, [u128]>;457 /**458 * New proposal. \[proposal_index\]459 **/460 Proposed: AugmentedEvent<ApiType, [u32]>;461 /**462 * A proposal was rejected; funds were slashed. \[proposal_index, slashed\]463 **/464 Rejected: AugmentedEvent<ApiType, [u32, u128]>;465 /**466 * Spending has finished; this is the amount that rolls over until next spend.467 * \[budget_remaining\]468 **/469 Rollover: AugmentedEvent<ApiType, [u128]>;470 /**471 * We have ended a spend period and will now allocate funds. \[budget_remaining\]472 **/473 Spending: AugmentedEvent<ApiType, [u128]>;474 /**475 * Generic event476 **/477 [key: string]: AugmentedEvent<ApiType>;478 };479 unique: {480 /**481 * Address was add to allow list482 * 483 * # Arguments484 * 485 * * collection_id: Globally unique collection identifier.486 * 487 * * user: Address.488 **/489 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;490 /**491 * Address was remove from allow list492 * 493 * # Arguments494 * 495 * * collection_id: Globally unique collection identifier.496 * 497 * * user: Address.498 **/499 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;500 /**501 * Collection admin was added502 * 503 * # Arguments504 * 505 * * collection_id: Globally unique collection identifier.506 * 507 * * admin: Admin address.508 **/509 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;510 /**511 * Collection admin was removed512 * 513 * # Arguments514 * 515 * * collection_id: Globally unique collection identifier.516 * 517 * * admin: Admin address.518 **/519 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;520 /**521 * Collection limits was set522 * 523 * # Arguments524 * 525 * * collection_id: Globally unique collection identifier.526 **/527 CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;528 /**529 * Collection owned was change530 * 531 * # Arguments532 * 533 * * collection_id: Globally unique collection identifier.534 * 535 * * owner: New owner address.536 **/537 CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;538 /**539 * Collection sponsor was removed540 * 541 * # Arguments542 * 543 * * collection_id: Globally unique collection identifier.544 **/545 CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;546 /**547 * Collection sponsor was set548 * 549 * # Arguments550 * 551 * * collection_id: Globally unique collection identifier.552 * 553 * * owner: New sponsor address.554 **/555 CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;556 /**557 * const on chain schema was set558 * 559 * # Arguments560 * 561 * * collection_id: Globally unique collection identifier.562 **/563 ConstOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;564 /**565 * Mint permission was set566 * 567 * # Arguments568 * 569 * * collection_id: Globally unique collection identifier.570 **/571 MintPermissionSet: AugmentedEvent<ApiType, [u32]>;572 /**573 * Offchain schema was set574 * 575 * # Arguments576 * 577 * * collection_id: Globally unique collection identifier.578 **/579 OffchainSchemaSet: AugmentedEvent<ApiType, [u32]>;580 /**581 * Public access mode was set582 * 583 * # Arguments584 * 585 * * collection_id: Globally unique collection identifier.586 * 587 * * mode: New access state.588 **/589 PublicAccessModeSet: AugmentedEvent<ApiType, [u32, UpDataStructsAccessMode]>;590 /**591 * Schema version was set592 * 593 * # Arguments594 * 595 * * collection_id: Globally unique collection identifier.596 **/597 SchemaVersionSet: AugmentedEvent<ApiType, [u32]>;598 /**599 * New sponsor was confirm600 * 601 * # Arguments602 * 603 * * collection_id: Globally unique collection identifier.604 * 605 * * sponsor: New sponsor address.606 **/607 SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;608 /**609 * Variable on chain schema was set610 * 611 * # Arguments612 * 613 * * collection_id: Globally unique collection identifier.614 **/615 VariableOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;616 /**617 * Generic event618 **/619 [key: string]: AugmentedEvent<ApiType>;620 };621 vesting: {622 /**623 * Claimed vesting. \[who, locked_amount\]624 **/625 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;626 /**627 * Added new vesting schedule. \[from, to, vesting_schedule\]628 **/629 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;630 /**631 * Updated vesting schedules. \[who\]632 **/633 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;634 /**635 * Generic event636 **/637 [key: string]: AugmentedEvent<ApiType>;638 };639 xcmpQueue: {640 /**641 * Bad XCM format used.642 **/643 BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;644 /**645 * Bad XCM version used.646 **/647 BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;648 /**649 * Some XCM failed.650 **/651 Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;652 /**653 * Some XCM was executed ok.654 **/655 Success: AugmentedEvent<ApiType, [Option<H256>]>;656 /**657 * An upward message was sent to the relay chain.658 **/659 UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;660 /**661 * An HRMP message was sent to a sibling parachain.662 **/663 XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;664 /**665 * Generic event666 **/667 [key: string]: AugmentedEvent<ApiType>;668 };669 }670671 export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {672 [key: string]: ModuleEvents<ApiType>;673 }674}difftreelog
source
tests/src/interfaces/augment-api-events.ts22.2 KiBsourcehistory