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, UpDataStructsAccessMode, 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 /**408 * Generic event409 **/410 [key: string]: AugmentedEvent<ApiType>;411 };412 rmrkEquip: {413 BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;414 /**415 * Generic event416 **/417 [key: string]: AugmentedEvent<ApiType>;418 };419 structure: {420 /**421 * Executed call on behalf of token422 **/423 Executed: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;424 /**425 * Generic event426 **/427 [key: string]: AugmentedEvent<ApiType>;428 };429 sudo: {430 /**431 * The \[sudoer\] just switched identity; the old key is supplied if one existed.432 **/433 KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;434 /**435 * A sudo just took place. \[result\]436 **/437 Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;438 /**439 * A sudo just took place. \[result\]440 **/441 SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;442 /**443 * Generic event444 **/445 [key: string]: AugmentedEvent<ApiType>;446 };447 system: {448 /**449 * `:code` was updated.450 **/451 CodeUpdated: AugmentedEvent<ApiType, []>;452 /**453 * An extrinsic failed.454 **/455 ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;456 /**457 * An extrinsic completed successfully.458 **/459 ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;460 /**461 * An account was reaped.462 **/463 KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;464 /**465 * A new account was created.466 **/467 NewAccount: AugmentedEvent<ApiType, [AccountId32]>;468 /**469 * On on-chain remark happened.470 **/471 Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;472 /**473 * Generic event474 **/475 [key: string]: AugmentedEvent<ApiType>;476 };477 treasury: {478 /**479 * Some funds have been allocated.480 **/481 Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;482 /**483 * Some of our funds have been burnt.484 **/485 Burnt: AugmentedEvent<ApiType, [u128]>;486 /**487 * Some funds have been deposited.488 **/489 Deposit: AugmentedEvent<ApiType, [u128]>;490 /**491 * New proposal.492 **/493 Proposed: AugmentedEvent<ApiType, [u32]>;494 /**495 * A proposal was rejected; funds were slashed.496 **/497 Rejected: AugmentedEvent<ApiType, [u32, u128]>;498 /**499 * Spending has finished; this is the amount that rolls over until next spend.500 **/501 Rollover: AugmentedEvent<ApiType, [u128]>;502 /**503 * We have ended a spend period and will now allocate funds.504 **/505 Spending: AugmentedEvent<ApiType, [u128]>;506 /**507 * Generic event508 **/509 [key: string]: AugmentedEvent<ApiType>;510 };511 unique: {512 /**513 * Address was add to allow list514 * 515 * # Arguments516 * 517 * * collection_id: Globally unique collection identifier.518 * 519 * * user: Address.520 **/521 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;522 /**523 * Address was remove from allow list524 * 525 * # Arguments526 * 527 * * collection_id: Globally unique collection identifier.528 * 529 * * user: Address.530 **/531 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;532 /**533 * Collection admin was added534 * 535 * # Arguments536 * 537 * * collection_id: Globally unique collection identifier.538 * 539 * * admin: Admin address.540 **/541 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;542 /**543 * Collection admin was removed544 * 545 * # Arguments546 * 547 * * collection_id: Globally unique collection identifier.548 * 549 * * admin: Admin address.550 **/551 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;552 /**553 * Collection limits was set554 * 555 * # Arguments556 * 557 * * collection_id: Globally unique collection identifier.558 **/559 CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;560 /**561 * Collection owned was change562 * 563 * # Arguments564 * 565 * * collection_id: Globally unique collection identifier.566 * 567 * * owner: New owner address.568 **/569 CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;570 /**571 * Collection sponsor was removed572 * 573 * # Arguments574 * 575 * * collection_id: Globally unique collection identifier.576 **/577 CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;578 /**579 * Collection sponsor was set580 * 581 * # Arguments582 * 583 * * collection_id: Globally unique collection identifier.584 * 585 * * owner: New sponsor address.586 **/587 CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;588 /**589 * const on chain schema was set590 * 591 * # Arguments592 * 593 * * collection_id: Globally unique collection identifier.594 **/595 ConstOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;596 /**597 * Mint permission was set598 * 599 * # Arguments600 * 601 * * collection_id: Globally unique collection identifier.602 **/603 MintPermissionSet: AugmentedEvent<ApiType, [u32]>;604 /**605 * Offchain schema was set606 * 607 * # Arguments608 * 609 * * collection_id: Globally unique collection identifier.610 **/611 OffchainSchemaSet: AugmentedEvent<ApiType, [u32]>;612 /**613 * Public access mode was set614 * 615 * # Arguments616 * 617 * * collection_id: Globally unique collection identifier.618 * 619 * * mode: New access state.620 **/621 PublicAccessModeSet: AugmentedEvent<ApiType, [u32, UpDataStructsAccessMode]>;622 /**623 * Schema version was set624 * 625 * # Arguments626 * 627 * * collection_id: Globally unique collection identifier.628 **/629 SchemaVersionSet: AugmentedEvent<ApiType, [u32]>;630 /**631 * New sponsor was confirm632 * 633 * # Arguments634 * 635 * * collection_id: Globally unique collection identifier.636 * 637 * * sponsor: New sponsor address.638 **/639 SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;640 /**641 * Generic event642 **/643 [key: string]: AugmentedEvent<ApiType>;644 };645 vesting: {646 /**647 * Claimed vesting.648 **/649 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;650 /**651 * Added new vesting schedule.652 **/653 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;654 /**655 * Updated vesting schedules.656 **/657 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;658 /**659 * Generic event660 **/661 [key: string]: AugmentedEvent<ApiType>;662 };663 xcmpQueue: {664 /**665 * Bad XCM format used.666 **/667 BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;668 /**669 * Bad XCM version used.670 **/671 BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;672 /**673 * Some XCM failed.674 **/675 Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;676 /**677 * An XCM exceeded the individual message weight budget.678 **/679 OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;680 /**681 * An XCM from the overweight queue was executed with the given actual weight used.682 **/683 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;684 /**685 * Some XCM was executed ok.686 **/687 Success: AugmentedEvent<ApiType, [Option<H256>]>;688 /**689 * An upward message was sent to the relay chain.690 **/691 UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;692 /**693 * An HRMP message was sent to a sibling parachain.694 **/695 XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;696 /**697 * Generic event698 **/699 [key: string]: AugmentedEvent<ApiType>;700 };701 } // AugmentedEvents702} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-events.ts23.3 KiBsourcehistory