difftreelog
test disable RMRK
in: master
13 files changed
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -65,6 +65,10 @@
**/
CantApproveMoreThanOwned: AugmentedError<ApiType>;
/**
+ * Destroying only empty collections is allowed
+ **/
+ CantDestroyNotEmptyCollection: AugmentedError<ApiType>;
+ /**
* Exceeded max admin count
**/
CollectionAdminCountExceeded: AugmentedError<ApiType>;
@@ -295,6 +299,10 @@
};
nonfungible: {
/**
+ * Unable to burn NFT with children
+ **/
+ CantBurnNftWithChildren: AugmentedError<ApiType>;
+ /**
* Used amount > 1 with NFT
**/
NonfungibleItemsHaveNoAmount: AugmentedError<ApiType>;
@@ -424,33 +432,6 @@
* Maximum refungibility exceeded
**/
WrongRefungiblePieces: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
- rmrkCore: {
- CollectionFullOrLocked: AugmentedError<ApiType>;
- CollectionNotEmpty: AugmentedError<ApiType>;
- CollectionUnknown: AugmentedError<ApiType>;
- CorruptedCollectionType: AugmentedError<ApiType>;
- NftTypeEncodeError: AugmentedError<ApiType>;
- NoAvailableCollectionId: AugmentedError<ApiType>;
- NoAvailableNftId: AugmentedError<ApiType>;
- NoPermission: AugmentedError<ApiType>;
- RmrkPropertyKeyIsTooLong: AugmentedError<ApiType>;
- RmrkPropertyValueIsTooLong: AugmentedError<ApiType>;
- /**
- * Generic error
- **/
- [key: string]: AugmentedError<ApiType>;
- };
- rmrkEquip: {
- BaseDoesntExist: AugmentedError<ApiType>;
- NeedsDefaultThemeFirst: AugmentedError<ApiType>;
- NoAvailableBaseId: AugmentedError<ApiType>;
- NoAvailablePartId: AugmentedError<ApiType>;
- PermissionError: AugmentedError<ApiType>;
/**
* Generic error
**/
tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth1// 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, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';89declare module '@polkadot/api-base/types/events' {10 export interface AugmentedEvents<ApiType extends ApiTypes> {11 balances: {12 /**13 * A balance was set by root.14 **/15 BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;16 /**17 * Some amount was deposited (e.g. for transaction fees).18 **/19 Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;20 /**21 * An account was removed whose balance was non-zero but below ExistentialDeposit,22 * resulting in an outright loss.23 **/24 DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;25 /**26 * An account was created with some free balance.27 **/28 Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;29 /**30 * Some balance was reserved (moved from free to reserved).31 **/32 Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;33 /**34 * Some balance was moved from the reserve of the first account to the second account.35 * Final argument indicates the destination balance type.36 **/37 ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;38 /**39 * Some amount was removed from the account (e.g. for misbehavior).40 **/41 Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;42 /**43 * Transfer succeeded.44 **/45 Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;46 /**47 * Some balance was unreserved (moved from reserved to free).48 **/49 Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;50 /**51 * Some amount was withdrawn from the account (e.g. for transaction fees).52 **/53 Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;54 /**55 * Generic event56 **/57 [key: string]: AugmentedEvent<ApiType>;58 };59 common: {60 /**61 * * collection_id62 * 63 * * item_id64 * 65 * * sender66 * 67 * * spender68 * 69 * * amount70 **/71 Approved: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;72 /**73 * New collection was created74 * 75 * # Arguments76 * 77 * * collection_id: Globally unique identifier of newly created collection.78 * 79 * * mode: [CollectionMode] converted into u8.80 * 81 * * account_id: Collection owner.82 **/83 CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;84 /**85 * New collection was destroyed86 * 87 * # Arguments88 * 89 * * collection_id: Globally unique identifier of collection.90 **/91 CollectionDestroyed: AugmentedEvent<ApiType, [u32]>;92 CollectionPropertyDeleted: AugmentedEvent<ApiType, [u32, Bytes]>;93 CollectionPropertySet: AugmentedEvent<ApiType, [u32, Bytes]>;94 /**95 * New item was created.96 * 97 * # Arguments98 * 99 * * collection_id: Id of the collection where item was created.100 * 101 * * item_id: Id of an item. Unique within the collection.102 * 103 * * recipient: Owner of newly created item104 * 105 * * amount: Always 1 for NFT106 **/107 ItemCreated: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;108 /**109 * Collection item was burned.110 * 111 * # Arguments112 * 113 * * collection_id.114 * 115 * * item_id: Identifier of burned NFT.116 * 117 * * owner: which user has destroyed its tokens118 * 119 * * amount: Always 1 for NFT120 **/121 ItemDestroyed: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;122 PropertyPermissionSet: AugmentedEvent<ApiType, [u32, Bytes]>;123 TokenPropertyDeleted: AugmentedEvent<ApiType, [u32, u32, Bytes]>;124 TokenPropertySet: AugmentedEvent<ApiType, [u32, u32, Bytes]>;125 /**126 * Item was transferred127 * 128 * * collection_id: Id of collection to which item is belong129 * 130 * * item_id: Id of an item131 * 132 * * sender: Original owner of item133 * 134 * * recipient: New owner of item135 * 136 * * amount: Always 1 for NFT137 **/138 Transfer: AugmentedEvent<ApiType, [u32, u32, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u128]>;139 /**140 * Generic event141 **/142 [key: string]: AugmentedEvent<ApiType>;143 };144 cumulusXcm: {145 /**146 * Downward message executed with the given outcome.147 * \[ id, outcome \]148 **/149 ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;150 /**151 * Downward message is invalid XCM.152 * \[ id \]153 **/154 InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;155 /**156 * Downward message is unsupported version of XCM.157 * \[ id \]158 **/159 UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;160 /**161 * Generic event162 **/163 [key: string]: AugmentedEvent<ApiType>;164 };165 dmpQueue: {166 /**167 * Downward message executed with the given outcome.168 * \[ id, outcome \]169 **/170 ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, XcmV2TraitsOutcome]>;171 /**172 * Downward message is invalid XCM.173 * \[ id \]174 **/175 InvalidFormat: AugmentedEvent<ApiType, [U8aFixed]>;176 /**177 * Downward message is overweight and was placed in the overweight queue.178 * \[ id, index, required \]179 **/180 OverweightEnqueued: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;181 /**182 * Downward message from the overweight queue was executed.183 * \[ index, used \]184 **/185 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;186 /**187 * Downward message is unsupported version of XCM.188 * \[ id \]189 **/190 UnsupportedVersion: AugmentedEvent<ApiType, [U8aFixed]>;191 /**192 * The weight limit for handling downward messages was reached.193 * \[ id, remaining, required \]194 **/195 WeightExhausted: AugmentedEvent<ApiType, [U8aFixed, u64, u64]>;196 /**197 * Generic event198 **/199 [key: string]: AugmentedEvent<ApiType>;200 };201 ethereum: {202 /**203 * An ethereum transaction was successfully executed. [from, to/contract_address, transaction_hash, exit_reason]204 **/205 Executed: AugmentedEvent<ApiType, [H160, H160, H256, EvmCoreErrorExitReason]>;206 /**207 * Generic event208 **/209 [key: string]: AugmentedEvent<ApiType>;210 };211 evm: {212 /**213 * A deposit has been made at a given address. \[sender, address, value\]214 **/215 BalanceDeposit: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;216 /**217 * A withdrawal has been made from a given address. \[sender, address, value\]218 **/219 BalanceWithdraw: AugmentedEvent<ApiType, [AccountId32, H160, U256]>;220 /**221 * A contract has been created at given \[address\].222 **/223 Created: AugmentedEvent<ApiType, [H160]>;224 /**225 * A \[contract\] was attempted to be created, but the execution failed.226 **/227 CreatedFailed: AugmentedEvent<ApiType, [H160]>;228 /**229 * A \[contract\] has been executed successfully with states applied.230 **/231 Executed: AugmentedEvent<ApiType, [H160]>;232 /**233 * A \[contract\] has been executed with errors. States are reverted with only gas fees applied.234 **/235 ExecutedFailed: AugmentedEvent<ApiType, [H160]>;236 /**237 * Ethereum events from contracts.238 **/239 Log: AugmentedEvent<ApiType, [EthereumLog]>;240 /**241 * Generic event242 **/243 [key: string]: AugmentedEvent<ApiType>;244 };245 parachainSystem: {246 /**247 * Downward messages were processed using the given weight.248 * \[ weight_used, result_mqc_head \]249 **/250 DownwardMessagesProcessed: AugmentedEvent<ApiType, [u64, H256]>;251 /**252 * Some downward messages have been received and will be processed.253 * \[ count \]254 **/255 DownwardMessagesReceived: AugmentedEvent<ApiType, [u32]>;256 /**257 * An upgrade has been authorized.258 **/259 UpgradeAuthorized: AugmentedEvent<ApiType, [H256]>;260 /**261 * The validation function was applied as of the contained relay chain block number.262 **/263 ValidationFunctionApplied: AugmentedEvent<ApiType, [u32]>;264 /**265 * The relay-chain aborted the upgrade process.266 **/267 ValidationFunctionDiscarded: AugmentedEvent<ApiType, []>;268 /**269 * The validation function has been scheduled to apply.270 **/271 ValidationFunctionStored: AugmentedEvent<ApiType, []>;272 /**273 * Generic event274 **/275 [key: string]: AugmentedEvent<ApiType>;276 };277 polkadotXcm: {278 /**279 * Some assets have been placed in an asset trap.280 * 281 * \[ hash, origin, assets \]282 **/283 AssetsTrapped: AugmentedEvent<ApiType, [H256, XcmV1MultiLocation, XcmVersionedMultiAssets]>;284 /**285 * Execution of an XCM message was attempted.286 * 287 * \[ outcome \]288 **/289 Attempted: AugmentedEvent<ApiType, [XcmV2TraitsOutcome]>;290 /**291 * Expected query response has been received but the origin location of the response does292 * not match that expected. The query remains registered for a later, valid, response to293 * be received and acted upon.294 * 295 * \[ origin location, id, expected location \]296 **/297 InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;298 /**299 * Expected query response has been received but the expected origin location placed in300 * storage by this runtime previously cannot be decoded. The query remains registered.301 * 302 * This is unexpected (since a location placed in storage in a previously executing303 * runtime should be readable prior to query timeout) and dangerous since the possibly304 * valid response will be dropped. Manual governance intervention is probably going to be305 * needed.306 * 307 * \[ origin location, id \]308 **/309 InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;310 /**311 * Query response has been received and query is removed. The registered notification has312 * been dispatched and executed successfully.313 * 314 * \[ id, pallet index, call index \]315 **/316 Notified: AugmentedEvent<ApiType, [u64, u8, u8]>;317 /**318 * Query response has been received and query is removed. The dispatch was unable to be319 * decoded into a `Call`; this might be due to dispatch function having a signature which320 * is not `(origin, QueryId, Response)`.321 * 322 * \[ id, pallet index, call index \]323 **/324 NotifyDecodeFailed: AugmentedEvent<ApiType, [u64, u8, u8]>;325 /**326 * Query response has been received and query is removed. There was a general error with327 * dispatching the notification call.328 * 329 * \[ id, pallet index, call index \]330 **/331 NotifyDispatchError: AugmentedEvent<ApiType, [u64, u8, u8]>;332 /**333 * Query response has been received and query is removed. The registered notification could334 * not be dispatched because the dispatch weight is greater than the maximum weight335 * originally budgeted by this runtime for the query result.336 * 337 * \[ id, pallet index, call index, actual weight, max budgeted weight \]338 **/339 NotifyOverweight: AugmentedEvent<ApiType, [u64, u8, u8, u64, u64]>;340 /**341 * A given location which had a version change subscription was dropped owing to an error342 * migrating the location to our new XCM format.343 * 344 * \[ location, query ID \]345 **/346 NotifyTargetMigrationFail: AugmentedEvent<ApiType, [XcmVersionedMultiLocation, u64]>;347 /**348 * A given location which had a version change subscription was dropped owing to an error349 * sending the notification to it.350 * 351 * \[ location, query ID, error \]352 **/353 NotifyTargetSendFail: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, XcmV2TraitsError]>;354 /**355 * Query response has been received and is ready for taking with `take_response`. There is356 * no registered notification call.357 * 358 * \[ id, response \]359 **/360 ResponseReady: AugmentedEvent<ApiType, [u64, XcmV2Response]>;361 /**362 * Received query response has been read and removed.363 * 364 * \[ id \]365 **/366 ResponseTaken: AugmentedEvent<ApiType, [u64]>;367 /**368 * A XCM message was sent.369 * 370 * \[ origin, destination, message \]371 **/372 Sent: AugmentedEvent<ApiType, [XcmV1MultiLocation, XcmV1MultiLocation, XcmV2Xcm]>;373 /**374 * The supported version of a location has been changed. This might be through an375 * automatic notification or a manual intervention.376 * 377 * \[ location, XCM version \]378 **/379 SupportedVersionChanged: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;380 /**381 * Query response received which does not match a registered query. This may be because a382 * matching query was never registered, it may be because it is a duplicate response, or383 * because the query timed out.384 * 385 * \[ origin location, id \]386 **/387 UnexpectedResponse: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;388 /**389 * An XCM version change notification message has been attempted to be sent.390 * 391 * \[ destination, result \]392 **/393 VersionChangeNotified: AugmentedEvent<ApiType, [XcmV1MultiLocation, u32]>;394 /**395 * Generic event396 **/397 [key: string]: AugmentedEvent<ApiType>;398 };399 rmrkCore: {400 CollectionCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;401 CollectionDestroyed: AugmentedEvent<ApiType, [AccountId32, u32]>;402 CollectionLocked: AugmentedEvent<ApiType, [AccountId32, u32]>;403 IssuerChanged: AugmentedEvent<ApiType, [AccountId32, AccountId32, u32]>;404 NFTBurned: AugmentedEvent<ApiType, [AccountId32, u32]>;405 NftMinted: AugmentedEvent<ApiType, [AccountId32, u32, u32]>;406 PropertySet: AugmentedEvent<ApiType, [u32, Option<u32>, Bytes, Bytes]>;407 /**408 * Generic event409 **/410 [key: string]: AugmentedEvent<ApiType>;411 };412 rmrkEquip: {413 BaseCreated: AugmentedEvent<ApiType, [AccountId32, u32]>;414 /**415 * Generic event416 **/417 [key: string]: AugmentedEvent<ApiType>;418 };419 structure: {420 /**421 * Executed call on behalf of token422 **/423 Executed: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;424 /**425 * Generic event426 **/427 [key: string]: AugmentedEvent<ApiType>;428 };429 sudo: {430 /**431 * The \[sudoer\] just switched identity; the old key is supplied if one existed.432 **/433 KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;434 /**435 * A sudo just took place. \[result\]436 **/437 Sudid: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;438 /**439 * A sudo just took place. \[result\]440 **/441 SudoAsDone: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;442 /**443 * Generic event444 **/445 [key: string]: AugmentedEvent<ApiType>;446 };447 system: {448 /**449 * `:code` was updated.450 **/451 CodeUpdated: AugmentedEvent<ApiType, []>;452 /**453 * An extrinsic failed.454 **/455 ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;456 /**457 * An extrinsic completed successfully.458 **/459 ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;460 /**461 * An account was reaped.462 **/463 KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;464 /**465 * A new account was created.466 **/467 NewAccount: AugmentedEvent<ApiType, [AccountId32]>;468 /**469 * On on-chain remark happened.470 **/471 Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;472 /**473 * Generic event474 **/475 [key: string]: AugmentedEvent<ApiType>;476 };477 treasury: {478 /**479 * Some funds have been allocated.480 **/481 Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;482 /**483 * Some of our funds have been burnt.484 **/485 Burnt: AugmentedEvent<ApiType, [u128]>;486 /**487 * Some funds have been deposited.488 **/489 Deposit: AugmentedEvent<ApiType, [u128]>;490 /**491 * New proposal.492 **/493 Proposed: AugmentedEvent<ApiType, [u32]>;494 /**495 * A proposal was rejected; funds were slashed.496 **/497 Rejected: AugmentedEvent<ApiType, [u32, u128]>;498 /**499 * Spending has finished; this is the amount that rolls over until next spend.500 **/501 Rollover: AugmentedEvent<ApiType, [u128]>;502 /**503 * We have ended a spend period and will now allocate funds.504 **/505 Spending: AugmentedEvent<ApiType, [u128]>;506 /**507 * Generic event508 **/509 [key: string]: AugmentedEvent<ApiType>;510 };511 unique: {512 /**513 * Address was add to allow list514 * 515 * # Arguments516 * 517 * * collection_id: Globally unique collection identifier.518 * 519 * * user: Address.520 **/521 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;522 /**523 * Address was remove from allow list524 * 525 * # Arguments526 * 527 * * collection_id: Globally unique collection identifier.528 * 529 * * user: Address.530 **/531 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;532 /**533 * Collection admin was added534 * 535 * # Arguments536 * 537 * * collection_id: Globally unique collection identifier.538 * 539 * * admin: Admin address.540 **/541 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;542 /**543 * Collection admin was removed544 * 545 * # Arguments546 * 547 * * collection_id: Globally unique collection identifier.548 * 549 * * admin: Admin address.550 **/551 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;552 /**553 * Collection limits was set554 * 555 * # Arguments556 * 557 * * collection_id: Globally unique collection identifier.558 **/559 CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;560 /**561 * Collection owned was change562 * 563 * # Arguments564 * 565 * * collection_id: Globally unique collection identifier.566 * 567 * * owner: New owner address.568 **/569 CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;570 CollectionPermissionSet: AugmentedEvent<ApiType, [u32]>;571 /**572 * Collection sponsor was removed573 * 574 * # Arguments575 * 576 * * collection_id: Globally unique collection identifier.577 **/578 CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;579 /**580 * Collection sponsor was set581 * 582 * # Arguments583 * 584 * * collection_id: Globally unique collection identifier.585 * 586 * * owner: New sponsor address.587 **/588 CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;589 /**590 * New sponsor was confirm591 * 592 * # Arguments593 * 594 * * collection_id: Globally unique collection identifier.595 * 596 * * sponsor: New sponsor address.597 **/598 SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;599 /**600 * Generic event601 **/602 [key: string]: AugmentedEvent<ApiType>;603 };604 vesting: {605 /**606 * Claimed vesting.607 **/608 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;609 /**610 * Added new vesting schedule.611 **/612 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;613 /**614 * Updated vesting schedules.615 **/616 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;617 /**618 * Generic event619 **/620 [key: string]: AugmentedEvent<ApiType>;621 };622 xcmpQueue: {623 /**624 * Bad XCM format used.625 **/626 BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;627 /**628 * Bad XCM version used.629 **/630 BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;631 /**632 * Some XCM failed.633 **/634 Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;635 /**636 * An XCM exceeded the individual message weight budget.637 **/638 OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;639 /**640 * An XCM from the overweight queue was executed with the given actual weight used.641 **/642 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;643 /**644 * Some XCM was executed ok.645 **/646 Success: AugmentedEvent<ApiType, [Option<H256>]>;647 /**648 * An upward message was sent to the relay chain.649 **/650 UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;651 /**652 * An HRMP message was sent to a sibling parachain.653 **/654 XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;655 /**656 * Generic event657 **/658 [key: string]: AugmentedEvent<ApiType>;659 };660 } // AugmentedEvents661} // declare module1// 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, 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 CollectionPermissionSet: AugmentedEvent<ApiType, [u32]>;551 /**552 * Collection sponsor was removed553 * 554 * # Arguments555 * 556 * * collection_id: Globally unique collection identifier.557 **/558 CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;559 /**560 * Collection sponsor was set561 * 562 * # Arguments563 * 564 * * collection_id: Globally unique collection identifier.565 * 566 * * owner: New sponsor address.567 **/568 CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;569 /**570 * New sponsor was confirm571 * 572 * # Arguments573 * 574 * * collection_id: Globally unique collection identifier.575 * 576 * * sponsor: New sponsor address.577 **/578 SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;579 /**580 * Generic event581 **/582 [key: string]: AugmentedEvent<ApiType>;583 };584 vesting: {585 /**586 * Claimed vesting.587 **/588 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;589 /**590 * Added new vesting schedule.591 **/592 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;593 /**594 * Updated vesting schedules.595 **/596 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;597 /**598 * Generic event599 **/600 [key: string]: AugmentedEvent<ApiType>;601 };602 xcmpQueue: {603 /**604 * Bad XCM format used.605 **/606 BadFormat: AugmentedEvent<ApiType, [Option<H256>]>;607 /**608 * Bad XCM version used.609 **/610 BadVersion: AugmentedEvent<ApiType, [Option<H256>]>;611 /**612 * Some XCM failed.613 **/614 Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;615 /**616 * An XCM exceeded the individual message weight budget.617 **/618 OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;619 /**620 * An XCM from the overweight queue was executed with the given actual weight used.621 **/622 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;623 /**624 * Some XCM was executed ok.625 **/626 Success: AugmentedEvent<ApiType, [Option<H256>]>;627 /**628 * An upward message was sent to the relay chain.629 **/630 UpwardMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;631 /**632 * An HRMP message was sent to a sibling parachain.633 **/634 XcmpMessageSent: AugmentedEvent<ApiType, [Option<H256>]>;635 /**636 * Generic event637 **/638 [key: string]: AugmentedEvent<ApiType>;639 };640 } // AugmentedEvents641} // declare moduletests/src/interfaces/augment-api-query.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-query.ts
+++ b/tests/src/interfaces/augment-api-query.ts
@@ -228,6 +228,10 @@
* Used to enumerate tokens owned by account
**/
owned: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]> & QueryableStorageEntry<ApiType, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32]>;
+ /**
+ * Used to enumerate token's children
+ **/
+ tokenChildren: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<bool>, [u32, u32, ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [u32, u32, ITuple<[u32, u32]>]>;
tokenData: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNonfungibleItemData>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
tokenProperties: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<UpDataStructsProperties>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
@@ -406,21 +410,6 @@
tokensBurnt: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
tokensMinted: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<u32>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
totalSupply: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<u128>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- rmrkCore: {
- collectionIndex: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
- /**
- * Generic query
- **/
- [key: string]: QueryableStorageEntry<ApiType>;
- };
- rmrkEquip: {
- baseHasDefaultTheme: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<bool>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
- inernalPartId: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
/**
* Generic query
**/
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftChild, UpDataStructsRmrkNftInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkTheme, UpDataStructsRpcCollection, UpDataStructsTokenData } from './default';
+import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenData } from './default';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
@@ -18,11 +18,11 @@
import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from '@polkadot/types/interfaces/eth';
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
import type { EncodedFinalityProofs, JustificationNotification, ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
-import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
import type { RpcMethods } from '@polkadot/types/interfaces/rpc';
-import type { AccountId, AccountId32, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
+import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from '@polkadot/types/interfaces/runtime';
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from '@polkadot/types/interfaces/state';
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from '@polkadot/types/interfaces/system';
import type { IExtrinsic, Observable } from '@polkadot/types/types';
@@ -355,13 +355,9 @@
};
mmr: {
/**
- * Generate MMR proof for the given leaf indices.
- **/
- generateBatchProof: AugmentedRpc<(leafIndices: Vec<u64> | (u64 | AnyNumber | Uint8Array)[], at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
- /**
* Generate MMR proof for given leaf index.
**/
- generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafBatchProof>>;
+ generateProof: AugmentedRpc<(leafIndex: u64 | AnyNumber | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<MmrLeafProof>>;
};
net: {
/**
@@ -396,60 +392,6 @@
* Retrieves the fee information for an encoded extrinsic
**/
queryInfo: AugmentedRpc<(extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array) => Observable<RuntimeDispatchInfo>>;
- };
- rmrk: {
- /**
- * Get tokens owned by an account in a collection
- **/
- accountTokens: AugmentedRpc<(accountId: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<u32>>>;
- /**
- * Get base info
- **/
- base: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkBaseInfo>>>;
- /**
- * Get all Base's parts
- **/
- baseParts: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPartType>>>;
- /**
- * Get collection by id
- **/
- collectionById: AugmentedRpc<(id: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkCollectionInfo>>>;
- /**
- * Get collection properties
- **/
- collectionProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
- /**
- * Get the latest created collection id
- **/
- lastCollectionIdx: AugmentedRpc<(at?: Hash | string | Uint8Array) => Observable<u32>>;
- /**
- * Get NFT by collection id and NFT id
- **/
- nftById: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkNftInfo>>>;
- /**
- * Get NFT children
- **/
- nftChildren: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkNftChild>>>;
- /**
- * Get NFT properties
- **/
- nftProperties: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkPropertyInfo>>>;
- /**
- * Get NFT resource priorities
- **/
- nftResourcePriorities: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<Bytes>>>;
- /**
- * Get NFT resources
- **/
- nftResources: AugmentedRpc<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsRmrkResourceInfo>>>;
- /**
- * Get Base's theme names
- **/
- themeNames: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<Bytes>>>;
- /**
- * Get Theme's keys values
- **/
- themes: AugmentedRpc<(baseId: u32 | AnyNumber | Uint8Array, themeName: Text | string, keys: Option<Vec<Text>> | null | object | string | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsRmrkTheme>>>;
};
rpc: {
/**
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -4,8 +4,8 @@
import type { ApiTypes } from '@polkadot/api-base/types';
import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
-import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
-import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';
+import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/api-base/types/submittable' {
export interface AugmentedSubmittables<ApiType extends ApiTypes> {
@@ -341,27 +341,6 @@
* fees.
**/
teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;
- /**
- * Generic tx
- **/
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
- };
- rmrkCore: {
- burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
- changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;
- createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;
- destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
- mintNft: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Option<AccountId32>, Option<Permill>, Bytes]>;
- setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;
- /**
- * Generic tx
- **/
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
- };
- rmrkEquip: {
- createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<UpDataStructsRmrkPartType> | (UpDataStructsRmrkPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<UpDataStructsRmrkPartType>]>;
- themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: UpDataStructsRmrkTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsRmrkTheme]>;
/**
* Generic tx
**/
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,9 +1,9 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRmrkAccountIdOrCollectionNftTuple, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkBasicResource, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkComposableResource, UpDataStructsRmrkEquippableList, UpDataStructsRmrkFixedPart, UpDataStructsRmrkNftChild, UpDataStructsRmrkNftInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkResourceTypes, UpDataStructsRmrkRoyaltyInfo, UpDataStructsRmrkSlotPart, UpDataStructsRmrkSlotResource, UpDataStructsRmrkTheme, UpDataStructsRmrkThemeProperty, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRmrkAccountIdOrCollectionNftTuple, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkBasicResource, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkComposableResource, UpDataStructsRmrkEquippableList, UpDataStructsRmrkFixedPart, UpDataStructsRmrkNftChild, UpDataStructsRmrkNftInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkResourceTypes, UpDataStructsRmrkRoyaltyInfo, UpDataStructsRmrkSlotPart, UpDataStructsRmrkSlotResource, UpDataStructsRmrkTheme, UpDataStructsRmrkThemeProperty, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from './default';
import type { Data, StorageKey } from '@polkadot/types';
-import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
+import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
@@ -36,7 +36,7 @@
import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline';
import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery';
import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata';
-import type { MmrLeafBatchProof, MmrLeafProof } from '@polkadot/types/interfaces/mmr';
+import type { MmrLeafProof } from '@polkadot/types/interfaces/mmr';
import type { StorageKind } from '@polkadot/types/interfaces/offchain';
import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences';
import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, Scheduling, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains';
@@ -661,7 +661,6 @@
MetadataV14: MetadataV14;
MetadataV9: MetadataV9;
MigrationStatusResult: MigrationStatusResult;
- MmrLeafBatchProof: MmrLeafBatchProof;
MmrLeafProof: MmrLeafProof;
MmrRootHash: MmrRootHash;
ModuleConstantMetadataV10: ModuleConstantMetadataV10;
@@ -728,7 +727,6 @@
OpenTipTip: OpenTipTip;
OpenTipTo225: OpenTipTo225;
OperatingMode: OperatingMode;
- OptionBool: OptionBool;
Origin: Origin;
OriginCaller: OriginCaller;
OriginKindV0: OriginKindV0;
@@ -788,12 +786,6 @@
PalletNonfungibleItemData: PalletNonfungibleItemData;
PalletRefungibleError: PalletRefungibleError;
PalletRefungibleItemData: PalletRefungibleItemData;
- PalletRmrkCoreCall: PalletRmrkCoreCall;
- PalletRmrkCoreError: PalletRmrkCoreError;
- PalletRmrkCoreEvent: PalletRmrkCoreEvent;
- PalletRmrkEquipCall: PalletRmrkEquipCall;
- PalletRmrkEquipError: PalletRmrkEquipError;
- PalletRmrkEquipEvent: PalletRmrkEquipEvent;
PalletsOrigin: PalletsOrigin;
PalletStorageMetadataLatest: PalletStorageMetadataLatest;
PalletStorageMetadataV14: PalletStorageMetadataV14;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, OptionBool, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
@@ -866,6 +866,7 @@
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
readonly isNoPermission: boolean;
+ readonly isCantDestroyNotEmptyCollection: boolean;
readonly isPublicMintingNotAllowed: boolean;
readonly isAddressNotInAllowlist: boolean;
readonly isCollectionNameLimitExceeded: boolean;
@@ -895,7 +896,7 @@
readonly isPropertyKeyIsTooLong: boolean;
readonly isInvalidCharacterInPropertyKey: boolean;
readonly isEmptyPropertyKey: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';
}
/** @name PalletCommonEvent */
@@ -1105,7 +1106,8 @@
export interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
- readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
+ readonly isCantBurnNftWithChildren: boolean;
+ readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
/** @name PalletNonfungibleItemData */
@@ -1125,147 +1127,8 @@
/** @name PalletRefungibleItemData */
export interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
-}
-
-/** @name PalletRmrkCoreCall */
-export interface PalletRmrkCoreCall extends Enum {
- readonly isCreateCollection: boolean;
- readonly asCreateCollection: {
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- } & Struct;
- readonly isDestroyCollection: boolean;
- readonly asDestroyCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isChangeCollectionIssuer: boolean;
- readonly asChangeCollectionIssuer: {
- readonly collectionId: u32;
- readonly newIssuer: MultiAddress;
- } & Struct;
- readonly isLockCollection: boolean;
- readonly asLockCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isMintNft: boolean;
- readonly asMintNft: {
- readonly owner: AccountId32;
- readonly collectionId: u32;
- readonly recipient: Option<AccountId32>;
- readonly royaltyAmount: Option<Permill>;
- readonly metadata: Bytes;
- } & Struct;
- readonly isBurnNft: boolean;
- readonly asBurnNft: {
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isSetProperty: boolean;
- readonly asSetProperty: {
- readonly rmrkCollectionId: Compact<u32>;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';
}
-/** @name PalletRmrkCoreError */
-export interface PalletRmrkCoreError extends Enum {
- readonly isCorruptedCollectionType: boolean;
- readonly isNftTypeEncodeError: boolean;
- readonly isRmrkPropertyKeyIsTooLong: boolean;
- readonly isRmrkPropertyValueIsTooLong: boolean;
- readonly isCollectionNotEmpty: boolean;
- readonly isNoAvailableCollectionId: boolean;
- readonly isNoAvailableNftId: boolean;
- readonly isCollectionUnknown: boolean;
- readonly isNoPermission: boolean;
- readonly isCollectionFullOrLocked: boolean;
- readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';
-}
-
-/** @name PalletRmrkCoreEvent */
-export interface PalletRmrkCoreEvent extends Enum {
- readonly isCollectionCreated: boolean;
- readonly asCollectionCreated: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isCollectionDestroyed: boolean;
- readonly asCollectionDestroyed: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isIssuerChanged: boolean;
- readonly asIssuerChanged: {
- readonly oldIssuer: AccountId32;
- readonly newIssuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isCollectionLocked: boolean;
- readonly asCollectionLocked: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isNftMinted: boolean;
- readonly asNftMinted: {
- readonly owner: AccountId32;
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isNftBurned: boolean;
- readonly asNftBurned: {
- readonly owner: AccountId32;
- readonly nftId: u32;
- } & Struct;
- readonly isPropertySet: boolean;
- readonly asPropertySet: {
- readonly collectionId: u32;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';
-}
-
-/** @name PalletRmrkEquipCall */
-export interface PalletRmrkEquipCall extends Enum {
- readonly isCreateBase: boolean;
- readonly asCreateBase: {
- readonly baseType: Bytes;
- readonly symbol: Bytes;
- readonly parts: Vec<UpDataStructsRmrkPartType>;
- } & Struct;
- readonly isThemeAdd: boolean;
- readonly asThemeAdd: {
- readonly baseId: u32;
- readonly theme: UpDataStructsRmrkTheme;
- } & Struct;
- readonly type: 'CreateBase' | 'ThemeAdd';
-}
-
-/** @name PalletRmrkEquipError */
-export interface PalletRmrkEquipError extends Enum {
- readonly isPermissionError: boolean;
- readonly isNoAvailableBaseId: boolean;
- readonly isNoAvailablePartId: boolean;
- readonly isBaseDoesntExist: boolean;
- readonly isNeedsDefaultThemeFirst: boolean;
- readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
-}
-
-/** @name PalletRmrkEquipEvent */
-export interface PalletRmrkEquipEvent extends Enum {
- readonly isBaseCreated: boolean;
- readonly asBaseCreated: {
- readonly issuer: AccountId32;
- readonly baseId: u32;
- } & Struct;
- readonly type: 'BaseCreated';
-}
-
/** @name PalletStructureCall */
export interface PalletStructureCall extends Null {}
@@ -1925,9 +1788,9 @@
readonly tokenLimit: Option<u32>;
readonly sponsorTransferTimeout: Option<u32>;
readonly sponsorApproveTimeout: Option<u32>;
- readonly ownerCanTransfer: OptionBool;
- readonly ownerCanDestroy: OptionBool;
- readonly transfersEnabled: OptionBool;
+ readonly ownerCanTransfer: Option<bool>;
+ readonly ownerCanDestroy: Option<bool>;
+ readonly transfersEnabled: Option<bool>;
}
/** @name UpDataStructsCollectionMode */
@@ -1942,7 +1805,7 @@
/** @name UpDataStructsCollectionPermissions */
export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
- readonly mintMode: OptionBool;
+ readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingRule>;
}
tests/src/interfaces/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/definitions.ts
+++ b/tests/src/interfaces/definitions.ts
@@ -15,5 +15,5 @@
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
export {default as unique} from './unique/definitions';
-export {default as rmrk} from './rmrk/definitions';
+// TODO free RMRK! export {default as rmrk} from './rmrk/definitions';
export {default as default} from './default/definitions';
\ No newline at end of file
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -1403,9 +1403,9 @@
tokenLimit: 'Option<u32>',
sponsorTransferTimeout: 'Option<u32>',
sponsorApproveTimeout: 'Option<u32>',
- ownerCanTransfer: 'OptionBool',
- ownerCanDestroy: 'OptionBool',
- transfersEnabled: 'OptionBool'
+ ownerCanTransfer: 'Option<bool>',
+ ownerCanDestroy: 'Option<bool>',
+ transfersEnabled: 'Option<bool>'
},
/**
* Lookup164: up_data_structs::SponsoringRateLimit
@@ -1421,7 +1421,7 @@
**/
UpDataStructsCollectionPermissions: {
access: 'Option<UpDataStructsAccessMode>',
- mintMode: 'OptionBool',
+ mintMode: 'Option<bool>',
nesting: 'Option<UpDataStructsNestingRule>'
},
/**
@@ -1529,114 +1529,8 @@
**/
PalletStructureCall: 'Null',
/**
- * Lookup206: pallet_rmrk_core::pallet::Call<T>
- **/
- PalletRmrkCoreCall: {
- _enum: {
- create_collection: {
- metadata: 'Bytes',
- max: 'Option<u32>',
- symbol: 'Bytes',
- },
- destroy_collection: {
- collectionId: 'u32',
- },
- change_collection_issuer: {
- collectionId: 'u32',
- newIssuer: 'MultiAddress',
- },
- lock_collection: {
- collectionId: 'u32',
- },
- mint_nft: {
- owner: 'AccountId32',
- collectionId: 'u32',
- recipient: 'Option<AccountId32>',
- royaltyAmount: 'Option<Permill>',
- metadata: 'Bytes',
- },
- burn_nft: {
- collectionId: 'u32',
- nftId: 'u32',
- },
- set_property: {
- rmrkCollectionId: 'Compact<u32>',
- maybeNftId: 'Option<u32>',
- key: 'Bytes',
- value: 'Bytes'
- }
- }
- },
- /**
- * Lookup212: pallet_rmrk_equip::pallet::Call<T>
- **/
- PalletRmrkEquipCall: {
- _enum: {
- create_base: {
- baseType: 'Bytes',
- symbol: 'Bytes',
- parts: 'Vec<UpDataStructsRmrkPartType>',
- },
- theme_add: {
- baseId: 'u32',
- theme: 'UpDataStructsRmrkTheme'
- }
- }
- },
- /**
- * Lookup214: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
- **/
- UpDataStructsRmrkPartType: {
- _enum: {
- FixedPart: 'UpDataStructsRmrkFixedPart',
- SlotPart: 'UpDataStructsRmrkSlotPart'
- }
- },
- /**
- * Lookup216: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup206: pallet_evm::pallet::Call<T>
**/
- UpDataStructsRmrkFixedPart: {
- id: 'u32',
- z: 'u32',
- src: 'Bytes'
- },
- /**
- * Lookup217: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
- **/
- UpDataStructsRmrkSlotPart: {
- id: 'u32',
- equippable: 'UpDataStructsRmrkEquippableList',
- src: 'Bytes',
- z: 'u32'
- },
- /**
- * Lookup218: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
- **/
- UpDataStructsRmrkEquippableList: {
- _enum: {
- All: 'Null',
- Empty: 'Null',
- Custom: 'Vec<u32>'
- }
- },
- /**
- * Lookup220: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
- **/
- UpDataStructsRmrkTheme: {
- name: 'Bytes',
- properties: 'Vec<UpDataStructsRmrkThemeProperty>',
- inherit: 'bool'
- },
- /**
- * Lookup222: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
- **/
- UpDataStructsRmrkThemeProperty: {
- key: 'Bytes',
- value: 'Bytes'
- },
- /**
- * Lookup223: pallet_evm::pallet::Call<T>
- **/
PalletEvmCall: {
_enum: {
withdraw: {
@@ -1678,7 +1572,7 @@
}
},
/**
- * Lookup229: pallet_ethereum::pallet::Call<T>
+ * Lookup212: pallet_ethereum::pallet::Call<T>
**/
PalletEthereumCall: {
_enum: {
@@ -1688,7 +1582,7 @@
}
},
/**
- * Lookup230: ethereum::transaction::TransactionV2
+ * Lookup213: ethereum::transaction::TransactionV2
**/
EthereumTransactionTransactionV2: {
_enum: {
@@ -1698,7 +1592,7 @@
}
},
/**
- * Lookup231: ethereum::transaction::LegacyTransaction
+ * Lookup214: ethereum::transaction::LegacyTransaction
**/
EthereumTransactionLegacyTransaction: {
nonce: 'U256',
@@ -1710,7 +1604,7 @@
signature: 'EthereumTransactionTransactionSignature'
},
/**
- * Lookup232: ethereum::transaction::TransactionAction
+ * Lookup215: ethereum::transaction::TransactionAction
**/
EthereumTransactionTransactionAction: {
_enum: {
@@ -1719,7 +1613,7 @@
}
},
/**
- * Lookup233: ethereum::transaction::TransactionSignature
+ * Lookup216: ethereum::transaction::TransactionSignature
**/
EthereumTransactionTransactionSignature: {
v: 'u64',
@@ -1727,7 +1621,7 @@
s: 'H256'
},
/**
- * Lookup235: ethereum::transaction::EIP2930Transaction
+ * Lookup218: ethereum::transaction::EIP2930Transaction
**/
EthereumTransactionEip2930Transaction: {
chainId: 'u64',
@@ -1743,14 +1637,14 @@
s: 'H256'
},
/**
- * Lookup237: ethereum::transaction::AccessListItem
+ * Lookup220: ethereum::transaction::AccessListItem
**/
EthereumTransactionAccessListItem: {
address: 'H160',
storageKeys: 'Vec<H256>'
},
/**
- * Lookup238: ethereum::transaction::EIP1559Transaction
+ * Lookup221: ethereum::transaction::EIP1559Transaction
**/
EthereumTransactionEip1559Transaction: {
chainId: 'u64',
@@ -1767,7 +1661,7 @@
s: 'H256'
},
/**
- * Lookup239: pallet_evm_migration::pallet::Call<T>
+ * Lookup222: pallet_evm_migration::pallet::Call<T>
**/
PalletEvmMigrationCall: {
_enum: {
@@ -1785,7 +1679,7 @@
}
},
/**
- * Lookup242: pallet_sudo::pallet::Event<T>
+ * Lookup225: pallet_sudo::pallet::Event<T>
**/
PalletSudoEvent: {
_enum: {
@@ -1801,7 +1695,7 @@
}
},
/**
- * Lookup244: sp_runtime::DispatchError
+ * Lookup227: sp_runtime::DispatchError
**/
SpRuntimeDispatchError: {
_enum: {
@@ -1818,38 +1712,38 @@
}
},
/**
- * Lookup245: sp_runtime::ModuleError
+ * Lookup228: sp_runtime::ModuleError
**/
SpRuntimeModuleError: {
index: 'u8',
error: '[u8;4]'
},
/**
- * Lookup246: sp_runtime::TokenError
+ * Lookup229: sp_runtime::TokenError
**/
SpRuntimeTokenError: {
_enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']
},
/**
- * Lookup247: sp_runtime::ArithmeticError
+ * Lookup230: sp_runtime::ArithmeticError
**/
SpRuntimeArithmeticError: {
_enum: ['Underflow', 'Overflow', 'DivisionByZero']
},
/**
- * Lookup248: sp_runtime::TransactionalError
+ * Lookup231: sp_runtime::TransactionalError
**/
SpRuntimeTransactionalError: {
_enum: ['LimitReached', 'NoLayer']
},
/**
- * Lookup249: pallet_sudo::pallet::Error<T>
+ * Lookup232: pallet_sudo::pallet::Error<T>
**/
PalletSudoError: {
_enum: ['RequireSudo']
},
/**
- * Lookup250: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
+ * Lookup233: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>
**/
FrameSystemAccountInfo: {
nonce: 'u32',
@@ -1859,7 +1753,7 @@
data: 'PalletBalancesAccountData'
},
/**
- * Lookup251: frame_support::weights::PerDispatchClass<T>
+ * Lookup234: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU64: {
normal: 'u64',
@@ -1867,13 +1761,13 @@
mandatory: 'u64'
},
/**
- * Lookup252: sp_runtime::generic::digest::Digest
+ * Lookup235: sp_runtime::generic::digest::Digest
**/
SpRuntimeDigest: {
logs: 'Vec<SpRuntimeDigestDigestItem>'
},
/**
- * Lookup254: sp_runtime::generic::digest::DigestItem
+ * Lookup237: sp_runtime::generic::digest::DigestItem
**/
SpRuntimeDigestDigestItem: {
_enum: {
@@ -1889,7 +1783,7 @@
}
},
/**
- * Lookup256: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
+ * Lookup239: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>
**/
FrameSystemEventRecord: {
phase: 'FrameSystemPhase',
@@ -1897,7 +1791,7 @@
topics: 'Vec<H256>'
},
/**
- * Lookup258: frame_system::pallet::Event<T>
+ * Lookup241: frame_system::pallet::Event<T>
**/
FrameSystemEvent: {
_enum: {
@@ -1925,7 +1819,7 @@
}
},
/**
- * Lookup259: frame_support::weights::DispatchInfo
+ * Lookup242: frame_support::weights::DispatchInfo
**/
FrameSupportWeightsDispatchInfo: {
weight: 'u64',
@@ -1933,19 +1827,19 @@
paysFee: 'FrameSupportWeightsPays'
},
/**
- * Lookup260: frame_support::weights::DispatchClass
+ * Lookup243: frame_support::weights::DispatchClass
**/
FrameSupportWeightsDispatchClass: {
_enum: ['Normal', 'Operational', 'Mandatory']
},
/**
- * Lookup261: frame_support::weights::Pays
+ * Lookup244: frame_support::weights::Pays
**/
FrameSupportWeightsPays: {
_enum: ['Yes', 'No']
},
/**
- * Lookup262: orml_vesting::module::Event<T>
+ * Lookup245: orml_vesting::module::Event<T>
**/
OrmlVestingModuleEvent: {
_enum: {
@@ -1964,7 +1858,7 @@
}
},
/**
- * Lookup263: cumulus_pallet_xcmp_queue::pallet::Event<T>
+ * Lookup246: cumulus_pallet_xcmp_queue::pallet::Event<T>
**/
CumulusPalletXcmpQueueEvent: {
_enum: {
@@ -1979,7 +1873,7 @@
}
},
/**
- * Lookup264: pallet_xcm::pallet::Event<T>
+ * Lookup247: pallet_xcm::pallet::Event<T>
**/
PalletXcmEvent: {
_enum: {
@@ -2002,7 +1896,7 @@
}
},
/**
- * Lookup265: xcm::v2::traits::Outcome
+ * Lookup248: xcm::v2::traits::Outcome
**/
XcmV2TraitsOutcome: {
_enum: {
@@ -2012,7 +1906,7 @@
}
},
/**
- * Lookup267: cumulus_pallet_xcm::pallet::Event<T>
+ * Lookup250: cumulus_pallet_xcm::pallet::Event<T>
**/
CumulusPalletXcmEvent: {
_enum: {
@@ -2022,7 +1916,7 @@
}
},
/**
- * Lookup268: cumulus_pallet_dmp_queue::pallet::Event<T>
+ * Lookup251: cumulus_pallet_dmp_queue::pallet::Event<T>
**/
CumulusPalletDmpQueueEvent: {
_enum: {
@@ -2035,7 +1929,7 @@
}
},
/**
- * Lookup269: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup252: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletUniqueRawEvent: {
_enum: {
@@ -2052,7 +1946,7 @@
}
},
/**
- * Lookup270: pallet_common::pallet::Event<T>
+ * Lookup253: pallet_common::pallet::Event<T>
**/
PalletCommonEvent: {
_enum: {
@@ -2070,65 +1964,15 @@
}
},
/**
- * Lookup271: pallet_structure::pallet::Event<T>
+ * Lookup254: pallet_structure::pallet::Event<T>
**/
PalletStructureEvent: {
_enum: {
Executed: 'Result<Null, SpRuntimeDispatchError>'
- }
- },
- /**
- * Lookup272: pallet_rmrk_core::pallet::Event<T>
- **/
- PalletRmrkCoreEvent: {
- _enum: {
- CollectionCreated: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- CollectionDestroyed: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- IssuerChanged: {
- oldIssuer: 'AccountId32',
- newIssuer: 'AccountId32',
- collectionId: 'u32',
- },
- CollectionLocked: {
- issuer: 'AccountId32',
- collectionId: 'u32',
- },
- NftMinted: {
- owner: 'AccountId32',
- collectionId: 'u32',
- nftId: 'u32',
- },
- NFTBurned: {
- owner: 'AccountId32',
- nftId: 'u32',
- },
- PropertySet: {
- collectionId: 'u32',
- maybeNftId: 'Option<u32>',
- key: 'Bytes',
- value: 'Bytes'
- }
- }
- },
- /**
- * Lookup273: pallet_rmrk_equip::pallet::Event<T>
- **/
- PalletRmrkEquipEvent: {
- _enum: {
- BaseCreated: {
- issuer: 'AccountId32',
- baseId: 'u32'
- }
}
},
/**
- * Lookup274: pallet_evm::pallet::Event<T>
+ * Lookup255: pallet_evm::pallet::Event<T>
**/
PalletEvmEvent: {
_enum: {
@@ -2142,7 +1986,7 @@
}
},
/**
- * Lookup275: ethereum::log::Log
+ * Lookup256: ethereum::log::Log
**/
EthereumLog: {
address: 'H160',
@@ -2150,7 +1994,7 @@
data: 'Bytes'
},
/**
- * Lookup276: pallet_ethereum::pallet::Event
+ * Lookup257: pallet_ethereum::pallet::Event
**/
PalletEthereumEvent: {
_enum: {
@@ -2158,7 +2002,7 @@
}
},
/**
- * Lookup277: evm_core::error::ExitReason
+ * Lookup258: evm_core::error::ExitReason
**/
EvmCoreErrorExitReason: {
_enum: {
@@ -2169,13 +2013,13 @@
}
},
/**
- * Lookup278: evm_core::error::ExitSucceed
+ * Lookup259: evm_core::error::ExitSucceed
**/
EvmCoreErrorExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
/**
- * Lookup279: evm_core::error::ExitError
+ * Lookup260: evm_core::error::ExitError
**/
EvmCoreErrorExitError: {
_enum: {
@@ -2197,13 +2041,13 @@
}
},
/**
- * Lookup282: evm_core::error::ExitRevert
+ * Lookup263: evm_core::error::ExitRevert
**/
EvmCoreErrorExitRevert: {
_enum: ['Reverted']
},
/**
- * Lookup283: evm_core::error::ExitFatal
+ * Lookup264: evm_core::error::ExitFatal
**/
EvmCoreErrorExitFatal: {
_enum: {
@@ -2214,7 +2058,7 @@
}
},
/**
- * Lookup284: frame_system::Phase
+ * Lookup265: frame_system::Phase
**/
FrameSystemPhase: {
_enum: {
@@ -2224,14 +2068,14 @@
}
},
/**
- * Lookup286: frame_system::LastRuntimeUpgradeInfo
+ * Lookup267: frame_system::LastRuntimeUpgradeInfo
**/
FrameSystemLastRuntimeUpgradeInfo: {
specVersion: 'Compact<u32>',
specName: 'Text'
},
/**
- * Lookup287: frame_system::limits::BlockWeights
+ * Lookup268: frame_system::limits::BlockWeights
**/
FrameSystemLimitsBlockWeights: {
baseBlock: 'u64',
@@ -2239,7 +2083,7 @@
perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'
},
/**
- * Lookup288: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
+ * Lookup269: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>
**/
FrameSupportWeightsPerDispatchClassWeightsPerClass: {
normal: 'FrameSystemLimitsWeightsPerClass',
@@ -2247,7 +2091,7 @@
mandatory: 'FrameSystemLimitsWeightsPerClass'
},
/**
- * Lookup289: frame_system::limits::WeightsPerClass
+ * Lookup270: frame_system::limits::WeightsPerClass
**/
FrameSystemLimitsWeightsPerClass: {
baseExtrinsic: 'u64',
@@ -2256,13 +2100,13 @@
reserved: 'Option<u64>'
},
/**
- * Lookup291: frame_system::limits::BlockLength
+ * Lookup272: frame_system::limits::BlockLength
**/
FrameSystemLimitsBlockLength: {
max: 'FrameSupportWeightsPerDispatchClassU32'
},
/**
- * Lookup292: frame_support::weights::PerDispatchClass<T>
+ * Lookup273: frame_support::weights::PerDispatchClass<T>
**/
FrameSupportWeightsPerDispatchClassU32: {
normal: 'u32',
@@ -2270,14 +2114,14 @@
mandatory: 'u32'
},
/**
- * Lookup293: frame_support::weights::RuntimeDbWeight
+ * Lookup274: frame_support::weights::RuntimeDbWeight
**/
FrameSupportWeightsRuntimeDbWeight: {
read: 'u64',
write: 'u64'
},
/**
- * Lookup294: sp_version::RuntimeVersion
+ * Lookup275: sp_version::RuntimeVersion
**/
SpVersionRuntimeVersion: {
specName: 'Text',
@@ -2290,19 +2134,19 @@
stateVersion: 'u8'
},
/**
- * Lookup298: frame_system::pallet::Error<T>
+ * Lookup279: frame_system::pallet::Error<T>
**/
FrameSystemError: {
_enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']
},
/**
- * Lookup300: orml_vesting::module::Error<T>
+ * Lookup281: orml_vesting::module::Error<T>
**/
OrmlVestingModuleError: {
_enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']
},
/**
- * Lookup302: cumulus_pallet_xcmp_queue::InboundChannelDetails
+ * Lookup283: cumulus_pallet_xcmp_queue::InboundChannelDetails
**/
CumulusPalletXcmpQueueInboundChannelDetails: {
sender: 'u32',
@@ -2310,19 +2154,19 @@
messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'
},
/**
- * Lookup303: cumulus_pallet_xcmp_queue::InboundState
+ * Lookup284: cumulus_pallet_xcmp_queue::InboundState
**/
CumulusPalletXcmpQueueInboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup306: polkadot_parachain::primitives::XcmpMessageFormat
+ * Lookup287: polkadot_parachain::primitives::XcmpMessageFormat
**/
PolkadotParachainPrimitivesXcmpMessageFormat: {
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
},
/**
- * Lookup309: cumulus_pallet_xcmp_queue::OutboundChannelDetails
+ * Lookup290: cumulus_pallet_xcmp_queue::OutboundChannelDetails
**/
CumulusPalletXcmpQueueOutboundChannelDetails: {
recipient: 'u32',
@@ -2332,13 +2176,13 @@
lastIndex: 'u16'
},
/**
- * Lookup310: cumulus_pallet_xcmp_queue::OutboundState
+ * Lookup291: cumulus_pallet_xcmp_queue::OutboundState
**/
CumulusPalletXcmpQueueOutboundState: {
_enum: ['Ok', 'Suspended']
},
/**
- * Lookup312: cumulus_pallet_xcmp_queue::QueueConfigData
+ * Lookup293: cumulus_pallet_xcmp_queue::QueueConfigData
**/
CumulusPalletXcmpQueueQueueConfigData: {
suspendThreshold: 'u32',
@@ -2349,29 +2193,29 @@
xcmpMaxIndividualWeight: 'u64'
},
/**
- * Lookup314: cumulus_pallet_xcmp_queue::pallet::Error<T>
+ * Lookup295: cumulus_pallet_xcmp_queue::pallet::Error<T>
**/
CumulusPalletXcmpQueueError: {
_enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']
},
/**
- * Lookup315: pallet_xcm::pallet::Error<T>
+ * Lookup296: pallet_xcm::pallet::Error<T>
**/
PalletXcmError: {
_enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']
},
/**
- * Lookup316: cumulus_pallet_xcm::pallet::Error<T>
+ * Lookup297: cumulus_pallet_xcm::pallet::Error<T>
**/
CumulusPalletXcmError: 'Null',
/**
- * Lookup317: cumulus_pallet_dmp_queue::ConfigData
+ * Lookup298: cumulus_pallet_dmp_queue::ConfigData
**/
CumulusPalletDmpQueueConfigData: {
maxIndividual: 'u64'
},
/**
- * Lookup318: cumulus_pallet_dmp_queue::PageIndexData
+ * Lookup299: cumulus_pallet_dmp_queue::PageIndexData
**/
CumulusPalletDmpQueuePageIndexData: {
beginUsed: 'u32',
@@ -2379,19 +2223,19 @@
overweightCount: 'u64'
},
/**
- * Lookup321: cumulus_pallet_dmp_queue::pallet::Error<T>
+ * Lookup302: cumulus_pallet_dmp_queue::pallet::Error<T>
**/
CumulusPalletDmpQueueError: {
_enum: ['Unknown', 'OverLimit']
},
/**
- * Lookup325: pallet_unique::Error<T>
+ * Lookup306: pallet_unique::Error<T>
**/
PalletUniqueError: {
_enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']
},
/**
- * Lookup326: up_data_structs::Collection<sp_core::crypto::AccountId32>
+ * Lookup307: up_data_structs::Collection<sp_core::crypto::AccountId32>
**/
UpDataStructsCollection: {
owner: 'AccountId32',
@@ -2404,7 +2248,7 @@
permissions: 'UpDataStructsCollectionPermissions'
},
/**
- * Lookup327: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
+ * Lookup308: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>
**/
UpDataStructsSponsorshipState: {
_enum: {
@@ -2414,7 +2258,7 @@
}
},
/**
- * Lookup328: up_data_structs::Properties
+ * Lookup309: up_data_structs::Properties
**/
UpDataStructsProperties: {
map: 'UpDataStructsPropertiesMapBoundedVec',
@@ -2422,15 +2266,15 @@
spaceLimit: 'u32'
},
/**
- * Lookup329: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup310: up_data_structs::PropertiesMap<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsPropertiesMapBoundedVec: 'BTreeMap<Bytes, Bytes>',
/**
- * Lookup334: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
+ * Lookup315: up_data_structs::PropertiesMap<up_data_structs::PropertyPermission>
**/
UpDataStructsPropertiesMapPropertyPermission: 'BTreeMap<Bytes, UpDataStructsPropertyPermission>',
/**
- * Lookup341: up_data_structs::CollectionStats
+ * Lookup322: up_data_structs::CollectionStats
**/
UpDataStructsCollectionStats: {
created: 'u32',
@@ -2438,18 +2282,18 @@
alive: 'u32'
},
/**
- * Lookup342: PhantomType::up_data_structs<T>
+ * Lookup323: PhantomType::up_data_structs<T>
**/
PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpDataStructsRmrkCollectionInfo,UpDataStructsRmrkNftInfo,UpDataStructsRmrkResourceInfo,UpDataStructsRmrkPropertyInfo,UpDataStructsRmrkBaseInfo,UpDataStructsRmrkPartType,UpDataStructsRmrkTheme,UpDataStructsRmrkNftChild);0]',
/**
- * Lookup344: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup325: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
UpDataStructsTokenData: {
properties: 'Vec<UpDataStructsProperty>',
owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'
},
/**
- * Lookup346: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
+ * Lookup327: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
**/
UpDataStructsRpcCollection: {
owner: 'AccountId32',
@@ -2464,7 +2308,7 @@
properties: 'Vec<UpDataStructsProperty>'
},
/**
- * Lookup347: up_data_structs::rmrk::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
+ * Lookup328: up_data_structs::rmrk::CollectionInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, sp_core::crypto::AccountId32>
**/
UpDataStructsRmrkCollectionInfo: {
issuer: 'AccountId32',
@@ -2474,7 +2318,7 @@
nftsCount: 'u32'
},
/**
- * Lookup348: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup331: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkNftInfo: {
owner: 'UpDataStructsRmrkAccountIdOrCollectionNftTuple',
@@ -2484,7 +2328,7 @@
pending: 'bool'
},
/**
- * Lookup349: up_data_structs::rmrk::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
+ * Lookup332: up_data_structs::rmrk::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
**/
UpDataStructsRmrkAccountIdOrCollectionNftTuple: {
_enum: {
@@ -2493,14 +2337,14 @@
}
},
/**
- * Lookup351: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
+ * Lookup334: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
**/
UpDataStructsRmrkRoyaltyInfo: {
recipient: 'AccountId32',
amount: 'Permill'
},
/**
- * Lookup352: up_data_structs::rmrk::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup335: up_data_structs::rmrk::ResourceInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkResourceInfo: {
id: 'Bytes',
@@ -2509,7 +2353,7 @@
pendingRemoval: 'bool'
},
/**
- * Lookup355: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup338: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkResourceTypes: {
_enum: {
@@ -2519,7 +2363,7 @@
}
},
/**
- * Lookup356: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup339: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkBasicResource: {
src: 'Option<Bytes>',
@@ -2528,7 +2372,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup358: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup341: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkComposableResource: {
parts: 'Vec<u32>',
@@ -2539,7 +2383,7 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup359: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup342: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkSlotResource: {
base: 'u32',
@@ -2550,14 +2394,14 @@
thumb: 'Option<Bytes>'
},
/**
- * Lookup360: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup343: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkPropertyInfo: {
key: 'Bytes',
value: 'Bytes'
},
/**
- * Lookup361: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ * Lookup346: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
**/
UpDataStructsRmrkBaseInfo: {
issuer: 'AccountId32',
@@ -2565,74 +2409,113 @@
symbol: 'Bytes'
},
/**
- * Lookup362: up_data_structs::rmrk::NftChild
+ * Lookup347: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkPartType: {
+ _enum: {
+ FixedPart: 'UpDataStructsRmrkFixedPart',
+ SlotPart: 'UpDataStructsRmrkSlotPart'
+ }
+ },
+ /**
+ * Lookup349: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkFixedPart: {
+ id: 'u32',
+ z: 'u32',
+ src: 'Bytes'
+ },
+ /**
+ * Lookup350: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkSlotPart: {
+ id: 'u32',
+ equippable: 'UpDataStructsRmrkEquippableList',
+ src: 'Bytes',
+ z: 'u32'
+ },
+ /**
+ * Lookup351: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkEquippableList: {
+ _enum: {
+ All: 'Null',
+ Empty: 'Null',
+ Custom: 'Vec<u32>'
+ }
+ },
+ /**
+ * Lookup352: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
**/
+ UpDataStructsRmrkTheme: {
+ name: 'Bytes',
+ properties: 'Vec<UpDataStructsRmrkThemeProperty>',
+ inherit: 'bool'
+ },
+ /**
+ * Lookup354: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
+ **/
+ UpDataStructsRmrkThemeProperty: {
+ key: 'Bytes',
+ value: 'Bytes'
+ },
+ /**
+ * Lookup355: up_data_structs::rmrk::NftChild
+ **/
UpDataStructsRmrkNftChild: {
collectionId: 'u32',
nftId: 'u32'
},
/**
- * Lookup364: pallet_common::pallet::Error<T>
+ * Lookup357: pallet_common::pallet::Error<T>
**/
PalletCommonError: {
- _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey']
+ _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'CantDestroyNotEmptyCollection', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds', 'NestingIsDisabled', 'OnlyOwnerAllowedToNest', 'SourceCollectionIsNotAllowedToNest', 'CollectionFieldSizeExceeded', 'NoSpaceForProperty', 'PropertyLimitReached', 'PropertyKeyIsTooLong', 'InvalidCharacterInPropertyKey', 'EmptyPropertyKey']
},
/**
- * Lookup366: pallet_fungible::pallet::Error<T>
+ * Lookup359: pallet_fungible::pallet::Error<T>
**/
PalletFungibleError: {
_enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup367: pallet_refungible::ItemData
+ * Lookup360: pallet_refungible::ItemData
**/
PalletRefungibleItemData: {
constData: 'Bytes'
},
/**
- * Lookup371: pallet_refungible::pallet::Error<T>
+ * Lookup364: pallet_refungible::pallet::Error<T>
**/
PalletRefungibleError: {
_enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
},
/**
- * Lookup372: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
+ * Lookup365: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
**/
PalletNonfungibleItemData: {
owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
},
/**
- * Lookup373: pallet_nonfungible::pallet::Error<T>
+ * Lookup367: pallet_nonfungible::pallet::Error<T>
**/
PalletNonfungibleError: {
- _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']
+ _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
},
/**
- * Lookup374: pallet_structure::pallet::Error<T>
+ * Lookup368: pallet_structure::pallet::Error<T>
**/
PalletStructureError: {
_enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']
},
/**
- * Lookup375: pallet_rmrk_core::pallet::Error<T>
- **/
- PalletRmrkCoreError: {
- _enum: ['CorruptedCollectionType', 'NftTypeEncodeError', 'RmrkPropertyKeyIsTooLong', 'RmrkPropertyValueIsTooLong', 'CollectionNotEmpty', 'NoAvailableCollectionId', 'NoAvailableNftId', 'CollectionUnknown', 'NoPermission', 'CollectionFullOrLocked']
- },
- /**
- * Lookup377: pallet_rmrk_equip::pallet::Error<T>
- **/
- PalletRmrkEquipError: {
- _enum: ['PermissionError', 'NoAvailableBaseId', 'NoAvailablePartId', 'BaseDoesntExist', 'NeedsDefaultThemeFirst']
- },
- /**
- * Lookup380: pallet_evm::pallet::Error<T>
+ * Lookup371: pallet_evm::pallet::Error<T>
**/
PalletEvmError: {
_enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
},
/**
- * Lookup383: fp_rpc::TransactionStatus
+ * Lookup374: fp_rpc::TransactionStatus
**/
FpRpcTransactionStatus: {
transactionHash: 'H256',
@@ -2644,11 +2527,11 @@
logsBloom: 'EthbloomBloom'
},
/**
- * Lookup385: ethbloom::Bloom
+ * Lookup376: ethbloom::Bloom
**/
EthbloomBloom: '[u8;256]',
/**
- * Lookup387: ethereum::receipt::ReceiptV3
+ * Lookup378: ethereum::receipt::ReceiptV3
**/
EthereumReceiptReceiptV3: {
_enum: {
@@ -2658,7 +2541,7 @@
}
},
/**
- * Lookup388: ethereum::receipt::EIP658ReceiptData
+ * Lookup379: ethereum::receipt::EIP658ReceiptData
**/
EthereumReceiptEip658ReceiptData: {
statusCode: 'u8',
@@ -2667,7 +2550,7 @@
logs: 'Vec<EthereumLog>'
},
/**
- * Lookup389: ethereum::block::Block<ethereum::transaction::TransactionV2>
+ * Lookup380: ethereum::block::Block<ethereum::transaction::TransactionV2>
**/
EthereumBlock: {
header: 'EthereumHeader',
@@ -2675,7 +2558,7 @@
ommers: 'Vec<EthereumHeader>'
},
/**
- * Lookup390: ethereum::header::Header
+ * Lookup381: ethereum::header::Header
**/
EthereumHeader: {
parentHash: 'H256',
@@ -2695,41 +2578,41 @@
nonce: 'EthereumTypesHashH64'
},
/**
- * Lookup391: ethereum_types::hash::H64
+ * Lookup382: ethereum_types::hash::H64
**/
EthereumTypesHashH64: '[u8;8]',
/**
- * Lookup396: pallet_ethereum::pallet::Error<T>
+ * Lookup387: pallet_ethereum::pallet::Error<T>
**/
PalletEthereumError: {
_enum: ['InvalidSignature', 'PreLogExists']
},
/**
- * Lookup397: pallet_evm_coder_substrate::pallet::Error<T>
+ * Lookup388: pallet_evm_coder_substrate::pallet::Error<T>
**/
PalletEvmCoderSubstrateError: {
_enum: ['OutOfGas', 'OutOfFund']
},
/**
- * Lookup398: pallet_evm_contract_helpers::SponsoringModeT
+ * Lookup389: pallet_evm_contract_helpers::SponsoringModeT
**/
PalletEvmContractHelpersSponsoringModeT: {
_enum: ['Disabled', 'Allowlisted', 'Generous']
},
/**
- * Lookup400: pallet_evm_contract_helpers::pallet::Error<T>
+ * Lookup391: pallet_evm_contract_helpers::pallet::Error<T>
**/
PalletEvmContractHelpersError: {
_enum: ['NoPermission']
},
/**
- * Lookup401: pallet_evm_migration::pallet::Error<T>
+ * Lookup392: pallet_evm_migration::pallet::Error<T>
**/
PalletEvmMigrationError: {
_enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
},
/**
- * Lookup403: sp_runtime::MultiSignature
+ * Lookup394: sp_runtime::MultiSignature
**/
SpRuntimeMultiSignature: {
_enum: {
@@ -2739,43 +2622,43 @@
}
},
/**
- * Lookup404: sp_core::ed25519::Signature
+ * Lookup395: sp_core::ed25519::Signature
**/
SpCoreEd25519Signature: '[u8;64]',
/**
- * Lookup406: sp_core::sr25519::Signature
+ * Lookup397: sp_core::sr25519::Signature
**/
SpCoreSr25519Signature: '[u8;64]',
/**
- * Lookup407: sp_core::ecdsa::Signature
+ * Lookup398: sp_core::ecdsa::Signature
**/
SpCoreEcdsaSignature: '[u8;65]',
/**
- * Lookup410: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
+ * Lookup401: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: 'Null',
/**
- * Lookup411: frame_system::extensions::check_genesis::CheckGenesis<T>
+ * Lookup402: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: 'Null',
/**
- * Lookup414: frame_system::extensions::check_nonce::CheckNonce<T>
+ * Lookup405: frame_system::extensions::check_nonce::CheckNonce<T>
**/
FrameSystemExtensionsCheckNonce: 'Compact<u32>',
/**
- * Lookup415: frame_system::extensions::check_weight::CheckWeight<T>
+ * Lookup406: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: 'Null',
/**
- * Lookup416: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
+ * Lookup407: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
**/
PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
/**
- * Lookup417: opal_runtime::Runtime
+ * Lookup408: opal_runtime::Runtime
**/
OpalRuntimeRuntime: 'Null',
/**
- * Lookup418: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
+ * Lookup409: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
**/
PalletEthereumFakeTransactionFinalizer: 'Null'
};
tests/src/interfaces/registry.tsdiffbeforeafterboth--- a/tests/src/interfaces/registry.ts
+++ b/tests/src/interfaces/registry.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletRmrkCoreCall, PalletRmrkCoreError, PalletRmrkCoreEvent, PalletRmrkEquipCall, PalletRmrkEquipError, PalletRmrkEquipEvent, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRmrkAccountIdOrCollectionNftTuple, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkBasicResource, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkComposableResource, UpDataStructsRmrkEquippableList, UpDataStructsRmrkFixedPart, UpDataStructsRmrkNftChild, UpDataStructsRmrkNftInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkResourceTypes, UpDataStructsRmrkRoyaltyInfo, UpDataStructsRmrkSlotPart, UpDataStructsRmrkSlotResource, UpDataStructsRmrkTheme, UpDataStructsRmrkThemeProperty, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEthereumFakeTransactionFinalizer, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletStructureCall, PalletStructureError, PalletStructureEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PhantomTypeUpDataStructs, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsNestingRule, UpDataStructsProperties, UpDataStructsPropertiesMapBoundedVec, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsPropertyPermission, UpDataStructsRmrkAccountIdOrCollectionNftTuple, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkBasicResource, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkComposableResource, UpDataStructsRmrkEquippableList, UpDataStructsRmrkFixedPart, UpDataStructsRmrkNftChild, UpDataStructsRmrkNftInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkResourceTypes, UpDataStructsRmrkRoyaltyInfo, UpDataStructsRmrkSlotPart, UpDataStructsRmrkSlotResource, UpDataStructsRmrkTheme, UpDataStructsRmrkThemeProperty, UpDataStructsRpcCollection, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, UpDataStructsTokenData, XcmDoubleEncoded, XcmV0Junction, XcmV0JunctionBodyId, XcmV0JunctionBodyPart, XcmV0JunctionNetworkId, XcmV0MultiAsset, XcmV0MultiLocation, XcmV0Order, XcmV0OriginKind, XcmV0Response, XcmV0Xcm, XcmV1Junction, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetAssetId, XcmV1MultiassetAssetInstance, XcmV1MultiassetFungibility, XcmV1MultiassetMultiAssetFilter, XcmV1MultiassetMultiAssets, XcmV1MultiassetWildFungibility, XcmV1MultiassetWildMultiAsset, XcmV1MultilocationJunctions, XcmV1Order, XcmV1Response, XcmV1Xcm, XcmV2Instruction, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2WeightLimit, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
export interface InterfaceTypes {
@@ -104,12 +104,6 @@
PalletNonfungibleItemData: PalletNonfungibleItemData;
PalletRefungibleError: PalletRefungibleError;
PalletRefungibleItemData: PalletRefungibleItemData;
- PalletRmrkCoreCall: PalletRmrkCoreCall;
- PalletRmrkCoreError: PalletRmrkCoreError;
- PalletRmrkCoreEvent: PalletRmrkCoreEvent;
- PalletRmrkEquipCall: PalletRmrkEquipCall;
- PalletRmrkEquipError: PalletRmrkEquipError;
- PalletRmrkEquipEvent: PalletRmrkEquipEvent;
PalletStructureCall: PalletStructureCall;
PalletStructureError: PalletStructureError;
PalletStructureEvent: PalletStructureEvent;
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2,7 +2,7 @@
/* eslint-disable */
declare module '@polkadot/types/lookup' {
- import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, OptionBool, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
+ import type { BTreeMap, BTreeSet, Bytes, Compact, Enum, Null, Option, Result, Struct, Text, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
import type { Event } from '@polkadot/types/interfaces/system';
@@ -1534,9 +1534,9 @@
readonly tokenLimit: Option<u32>;
readonly sponsorTransferTimeout: Option<u32>;
readonly sponsorApproveTimeout: Option<u32>;
- readonly ownerCanTransfer: OptionBool;
- readonly ownerCanDestroy: OptionBool;
- readonly transfersEnabled: OptionBool;
+ readonly ownerCanTransfer: Option<bool>;
+ readonly ownerCanDestroy: Option<bool>;
+ readonly transfersEnabled: Option<bool>;
}
/** @name UpDataStructsSponsoringRateLimit (164) */
@@ -1550,7 +1550,7 @@
/** @name UpDataStructsCollectionPermissions (167) */
export interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
- readonly mintMode: OptionBool;
+ readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingRule>;
}
@@ -1650,113 +1650,7 @@
/** @name PalletStructureCall (205) */
export type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (206) */
- export interface PalletRmrkCoreCall extends Enum {
- readonly isCreateCollection: boolean;
- readonly asCreateCollection: {
- readonly metadata: Bytes;
- readonly max: Option<u32>;
- readonly symbol: Bytes;
- } & Struct;
- readonly isDestroyCollection: boolean;
- readonly asDestroyCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isChangeCollectionIssuer: boolean;
- readonly asChangeCollectionIssuer: {
- readonly collectionId: u32;
- readonly newIssuer: MultiAddress;
- } & Struct;
- readonly isLockCollection: boolean;
- readonly asLockCollection: {
- readonly collectionId: u32;
- } & Struct;
- readonly isMintNft: boolean;
- readonly asMintNft: {
- readonly owner: AccountId32;
- readonly collectionId: u32;
- readonly recipient: Option<AccountId32>;
- readonly royaltyAmount: Option<Permill>;
- readonly metadata: Bytes;
- } & Struct;
- readonly isBurnNft: boolean;
- readonly asBurnNft: {
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isSetProperty: boolean;
- readonly asSetProperty: {
- readonly rmrkCollectionId: Compact<u32>;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'SetProperty';
- }
-
- /** @name PalletRmrkEquipCall (212) */
- export interface PalletRmrkEquipCall extends Enum {
- readonly isCreateBase: boolean;
- readonly asCreateBase: {
- readonly baseType: Bytes;
- readonly symbol: Bytes;
- readonly parts: Vec<UpDataStructsRmrkPartType>;
- } & Struct;
- readonly isThemeAdd: boolean;
- readonly asThemeAdd: {
- readonly baseId: u32;
- readonly theme: UpDataStructsRmrkTheme;
- } & Struct;
- readonly type: 'CreateBase' | 'ThemeAdd';
- }
-
- /** @name UpDataStructsRmrkPartType (214) */
- export interface UpDataStructsRmrkPartType extends Enum {
- readonly isFixedPart: boolean;
- readonly asFixedPart: UpDataStructsRmrkFixedPart;
- readonly isSlotPart: boolean;
- readonly asSlotPart: UpDataStructsRmrkSlotPart;
- readonly type: 'FixedPart' | 'SlotPart';
- }
-
- /** @name UpDataStructsRmrkFixedPart (216) */
- export interface UpDataStructsRmrkFixedPart extends Struct {
- readonly id: u32;
- readonly z: u32;
- readonly src: Bytes;
- }
-
- /** @name UpDataStructsRmrkSlotPart (217) */
- export interface UpDataStructsRmrkSlotPart extends Struct {
- readonly id: u32;
- readonly equippable: UpDataStructsRmrkEquippableList;
- readonly src: Bytes;
- readonly z: u32;
- }
-
- /** @name UpDataStructsRmrkEquippableList (218) */
- export interface UpDataStructsRmrkEquippableList extends Enum {
- readonly isAll: boolean;
- readonly isEmpty: boolean;
- readonly isCustom: boolean;
- readonly asCustom: Vec<u32>;
- readonly type: 'All' | 'Empty' | 'Custom';
- }
-
- /** @name UpDataStructsRmrkTheme (220) */
- export interface UpDataStructsRmrkTheme extends Struct {
- readonly name: Bytes;
- readonly properties: Vec<UpDataStructsRmrkThemeProperty>;
- readonly inherit: bool;
- }
-
- /** @name UpDataStructsRmrkThemeProperty (222) */
- export interface UpDataStructsRmrkThemeProperty extends Struct {
- readonly key: Bytes;
- readonly value: Bytes;
- }
-
- /** @name PalletEvmCall (223) */
+ /** @name PalletEvmCall (206) */
export interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -1801,7 +1695,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (229) */
+ /** @name PalletEthereumCall (212) */
export interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -1810,7 +1704,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (230) */
+ /** @name EthereumTransactionTransactionV2 (213) */
export interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -1821,7 +1715,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (231) */
+ /** @name EthereumTransactionLegacyTransaction (214) */
export interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -1832,7 +1726,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (232) */
+ /** @name EthereumTransactionTransactionAction (215) */
export interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -1840,14 +1734,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (233) */
+ /** @name EthereumTransactionTransactionSignature (216) */
export interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (235) */
+ /** @name EthereumTransactionEip2930Transaction (218) */
export interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1862,13 +1756,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (237) */
+ /** @name EthereumTransactionAccessListItem (220) */
export interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (238) */
+ /** @name EthereumTransactionEip1559Transaction (221) */
export interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -1884,7 +1778,7 @@
readonly s: H256;
}
- /** @name PalletEvmMigrationCall (239) */
+ /** @name PalletEvmMigrationCall (222) */
export interface PalletEvmMigrationCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -1903,7 +1797,7 @@
readonly type: 'Begin' | 'SetData' | 'Finish';
}
- /** @name PalletSudoEvent (242) */
+ /** @name PalletSudoEvent (225) */
export interface PalletSudoEvent extends Enum {
readonly isSudid: boolean;
readonly asSudid: {
@@ -1920,7 +1814,7 @@
readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone';
}
- /** @name SpRuntimeDispatchError (244) */
+ /** @name SpRuntimeDispatchError (227) */
export interface SpRuntimeDispatchError extends Enum {
readonly isOther: boolean;
readonly isCannotLookup: boolean;
@@ -1939,13 +1833,13 @@
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
}
- /** @name SpRuntimeModuleError (245) */
+ /** @name SpRuntimeModuleError (228) */
export interface SpRuntimeModuleError extends Struct {
readonly index: u8;
readonly error: U8aFixed;
}
- /** @name SpRuntimeTokenError (246) */
+ /** @name SpRuntimeTokenError (229) */
export interface SpRuntimeTokenError extends Enum {
readonly isNoFunds: boolean;
readonly isWouldDie: boolean;
@@ -1957,7 +1851,7 @@
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported';
}
- /** @name SpRuntimeArithmeticError (247) */
+ /** @name SpRuntimeArithmeticError (230) */
export interface SpRuntimeArithmeticError extends Enum {
readonly isUnderflow: boolean;
readonly isOverflow: boolean;
@@ -1965,20 +1859,20 @@
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
}
- /** @name SpRuntimeTransactionalError (248) */
+ /** @name SpRuntimeTransactionalError (231) */
export interface SpRuntimeTransactionalError extends Enum {
readonly isLimitReached: boolean;
readonly isNoLayer: boolean;
readonly type: 'LimitReached' | 'NoLayer';
}
- /** @name PalletSudoError (249) */
+ /** @name PalletSudoError (232) */
export interface PalletSudoError extends Enum {
readonly isRequireSudo: boolean;
readonly type: 'RequireSudo';
}
- /** @name FrameSystemAccountInfo (250) */
+ /** @name FrameSystemAccountInfo (233) */
export interface FrameSystemAccountInfo extends Struct {
readonly nonce: u32;
readonly consumers: u32;
@@ -1987,19 +1881,19 @@
readonly data: PalletBalancesAccountData;
}
- /** @name FrameSupportWeightsPerDispatchClassU64 (251) */
+ /** @name FrameSupportWeightsPerDispatchClassU64 (234) */
export interface FrameSupportWeightsPerDispatchClassU64 extends Struct {
readonly normal: u64;
readonly operational: u64;
readonly mandatory: u64;
}
- /** @name SpRuntimeDigest (252) */
+ /** @name SpRuntimeDigest (235) */
export interface SpRuntimeDigest extends Struct {
readonly logs: Vec<SpRuntimeDigestDigestItem>;
}
- /** @name SpRuntimeDigestDigestItem (254) */
+ /** @name SpRuntimeDigestDigestItem (237) */
export interface SpRuntimeDigestDigestItem extends Enum {
readonly isOther: boolean;
readonly asOther: Bytes;
@@ -2013,14 +1907,14 @@
readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated';
}
- /** @name FrameSystemEventRecord (256) */
+ /** @name FrameSystemEventRecord (239) */
export interface FrameSystemEventRecord extends Struct {
readonly phase: FrameSystemPhase;
readonly event: Event;
readonly topics: Vec<H256>;
}
- /** @name FrameSystemEvent (258) */
+ /** @name FrameSystemEvent (241) */
export interface FrameSystemEvent extends Enum {
readonly isExtrinsicSuccess: boolean;
readonly asExtrinsicSuccess: {
@@ -2048,14 +1942,14 @@
readonly type: 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' | 'Remarked';
}
- /** @name FrameSupportWeightsDispatchInfo (259) */
+ /** @name FrameSupportWeightsDispatchInfo (242) */
export interface FrameSupportWeightsDispatchInfo extends Struct {
readonly weight: u64;
readonly class: FrameSupportWeightsDispatchClass;
readonly paysFee: FrameSupportWeightsPays;
}
- /** @name FrameSupportWeightsDispatchClass (260) */
+ /** @name FrameSupportWeightsDispatchClass (243) */
export interface FrameSupportWeightsDispatchClass extends Enum {
readonly isNormal: boolean;
readonly isOperational: boolean;
@@ -2063,14 +1957,14 @@
readonly type: 'Normal' | 'Operational' | 'Mandatory';
}
- /** @name FrameSupportWeightsPays (261) */
+ /** @name FrameSupportWeightsPays (244) */
export interface FrameSupportWeightsPays extends Enum {
readonly isYes: boolean;
readonly isNo: boolean;
readonly type: 'Yes' | 'No';
}
- /** @name OrmlVestingModuleEvent (262) */
+ /** @name OrmlVestingModuleEvent (245) */
export interface OrmlVestingModuleEvent extends Enum {
readonly isVestingScheduleAdded: boolean;
readonly asVestingScheduleAdded: {
@@ -2090,7 +1984,7 @@
readonly type: 'VestingScheduleAdded' | 'Claimed' | 'VestingSchedulesUpdated';
}
- /** @name CumulusPalletXcmpQueueEvent (263) */
+ /** @name CumulusPalletXcmpQueueEvent (246) */
export interface CumulusPalletXcmpQueueEvent extends Enum {
readonly isSuccess: boolean;
readonly asSuccess: Option<H256>;
@@ -2111,7 +2005,7 @@
readonly type: 'Success' | 'Fail' | 'BadVersion' | 'BadFormat' | 'UpwardMessageSent' | 'XcmpMessageSent' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletXcmEvent (264) */
+ /** @name PalletXcmEvent (247) */
export interface PalletXcmEvent extends Enum {
readonly isAttempted: boolean;
readonly asAttempted: XcmV2TraitsOutcome;
@@ -2148,7 +2042,7 @@
readonly type: 'Attempted' | 'Sent' | 'UnexpectedResponse' | 'ResponseReady' | 'Notified' | 'NotifyOverweight' | 'NotifyDispatchError' | 'NotifyDecodeFailed' | 'InvalidResponder' | 'InvalidResponderVersion' | 'ResponseTaken' | 'AssetsTrapped' | 'VersionChangeNotified' | 'SupportedVersionChanged' | 'NotifyTargetSendFail' | 'NotifyTargetMigrationFail';
}
- /** @name XcmV2TraitsOutcome (265) */
+ /** @name XcmV2TraitsOutcome (248) */
export interface XcmV2TraitsOutcome extends Enum {
readonly isComplete: boolean;
readonly asComplete: u64;
@@ -2159,7 +2053,7 @@
readonly type: 'Complete' | 'Incomplete' | 'Error';
}
- /** @name CumulusPalletXcmEvent (267) */
+ /** @name CumulusPalletXcmEvent (250) */
export interface CumulusPalletXcmEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2170,7 +2064,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward';
}
- /** @name CumulusPalletDmpQueueEvent (268) */
+ /** @name CumulusPalletDmpQueueEvent (251) */
export interface CumulusPalletDmpQueueEvent extends Enum {
readonly isInvalidFormat: boolean;
readonly asInvalidFormat: U8aFixed;
@@ -2187,7 +2081,7 @@
readonly type: 'InvalidFormat' | 'UnsupportedVersion' | 'ExecutedDownward' | 'WeightExhausted' | 'OverweightEnqueued' | 'OverweightServiced';
}
- /** @name PalletUniqueRawEvent (269) */
+ /** @name PalletUniqueRawEvent (252) */
export interface PalletUniqueRawEvent extends Enum {
readonly isCollectionSponsorRemoved: boolean;
readonly asCollectionSponsorRemoved: u32;
@@ -2212,7 +2106,7 @@
readonly type: 'CollectionSponsorRemoved' | 'CollectionAdminAdded' | 'CollectionOwnedChanged' | 'CollectionSponsorSet' | 'SponsorshipConfirmed' | 'CollectionAdminRemoved' | 'AllowListAddressRemoved' | 'AllowListAddressAdded' | 'CollectionLimitSet' | 'CollectionPermissionSet';
}
- /** @name PalletCommonEvent (270) */
+ /** @name PalletCommonEvent (253) */
export interface PalletCommonEvent extends Enum {
readonly isCollectionCreated: boolean;
readonly asCollectionCreated: ITuple<[u32, u8, AccountId32]>;
@@ -2239,68 +2133,14 @@
readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'ItemCreated' | 'ItemDestroyed' | 'Transfer' | 'Approved' | 'CollectionPropertySet' | 'CollectionPropertyDeleted' | 'TokenPropertySet' | 'TokenPropertyDeleted' | 'PropertyPermissionSet';
}
- /** @name PalletStructureEvent (271) */
+ /** @name PalletStructureEvent (254) */
export interface PalletStructureEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: Result<Null, SpRuntimeDispatchError>;
readonly type: 'Executed';
}
- /** @name PalletRmrkCoreEvent (272) */
- export interface PalletRmrkCoreEvent extends Enum {
- readonly isCollectionCreated: boolean;
- readonly asCollectionCreated: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isCollectionDestroyed: boolean;
- readonly asCollectionDestroyed: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isIssuerChanged: boolean;
- readonly asIssuerChanged: {
- readonly oldIssuer: AccountId32;
- readonly newIssuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isCollectionLocked: boolean;
- readonly asCollectionLocked: {
- readonly issuer: AccountId32;
- readonly collectionId: u32;
- } & Struct;
- readonly isNftMinted: boolean;
- readonly asNftMinted: {
- readonly owner: AccountId32;
- readonly collectionId: u32;
- readonly nftId: u32;
- } & Struct;
- readonly isNftBurned: boolean;
- readonly asNftBurned: {
- readonly owner: AccountId32;
- readonly nftId: u32;
- } & Struct;
- readonly isPropertySet: boolean;
- readonly asPropertySet: {
- readonly collectionId: u32;
- readonly maybeNftId: Option<u32>;
- readonly key: Bytes;
- readonly value: Bytes;
- } & Struct;
- readonly type: 'CollectionCreated' | 'CollectionDestroyed' | 'IssuerChanged' | 'CollectionLocked' | 'NftMinted' | 'NftBurned' | 'PropertySet';
- }
-
- /** @name PalletRmrkEquipEvent (273) */
- export interface PalletRmrkEquipEvent extends Enum {
- readonly isBaseCreated: boolean;
- readonly asBaseCreated: {
- readonly issuer: AccountId32;
- readonly baseId: u32;
- } & Struct;
- readonly type: 'BaseCreated';
- }
-
- /** @name PalletEvmEvent (274) */
+ /** @name PalletEvmEvent (255) */
export interface PalletEvmEvent extends Enum {
readonly isLog: boolean;
readonly asLog: EthereumLog;
@@ -2319,21 +2159,21 @@
readonly type: 'Log' | 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'BalanceDeposit' | 'BalanceWithdraw';
}
- /** @name EthereumLog (275) */
+ /** @name EthereumLog (256) */
export interface EthereumLog extends Struct {
readonly address: H160;
readonly topics: Vec<H256>;
readonly data: Bytes;
}
- /** @name PalletEthereumEvent (276) */
+ /** @name PalletEthereumEvent (257) */
export interface PalletEthereumEvent extends Enum {
readonly isExecuted: boolean;
readonly asExecuted: ITuple<[H160, H160, H256, EvmCoreErrorExitReason]>;
readonly type: 'Executed';
}
- /** @name EvmCoreErrorExitReason (277) */
+ /** @name EvmCoreErrorExitReason (258) */
export interface EvmCoreErrorExitReason extends Enum {
readonly isSucceed: boolean;
readonly asSucceed: EvmCoreErrorExitSucceed;
@@ -2346,7 +2186,7 @@
readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal';
}
- /** @name EvmCoreErrorExitSucceed (278) */
+ /** @name EvmCoreErrorExitSucceed (259) */
export interface EvmCoreErrorExitSucceed extends Enum {
readonly isStopped: boolean;
readonly isReturned: boolean;
@@ -2354,7 +2194,7 @@
readonly type: 'Stopped' | 'Returned' | 'Suicided';
}
- /** @name EvmCoreErrorExitError (279) */
+ /** @name EvmCoreErrorExitError (260) */
export interface EvmCoreErrorExitError extends Enum {
readonly isStackUnderflow: boolean;
readonly isStackOverflow: boolean;
@@ -2375,13 +2215,13 @@
readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'InvalidCode';
}
- /** @name EvmCoreErrorExitRevert (282) */
+ /** @name EvmCoreErrorExitRevert (263) */
export interface EvmCoreErrorExitRevert extends Enum {
readonly isReverted: boolean;
readonly type: 'Reverted';
}
- /** @name EvmCoreErrorExitFatal (283) */
+ /** @name EvmCoreErrorExitFatal (264) */
export interface EvmCoreErrorExitFatal extends Enum {
readonly isNotSupported: boolean;
readonly isUnhandledInterrupt: boolean;
@@ -2392,7 +2232,7 @@
readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other';
}
- /** @name FrameSystemPhase (284) */
+ /** @name FrameSystemPhase (265) */
export interface FrameSystemPhase extends Enum {
readonly isApplyExtrinsic: boolean;
readonly asApplyExtrinsic: u32;
@@ -2401,27 +2241,27 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
- /** @name FrameSystemLastRuntimeUpgradeInfo (286) */
+ /** @name FrameSystemLastRuntimeUpgradeInfo (267) */
export interface FrameSystemLastRuntimeUpgradeInfo extends Struct {
readonly specVersion: Compact<u32>;
readonly specName: Text;
}
- /** @name FrameSystemLimitsBlockWeights (287) */
+ /** @name FrameSystemLimitsBlockWeights (268) */
export interface FrameSystemLimitsBlockWeights extends Struct {
readonly baseBlock: u64;
readonly maxBlock: u64;
readonly perClass: FrameSupportWeightsPerDispatchClassWeightsPerClass;
}
- /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (288) */
+ /** @name FrameSupportWeightsPerDispatchClassWeightsPerClass (269) */
export interface FrameSupportWeightsPerDispatchClassWeightsPerClass extends Struct {
readonly normal: FrameSystemLimitsWeightsPerClass;
readonly operational: FrameSystemLimitsWeightsPerClass;
readonly mandatory: FrameSystemLimitsWeightsPerClass;
}
- /** @name FrameSystemLimitsWeightsPerClass (289) */
+ /** @name FrameSystemLimitsWeightsPerClass (270) */
export interface FrameSystemLimitsWeightsPerClass extends Struct {
readonly baseExtrinsic: u64;
readonly maxExtrinsic: Option<u64>;
@@ -2429,25 +2269,25 @@
readonly reserved: Option<u64>;
}
- /** @name FrameSystemLimitsBlockLength (291) */
+ /** @name FrameSystemLimitsBlockLength (272) */
export interface FrameSystemLimitsBlockLength extends Struct {
readonly max: FrameSupportWeightsPerDispatchClassU32;
}
- /** @name FrameSupportWeightsPerDispatchClassU32 (292) */
+ /** @name FrameSupportWeightsPerDispatchClassU32 (273) */
export interface FrameSupportWeightsPerDispatchClassU32 extends Struct {
readonly normal: u32;
readonly operational: u32;
readonly mandatory: u32;
}
- /** @name FrameSupportWeightsRuntimeDbWeight (293) */
+ /** @name FrameSupportWeightsRuntimeDbWeight (274) */
export interface FrameSupportWeightsRuntimeDbWeight extends Struct {
readonly read: u64;
readonly write: u64;
}
- /** @name SpVersionRuntimeVersion (294) */
+ /** @name SpVersionRuntimeVersion (275) */
export interface SpVersionRuntimeVersion extends Struct {
readonly specName: Text;
readonly implName: Text;
@@ -2459,7 +2299,7 @@
readonly stateVersion: u8;
}
- /** @name FrameSystemError (298) */
+ /** @name FrameSystemError (279) */
export interface FrameSystemError extends Enum {
readonly isInvalidSpecName: boolean;
readonly isSpecVersionNeedsToIncrease: boolean;
@@ -2470,7 +2310,7 @@
readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered';
}
- /** @name OrmlVestingModuleError (300) */
+ /** @name OrmlVestingModuleError (281) */
export interface OrmlVestingModuleError extends Enum {
readonly isZeroVestingPeriod: boolean;
readonly isZeroVestingPeriodCount: boolean;
@@ -2481,21 +2321,21 @@
readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded';
}
- /** @name CumulusPalletXcmpQueueInboundChannelDetails (302) */
+ /** @name CumulusPalletXcmpQueueInboundChannelDetails (283) */
export interface CumulusPalletXcmpQueueInboundChannelDetails extends Struct {
readonly sender: u32;
readonly state: CumulusPalletXcmpQueueInboundState;
readonly messageMetadata: Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>;
}
- /** @name CumulusPalletXcmpQueueInboundState (303) */
+ /** @name CumulusPalletXcmpQueueInboundState (284) */
export interface CumulusPalletXcmpQueueInboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name PolkadotParachainPrimitivesXcmpMessageFormat (306) */
+ /** @name PolkadotParachainPrimitivesXcmpMessageFormat (287) */
export interface PolkadotParachainPrimitivesXcmpMessageFormat extends Enum {
readonly isConcatenatedVersionedXcm: boolean;
readonly isConcatenatedEncodedBlob: boolean;
@@ -2503,7 +2343,7 @@
readonly type: 'ConcatenatedVersionedXcm' | 'ConcatenatedEncodedBlob' | 'Signals';
}
- /** @name CumulusPalletXcmpQueueOutboundChannelDetails (309) */
+ /** @name CumulusPalletXcmpQueueOutboundChannelDetails (290) */
export interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct {
readonly recipient: u32;
readonly state: CumulusPalletXcmpQueueOutboundState;
@@ -2512,14 +2352,14 @@
readonly lastIndex: u16;
}
- /** @name CumulusPalletXcmpQueueOutboundState (310) */
+ /** @name CumulusPalletXcmpQueueOutboundState (291) */
export interface CumulusPalletXcmpQueueOutboundState extends Enum {
readonly isOk: boolean;
readonly isSuspended: boolean;
readonly type: 'Ok' | 'Suspended';
}
- /** @name CumulusPalletXcmpQueueQueueConfigData (312) */
+ /** @name CumulusPalletXcmpQueueQueueConfigData (293) */
export interface CumulusPalletXcmpQueueQueueConfigData extends Struct {
readonly suspendThreshold: u32;
readonly dropThreshold: u32;
@@ -2529,7 +2369,7 @@
readonly xcmpMaxIndividualWeight: u64;
}
- /** @name CumulusPalletXcmpQueueError (314) */
+ /** @name CumulusPalletXcmpQueueError (295) */
export interface CumulusPalletXcmpQueueError extends Enum {
readonly isFailedToSend: boolean;
readonly isBadXcmOrigin: boolean;
@@ -2539,7 +2379,7 @@
readonly type: 'FailedToSend' | 'BadXcmOrigin' | 'BadXcm' | 'BadOverweightIndex' | 'WeightOverLimit';
}
- /** @name PalletXcmError (315) */
+ /** @name PalletXcmError (296) */
export interface PalletXcmError extends Enum {
readonly isUnreachable: boolean;
readonly isSendFailure: boolean;
@@ -2557,29 +2397,29 @@
readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed';
}
- /** @name CumulusPalletXcmError (316) */
+ /** @name CumulusPalletXcmError (297) */
export type CumulusPalletXcmError = Null;
- /** @name CumulusPalletDmpQueueConfigData (317) */
+ /** @name CumulusPalletDmpQueueConfigData (298) */
export interface CumulusPalletDmpQueueConfigData extends Struct {
readonly maxIndividual: u64;
}
- /** @name CumulusPalletDmpQueuePageIndexData (318) */
+ /** @name CumulusPalletDmpQueuePageIndexData (299) */
export interface CumulusPalletDmpQueuePageIndexData extends Struct {
readonly beginUsed: u32;
readonly endUsed: u32;
readonly overweightCount: u64;
}
- /** @name CumulusPalletDmpQueueError (321) */
+ /** @name CumulusPalletDmpQueueError (302) */
export interface CumulusPalletDmpQueueError extends Enum {
readonly isUnknown: boolean;
readonly isOverLimit: boolean;
readonly type: 'Unknown' | 'OverLimit';
}
- /** @name PalletUniqueError (325) */
+ /** @name PalletUniqueError (306) */
export interface PalletUniqueError extends Enum {
readonly isCollectionDecimalPointLimitExceeded: boolean;
readonly isConfirmUnsetSponsorFail: boolean;
@@ -2587,7 +2427,7 @@
readonly type: 'CollectionDecimalPointLimitExceeded' | 'ConfirmUnsetSponsorFail' | 'EmptyArgument';
}
- /** @name UpDataStructsCollection (326) */
+ /** @name UpDataStructsCollection (307) */
export interface UpDataStructsCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2599,7 +2439,7 @@
readonly permissions: UpDataStructsCollectionPermissions;
}
- /** @name UpDataStructsSponsorshipState (327) */
+ /** @name UpDataStructsSponsorshipState (308) */
export interface UpDataStructsSponsorshipState extends Enum {
readonly isDisabled: boolean;
readonly isUnconfirmed: boolean;
@@ -2609,36 +2449,36 @@
readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
}
- /** @name UpDataStructsProperties (328) */
+ /** @name UpDataStructsProperties (309) */
export interface UpDataStructsProperties extends Struct {
readonly map: UpDataStructsPropertiesMapBoundedVec;
readonly consumedSpace: u32;
readonly spaceLimit: u32;
}
- /** @name UpDataStructsPropertiesMapBoundedVec (329) */
+ /** @name UpDataStructsPropertiesMapBoundedVec (310) */
export interface UpDataStructsPropertiesMapBoundedVec extends BTreeMap<Bytes, Bytes> {}
- /** @name UpDataStructsPropertiesMapPropertyPermission (334) */
+ /** @name UpDataStructsPropertiesMapPropertyPermission (315) */
export interface UpDataStructsPropertiesMapPropertyPermission extends BTreeMap<Bytes, UpDataStructsPropertyPermission> {}
- /** @name UpDataStructsCollectionStats (341) */
+ /** @name UpDataStructsCollectionStats (322) */
export interface UpDataStructsCollectionStats extends Struct {
readonly created: u32;
readonly destroyed: u32;
readonly alive: u32;
}
- /** @name PhantomTypeUpDataStructs (342) */
+ /** @name PhantomTypeUpDataStructs (323) */
export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}
- /** @name UpDataStructsTokenData (344) */
+ /** @name UpDataStructsTokenData (325) */
export interface UpDataStructsTokenData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
}
- /** @name UpDataStructsRpcCollection (346) */
+ /** @name UpDataStructsRpcCollection (327) */
export interface UpDataStructsRpcCollection extends Struct {
readonly owner: AccountId32;
readonly mode: UpDataStructsCollectionMode;
@@ -2652,7 +2492,7 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsRmrkCollectionInfo (347) */
+ /** @name UpDataStructsRmrkCollectionInfo (328) */
export interface UpDataStructsRmrkCollectionInfo extends Struct {
readonly issuer: AccountId32;
readonly metadata: Bytes;
@@ -2661,7 +2501,7 @@
readonly nftsCount: u32;
}
- /** @name UpDataStructsRmrkNftInfo (348) */
+ /** @name UpDataStructsRmrkNftInfo (331) */
export interface UpDataStructsRmrkNftInfo extends Struct {
readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;
readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;
@@ -2670,7 +2510,7 @@
readonly pending: bool;
}
- /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (349) */
+ /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (332) */
export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {
readonly isAccountId: boolean;
readonly asAccountId: AccountId32;
@@ -2679,13 +2519,13 @@
readonly type: 'AccountId' | 'CollectionAndNftTuple';
}
- /** @name UpDataStructsRmrkRoyaltyInfo (351) */
+ /** @name UpDataStructsRmrkRoyaltyInfo (334) */
export interface UpDataStructsRmrkRoyaltyInfo extends Struct {
readonly recipient: AccountId32;
readonly amount: Permill;
}
- /** @name UpDataStructsRmrkResourceInfo (352) */
+ /** @name UpDataStructsRmrkResourceInfo (335) */
export interface UpDataStructsRmrkResourceInfo extends Struct {
readonly id: Bytes;
readonly resource: UpDataStructsRmrkResourceTypes;
@@ -2693,7 +2533,7 @@
readonly pendingRemoval: bool;
}
- /** @name UpDataStructsRmrkResourceTypes (355) */
+ /** @name UpDataStructsRmrkResourceTypes (338) */
export interface UpDataStructsRmrkResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: UpDataStructsRmrkBasicResource;
@@ -2704,7 +2544,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name UpDataStructsRmrkBasicResource (356) */
+ /** @name UpDataStructsRmrkBasicResource (339) */
export interface UpDataStructsRmrkBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -2712,7 +2552,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name UpDataStructsRmrkComposableResource (358) */
+ /** @name UpDataStructsRmrkComposableResource (341) */
export interface UpDataStructsRmrkComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -2722,7 +2562,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name UpDataStructsRmrkSlotResource (359) */
+ /** @name UpDataStructsRmrkSlotResource (342) */
export interface UpDataStructsRmrkSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -2732,30 +2572,77 @@
readonly thumb: Option<Bytes>;
}
- /** @name UpDataStructsRmrkPropertyInfo (360) */
+ /** @name UpDataStructsRmrkPropertyInfo (343) */
export interface UpDataStructsRmrkPropertyInfo extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsRmrkBaseInfo (361) */
+ /** @name UpDataStructsRmrkBaseInfo (346) */
export interface UpDataStructsRmrkBaseInfo extends Struct {
readonly issuer: AccountId32;
readonly baseType: Bytes;
readonly symbol: Bytes;
}
- /** @name UpDataStructsRmrkNftChild (362) */
+ /** @name UpDataStructsRmrkPartType (347) */
+ export interface UpDataStructsRmrkPartType extends Enum {
+ readonly isFixedPart: boolean;
+ readonly asFixedPart: UpDataStructsRmrkFixedPart;
+ readonly isSlotPart: boolean;
+ readonly asSlotPart: UpDataStructsRmrkSlotPart;
+ readonly type: 'FixedPart' | 'SlotPart';
+ }
+
+ /** @name UpDataStructsRmrkFixedPart (349) */
+ export interface UpDataStructsRmrkFixedPart extends Struct {
+ readonly id: u32;
+ readonly z: u32;
+ readonly src: Bytes;
+ }
+
+ /** @name UpDataStructsRmrkSlotPart (350) */
+ export interface UpDataStructsRmrkSlotPart extends Struct {
+ readonly id: u32;
+ readonly equippable: UpDataStructsRmrkEquippableList;
+ readonly src: Bytes;
+ readonly z: u32;
+ }
+
+ /** @name UpDataStructsRmrkEquippableList (351) */
+ export interface UpDataStructsRmrkEquippableList extends Enum {
+ readonly isAll: boolean;
+ readonly isEmpty: boolean;
+ readonly isCustom: boolean;
+ readonly asCustom: Vec<u32>;
+ readonly type: 'All' | 'Empty' | 'Custom';
+ }
+
+ /** @name UpDataStructsRmrkTheme (352) */
+ export interface UpDataStructsRmrkTheme extends Struct {
+ readonly name: Bytes;
+ readonly properties: Vec<UpDataStructsRmrkThemeProperty>;
+ readonly inherit: bool;
+ }
+
+ /** @name UpDataStructsRmrkThemeProperty (354) */
+ export interface UpDataStructsRmrkThemeProperty extends Struct {
+ readonly key: Bytes;
+ readonly value: Bytes;
+ }
+
+ /** @name UpDataStructsRmrkNftChild (355) */
export interface UpDataStructsRmrkNftChild extends Struct {
readonly collectionId: u32;
readonly nftId: u32;
}
- /** @name PalletCommonError (364) */
+ /** @name PalletCommonError (357) */
export interface PalletCommonError extends Enum {
readonly isCollectionNotFound: boolean;
readonly isMustBeTokenOwner: boolean;
readonly isNoPermission: boolean;
+ readonly isCantDestroyNotEmptyCollection: boolean;
readonly isPublicMintingNotAllowed: boolean;
readonly isAddressNotInAllowlist: boolean;
readonly isCollectionNameLimitExceeded: boolean;
@@ -2785,10 +2672,10 @@
readonly isPropertyKeyIsTooLong: boolean;
readonly isInvalidCharacterInPropertyKey: boolean;
readonly isEmptyPropertyKey: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'CantDestroyNotEmptyCollection' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds' | 'NestingIsDisabled' | 'OnlyOwnerAllowedToNest' | 'SourceCollectionIsNotAllowedToNest' | 'CollectionFieldSizeExceeded' | 'NoSpaceForProperty' | 'PropertyLimitReached' | 'PropertyKeyIsTooLong' | 'InvalidCharacterInPropertyKey' | 'EmptyPropertyKey';
}
- /** @name PalletFungibleError (366) */
+ /** @name PalletFungibleError (359) */
export interface PalletFungibleError extends Enum {
readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isFungibleItemsHaveNoId: boolean;
@@ -2798,12 +2685,12 @@
readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletRefungibleItemData (367) */
+ /** @name PalletRefungibleItemData (360) */
export interface PalletRefungibleItemData extends Struct {
readonly constData: Bytes;
}
- /** @name PalletRefungibleError (371) */
+ /** @name PalletRefungibleError (364) */
export interface PalletRefungibleError extends Enum {
readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isWrongRefungiblePieces: boolean;
@@ -2812,19 +2699,20 @@
readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
}
- /** @name PalletNonfungibleItemData (372) */
+ /** @name PalletNonfungibleItemData (365) */
export interface PalletNonfungibleItemData extends Struct {
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name PalletNonfungibleError (373) */
+ /** @name PalletNonfungibleError (367) */
export interface PalletNonfungibleError extends Enum {
readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
readonly isNonfungibleItemsHaveNoAmount: boolean;
- readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount';
+ readonly isCantBurnNftWithChildren: boolean;
+ readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
}
- /** @name PalletStructureError (374) */
+ /** @name PalletStructureError (368) */
export interface PalletStructureError extends Enum {
readonly isOuroborosDetected: boolean;
readonly isDepthLimit: boolean;
@@ -2832,32 +2720,7 @@
readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
}
- /** @name PalletRmrkCoreError (375) */
- export interface PalletRmrkCoreError extends Enum {
- readonly isCorruptedCollectionType: boolean;
- readonly isNftTypeEncodeError: boolean;
- readonly isRmrkPropertyKeyIsTooLong: boolean;
- readonly isRmrkPropertyValueIsTooLong: boolean;
- readonly isCollectionNotEmpty: boolean;
- readonly isNoAvailableCollectionId: boolean;
- readonly isNoAvailableNftId: boolean;
- readonly isCollectionUnknown: boolean;
- readonly isNoPermission: boolean;
- readonly isCollectionFullOrLocked: boolean;
- readonly type: 'CorruptedCollectionType' | 'NftTypeEncodeError' | 'RmrkPropertyKeyIsTooLong' | 'RmrkPropertyValueIsTooLong' | 'CollectionNotEmpty' | 'NoAvailableCollectionId' | 'NoAvailableNftId' | 'CollectionUnknown' | 'NoPermission' | 'CollectionFullOrLocked';
- }
-
- /** @name PalletRmrkEquipError (377) */
- export interface PalletRmrkEquipError extends Enum {
- readonly isPermissionError: boolean;
- readonly isNoAvailableBaseId: boolean;
- readonly isNoAvailablePartId: boolean;
- readonly isBaseDoesntExist: boolean;
- readonly isNeedsDefaultThemeFirst: boolean;
- readonly type: 'PermissionError' | 'NoAvailableBaseId' | 'NoAvailablePartId' | 'BaseDoesntExist' | 'NeedsDefaultThemeFirst';
- }
-
- /** @name PalletEvmError (380) */
+ /** @name PalletEvmError (371) */
export interface PalletEvmError extends Enum {
readonly isBalanceLow: boolean;
readonly isFeeOverflow: boolean;
@@ -2868,7 +2731,7 @@
readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
}
- /** @name FpRpcTransactionStatus (383) */
+ /** @name FpRpcTransactionStatus (374) */
export interface FpRpcTransactionStatus extends Struct {
readonly transactionHash: H256;
readonly transactionIndex: u32;
@@ -2879,10 +2742,10 @@
readonly logsBloom: EthbloomBloom;
}
- /** @name EthbloomBloom (385) */
+ /** @name EthbloomBloom (376) */
export interface EthbloomBloom extends U8aFixed {}
- /** @name EthereumReceiptReceiptV3 (387) */
+ /** @name EthereumReceiptReceiptV3 (378) */
export interface EthereumReceiptReceiptV3 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumReceiptEip658ReceiptData;
@@ -2893,7 +2756,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumReceiptEip658ReceiptData (388) */
+ /** @name EthereumReceiptEip658ReceiptData (379) */
export interface EthereumReceiptEip658ReceiptData extends Struct {
readonly statusCode: u8;
readonly usedGas: U256;
@@ -2901,14 +2764,14 @@
readonly logs: Vec<EthereumLog>;
}
- /** @name EthereumBlock (389) */
+ /** @name EthereumBlock (380) */
export interface EthereumBlock extends Struct {
readonly header: EthereumHeader;
readonly transactions: Vec<EthereumTransactionTransactionV2>;
readonly ommers: Vec<EthereumHeader>;
}
- /** @name EthereumHeader (390) */
+ /** @name EthereumHeader (381) */
export interface EthereumHeader extends Struct {
readonly parentHash: H256;
readonly ommersHash: H256;
@@ -2927,24 +2790,24 @@
readonly nonce: EthereumTypesHashH64;
}
- /** @name EthereumTypesHashH64 (391) */
+ /** @name EthereumTypesHashH64 (382) */
export interface EthereumTypesHashH64 extends U8aFixed {}
- /** @name PalletEthereumError (396) */
+ /** @name PalletEthereumError (387) */
export interface PalletEthereumError extends Enum {
readonly isInvalidSignature: boolean;
readonly isPreLogExists: boolean;
readonly type: 'InvalidSignature' | 'PreLogExists';
}
- /** @name PalletEvmCoderSubstrateError (397) */
+ /** @name PalletEvmCoderSubstrateError (388) */
export interface PalletEvmCoderSubstrateError extends Enum {
readonly isOutOfGas: boolean;
readonly isOutOfFund: boolean;
readonly type: 'OutOfGas' | 'OutOfFund';
}
- /** @name PalletEvmContractHelpersSponsoringModeT (398) */
+ /** @name PalletEvmContractHelpersSponsoringModeT (389) */
export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
readonly isDisabled: boolean;
readonly isAllowlisted: boolean;
@@ -2952,20 +2815,20 @@
readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
}
- /** @name PalletEvmContractHelpersError (400) */
+ /** @name PalletEvmContractHelpersError (391) */
export interface PalletEvmContractHelpersError extends Enum {
readonly isNoPermission: boolean;
readonly type: 'NoPermission';
}
- /** @name PalletEvmMigrationError (401) */
+ /** @name PalletEvmMigrationError (392) */
export interface PalletEvmMigrationError extends Enum {
readonly isAccountNotEmpty: boolean;
readonly isAccountIsNotMigrating: boolean;
readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
}
- /** @name SpRuntimeMultiSignature (403) */
+ /** @name SpRuntimeMultiSignature (394) */
export interface SpRuntimeMultiSignature extends Enum {
readonly isEd25519: boolean;
readonly asEd25519: SpCoreEd25519Signature;
@@ -2976,34 +2839,34 @@
readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
}
- /** @name SpCoreEd25519Signature (404) */
+ /** @name SpCoreEd25519Signature (395) */
export interface SpCoreEd25519Signature extends U8aFixed {}
- /** @name SpCoreSr25519Signature (406) */
+ /** @name SpCoreSr25519Signature (397) */
export interface SpCoreSr25519Signature extends U8aFixed {}
- /** @name SpCoreEcdsaSignature (407) */
+ /** @name SpCoreEcdsaSignature (398) */
export interface SpCoreEcdsaSignature extends U8aFixed {}
- /** @name FrameSystemExtensionsCheckSpecVersion (410) */
+ /** @name FrameSystemExtensionsCheckSpecVersion (401) */
export type FrameSystemExtensionsCheckSpecVersion = Null;
- /** @name FrameSystemExtensionsCheckGenesis (411) */
+ /** @name FrameSystemExtensionsCheckGenesis (402) */
export type FrameSystemExtensionsCheckGenesis = Null;
- /** @name FrameSystemExtensionsCheckNonce (414) */
+ /** @name FrameSystemExtensionsCheckNonce (405) */
export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
- /** @name FrameSystemExtensionsCheckWeight (415) */
+ /** @name FrameSystemExtensionsCheckWeight (406) */
export type FrameSystemExtensionsCheckWeight = Null;
- /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (416) */
+ /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (407) */
export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name OpalRuntimeRuntime (417) */
+ /** @name OpalRuntimeRuntime (408) */
export type OpalRuntimeRuntime = Null;
- /** @name PalletEthereumFakeTransactionFinalizer (418) */
+ /** @name PalletEthereumFakeTransactionFinalizer (409) */
export type PalletEthereumFakeTransactionFinalizer = Null;
} // declare module
tests/src/interfaces/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/types.ts
+++ b/tests/src/interfaces/types.ts
@@ -2,5 +2,4 @@
/* eslint-disable */
export * from './unique/types';
-export * from './rmrk/types';
export * from './default/types';
tests/src/substrate/substrate-api.tsdiffbeforeafterboth--- a/tests/src/substrate/substrate-api.ts
+++ b/tests/src/substrate/substrate-api.ts
@@ -41,7 +41,7 @@
},
rpc: {
unique: defs.unique.rpc,
- rmrk: defs.rmrk.rpc,
+ // TODO free RMRK! rmrk: defs.rmrk.rpc,
eth: {
feeHistory: {
description: 'Dummy',