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

difftreelog

Merge commit '2074c933e3ff90b7ea5fc778111ead850fd4a5ea' into release-v922000

Yaroslav Bolyukin2022-06-07parents: #0713a71 #2074c93.patch.diff
in: master

20 files changed

modifiedclient/rpc/src/lib.rsdiffbeforeafterboth
25use anyhow::anyhow;25use anyhow::anyhow;
26use up_data_structs::{26use up_data_structs::{
27 RpcCollection, CollectionId, CollectionStats, CollectionLimits, TokenId, Property,27 RpcCollection, CollectionId, CollectionStats, CollectionLimits, TokenId, Property,
28 PropertyKeyPermission, TokenData,28 PropertyKeyPermission, TokenData, TokenChild,
29};29};
30use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};30use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};
31use sp_blockchain::HeaderBackend;31use sp_blockchain::HeaderBackend;
77 token: TokenId,77 token: TokenId,
78 at: Option<BlockHash>,78 at: Option<BlockHash>,
79 ) -> Result<Option<CrossAccountId>>;79 ) -> Result<Option<CrossAccountId>>;
80 #[method(name = "unique_tokenChildren")]
81 fn token_children(
82 &self,
83 collection: CollectionId,
84 token: TokenId,
85 at: Option<BlockHash>,
86 ) -> Result<Vec<TokenChild>>;
8087
81 #[method(name = "unique_collectionProperties")]88 #[method(name = "unique_collectionProperties")]
82 fn collection_properties(89 fn collection_properties(
394 pass_method!(401 pass_method!(
395 topmost_token_owner(collection: CollectionId, token: TokenId) -> Option<CrossAccountId>, unique_api402 topmost_token_owner(collection: CollectionId, token: TokenId) -> Option<CrossAccountId>, unique_api
396 );403 );
404 pass_method!(token_children(collection: CollectionId, token: TokenId) -> Vec<TokenChild>, unique_api);
397 pass_method!(total_supply(collection: CollectionId) -> u32, unique_api);405 pass_method!(total_supply(collection: CollectionId) -> u32, unique_api);
398 pass_method!(account_balance(collection: CollectionId, account: CrossAccountId) -> u32, unique_api);406 pass_method!(account_balance(collection: CollectionId, account: CrossAccountId) -> u32, unique_api);
399 pass_method!(balance(collection: CollectionId, account: CrossAccountId, token: TokenId) -> String => |v| v.to_string(), unique_api);407 pass_method!(balance(collection: CollectionId, account: CrossAccountId, token: TokenId) -> String => |v| v.to_string(), unique_api);
modifiedpallets/common/src/lib.rsdiffbeforeafterboth
40 MAX_TOKEN_PREFIX_LENGTH,40 MAX_TOKEN_PREFIX_LENGTH,
41 COLLECTION_ADMINS_LIMIT,41 COLLECTION_ADMINS_LIMIT,
42 TokenId,42 TokenId,
43 TokenChild,
43 CollectionStats,44 CollectionStats,
44 MAX_TOKEN_OWNERSHIP,45 MAX_TOKEN_OWNERSHIP,
45 CollectionMode,46 CollectionMode,
502 CollectionStats,503 CollectionStats,
503 CollectionId,504 CollectionId,
504 TokenId,505 TokenId,
506 TokenChild,
505 PhantomType<(507 PhantomType<(
506 TokenData<T::CrossAccountId>,508 TokenData<T::CrossAccountId>,
507 RpcCollection<T::AccountId>,509 RpcCollection<T::AccountId>,
modifiedpallets/nonfungible/src/lib.rsdiffbeforeafterboth
22use up_data_structs::{22use up_data_structs::{
23 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,23 AccessMode, CollectionId, CustomDataLimit, TokenId, CreateCollectionData, CreateNftExData,
24 mapping::TokenAddressMapping, NestingRule, budget::Budget, Property, PropertyPermission,24 mapping::TokenAddressMapping, NestingRule, budget::Budget, Property, PropertyPermission,
25 PropertyKey, PropertyKeyPermission, Properties, PropertyScope, TrySetProperty,25 PropertyKey, PropertyKeyPermission, Properties, PropertyScope, TrySetProperty, TokenChild,
26};26};
27use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};27use pallet_evm::{account::CrossAccountId, Pallet as PalletEvm};
28use pallet_common::{28use pallet_common::{
604604
605 // =========605 // =========
606606
607 <PalletStructure<T>>::unnest_if_nested(from, collection.id, token);607 <PalletStructure<T>>::unnest_if_nested(&token_data.owner, collection.id, token);
608608
609 <TokenData<T>>::insert(609 <TokenData<T>>::insert(
610 (collection.id, token),610 (collection.id, token),
988 .is_some()988 .is_some()
989 }989 }
990
991 pub fn token_children_ids(collection_id: CollectionId, token_id: TokenId) -> Vec<TokenChild> {
992 <TokenChildren<T>>::iter_prefix((collection_id, token_id))
993 .map(|((child_collection_id, child_id), _)| TokenChild {
994 collection: child_collection_id,
995 token: child_id,
996 })
997 .collect()
998 }
990999
991 /// Delegated to `create_multiple_items`1000 /// Delegated to `create_multiple_items`
992 pub fn create_item(1001 pub fn create_item(
modifiedpallets/structure/src/lib.rsdiffbeforeafterboth
191 token_id: TokenId,191 token_id: TokenId,
192 nesting_budget: &dyn Budget,192 nesting_budget: &dyn Budget,
193 ) -> DispatchResult {193 ) -> DispatchResult {
194 Self::try_exec_if_owner_is_valid_nft(under, |d, parent_id| {194 Self::try_exec_if_owner_is_valid_nft(under, |collection, parent_id| {
195 d.check_nesting(from, (collection_id, token_id), parent_id, nesting_budget)195 collection.check_nesting(from, (collection_id, token_id), parent_id, nesting_budget)
196 })196 })
197 }197 }
198198
203 token_id: TokenId,203 token_id: TokenId,
204 nesting_budget: &dyn Budget,204 nesting_budget: &dyn Budget,
205 ) -> DispatchResult {205 ) -> DispatchResult {
206 Self::try_exec_if_owner_is_valid_nft(under, |d, parent_id| {206 Self::try_exec_if_owner_is_valid_nft(under, |collection, parent_id| {
207 d.check_nesting(from, (collection_id, token_id), parent_id, nesting_budget)?;207 collection.check_nesting(from, (collection_id, token_id), parent_id, nesting_budget)?;
208208
209 d.nest(parent_id, (collection_id, token_id));209 collection.nest(parent_id, (collection_id, token_id));
210210
211 Ok(())211 Ok(())
212 })212 })
217 collection_id: CollectionId,217 collection_id: CollectionId,
218 token_id: TokenId,218 token_id: TokenId,
219 ) {219 ) {
220 Self::exec_if_owner_is_valid_nft(owner, |d, parent_id| {220 Self::exec_if_owner_is_valid_nft(owner, |collection, parent_id| {
221 d.nest(parent_id, (collection_id, token_id))221 collection.nest(parent_id, (collection_id, token_id))
222 });222 });
223 }223 }
224224
227 collection_id: CollectionId,227 collection_id: CollectionId,
228 token_id: TokenId,228 token_id: TokenId,
229 ) {229 ) {
230 Self::exec_if_owner_is_valid_nft(owner, |d, parent_id| {230 Self::exec_if_owner_is_valid_nft(owner, |collection, parent_id| {
231 d.unnest(parent_id, (collection_id, token_id))231 collection.unnest(parent_id, (collection_id, token_id))
232 });232 });
233 }233 }
234234
235 fn exec_if_owner_is_valid_nft(235 fn exec_if_owner_is_valid_nft(
236 account: &T::CrossAccountId,236 account: &T::CrossAccountId,
237 action: impl FnOnce(&dyn CommonCollectionOperations<T>, TokenId),237 action: impl FnOnce(&dyn CommonCollectionOperations<T>, TokenId),
238 ) {238 ) {
239 Self::try_exec_if_owner_is_valid_nft(account, |d, id| {239 Self::try_exec_if_owner_is_valid_nft(account, |collection, id| {
240 action(d, id);240 action(collection, id);
241 Ok(())241 Ok(())
242 })242 })
243 .unwrap();243 .unwrap();
modifiedprimitives/data-structs/src/lib.rsdiffbeforeafterboth
583 }583 }
584}584}
585
586#[derive(Encode, Decode, MaxEncodedLen, PartialEq, Clone, Debug, TypeInfo)]
587#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
588// todo possibly rename to be used generally as an address pair
589pub struct TokenChild {
590 pub token: TokenId,
591 pub collection: CollectionId,
592}
585593
586#[derive(Encode, Decode, MaxEncodedLen, PartialEq, Clone, Debug, TypeInfo)]594#[derive(Encode, Decode, MaxEncodedLen, PartialEq, Clone, Debug, TypeInfo)]
587#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]595#[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
modifiedprimitives/rpc/src/lib.rsdiffbeforeafterboth
1818
19use up_data_structs::{19use up_data_structs::{
20 CollectionId, TokenId, RpcCollection, CollectionStats, CollectionLimits, Property,20 CollectionId, TokenId, RpcCollection, CollectionStats, CollectionLimits, Property,
21 PropertyKeyPermission, TokenData,21 PropertyKeyPermission, TokenData, TokenChild,
22};22};
23use sp_std::vec::Vec;23use sp_std::vec::Vec;
24use codec::Decode;24use codec::Decode;
4141
42 fn token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>>;42 fn token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>>;
43 fn topmost_token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>>;43 fn topmost_token_owner(collection: CollectionId, token: TokenId) -> Result<Option<CrossAccountId>>;
44 fn token_children(collection: CollectionId, token: TokenId) -> Result<Vec<TokenChild>>;
4445
45 fn collection_properties(collection: CollectionId, properties: Option<Vec<Vec<u8>>>) -> Result<Vec<Property>>;46 fn collection_properties(collection: CollectionId, properties: Option<Vec<Vec<u8>>>) -> Result<Vec<Property>>;
4647
modifiedruntime/common/src/runtime_apis.rsdiffbeforeafterboth
2929
30 Ok(Some(<pallet_structure::Pallet<Runtime>>::find_topmost_owner(collection, token, &budget)?))30 Ok(Some(<pallet_structure::Pallet<Runtime>>::find_topmost_owner(collection, token, &budget)?))
31 }31 }
3232 fn token_children(collection: CollectionId, token: TokenId) -> Result<Vec<TokenChild>, DispatchError> {
33 Ok(<pallet_nonfungible::Pallet<Runtime>>::token_children_ids(collection, token))
34 }
33 fn collection_properties(35 fn collection_properties(
34 collection: CollectionId,36 collection: CollectionId,
35 keys: Option<Vec<Vec<u8>>>37 keys: Option<Vec<Vec<u8>>>
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
74 CollectionStats, RpcCollection,74 CollectionStats, RpcCollection,
75 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},75 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},
76 TokenChild,
76};77};
7778
78// use pallet_contracts::weights::WeightInfo;79// use pallet_contracts::weights::WeightInfo;
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
72use up_data_structs::{72use up_data_structs::{
73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits, 73 CollectionId, TokenId, TokenData, Property, PropertyKeyPermission, CollectionLimits,
74 CollectionStats, RpcCollection, 74 CollectionStats, RpcCollection,
75 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping}75 mapping::{EvmTokenAddressMapping, CrossTokenAddressMapping},
76 TokenChild,
76};77};
7778
78// use pallet_contracts::weights::WeightInfo;79// use pallet_contracts::weights::WeightInfo;
modifiedruntime/tests/src/tests.rsdiffbeforeafterboth
21 CreateReFungibleData, MAX_DECIMAL_POINTS, COLLECTION_ADMINS_LIMIT, TokenId,21 CreateReFungibleData, MAX_DECIMAL_POINTS, COLLECTION_ADMINS_LIMIT, TokenId,
22 MAX_TOKEN_OWNERSHIP, CreateCollectionData, CollectionMode, AccessMode, CollectionPermissions,22 MAX_TOKEN_OWNERSHIP, CreateCollectionData, CollectionMode, AccessMode, CollectionPermissions,
23 PropertyKeyPermission, PropertyPermission, Property, CollectionPropertiesVec,23 PropertyKeyPermission, PropertyPermission, Property, CollectionPropertiesVec,
24 CollectionPropertiesPermissionsVec,24 CollectionPropertiesPermissionsVec, TokenChild,
25};25};
26use frame_support::{assert_noop, assert_ok, assert_err};26use frame_support::{assert_noop, assert_ok, assert_err};
27use sp_std::convert::TryInto;27use sp_std::convert::TryInto;
modifiedtests/src/interfaces/augment-api-query.tsdiffbeforeafterboth
5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';5import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';7import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';
8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission } from '@polkadot/types/lookup';8import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, EthereumBlock, EthereumLog, EthereumReceiptReceiptV3, EthereumTransactionTransactionV2, FpRpcTransactionStatus, FrameSupportWeightsPerDispatchClassU64, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmContractHelpersSponsoringModeT, PalletNonfungibleItemData, PalletRefungibleItemData, PalletTransactionPaymentReleases, PalletTreasuryProposal, PhantomTypeUpDataStructs, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, UpDataStructsCollection, UpDataStructsCollectionStats, UpDataStructsProperties, UpDataStructsPropertiesMapPropertyPermission, UpDataStructsPropertyPermission, UpDataStructsTokenChild } from '@polkadot/types/lookup';
9import type { Observable } from '@polkadot/types/types';9import type { Observable } from '@polkadot/types/types';
1010
11declare module '@polkadot/api-base/types/storage' {11declare module '@polkadot/api-base/types/storage' {
88 /**88 /**
89 * Not used by code, exists only to provide some types to metadata89 * Not used by code, exists only to provide some types to metadata
90 **/90 **/
91 dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;91 dummyStorageValue: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[UpDataStructsCollectionStats, u32, u32, UpDataStructsTokenChild, PhantomTypeUpDataStructs]>>>, []> & QueryableStorageEntry<ApiType, []>;
92 /**92 /**
93 * List of collection admins93 * List of collection admins
94 **/94 **/
modifiedtests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenData } from './default';4import type { PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCollectionLimits, UpDataStructsCollectionStats, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsRpcCollection, UpDataStructsTokenChild, UpDataStructsTokenData } from './default';
5import type { AugmentedRpc } from '@polkadot/rpc-core/types';5import type { AugmentedRpc } from '@polkadot/rpc-core/types';
6import type { Metadata, StorageKey } from '@polkadot/types';6import type { Metadata, StorageKey } from '@polkadot/types';
7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';7import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
638 * Get property permissions638 * Get property permissions
639 **/639 **/
640 propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;640 propertyPermissions: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, propertyKeys?: Vec<Text> | (Text | string)[], at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsPropertyKeyPermission>>>;
641 /**
642 * Get tokens nested directly into the token
643 **/
644 tokenChildren: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Vec<UpDataStructsTokenChild>>>;
641 /**645 /**
642 * Get token data646 * Get token data
643 **/647 **/
modifiedtests/src/interfaces/augment-types.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import 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';4import 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, UpDataStructsTokenChild, 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';
5import type { Data, StorageKey } from '@polkadot/types';5import type { Data, StorageKey } from '@polkadot/types';
6import 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';6import 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';
7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';7import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
1210 UpDataStructsRpcCollection: UpDataStructsRpcCollection;1210 UpDataStructsRpcCollection: UpDataStructsRpcCollection;
1211 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;1211 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
1212 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;1212 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
1213 UpDataStructsTokenChild: UpDataStructsTokenChild;
1213 UpDataStructsTokenData: UpDataStructsTokenData;1214 UpDataStructsTokenData: UpDataStructsTokenData;
1214 UpgradeGoAhead: UpgradeGoAhead;1215 UpgradeGoAhead: UpgradeGoAhead;
1215 UpgradeRestriction: UpgradeRestriction;1216 UpgradeRestriction: UpgradeRestriction;
modifiedtests/src/interfaces/default/types.tsdiffbeforeafterboth
1588}1588}
15891589
1590/** @name PhantomTypeUpDataStructs */1590/** @name PhantomTypeUpDataStructs */
1591export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}1591export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}
15921592
1593/** @name PolkadotCorePrimitivesInboundDownwardMessage */1593/** @name PolkadotCorePrimitivesInboundDownwardMessage */
1594export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {1594export interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct {
18611861
1862/** @name UpDataStructsCreateNftData */1862/** @name UpDataStructsCreateNftData */
1863export interface UpDataStructsCreateNftData extends Struct {1863export interface UpDataStructsCreateNftData extends Struct {
1864 readonly constData: Bytes;
1865 readonly properties: Vec<UpDataStructsProperty>;1864 readonly properties: Vec<UpDataStructsProperty>;
1866}1865}
18671866
2101 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';2100 readonly type: 'Disabled' | 'Unconfirmed' | 'Confirmed';
2102}2101}
2102
2103/** @name UpDataStructsTokenChild */
2104export interface UpDataStructsTokenChild extends Struct {
2105 readonly token: u32;
2106 readonly collection: u32;
2107}
21032108
2104/** @name UpDataStructsTokenData */2109/** @name UpDataStructsTokenData */
2105export interface UpDataStructsTokenData extends Struct {2110export interface UpDataStructsTokenData extends Struct {
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
1479 * Lookup186: up_data_structs::CreateNftData1479 * Lookup186: up_data_structs::CreateNftData
1480 **/1480 **/
1481 UpDataStructsCreateNftData: {1481 UpDataStructsCreateNftData: {
1482 constData: 'Bytes',
1483 properties: 'Vec<UpDataStructsProperty>'1482 properties: 'Vec<UpDataStructsProperty>'
1484 },1483 },
1485 /**1484 /**
1486 * Lookup188: up_data_structs::CreateFungibleData1485 * Lookup187: up_data_structs::CreateFungibleData
1487 **/1486 **/
1488 UpDataStructsCreateFungibleData: {1487 UpDataStructsCreateFungibleData: {
1489 value: 'u128'1488 value: 'u128'
1490 },1489 },
1491 /**1490 /**
1492 * Lookup189: up_data_structs::CreateReFungibleData1491 * Lookup188: up_data_structs::CreateReFungibleData
1493 **/1492 **/
1494 UpDataStructsCreateReFungibleData: {1493 UpDataStructsCreateReFungibleData: {
1495 constData: 'Bytes',1494 constData: 'Bytes',
1496 pieces: 'u128'1495 pieces: 'u128'
2281 destroyed: 'u32',2280 destroyed: 'u32',
2282 alive: 'u32'2281 alive: 'u32'
2283 },2282 },
2283 /**
2284 * Lookup323: up_data_structs::TokenChild
2285 **/
2286 UpDataStructsTokenChild: {
2287 token: 'u32',
2288 collection: 'u32'
2289 },
2284 /**2290 /**
2285 * Lookup323: PhantomType::up_data_structs<T>2291 * Lookup324: PhantomType::up_data_structs<T>
2286 **/2292 **/
2287 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,PalletEvmAccountBasicCrossAccountIdRepr,UpDataStructsRmrkCollectionInfo,UpDataStructsRmrkNftInfo,UpDataStructsRmrkResourceInfo,UpDataStructsRmrkPropertyInfo,UpDataStructsRmrkBaseInfo,UpDataStructsRmrkPartType,UpDataStructsRmrkTheme,UpDataStructsRmrkNftChild);0]',2293 PhantomTypeUpDataStructs: '[(UpDataStructsTokenData,UpDataStructsRpcCollection,UpDataStructsRmrkCollectionInfo,UpDataStructsRmrkNftInfo,UpDataStructsRmrkResourceInfo,UpDataStructsRmrkPropertyInfo,UpDataStructsRmrkBaseInfo,UpDataStructsRmrkPartType,UpDataStructsRmrkTheme,UpDataStructsRmrkNftChild);0]',
2288 /**2294 /**
2289 * Lookup325: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2295 * Lookup326: up_data_structs::TokenData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2290 **/2296 **/
2291 UpDataStructsTokenData: {2297 UpDataStructsTokenData: {
2292 properties: 'Vec<UpDataStructsProperty>',2298 properties: 'Vec<UpDataStructsProperty>',
2293 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'2299 owner: 'Option<PalletEvmAccountBasicCrossAccountIdRepr>'
2294 },2300 },
2295 /**2301 /**
2296 * Lookup327: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>2302 * Lookup328: up_data_structs::RpcCollection<sp_core::crypto::AccountId32>
2297 **/2303 **/
2298 UpDataStructsRpcCollection: {2304 UpDataStructsRpcCollection: {
2299 owner: 'AccountId32',2305 owner: 'AccountId32',
2300 mode: 'UpDataStructsCollectionMode',2306 mode: 'UpDataStructsCollectionMode',
2307 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2313 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',
2308 properties: 'Vec<UpDataStructsProperty>'2314 properties: 'Vec<UpDataStructsProperty>'
2309 },2315 },
2310 /**2316 /**
2311 * 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>2317 * Lookup329: 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>
2312 **/2318 **/
2313 UpDataStructsRmrkCollectionInfo: {2319 UpDataStructsRmrkCollectionInfo: {
2314 issuer: 'AccountId32',2320 issuer: 'AccountId32',
2315 metadata: 'Bytes',2321 metadata: 'Bytes',
2316 max: 'Option<u32>',2322 max: 'Option<u32>',
2317 symbol: 'Bytes',2323 symbol: 'Bytes',
2318 nftsCount: 'u32'2324 nftsCount: 'u32'
2319 },2325 },
2320 /**2326 /**
2321 * Lookup331: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>2327 * Lookup332: up_data_structs::rmrk::NftInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2322 **/2328 **/
2323 UpDataStructsRmrkNftInfo: {2329 UpDataStructsRmrkNftInfo: {
2324 owner: 'UpDataStructsRmrkAccountIdOrCollectionNftTuple',2330 owner: 'UpDataStructsRmrkAccountIdOrCollectionNftTuple',
2325 royalty: 'Option<UpDataStructsRmrkRoyaltyInfo>',2331 royalty: 'Option<UpDataStructsRmrkRoyaltyInfo>',
2326 metadata: 'Bytes',2332 metadata: 'Bytes',
2327 equipped: 'bool',2333 equipped: 'bool',
2328 pending: 'bool'2334 pending: 'bool'
2329 },2335 },
2330 /**2336 /**
2331 * Lookup332: up_data_structs::rmrk::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>2337 * Lookup333: up_data_structs::rmrk::AccountIdOrCollectionNftTuple<sp_core::crypto::AccountId32>
2332 **/2338 **/
2333 UpDataStructsRmrkAccountIdOrCollectionNftTuple: {2339 UpDataStructsRmrkAccountIdOrCollectionNftTuple: {
2334 _enum: {2340 _enum: {
2335 AccountId: 'AccountId32',2341 AccountId: 'AccountId32',
2336 CollectionAndNftTuple: '(u32,u32)'2342 CollectionAndNftTuple: '(u32,u32)'
2337 }2343 }
2338 },2344 },
2339 /**2345 /**
2340 * Lookup334: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>2346 * Lookup335: up_data_structs::rmrk::RoyaltyInfo<sp_core::crypto::AccountId32, sp_arithmetic::per_things::Permill>
2341 **/2347 **/
2342 UpDataStructsRmrkRoyaltyInfo: {2348 UpDataStructsRmrkRoyaltyInfo: {
2343 recipient: 'AccountId32',2349 recipient: 'AccountId32',
2344 amount: 'Permill'2350 amount: 'Permill'
2345 },2351 },
2346 /**2352 /**
2347 * 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>>2353 * Lookup336: 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>>
2348 **/2354 **/
2349 UpDataStructsRmrkResourceInfo: {2355 UpDataStructsRmrkResourceInfo: {
2350 id: 'Bytes',2356 id: 'Bytes',
2351 resource: 'UpDataStructsRmrkResourceTypes',2357 resource: 'UpDataStructsRmrkResourceTypes',
2352 pending: 'bool',2358 pending: 'bool',
2353 pendingRemoval: 'bool'2359 pendingRemoval: 'bool'
2354 },2360 },
2355 /**2361 /**
2356 * Lookup338: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2362 * Lookup339: up_data_structs::rmrk::ResourceTypes<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2357 **/2363 **/
2358 UpDataStructsRmrkResourceTypes: {2364 UpDataStructsRmrkResourceTypes: {
2359 _enum: {2365 _enum: {
2360 Basic: 'UpDataStructsRmrkBasicResource',2366 Basic: 'UpDataStructsRmrkBasicResource',
2361 Composable: 'UpDataStructsRmrkComposableResource',2367 Composable: 'UpDataStructsRmrkComposableResource',
2362 Slot: 'UpDataStructsRmrkSlotResource'2368 Slot: 'UpDataStructsRmrkSlotResource'
2363 }2369 }
2364 },2370 },
2365 /**2371 /**
2366 * Lookup339: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>2372 * Lookup340: up_data_structs::rmrk::BasicResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
2367 **/2373 **/
2368 UpDataStructsRmrkBasicResource: {2374 UpDataStructsRmrkBasicResource: {
2369 src: 'Option<Bytes>',2375 src: 'Option<Bytes>',
2370 metadata: 'Option<Bytes>',2376 metadata: 'Option<Bytes>',
2371 license: 'Option<Bytes>',2377 license: 'Option<Bytes>',
2372 thumb: 'Option<Bytes>'2378 thumb: 'Option<Bytes>'
2373 },2379 },
2374 /**2380 /**
2375 * Lookup341: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2381 * Lookup342: up_data_structs::rmrk::ComposableResource<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2376 **/2382 **/
2377 UpDataStructsRmrkComposableResource: {2383 UpDataStructsRmrkComposableResource: {
2378 parts: 'Vec<u32>',2384 parts: 'Vec<u32>',
2379 base: 'u32',2385 base: 'u32',
2382 license: 'Option<Bytes>',2388 license: 'Option<Bytes>',
2383 thumb: 'Option<Bytes>'2389 thumb: 'Option<Bytes>'
2384 },2390 },
2385 /**2391 /**
2386 * Lookup342: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>2392 * Lookup343: up_data_structs::rmrk::SlotResource<frame_support::storage::bounded_vec::BoundedVec<T, S>>
2387 **/2393 **/
2388 UpDataStructsRmrkSlotResource: {2394 UpDataStructsRmrkSlotResource: {
2389 base: 'u32',2395 base: 'u32',
2390 src: 'Option<Bytes>',2396 src: 'Option<Bytes>',
2393 license: 'Option<Bytes>',2399 license: 'Option<Bytes>',
2394 thumb: 'Option<Bytes>'2400 thumb: 'Option<Bytes>'
2395 },2401 },
2396 /**2402 /**
2397 * Lookup343: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2403 * Lookup344: up_data_structs::rmrk::PropertyInfo<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2398 **/2404 **/
2399 UpDataStructsRmrkPropertyInfo: {2405 UpDataStructsRmrkPropertyInfo: {
2400 key: 'Bytes',2406 key: 'Bytes',
2401 value: 'Bytes'2407 value: 'Bytes'
2402 },2408 },
2403 /**2409 /**
2404 * Lookup346: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>2410 * Lookup347: up_data_structs::rmrk::BaseInfo<sp_core::crypto::AccountId32, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2405 **/2411 **/
2406 UpDataStructsRmrkBaseInfo: {2412 UpDataStructsRmrkBaseInfo: {
2407 issuer: 'AccountId32',2413 issuer: 'AccountId32',
2408 baseType: 'Bytes',2414 baseType: 'Bytes',
2409 symbol: 'Bytes'2415 symbol: 'Bytes'
2410 },2416 },
2411 /**2417 /**
2412 * Lookup347: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2418 * Lookup348: up_data_structs::rmrk::PartType<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2413 **/2419 **/
2414 UpDataStructsRmrkPartType: {2420 UpDataStructsRmrkPartType: {
2415 _enum: {2421 _enum: {
2416 FixedPart: 'UpDataStructsRmrkFixedPart',2422 FixedPart: 'UpDataStructsRmrkFixedPart',
2417 SlotPart: 'UpDataStructsRmrkSlotPart'2423 SlotPart: 'UpDataStructsRmrkSlotPart'
2418 }2424 }
2419 },2425 },
2420 /**2426 /**
2421 * Lookup349: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>2427 * Lookup350: up_data_structs::rmrk::FixedPart<frame_support::storage::bounded_vec::BoundedVec<T, S>>
2422 **/2428 **/
2423 UpDataStructsRmrkFixedPart: {2429 UpDataStructsRmrkFixedPart: {
2424 id: 'u32',2430 id: 'u32',
2425 z: 'u32',2431 z: 'u32',
2426 src: 'Bytes'2432 src: 'Bytes'
2427 },2433 },
2428 /**2434 /**
2429 * Lookup350: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>2435 * Lookup351: up_data_structs::rmrk::SlotPart<frame_support::storage::bounded_vec::BoundedVec<T, S>, frame_support::storage::bounded_vec::BoundedVec<T, S>>
2430 **/2436 **/
2431 UpDataStructsRmrkSlotPart: {2437 UpDataStructsRmrkSlotPart: {
2432 id: 'u32',2438 id: 'u32',
2433 equippable: 'UpDataStructsRmrkEquippableList',2439 equippable: 'UpDataStructsRmrkEquippableList',
2434 src: 'Bytes',2440 src: 'Bytes',
2435 z: 'u32'2441 z: 'u32'
2436 },2442 },
2437 /**2443 /**
2438 * Lookup351: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>2444 * Lookup352: up_data_structs::rmrk::EquippableList<frame_support::storage::bounded_vec::BoundedVec<T, S>>
2439 **/2445 **/
2440 UpDataStructsRmrkEquippableList: {2446 UpDataStructsRmrkEquippableList: {
2441 _enum: {2447 _enum: {
2442 All: 'Null',2448 All: 'Null',
2443 Empty: 'Null',2449 Empty: 'Null',
2444 Custom: 'Vec<u32>'2450 Custom: 'Vec<u32>'
2445 }2451 }
2446 },2452 },
2447 /**2453 /**
2448 * Lookup352: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>2454 * Lookup353: up_data_structs::rmrk::Theme<frame_support::storage::bounded_vec::BoundedVec<T, S>, PropertyList>
2449 **/2455 **/
2450 UpDataStructsRmrkTheme: {2456 UpDataStructsRmrkTheme: {
2451 name: 'Bytes',2457 name: 'Bytes',
2452 properties: 'Vec<UpDataStructsRmrkThemeProperty>',2458 properties: 'Vec<UpDataStructsRmrkThemeProperty>',
2453 inherit: 'bool'2459 inherit: 'bool'
2454 },2460 },
2455 /**2461 /**
2456 * Lookup354: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>2462 * Lookup355: up_data_structs::rmrk::ThemeProperty<frame_support::storage::bounded_vec::BoundedVec<T, S>>
2457 **/2463 **/
2458 UpDataStructsRmrkThemeProperty: {2464 UpDataStructsRmrkThemeProperty: {
2459 key: 'Bytes',2465 key: 'Bytes',
2460 value: 'Bytes'2466 value: 'Bytes'
2461 },2467 },
2462 /**2468 /**
2463 * Lookup355: up_data_structs::rmrk::NftChild2469 * Lookup356: up_data_structs::rmrk::NftChild
2464 **/2470 **/
2465 UpDataStructsRmrkNftChild: {2471 UpDataStructsRmrkNftChild: {
2466 collectionId: 'u32',2472 collectionId: 'u32',
2467 nftId: 'u32'2473 nftId: 'u32'
2468 },2474 },
2469 /**2475 /**
2470 * Lookup357: pallet_common::pallet::Error<T>2476 * Lookup358: pallet_common::pallet::Error<T>
2471 **/2477 **/
2472 PalletCommonError: {2478 PalletCommonError: {
2473 _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']2479 _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']
2474 },2480 },
2475 /**2481 /**
2476 * Lookup359: pallet_fungible::pallet::Error<T>2482 * Lookup360: pallet_fungible::pallet::Error<T>
2477 **/2483 **/
2478 PalletFungibleError: {2484 PalletFungibleError: {
2479 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2485 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData', 'FungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
2480 },2486 },
2481 /**2487 /**
2482 * Lookup360: pallet_refungible::ItemData2488 * Lookup361: pallet_refungible::ItemData
2483 **/2489 **/
2484 PalletRefungibleItemData: {2490 PalletRefungibleItemData: {
2485 constData: 'Bytes'2491 constData: 'Bytes'
2486 },2492 },
2487 /**2493 /**
2488 * Lookup364: pallet_refungible::pallet::Error<T>2494 * Lookup365: pallet_refungible::pallet::Error<T>
2489 **/2495 **/
2490 PalletRefungibleError: {2496 PalletRefungibleError: {
2491 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']2497 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces', 'RefungibleDisallowsNesting', 'SettingPropertiesNotAllowed']
2492 },2498 },
2493 /**2499 /**
2494 * Lookup365: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2500 * Lookup366: pallet_nonfungible::ItemData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>
2495 **/2501 **/
2496 PalletNonfungibleItemData: {2502 PalletNonfungibleItemData: {
2497 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2503 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'
2498 },2504 },
2499 /**2505 /**
2500 * Lookup367: pallet_nonfungible::pallet::Error<T>2506 * Lookup368: pallet_nonfungible::pallet::Error<T>
2501 **/2507 **/
2502 PalletNonfungibleError: {2508 PalletNonfungibleError: {
2503 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']2509 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount', 'CantBurnNftWithChildren']
2504 },2510 },
2505 /**2511 /**
2506 * Lookup368: pallet_structure::pallet::Error<T>2512 * Lookup369: pallet_structure::pallet::Error<T>
2507 **/2513 **/
2508 PalletStructureError: {2514 PalletStructureError: {
2509 _enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']2515 _enum: ['OuroborosDetected', 'DepthLimit', 'TokenNotFound']
2510 },2516 },
2511 /**2517 /**
2512 * Lookup371: pallet_evm::pallet::Error<T>2518 * Lookup372: pallet_evm::pallet::Error<T>
2513 **/2519 **/
2514 PalletEvmError: {2520 PalletEvmError: {
2515 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2521 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']
2516 },2522 },
2517 /**2523 /**
2518 * Lookup374: fp_rpc::TransactionStatus2524 * Lookup375: fp_rpc::TransactionStatus
2519 **/2525 **/
2520 FpRpcTransactionStatus: {2526 FpRpcTransactionStatus: {
2521 transactionHash: 'H256',2527 transactionHash: 'H256',
2522 transactionIndex: 'u32',2528 transactionIndex: 'u32',
2526 logs: 'Vec<EthereumLog>',2532 logs: 'Vec<EthereumLog>',
2527 logsBloom: 'EthbloomBloom'2533 logsBloom: 'EthbloomBloom'
2528 },2534 },
2529 /**2535 /**
2530 * Lookup376: ethbloom::Bloom2536 * Lookup377: ethbloom::Bloom
2531 **/2537 **/
2532 EthbloomBloom: '[u8;256]',2538 EthbloomBloom: '[u8;256]',
2533 /**2539 /**
2534 * Lookup378: ethereum::receipt::ReceiptV32540 * Lookup379: ethereum::receipt::ReceiptV3
2535 **/2541 **/
2536 EthereumReceiptReceiptV3: {2542 EthereumReceiptReceiptV3: {
2537 _enum: {2543 _enum: {
2538 Legacy: 'EthereumReceiptEip658ReceiptData',2544 Legacy: 'EthereumReceiptEip658ReceiptData',
2539 EIP2930: 'EthereumReceiptEip658ReceiptData',2545 EIP2930: 'EthereumReceiptEip658ReceiptData',
2540 EIP1559: 'EthereumReceiptEip658ReceiptData'2546 EIP1559: 'EthereumReceiptEip658ReceiptData'
2541 }2547 }
2542 },2548 },
2543 /**2549 /**
2544 * Lookup379: ethereum::receipt::EIP658ReceiptData2550 * Lookup380: ethereum::receipt::EIP658ReceiptData
2545 **/2551 **/
2546 EthereumReceiptEip658ReceiptData: {2552 EthereumReceiptEip658ReceiptData: {
2547 statusCode: 'u8',2553 statusCode: 'u8',
2548 usedGas: 'U256',2554 usedGas: 'U256',
2549 logsBloom: 'EthbloomBloom',2555 logsBloom: 'EthbloomBloom',
2550 logs: 'Vec<EthereumLog>'2556 logs: 'Vec<EthereumLog>'
2551 },2557 },
2552 /**2558 /**
2553 * Lookup380: ethereum::block::Block<ethereum::transaction::TransactionV2>2559 * Lookup381: ethereum::block::Block<ethereum::transaction::TransactionV2>
2554 **/2560 **/
2555 EthereumBlock: {2561 EthereumBlock: {
2556 header: 'EthereumHeader',2562 header: 'EthereumHeader',
2557 transactions: 'Vec<EthereumTransactionTransactionV2>',2563 transactions: 'Vec<EthereumTransactionTransactionV2>',
2558 ommers: 'Vec<EthereumHeader>'2564 ommers: 'Vec<EthereumHeader>'
2559 },2565 },
2560 /**2566 /**
2561 * Lookup381: ethereum::header::Header2567 * Lookup382: ethereum::header::Header
2562 **/2568 **/
2563 EthereumHeader: {2569 EthereumHeader: {
2564 parentHash: 'H256',2570 parentHash: 'H256',
2565 ommersHash: 'H256',2571 ommersHash: 'H256',
2577 mixHash: 'H256',2583 mixHash: 'H256',
2578 nonce: 'EthereumTypesHashH64'2584 nonce: 'EthereumTypesHashH64'
2579 },2585 },
2580 /**2586 /**
2581 * Lookup382: ethereum_types::hash::H642587 * Lookup383: ethereum_types::hash::H64
2582 **/2588 **/
2583 EthereumTypesHashH64: '[u8;8]',2589 EthereumTypesHashH64: '[u8;8]',
2584 /**2590 /**
2585 * Lookup387: pallet_ethereum::pallet::Error<T>2591 * Lookup388: pallet_ethereum::pallet::Error<T>
2586 **/2592 **/
2587 PalletEthereumError: {2593 PalletEthereumError: {
2588 _enum: ['InvalidSignature', 'PreLogExists']2594 _enum: ['InvalidSignature', 'PreLogExists']
2589 },2595 },
2590 /**2596 /**
2591 * Lookup388: pallet_evm_coder_substrate::pallet::Error<T>2597 * Lookup389: pallet_evm_coder_substrate::pallet::Error<T>
2592 **/2598 **/
2593 PalletEvmCoderSubstrateError: {2599 PalletEvmCoderSubstrateError: {
2594 _enum: ['OutOfGas', 'OutOfFund']2600 _enum: ['OutOfGas', 'OutOfFund']
2595 },2601 },
2596 /**2602 /**
2597 * Lookup389: pallet_evm_contract_helpers::SponsoringModeT2603 * Lookup390: pallet_evm_contract_helpers::SponsoringModeT
2598 **/2604 **/
2599 PalletEvmContractHelpersSponsoringModeT: {2605 PalletEvmContractHelpersSponsoringModeT: {
2600 _enum: ['Disabled', 'Allowlisted', 'Generous']2606 _enum: ['Disabled', 'Allowlisted', 'Generous']
2601 },2607 },
2602 /**2608 /**
2603 * Lookup391: pallet_evm_contract_helpers::pallet::Error<T>2609 * Lookup392: pallet_evm_contract_helpers::pallet::Error<T>
2604 **/2610 **/
2605 PalletEvmContractHelpersError: {2611 PalletEvmContractHelpersError: {
2606 _enum: ['NoPermission']2612 _enum: ['NoPermission']
2607 },2613 },
2608 /**2614 /**
2609 * Lookup392: pallet_evm_migration::pallet::Error<T>2615 * Lookup393: pallet_evm_migration::pallet::Error<T>
2610 **/2616 **/
2611 PalletEvmMigrationError: {2617 PalletEvmMigrationError: {
2612 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']2618 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']
2613 },2619 },
2614 /**2620 /**
2615 * Lookup394: sp_runtime::MultiSignature2621 * Lookup395: sp_runtime::MultiSignature
2616 **/2622 **/
2617 SpRuntimeMultiSignature: {2623 SpRuntimeMultiSignature: {
2618 _enum: {2624 _enum: {
2619 Ed25519: 'SpCoreEd25519Signature',2625 Ed25519: 'SpCoreEd25519Signature',
2620 Sr25519: 'SpCoreSr25519Signature',2626 Sr25519: 'SpCoreSr25519Signature',
2621 Ecdsa: 'SpCoreEcdsaSignature'2627 Ecdsa: 'SpCoreEcdsaSignature'
2622 }2628 }
2623 },2629 },
2624 /**2630 /**
2625 * Lookup395: sp_core::ed25519::Signature2631 * Lookup396: sp_core::ed25519::Signature
2626 **/2632 **/
2627 SpCoreEd25519Signature: '[u8;64]',2633 SpCoreEd25519Signature: '[u8;64]',
2628 /**2634 /**
2629 * Lookup397: sp_core::sr25519::Signature2635 * Lookup398: sp_core::sr25519::Signature
2630 **/2636 **/
2631 SpCoreSr25519Signature: '[u8;64]',2637 SpCoreSr25519Signature: '[u8;64]',
2632 /**2638 /**
2633 * Lookup398: sp_core::ecdsa::Signature2639 * Lookup399: sp_core::ecdsa::Signature
2634 **/2640 **/
2635 SpCoreEcdsaSignature: '[u8;65]',2641 SpCoreEcdsaSignature: '[u8;65]',
2636 /**2642 /**
2637 * Lookup401: frame_system::extensions::check_spec_version::CheckSpecVersion<T>2643 * Lookup402: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
2638 **/2644 **/
2639 FrameSystemExtensionsCheckSpecVersion: 'Null',2645 FrameSystemExtensionsCheckSpecVersion: 'Null',
2640 /**2646 /**
2641 * Lookup402: frame_system::extensions::check_genesis::CheckGenesis<T>2647 * Lookup403: frame_system::extensions::check_genesis::CheckGenesis<T>
2642 **/2648 **/
2643 FrameSystemExtensionsCheckGenesis: 'Null',2649 FrameSystemExtensionsCheckGenesis: 'Null',
2644 /**2650 /**
2645 * Lookup405: frame_system::extensions::check_nonce::CheckNonce<T>2651 * Lookup406: frame_system::extensions::check_nonce::CheckNonce<T>
2646 **/2652 **/
2647 FrameSystemExtensionsCheckNonce: 'Compact<u32>',2653 FrameSystemExtensionsCheckNonce: 'Compact<u32>',
2648 /**2654 /**
2649 * Lookup406: frame_system::extensions::check_weight::CheckWeight<T>2655 * Lookup407: frame_system::extensions::check_weight::CheckWeight<T>
2650 **/2656 **/
2651 FrameSystemExtensionsCheckWeight: 'Null',2657 FrameSystemExtensionsCheckWeight: 'Null',
2652 /**2658 /**
2653 * Lookup407: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>2659 * Lookup408: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>
2654 **/2660 **/
2655 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2661 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',
2656 /**2662 /**
2657 * Lookup408: opal_runtime::Runtime2663 * Lookup409: opal_runtime::Runtime
2658 **/2664 **/
2659 OpalRuntimeRuntime: 'Null',2665 OpalRuntimeRuntime: 'Null',
2660 /**2666 /**
2661 * Lookup409: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>2667 * Lookup410: pallet_ethereum::FakeTransactionFinalizer<opal_runtime::Runtime>
2662 **/2668 **/
2663 PalletEthereumFakeTransactionFinalizer: 'Null'2669 PalletEthereumFakeTransactionFinalizer: 'Null'
2664};2670};
26652671
modifiedtests/src/interfaces/registry.tsdiffbeforeafterboth
1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
2/* eslint-disable */2/* eslint-disable */
33
4import 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';4import 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, UpDataStructsTokenChild, 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';
55
6declare module '@polkadot/types/types/registry' {6declare module '@polkadot/types/types/registry' {
7 export interface InterfaceTypes {7 export interface InterfaceTypes {
188 UpDataStructsRpcCollection: UpDataStructsRpcCollection;188 UpDataStructsRpcCollection: UpDataStructsRpcCollection;
189 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;189 UpDataStructsSponsoringRateLimit: UpDataStructsSponsoringRateLimit;
190 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;190 UpDataStructsSponsorshipState: UpDataStructsSponsorshipState;
191 UpDataStructsTokenChild: UpDataStructsTokenChild;
191 UpDataStructsTokenData: UpDataStructsTokenData;192 UpDataStructsTokenData: UpDataStructsTokenData;
192 XcmDoubleEncoded: XcmDoubleEncoded;193 XcmDoubleEncoded: XcmDoubleEncoded;
193 XcmV0Junction: XcmV0Junction;194 XcmV0Junction: XcmV0Junction;
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
16041604
1605 /** @name UpDataStructsCreateNftData (186) */1605 /** @name UpDataStructsCreateNftData (186) */
1606 export interface UpDataStructsCreateNftData extends Struct {1606 export interface UpDataStructsCreateNftData extends Struct {
1607 readonly constData: Bytes;
1608 readonly properties: Vec<UpDataStructsProperty>;1607 readonly properties: Vec<UpDataStructsProperty>;
1609 }1608 }
16101609
1611 /** @name UpDataStructsCreateFungibleData (188) */1610 /** @name UpDataStructsCreateFungibleData (187) */
1612 export interface UpDataStructsCreateFungibleData extends Struct {1611 export interface UpDataStructsCreateFungibleData extends Struct {
1613 readonly value: u128;1612 readonly value: u128;
1614 }1613 }
16151614
1616 /** @name UpDataStructsCreateReFungibleData (189) */1615 /** @name UpDataStructsCreateReFungibleData (188) */
1617 export interface UpDataStructsCreateReFungibleData extends Struct {1616 export interface UpDataStructsCreateReFungibleData extends Struct {
1618 readonly constData: Bytes;1617 readonly constData: Bytes;
1619 readonly pieces: u128;1618 readonly pieces: u128;
2469 readonly alive: u32;2468 readonly alive: u32;
2470 }2469 }
2470
2471 /** @name UpDataStructsTokenChild (323) */
2472 export interface UpDataStructsTokenChild extends Struct {
2473 readonly token: u32;
2474 readonly collection: u32;
2475 }
24712476
2472 /** @name PhantomTypeUpDataStructs (323) */2477 /** @name PhantomTypeUpDataStructs (324) */
2473 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}2478 export interface PhantomTypeUpDataStructs extends Vec<ITuple<[UpDataStructsTokenData, UpDataStructsRpcCollection, UpDataStructsRmrkCollectionInfo, UpDataStructsRmrkNftInfo, UpDataStructsRmrkResourceInfo, UpDataStructsRmrkPropertyInfo, UpDataStructsRmrkBaseInfo, UpDataStructsRmrkPartType, UpDataStructsRmrkTheme, UpDataStructsRmrkNftChild]>> {}
24742479
2475 /** @name UpDataStructsTokenData (325) */2480 /** @name UpDataStructsTokenData (326) */
2476 export interface UpDataStructsTokenData extends Struct {2481 export interface UpDataStructsTokenData extends Struct {
2477 readonly properties: Vec<UpDataStructsProperty>;2482 readonly properties: Vec<UpDataStructsProperty>;
2478 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;2483 readonly owner: Option<PalletEvmAccountBasicCrossAccountIdRepr>;
2479 }2484 }
24802485
2481 /** @name UpDataStructsRpcCollection (327) */2486 /** @name UpDataStructsRpcCollection (328) */
2482 export interface UpDataStructsRpcCollection extends Struct {2487 export interface UpDataStructsRpcCollection extends Struct {
2483 readonly owner: AccountId32;2488 readonly owner: AccountId32;
2484 readonly mode: UpDataStructsCollectionMode;2489 readonly mode: UpDataStructsCollectionMode;
2492 readonly properties: Vec<UpDataStructsProperty>;2497 readonly properties: Vec<UpDataStructsProperty>;
2493 }2498 }
24942499
2495 /** @name UpDataStructsRmrkCollectionInfo (328) */2500 /** @name UpDataStructsRmrkCollectionInfo (329) */
2496 export interface UpDataStructsRmrkCollectionInfo extends Struct {2501 export interface UpDataStructsRmrkCollectionInfo extends Struct {
2497 readonly issuer: AccountId32;2502 readonly issuer: AccountId32;
2498 readonly metadata: Bytes;2503 readonly metadata: Bytes;
2501 readonly nftsCount: u32;2506 readonly nftsCount: u32;
2502 }2507 }
25032508
2504 /** @name UpDataStructsRmrkNftInfo (331) */2509 /** @name UpDataStructsRmrkNftInfo (332) */
2505 export interface UpDataStructsRmrkNftInfo extends Struct {2510 export interface UpDataStructsRmrkNftInfo extends Struct {
2506 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;2511 readonly owner: UpDataStructsRmrkAccountIdOrCollectionNftTuple;
2507 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;2512 readonly royalty: Option<UpDataStructsRmrkRoyaltyInfo>;
2510 readonly pending: bool;2515 readonly pending: bool;
2511 }2516 }
25122517
2513 /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (332) */2518 /** @name UpDataStructsRmrkAccountIdOrCollectionNftTuple (333) */
2514 export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {2519 export interface UpDataStructsRmrkAccountIdOrCollectionNftTuple extends Enum {
2515 readonly isAccountId: boolean;2520 readonly isAccountId: boolean;
2516 readonly asAccountId: AccountId32;2521 readonly asAccountId: AccountId32;
2519 readonly type: 'AccountId' | 'CollectionAndNftTuple';2524 readonly type: 'AccountId' | 'CollectionAndNftTuple';
2520 }2525 }
25212526
2522 /** @name UpDataStructsRmrkRoyaltyInfo (334) */2527 /** @name UpDataStructsRmrkRoyaltyInfo (335) */
2523 export interface UpDataStructsRmrkRoyaltyInfo extends Struct {2528 export interface UpDataStructsRmrkRoyaltyInfo extends Struct {
2524 readonly recipient: AccountId32;2529 readonly recipient: AccountId32;
2525 readonly amount: Permill;2530 readonly amount: Permill;
2526 }2531 }
25272532
2528 /** @name UpDataStructsRmrkResourceInfo (335) */2533 /** @name UpDataStructsRmrkResourceInfo (336) */
2529 export interface UpDataStructsRmrkResourceInfo extends Struct {2534 export interface UpDataStructsRmrkResourceInfo extends Struct {
2530 readonly id: Bytes;2535 readonly id: Bytes;
2531 readonly resource: UpDataStructsRmrkResourceTypes;2536 readonly resource: UpDataStructsRmrkResourceTypes;
2532 readonly pending: bool;2537 readonly pending: bool;
2533 readonly pendingRemoval: bool;2538 readonly pendingRemoval: bool;
2534 }2539 }
25352540
2536 /** @name UpDataStructsRmrkResourceTypes (338) */2541 /** @name UpDataStructsRmrkResourceTypes (339) */
2537 export interface UpDataStructsRmrkResourceTypes extends Enum {2542 export interface UpDataStructsRmrkResourceTypes extends Enum {
2538 readonly isBasic: boolean;2543 readonly isBasic: boolean;
2539 readonly asBasic: UpDataStructsRmrkBasicResource;2544 readonly asBasic: UpDataStructsRmrkBasicResource;
2544 readonly type: 'Basic' | 'Composable' | 'Slot';2549 readonly type: 'Basic' | 'Composable' | 'Slot';
2545 }2550 }
25462551
2547 /** @name UpDataStructsRmrkBasicResource (339) */2552 /** @name UpDataStructsRmrkBasicResource (340) */
2548 export interface UpDataStructsRmrkBasicResource extends Struct {2553 export interface UpDataStructsRmrkBasicResource extends Struct {
2549 readonly src: Option<Bytes>;2554 readonly src: Option<Bytes>;
2550 readonly metadata: Option<Bytes>;2555 readonly metadata: Option<Bytes>;
2551 readonly license: Option<Bytes>;2556 readonly license: Option<Bytes>;
2552 readonly thumb: Option<Bytes>;2557 readonly thumb: Option<Bytes>;
2553 }2558 }
25542559
2555 /** @name UpDataStructsRmrkComposableResource (341) */2560 /** @name UpDataStructsRmrkComposableResource (342) */
2556 export interface UpDataStructsRmrkComposableResource extends Struct {2561 export interface UpDataStructsRmrkComposableResource extends Struct {
2557 readonly parts: Vec<u32>;2562 readonly parts: Vec<u32>;
2558 readonly base: u32;2563 readonly base: u32;
2562 readonly thumb: Option<Bytes>;2567 readonly thumb: Option<Bytes>;
2563 }2568 }
25642569
2565 /** @name UpDataStructsRmrkSlotResource (342) */2570 /** @name UpDataStructsRmrkSlotResource (343) */
2566 export interface UpDataStructsRmrkSlotResource extends Struct {2571 export interface UpDataStructsRmrkSlotResource extends Struct {
2567 readonly base: u32;2572 readonly base: u32;
2568 readonly src: Option<Bytes>;2573 readonly src: Option<Bytes>;
2572 readonly thumb: Option<Bytes>;2577 readonly thumb: Option<Bytes>;
2573 }2578 }
25742579
2575 /** @name UpDataStructsRmrkPropertyInfo (343) */2580 /** @name UpDataStructsRmrkPropertyInfo (344) */
2576 export interface UpDataStructsRmrkPropertyInfo extends Struct {2581 export interface UpDataStructsRmrkPropertyInfo extends Struct {
2577 readonly key: Bytes;2582 readonly key: Bytes;
2578 readonly value: Bytes;2583 readonly value: Bytes;
2579 }2584 }
25802585
2581 /** @name UpDataStructsRmrkBaseInfo (346) */2586 /** @name UpDataStructsRmrkBaseInfo (347) */
2582 export interface UpDataStructsRmrkBaseInfo extends Struct {2587 export interface UpDataStructsRmrkBaseInfo extends Struct {
2583 readonly issuer: AccountId32;2588 readonly issuer: AccountId32;
2584 readonly baseType: Bytes;2589 readonly baseType: Bytes;
2585 readonly symbol: Bytes;2590 readonly symbol: Bytes;
2586 }2591 }
25872592
2588 /** @name UpDataStructsRmrkPartType (347) */2593 /** @name UpDataStructsRmrkPartType (348) */
2589 export interface UpDataStructsRmrkPartType extends Enum {2594 export interface UpDataStructsRmrkPartType extends Enum {
2590 readonly isFixedPart: boolean;2595 readonly isFixedPart: boolean;
2591 readonly asFixedPart: UpDataStructsRmrkFixedPart;2596 readonly asFixedPart: UpDataStructsRmrkFixedPart;
2594 readonly type: 'FixedPart' | 'SlotPart';2599 readonly type: 'FixedPart' | 'SlotPart';
2595 }2600 }
25962601
2597 /** @name UpDataStructsRmrkFixedPart (349) */2602 /** @name UpDataStructsRmrkFixedPart (350) */
2598 export interface UpDataStructsRmrkFixedPart extends Struct {2603 export interface UpDataStructsRmrkFixedPart extends Struct {
2599 readonly id: u32;2604 readonly id: u32;
2600 readonly z: u32;2605 readonly z: u32;
2601 readonly src: Bytes;2606 readonly src: Bytes;
2602 }2607 }
26032608
2604 /** @name UpDataStructsRmrkSlotPart (350) */2609 /** @name UpDataStructsRmrkSlotPart (351) */
2605 export interface UpDataStructsRmrkSlotPart extends Struct {2610 export interface UpDataStructsRmrkSlotPart extends Struct {
2606 readonly id: u32;2611 readonly id: u32;
2607 readonly equippable: UpDataStructsRmrkEquippableList;2612 readonly equippable: UpDataStructsRmrkEquippableList;
2608 readonly src: Bytes;2613 readonly src: Bytes;
2609 readonly z: u32;2614 readonly z: u32;
2610 }2615 }
26112616
2612 /** @name UpDataStructsRmrkEquippableList (351) */2617 /** @name UpDataStructsRmrkEquippableList (352) */
2613 export interface UpDataStructsRmrkEquippableList extends Enum {2618 export interface UpDataStructsRmrkEquippableList extends Enum {
2614 readonly isAll: boolean;2619 readonly isAll: boolean;
2615 readonly isEmpty: boolean;2620 readonly isEmpty: boolean;
2618 readonly type: 'All' | 'Empty' | 'Custom';2623 readonly type: 'All' | 'Empty' | 'Custom';
2619 }2624 }
26202625
2621 /** @name UpDataStructsRmrkTheme (352) */2626 /** @name UpDataStructsRmrkTheme (353) */
2622 export interface UpDataStructsRmrkTheme extends Struct {2627 export interface UpDataStructsRmrkTheme extends Struct {
2623 readonly name: Bytes;2628 readonly name: Bytes;
2624 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;2629 readonly properties: Vec<UpDataStructsRmrkThemeProperty>;
2625 readonly inherit: bool;2630 readonly inherit: bool;
2626 }2631 }
26272632
2628 /** @name UpDataStructsRmrkThemeProperty (354) */2633 /** @name UpDataStructsRmrkThemeProperty (355) */
2629 export interface UpDataStructsRmrkThemeProperty extends Struct {2634 export interface UpDataStructsRmrkThemeProperty extends Struct {
2630 readonly key: Bytes;2635 readonly key: Bytes;
2631 readonly value: Bytes;2636 readonly value: Bytes;
2632 }2637 }
26332638
2634 /** @name UpDataStructsRmrkNftChild (355) */2639 /** @name UpDataStructsRmrkNftChild (356) */
2635 export interface UpDataStructsRmrkNftChild extends Struct {2640 export interface UpDataStructsRmrkNftChild extends Struct {
2636 readonly collectionId: u32;2641 readonly collectionId: u32;
2637 readonly nftId: u32;2642 readonly nftId: u32;
2638 }2643 }
26392644
2640 /** @name PalletCommonError (357) */2645 /** @name PalletCommonError (358) */
2641 export interface PalletCommonError extends Enum {2646 export interface PalletCommonError extends Enum {
2642 readonly isCollectionNotFound: boolean;2647 readonly isCollectionNotFound: boolean;
2643 readonly isMustBeTokenOwner: boolean;2648 readonly isMustBeTokenOwner: boolean;
2675 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';2680 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';
2676 }2681 }
26772682
2678 /** @name PalletFungibleError (359) */2683 /** @name PalletFungibleError (360) */
2679 export interface PalletFungibleError extends Enum {2684 export interface PalletFungibleError extends Enum {
2680 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;2685 readonly isNotFungibleDataUsedToMintFungibleCollectionToken: boolean;
2681 readonly isFungibleItemsHaveNoId: boolean;2686 readonly isFungibleItemsHaveNoId: boolean;
2685 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2690 readonly type: 'NotFungibleDataUsedToMintFungibleCollectionToken' | 'FungibleItemsHaveNoId' | 'FungibleItemsDontHaveData' | 'FungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
2686 }2691 }
26872692
2688 /** @name PalletRefungibleItemData (360) */2693 /** @name PalletRefungibleItemData (361) */
2689 export interface PalletRefungibleItemData extends Struct {2694 export interface PalletRefungibleItemData extends Struct {
2690 readonly constData: Bytes;2695 readonly constData: Bytes;
2691 }2696 }
26922697
2693 /** @name PalletRefungibleError (364) */2698 /** @name PalletRefungibleError (365) */
2694 export interface PalletRefungibleError extends Enum {2699 export interface PalletRefungibleError extends Enum {
2695 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;2700 readonly isNotRefungibleDataUsedToMintFungibleCollectionToken: boolean;
2696 readonly isWrongRefungiblePieces: boolean;2701 readonly isWrongRefungiblePieces: boolean;
2699 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';2704 readonly type: 'NotRefungibleDataUsedToMintFungibleCollectionToken' | 'WrongRefungiblePieces' | 'RefungibleDisallowsNesting' | 'SettingPropertiesNotAllowed';
2700 }2705 }
27012706
2702 /** @name PalletNonfungibleItemData (365) */2707 /** @name PalletNonfungibleItemData (366) */
2703 export interface PalletNonfungibleItemData extends Struct {2708 export interface PalletNonfungibleItemData extends Struct {
2704 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;2709 readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
2705 }2710 }
27062711
2707 /** @name PalletNonfungibleError (367) */2712 /** @name PalletNonfungibleError (368) */
2708 export interface PalletNonfungibleError extends Enum {2713 export interface PalletNonfungibleError extends Enum {
2709 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;2714 readonly isNotNonfungibleDataUsedToMintFungibleCollectionToken: boolean;
2710 readonly isNonfungibleItemsHaveNoAmount: boolean;2715 readonly isNonfungibleItemsHaveNoAmount: boolean;
2711 readonly isCantBurnNftWithChildren: boolean;2716 readonly isCantBurnNftWithChildren: boolean;
2712 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';2717 readonly type: 'NotNonfungibleDataUsedToMintFungibleCollectionToken' | 'NonfungibleItemsHaveNoAmount' | 'CantBurnNftWithChildren';
2713 }2718 }
27142719
2715 /** @name PalletStructureError (368) */2720 /** @name PalletStructureError (369) */
2716 export interface PalletStructureError extends Enum {2721 export interface PalletStructureError extends Enum {
2717 readonly isOuroborosDetected: boolean;2722 readonly isOuroborosDetected: boolean;
2718 readonly isDepthLimit: boolean;2723 readonly isDepthLimit: boolean;
2719 readonly isTokenNotFound: boolean;2724 readonly isTokenNotFound: boolean;
2720 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';2725 readonly type: 'OuroborosDetected' | 'DepthLimit' | 'TokenNotFound';
2721 }2726 }
27222727
2723 /** @name PalletEvmError (371) */2728 /** @name PalletEvmError (372) */
2724 export interface PalletEvmError extends Enum {2729 export interface PalletEvmError extends Enum {
2725 readonly isBalanceLow: boolean;2730 readonly isBalanceLow: boolean;
2726 readonly isFeeOverflow: boolean;2731 readonly isFeeOverflow: boolean;
2731 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';2736 readonly type: 'BalanceLow' | 'FeeOverflow' | 'PaymentOverflow' | 'WithdrawFailed' | 'GasPriceTooLow' | 'InvalidNonce';
2732 }2737 }
27332738
2734 /** @name FpRpcTransactionStatus (374) */2739 /** @name FpRpcTransactionStatus (375) */
2735 export interface FpRpcTransactionStatus extends Struct {2740 export interface FpRpcTransactionStatus extends Struct {
2736 readonly transactionHash: H256;2741 readonly transactionHash: H256;
2737 readonly transactionIndex: u32;2742 readonly transactionIndex: u32;
2742 readonly logsBloom: EthbloomBloom;2747 readonly logsBloom: EthbloomBloom;
2743 }2748 }
27442749
2745 /** @name EthbloomBloom (376) */2750 /** @name EthbloomBloom (377) */
2746 export interface EthbloomBloom extends U8aFixed {}2751 export interface EthbloomBloom extends U8aFixed {}
27472752
2748 /** @name EthereumReceiptReceiptV3 (378) */2753 /** @name EthereumReceiptReceiptV3 (379) */
2749 export interface EthereumReceiptReceiptV3 extends Enum {2754 export interface EthereumReceiptReceiptV3 extends Enum {
2750 readonly isLegacy: boolean;2755 readonly isLegacy: boolean;
2751 readonly asLegacy: EthereumReceiptEip658ReceiptData;2756 readonly asLegacy: EthereumReceiptEip658ReceiptData;
2756 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';2761 readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
2757 }2762 }
27582763
2759 /** @name EthereumReceiptEip658ReceiptData (379) */2764 /** @name EthereumReceiptEip658ReceiptData (380) */
2760 export interface EthereumReceiptEip658ReceiptData extends Struct {2765 export interface EthereumReceiptEip658ReceiptData extends Struct {
2761 readonly statusCode: u8;2766 readonly statusCode: u8;
2762 readonly usedGas: U256;2767 readonly usedGas: U256;
2763 readonly logsBloom: EthbloomBloom;2768 readonly logsBloom: EthbloomBloom;
2764 readonly logs: Vec<EthereumLog>;2769 readonly logs: Vec<EthereumLog>;
2765 }2770 }
27662771
2767 /** @name EthereumBlock (380) */2772 /** @name EthereumBlock (381) */
2768 export interface EthereumBlock extends Struct {2773 export interface EthereumBlock extends Struct {
2769 readonly header: EthereumHeader;2774 readonly header: EthereumHeader;
2770 readonly transactions: Vec<EthereumTransactionTransactionV2>;2775 readonly transactions: Vec<EthereumTransactionTransactionV2>;
2771 readonly ommers: Vec<EthereumHeader>;2776 readonly ommers: Vec<EthereumHeader>;
2772 }2777 }
27732778
2774 /** @name EthereumHeader (381) */2779 /** @name EthereumHeader (382) */
2775 export interface EthereumHeader extends Struct {2780 export interface EthereumHeader extends Struct {
2776 readonly parentHash: H256;2781 readonly parentHash: H256;
2777 readonly ommersHash: H256;2782 readonly ommersHash: H256;
2790 readonly nonce: EthereumTypesHashH64;2795 readonly nonce: EthereumTypesHashH64;
2791 }2796 }
27922797
2793 /** @name EthereumTypesHashH64 (382) */2798 /** @name EthereumTypesHashH64 (383) */
2794 export interface EthereumTypesHashH64 extends U8aFixed {}2799 export interface EthereumTypesHashH64 extends U8aFixed {}
27952800
2796 /** @name PalletEthereumError (387) */2801 /** @name PalletEthereumError (388) */
2797 export interface PalletEthereumError extends Enum {2802 export interface PalletEthereumError extends Enum {
2798 readonly isInvalidSignature: boolean;2803 readonly isInvalidSignature: boolean;
2799 readonly isPreLogExists: boolean;2804 readonly isPreLogExists: boolean;
2800 readonly type: 'InvalidSignature' | 'PreLogExists';2805 readonly type: 'InvalidSignature' | 'PreLogExists';
2801 }2806 }
28022807
2803 /** @name PalletEvmCoderSubstrateError (388) */2808 /** @name PalletEvmCoderSubstrateError (389) */
2804 export interface PalletEvmCoderSubstrateError extends Enum {2809 export interface PalletEvmCoderSubstrateError extends Enum {
2805 readonly isOutOfGas: boolean;2810 readonly isOutOfGas: boolean;
2806 readonly isOutOfFund: boolean;2811 readonly isOutOfFund: boolean;
2807 readonly type: 'OutOfGas' | 'OutOfFund';2812 readonly type: 'OutOfGas' | 'OutOfFund';
2808 }2813 }
28092814
2810 /** @name PalletEvmContractHelpersSponsoringModeT (389) */2815 /** @name PalletEvmContractHelpersSponsoringModeT (390) */
2811 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {2816 export interface PalletEvmContractHelpersSponsoringModeT extends Enum {
2812 readonly isDisabled: boolean;2817 readonly isDisabled: boolean;
2813 readonly isAllowlisted: boolean;2818 readonly isAllowlisted: boolean;
2814 readonly isGenerous: boolean;2819 readonly isGenerous: boolean;
2815 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';2820 readonly type: 'Disabled' | 'Allowlisted' | 'Generous';
2816 }2821 }
28172822
2818 /** @name PalletEvmContractHelpersError (391) */2823 /** @name PalletEvmContractHelpersError (392) */
2819 export interface PalletEvmContractHelpersError extends Enum {2824 export interface PalletEvmContractHelpersError extends Enum {
2820 readonly isNoPermission: boolean;2825 readonly isNoPermission: boolean;
2821 readonly type: 'NoPermission';2826 readonly type: 'NoPermission';
2822 }2827 }
28232828
2824 /** @name PalletEvmMigrationError (392) */2829 /** @name PalletEvmMigrationError (393) */
2825 export interface PalletEvmMigrationError extends Enum {2830 export interface PalletEvmMigrationError extends Enum {
2826 readonly isAccountNotEmpty: boolean;2831 readonly isAccountNotEmpty: boolean;
2827 readonly isAccountIsNotMigrating: boolean;2832 readonly isAccountIsNotMigrating: boolean;
2828 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';2833 readonly type: 'AccountNotEmpty' | 'AccountIsNotMigrating';
2829 }2834 }
28302835
2831 /** @name SpRuntimeMultiSignature (394) */2836 /** @name SpRuntimeMultiSignature (395) */
2832 export interface SpRuntimeMultiSignature extends Enum {2837 export interface SpRuntimeMultiSignature extends Enum {
2833 readonly isEd25519: boolean;2838 readonly isEd25519: boolean;
2834 readonly asEd25519: SpCoreEd25519Signature;2839 readonly asEd25519: SpCoreEd25519Signature;
2839 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';2844 readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa';
2840 }2845 }
28412846
2842 /** @name SpCoreEd25519Signature (395) */2847 /** @name SpCoreEd25519Signature (396) */
2843 export interface SpCoreEd25519Signature extends U8aFixed {}2848 export interface SpCoreEd25519Signature extends U8aFixed {}
28442849
2845 /** @name SpCoreSr25519Signature (397) */2850 /** @name SpCoreSr25519Signature (398) */
2846 export interface SpCoreSr25519Signature extends U8aFixed {}2851 export interface SpCoreSr25519Signature extends U8aFixed {}
28472852
2848 /** @name SpCoreEcdsaSignature (398) */2853 /** @name SpCoreEcdsaSignature (399) */
2849 export interface SpCoreEcdsaSignature extends U8aFixed {}2854 export interface SpCoreEcdsaSignature extends U8aFixed {}
28502855
2851 /** @name FrameSystemExtensionsCheckSpecVersion (401) */2856 /** @name FrameSystemExtensionsCheckSpecVersion (402) */
2852 export type FrameSystemExtensionsCheckSpecVersion = Null;2857 export type FrameSystemExtensionsCheckSpecVersion = Null;
28532858
2854 /** @name FrameSystemExtensionsCheckGenesis (402) */2859 /** @name FrameSystemExtensionsCheckGenesis (403) */
2855 export type FrameSystemExtensionsCheckGenesis = Null;2860 export type FrameSystemExtensionsCheckGenesis = Null;
28562861
2857 /** @name FrameSystemExtensionsCheckNonce (405) */2862 /** @name FrameSystemExtensionsCheckNonce (406) */
2858 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}2863 export interface FrameSystemExtensionsCheckNonce extends Compact<u32> {}
28592864
2860 /** @name FrameSystemExtensionsCheckWeight (406) */2865 /** @name FrameSystemExtensionsCheckWeight (407) */
2861 export type FrameSystemExtensionsCheckWeight = Null;2866 export type FrameSystemExtensionsCheckWeight = Null;
28622867
2863 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (407) */2868 /** @name PalletTemplateTransactionPaymentChargeTransactionPayment (408) */
2864 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}2869 export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
28652870
2866 /** @name OpalRuntimeRuntime (408) */2871 /** @name OpalRuntimeRuntime (409) */
2867 export type OpalRuntimeRuntime = Null;2872 export type OpalRuntimeRuntime = Null;
28682873
2869 /** @name PalletEthereumFakeTransactionFinalizer (409) */2874 /** @name PalletEthereumFakeTransactionFinalizer (410) */
2870 export type PalletEthereumFakeTransactionFinalizer = Null;2875 export type PalletEthereumFakeTransactionFinalizer = Null;
28712876
2872} // declare module2877} // declare module
modifiedtests/src/interfaces/unique/definitions.tsdiffbeforeafterboth
50 allowance: fun('Get allowed amount', [collectionParam, crossAccountParam('sender'), crossAccountParam('spender'), tokenParam], 'u128'),50 allowance: fun('Get allowed amount', [collectionParam, crossAccountParam('sender'), crossAccountParam('spender'), tokenParam], 'u128'),
51 tokenOwner: fun('Get token owner', [collectionParam, tokenParam], `Option<${CROSS_ACCOUNT_ID_TYPE}>`),51 tokenOwner: fun('Get token owner', [collectionParam, tokenParam], `Option<${CROSS_ACCOUNT_ID_TYPE}>`),
52 topmostTokenOwner: fun('Get token owner, in case of nested token - find parent recursive', [collectionParam, tokenParam], `Option<${CROSS_ACCOUNT_ID_TYPE}>`),52 topmostTokenOwner: fun('Get token owner, in case of nested token - find parent recursive', [collectionParam, tokenParam], `Option<${CROSS_ACCOUNT_ID_TYPE}>`),
53 tokenChildren: fun('Get tokens nested directly into the token', [collectionParam, tokenParam], 'Vec<UpDataStructsTokenChild>'),
53 constMetadata: fun('Get token constant metadata', [collectionParam, tokenParam], 'Vec<u8>'),54 constMetadata: fun('Get token constant metadata', [collectionParam, tokenParam], 'Vec<u8>'),
54 variableMetadata: fun('Get token variable metadata', [collectionParam, tokenParam], 'Vec<u8>'),55 variableMetadata: fun('Get token variable metadata', [collectionParam, tokenParam], 'Vec<u8>'),
55 collectionProperties: fun(56 collectionProperties: fun(
modifiedtests/src/nesting/nest.test.tsdiffbeforeafterboth
7 createItemExpectSuccess,7 createItemExpectSuccess,
8 enableAllowListExpectSuccess,8 enableAllowListExpectSuccess,
9 enablePublicMintingExpectSuccess,9 enablePublicMintingExpectSuccess,
10 getTokenChildren,
10 getTokenOwner,11 getTokenOwner,
11 getTopmostTokenOwner,12 getTopmostTokenOwner,
12 normalizeAccountId,13 normalizeAccountId,
88 });89 });
89 });90 });
91
92 it('Checks token children', async () => {
93 await usingApi(async api => {
94 const collectionA = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
95 await setCollectionPermissionsExpectSuccess(alice, collectionA, {nesting: 'Owner'});
96 const collectionB = await createCollectionExpectSuccess({mode: {type: 'Fungible', decimalPoints: 0}});
97
98 const targetToken = await createItemExpectSuccess(alice, collectionA, 'NFT');
99 const targetAddress = {Ethereum: tokenIdToAddress(collectionA, targetToken)};
100 let children = await getTokenChildren(api, collectionA, targetToken);
101 expect(children.length).to.be.equal(0, 'Children length check at creation');
102
103 // Create a nested NFT token
104 const tokenA = await createItemExpectSuccess(alice, collectionA, 'NFT', targetAddress);
105 children = await getTokenChildren(api, collectionA, targetToken);
106 expect(children.length).to.be.equal(1, 'Children length check at nesting #1');
107 expect(children).to.have.deep.members([
108 {token: tokenA, collection: collectionA},
109 ], 'Children contents check at nesting #1');
110
111 // Create then nest
112 const tokenB = await createItemExpectSuccess(alice, collectionA, 'NFT');
113 await transferExpectSuccess(collectionA, tokenB, alice, targetAddress);
114 children = await getTokenChildren(api, collectionA, targetToken);
115 expect(children.length).to.be.equal(2, 'Children length check at nesting #2');
116 expect(children).to.have.deep.members([
117 {token: tokenA, collection: collectionA},
118 {token: tokenB, collection: collectionA},
119 ], 'Children contents check at nesting #2');
120
121 // Move token B to a different user outside the nesting tree
122 await transferExpectSuccess(collectionA, tokenB, alice, bob);
123 children = await getTokenChildren(api, collectionA, targetToken);
124 expect(children.length).to.be.equal(1, 'Children length check at unnesting');
125 expect(children).to.be.have.deep.members([
126 {token: tokenA, collection: collectionA},
127 ], 'Children contents check at unnesting');
128
129 // Create a fungible token in another collection and then nest
130 const tokenC = await createItemExpectSuccess(alice, collectionB, 'Fungible');
131 await transferExpectSuccess(collectionB, tokenC, alice, targetAddress, 1, 'Fungible');
132 children = await getTokenChildren(api, collectionA, targetToken);
133 expect(children.length).to.be.equal(2, 'Children length check at nesting #3 (from another collection)');
134 expect(children).to.be.have.deep.members([
135 {token: tokenA, collection: collectionA},
136 {token: tokenC, collection: collectionB},
137 ], 'Children contents check at nesting #3 (from another collection)');
138
139 // Move the fungible token inside token A deeper in the nesting tree
140 await transferFromExpectSuccess(collectionB, tokenC, alice, targetAddress, {Ethereum: tokenIdToAddress(collectionA, tokenA)}, 1, 'Fungible');
141 children = await getTokenChildren(api, collectionA, targetToken);
142 expect(children.length).to.be.equal(1, 'Children length check at deeper nesting');
143 expect(children).to.be.have.deep.members([
144 {token: tokenA, collection: collectionA},
145 ], 'Children contents check at deeper nesting');
146 });
147 });
90148
91 // ---------- Non-Fungible ----------149 // ---------- Non-Fungible ----------
92150
modifiedtests/src/util/helpers.tsdiffbeforeafterboth
27import {default as usingApi, executeTransaction, submitTransactionAsync, submitTransactionExpectFailAsync} from '../substrate/substrate-api';27import {default as usingApi, executeTransaction, submitTransactionAsync, submitTransactionExpectFailAsync} from '../substrate/substrate-api';
28import {hexToStr, strToUTF16, utf16ToStr} from './util';28import {hexToStr, strToUTF16, utf16ToStr} from './util';
29import {UpDataStructsRpcCollection, UpDataStructsCreateItemData, UpDataStructsProperty} from '@polkadot/types/lookup';29import {UpDataStructsRpcCollection, UpDataStructsCreateItemData, UpDataStructsProperty} from '@polkadot/types/lookup';
30import {UpDataStructsTokenChild} from '../interfaces';
3031
31chai.use(chaiAsPromised);32chai.use(chaiAsPromised);
32const expect = chai.expect;33const expect = chai.expect;
1165 if (owner == null) throw new Error('owner == null');1166 if (owner == null) throw new Error('owner == null');
1166 return normalizeAccountId(owner);1167 return normalizeAccountId(owner);
1167}1168}
1169export async function getTokenChildren(
1170 api: ApiPromise,
1171 collectionId: number,
1172 tokenId: number,
1173): Promise<UpDataStructsTokenChild[]> {
1174 return (await api.rpc.unique.tokenChildren(collectionId, tokenId)).toJSON() as any;
1175}
1168export async function isTokenExists(1176export async function isTokenExists(
1169 api: ApiPromise,1177 api: ApiPromise,
1170 collectionId: number,1178 collectionId: number,