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

difftreelog

source

tests/src/interfaces/augment-api-events.ts22.1 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 { 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, PalletCommonAccountBasicCrossAccountIdRepr, 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, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, 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      /**93       * New item was created.94       * 95       * # Arguments96       * 97       * * collection_id: Id of the collection where item was created.98       * 99       * * item_id: Id of an item. Unique within the collection.100       * 101       * * recipient: Owner of newly created item102       * 103       * * amount: Always 1 for NFT104       **/105      ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;106      /**107       * Collection item was burned.108       * 109       * # Arguments110       * 111       * * collection_id.112       * 113       * * item_id: Identifier of burned NFT.114       * 115       * * owner: which user has destroyed its tokens116       * 117       * * amount: Always 1 for NFT118       **/119      ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;120      /**121       * Item was transferred122       * 123       * * collection_id: Id of collection to which item is belong124       * 125       * * item_id: Id of an item126       * 127       * * sender: Original owner of item128       * 129       * * recipient: New owner of item130       * 131       * * amount: Always 1 for NFT132       **/133      Transfer: AugmentedEvent<ApiType, [u32, u32, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u128]>;134      /**135       * Generic event136       **/137      [key: string]: AugmentedEvent<ApiType>;138    };139    cumulusXcm: {140      /**141       * Downward message executed with the given outcome.142       * \[ id, outcome \]143       **/144      ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;145      /**146       * Downward message is invalid XCM.147       * \[ id \]148       **/149      InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;150      /**151       * Downward message is unsupported version of XCM.152       * \[ id \]153       **/154      UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;155      /**156       * Generic event157       **/158      [key: string]: AugmentedEvent<ApiType>;159    };160    dmpQueue: {161      /**162       * Downward message executed with the given outcome.163       * \[ id, outcome \]164       **/165      ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;166      /**167       * Downward message is invalid XCM.168       * \[ id \]169       **/170      InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;171      /**172       * Downward message is overweight and was placed in the overweight queue.173       * \[ id, index, required \]174       **/175      OverweightEnqueued: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;176      /**177       * Downward message from the overweight queue was executed.178       * \[ index, used \]179       **/180      OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;181      /**182       * Downward message is unsupported version of XCM.183       * \[ id \]184       **/185      UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;186      /**187       * The weight limit for handling downward messages was reached.188       * \[ id, remaining, required \]189       **/190      WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;191      /**192       * Generic event193       **/194      [key: string]: AugmentedEvent<ApiType>;195    };196    ethereum: {197      /**198       * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason]199       **/200      Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>;201      /**202       * Generic event203       **/204      [key: string]: AugmentedEvent<ApiType>;205    };206    evm: {207      /**208       * A deposit has been made at a given address. \[sender, address, value\]209       **/210      BalanceDeposit: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;211      /**212       * A withdrawal has been made from a given address. \[sender, address, value\]213       **/214      BalanceWithdraw: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;215      /**216       * A contract has been created at given \[address\].217       **/218      Created: AugmentedEvent<ApiType, [H160]>;219      /**220       * A \[contract\] was attempted to be created, but the execution failed.221       **/222      CreatedFailed: AugmentedEvent<ApiType, [H160]>;223      /**224       * A \[contract\] has been executed successfully with states applied.225       **/226      Executed: AugmentedEvent<ApiType, [H160]>;227      /**228       * A \[contract\] has been executed with errors. States are reverted with only gas fees applied.229       **/230      ExecutedFailed: AugmentedEvent<ApiType, [H160]>;231      /**232       * Ethereum events from contracts.233       **/234      Log: AugmentedEvent<ApiType, [EthereumLog]>;235      /**236       * Generic event237       **/238      [key: string]: AugmentedEvent<ApiType>;239    };240    parachainSystem: {241      /**242       * Downward messages were processed using the given weight.243       * \[ weight_used, result_mqc_head \]244       **/245      DownwardMessagesProcessed: AugmentedEvent<ApiType, [u64, H256]>;246      /**247       * Some downward messages have been received and will be processed.248       * \[ count \]249       **/250      DownwardMessagesReceived: AugmentedEvent<ApiType, [u32]>;251      /**252       * An upgrade has been authorized.253       **/254      UpgradeAuthorized: AugmentedEvent<ApiType, [H256]>;255      /**256       * The validation function was applied as of the contained relay chain block number.257       **/258      ValidationFunctionApplied: AugmentedEvent<ApiType, [u32]>;259      /**260       * The relay-chain aborted the upgrade process.261       **/262      ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;263      /**264       * The validation function has been scheduled to apply.265       **/266      ValidationFunctionStored: AugmentedEvent<ApiType, []>;267      /**268       * Generic event269       **/270      [key: string]: AugmentedEvent<ApiType>;271    };272    polkadotXcm: {273      /**274       * Some assets have been placed in an asset trap.275       * 276       * \[ hash, origin, assets \]277       **/278      AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;279      /**280       * Execution of an XCM message was attempted.281       * 282       * \[ outcome \]283       **/284      Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;285      /**286       * Expected query response has been received but the origin location of the response does287       * not match that expected. The query remains registered for a later, valid, response to288       * be received and acted upon.289       * 290       * \[ origin location, id, expected location \]291       **/292      InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;293      /**294       * Expected query response has been received but the expected origin location placed in295       * storage by this runtime previously cannot be decoded. The query remains registered.296       * 297       * This is unexpected (since a location placed in storage in a previously executing298       * runtime should be readable prior to query timeout) and dangerous since the possibly299       * valid response will be dropped. Manual governance intervention is probably going to be300       * needed.301       * 302       * \[ origin location, id \]303       **/304      InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;305      /**306       * Query response has been received and query is removed. The registered notification has307       * been dispatched and executed successfully.308       * 309       * \[ id, pallet index, call index \]310       **/311      Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;312      /**313       * Query response has been received and query is removed. The dispatch was unable to be314       * decoded into a `Call`; this might be due to dispatch function having a signature which315       * is not `(origin, QueryId, Response)`.316       * 317       * \[ id, pallet index, call index \]318       **/319      NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;320      /**321       * Query response has been received and query is removed. There was a general error with322       * dispatching the notification call.323       * 324       * \[ id, pallet index, call index \]325       **/326      NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;327      /**328       * Query response has been received and query is removed. The registered notification could329       * not be dispatched because the dispatch weight is greater than the maximum weight330       * originally budgeted by this runtime for the query result.331       * 332       * \[ id, pallet index, call index, actual weight, max budgeted weight \]333       **/334      NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;335      /**336       * A given location which had a version change subscription was dropped owing to an error337       * migrating the location to our new XCM format.338       * 339       * \[ location, query ID \]340       **/341      NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;342      /**343       * A given location which had a version change subscription was dropped owing to an error344       * sending the notification to it.345       * 346       * \[ location, query ID, error \]347       **/348      NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;349      /**350       * Query response has been received and is ready for taking with `take_response`. There is351       * no registered notification call.352       * 353       * \[ id, response \]354       **/355      ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;356      /**357       * Received query response has been read and removed.358       * 359       * \[ id \]360       **/361      ResponseTaken: AugmentedEvent<ApiType, [u64]>;362      /**363       * A XCM message was sent.364       * 365       * \[ origin, destination, message \]366       **/367      Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;368      /**369       * The supported version of a location has been changed. This might be through an370       * automatic notification or a manual intervention.371       * 372       * \[ location, XCM version \]373       **/374      SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;375      /**376       * Query response received which does not match a registered query. This may be because a377       * matching query was never registered, it may be because it is a duplicate response, or378       * because the query timed out.379       * 380       * \[ origin location, id \]381       **/382      UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;383      /**384       * An XCM version change notification message has been attempted to be sent.385       * 386       * \[ destination, result \]387       **/388      VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;389      /**390       * Generic event391       **/392      [key: string]: AugmentedEvent<ApiType>;393    };394    sudo: {395      /**396       * The \[sudoer\] just switched identity; the old key is supplied if one existed.397       **/398      KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;399      /**400       * A sudo just took place. \[result\]401       **/402      Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;403      /**404       * A sudo just took place. \[result\]405       **/406      SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;407      /**408       * Generic event409       **/410      [key: string]: AugmentedEvent<ApiType>;411    };412    system: {413      /**414       * `:code` was updated.415       **/416      CodeUpdated: AugmentedEvent<ApiType, []>;417      /**418       * An extrinsic failed.419       **/420      ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;421      /**422       * An extrinsic completed successfully.423       **/424      ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;425      /**426       * An account was reaped.427       **/428      KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;429      /**430       * A new account was created.431       **/432      NewAccount: AugmentedEvent<ApiType, [AccountId32]>;433      /**434       * On on-chain remark happened.435       **/436      Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;437      /**438       * Generic event439       **/440      [key: string]: AugmentedEvent<ApiType>;441    };442    treasury: {443      /**444       * Some funds have been allocated.445       **/446      Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;447      /**448       * Some of our funds have been burnt.449       **/450      Burnt: AugmentedEvent<ApiType, [u128]>;451      /**452       * Some funds have been deposited.453       **/454      Deposit: AugmentedEvent<ApiType, [u128]>;455      /**456       * New proposal.457       **/458      Proposed: AugmentedEvent<ApiType, [u32]>;459      /**460       * A proposal was rejected; funds were slashed.461       **/462      Rejected: AugmentedEvent<ApiType, [u32, u128]>;463      /**464       * Spending has finished; this is the amount that rolls over until next spend.465       **/466      Rollover: AugmentedEvent<ApiType, [u128]>;467      /**468       * We have ended a spend period and will now allocate funds.469       **/470      Spending: AugmentedEvent<ApiType, [u128]>;471      /**472       * Generic event473       **/474      [key: string]: AugmentedEvent<ApiType>;475    };476    unique: {477      /**478       * Address was add to allow list479       * 480       * # Arguments481       * 482       * * collection_id: Globally unique collection identifier.483       * 484       * * user:  Address.485       **/486      AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;487      /**488       * Address was remove from allow list489       * 490       * # Arguments491       * 492       * * collection_id: Globally unique collection identifier.493       * 494       * * user:  Address.495       **/496      AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;497      /**498       * Collection admin was added499       * 500       * # Arguments501       * 502       * * collection_id: Globally unique collection identifier.503       * 504       * * admin:  Admin address.505       **/506      CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;507      /**508       * Collection admin was removed509       * 510       * # Arguments511       * 512       * * collection_id: Globally unique collection identifier.513       * 514       * * admin:  Admin address.515       **/516      CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;517      /**518       * Collection limits was set519       * 520       * # Arguments521       * 522       * * collection_id: Globally unique collection identifier.523       **/524      CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;525      /**526       * Collection owned was change527       * 528       * # Arguments529       * 530       * * collection_id: Globally unique collection identifier.531       * 532       * * owner:  New owner address.533       **/534      CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;535      /**536       * Collection sponsor was removed537       * 538       * # Arguments539       * 540       * * collection_id: Globally unique collection identifier.541       **/542      CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;543      /**544       * Collection sponsor was set545       * 546       * # Arguments547       * 548       * * collection_id: Globally unique collection identifier.549       * 550       * * owner:  New sponsor address.551       **/552      CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;553      /**554       * const on chain schema was set555       * 556       * # Arguments557       * 558       * * collection_id: Globally unique collection identifier.559       **/560      ConstOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;561      /**562       * Mint permission	was set563       * 564       * # Arguments565       * 566       * * collection_id: Globally unique collection identifier.567       **/568      MintPermissionSet: AugmentedEvent<ApiType, [u32]>;569      /**570       * Offchain schema was set571       * 572       * # Arguments573       * 574       * * collection_id: Globally unique collection identifier.575       **/576      OffchainSchemaSet: AugmentedEvent<ApiType, [u32]>;577      /**578       * Public access mode was set579       * 580       * # Arguments581       * 582       * * collection_id: Globally unique collection identifier.583       * 584       * * mode: New access state.585       **/586      PublicAccessModeSet: AugmentedEvent<ApiType, [u32, UpDataStructsAccessMode]>;587      /**588       * Schema version was set589       * 590       * # Arguments591       * 592       * * collection_id: Globally unique collection identifier.593       **/594      SchemaVersionSet: AugmentedEvent<ApiType, [u32]>;595      /**596       * New sponsor was confirm597       * 598       * # Arguments599       * 600       * * collection_id: Globally unique collection identifier.601       * 602       * * sponsor:  New sponsor address.603       **/604      SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;605      /**606       * Variable on chain schema was set607       * 608       * # Arguments609       * 610       * * collection_id: Globally unique collection identifier.611       **/612      VariableOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;613      /**614       * Generic event615       **/616      [key: string]: AugmentedEvent<ApiType>;617    };618    vesting: {619      /**620       * Claimed vesting.621       **/622      Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;623      /**624       * Added new vesting schedule.625       **/626      VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;627      /**628       * Updated vesting schedules.629       **/630      VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;631      /**632       * Generic event633       **/634      [key: string]: AugmentedEvent<ApiType>;635    };636    xcmpQueue: {637      /**638       * Bad XCM format used.639       **/640      BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;641      /**642       * Bad XCM version used.643       **/644      BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;645      /**646       * Some XCM failed.647       **/648      Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;649      /**650       * An XCM exceeded the individual message weight budget.651       **/652      OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;653      /**654       * An XCM from the overweight queue was executed with the given actual weight used.655       **/656      OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;657      /**658       * Some XCM was executed ok.659       **/660      Success: AugmentedEvent<ApiType, [Option<H256>]>;661      /**662       * An upward message was sent to the relay chain.663       **/664      UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;665      /**666       * An HRMP message was sent to a sibling parachain.667       **/668      XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;669      /**670       * Generic event671       **/672      [key: string]: AugmentedEvent<ApiType>;673    };674  } // AugmentedEvents675} // declare module