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

difftreelog

source

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