git.delta.rocks / unique-network / refs/commits / 409ca7fed22b

difftreelog

source

tests/src/interfaces/augment-api-events.ts22.3 KiBsourcehistory
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 if one existed.399       **/400      KeyChanged: AugmentedEvent<ApiType, [Option<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.421       **/422      ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;423      /**424       * An extrinsic completed successfully.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.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.447       **/448      Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;449      /**450       * Some of our funds have been burnt.451       **/452      Burnt: AugmentedEvent<ApiType, [u128]>;453      /**454       * Some funds have been deposited.455       **/456      Deposit: AugmentedEvent<ApiType, [u128]>;457      /**458       * New proposal.459       **/460      Proposed: AugmentedEvent<ApiType, [u32]>;461      /**462       * A proposal was rejected; funds were slashed.463       **/464      Rejected: AugmentedEvent<ApiType, [u32, u128]>;465      /**466       * Spending has finished; this is the amount that rolls over until next spend.467       **/468      Rollover: AugmentedEvent<ApiType, [u128]>;469      /**470       * We have ended a spend period and will now allocate funds.471       **/472      Spending: AugmentedEvent<ApiType, [u128]>;473      /**474       * Generic event475       **/476      [key: string]: AugmentedEvent<ApiType>;477    };478    unique: {479      /**480       * Address was add to allow list481       * 482       * # Arguments483       * 484       * * collection_id: Globally unique collection identifier.485       * 486       * * user:  Address.487       **/488      AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;489      /**490       * Address was remove from allow list491       * 492       * # Arguments493       * 494       * * collection_id: Globally unique collection identifier.495       * 496       * * user:  Address.497       **/498      AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;499      /**500       * Collection admin was added501       * 502       * # Arguments503       * 504       * * collection_id: Globally unique collection identifier.505       * 506       * * admin:  Admin address.507       **/508      CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;509      /**510       * Collection admin was removed511       * 512       * # Arguments513       * 514       * * collection_id: Globally unique collection identifier.515       * 516       * * admin:  Admin address.517       **/518      CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;519      /**520       * Collection limits was set521       * 522       * # Arguments523       * 524       * * collection_id: Globally unique collection identifier.525       **/526      CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;527      /**528       * Collection owned was change529       * 530       * # Arguments531       * 532       * * collection_id: Globally unique collection identifier.533       * 534       * * owner:  New owner address.535       **/536      CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;537      /**538       * Collection sponsor was removed539       * 540       * # Arguments541       * 542       * * collection_id: Globally unique collection identifier.543       **/544      CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;545      /**546       * Collection sponsor was set547       * 548       * # Arguments549       * 550       * * collection_id: Globally unique collection identifier.551       * 552       * * owner:  New sponsor address.553       **/554      CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;555      /**556       * const on chain schema was set557       * 558       * # Arguments559       * 560       * * collection_id: Globally unique collection identifier.561       **/562      ConstOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;563      /**564       * Mint permission	was set565       * 566       * # Arguments567       * 568       * * collection_id: Globally unique collection identifier.569       **/570      MintPermissionSet: AugmentedEvent<ApiType, [u32]>;571      /**572       * Offchain schema was set573       * 574       * # Arguments575       * 576       * * collection_id: Globally unique collection identifier.577       **/578      OffchainSchemaSet: AugmentedEvent<ApiType, [u32]>;579      /**580       * Public access mode was set581       * 582       * # Arguments583       * 584       * * collection_id: Globally unique collection identifier.585       * 586       * * mode: New access state.587       **/588      PublicAccessModeSet: AugmentedEvent<ApiType, [u32, UpDataStructsAccessMode]>;589      /**590       * Schema version was set591       * 592       * # Arguments593       * 594       * * collection_id: Globally unique collection identifier.595       **/596      SchemaVersionSet: AugmentedEvent<ApiType, [u32]>;597      /**598       * New sponsor was confirm599       * 600       * # Arguments601       * 602       * * collection_id: Globally unique collection identifier.603       * 604       * * sponsor:  New sponsor address.605       **/606      SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;607      /**608       * Variable on chain schema was set609       * 610       * # Arguments611       * 612       * * collection_id: Globally unique collection identifier.613       **/614      VariableOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;615      /**616       * Generic event617       **/618      [key: string]: AugmentedEvent<ApiType>;619    };620    vesting: {621      /**622       * Claimed vesting.623       **/624      Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;625      /**626       * Added new vesting schedule.627       **/628      VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;629      /**630       * Updated vesting schedules.631       **/632      VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;633      /**634       * Generic event635       **/636      [key: string]: AugmentedEvent<ApiType>;637    };638    xcmpQueue: {639      /**640       * Bad XCM format used.641       **/642      BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;643      /**644       * Bad XCM version used.645       **/646      BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;647      /**648       * Some XCM failed.649       **/650      Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;651      /**652       * An XCM exceeded the individual message weight budget.653       **/654      OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;655      /**656       * An XCM from the overweight queue was executed with the given actual weight used.657       **/658      OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;659      /**660       * Some XCM was executed ok.661       **/662      Success: AugmentedEvent<ApiType, [Option<H256>]>;663      /**664       * An upward message was sent to the relay chain.665       **/666      UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;667      /**668       * An HRMP message was sent to a sibling parachain.669       **/670      XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;671      /**672       * Generic event673       **/674      [key: string]: AugmentedEvent<ApiType>;675    };676  }677678  export interface DecoratedEvents<ApiType extends ApiTypes> extends AugmentedEvents<ApiType> {679    [key: string]: ModuleEvents<ApiType>;680  }681}