git.delta.rocks / unique-network / refs/commits / ce9146ff6a9f

difftreelog

source

tests/src/interfaces/augment-api-events.ts22.5 KiBsourcehistory
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    structure: {400      /**401       * Executed call on behalf of token402       **/403      Executed: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;404      /**405       * Generic event406       **/407      [key: string]: AugmentedEvent<ApiType>;408    };409    sudo: {410      /**411       * The \[sudoer\] just switched identity; the old key is supplied if one existed.412       **/413      KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;414      /**415       * A sudo just took place. \[result\]416       **/417      Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;418      /**419       * A sudo just took place. \[result\]420       **/421      SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;422      /**423       * Generic event424       **/425      [key: string]: AugmentedEvent<ApiType>;426    };427    system: {428      /**429       * `:code` was updated.430       **/431      CodeUpdated: AugmentedEvent<ApiType, []>;432      /**433       * An extrinsic failed.434       **/435      ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;436      /**437       * An extrinsic completed successfully.438       **/439      ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;440      /**441       * An account was reaped.442       **/443      KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;444      /**445       * A new account was created.446       **/447      NewAccount: AugmentedEvent<ApiType, [AccountId32]>;448      /**449       * On on-chain remark happened.450       **/451      Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;452      /**453       * Generic event454       **/455      [key: string]: AugmentedEvent<ApiType>;456    };457    treasury: {458      /**459       * Some funds have been allocated.460       **/461      Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;462      /**463       * Some of our funds have been burnt.464       **/465      Burnt: AugmentedEvent<ApiType, [u128]>;466      /**467       * Some funds have been deposited.468       **/469      Deposit: AugmentedEvent<ApiType, [u128]>;470      /**471       * New proposal.472       **/473      Proposed: AugmentedEvent<ApiType, [u32]>;474      /**475       * A proposal was rejected; funds were slashed.476       **/477      Rejected: AugmentedEvent<ApiType, [u32, u128]>;478      /**479       * Spending has finished; this is the amount that rolls over until next spend.480       **/481      Rollover: AugmentedEvent<ApiType, [u128]>;482      /**483       * We have ended a spend period and will now allocate funds.484       **/485      Spending: AugmentedEvent<ApiType, [u128]>;486      /**487       * Generic event488       **/489      [key: string]: AugmentedEvent<ApiType>;490    };491    unique: {492      /**493       * Address was add to allow list494       * 495       * # Arguments496       * 497       * * collection_id: Globally unique collection identifier.498       * 499       * * user:  Address.500       **/501      AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;502      /**503       * Address was remove from allow list504       * 505       * # Arguments506       * 507       * * collection_id: Globally unique collection identifier.508       * 509       * * user:  Address.510       **/511      AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;512      /**513       * Collection admin was added514       * 515       * # Arguments516       * 517       * * collection_id: Globally unique collection identifier.518       * 519       * * admin:  Admin address.520       **/521      CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;522      /**523       * Collection admin was removed524       * 525       * # Arguments526       * 527       * * collection_id: Globally unique collection identifier.528       * 529       * * admin:  Admin address.530       **/531      CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;532      /**533       * Collection limits was set534       * 535       * # Arguments536       * 537       * * collection_id: Globally unique collection identifier.538       **/539      CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;540      /**541       * Collection owned was change542       * 543       * # Arguments544       * 545       * * collection_id: Globally unique collection identifier.546       * 547       * * owner:  New owner address.548       **/549      CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;550      /**551       * Collection sponsor was removed552       * 553       * # Arguments554       * 555       * * collection_id: Globally unique collection identifier.556       **/557      CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;558      /**559       * Collection sponsor was set560       * 561       * # Arguments562       * 563       * * collection_id: Globally unique collection identifier.564       * 565       * * owner:  New sponsor address.566       **/567      CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;568      /**569       * const on chain schema was set570       * 571       * # Arguments572       * 573       * * collection_id: Globally unique collection identifier.574       **/575      ConstOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;576      /**577       * Mint permission	was set578       * 579       * # Arguments580       * 581       * * collection_id: Globally unique collection identifier.582       **/583      MintPermissionSet: AugmentedEvent<ApiType, [u32]>;584      /**585       * Offchain schema was set586       * 587       * # Arguments588       * 589       * * collection_id: Globally unique collection identifier.590       **/591      OffchainSchemaSet: AugmentedEvent<ApiType, [u32]>;592      /**593       * Public access mode was set594       * 595       * # Arguments596       * 597       * * collection_id: Globally unique collection identifier.598       * 599       * * mode: New access state.600       **/601      PublicAccessModeSet: AugmentedEvent<ApiType, [u32, UpDataStructsAccessMode]>;602      /**603       * Schema version was set604       * 605       * # Arguments606       * 607       * * collection_id: Globally unique collection identifier.608       **/609      SchemaVersionSet: AugmentedEvent<ApiType, [u32]>;610      /**611       * New sponsor was confirm612       * 613       * # Arguments614       * 615       * * collection_id: Globally unique collection identifier.616       * 617       * * sponsor:  New sponsor address.618       **/619      SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;620      /**621       * Generic event622       **/623      [key: string]: AugmentedEvent<ApiType>;624    };625    vesting: {626      /**627       * Claimed vesting.628       **/629      Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;630      /**631       * Added new vesting schedule.632       **/633      VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;634      /**635       * Updated vesting schedules.636       **/637      VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;638      /**639       * Generic event640       **/641      [key: string]: AugmentedEvent<ApiType>;642    };643    xcmpQueue: {644      /**645       * Bad XCM format used.646       **/647      BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;648      /**649       * Bad XCM version used.650       **/651      BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;652      /**653       * Some XCM failed.654       **/655      Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;656      /**657       * An XCM exceeded the individual message weight budget.658       **/659      OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;660      /**661       * An XCM from the overweight queue was executed with the given actual weight used.662       **/663      OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;664      /**665       * Some XCM was executed ok.666       **/667      Success: AugmentedEvent<ApiType, [Option<H256>]>;668      /**669       * An upward message was sent to the relay chain.670       **/671      UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;672      /**673       * An HRMP message was sent to a sibling parachain.674       **/675      XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;676      /**677       * Generic event678       **/679      [key: string]: AugmentedEvent<ApiType>;680    };681  } // AugmentedEvents682} // declare module