1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';5import type { Bytes, Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types-codec';6import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';7import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, SpRuntimeDispatchError, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';89declare module '@polkadot/api-base/types/events' {10 export interface AugmentedEvents<ApiType extends ApiTypes> {11 balances: {12 /**13 * A balance was set by root.14 **/15 BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;16 /**17 * Some amount was deposited (e.g. for transaction fees).18 **/19 Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;20 /**21 * An account was removed whose balance was non-zero but below ExistentialDeposit,22 * resulting in an outright loss.23 **/24 DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;25 /**26 * An account was created with some free balance.27 **/28 Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;29 /**30 * Some balance was reserved (moved from free to reserved).31 **/32 Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;33 /**34 * Some balance was moved from the reserve of the first account to the second account.35 * Final argument indicates the destination balance type.36 **/37 ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;38 /**39 * Some amount was removed from the account (e.g. for misbehavior).40 **/41 Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;42 /**43 * Transfer succeeded.44 **/45 Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;46 /**47 * Some balance was unreserved (moved from reserved to free).48 **/49 Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;50 /**51 * Some amount was withdrawn from the account (e.g. for transaction fees).52 **/53 Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;54 /**55 * Generic event56 **/57 [key: string]: AugmentedEvent<ApiType>;58 };59 common: {60 /**61 * * collection_id62 * 63 * * item_id64 * 65 * * sender66 * 67 * * spender68 * 69 * * amount70 **/71 Approved: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;72 /**73 * New collection was created74 * 75 * # Arguments76 * 77 * * collection_id: Globally unique identifier of newly created collection.78 * 79 * * mode: [CollectionMode] converted into u8.80 * 81 * * account_id: Collection owner.82 **/83 CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;84 /**85 * New collection was destroyed86 * 87 * # Arguments88 * 89 * * collection_id: Globally unique identifier of collection.90 **/91 CollectionDestroyed: AugmentedEvent<ApiType, [u32]>;92 CollectionPropertyDeleted: AugmentedEvent<ApiType, [u32, Bytes]>;93 CollectionPropertySet: AugmentedEvent<ApiType, [u32, Bytes]>;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, PalletEvmAccountBasicCrossAccountIdRepr, 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, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;122 PropertyPermissionSet: AugmentedEvent<ApiType, [u32, Bytes]>;123 TokenPropertyDeleted: AugmentedEvent<ApiType, [u32, u32, Bytes]>;124 TokenPropertySet: AugmentedEvent<ApiType, [u32, u32, Bytes]>;125 /**126 * Item was transferred127 * 128 * * collection_id: Id of collection to which item is belong129 * 130 * * item_id: Id of an item131 * 132 * * sender: Original owner of item133 * 134 * * recipient: New owner of item135 * 136 * * amount: Always 1 for NFT137 **/138 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;139 /**140 * Generic event141 **/142 [key: string]: AugmentedEvent<ApiType>;143 };144 cumulusXcm: {145 /**146 * Downward message executed with the given outcome.147 * \[ id, outcome \]148 **/149 ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;150 /**151 * Downward message is invalid XCM.152 * \[ id \]153 **/154 InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;155 /**156 * Downward message is unsupported version of XCM.157 * \[ id \]158 **/159 UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;160 /**161 * Generic event162 **/163 [key: string]: AugmentedEvent<ApiType>;164 };165 dmpQueue: {166 /**167 * Downward message executed with the given outcome.168 * \[ id, outcome \]169 **/170 ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;171 /**172 * Downward message is invalid XCM.173 * \[ id \]174 **/175 InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;176 /**177 * Downward message is overweight and was placed in the overweight queue.178 * \[ id, index, required \]179 **/180 OverweightEnqueued: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;181 /**182 * Downward message from the overweight queue was executed.183 * \[ index, used \]184 **/185 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;186 /**187 * Downward message is unsupported version of XCM.188 * \[ id \]189 **/190 UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;191 /**192 * The weight limit for handling downward messages was reached.193 * \[ id, remaining, required \]194 **/195 WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;196 /**197 * Generic event198 **/199 [key: string]: AugmentedEvent<ApiType>;200 };201 ethereum: {202 /**203 * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason]204 **/205 Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>;206 /**207 * Generic event208 **/209 [key: string]: AugmentedEvent<ApiType>;210 };211 evm: {212 /**213 * A deposit has been made at a given address. \[sender, address, value\]214 **/215 BalanceDeposit: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;216 /**217 * A withdrawal has been made from a given address. \[sender, address, value\]218 **/219 BalanceWithdraw: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;220 /**221 * A contract has been created at given \[address\].222 **/223 Created: AugmentedEvent<ApiType, [H160]>;224 /**225 * A \[contract\] was attempted to be created, but the execution failed.226 **/227 CreatedFailed: AugmentedEvent<ApiType, [H160]>;228 /**229 * A \[contract\] has been executed successfully with states applied.230 **/231 Executed: AugmentedEvent<ApiType, [H160]>;232 /**233 * A \[contract\] has been executed with errors. States are reverted with only gas fees applied.234 **/235 ExecutedFailed: AugmentedEvent<ApiType, [H160]>;236 /**237 * Ethereum events from contracts.238 **/239 Log: AugmentedEvent<ApiType, [EthereumLog]>;240 /**241 * Generic event242 **/243 [key: string]: AugmentedEvent<ApiType>;244 };245 parachainSystem: {246 /**247 * Downward messages were processed using the given weight.248 * \[ weight_used, result_mqc_head \]249 **/250 DownwardMessagesProcessed: AugmentedEvent<ApiType, [u64, H256]>;251 /**252 * Some downward messages have been received and will be processed.253 * \[ count \]254 **/255 DownwardMessagesReceived: AugmentedEvent<ApiType, [u32]>;256 /**257 * An upgrade has been authorized.258 **/259 UpgradeAuthorized: AugmentedEvent<ApiType, [H256]>;260 /**261 * The validation function was applied as of the contained relay chain block number.262 **/263 ValidationFunctionApplied: AugmentedEvent<ApiType, [u32]>;264 /**265 * The relay-chain aborted the upgrade process.266 **/267 ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;268 /**269 * The validation function has been scheduled to apply.270 **/271 ValidationFunctionStored: AugmentedEvent<ApiType, []>;272 /**273 * Generic event274 **/275 [key: string]: AugmentedEvent<ApiType>;276 };277 polkadotXcm: {278 /**279 * Some assets have been placed in an asset trap.280 * 281 * \[ hash, origin, assets \]282 **/283 AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;284 /**285 * Execution of an XCM message was attempted.286 * 287 * \[ outcome \]288 **/289 Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;290 /**291 * Expected query response has been received but the origin location of the response does292 * not match that expected. The query remains registered for a later, valid, response to293 * be received and acted upon.294 * 295 * \[ origin location, id, expected location \]296 **/297 InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;298 /**299 * Expected query response has been received but the expected origin location placed in300 * storage by this runtime previously cannot be decoded. The query remains registered.301 * 302 * This is unexpected (since a location placed in storage in a previously executing303 * runtime should be readable prior to query timeout) and dangerous since the possibly304 * valid response will be dropped. Manual governance intervention is probably going to be305 * needed.306 * 307 * \[ origin location, id \]308 **/309 InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;310 /**311 * Query response has been received and query is removed. The registered notification has312 * been dispatched and executed successfully.313 * 314 * \[ id, pallet index, call index \]315 **/316 Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;317 /**318 * Query response has been received and query is removed. The dispatch was unable to be319 * decoded into a `Call`; this might be due to dispatch function having a signature which320 * is not `(origin, QueryId, Response)`.321 * 322 * \[ id, pallet index, call index \]323 **/324 NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;325 /**326 * Query response has been received and query is removed. There was a general error with327 * dispatching the notification call.328 * 329 * \[ id, pallet index, call index \]330 **/331 NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;332 /**333 * Query response has been received and query is removed. The registered notification could334 * not be dispatched because the dispatch weight is greater than the maximum weight335 * originally budgeted by this runtime for the query result.336 * 337 * \[ id, pallet index, call index, actual weight, max budgeted weight \]338 **/339 NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;340 /**341 * A given location which had a version change subscription was dropped owing to an error342 * migrating the location to our new XCM format.343 * 344 * \[ location, query ID \]345 **/346 NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;347 /**348 * A given location which had a version change subscription was dropped owing to an error349 * sending the notification to it.350 * 351 * \[ location, query ID, error \]352 **/353 NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;354 /**355 * Query response has been received and is ready for taking with `take_response`. There is356 * no registered notification call.357 * 358 * \[ id, response \]359 **/360 ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;361 /**362 * Received query response has been read and removed.363 * 364 * \[ id \]365 **/366 ResponseTaken: AugmentedEvent<ApiType, [u64]>;367 /**368 * A XCM message was sent.369 * 370 * \[ origin, destination, message \]371 **/372 Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;373 /**374 * The supported version of a location has been changed. This might be through an375 * automatic notification or a manual intervention.376 * 377 * \[ location, XCM version \]378 **/379 SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;380 /**381 * Query response received which does not match a registered query. This may be because a382 * matching query was never registered, it may be because it is a duplicate response, or383 * because the query timed out.384 * 385 * \[ origin location, id \]386 **/387 UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;388 /**389 * An XCM version change notification message has been attempted to be sent.390 * 391 * \[ destination, result \]392 **/393 VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;394 /**395 * Generic event396 **/397 [key: string]: AugmentedEvent<ApiType>;398 };399 rmrkCore: {400 CollectionCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;401 CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;402 CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;403 IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;404 NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;405 NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;406 PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;407 ResourceAdded: AugmentedEvent<ApiType, [u32, u32]>;408 /**409 * Generic event410 **/411 [key: string]: AugmentedEvent<ApiType>;412 };413 rmrkEquip: {414 BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;415 /**416 * Generic event417 **/418 [key: string]: AugmentedEvent<ApiType>;419 };420 structure: {421 /**422 * Executed call on behalf of token423 **/424 Executed: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;425 /**426 * Generic event427 **/428 [key: string]: AugmentedEvent<ApiType>;429 };430 sudo: {431 /**432 * The \[sudoer\] just switched identity; the old key is supplied if one existed.433 **/434 KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;435 /**436 * A sudo just took place. \[result\]437 **/438 Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;439 /**440 * A sudo just took place. \[result\]441 **/442 SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;443 /**444 * Generic event445 **/446 [key: string]: AugmentedEvent<ApiType>;447 };448 system: {449 /**450 * `:code` was updated.451 **/452 CodeUpdated: AugmentedEvent<ApiType, []>;453 /**454 * An extrinsic failed.455 **/456 ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;457 /**458 * An extrinsic completed successfully.459 **/460 ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;461 /**462 * An account was reaped.463 **/464 KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;465 /**466 * A new account was created.467 **/468 NewAccount: AugmentedEvent<ApiType, [AccountId32]>;469 /**470 * On on-chain remark happened.471 **/472 Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;473 /**474 * Generic event475 **/476 [key: string]: AugmentedEvent<ApiType>;477 };478 treasury: {479 /**480 * Some funds have been allocated.481 **/482 Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;483 /**484 * Some of our funds have been burnt.485 **/486 Burnt: AugmentedEvent<ApiType, [u128]>;487 /**488 * Some funds have been deposited.489 **/490 Deposit: AugmentedEvent<ApiType, [u128]>;491 /**492 * New proposal.493 **/494 Proposed: AugmentedEvent<ApiType, [u32]>;495 /**496 * A proposal was rejected; funds were slashed.497 **/498 Rejected: AugmentedEvent<ApiType, [u32, u128]>;499 /**500 * Spending has finished; this is the amount that rolls over until next spend.501 **/502 Rollover: AugmentedEvent<ApiType, [u128]>;503 /**504 * We have ended a spend period and will now allocate funds.505 **/506 Spending: AugmentedEvent<ApiType, [u128]>;507 /**508 * Generic event509 **/510 [key: string]: AugmentedEvent<ApiType>;511 };512 unique: {513 /**514 * Address was add to allow list515 * 516 * # Arguments517 * 518 * * collection_id: Globally unique collection identifier.519 * 520 * * user: Address.521 **/522 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;523 /**524 * Address was remove from allow list525 * 526 * # Arguments527 * 528 * * collection_id: Globally unique collection identifier.529 * 530 * * user: Address.531 **/532 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;533 /**534 * Collection admin was added535 * 536 * # Arguments537 * 538 * * collection_id: Globally unique collection identifier.539 * 540 * * admin: Admin address.541 **/542 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;543 /**544 * Collection admin was removed545 * 546 * # Arguments547 * 548 * * collection_id: Globally unique collection identifier.549 * 550 * * admin: Admin address.551 **/552 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;553 /**554 * Collection limits was set555 * 556 * # Arguments557 * 558 * * collection_id: Globally unique collection identifier.559 **/560 CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;561 /**562 * Collection owned was change563 * 564 * # Arguments565 * 566 * * collection_id: Globally unique collection identifier.567 * 568 * * owner: New owner address.569 **/570 CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;571 CollectionPermissionSet: AugmentedEvent<ApiType, [u32]>;572 /**573 * Collection sponsor was removed574 * 575 * # Arguments576 * 577 * * collection_id: Globally unique collection identifier.578 **/579 CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;580 /**581 * Collection sponsor was set582 * 583 * # Arguments584 * 585 * * collection_id: Globally unique collection identifier.586 * 587 * * owner: New sponsor address.588 **/589 CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;590 /**591 * New sponsor was confirm592 * 593 * # Arguments594 * 595 * * collection_id: Globally unique collection identifier.596 * 597 * * sponsor: New sponsor address.598 **/599 SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;600 /**601 * Generic event602 **/603 [key: string]: AugmentedEvent<ApiType>;604 };605 vesting: {606 /**607 * Claimed vesting.608 **/609 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;610 /**611 * Added new vesting schedule.612 **/613 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;614 /**615 * Updated vesting schedules.616 **/617 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;618 /**619 * Generic event620 **/621 [key: string]: AugmentedEvent<ApiType>;622 };623 xcmpQueue: {624 /**625 * Bad XCM format used.626 **/627 BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;628 /**629 * Bad XCM version used.630 **/631 BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;632 /**633 * Some XCM failed.634 **/635 Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;636 /**637 * An XCM exceeded the individual message weight budget.638 **/639 OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;640 /**641 * An XCM from the overweight queue was executed with the given actual weight used.642 **/643 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;644 /**645 * Some XCM was executed ok.646 **/647 Success: AugmentedEvent<ApiType, [Option<H256>]>;648 /**649 * An upward message was sent to the relay chain.650 **/651 UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;652 /**653 * An HRMP message was sent to a sibling parachain.654 **/655 XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;656 /**657 * Generic event658 **/659 [key: string]: AugmentedEvent<ApiType>;660 };661 } // AugmentedEvents662} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-events.ts22.2 KiBsourcehistory