difftreelog
CORE-238 add effective_collection_limits
in: master
13 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -9360,6 +9360,42 @@
]
[[package]]
+name = "sc-consensus-manual-seal"
+version = "0.10.0-dev"
+source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
+dependencies = [
+ "assert_matches",
+ "async-trait",
+ "futures 0.3.21",
+ "jsonrpc-core",
+ "jsonrpc-core-client",
+ "jsonrpc-derive",
+ "log",
+ "parity-scale-codec",
+ "sc-client-api",
+ "sc-consensus",
+ "sc-consensus-aura",
+ "sc-consensus-babe",
+ "sc-consensus-epochs",
+ "sc-transaction-pool",
+ "sc-transaction-pool-api",
+ "serde",
+ "sp-api",
+ "sp-blockchain",
+ "sp-consensus",
+ "sp-consensus-aura",
+ "sp-consensus-babe",
+ "sp-consensus-slots",
+ "sp-core",
+ "sp-inherents",
+ "sp-keystore",
+ "sp-runtime",
+ "sp-timestamp",
+ "substrate-prometheus-endpoint",
+ "thiserror",
+]
+
+[[package]]
name = "sc-consensus-slots"
version = "0.10.0-dev"
source = "git+https://github.com/paritytech/substrate.git?branch=polkadot-v0.9.17#22d40c761a985482f93bbbea5ba4199bdba74f8e"
@@ -11697,7 +11733,7 @@
"chrono",
"lazy_static",
"matchers",
- "parking_lot 0.11.2",
+ "parking_lot 0.10.2",
"regex",
"serde",
"serde_json",
@@ -11957,6 +11993,7 @@
"sc-client-api",
"sc-consensus",
"sc-consensus-aura",
+ "sc-consensus-manual-seal",
"sc-executor",
"sc-finality-grandpa",
"sc-keystore",
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -19,7 +19,7 @@
use codec::Decode;
use jsonrpc_core::{Error as RpcError, ErrorCode, Result};
use jsonrpc_derive::rpc;
-use up_data_structs::{Collection, CollectionId, CollectionStats, TokenId};
+use up_data_structs::{Collection, CollectionId, CollectionStats, CollectionLimits, TokenId};
use sp_api::{BlockId, BlockT, ProvideRuntimeApi, ApiExt};
use sp_blockchain::HeaderBackend;
use up_rpc::UniqueApi as UniqueRuntimeApi;
@@ -119,6 +119,12 @@
) -> Result<Option<Collection<AccountId>>>;
#[rpc(name = "unique_collectionStats")]
fn collection_stats(&self, at: Option<BlockHash>) -> Result<CollectionStats>;
+ #[rpc(name = "unique_effectiveCollectionLimits")]
+ fn effective_collection_limits(
+ &self,
+ collection_id: CollectionId,
+ at: Option<BlockHash>
+ ) -> Result<Option<CollectionLimits>>;
}
pub struct Unique<C, P> {
@@ -222,4 +228,5 @@
pass_method!(last_token_id(collection: CollectionId) -> TokenId);
pass_method!(collection_by_id(collection: CollectionId) -> Option<Collection<AccountId>>);
pass_method!(collection_stats() -> CollectionStats);
+ pass_method!(effective_collection_limits(collection_id: CollectionId) -> Option<CollectionLimits>);
}
pallets/common/src/lib.rsdiffbeforeafterboth--- a/pallets/common/src/lib.rs
+++ b/pallets/common/src/lib.rs
@@ -33,7 +33,7 @@
TokenId, Weight, WithdrawReasons, CollectionStats, MAX_TOKEN_OWNERSHIP, CollectionMode,
NFT_SPONSOR_TRANSFER_TIMEOUT, FUNGIBLE_SPONSOR_TRANSFER_TIMEOUT,
REFUNGIBLE_SPONSOR_TRANSFER_TIMEOUT, MAX_SPONSOR_TIMEOUT, CUSTOM_DATA_LIMIT, CollectionLimits,
- CustomDataLimit, CreateCollectionData, SponsorshipState, CreateItemExData,
+ CustomDataLimit, CreateCollectionData, SponsorshipState, CreateItemExData, SponsoringRateLimit
};
pub use pallet::*;
use sp_core::H160;
@@ -421,6 +421,30 @@
alive: created.0 - destroyed.0,
}
}
+
+ pub fn effective_collection_limits(collection: CollectionId) -> Option<CollectionLimits> {
+ let collection = <CollectionById<T>>::get(collection);
+ if collection.is_none() {
+ return None;
+ }
+
+ let limits = collection.unwrap().limits;
+ let effective_limits = CollectionLimits {
+ account_token_ownership_limit: Some(limits.account_token_ownership_limit()),
+ sponsored_data_size: Some(limits.sponsored_data_size()),
+ sponsored_data_rate_limit: Some(
+ limits.sponsored_data_rate_limit
+ .unwrap_or(SponsoringRateLimit::SponsoringDisabled)),
+ token_limit: Some(limits.token_limit()),
+ sponsor_transfer_timeout: Some(limits.sponsor_transfer_timeout(MAX_SPONSOR_TIMEOUT)),
+ sponsor_approve_timeout: Some(limits.sponsor_approve_timeout()),
+ owner_can_transfer: Some(limits.owner_can_transfer()),
+ owner_can_destroy: Some(limits.owner_can_destroy()),
+ transfers_enabled: Some(limits.transfers_enabled()),
+ };
+
+ Some(effective_limits)
+ }
}
impl<T: Config> Pallet<T> {
primitives/rpc/src/lib.rsdiffbeforeafterboth--- a/primitives/rpc/src/lib.rs
+++ b/primitives/rpc/src/lib.rs
@@ -16,7 +16,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
-use up_data_structs::{CollectionId, TokenId, Collection, CollectionStats};
+use up_data_structs::{CollectionId, TokenId, Collection, CollectionStats, CollectionLimits};
use sp_std::vec::Vec;
use sp_core::H160;
use codec::Decode;
@@ -59,5 +59,6 @@
fn last_token_id(collection: CollectionId) -> Result<TokenId>;
fn collection_by_id(collection: CollectionId) -> Result<Option<Collection<AccountId>>>;
fn collection_stats() -> Result<CollectionStats>;
+ fn effective_collection_limits(collection_id: CollectionId) -> Result<Option<CollectionLimits>>;
}
}
runtime/common/src/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/src/runtime_apis.rs
+++ b/runtime/common/src/runtime_apis.rs
@@ -69,6 +69,10 @@
fn collection_stats() -> Result<CollectionStats, DispatchError> {
Ok(<pallet_common::Pallet<Runtime>>::collection_stats())
}
+
+ fn effective_collection_limits(collection: CollectionId) -> Result<Option<CollectionLimits>, DispatchError> {
+ Ok(<pallet_common::Pallet<Runtime>>::effective_collection_limits(collection))
+ }
}
impl sp_api::Core<Block> for Runtime {
tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-errors.ts
+++ b/tests/src/interfaces/augment-api-errors.ts
@@ -105,6 +105,10 @@
**/
NoPermission: AugmentedError<ApiType>;
/**
+ * Not sufficient founds to perform action
+ **/
+ NotSufficientFounds: AugmentedError<ApiType>;
+ /**
* Tried to enable permissions which are only permitted to be disabled
**/
OwnerPermissionsCantBeReverted: AugmentedError<ApiType>;
tests/src/interfaces/augment-api-rpc.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-rpc.ts
+++ b/tests/src/interfaces/augment-api-rpc.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
/* eslint-disable */
-import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';
+import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionStats } from './unique';
import type { AugmentedRpc } from '@polkadot/rpc-core/types';
import type { Metadata, StorageKey } from '@polkadot/types';
import type { Bytes, HashMap, Json, Null, Option, Text, U256, U64, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec';
@@ -604,6 +604,10 @@
**/
constMetadata: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Bytes>>;
/**
+ * Get effective collection limits
+ **/
+ effectiveCollectionLimits: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<Option<UpDataStructsCollectionLimits>>>;
+ /**
* Get last token id
**/
lastTokenId: AugmentedRpc<(collection: u32 | AnyNumber | Uint8Array, at?: Hash | string | Uint8Array) => Observable<u32>>;
tests/src/interfaces/augment-types.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-types.ts
+++ b/tests/src/interfaces/augment-types.ts
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
-import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UniqueRuntimeRuntime, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 './unique';
+import type { CumulusPalletDmpQueueCall, CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueueError, CumulusPalletDmpQueueEvent, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmCall, CumulusPalletXcmError, CumulusPalletXcmEvent, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueInboundChannelDetails, CumulusPalletXcmpQueueInboundState, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesParachainInherentParachainInherentData, EthbloomBloom, EthereumBlock, EthereumHeader, EthereumLog, EthereumReceiptEip658ReceiptData, EthereumReceiptReceiptV3, EthereumTransactionAccessListItem, EthereumTransactionEip1559Transaction, EthereumTransactionEip2930Transaction, EthereumTransactionLegacyTransaction, EthereumTransactionTransactionAction, EthereumTransactionTransactionSignature, EthereumTransactionTransactionV2, EthereumTypesHashH64, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FpRpcTransactionStatus, FrameSupportPalletId, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassU64, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonce, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, OpalRuntimeRuntime, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonError, PalletCommonEvent, PalletEthereumCall, PalletEthereumError, PalletEthereumEvent, PalletEvmCall, PalletEvmCoderSubstrateError, PalletEvmContractHelpersError, PalletEvmContractHelpersSponsoringModeT, PalletEvmError, PalletEvmEvent, PalletEvmMigrationCall, PalletEvmMigrationError, PalletFungibleError, PalletInflationCall, PalletNonfungibleError, PalletNonfungibleItemData, PalletRefungibleError, PalletRefungibleItemData, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTemplateTransactionPaymentCall, PalletTemplateTransactionPaymentChargeTransactionPayment, PalletTimestampCall, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUniqueCall, PalletUniqueError, PalletUniqueRawEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1AbridgedHrmpChannel, PolkadotPrimitivesV1PersistedValidationData, PolkadotPrimitivesV1UpgradeRestriction, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Signature, SpRuntimeArithmeticError, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpTrieStorageProof, SpVersionRuntimeVersion, UpDataStructsAccessMode, UpDataStructsCollection, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionStats, UpDataStructsCreateCollectionData, UpDataStructsCreateFungibleData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsCreateNftData, UpDataStructsCreateNftExData, UpDataStructsCreateReFungibleData, UpDataStructsCreateRefungibleExData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, UpDataStructsSponsoringRateLimit, UpDataStructsSponsorshipState, 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 './unique';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
@@ -18,7 +18,7 @@
import type { StatementKind } from '@polkadot/types/interfaces/claims';
import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective';
import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus';
-import type { AliveContractInfo, CodeHash, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateReturnValue, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
+import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultErr, ContractExecResultErrModule, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts';
import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi';
import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan';
import type { ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus';
@@ -198,6 +198,7 @@
ClassMetadata: ClassMetadata;
CodecHash: CodecHash;
CodeHash: CodeHash;
+ CodeSource: CodeSource;
CodeUploadRequest: CodeUploadRequest;
CodeUploadResult: CodeUploadResult;
CodeUploadResultValue: CodeUploadResultValue;
@@ -250,6 +251,7 @@
ContractInfo: ContractInfo;
ContractInstantiateResult: ContractInstantiateResult;
ContractInstantiateResultTo267: ContractInstantiateResultTo267;
+ ContractInstantiateResultTo299: ContractInstantiateResultTo299;
ContractLayoutArray: ContractLayoutArray;
ContractLayoutCell: ContractLayoutCell;
ContractLayoutEnum: ContractLayoutEnum;
@@ -591,7 +593,10 @@
InstanceId: InstanceId;
InstanceMetadata: InstanceMetadata;
InstantiateRequest: InstantiateRequest;
+ InstantiateRequestV1: InstantiateRequestV1;
+ InstantiateRequestV2: InstantiateRequestV2;
InstantiateReturnValue: InstantiateReturnValue;
+ InstantiateReturnValueOk: InstantiateReturnValueOk;
InstantiateReturnValueTo267: InstantiateReturnValueTo267;
InstructionV2: InstructionV2;
InstructionWeights: InstructionWeights;
@@ -707,6 +712,7 @@
OffchainAccuracyCompact: OffchainAccuracyCompact;
OffenceDetails: OffenceDetails;
Offender: Offender;
+ OpalRuntimeRuntime: OpalRuntimeRuntime;
OpaqueCall: OpaqueCall;
OpaqueMultiaddr: OpaqueMultiaddr;
OpaqueNetworkState: OpaqueNetworkState;
@@ -1146,7 +1152,6 @@
UnappliedSlash: UnappliedSlash;
UnappliedSlashOther: UnappliedSlashOther;
UncleEntryItem: UncleEntryItem;
- UniqueRuntimeRuntime: UniqueRuntimeRuntime;
UnknownTransaction: UnknownTransaction;
UnlockChunk: UnlockChunk;
UnrewardedRelayer: UnrewardedRelayer;
tests/src/interfaces/lookup.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7 /**8 * Lookup2: polkadot_primitives::v1::PersistedValidationData<primitive_types::H256, N>9 **/10 PolkadotPrimitivesV1PersistedValidationData: {11 parentHead: 'Bytes',12 relayParentNumber: 'u32',13 relayParentStorageRoot: 'H256',14 maxPovSize: 'u32'15 },16 /**17 * Lookup9: polkadot_primitives::v1::UpgradeRestriction18 **/19 PolkadotPrimitivesV1UpgradeRestriction: {20 _enum: ['Present']21 },22 /**23 * Lookup10: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot24 **/25 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {26 dmqMqcHead: 'H256',27 relayDispatchQueueSize: '(u32,u32)',28 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>',29 egressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>'30 },31 /**32 * Lookup15: polkadot_primitives::v1::AbridgedHrmpChannel33 **/34 PolkadotPrimitivesV1AbridgedHrmpChannel: {35 maxCapacity: 'u32',36 maxTotalSize: 'u32',37 maxMessageSize: 'u32',38 msgCount: 'u32',39 totalSize: 'u32',40 mqcHead: 'Option<H256>'41 },42 /**43 * Lookup17: polkadot_primitives::v1::AbridgedHostConfiguration44 **/45 PolkadotPrimitivesV1AbridgedHostConfiguration: {46 maxCodeSize: 'u32',47 maxHeadDataSize: 'u32',48 maxUpwardQueueCount: 'u32',49 maxUpwardQueueSize: 'u32',50 maxUpwardMessageSize: 'u32',51 maxUpwardMessageNumPerCandidate: 'u32',52 hrmpMaxMessageNumPerCandidate: 'u32',53 validationUpgradeCooldown: 'u32',54 validationUpgradeDelay: 'u32'55 },56 /**57 * Lookup23: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>58 **/59 PolkadotCorePrimitivesOutboundHrmpMessage: {60 recipient: 'u32',61 data: 'Bytes'62 },63 /**64 * Lookup26: cumulus_pallet_parachain_system::pallet::Call<T>65 **/66 CumulusPalletParachainSystemCall: {67 _enum: {68 set_validation_data: {69 data: 'CumulusPrimitivesParachainInherentParachainInherentData',70 },71 sudo_send_upward_message: {72 message: 'Bytes',73 },74 authorize_upgrade: {75 codeHash: 'H256',76 },77 enact_authorized_upgrade: {78 code: 'Bytes'79 }80 }81 },82 /**83 * Lookup27: cumulus_primitives_parachain_inherent::ParachainInherentData84 **/85 CumulusPrimitivesParachainInherentParachainInherentData: {86 validationData: 'PolkadotPrimitivesV1PersistedValidationData',87 relayChainState: 'SpTrieStorageProof',88 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',89 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'90 },91 /**92 * Lookup28: sp_trie::storage_proof::StorageProof93 **/94 SpTrieStorageProof: {95 trieNodes: 'Vec<Bytes>'96 },97 /**98 * Lookup30: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>99 **/100 PolkadotCorePrimitivesInboundDownwardMessage: {101 sentAt: 'u32',102 msg: 'Bytes'103 },104 /**105 * Lookup33: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>106 **/107 PolkadotCorePrimitivesInboundHrmpMessage: {108 sentAt: 'u32',109 data: 'Bytes'110 },111 /**112 * Lookup36: cumulus_pallet_parachain_system::pallet::Event<T>113 **/114 CumulusPalletParachainSystemEvent: {115 _enum: {116 ValidationFunctionStored: 'Null',117 ValidationFunctionApplied: 'u32',118 ValidationFunctionDiscarded: 'Null',119 UpgradeAuthorized: 'H256',120 DownwardMessagesReceived: 'u32',121 DownwardMessagesProcessed: '(u64,H256)'122 }123 },124 /**125 * Lookup37: cumulus_pallet_parachain_system::pallet::Error<T>126 **/127 CumulusPalletParachainSystemError: {128 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']129 },130 /**131 * Lookup40: pallet_balances::AccountData<Balance>132 **/133 PalletBalancesAccountData: {134 free: 'u128',135 reserved: 'u128',136 miscFrozen: 'u128',137 feeFrozen: 'u128'138 },139 /**140 * Lookup42: pallet_balances::BalanceLock<Balance>141 **/142 PalletBalancesBalanceLock: {143 id: '[u8;8]',144 amount: 'u128',145 reasons: 'PalletBalancesReasons'146 },147 /**148 * Lookup44: pallet_balances::Reasons149 **/150 PalletBalancesReasons: {151 _enum: ['Fee', 'Misc', 'All']152 },153 /**154 * Lookup47: pallet_balances::ReserveData<ReserveIdentifier, Balance>155 **/156 PalletBalancesReserveData: {157 id: '[u8;8]',158 amount: 'u128'159 },160 /**161 * Lookup49: pallet_balances::Releases162 **/163 PalletBalancesReleases: {164 _enum: ['V1_0_0', 'V2_0_0']165 },166 /**167 * Lookup50: pallet_balances::pallet::Call<T, I>168 **/169 PalletBalancesCall: {170 _enum: {171 transfer: {172 dest: 'MultiAddress',173 value: 'Compact<u128>',174 },175 set_balance: {176 who: 'MultiAddress',177 newFree: 'Compact<u128>',178 newReserved: 'Compact<u128>',179 },180 force_transfer: {181 source: 'MultiAddress',182 dest: 'MultiAddress',183 value: 'Compact<u128>',184 },185 transfer_keep_alive: {186 dest: 'MultiAddress',187 value: 'Compact<u128>',188 },189 transfer_all: {190 dest: 'MultiAddress',191 keepAlive: 'bool',192 },193 force_unreserve: {194 who: 'MultiAddress',195 amount: 'u128'196 }197 }198 },199 /**200 * Lookup56: pallet_balances::pallet::Event<T, I>201 **/202 PalletBalancesEvent: {203 _enum: {204 Endowed: {205 account: 'AccountId32',206 freeBalance: 'u128',207 },208 DustLost: {209 account: 'AccountId32',210 amount: 'u128',211 },212 Transfer: {213 from: 'AccountId32',214 to: 'AccountId32',215 amount: 'u128',216 },217 BalanceSet: {218 who: 'AccountId32',219 free: 'u128',220 reserved: 'u128',221 },222 Reserved: {223 who: 'AccountId32',224 amount: 'u128',225 },226 Unreserved: {227 who: 'AccountId32',228 amount: 'u128',229 },230 ReserveRepatriated: {231 from: 'AccountId32',232 to: 'AccountId32',233 amount: 'u128',234 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',235 },236 Deposit: {237 who: 'AccountId32',238 amount: 'u128',239 },240 Withdraw: {241 who: 'AccountId32',242 amount: 'u128',243 },244 Slashed: {245 who: 'AccountId32',246 amount: 'u128'247 }248 }249 },250 /**251 * Lookup57: frame_support::traits::tokens::misc::BalanceStatus252 **/253 FrameSupportTokensMiscBalanceStatus: {254 _enum: ['Free', 'Reserved']255 },256 /**257 * Lookup58: pallet_balances::pallet::Error<T, I>258 **/259 PalletBalancesError: {260 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']261 },262 /**263 * Lookup61: pallet_timestamp::pallet::Call<T>264 **/265 PalletTimestampCall: {266 _enum: {267 set: {268 now: 'Compact<u64>'269 }270 }271 },272 /**273 * Lookup64: pallet_transaction_payment::Releases274 **/275 PalletTransactionPaymentReleases: {276 _enum: ['V1Ancient', 'V2']277 },278 /**279 * Lookup66: frame_support::weights::WeightToFeeCoefficient<Balance>280 **/281 FrameSupportWeightsWeightToFeeCoefficient: {282 coeffInteger: 'u128',283 coeffFrac: 'Perbill',284 negative: 'bool',285 degree: 'u8'286 },287 /**288 * Lookup68: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>289 **/290 PalletTreasuryProposal: {291 proposer: 'AccountId32',292 value: 'u128',293 beneficiary: 'AccountId32',294 bond: 'u128'295 },296 /**297 * Lookup71: pallet_treasury::pallet::Call<T, I>298 **/299 PalletTreasuryCall: {300 _enum: {301 propose_spend: {302 value: 'Compact<u128>',303 beneficiary: 'MultiAddress',304 },305 reject_proposal: {306 proposalId: 'Compact<u32>',307 },308 approve_proposal: {309 proposalId: 'Compact<u32>'310 }311 }312 },313 /**314 * Lookup73: pallet_treasury::pallet::Event<T, I>315 **/316 PalletTreasuryEvent: {317 _enum: {318 Proposed: {319 proposalIndex: 'u32',320 },321 Spending: {322 budgetRemaining: 'u128',323 },324 Awarded: {325 proposalIndex: 'u32',326 award: 'u128',327 account: 'AccountId32',328 },329 Rejected: {330 proposalIndex: 'u32',331 slashed: 'u128',332 },333 Burnt: {334 burntFunds: 'u128',335 },336 Rollover: {337 rolloverBalance: 'u128',338 },339 Deposit: {340 value: 'u128'341 }342 }343 },344 /**345 * Lookup76: frame_support::PalletId346 **/347 FrameSupportPalletId: '[u8;8]',348 /**349 * Lookup77: pallet_treasury::pallet::Error<T, I>350 **/351 PalletTreasuryError: {352 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']353 },354 /**355 * Lookup78: pallet_sudo::pallet::Call<T>356 **/357 PalletSudoCall: {358 _enum: {359 sudo: {360 call: 'Call',361 },362 sudo_unchecked_weight: {363 call: 'Call',364 weight: 'u64',365 },366 set_key: {367 _alias: {368 new_: 'new',369 },370 new_: 'MultiAddress',371 },372 sudo_as: {373 who: 'MultiAddress',374 call: 'Call'375 }376 }377 },378 /**379 * Lookup80: frame_system::pallet::Call<T>380 **/381 FrameSystemCall: {382 _enum: {383 fill_block: {384 ratio: 'Perbill',385 },386 remark: {387 remark: 'Bytes',388 },389 set_heap_pages: {390 pages: 'u64',391 },392 set_code: {393 code: 'Bytes',394 },395 set_code_without_checks: {396 code: 'Bytes',397 },398 set_storage: {399 items: 'Vec<(Bytes,Bytes)>',400 },401 kill_storage: {402 _alias: {403 keys_: 'keys',404 },405 keys_: 'Vec<Bytes>',406 },407 kill_prefix: {408 prefix: 'Bytes',409 subkeys: 'u32',410 },411 remark_with_event: {412 remark: 'Bytes'413 }414 }415 },416 /**417 * Lookup83: orml_vesting::module::Call<T>418 **/419 OrmlVestingModuleCall: {420 _enum: {421 claim: 'Null',422 vested_transfer: {423 dest: 'MultiAddress',424 schedule: 'OrmlVestingVestingSchedule',425 },426 update_vesting_schedules: {427 who: 'MultiAddress',428 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',429 },430 claim_for: {431 dest: 'MultiAddress'432 }433 }434 },435 /**436 * Lookup84: orml_vesting::VestingSchedule<BlockNumber, Balance>437 **/438 OrmlVestingVestingSchedule: {439 start: 'u32',440 period: 'u32',441 periodCount: 'u32',442 perPeriod: 'Compact<u128>'443 },444 /**445 * Lookup86: cumulus_pallet_xcmp_queue::pallet::Call<T>446 **/447 CumulusPalletXcmpQueueCall: {448 _enum: {449 service_overweight: {450 index: 'u64',451 weightLimit: 'u64',452 },453 suspend_xcm_execution: 'Null',454 resume_xcm_execution: 'Null',455 update_suspend_threshold: {456 _alias: {457 new_: 'new',458 },459 new_: 'u32',460 },461 update_drop_threshold: {462 _alias: {463 new_: 'new',464 },465 new_: 'u32',466 },467 update_resume_threshold: {468 _alias: {469 new_: 'new',470 },471 new_: 'u32',472 },473 update_threshold_weight: {474 _alias: {475 new_: 'new',476 },477 new_: 'u64',478 },479 update_weight_restrict_decay: {480 _alias: {481 new_: 'new',482 },483 new_: 'u64',484 },485 update_xcmp_max_individual_weight: {486 _alias: {487 new_: 'new',488 },489 new_: 'u64'490 }491 }492 },493 /**494 * Lookup87: pallet_xcm::pallet::Call<T>495 **/496 PalletXcmCall: {497 _enum: {498 send: {499 dest: 'XcmVersionedMultiLocation',500 message: 'XcmVersionedXcm',501 },502 teleport_assets: {503 dest: 'XcmVersionedMultiLocation',504 beneficiary: 'XcmVersionedMultiLocation',505 assets: 'XcmVersionedMultiAssets',506 feeAssetItem: 'u32',507 },508 reserve_transfer_assets: {509 dest: 'XcmVersionedMultiLocation',510 beneficiary: 'XcmVersionedMultiLocation',511 assets: 'XcmVersionedMultiAssets',512 feeAssetItem: 'u32',513 },514 execute: {515 message: 'XcmVersionedXcm',516 maxWeight: 'u64',517 },518 force_xcm_version: {519 location: 'XcmV1MultiLocation',520 xcmVersion: 'u32',521 },522 force_default_xcm_version: {523 maybeXcmVersion: 'Option<u32>',524 },525 force_subscribe_version_notify: {526 location: 'XcmVersionedMultiLocation',527 },528 force_unsubscribe_version_notify: {529 location: 'XcmVersionedMultiLocation',530 },531 limited_reserve_transfer_assets: {532 dest: 'XcmVersionedMultiLocation',533 beneficiary: 'XcmVersionedMultiLocation',534 assets: 'XcmVersionedMultiAssets',535 feeAssetItem: 'u32',536 weightLimit: 'XcmV2WeightLimit',537 },538 limited_teleport_assets: {539 dest: 'XcmVersionedMultiLocation',540 beneficiary: 'XcmVersionedMultiLocation',541 assets: 'XcmVersionedMultiAssets',542 feeAssetItem: 'u32',543 weightLimit: 'XcmV2WeightLimit'544 }545 }546 },547 /**548 * Lookup88: xcm::VersionedMultiLocation549 **/550 XcmVersionedMultiLocation: {551 _enum: {552 V0: 'XcmV0MultiLocation',553 V1: 'XcmV1MultiLocation'554 }555 },556 /**557 * Lookup89: xcm::v0::multi_location::MultiLocation558 **/559 XcmV0MultiLocation: {560 _enum: {561 Null: 'Null',562 X1: 'XcmV0Junction',563 X2: '(XcmV0Junction,XcmV0Junction)',564 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',565 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',566 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',567 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',568 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',569 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'570 }571 },572 /**573 * Lookup90: xcm::v0::junction::Junction574 **/575 XcmV0Junction: {576 _enum: {577 Parent: 'Null',578 Parachain: 'Compact<u32>',579 AccountId32: {580 network: 'XcmV0JunctionNetworkId',581 id: '[u8;32]',582 },583 AccountIndex64: {584 network: 'XcmV0JunctionNetworkId',585 index: 'Compact<u64>',586 },587 AccountKey20: {588 network: 'XcmV0JunctionNetworkId',589 key: '[u8;20]',590 },591 PalletInstance: 'u8',592 GeneralIndex: 'Compact<u128>',593 GeneralKey: 'Bytes',594 OnlyChild: 'Null',595 Plurality: {596 id: 'XcmV0JunctionBodyId',597 part: 'XcmV0JunctionBodyPart'598 }599 }600 },601 /**602 * Lookup91: xcm::v0::junction::NetworkId603 **/604 XcmV0JunctionNetworkId: {605 _enum: {606 Any: 'Null',607 Named: 'Bytes',608 Polkadot: 'Null',609 Kusama: 'Null'610 }611 },612 /**613 * Lookup92: xcm::v0::junction::BodyId614 **/615 XcmV0JunctionBodyId: {616 _enum: {617 Unit: 'Null',618 Named: 'Bytes',619 Index: 'Compact<u32>',620 Executive: 'Null',621 Technical: 'Null',622 Legislative: 'Null',623 Judicial: 'Null'624 }625 },626 /**627 * Lookup93: xcm::v0::junction::BodyPart628 **/629 XcmV0JunctionBodyPart: {630 _enum: {631 Voice: 'Null',632 Members: {633 count: 'Compact<u32>',634 },635 Fraction: {636 nom: 'Compact<u32>',637 denom: 'Compact<u32>',638 },639 AtLeastProportion: {640 nom: 'Compact<u32>',641 denom: 'Compact<u32>',642 },643 MoreThanProportion: {644 nom: 'Compact<u32>',645 denom: 'Compact<u32>'646 }647 }648 },649 /**650 * Lookup94: xcm::v1::multilocation::MultiLocation651 **/652 XcmV1MultiLocation: {653 parents: 'u8',654 interior: 'XcmV1MultilocationJunctions'655 },656 /**657 * Lookup95: xcm::v1::multilocation::Junctions658 **/659 XcmV1MultilocationJunctions: {660 _enum: {661 Here: 'Null',662 X1: 'XcmV1Junction',663 X2: '(XcmV1Junction,XcmV1Junction)',664 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',665 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',666 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',667 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',668 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',669 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'670 }671 },672 /**673 * Lookup96: xcm::v1::junction::Junction674 **/675 XcmV1Junction: {676 _enum: {677 Parachain: 'Compact<u32>',678 AccountId32: {679 network: 'XcmV0JunctionNetworkId',680 id: '[u8;32]',681 },682 AccountIndex64: {683 network: 'XcmV0JunctionNetworkId',684 index: 'Compact<u64>',685 },686 AccountKey20: {687 network: 'XcmV0JunctionNetworkId',688 key: '[u8;20]',689 },690 PalletInstance: 'u8',691 GeneralIndex: 'Compact<u128>',692 GeneralKey: 'Bytes',693 OnlyChild: 'Null',694 Plurality: {695 id: 'XcmV0JunctionBodyId',696 part: 'XcmV0JunctionBodyPart'697 }698 }699 },700 /**701 * Lookup97: xcm::VersionedXcm<Call>702 **/703 XcmVersionedXcm: {704 _enum: {705 V0: 'XcmV0Xcm',706 V1: 'XcmV1Xcm',707 V2: 'XcmV2Xcm'708 }709 },710 /**711 * Lookup98: xcm::v0::Xcm<Call>712 **/713 XcmV0Xcm: {714 _enum: {715 WithdrawAsset: {716 assets: 'Vec<XcmV0MultiAsset>',717 effects: 'Vec<XcmV0Order>',718 },719 ReserveAssetDeposit: {720 assets: 'Vec<XcmV0MultiAsset>',721 effects: 'Vec<XcmV0Order>',722 },723 TeleportAsset: {724 assets: 'Vec<XcmV0MultiAsset>',725 effects: 'Vec<XcmV0Order>',726 },727 QueryResponse: {728 queryId: 'Compact<u64>',729 response: 'XcmV0Response',730 },731 TransferAsset: {732 assets: 'Vec<XcmV0MultiAsset>',733 dest: 'XcmV0MultiLocation',734 },735 TransferReserveAsset: {736 assets: 'Vec<XcmV0MultiAsset>',737 dest: 'XcmV0MultiLocation',738 effects: 'Vec<XcmV0Order>',739 },740 Transact: {741 originType: 'XcmV0OriginKind',742 requireWeightAtMost: 'u64',743 call: 'XcmDoubleEncoded',744 },745 HrmpNewChannelOpenRequest: {746 sender: 'Compact<u32>',747 maxMessageSize: 'Compact<u32>',748 maxCapacity: 'Compact<u32>',749 },750 HrmpChannelAccepted: {751 recipient: 'Compact<u32>',752 },753 HrmpChannelClosing: {754 initiator: 'Compact<u32>',755 sender: 'Compact<u32>',756 recipient: 'Compact<u32>',757 },758 RelayedFrom: {759 who: 'XcmV0MultiLocation',760 message: 'XcmV0Xcm'761 }762 }763 },764 /**765 * Lookup100: xcm::v0::multi_asset::MultiAsset766 **/767 XcmV0MultiAsset: {768 _enum: {769 None: 'Null',770 All: 'Null',771 AllFungible: 'Null',772 AllNonFungible: 'Null',773 AllAbstractFungible: {774 id: 'Bytes',775 },776 AllAbstractNonFungible: {777 class: 'Bytes',778 },779 AllConcreteFungible: {780 id: 'XcmV0MultiLocation',781 },782 AllConcreteNonFungible: {783 class: 'XcmV0MultiLocation',784 },785 AbstractFungible: {786 id: 'Bytes',787 amount: 'Compact<u128>',788 },789 AbstractNonFungible: {790 class: 'Bytes',791 instance: 'XcmV1MultiassetAssetInstance',792 },793 ConcreteFungible: {794 id: 'XcmV0MultiLocation',795 amount: 'Compact<u128>',796 },797 ConcreteNonFungible: {798 class: 'XcmV0MultiLocation',799 instance: 'XcmV1MultiassetAssetInstance'800 }801 }802 },803 /**804 * Lookup101: xcm::v1::multiasset::AssetInstance805 **/806 XcmV1MultiassetAssetInstance: {807 _enum: {808 Undefined: 'Null',809 Index: 'Compact<u128>',810 Array4: '[u8;4]',811 Array8: '[u8;8]',812 Array16: '[u8;16]',813 Array32: '[u8;32]',814 Blob: 'Bytes'815 }816 },817 /**818 * Lookup105: xcm::v0::order::Order<Call>819 **/820 XcmV0Order: {821 _enum: {822 Null: 'Null',823 DepositAsset: {824 assets: 'Vec<XcmV0MultiAsset>',825 dest: 'XcmV0MultiLocation',826 },827 DepositReserveAsset: {828 assets: 'Vec<XcmV0MultiAsset>',829 dest: 'XcmV0MultiLocation',830 effects: 'Vec<XcmV0Order>',831 },832 ExchangeAsset: {833 give: 'Vec<XcmV0MultiAsset>',834 receive: 'Vec<XcmV0MultiAsset>',835 },836 InitiateReserveWithdraw: {837 assets: 'Vec<XcmV0MultiAsset>',838 reserve: 'XcmV0MultiLocation',839 effects: 'Vec<XcmV0Order>',840 },841 InitiateTeleport: {842 assets: 'Vec<XcmV0MultiAsset>',843 dest: 'XcmV0MultiLocation',844 effects: 'Vec<XcmV0Order>',845 },846 QueryHolding: {847 queryId: 'Compact<u64>',848 dest: 'XcmV0MultiLocation',849 assets: 'Vec<XcmV0MultiAsset>',850 },851 BuyExecution: {852 fees: 'XcmV0MultiAsset',853 weight: 'u64',854 debt: 'u64',855 haltOnError: 'bool',856 xcm: 'Vec<XcmV0Xcm>'857 }858 }859 },860 /**861 * Lookup107: xcm::v0::Response862 **/863 XcmV0Response: {864 _enum: {865 Assets: 'Vec<XcmV0MultiAsset>'866 }867 },868 /**869 * Lookup108: xcm::v0::OriginKind870 **/871 XcmV0OriginKind: {872 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']873 },874 /**875 * Lookup109: xcm::double_encoded::DoubleEncoded<T>876 **/877 XcmDoubleEncoded: {878 encoded: 'Bytes'879 },880 /**881 * Lookup110: xcm::v1::Xcm<Call>882 **/883 XcmV1Xcm: {884 _enum: {885 WithdrawAsset: {886 assets: 'XcmV1MultiassetMultiAssets',887 effects: 'Vec<XcmV1Order>',888 },889 ReserveAssetDeposited: {890 assets: 'XcmV1MultiassetMultiAssets',891 effects: 'Vec<XcmV1Order>',892 },893 ReceiveTeleportedAsset: {894 assets: 'XcmV1MultiassetMultiAssets',895 effects: 'Vec<XcmV1Order>',896 },897 QueryResponse: {898 queryId: 'Compact<u64>',899 response: 'XcmV1Response',900 },901 TransferAsset: {902 assets: 'XcmV1MultiassetMultiAssets',903 beneficiary: 'XcmV1MultiLocation',904 },905 TransferReserveAsset: {906 assets: 'XcmV1MultiassetMultiAssets',907 dest: 'XcmV1MultiLocation',908 effects: 'Vec<XcmV1Order>',909 },910 Transact: {911 originType: 'XcmV0OriginKind',912 requireWeightAtMost: 'u64',913 call: 'XcmDoubleEncoded',914 },915 HrmpNewChannelOpenRequest: {916 sender: 'Compact<u32>',917 maxMessageSize: 'Compact<u32>',918 maxCapacity: 'Compact<u32>',919 },920 HrmpChannelAccepted: {921 recipient: 'Compact<u32>',922 },923 HrmpChannelClosing: {924 initiator: 'Compact<u32>',925 sender: 'Compact<u32>',926 recipient: 'Compact<u32>',927 },928 RelayedFrom: {929 who: 'XcmV1MultilocationJunctions',930 message: 'XcmV1Xcm',931 },932 SubscribeVersion: {933 queryId: 'Compact<u64>',934 maxResponseWeight: 'Compact<u64>',935 },936 UnsubscribeVersion: 'Null'937 }938 },939 /**940 * Lookup111: xcm::v1::multiasset::MultiAssets941 **/942 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',943 /**944 * Lookup113: xcm::v1::multiasset::MultiAsset945 **/946 XcmV1MultiAsset: {947 id: 'XcmV1MultiassetAssetId',948 fun: 'XcmV1MultiassetFungibility'949 },950 /**951 * Lookup114: xcm::v1::multiasset::AssetId952 **/953 XcmV1MultiassetAssetId: {954 _enum: {955 Concrete: 'XcmV1MultiLocation',956 Abstract: 'Bytes'957 }958 },959 /**960 * Lookup115: xcm::v1::multiasset::Fungibility961 **/962 XcmV1MultiassetFungibility: {963 _enum: {964 Fungible: 'Compact<u128>',965 NonFungible: 'XcmV1MultiassetAssetInstance'966 }967 },968 /**969 * Lookup117: xcm::v1::order::Order<Call>970 **/971 XcmV1Order: {972 _enum: {973 Noop: 'Null',974 DepositAsset: {975 assets: 'XcmV1MultiassetMultiAssetFilter',976 maxAssets: 'u32',977 beneficiary: 'XcmV1MultiLocation',978 },979 DepositReserveAsset: {980 assets: 'XcmV1MultiassetMultiAssetFilter',981 maxAssets: 'u32',982 dest: 'XcmV1MultiLocation',983 effects: 'Vec<XcmV1Order>',984 },985 ExchangeAsset: {986 give: 'XcmV1MultiassetMultiAssetFilter',987 receive: 'XcmV1MultiassetMultiAssets',988 },989 InitiateReserveWithdraw: {990 assets: 'XcmV1MultiassetMultiAssetFilter',991 reserve: 'XcmV1MultiLocation',992 effects: 'Vec<XcmV1Order>',993 },994 InitiateTeleport: {995 assets: 'XcmV1MultiassetMultiAssetFilter',996 dest: 'XcmV1MultiLocation',997 effects: 'Vec<XcmV1Order>',998 },999 QueryHolding: {1000 queryId: 'Compact<u64>',1001 dest: 'XcmV1MultiLocation',1002 assets: 'XcmV1MultiassetMultiAssetFilter',1003 },1004 BuyExecution: {1005 fees: 'XcmV1MultiAsset',1006 weight: 'u64',1007 debt: 'u64',1008 haltOnError: 'bool',1009 instructions: 'Vec<XcmV1Xcm>'1010 }1011 }1012 },1013 /**1014 * Lookup118: xcm::v1::multiasset::MultiAssetFilter1015 **/1016 XcmV1MultiassetMultiAssetFilter: {1017 _enum: {1018 Definite: 'XcmV1MultiassetMultiAssets',1019 Wild: 'XcmV1MultiassetWildMultiAsset'1020 }1021 },1022 /**1023 * Lookup119: xcm::v1::multiasset::WildMultiAsset1024 **/1025 XcmV1MultiassetWildMultiAsset: {1026 _enum: {1027 All: 'Null',1028 AllOf: {1029 id: 'XcmV1MultiassetAssetId',1030 fun: 'XcmV1MultiassetWildFungibility'1031 }1032 }1033 },1034 /**1035 * Lookup120: xcm::v1::multiasset::WildFungibility1036 **/1037 XcmV1MultiassetWildFungibility: {1038 _enum: ['Fungible', 'NonFungible']1039 },1040 /**1041 * Lookup122: xcm::v1::Response1042 **/1043 XcmV1Response: {1044 _enum: {1045 Assets: 'XcmV1MultiassetMultiAssets',1046 Version: 'u32'1047 }1048 },1049 /**1050 * Lookup123: xcm::v2::Xcm<Call>1051 **/1052 XcmV2Xcm: 'Vec<XcmV2Instruction>',1053 /**1054 * Lookup125: xcm::v2::Instruction<Call>1055 **/1056 XcmV2Instruction: {1057 _enum: {1058 WithdrawAsset: 'XcmV1MultiassetMultiAssets',1059 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1060 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1061 QueryResponse: {1062 queryId: 'Compact<u64>',1063 response: 'XcmV2Response',1064 maxWeight: 'Compact<u64>',1065 },1066 TransferAsset: {1067 assets: 'XcmV1MultiassetMultiAssets',1068 beneficiary: 'XcmV1MultiLocation',1069 },1070 TransferReserveAsset: {1071 assets: 'XcmV1MultiassetMultiAssets',1072 dest: 'XcmV1MultiLocation',1073 xcm: 'XcmV2Xcm',1074 },1075 Transact: {1076 originType: 'XcmV0OriginKind',1077 requireWeightAtMost: 'Compact<u64>',1078 call: 'XcmDoubleEncoded',1079 },1080 HrmpNewChannelOpenRequest: {1081 sender: 'Compact<u32>',1082 maxMessageSize: 'Compact<u32>',1083 maxCapacity: 'Compact<u32>',1084 },1085 HrmpChannelAccepted: {1086 recipient: 'Compact<u32>',1087 },1088 HrmpChannelClosing: {1089 initiator: 'Compact<u32>',1090 sender: 'Compact<u32>',1091 recipient: 'Compact<u32>',1092 },1093 ClearOrigin: 'Null',1094 DescendOrigin: 'XcmV1MultilocationJunctions',1095 ReportError: {1096 queryId: 'Compact<u64>',1097 dest: 'XcmV1MultiLocation',1098 maxResponseWeight: 'Compact<u64>',1099 },1100 DepositAsset: {1101 assets: 'XcmV1MultiassetMultiAssetFilter',1102 maxAssets: 'Compact<u32>',1103 beneficiary: 'XcmV1MultiLocation',1104 },1105 DepositReserveAsset: {1106 assets: 'XcmV1MultiassetMultiAssetFilter',1107 maxAssets: 'Compact<u32>',1108 dest: 'XcmV1MultiLocation',1109 xcm: 'XcmV2Xcm',1110 },1111 ExchangeAsset: {1112 give: 'XcmV1MultiassetMultiAssetFilter',1113 receive: 'XcmV1MultiassetMultiAssets',1114 },1115 InitiateReserveWithdraw: {1116 assets: 'XcmV1MultiassetMultiAssetFilter',1117 reserve: 'XcmV1MultiLocation',1118 xcm: 'XcmV2Xcm',1119 },1120 InitiateTeleport: {1121 assets: 'XcmV1MultiassetMultiAssetFilter',1122 dest: 'XcmV1MultiLocation',1123 xcm: 'XcmV2Xcm',1124 },1125 QueryHolding: {1126 queryId: 'Compact<u64>',1127 dest: 'XcmV1MultiLocation',1128 assets: 'XcmV1MultiassetMultiAssetFilter',1129 maxResponseWeight: 'Compact<u64>',1130 },1131 BuyExecution: {1132 fees: 'XcmV1MultiAsset',1133 weightLimit: 'XcmV2WeightLimit',1134 },1135 RefundSurplus: 'Null',1136 SetErrorHandler: 'XcmV2Xcm',1137 SetAppendix: 'XcmV2Xcm',1138 ClearError: 'Null',1139 ClaimAsset: {1140 assets: 'XcmV1MultiassetMultiAssets',1141 ticket: 'XcmV1MultiLocation',1142 },1143 Trap: 'Compact<u64>',1144 SubscribeVersion: {1145 queryId: 'Compact<u64>',1146 maxResponseWeight: 'Compact<u64>',1147 },1148 UnsubscribeVersion: 'Null'1149 }1150 },1151 /**1152 * Lookup126: xcm::v2::Response1153 **/1154 XcmV2Response: {1155 _enum: {1156 Null: 'Null',1157 Assets: 'XcmV1MultiassetMultiAssets',1158 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1159 Version: 'u32'1160 }1161 },1162 /**1163 * Lookup129: xcm::v2::traits::Error1164 **/1165 XcmV2TraitsError: {1166 _enum: {1167 Overflow: 'Null',1168 Unimplemented: 'Null',1169 UntrustedReserveLocation: 'Null',1170 UntrustedTeleportLocation: 'Null',1171 MultiLocationFull: 'Null',1172 MultiLocationNotInvertible: 'Null',1173 BadOrigin: 'Null',1174 InvalidLocation: 'Null',1175 AssetNotFound: 'Null',1176 FailedToTransactAsset: 'Null',1177 NotWithdrawable: 'Null',1178 LocationCannotHold: 'Null',1179 ExceedsMaxMessageSize: 'Null',1180 DestinationUnsupported: 'Null',1181 Transport: 'Null',1182 Unroutable: 'Null',1183 UnknownClaim: 'Null',1184 FailedToDecode: 'Null',1185 MaxWeightInvalid: 'Null',1186 NotHoldingFees: 'Null',1187 TooExpensive: 'Null',1188 Trap: 'u64',1189 UnhandledXcmVersion: 'Null',1190 WeightLimitReached: 'u64',1191 Barrier: 'Null',1192 WeightNotComputable: 'Null'1193 }1194 },1195 /**1196 * Lookup130: xcm::v2::WeightLimit1197 **/1198 XcmV2WeightLimit: {1199 _enum: {1200 Unlimited: 'Null',1201 Limited: 'Compact<u64>'1202 }1203 },1204 /**1205 * Lookup131: xcm::VersionedMultiAssets1206 **/1207 XcmVersionedMultiAssets: {1208 _enum: {1209 V0: 'Vec<XcmV0MultiAsset>',1210 V1: 'XcmV1MultiassetMultiAssets'1211 }1212 },1213 /**1214 * Lookup146: cumulus_pallet_xcm::pallet::Call<T>1215 **/1216 CumulusPalletXcmCall: 'Null',1217 /**1218 * Lookup147: cumulus_pallet_dmp_queue::pallet::Call<T>1219 **/1220 CumulusPalletDmpQueueCall: {1221 _enum: {1222 service_overweight: {1223 index: 'u64',1224 weightLimit: 'u64'1225 }1226 }1227 },1228 /**1229 * Lookup148: pallet_inflation::pallet::Call<T>1230 **/1231 PalletInflationCall: {1232 _enum: {1233 start_inflation: {1234 inflationStartRelayBlock: 'u32'1235 }1236 }1237 },1238 /**1239 * Lookup149: pallet_unique::Call<T>1240 **/1241 PalletUniqueCall: {1242 _enum: {1243 create_collection: {1244 collectionName: 'Vec<u16>',1245 collectionDescription: 'Vec<u16>',1246 tokenPrefix: 'Bytes',1247 mode: 'UpDataStructsCollectionMode',1248 },1249 create_collection_ex: {1250 data: 'UpDataStructsCreateCollectionData',1251 },1252 destroy_collection: {1253 collectionId: 'u32',1254 },1255 add_to_allow_list: {1256 collectionId: 'u32',1257 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1258 },1259 remove_from_allow_list: {1260 collectionId: 'u32',1261 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1262 },1263 set_public_access_mode: {1264 collectionId: 'u32',1265 mode: 'UpDataStructsAccessMode',1266 },1267 set_mint_permission: {1268 collectionId: 'u32',1269 mintPermission: 'bool',1270 },1271 change_collection_owner: {1272 collectionId: 'u32',1273 newOwner: 'AccountId32',1274 },1275 add_collection_admin: {1276 collectionId: 'u32',1277 newAdminId: 'PalletCommonAccountBasicCrossAccountIdRepr',1278 },1279 remove_collection_admin: {1280 collectionId: 'u32',1281 accountId: 'PalletCommonAccountBasicCrossAccountIdRepr',1282 },1283 set_collection_sponsor: {1284 collectionId: 'u32',1285 newSponsor: 'AccountId32',1286 },1287 confirm_sponsorship: {1288 collectionId: 'u32',1289 },1290 remove_collection_sponsor: {1291 collectionId: 'u32',1292 },1293 create_item: {1294 collectionId: 'u32',1295 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1296 data: 'UpDataStructsCreateItemData',1297 },1298 create_multiple_items: {1299 collectionId: 'u32',1300 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1301 itemsData: 'Vec<UpDataStructsCreateItemData>',1302 },1303 create_multiple_items_ex: {1304 collectionId: 'u32',1305 data: 'UpDataStructsCreateItemExData',1306 },1307 set_transfers_enabled_flag: {1308 collectionId: 'u32',1309 value: 'bool',1310 },1311 burn_item: {1312 collectionId: 'u32',1313 itemId: 'u32',1314 value: 'u128',1315 },1316 burn_from: {1317 collectionId: 'u32',1318 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1319 itemId: 'u32',1320 value: 'u128',1321 },1322 transfer: {1323 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1324 collectionId: 'u32',1325 itemId: 'u32',1326 value: 'u128',1327 },1328 approve: {1329 spender: 'PalletCommonAccountBasicCrossAccountIdRepr',1330 collectionId: 'u32',1331 itemId: 'u32',1332 amount: 'u128',1333 },1334 transfer_from: {1335 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1336 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1337 collectionId: 'u32',1338 itemId: 'u32',1339 value: 'u128',1340 },1341 set_variable_meta_data: {1342 collectionId: 'u32',1343 itemId: 'u32',1344 data: 'Bytes',1345 },1346 set_meta_update_permission_flag: {1347 collectionId: 'u32',1348 value: 'UpDataStructsMetaUpdatePermission',1349 },1350 set_schema_version: {1351 collectionId: 'u32',1352 version: 'UpDataStructsSchemaVersion',1353 },1354 set_offchain_schema: {1355 collectionId: 'u32',1356 schema: 'Bytes',1357 },1358 set_const_on_chain_schema: {1359 collectionId: 'u32',1360 schema: 'Bytes',1361 },1362 set_variable_on_chain_schema: {1363 collectionId: 'u32',1364 schema: 'Bytes',1365 },1366 set_collection_limits: {1367 collectionId: 'u32',1368 newLimit: 'UpDataStructsCollectionLimits'1369 }1370 }1371 },1372 /**1373 * Lookup155: up_data_structs::CollectionMode1374 **/1375 UpDataStructsCollectionMode: {1376 _enum: {1377 NFT: 'Null',1378 Fungible: 'u8',1379 ReFungible: 'Null'1380 }1381 },1382 /**1383 * Lookup156: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1384 **/1385 UpDataStructsCreateCollectionData: {1386 mode: 'UpDataStructsCollectionMode',1387 access: 'Option<UpDataStructsAccessMode>',1388 name: 'Vec<u16>',1389 description: 'Vec<u16>',1390 tokenPrefix: 'Bytes',1391 offchainSchema: 'Bytes',1392 schemaVersion: 'Option<UpDataStructsSchemaVersion>',1393 pendingSponsor: 'Option<AccountId32>',1394 limits: 'Option<UpDataStructsCollectionLimits>',1395 variableOnChainSchema: 'Bytes',1396 constOnChainSchema: 'Bytes',1397 metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'1398 },1399 /**1400 * Lookup158: up_data_structs::AccessMode1401 **/1402 UpDataStructsAccessMode: {1403 _enum: ['Normal', 'AllowList']1404 },1405 /**1406 * Lookup161: up_data_structs::SchemaVersion1407 **/1408 UpDataStructsSchemaVersion: {1409 _enum: ['ImageURL', 'Unique']1410 },1411 /**1412 * Lookup164: up_data_structs::CollectionLimits1413 **/1414 UpDataStructsCollectionLimits: {1415 accountTokenOwnershipLimit: 'Option<u32>',1416 sponsoredDataSize: 'Option<u32>',1417 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1418 tokenLimit: 'Option<u32>',1419 sponsorTransferTimeout: 'Option<u32>',1420 sponsorApproveTimeout: 'Option<u32>',1421 ownerCanTransfer: 'Option<bool>',1422 ownerCanDestroy: 'Option<bool>',1423 transfersEnabled: 'Option<bool>'1424 },1425 /**1426 * Lookup166: up_data_structs::SponsoringRateLimit1427 **/1428 UpDataStructsSponsoringRateLimit: {1429 _enum: {1430 SponsoringDisabled: 'Null',1431 Blocks: 'u32'1432 }1433 },1434 /**1435 * Lookup170: up_data_structs::MetaUpdatePermission1436 **/1437 UpDataStructsMetaUpdatePermission: {1438 _enum: ['ItemOwner', 'Admin', 'None']1439 },1440 /**1441 * Lookup172: pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1442 **/1443 PalletCommonAccountBasicCrossAccountIdRepr: {1444 _enum: {1445 Substrate: 'AccountId32',1446 Ethereum: 'H160'1447 }1448 },1449 /**1450 * Lookup174: up_data_structs::CreateItemData1451 **/1452 UpDataStructsCreateItemData: {1453 _enum: {1454 NFT: 'UpDataStructsCreateNftData',1455 Fungible: 'UpDataStructsCreateFungibleData',1456 ReFungible: 'UpDataStructsCreateReFungibleData'1457 }1458 },1459 /**1460 * Lookup175: up_data_structs::CreateNftData1461 **/1462 UpDataStructsCreateNftData: {1463 constData: 'Bytes',1464 variableData: 'Bytes'1465 },1466 /**1467 * Lookup177: up_data_structs::CreateFungibleData1468 **/1469 UpDataStructsCreateFungibleData: {1470 value: 'u128'1471 },1472 /**1473 * Lookup178: up_data_structs::CreateReFungibleData1474 **/1475 UpDataStructsCreateReFungibleData: {1476 constData: 'Bytes',1477 variableData: 'Bytes',1478 pieces: 'u128'1479 },1480 /**1481 * Lookup180: up_data_structs::CreateItemExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1482 **/1483 UpDataStructsCreateItemExData: {1484 _enum: {1485 NFT: 'Vec<UpDataStructsCreateNftExData>',1486 Fungible: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>',1487 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1488 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1489 }1490 },1491 /**1492 * Lookup182: up_data_structs::CreateNftExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1493 **/1494 UpDataStructsCreateNftExData: {1495 constData: 'Bytes',1496 variableData: 'Bytes',1497 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'1498 },1499 /**1500 * Lookup189: up_data_structs::CreateRefungibleExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1501 **/1502 UpDataStructsCreateRefungibleExData: {1503 constData: 'Bytes',1504 variableData: 'Bytes',1505 users: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>'1506 },1507 /**1508 * Lookup192: pallet_template_transaction_payment::Call<T>1509 **/1510 PalletTemplateTransactionPaymentCall: 'Null',1511 /**1512 * Lookup193: pallet_evm::pallet::Call<T>1513 **/1514 PalletEvmCall: {1515 _enum: {1516 withdraw: {1517 address: 'H160',1518 value: 'u128',1519 },1520 call: {1521 source: 'H160',1522 target: 'H160',1523 input: 'Bytes',1524 value: 'U256',1525 gasLimit: 'u64',1526 maxFeePerGas: 'U256',1527 maxPriorityFeePerGas: 'Option<U256>',1528 nonce: 'Option<U256>',1529 accessList: 'Vec<(H160,Vec<H256>)>',1530 },1531 create: {1532 source: 'H160',1533 init: 'Bytes',1534 value: 'U256',1535 gasLimit: 'u64',1536 maxFeePerGas: 'U256',1537 maxPriorityFeePerGas: 'Option<U256>',1538 nonce: 'Option<U256>',1539 accessList: 'Vec<(H160,Vec<H256>)>',1540 },1541 create2: {1542 source: 'H160',1543 init: 'Bytes',1544 salt: 'H256',1545 value: 'U256',1546 gasLimit: 'u64',1547 maxFeePerGas: 'U256',1548 maxPriorityFeePerGas: 'Option<U256>',1549 nonce: 'Option<U256>',1550 accessList: 'Vec<(H160,Vec<H256>)>'1551 }1552 }1553 },1554 /**1555 * Lookup199: pallet_ethereum::pallet::Call<T>1556 **/1557 PalletEthereumCall: {1558 _enum: {1559 transact: {1560 transaction: 'EthereumTransactionTransactionV2'1561 }1562 }1563 },1564 /**1565 * Lookup200: ethereum::transaction::TransactionV21566 **/1567 EthereumTransactionTransactionV2: {1568 _enum: {1569 Legacy: 'EthereumTransactionLegacyTransaction',1570 EIP2930: 'EthereumTransactionEip2930Transaction',1571 EIP1559: 'EthereumTransactionEip1559Transaction'1572 }1573 },1574 /**1575 * Lookup201: ethereum::transaction::LegacyTransaction1576 **/1577 EthereumTransactionLegacyTransaction: {1578 nonce: 'U256',1579 gasPrice: 'U256',1580 gasLimit: 'U256',1581 action: 'EthereumTransactionTransactionAction',1582 value: 'U256',1583 input: 'Bytes',1584 signature: 'EthereumTransactionTransactionSignature'1585 },1586 /**1587 * Lookup202: ethereum::transaction::TransactionAction1588 **/1589 EthereumTransactionTransactionAction: {1590 _enum: {1591 Call: 'H160',1592 Create: 'Null'1593 }1594 },1595 /**1596 * Lookup203: ethereum::transaction::TransactionSignature1597 **/1598 EthereumTransactionTransactionSignature: {1599 v: 'u64',1600 r: 'H256',1601 s: 'H256'1602 },1603 /**1604 * Lookup205: ethereum::transaction::EIP2930Transaction1605 **/1606 EthereumTransactionEip2930Transaction: {1607 chainId: 'u64',1608 nonce: 'U256',1609 gasPrice: 'U256',1610 gasLimit: 'U256',1611 action: 'EthereumTransactionTransactionAction',1612 value: 'U256',1613 input: 'Bytes',1614 accessList: 'Vec<EthereumTransactionAccessListItem>',1615 oddYParity: 'bool',1616 r: 'H256',1617 s: 'H256'1618 },1619 /**1620 * Lookup207: ethereum::transaction::AccessListItem1621 **/1622 EthereumTransactionAccessListItem: {1623 address: 'H160',1624 slots: 'Vec<H256>'1625 },1626 /**1627 * Lookup208: ethereum::transaction::EIP1559Transaction1628 **/1629 EthereumTransactionEip1559Transaction: {1630 chainId: 'u64',1631 nonce: 'U256',1632 maxPriorityFeePerGas: 'U256',1633 maxFeePerGas: 'U256',1634 gasLimit: 'U256',1635 action: 'EthereumTransactionTransactionAction',1636 value: 'U256',1637 input: 'Bytes',1638 accessList: 'Vec<EthereumTransactionAccessListItem>',1639 oddYParity: 'bool',1640 r: 'H256',1641 s: 'H256'1642 },1643 /**1644 * Lookup209: pallet_evm_migration::pallet::Call<T>1645 **/1646 PalletEvmMigrationCall: {1647 _enum: {1648 begin: {1649 address: 'H160',1650 },1651 set_data: {1652 address: 'H160',1653 data: 'Vec<(H256,H256)>',1654 },1655 finish: {1656 address: 'H160',1657 code: 'Bytes'1658 }1659 }1660 },1661 /**1662 * Lookup212: pallet_sudo::pallet::Event<T>1663 **/1664 PalletSudoEvent: {1665 _enum: {1666 Sudid: {1667 sudoResult: 'Result<Null, SpRuntimeDispatchError>',1668 },1669 KeyChanged: {1670 oldSudoer: 'Option<AccountId32>',1671 },1672 SudoAsDone: {1673 sudoResult: 'Result<Null, SpRuntimeDispatchError>'1674 }1675 }1676 },1677 /**1678 * Lookup214: sp_runtime::DispatchError1679 **/1680 SpRuntimeDispatchError: {1681 _enum: {1682 Other: 'Null',1683 CannotLookup: 'Null',1684 BadOrigin: 'Null',1685 Module: 'SpRuntimeModuleError',1686 ConsumerRemaining: 'Null',1687 NoProviders: 'Null',1688 TooManyConsumers: 'Null',1689 Token: 'SpRuntimeTokenError',1690 Arithmetic: 'SpRuntimeArithmeticError'1691 }1692 },1693 /**1694 * Lookup215: sp_runtime::ModuleError1695 **/1696 SpRuntimeModuleError: {1697 index: 'u8',1698 error: 'u8'1699 },1700 /**1701 * Lookup216: sp_runtime::TokenError1702 **/1703 SpRuntimeTokenError: {1704 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1705 },1706 /**1707 * Lookup217: sp_runtime::ArithmeticError1708 **/1709 SpRuntimeArithmeticError: {1710 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1711 },1712 /**1713 * Lookup218: pallet_sudo::pallet::Error<T>1714 **/1715 PalletSudoError: {1716 _enum: ['RequireSudo']1717 },1718 /**1719 * Lookup219: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1720 **/1721 FrameSystemAccountInfo: {1722 nonce: 'u32',1723 consumers: 'u32',1724 providers: 'u32',1725 sufficients: 'u32',1726 data: 'PalletBalancesAccountData'1727 },1728 /**1729 * Lookup220: frame_support::weights::PerDispatchClass<T>1730 **/1731 FrameSupportWeightsPerDispatchClassU64: {1732 normal: 'u64',1733 operational: 'u64',1734 mandatory: 'u64'1735 },1736 /**1737 * Lookup221: sp_runtime::generic::digest::Digest1738 **/1739 SpRuntimeDigest: {1740 logs: 'Vec<SpRuntimeDigestDigestItem>'1741 },1742 /**1743 * Lookup223: sp_runtime::generic::digest::DigestItem1744 **/1745 SpRuntimeDigestDigestItem: {1746 _enum: {1747 Other: 'Bytes',1748 __Unused1: 'Null',1749 __Unused2: 'Null',1750 __Unused3: 'Null',1751 Consensus: '([u8;4],Bytes)',1752 Seal: '([u8;4],Bytes)',1753 PreRuntime: '([u8;4],Bytes)',1754 __Unused7: 'Null',1755 RuntimeEnvironmentUpdated: 'Null'1756 }1757 },1758 /**1759 * Lookup225: frame_system::EventRecord<unique_runtime::Event, primitive_types::H256>1760 **/1761 FrameSystemEventRecord: {1762 phase: 'FrameSystemPhase',1763 event: 'Event',1764 topics: 'Vec<H256>'1765 },1766 /**1767 * Lookup227: frame_system::pallet::Event<T>1768 **/1769 FrameSystemEvent: {1770 _enum: {1771 ExtrinsicSuccess: {1772 dispatchInfo: 'FrameSupportWeightsDispatchInfo',1773 },1774 ExtrinsicFailed: {1775 dispatchError: 'SpRuntimeDispatchError',1776 dispatchInfo: 'FrameSupportWeightsDispatchInfo',1777 },1778 CodeUpdated: 'Null',1779 NewAccount: {1780 account: 'AccountId32',1781 },1782 KilledAccount: {1783 account: 'AccountId32',1784 },1785 Remarked: {1786 _alias: {1787 hash_: 'hash',1788 },1789 sender: 'AccountId32',1790 hash_: 'H256'1791 }1792 }1793 },1794 /**1795 * Lookup228: frame_support::weights::DispatchInfo1796 **/1797 FrameSupportWeightsDispatchInfo: {1798 weight: 'u64',1799 class: 'FrameSupportWeightsDispatchClass',1800 paysFee: 'FrameSupportWeightsPays'1801 },1802 /**1803 * Lookup229: frame_support::weights::DispatchClass1804 **/1805 FrameSupportWeightsDispatchClass: {1806 _enum: ['Normal', 'Operational', 'Mandatory']1807 },1808 /**1809 * Lookup230: frame_support::weights::Pays1810 **/1811 FrameSupportWeightsPays: {1812 _enum: ['Yes', 'No']1813 },1814 /**1815 * Lookup231: orml_vesting::module::Event<T>1816 **/1817 OrmlVestingModuleEvent: {1818 _enum: {1819 VestingScheduleAdded: {1820 from: 'AccountId32',1821 to: 'AccountId32',1822 vestingSchedule: 'OrmlVestingVestingSchedule',1823 },1824 Claimed: {1825 who: 'AccountId32',1826 amount: 'u128',1827 },1828 VestingSchedulesUpdated: {1829 who: 'AccountId32'1830 }1831 }1832 },1833 /**1834 * Lookup232: cumulus_pallet_xcmp_queue::pallet::Event<T>1835 **/1836 CumulusPalletXcmpQueueEvent: {1837 _enum: {1838 Success: 'Option<H256>',1839 Fail: '(Option<H256>,XcmV2TraitsError)',1840 BadVersion: 'Option<H256>',1841 BadFormat: 'Option<H256>',1842 UpwardMessageSent: 'Option<H256>',1843 XcmpMessageSent: 'Option<H256>',1844 OverweightEnqueued: '(u32,u32,u64,u64)',1845 OverweightServiced: '(u64,u64)'1846 }1847 },1848 /**1849 * Lookup233: pallet_xcm::pallet::Event<T>1850 **/1851 PalletXcmEvent: {1852 _enum: {1853 Attempted: 'XcmV2TraitsOutcome',1854 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',1855 UnexpectedResponse: '(XcmV1MultiLocation,u64)',1856 ResponseReady: '(u64,XcmV2Response)',1857 Notified: '(u64,u8,u8)',1858 NotifyOverweight: '(u64,u8,u8,u64,u64)',1859 NotifyDispatchError: '(u64,u8,u8)',1860 NotifyDecodeFailed: '(u64,u8,u8)',1861 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',1862 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',1863 ResponseTaken: 'u64',1864 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',1865 VersionChangeNotified: '(XcmV1MultiLocation,u32)',1866 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',1867 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',1868 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'1869 }1870 },1871 /**1872 * Lookup234: xcm::v2::traits::Outcome1873 **/1874 XcmV2TraitsOutcome: {1875 _enum: {1876 Complete: 'u64',1877 Incomplete: '(u64,XcmV2TraitsError)',1878 Error: 'XcmV2TraitsError'1879 }1880 },1881 /**1882 * Lookup236: cumulus_pallet_xcm::pallet::Event<T>1883 **/1884 CumulusPalletXcmEvent: {1885 _enum: {1886 InvalidFormat: '[u8;8]',1887 UnsupportedVersion: '[u8;8]',1888 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'1889 }1890 },1891 /**1892 * Lookup237: cumulus_pallet_dmp_queue::pallet::Event<T>1893 **/1894 CumulusPalletDmpQueueEvent: {1895 _enum: {1896 InvalidFormat: '[u8;32]',1897 UnsupportedVersion: '[u8;32]',1898 ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',1899 WeightExhausted: '([u8;32],u64,u64)',1900 OverweightEnqueued: '([u8;32],u64,u64)',1901 OverweightServiced: '(u64,u64)'1902 }1903 },1904 /**1905 * Lookup238: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1906 **/1907 PalletUniqueRawEvent: {1908 _enum: {1909 CollectionSponsorRemoved: 'u32',1910 CollectionAdminAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1911 CollectionOwnedChanged: '(u32,AccountId32)',1912 CollectionSponsorSet: '(u32,AccountId32)',1913 ConstOnChainSchemaSet: 'u32',1914 SponsorshipConfirmed: '(u32,AccountId32)',1915 CollectionAdminRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1916 AllowListAddressRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1917 AllowListAddressAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1918 CollectionLimitSet: 'u32',1919 MintPermissionSet: 'u32',1920 OffchainSchemaSet: 'u32',1921 PublicAccessModeSet: '(u32,UpDataStructsAccessMode)',1922 SchemaVersionSet: 'u32',1923 VariableOnChainSchemaSet: 'u32'1924 }1925 },1926 /**1927 * Lookup239: pallet_common::pallet::Event<T>1928 **/1929 PalletCommonEvent: {1930 _enum: {1931 CollectionCreated: '(u32,u8,AccountId32)',1932 CollectionDestroyed: 'u32',1933 ItemCreated: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1934 ItemDestroyed: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1935 Transfer: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1936 Approved: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)'1937 }1938 },1939 /**1940 * Lookup240: pallet_evm::pallet::Event<T>1941 **/1942 PalletEvmEvent: {1943 _enum: {1944 Log: 'EthereumLog',1945 Created: 'H160',1946 CreatedFailed: 'H160',1947 Executed: 'H160',1948 ExecutedFailed: 'H160',1949 BalanceDeposit: '(AccountId32,H160,U256)',1950 BalanceWithdraw: '(AccountId32,H160,U256)'1951 }1952 },1953 /**1954 * Lookup241: ethereum::log::Log1955 **/1956 EthereumLog: {1957 address: 'H160',1958 topics: 'Vec<H256>',1959 data: 'Bytes'1960 },1961 /**1962 * Lookup242: pallet_ethereum::pallet::Event1963 **/1964 PalletEthereumEvent: {1965 _enum: {1966 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1967 }1968 },1969 /**1970 * Lookup243: evm_core::error::ExitReason1971 **/1972 EvmCoreErrorExitReason: {1973 _enum: {1974 Succeed: 'EvmCoreErrorExitSucceed',1975 Error: 'EvmCoreErrorExitError',1976 Revert: 'EvmCoreErrorExitRevert',1977 Fatal: 'EvmCoreErrorExitFatal'1978 }1979 },1980 /**1981 * Lookup244: evm_core::error::ExitSucceed1982 **/1983 EvmCoreErrorExitSucceed: {1984 _enum: ['Stopped', 'Returned', 'Suicided']1985 },1986 /**1987 * Lookup245: evm_core::error::ExitError1988 **/1989 EvmCoreErrorExitError: {1990 _enum: {1991 StackUnderflow: 'Null',1992 StackOverflow: 'Null',1993 InvalidJump: 'Null',1994 InvalidRange: 'Null',1995 DesignatedInvalid: 'Null',1996 CallTooDeep: 'Null',1997 CreateCollision: 'Null',1998 CreateContractLimit: 'Null',1999 InvalidCode: 'Null',2000 OutOfOffset: 'Null',2001 OutOfGas: 'Null',2002 OutOfFund: 'Null',2003 PCUnderflow: 'Null',2004 CreateEmpty: 'Null',2005 Other: 'Text'2006 }2007 },2008 /**2009 * Lookup248: evm_core::error::ExitRevert2010 **/2011 EvmCoreErrorExitRevert: {2012 _enum: ['Reverted']2013 },2014 /**2015 * Lookup249: evm_core::error::ExitFatal2016 **/2017 EvmCoreErrorExitFatal: {2018 _enum: {2019 NotSupported: 'Null',2020 UnhandledInterrupt: 'Null',2021 CallErrorAsFatal: 'EvmCoreErrorExitError',2022 Other: 'Text'2023 }2024 },2025 /**2026 * Lookup250: frame_system::Phase2027 **/2028 FrameSystemPhase: {2029 _enum: {2030 ApplyExtrinsic: 'u32',2031 Finalization: 'Null',2032 Initialization: 'Null'2033 }2034 },2035 /**2036 * Lookup252: frame_system::LastRuntimeUpgradeInfo2037 **/2038 FrameSystemLastRuntimeUpgradeInfo: {2039 specVersion: 'Compact<u32>',2040 specName: 'Text'2041 },2042 /**2043 * Lookup253: frame_system::limits::BlockWeights2044 **/2045 FrameSystemLimitsBlockWeights: {2046 baseBlock: 'u64',2047 maxBlock: 'u64',2048 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2049 },2050 /**2051 * Lookup254: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2052 **/2053 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2054 normal: 'FrameSystemLimitsWeightsPerClass',2055 operational: 'FrameSystemLimitsWeightsPerClass',2056 mandatory: 'FrameSystemLimitsWeightsPerClass'2057 },2058 /**2059 * Lookup255: frame_system::limits::WeightsPerClass2060 **/2061 FrameSystemLimitsWeightsPerClass: {2062 baseExtrinsic: 'u64',2063 maxExtrinsic: 'Option<u64>',2064 maxTotal: 'Option<u64>',2065 reserved: 'Option<u64>'2066 },2067 /**2068 * Lookup257: frame_system::limits::BlockLength2069 **/2070 FrameSystemLimitsBlockLength: {2071 max: 'FrameSupportWeightsPerDispatchClassU32'2072 },2073 /**2074 * Lookup258: frame_support::weights::PerDispatchClass<T>2075 **/2076 FrameSupportWeightsPerDispatchClassU32: {2077 normal: 'u32',2078 operational: 'u32',2079 mandatory: 'u32'2080 },2081 /**2082 * Lookup259: frame_support::weights::RuntimeDbWeight2083 **/2084 FrameSupportWeightsRuntimeDbWeight: {2085 read: 'u64',2086 write: 'u64'2087 },2088 /**2089 * Lookup260: sp_version::RuntimeVersion2090 **/2091 SpVersionRuntimeVersion: {2092 specName: 'Text',2093 implName: 'Text',2094 authoringVersion: 'u32',2095 specVersion: 'u32',2096 implVersion: 'u32',2097 apis: 'Vec<([u8;8],u32)>',2098 transactionVersion: 'u32',2099 stateVersion: 'u8'2100 },2101 /**2102 * Lookup264: frame_system::pallet::Error<T>2103 **/2104 FrameSystemError: {2105 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2106 },2107 /**2108 * Lookup266: orml_vesting::module::Error<T>2109 **/2110 OrmlVestingModuleError: {2111 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2112 },2113 /**2114 * Lookup268: cumulus_pallet_xcmp_queue::InboundChannelDetails2115 **/2116 CumulusPalletXcmpQueueInboundChannelDetails: {2117 sender: 'u32',2118 state: 'CumulusPalletXcmpQueueInboundState',2119 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2120 },2121 /**2122 * Lookup269: cumulus_pallet_xcmp_queue::InboundState2123 **/2124 CumulusPalletXcmpQueueInboundState: {2125 _enum: ['Ok', 'Suspended']2126 },2127 /**2128 * Lookup272: polkadot_parachain::primitives::XcmpMessageFormat2129 **/2130 PolkadotParachainPrimitivesXcmpMessageFormat: {2131 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2132 },2133 /**2134 * Lookup275: cumulus_pallet_xcmp_queue::OutboundChannelDetails2135 **/2136 CumulusPalletXcmpQueueOutboundChannelDetails: {2137 recipient: 'u32',2138 state: 'CumulusPalletXcmpQueueOutboundState',2139 signalsExist: 'bool',2140 firstIndex: 'u16',2141 lastIndex: 'u16'2142 },2143 /**2144 * Lookup276: cumulus_pallet_xcmp_queue::OutboundState2145 **/2146 CumulusPalletXcmpQueueOutboundState: {2147 _enum: ['Ok', 'Suspended']2148 },2149 /**2150 * Lookup278: cumulus_pallet_xcmp_queue::QueueConfigData2151 **/2152 CumulusPalletXcmpQueueQueueConfigData: {2153 suspendThreshold: 'u32',2154 dropThreshold: 'u32',2155 resumeThreshold: 'u32',2156 thresholdWeight: 'u64',2157 weightRestrictDecay: 'u64',2158 xcmpMaxIndividualWeight: 'u64'2159 },2160 /**2161 * Lookup280: cumulus_pallet_xcmp_queue::pallet::Error<T>2162 **/2163 CumulusPalletXcmpQueueError: {2164 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2165 },2166 /**2167 * Lookup281: pallet_xcm::pallet::Error<T>2168 **/2169 PalletXcmError: {2170 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2171 },2172 /**2173 * Lookup282: cumulus_pallet_xcm::pallet::Error<T>2174 **/2175 CumulusPalletXcmError: 'Null',2176 /**2177 * Lookup283: cumulus_pallet_dmp_queue::ConfigData2178 **/2179 CumulusPalletDmpQueueConfigData: {2180 maxIndividual: 'u64'2181 },2182 /**2183 * Lookup284: cumulus_pallet_dmp_queue::PageIndexData2184 **/2185 CumulusPalletDmpQueuePageIndexData: {2186 beginUsed: 'u32',2187 endUsed: 'u32',2188 overweightCount: 'u64'2189 },2190 /**2191 * Lookup287: cumulus_pallet_dmp_queue::pallet::Error<T>2192 **/2193 CumulusPalletDmpQueueError: {2194 _enum: ['Unknown', 'OverLimit']2195 },2196 /**2197 * Lookup291: pallet_unique::Error<T>2198 **/2199 PalletUniqueError: {2200 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2201 },2202 /**2203 * Lookup292: up_data_structs::Collection<sp_core::crypto::AccountId32>2204 **/2205 UpDataStructsCollection: {2206 owner: 'AccountId32',2207 mode: 'UpDataStructsCollectionMode',2208 access: 'UpDataStructsAccessMode',2209 name: 'Vec<u16>',2210 description: 'Vec<u16>',2211 tokenPrefix: 'Bytes',2212 mintMode: 'bool',2213 offchainSchema: 'Bytes',2214 schemaVersion: 'UpDataStructsSchemaVersion',2215 sponsorship: 'UpDataStructsSponsorshipState',2216 limits: 'UpDataStructsCollectionLimits',2217 variableOnChainSchema: 'Bytes',2218 constOnChainSchema: 'Bytes',2219 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'2220 },2221 /**2222 * Lookup293: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2223 **/2224 UpDataStructsSponsorshipState: {2225 _enum: {2226 Disabled: 'Null',2227 Unconfirmed: 'AccountId32',2228 Confirmed: 'AccountId32'2229 }2230 },2231 /**2232 * Lookup296: up_data_structs::CollectionStats2233 **/2234 UpDataStructsCollectionStats: {2235 created: 'u32',2236 destroyed: 'u32',2237 alive: 'u32'2238 },2239 /**2240 * Lookup297: pallet_common::pallet::Error<T>2241 **/2242 PalletCommonError: {2243 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation']2244 },2245 /**2246 * Lookup299: pallet_fungible::pallet::Error<T>2247 **/2248 PalletFungibleError: {2249 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']2250 },2251 /**2252 * Lookup300: pallet_refungible::ItemData2253 **/2254 PalletRefungibleItemData: {2255 constData: 'Bytes',2256 variableData: 'Bytes'2257 },2258 /**2259 * Lookup304: pallet_refungible::pallet::Error<T>2260 **/2261 PalletRefungibleError: {2262 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']2263 },2264 /**2265 * Lookup305: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2266 **/2267 PalletNonfungibleItemData: {2268 constData: 'Bytes',2269 variableData: 'Bytes',2270 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'2271 },2272 /**2273 * Lookup306: pallet_nonfungible::pallet::Error<T>2274 **/2275 PalletNonfungibleError: {2276 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']2277 },2278 /**2279 * Lookup308: pallet_evm::pallet::Error<T>2280 **/2281 PalletEvmError: {2282 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2283 },2284 /**2285 * Lookup311: fp_rpc::TransactionStatus2286 **/2287 FpRpcTransactionStatus: {2288 transactionHash: 'H256',2289 transactionIndex: 'u32',2290 from: 'H160',2291 to: 'Option<H160>',2292 contractAddress: 'Option<H160>',2293 logs: 'Vec<EthereumLog>',2294 logsBloom: 'EthbloomBloom'2295 },2296 /**2297 * Lookup314: ethbloom::Bloom2298 **/2299 EthbloomBloom: '[u8;256]',2300 /**2301 * Lookup316: ethereum::receipt::ReceiptV32302 **/2303 EthereumReceiptReceiptV3: {2304 _enum: {2305 Legacy: 'EthereumReceiptEip658ReceiptData',2306 EIP2930: 'EthereumReceiptEip658ReceiptData',2307 EIP1559: 'EthereumReceiptEip658ReceiptData'2308 }2309 },2310 /**2311 * Lookup317: ethereum::receipt::EIP658ReceiptData2312 **/2313 EthereumReceiptEip658ReceiptData: {2314 statusCode: 'u8',2315 usedGas: 'U256',2316 logsBloom: 'EthbloomBloom',2317 logs: 'Vec<EthereumLog>'2318 },2319 /**2320 * Lookup318: ethereum::block::Block<ethereum::transaction::TransactionV2>2321 **/2322 EthereumBlock: {2323 header: 'EthereumHeader',2324 transactions: 'Vec<EthereumTransactionTransactionV2>',2325 ommers: 'Vec<EthereumHeader>'2326 },2327 /**2328 * Lookup319: ethereum::header::Header2329 **/2330 EthereumHeader: {2331 parentHash: 'H256',2332 ommersHash: 'H256',2333 beneficiary: 'H160',2334 stateRoot: 'H256',2335 transactionsRoot: 'H256',2336 receiptsRoot: 'H256',2337 logsBloom: 'EthbloomBloom',2338 difficulty: 'U256',2339 number: 'U256',2340 gasLimit: 'U256',2341 gasUsed: 'U256',2342 timestamp: 'u64',2343 extraData: 'Bytes',2344 mixHash: 'H256',2345 nonce: 'EthereumTypesHashH64'2346 },2347 /**2348 * Lookup320: ethereum_types::hash::H642349 **/2350 EthereumTypesHashH64: '[u8;8]',2351 /**2352 * Lookup325: pallet_ethereum::pallet::Error<T>2353 **/2354 PalletEthereumError: {2355 _enum: ['InvalidSignature', 'PreLogExists']2356 },2357 /**2358 * Lookup326: pallet_evm_coder_substrate::pallet::Error<T>2359 **/2360 PalletEvmCoderSubstrateError: {2361 _enum: ['OutOfGas', 'OutOfFund']2362 },2363 /**2364 * Lookup327: pallet_evm_contract_helpers::SponsoringModeT2365 **/2366 PalletEvmContractHelpersSponsoringModeT: {2367 _enum: ['Disabled', 'Allowlisted', 'Generous']2368 },2369 /**2370 * Lookup329: pallet_evm_contract_helpers::pallet::Error<T>2371 **/2372 PalletEvmContractHelpersError: {2373 _enum: ['NoPermission']2374 },2375 /**2376 * Lookup330: pallet_evm_migration::pallet::Error<T>2377 **/2378 PalletEvmMigrationError: {2379 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']2380 },2381 /**2382 * Lookup332: sp_runtime::MultiSignature2383 **/2384 SpRuntimeMultiSignature: {2385 _enum: {2386 Ed25519: 'SpCoreEd25519Signature',2387 Sr25519: 'SpCoreSr25519Signature',2388 Ecdsa: 'SpCoreEcdsaSignature'2389 }2390 },2391 /**2392 * Lookup333: sp_core::ed25519::Signature2393 **/2394 SpCoreEd25519Signature: '[u8;64]',2395 /**2396 * Lookup335: sp_core::sr25519::Signature2397 **/2398 SpCoreSr25519Signature: '[u8;64]',2399 /**2400 * Lookup336: sp_core::ecdsa::Signature2401 **/2402 SpCoreEcdsaSignature: '[u8;65]',2403 /**2404 * Lookup339: frame_system::extensions::check_spec_version::CheckSpecVersion<T>2405 **/2406 FrameSystemExtensionsCheckSpecVersion: 'Null',2407 /**2408 * Lookup340: frame_system::extensions::check_genesis::CheckGenesis<T>2409 **/2410 FrameSystemExtensionsCheckGenesis: 'Null',2411 /**2412 * Lookup343: frame_system::extensions::check_nonce::CheckNonce<T>2413 **/2414 FrameSystemExtensionsCheckNonce: 'Compact<u32>',2415 /**2416 * Lookup344: frame_system::extensions::check_weight::CheckWeight<T>2417 **/2418 FrameSystemExtensionsCheckWeight: 'Null',2419 /**2420 * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<unique_runtime::Runtime>2421 **/2422 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2423 /**2424 * Lookup346: unique_runtime::Runtime2425 **/2426 UniqueRuntimeRuntime: 'Null'2427};1// Auto-generated via `yarn polkadot-types-from-defs`, do not edit2/* eslint-disable */34/* eslint-disable sort-keys */56export default {7 /**8 * Lookup2: polkadot_primitives::v1::PersistedValidationData<primitive_types::H256, N>9 **/10 PolkadotPrimitivesV1PersistedValidationData: {11 parentHead: 'Bytes',12 relayParentNumber: 'u32',13 relayParentStorageRoot: 'H256',14 maxPovSize: 'u32'15 },16 /**17 * Lookup9: polkadot_primitives::v1::UpgradeRestriction18 **/19 PolkadotPrimitivesV1UpgradeRestriction: {20 _enum: ['Present']21 },22 /**23 * Lookup10: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot24 **/25 CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: {26 dmqMqcHead: 'H256',27 relayDispatchQueueSize: '(u32,u32)',28 ingressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>',29 egressChannels: 'Vec<(u32,PolkadotPrimitivesV1AbridgedHrmpChannel)>'30 },31 /**32 * Lookup15: polkadot_primitives::v1::AbridgedHrmpChannel33 **/34 PolkadotPrimitivesV1AbridgedHrmpChannel: {35 maxCapacity: 'u32',36 maxTotalSize: 'u32',37 maxMessageSize: 'u32',38 msgCount: 'u32',39 totalSize: 'u32',40 mqcHead: 'Option<H256>'41 },42 /**43 * Lookup17: polkadot_primitives::v1::AbridgedHostConfiguration44 **/45 PolkadotPrimitivesV1AbridgedHostConfiguration: {46 maxCodeSize: 'u32',47 maxHeadDataSize: 'u32',48 maxUpwardQueueCount: 'u32',49 maxUpwardQueueSize: 'u32',50 maxUpwardMessageSize: 'u32',51 maxUpwardMessageNumPerCandidate: 'u32',52 hrmpMaxMessageNumPerCandidate: 'u32',53 validationUpgradeCooldown: 'u32',54 validationUpgradeDelay: 'u32'55 },56 /**57 * Lookup23: polkadot_core_primitives::OutboundHrmpMessage<polkadot_parachain::primitives::Id>58 **/59 PolkadotCorePrimitivesOutboundHrmpMessage: {60 recipient: 'u32',61 data: 'Bytes'62 },63 /**64 * Lookup26: cumulus_pallet_parachain_system::pallet::Call<T>65 **/66 CumulusPalletParachainSystemCall: {67 _enum: {68 set_validation_data: {69 data: 'CumulusPrimitivesParachainInherentParachainInherentData',70 },71 sudo_send_upward_message: {72 message: 'Bytes',73 },74 authorize_upgrade: {75 codeHash: 'H256',76 },77 enact_authorized_upgrade: {78 code: 'Bytes'79 }80 }81 },82 /**83 * Lookup27: cumulus_primitives_parachain_inherent::ParachainInherentData84 **/85 CumulusPrimitivesParachainInherentParachainInherentData: {86 validationData: 'PolkadotPrimitivesV1PersistedValidationData',87 relayChainState: 'SpTrieStorageProof',88 downwardMessages: 'Vec<PolkadotCorePrimitivesInboundDownwardMessage>',89 horizontalMessages: 'BTreeMap<u32, Vec<PolkadotCorePrimitivesInboundHrmpMessage>>'90 },91 /**92 * Lookup28: sp_trie::storage_proof::StorageProof93 **/94 SpTrieStorageProof: {95 trieNodes: 'Vec<Bytes>'96 },97 /**98 * Lookup30: polkadot_core_primitives::InboundDownwardMessage<BlockNumber>99 **/100 PolkadotCorePrimitivesInboundDownwardMessage: {101 sentAt: 'u32',102 msg: 'Bytes'103 },104 /**105 * Lookup33: polkadot_core_primitives::InboundHrmpMessage<BlockNumber>106 **/107 PolkadotCorePrimitivesInboundHrmpMessage: {108 sentAt: 'u32',109 data: 'Bytes'110 },111 /**112 * Lookup36: cumulus_pallet_parachain_system::pallet::Event<T>113 **/114 CumulusPalletParachainSystemEvent: {115 _enum: {116 ValidationFunctionStored: 'Null',117 ValidationFunctionApplied: 'u32',118 ValidationFunctionDiscarded: 'Null',119 UpgradeAuthorized: 'H256',120 DownwardMessagesReceived: 'u32',121 DownwardMessagesProcessed: '(u64,H256)'122 }123 },124 /**125 * Lookup37: cumulus_pallet_parachain_system::pallet::Error<T>126 **/127 CumulusPalletParachainSystemError: {128 _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized']129 },130 /**131 * Lookup40: pallet_balances::AccountData<Balance>132 **/133 PalletBalancesAccountData: {134 free: 'u128',135 reserved: 'u128',136 miscFrozen: 'u128',137 feeFrozen: 'u128'138 },139 /**140 * Lookup42: pallet_balances::BalanceLock<Balance>141 **/142 PalletBalancesBalanceLock: {143 id: '[u8;8]',144 amount: 'u128',145 reasons: 'PalletBalancesReasons'146 },147 /**148 * Lookup44: pallet_balances::Reasons149 **/150 PalletBalancesReasons: {151 _enum: ['Fee', 'Misc', 'All']152 },153 /**154 * Lookup47: pallet_balances::ReserveData<ReserveIdentifier, Balance>155 **/156 PalletBalancesReserveData: {157 id: '[u8;8]',158 amount: 'u128'159 },160 /**161 * Lookup49: pallet_balances::Releases162 **/163 PalletBalancesReleases: {164 _enum: ['V1_0_0', 'V2_0_0']165 },166 /**167 * Lookup50: pallet_balances::pallet::Call<T, I>168 **/169 PalletBalancesCall: {170 _enum: {171 transfer: {172 dest: 'MultiAddress',173 value: 'Compact<u128>',174 },175 set_balance: {176 who: 'MultiAddress',177 newFree: 'Compact<u128>',178 newReserved: 'Compact<u128>',179 },180 force_transfer: {181 source: 'MultiAddress',182 dest: 'MultiAddress',183 value: 'Compact<u128>',184 },185 transfer_keep_alive: {186 dest: 'MultiAddress',187 value: 'Compact<u128>',188 },189 transfer_all: {190 dest: 'MultiAddress',191 keepAlive: 'bool',192 },193 force_unreserve: {194 who: 'MultiAddress',195 amount: 'u128'196 }197 }198 },199 /**200 * Lookup56: pallet_balances::pallet::Event<T, I>201 **/202 PalletBalancesEvent: {203 _enum: {204 Endowed: {205 account: 'AccountId32',206 freeBalance: 'u128',207 },208 DustLost: {209 account: 'AccountId32',210 amount: 'u128',211 },212 Transfer: {213 from: 'AccountId32',214 to: 'AccountId32',215 amount: 'u128',216 },217 BalanceSet: {218 who: 'AccountId32',219 free: 'u128',220 reserved: 'u128',221 },222 Reserved: {223 who: 'AccountId32',224 amount: 'u128',225 },226 Unreserved: {227 who: 'AccountId32',228 amount: 'u128',229 },230 ReserveRepatriated: {231 from: 'AccountId32',232 to: 'AccountId32',233 amount: 'u128',234 destinationStatus: 'FrameSupportTokensMiscBalanceStatus',235 },236 Deposit: {237 who: 'AccountId32',238 amount: 'u128',239 },240 Withdraw: {241 who: 'AccountId32',242 amount: 'u128',243 },244 Slashed: {245 who: 'AccountId32',246 amount: 'u128'247 }248 }249 },250 /**251 * Lookup57: frame_support::traits::tokens::misc::BalanceStatus252 **/253 FrameSupportTokensMiscBalanceStatus: {254 _enum: ['Free', 'Reserved']255 },256 /**257 * Lookup58: pallet_balances::pallet::Error<T, I>258 **/259 PalletBalancesError: {260 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']261 },262 /**263 * Lookup61: pallet_timestamp::pallet::Call<T>264 **/265 PalletTimestampCall: {266 _enum: {267 set: {268 now: 'Compact<u64>'269 }270 }271 },272 /**273 * Lookup64: pallet_transaction_payment::Releases274 **/275 PalletTransactionPaymentReleases: {276 _enum: ['V1Ancient', 'V2']277 },278 /**279 * Lookup66: frame_support::weights::WeightToFeeCoefficient<Balance>280 **/281 FrameSupportWeightsWeightToFeeCoefficient: {282 coeffInteger: 'u128',283 coeffFrac: 'Perbill',284 negative: 'bool',285 degree: 'u8'286 },287 /**288 * Lookup68: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>289 **/290 PalletTreasuryProposal: {291 proposer: 'AccountId32',292 value: 'u128',293 beneficiary: 'AccountId32',294 bond: 'u128'295 },296 /**297 * Lookup71: pallet_treasury::pallet::Call<T, I>298 **/299 PalletTreasuryCall: {300 _enum: {301 propose_spend: {302 value: 'Compact<u128>',303 beneficiary: 'MultiAddress',304 },305 reject_proposal: {306 proposalId: 'Compact<u32>',307 },308 approve_proposal: {309 proposalId: 'Compact<u32>'310 }311 }312 },313 /**314 * Lookup73: pallet_treasury::pallet::Event<T, I>315 **/316 PalletTreasuryEvent: {317 _enum: {318 Proposed: {319 proposalIndex: 'u32',320 },321 Spending: {322 budgetRemaining: 'u128',323 },324 Awarded: {325 proposalIndex: 'u32',326 award: 'u128',327 account: 'AccountId32',328 },329 Rejected: {330 proposalIndex: 'u32',331 slashed: 'u128',332 },333 Burnt: {334 burntFunds: 'u128',335 },336 Rollover: {337 rolloverBalance: 'u128',338 },339 Deposit: {340 value: 'u128'341 }342 }343 },344 /**345 * Lookup76: frame_support::PalletId346 **/347 FrameSupportPalletId: '[u8;8]',348 /**349 * Lookup77: pallet_treasury::pallet::Error<T, I>350 **/351 PalletTreasuryError: {352 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals']353 },354 /**355 * Lookup78: pallet_sudo::pallet::Call<T>356 **/357 PalletSudoCall: {358 _enum: {359 sudo: {360 call: 'Call',361 },362 sudo_unchecked_weight: {363 call: 'Call',364 weight: 'u64',365 },366 set_key: {367 _alias: {368 new_: 'new',369 },370 new_: 'MultiAddress',371 },372 sudo_as: {373 who: 'MultiAddress',374 call: 'Call'375 }376 }377 },378 /**379 * Lookup80: frame_system::pallet::Call<T>380 **/381 FrameSystemCall: {382 _enum: {383 fill_block: {384 ratio: 'Perbill',385 },386 remark: {387 remark: 'Bytes',388 },389 set_heap_pages: {390 pages: 'u64',391 },392 set_code: {393 code: 'Bytes',394 },395 set_code_without_checks: {396 code: 'Bytes',397 },398 set_storage: {399 items: 'Vec<(Bytes,Bytes)>',400 },401 kill_storage: {402 _alias: {403 keys_: 'keys',404 },405 keys_: 'Vec<Bytes>',406 },407 kill_prefix: {408 prefix: 'Bytes',409 subkeys: 'u32',410 },411 remark_with_event: {412 remark: 'Bytes'413 }414 }415 },416 /**417 * Lookup83: orml_vesting::module::Call<T>418 **/419 OrmlVestingModuleCall: {420 _enum: {421 claim: 'Null',422 vested_transfer: {423 dest: 'MultiAddress',424 schedule: 'OrmlVestingVestingSchedule',425 },426 update_vesting_schedules: {427 who: 'MultiAddress',428 vestingSchedules: 'Vec<OrmlVestingVestingSchedule>',429 },430 claim_for: {431 dest: 'MultiAddress'432 }433 }434 },435 /**436 * Lookup84: orml_vesting::VestingSchedule<BlockNumber, Balance>437 **/438 OrmlVestingVestingSchedule: {439 start: 'u32',440 period: 'u32',441 periodCount: 'u32',442 perPeriod: 'Compact<u128>'443 },444 /**445 * Lookup86: cumulus_pallet_xcmp_queue::pallet::Call<T>446 **/447 CumulusPalletXcmpQueueCall: {448 _enum: {449 service_overweight: {450 index: 'u64',451 weightLimit: 'u64',452 },453 suspend_xcm_execution: 'Null',454 resume_xcm_execution: 'Null',455 update_suspend_threshold: {456 _alias: {457 new_: 'new',458 },459 new_: 'u32',460 },461 update_drop_threshold: {462 _alias: {463 new_: 'new',464 },465 new_: 'u32',466 },467 update_resume_threshold: {468 _alias: {469 new_: 'new',470 },471 new_: 'u32',472 },473 update_threshold_weight: {474 _alias: {475 new_: 'new',476 },477 new_: 'u64',478 },479 update_weight_restrict_decay: {480 _alias: {481 new_: 'new',482 },483 new_: 'u64',484 },485 update_xcmp_max_individual_weight: {486 _alias: {487 new_: 'new',488 },489 new_: 'u64'490 }491 }492 },493 /**494 * Lookup87: pallet_xcm::pallet::Call<T>495 **/496 PalletXcmCall: {497 _enum: {498 send: {499 dest: 'XcmVersionedMultiLocation',500 message: 'XcmVersionedXcm',501 },502 teleport_assets: {503 dest: 'XcmVersionedMultiLocation',504 beneficiary: 'XcmVersionedMultiLocation',505 assets: 'XcmVersionedMultiAssets',506 feeAssetItem: 'u32',507 },508 reserve_transfer_assets: {509 dest: 'XcmVersionedMultiLocation',510 beneficiary: 'XcmVersionedMultiLocation',511 assets: 'XcmVersionedMultiAssets',512 feeAssetItem: 'u32',513 },514 execute: {515 message: 'XcmVersionedXcm',516 maxWeight: 'u64',517 },518 force_xcm_version: {519 location: 'XcmV1MultiLocation',520 xcmVersion: 'u32',521 },522 force_default_xcm_version: {523 maybeXcmVersion: 'Option<u32>',524 },525 force_subscribe_version_notify: {526 location: 'XcmVersionedMultiLocation',527 },528 force_unsubscribe_version_notify: {529 location: 'XcmVersionedMultiLocation',530 },531 limited_reserve_transfer_assets: {532 dest: 'XcmVersionedMultiLocation',533 beneficiary: 'XcmVersionedMultiLocation',534 assets: 'XcmVersionedMultiAssets',535 feeAssetItem: 'u32',536 weightLimit: 'XcmV2WeightLimit',537 },538 limited_teleport_assets: {539 dest: 'XcmVersionedMultiLocation',540 beneficiary: 'XcmVersionedMultiLocation',541 assets: 'XcmVersionedMultiAssets',542 feeAssetItem: 'u32',543 weightLimit: 'XcmV2WeightLimit'544 }545 }546 },547 /**548 * Lookup88: xcm::VersionedMultiLocation549 **/550 XcmVersionedMultiLocation: {551 _enum: {552 V0: 'XcmV0MultiLocation',553 V1: 'XcmV1MultiLocation'554 }555 },556 /**557 * Lookup89: xcm::v0::multi_location::MultiLocation558 **/559 XcmV0MultiLocation: {560 _enum: {561 Null: 'Null',562 X1: 'XcmV0Junction',563 X2: '(XcmV0Junction,XcmV0Junction)',564 X3: '(XcmV0Junction,XcmV0Junction,XcmV0Junction)',565 X4: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',566 X5: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',567 X6: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',568 X7: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)',569 X8: '(XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction,XcmV0Junction)'570 }571 },572 /**573 * Lookup90: xcm::v0::junction::Junction574 **/575 XcmV0Junction: {576 _enum: {577 Parent: 'Null',578 Parachain: 'Compact<u32>',579 AccountId32: {580 network: 'XcmV0JunctionNetworkId',581 id: '[u8;32]',582 },583 AccountIndex64: {584 network: 'XcmV0JunctionNetworkId',585 index: 'Compact<u64>',586 },587 AccountKey20: {588 network: 'XcmV0JunctionNetworkId',589 key: '[u8;20]',590 },591 PalletInstance: 'u8',592 GeneralIndex: 'Compact<u128>',593 GeneralKey: 'Bytes',594 OnlyChild: 'Null',595 Plurality: {596 id: 'XcmV0JunctionBodyId',597 part: 'XcmV0JunctionBodyPart'598 }599 }600 },601 /**602 * Lookup91: xcm::v0::junction::NetworkId603 **/604 XcmV0JunctionNetworkId: {605 _enum: {606 Any: 'Null',607 Named: 'Bytes',608 Polkadot: 'Null',609 Kusama: 'Null'610 }611 },612 /**613 * Lookup92: xcm::v0::junction::BodyId614 **/615 XcmV0JunctionBodyId: {616 _enum: {617 Unit: 'Null',618 Named: 'Bytes',619 Index: 'Compact<u32>',620 Executive: 'Null',621 Technical: 'Null',622 Legislative: 'Null',623 Judicial: 'Null'624 }625 },626 /**627 * Lookup93: xcm::v0::junction::BodyPart628 **/629 XcmV0JunctionBodyPart: {630 _enum: {631 Voice: 'Null',632 Members: {633 count: 'Compact<u32>',634 },635 Fraction: {636 nom: 'Compact<u32>',637 denom: 'Compact<u32>',638 },639 AtLeastProportion: {640 nom: 'Compact<u32>',641 denom: 'Compact<u32>',642 },643 MoreThanProportion: {644 nom: 'Compact<u32>',645 denom: 'Compact<u32>'646 }647 }648 },649 /**650 * Lookup94: xcm::v1::multilocation::MultiLocation651 **/652 XcmV1MultiLocation: {653 parents: 'u8',654 interior: 'XcmV1MultilocationJunctions'655 },656 /**657 * Lookup95: xcm::v1::multilocation::Junctions658 **/659 XcmV1MultilocationJunctions: {660 _enum: {661 Here: 'Null',662 X1: 'XcmV1Junction',663 X2: '(XcmV1Junction,XcmV1Junction)',664 X3: '(XcmV1Junction,XcmV1Junction,XcmV1Junction)',665 X4: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',666 X5: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',667 X6: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',668 X7: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)',669 X8: '(XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction,XcmV1Junction)'670 }671 },672 /**673 * Lookup96: xcm::v1::junction::Junction674 **/675 XcmV1Junction: {676 _enum: {677 Parachain: 'Compact<u32>',678 AccountId32: {679 network: 'XcmV0JunctionNetworkId',680 id: '[u8;32]',681 },682 AccountIndex64: {683 network: 'XcmV0JunctionNetworkId',684 index: 'Compact<u64>',685 },686 AccountKey20: {687 network: 'XcmV0JunctionNetworkId',688 key: '[u8;20]',689 },690 PalletInstance: 'u8',691 GeneralIndex: 'Compact<u128>',692 GeneralKey: 'Bytes',693 OnlyChild: 'Null',694 Plurality: {695 id: 'XcmV0JunctionBodyId',696 part: 'XcmV0JunctionBodyPart'697 }698 }699 },700 /**701 * Lookup97: xcm::VersionedXcm<Call>702 **/703 XcmVersionedXcm: {704 _enum: {705 V0: 'XcmV0Xcm',706 V1: 'XcmV1Xcm',707 V2: 'XcmV2Xcm'708 }709 },710 /**711 * Lookup98: xcm::v0::Xcm<Call>712 **/713 XcmV0Xcm: {714 _enum: {715 WithdrawAsset: {716 assets: 'Vec<XcmV0MultiAsset>',717 effects: 'Vec<XcmV0Order>',718 },719 ReserveAssetDeposit: {720 assets: 'Vec<XcmV0MultiAsset>',721 effects: 'Vec<XcmV0Order>',722 },723 TeleportAsset: {724 assets: 'Vec<XcmV0MultiAsset>',725 effects: 'Vec<XcmV0Order>',726 },727 QueryResponse: {728 queryId: 'Compact<u64>',729 response: 'XcmV0Response',730 },731 TransferAsset: {732 assets: 'Vec<XcmV0MultiAsset>',733 dest: 'XcmV0MultiLocation',734 },735 TransferReserveAsset: {736 assets: 'Vec<XcmV0MultiAsset>',737 dest: 'XcmV0MultiLocation',738 effects: 'Vec<XcmV0Order>',739 },740 Transact: {741 originType: 'XcmV0OriginKind',742 requireWeightAtMost: 'u64',743 call: 'XcmDoubleEncoded',744 },745 HrmpNewChannelOpenRequest: {746 sender: 'Compact<u32>',747 maxMessageSize: 'Compact<u32>',748 maxCapacity: 'Compact<u32>',749 },750 HrmpChannelAccepted: {751 recipient: 'Compact<u32>',752 },753 HrmpChannelClosing: {754 initiator: 'Compact<u32>',755 sender: 'Compact<u32>',756 recipient: 'Compact<u32>',757 },758 RelayedFrom: {759 who: 'XcmV0MultiLocation',760 message: 'XcmV0Xcm'761 }762 }763 },764 /**765 * Lookup100: xcm::v0::multi_asset::MultiAsset766 **/767 XcmV0MultiAsset: {768 _enum: {769 None: 'Null',770 All: 'Null',771 AllFungible: 'Null',772 AllNonFungible: 'Null',773 AllAbstractFungible: {774 id: 'Bytes',775 },776 AllAbstractNonFungible: {777 class: 'Bytes',778 },779 AllConcreteFungible: {780 id: 'XcmV0MultiLocation',781 },782 AllConcreteNonFungible: {783 class: 'XcmV0MultiLocation',784 },785 AbstractFungible: {786 id: 'Bytes',787 amount: 'Compact<u128>',788 },789 AbstractNonFungible: {790 class: 'Bytes',791 instance: 'XcmV1MultiassetAssetInstance',792 },793 ConcreteFungible: {794 id: 'XcmV0MultiLocation',795 amount: 'Compact<u128>',796 },797 ConcreteNonFungible: {798 class: 'XcmV0MultiLocation',799 instance: 'XcmV1MultiassetAssetInstance'800 }801 }802 },803 /**804 * Lookup101: xcm::v1::multiasset::AssetInstance805 **/806 XcmV1MultiassetAssetInstance: {807 _enum: {808 Undefined: 'Null',809 Index: 'Compact<u128>',810 Array4: '[u8;4]',811 Array8: '[u8;8]',812 Array16: '[u8;16]',813 Array32: '[u8;32]',814 Blob: 'Bytes'815 }816 },817 /**818 * Lookup105: xcm::v0::order::Order<Call>819 **/820 XcmV0Order: {821 _enum: {822 Null: 'Null',823 DepositAsset: {824 assets: 'Vec<XcmV0MultiAsset>',825 dest: 'XcmV0MultiLocation',826 },827 DepositReserveAsset: {828 assets: 'Vec<XcmV0MultiAsset>',829 dest: 'XcmV0MultiLocation',830 effects: 'Vec<XcmV0Order>',831 },832 ExchangeAsset: {833 give: 'Vec<XcmV0MultiAsset>',834 receive: 'Vec<XcmV0MultiAsset>',835 },836 InitiateReserveWithdraw: {837 assets: 'Vec<XcmV0MultiAsset>',838 reserve: 'XcmV0MultiLocation',839 effects: 'Vec<XcmV0Order>',840 },841 InitiateTeleport: {842 assets: 'Vec<XcmV0MultiAsset>',843 dest: 'XcmV0MultiLocation',844 effects: 'Vec<XcmV0Order>',845 },846 QueryHolding: {847 queryId: 'Compact<u64>',848 dest: 'XcmV0MultiLocation',849 assets: 'Vec<XcmV0MultiAsset>',850 },851 BuyExecution: {852 fees: 'XcmV0MultiAsset',853 weight: 'u64',854 debt: 'u64',855 haltOnError: 'bool',856 xcm: 'Vec<XcmV0Xcm>'857 }858 }859 },860 /**861 * Lookup107: xcm::v0::Response862 **/863 XcmV0Response: {864 _enum: {865 Assets: 'Vec<XcmV0MultiAsset>'866 }867 },868 /**869 * Lookup108: xcm::v0::OriginKind870 **/871 XcmV0OriginKind: {872 _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']873 },874 /**875 * Lookup109: xcm::double_encoded::DoubleEncoded<T>876 **/877 XcmDoubleEncoded: {878 encoded: 'Bytes'879 },880 /**881 * Lookup110: xcm::v1::Xcm<Call>882 **/883 XcmV1Xcm: {884 _enum: {885 WithdrawAsset: {886 assets: 'XcmV1MultiassetMultiAssets',887 effects: 'Vec<XcmV1Order>',888 },889 ReserveAssetDeposited: {890 assets: 'XcmV1MultiassetMultiAssets',891 effects: 'Vec<XcmV1Order>',892 },893 ReceiveTeleportedAsset: {894 assets: 'XcmV1MultiassetMultiAssets',895 effects: 'Vec<XcmV1Order>',896 },897 QueryResponse: {898 queryId: 'Compact<u64>',899 response: 'XcmV1Response',900 },901 TransferAsset: {902 assets: 'XcmV1MultiassetMultiAssets',903 beneficiary: 'XcmV1MultiLocation',904 },905 TransferReserveAsset: {906 assets: 'XcmV1MultiassetMultiAssets',907 dest: 'XcmV1MultiLocation',908 effects: 'Vec<XcmV1Order>',909 },910 Transact: {911 originType: 'XcmV0OriginKind',912 requireWeightAtMost: 'u64',913 call: 'XcmDoubleEncoded',914 },915 HrmpNewChannelOpenRequest: {916 sender: 'Compact<u32>',917 maxMessageSize: 'Compact<u32>',918 maxCapacity: 'Compact<u32>',919 },920 HrmpChannelAccepted: {921 recipient: 'Compact<u32>',922 },923 HrmpChannelClosing: {924 initiator: 'Compact<u32>',925 sender: 'Compact<u32>',926 recipient: 'Compact<u32>',927 },928 RelayedFrom: {929 who: 'XcmV1MultilocationJunctions',930 message: 'XcmV1Xcm',931 },932 SubscribeVersion: {933 queryId: 'Compact<u64>',934 maxResponseWeight: 'Compact<u64>',935 },936 UnsubscribeVersion: 'Null'937 }938 },939 /**940 * Lookup111: xcm::v1::multiasset::MultiAssets941 **/942 XcmV1MultiassetMultiAssets: 'Vec<XcmV1MultiAsset>',943 /**944 * Lookup113: xcm::v1::multiasset::MultiAsset945 **/946 XcmV1MultiAsset: {947 id: 'XcmV1MultiassetAssetId',948 fun: 'XcmV1MultiassetFungibility'949 },950 /**951 * Lookup114: xcm::v1::multiasset::AssetId952 **/953 XcmV1MultiassetAssetId: {954 _enum: {955 Concrete: 'XcmV1MultiLocation',956 Abstract: 'Bytes'957 }958 },959 /**960 * Lookup115: xcm::v1::multiasset::Fungibility961 **/962 XcmV1MultiassetFungibility: {963 _enum: {964 Fungible: 'Compact<u128>',965 NonFungible: 'XcmV1MultiassetAssetInstance'966 }967 },968 /**969 * Lookup117: xcm::v1::order::Order<Call>970 **/971 XcmV1Order: {972 _enum: {973 Noop: 'Null',974 DepositAsset: {975 assets: 'XcmV1MultiassetMultiAssetFilter',976 maxAssets: 'u32',977 beneficiary: 'XcmV1MultiLocation',978 },979 DepositReserveAsset: {980 assets: 'XcmV1MultiassetMultiAssetFilter',981 maxAssets: 'u32',982 dest: 'XcmV1MultiLocation',983 effects: 'Vec<XcmV1Order>',984 },985 ExchangeAsset: {986 give: 'XcmV1MultiassetMultiAssetFilter',987 receive: 'XcmV1MultiassetMultiAssets',988 },989 InitiateReserveWithdraw: {990 assets: 'XcmV1MultiassetMultiAssetFilter',991 reserve: 'XcmV1MultiLocation',992 effects: 'Vec<XcmV1Order>',993 },994 InitiateTeleport: {995 assets: 'XcmV1MultiassetMultiAssetFilter',996 dest: 'XcmV1MultiLocation',997 effects: 'Vec<XcmV1Order>',998 },999 QueryHolding: {1000 queryId: 'Compact<u64>',1001 dest: 'XcmV1MultiLocation',1002 assets: 'XcmV1MultiassetMultiAssetFilter',1003 },1004 BuyExecution: {1005 fees: 'XcmV1MultiAsset',1006 weight: 'u64',1007 debt: 'u64',1008 haltOnError: 'bool',1009 instructions: 'Vec<XcmV1Xcm>'1010 }1011 }1012 },1013 /**1014 * Lookup118: xcm::v1::multiasset::MultiAssetFilter1015 **/1016 XcmV1MultiassetMultiAssetFilter: {1017 _enum: {1018 Definite: 'XcmV1MultiassetMultiAssets',1019 Wild: 'XcmV1MultiassetWildMultiAsset'1020 }1021 },1022 /**1023 * Lookup119: xcm::v1::multiasset::WildMultiAsset1024 **/1025 XcmV1MultiassetWildMultiAsset: {1026 _enum: {1027 All: 'Null',1028 AllOf: {1029 id: 'XcmV1MultiassetAssetId',1030 fun: 'XcmV1MultiassetWildFungibility'1031 }1032 }1033 },1034 /**1035 * Lookup120: xcm::v1::multiasset::WildFungibility1036 **/1037 XcmV1MultiassetWildFungibility: {1038 _enum: ['Fungible', 'NonFungible']1039 },1040 /**1041 * Lookup122: xcm::v1::Response1042 **/1043 XcmV1Response: {1044 _enum: {1045 Assets: 'XcmV1MultiassetMultiAssets',1046 Version: 'u32'1047 }1048 },1049 /**1050 * Lookup123: xcm::v2::Xcm<Call>1051 **/1052 XcmV2Xcm: 'Vec<XcmV2Instruction>',1053 /**1054 * Lookup125: xcm::v2::Instruction<Call>1055 **/1056 XcmV2Instruction: {1057 _enum: {1058 WithdrawAsset: 'XcmV1MultiassetMultiAssets',1059 ReserveAssetDeposited: 'XcmV1MultiassetMultiAssets',1060 ReceiveTeleportedAsset: 'XcmV1MultiassetMultiAssets',1061 QueryResponse: {1062 queryId: 'Compact<u64>',1063 response: 'XcmV2Response',1064 maxWeight: 'Compact<u64>',1065 },1066 TransferAsset: {1067 assets: 'XcmV1MultiassetMultiAssets',1068 beneficiary: 'XcmV1MultiLocation',1069 },1070 TransferReserveAsset: {1071 assets: 'XcmV1MultiassetMultiAssets',1072 dest: 'XcmV1MultiLocation',1073 xcm: 'XcmV2Xcm',1074 },1075 Transact: {1076 originType: 'XcmV0OriginKind',1077 requireWeightAtMost: 'Compact<u64>',1078 call: 'XcmDoubleEncoded',1079 },1080 HrmpNewChannelOpenRequest: {1081 sender: 'Compact<u32>',1082 maxMessageSize: 'Compact<u32>',1083 maxCapacity: 'Compact<u32>',1084 },1085 HrmpChannelAccepted: {1086 recipient: 'Compact<u32>',1087 },1088 HrmpChannelClosing: {1089 initiator: 'Compact<u32>',1090 sender: 'Compact<u32>',1091 recipient: 'Compact<u32>',1092 },1093 ClearOrigin: 'Null',1094 DescendOrigin: 'XcmV1MultilocationJunctions',1095 ReportError: {1096 queryId: 'Compact<u64>',1097 dest: 'XcmV1MultiLocation',1098 maxResponseWeight: 'Compact<u64>',1099 },1100 DepositAsset: {1101 assets: 'XcmV1MultiassetMultiAssetFilter',1102 maxAssets: 'Compact<u32>',1103 beneficiary: 'XcmV1MultiLocation',1104 },1105 DepositReserveAsset: {1106 assets: 'XcmV1MultiassetMultiAssetFilter',1107 maxAssets: 'Compact<u32>',1108 dest: 'XcmV1MultiLocation',1109 xcm: 'XcmV2Xcm',1110 },1111 ExchangeAsset: {1112 give: 'XcmV1MultiassetMultiAssetFilter',1113 receive: 'XcmV1MultiassetMultiAssets',1114 },1115 InitiateReserveWithdraw: {1116 assets: 'XcmV1MultiassetMultiAssetFilter',1117 reserve: 'XcmV1MultiLocation',1118 xcm: 'XcmV2Xcm',1119 },1120 InitiateTeleport: {1121 assets: 'XcmV1MultiassetMultiAssetFilter',1122 dest: 'XcmV1MultiLocation',1123 xcm: 'XcmV2Xcm',1124 },1125 QueryHolding: {1126 queryId: 'Compact<u64>',1127 dest: 'XcmV1MultiLocation',1128 assets: 'XcmV1MultiassetMultiAssetFilter',1129 maxResponseWeight: 'Compact<u64>',1130 },1131 BuyExecution: {1132 fees: 'XcmV1MultiAsset',1133 weightLimit: 'XcmV2WeightLimit',1134 },1135 RefundSurplus: 'Null',1136 SetErrorHandler: 'XcmV2Xcm',1137 SetAppendix: 'XcmV2Xcm',1138 ClearError: 'Null',1139 ClaimAsset: {1140 assets: 'XcmV1MultiassetMultiAssets',1141 ticket: 'XcmV1MultiLocation',1142 },1143 Trap: 'Compact<u64>',1144 SubscribeVersion: {1145 queryId: 'Compact<u64>',1146 maxResponseWeight: 'Compact<u64>',1147 },1148 UnsubscribeVersion: 'Null'1149 }1150 },1151 /**1152 * Lookup126: xcm::v2::Response1153 **/1154 XcmV2Response: {1155 _enum: {1156 Null: 'Null',1157 Assets: 'XcmV1MultiassetMultiAssets',1158 ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',1159 Version: 'u32'1160 }1161 },1162 /**1163 * Lookup129: xcm::v2::traits::Error1164 **/1165 XcmV2TraitsError: {1166 _enum: {1167 Overflow: 'Null',1168 Unimplemented: 'Null',1169 UntrustedReserveLocation: 'Null',1170 UntrustedTeleportLocation: 'Null',1171 MultiLocationFull: 'Null',1172 MultiLocationNotInvertible: 'Null',1173 BadOrigin: 'Null',1174 InvalidLocation: 'Null',1175 AssetNotFound: 'Null',1176 FailedToTransactAsset: 'Null',1177 NotWithdrawable: 'Null',1178 LocationCannotHold: 'Null',1179 ExceedsMaxMessageSize: 'Null',1180 DestinationUnsupported: 'Null',1181 Transport: 'Null',1182 Unroutable: 'Null',1183 UnknownClaim: 'Null',1184 FailedToDecode: 'Null',1185 MaxWeightInvalid: 'Null',1186 NotHoldingFees: 'Null',1187 TooExpensive: 'Null',1188 Trap: 'u64',1189 UnhandledXcmVersion: 'Null',1190 WeightLimitReached: 'u64',1191 Barrier: 'Null',1192 WeightNotComputable: 'Null'1193 }1194 },1195 /**1196 * Lookup130: xcm::v2::WeightLimit1197 **/1198 XcmV2WeightLimit: {1199 _enum: {1200 Unlimited: 'Null',1201 Limited: 'Compact<u64>'1202 }1203 },1204 /**1205 * Lookup131: xcm::VersionedMultiAssets1206 **/1207 XcmVersionedMultiAssets: {1208 _enum: {1209 V0: 'Vec<XcmV0MultiAsset>',1210 V1: 'XcmV1MultiassetMultiAssets'1211 }1212 },1213 /**1214 * Lookup146: cumulus_pallet_xcm::pallet::Call<T>1215 **/1216 CumulusPalletXcmCall: 'Null',1217 /**1218 * Lookup147: cumulus_pallet_dmp_queue::pallet::Call<T>1219 **/1220 CumulusPalletDmpQueueCall: {1221 _enum: {1222 service_overweight: {1223 index: 'u64',1224 weightLimit: 'u64'1225 }1226 }1227 },1228 /**1229 * Lookup148: pallet_inflation::pallet::Call<T>1230 **/1231 PalletInflationCall: {1232 _enum: {1233 start_inflation: {1234 inflationStartRelayBlock: 'u32'1235 }1236 }1237 },1238 /**1239 * Lookup149: pallet_unique::Call<T>1240 **/1241 PalletUniqueCall: {1242 _enum: {1243 create_collection: {1244 collectionName: 'Vec<u16>',1245 collectionDescription: 'Vec<u16>',1246 tokenPrefix: 'Bytes',1247 mode: 'UpDataStructsCollectionMode',1248 },1249 create_collection_ex: {1250 data: 'UpDataStructsCreateCollectionData',1251 },1252 destroy_collection: {1253 collectionId: 'u32',1254 },1255 add_to_allow_list: {1256 collectionId: 'u32',1257 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1258 },1259 remove_from_allow_list: {1260 collectionId: 'u32',1261 address: 'PalletCommonAccountBasicCrossAccountIdRepr',1262 },1263 set_public_access_mode: {1264 collectionId: 'u32',1265 mode: 'UpDataStructsAccessMode',1266 },1267 set_mint_permission: {1268 collectionId: 'u32',1269 mintPermission: 'bool',1270 },1271 change_collection_owner: {1272 collectionId: 'u32',1273 newOwner: 'AccountId32',1274 },1275 add_collection_admin: {1276 collectionId: 'u32',1277 newAdminId: 'PalletCommonAccountBasicCrossAccountIdRepr',1278 },1279 remove_collection_admin: {1280 collectionId: 'u32',1281 accountId: 'PalletCommonAccountBasicCrossAccountIdRepr',1282 },1283 set_collection_sponsor: {1284 collectionId: 'u32',1285 newSponsor: 'AccountId32',1286 },1287 confirm_sponsorship: {1288 collectionId: 'u32',1289 },1290 remove_collection_sponsor: {1291 collectionId: 'u32',1292 },1293 create_item: {1294 collectionId: 'u32',1295 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1296 data: 'UpDataStructsCreateItemData',1297 },1298 create_multiple_items: {1299 collectionId: 'u32',1300 owner: 'PalletCommonAccountBasicCrossAccountIdRepr',1301 itemsData: 'Vec<UpDataStructsCreateItemData>',1302 },1303 create_multiple_items_ex: {1304 collectionId: 'u32',1305 data: 'UpDataStructsCreateItemExData',1306 },1307 set_transfers_enabled_flag: {1308 collectionId: 'u32',1309 value: 'bool',1310 },1311 burn_item: {1312 collectionId: 'u32',1313 itemId: 'u32',1314 value: 'u128',1315 },1316 burn_from: {1317 collectionId: 'u32',1318 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1319 itemId: 'u32',1320 value: 'u128',1321 },1322 transfer: {1323 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1324 collectionId: 'u32',1325 itemId: 'u32',1326 value: 'u128',1327 },1328 approve: {1329 spender: 'PalletCommonAccountBasicCrossAccountIdRepr',1330 collectionId: 'u32',1331 itemId: 'u32',1332 amount: 'u128',1333 },1334 transfer_from: {1335 from: 'PalletCommonAccountBasicCrossAccountIdRepr',1336 recipient: 'PalletCommonAccountBasicCrossAccountIdRepr',1337 collectionId: 'u32',1338 itemId: 'u32',1339 value: 'u128',1340 },1341 set_variable_meta_data: {1342 collectionId: 'u32',1343 itemId: 'u32',1344 data: 'Bytes',1345 },1346 set_meta_update_permission_flag: {1347 collectionId: 'u32',1348 value: 'UpDataStructsMetaUpdatePermission',1349 },1350 set_schema_version: {1351 collectionId: 'u32',1352 version: 'UpDataStructsSchemaVersion',1353 },1354 set_offchain_schema: {1355 collectionId: 'u32',1356 schema: 'Bytes',1357 },1358 set_const_on_chain_schema: {1359 collectionId: 'u32',1360 schema: 'Bytes',1361 },1362 set_variable_on_chain_schema: {1363 collectionId: 'u32',1364 schema: 'Bytes',1365 },1366 set_collection_limits: {1367 collectionId: 'u32',1368 newLimit: 'UpDataStructsCollectionLimits'1369 }1370 }1371 },1372 /**1373 * Lookup155: up_data_structs::CollectionMode1374 **/1375 UpDataStructsCollectionMode: {1376 _enum: {1377 NFT: 'Null',1378 Fungible: 'u8',1379 ReFungible: 'Null'1380 }1381 },1382 /**1383 * Lookup156: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>1384 **/1385 UpDataStructsCreateCollectionData: {1386 mode: 'UpDataStructsCollectionMode',1387 access: 'Option<UpDataStructsAccessMode>',1388 name: 'Vec<u16>',1389 description: 'Vec<u16>',1390 tokenPrefix: 'Bytes',1391 offchainSchema: 'Bytes',1392 schemaVersion: 'Option<UpDataStructsSchemaVersion>',1393 pendingSponsor: 'Option<AccountId32>',1394 limits: 'Option<UpDataStructsCollectionLimits>',1395 variableOnChainSchema: 'Bytes',1396 constOnChainSchema: 'Bytes',1397 metaUpdatePermission: 'Option<UpDataStructsMetaUpdatePermission>'1398 },1399 /**1400 * Lookup158: up_data_structs::AccessMode1401 **/1402 UpDataStructsAccessMode: {1403 _enum: ['Normal', 'AllowList']1404 },1405 /**1406 * Lookup161: up_data_structs::SchemaVersion1407 **/1408 UpDataStructsSchemaVersion: {1409 _enum: ['ImageURL', 'Unique']1410 },1411 /**1412 * Lookup164: up_data_structs::CollectionLimits1413 **/1414 UpDataStructsCollectionLimits: {1415 accountTokenOwnershipLimit: 'Option<u32>',1416 sponsoredDataSize: 'Option<u32>',1417 sponsoredDataRateLimit: 'Option<UpDataStructsSponsoringRateLimit>',1418 tokenLimit: 'Option<u32>',1419 sponsorTransferTimeout: 'Option<u32>',1420 sponsorApproveTimeout: 'Option<u32>',1421 ownerCanTransfer: 'Option<bool>',1422 ownerCanDestroy: 'Option<bool>',1423 transfersEnabled: 'Option<bool>'1424 },1425 /**1426 * Lookup166: up_data_structs::SponsoringRateLimit1427 **/1428 UpDataStructsSponsoringRateLimit: {1429 _enum: {1430 SponsoringDisabled: 'Null',1431 Blocks: 'u32'1432 }1433 },1434 /**1435 * Lookup170: up_data_structs::MetaUpdatePermission1436 **/1437 UpDataStructsMetaUpdatePermission: {1438 _enum: ['ItemOwner', 'Admin', 'None']1439 },1440 /**1441 * Lookup172: pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>1442 **/1443 PalletCommonAccountBasicCrossAccountIdRepr: {1444 _enum: {1445 Substrate: 'AccountId32',1446 Ethereum: 'H160'1447 }1448 },1449 /**1450 * Lookup174: up_data_structs::CreateItemData1451 **/1452 UpDataStructsCreateItemData: {1453 _enum: {1454 NFT: 'UpDataStructsCreateNftData',1455 Fungible: 'UpDataStructsCreateFungibleData',1456 ReFungible: 'UpDataStructsCreateReFungibleData'1457 }1458 },1459 /**1460 * Lookup175: up_data_structs::CreateNftData1461 **/1462 UpDataStructsCreateNftData: {1463 constData: 'Bytes',1464 variableData: 'Bytes'1465 },1466 /**1467 * Lookup177: up_data_structs::CreateFungibleData1468 **/1469 UpDataStructsCreateFungibleData: {1470 value: 'u128'1471 },1472 /**1473 * Lookup178: up_data_structs::CreateReFungibleData1474 **/1475 UpDataStructsCreateReFungibleData: {1476 constData: 'Bytes',1477 variableData: 'Bytes',1478 pieces: 'u128'1479 },1480 /**1481 * Lookup180: up_data_structs::CreateItemExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1482 **/1483 UpDataStructsCreateItemExData: {1484 _enum: {1485 NFT: 'Vec<UpDataStructsCreateNftExData>',1486 Fungible: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>',1487 RefungibleMultipleItems: 'Vec<UpDataStructsCreateRefungibleExData>',1488 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExData'1489 }1490 },1491 /**1492 * Lookup182: up_data_structs::CreateNftExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1493 **/1494 UpDataStructsCreateNftExData: {1495 constData: 'Bytes',1496 variableData: 'Bytes',1497 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'1498 },1499 /**1500 * Lookup189: up_data_structs::CreateRefungibleExData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1501 **/1502 UpDataStructsCreateRefungibleExData: {1503 constData: 'Bytes',1504 variableData: 'Bytes',1505 users: 'BTreeMap<PalletCommonAccountBasicCrossAccountIdRepr, u128>'1506 },1507 /**1508 * Lookup192: pallet_template_transaction_payment::Call<T>1509 **/1510 PalletTemplateTransactionPaymentCall: 'Null',1511 /**1512 * Lookup193: pallet_evm::pallet::Call<T>1513 **/1514 PalletEvmCall: {1515 _enum: {1516 withdraw: {1517 address: 'H160',1518 value: 'u128',1519 },1520 call: {1521 source: 'H160',1522 target: 'H160',1523 input: 'Bytes',1524 value: 'U256',1525 gasLimit: 'u64',1526 maxFeePerGas: 'U256',1527 maxPriorityFeePerGas: 'Option<U256>',1528 nonce: 'Option<U256>',1529 accessList: 'Vec<(H160,Vec<H256>)>',1530 },1531 create: {1532 source: 'H160',1533 init: 'Bytes',1534 value: 'U256',1535 gasLimit: 'u64',1536 maxFeePerGas: 'U256',1537 maxPriorityFeePerGas: 'Option<U256>',1538 nonce: 'Option<U256>',1539 accessList: 'Vec<(H160,Vec<H256>)>',1540 },1541 create2: {1542 source: 'H160',1543 init: 'Bytes',1544 salt: 'H256',1545 value: 'U256',1546 gasLimit: 'u64',1547 maxFeePerGas: 'U256',1548 maxPriorityFeePerGas: 'Option<U256>',1549 nonce: 'Option<U256>',1550 accessList: 'Vec<(H160,Vec<H256>)>'1551 }1552 }1553 },1554 /**1555 * Lookup199: pallet_ethereum::pallet::Call<T>1556 **/1557 PalletEthereumCall: {1558 _enum: {1559 transact: {1560 transaction: 'EthereumTransactionTransactionV2'1561 }1562 }1563 },1564 /**1565 * Lookup200: ethereum::transaction::TransactionV21566 **/1567 EthereumTransactionTransactionV2: {1568 _enum: {1569 Legacy: 'EthereumTransactionLegacyTransaction',1570 EIP2930: 'EthereumTransactionEip2930Transaction',1571 EIP1559: 'EthereumTransactionEip1559Transaction'1572 }1573 },1574 /**1575 * Lookup201: ethereum::transaction::LegacyTransaction1576 **/1577 EthereumTransactionLegacyTransaction: {1578 nonce: 'U256',1579 gasPrice: 'U256',1580 gasLimit: 'U256',1581 action: 'EthereumTransactionTransactionAction',1582 value: 'U256',1583 input: 'Bytes',1584 signature: 'EthereumTransactionTransactionSignature'1585 },1586 /**1587 * Lookup202: ethereum::transaction::TransactionAction1588 **/1589 EthereumTransactionTransactionAction: {1590 _enum: {1591 Call: 'H160',1592 Create: 'Null'1593 }1594 },1595 /**1596 * Lookup203: ethereum::transaction::TransactionSignature1597 **/1598 EthereumTransactionTransactionSignature: {1599 v: 'u64',1600 r: 'H256',1601 s: 'H256'1602 },1603 /**1604 * Lookup205: ethereum::transaction::EIP2930Transaction1605 **/1606 EthereumTransactionEip2930Transaction: {1607 chainId: 'u64',1608 nonce: 'U256',1609 gasPrice: 'U256',1610 gasLimit: 'U256',1611 action: 'EthereumTransactionTransactionAction',1612 value: 'U256',1613 input: 'Bytes',1614 accessList: 'Vec<EthereumTransactionAccessListItem>',1615 oddYParity: 'bool',1616 r: 'H256',1617 s: 'H256'1618 },1619 /**1620 * Lookup207: ethereum::transaction::AccessListItem1621 **/1622 EthereumTransactionAccessListItem: {1623 address: 'H160',1624 slots: 'Vec<H256>'1625 },1626 /**1627 * Lookup208: ethereum::transaction::EIP1559Transaction1628 **/1629 EthereumTransactionEip1559Transaction: {1630 chainId: 'u64',1631 nonce: 'U256',1632 maxPriorityFeePerGas: 'U256',1633 maxFeePerGas: 'U256',1634 gasLimit: 'U256',1635 action: 'EthereumTransactionTransactionAction',1636 value: 'U256',1637 input: 'Bytes',1638 accessList: 'Vec<EthereumTransactionAccessListItem>',1639 oddYParity: 'bool',1640 r: 'H256',1641 s: 'H256'1642 },1643 /**1644 * Lookup209: pallet_evm_migration::pallet::Call<T>1645 **/1646 PalletEvmMigrationCall: {1647 _enum: {1648 begin: {1649 address: 'H160',1650 },1651 set_data: {1652 address: 'H160',1653 data: 'Vec<(H256,H256)>',1654 },1655 finish: {1656 address: 'H160',1657 code: 'Bytes'1658 }1659 }1660 },1661 /**1662 * Lookup212: pallet_sudo::pallet::Event<T>1663 **/1664 PalletSudoEvent: {1665 _enum: {1666 Sudid: {1667 sudoResult: 'Result<Null, SpRuntimeDispatchError>',1668 },1669 KeyChanged: {1670 oldSudoer: 'Option<AccountId32>',1671 },1672 SudoAsDone: {1673 sudoResult: 'Result<Null, SpRuntimeDispatchError>'1674 }1675 }1676 },1677 /**1678 * Lookup214: sp_runtime::DispatchError1679 **/1680 SpRuntimeDispatchError: {1681 _enum: {1682 Other: 'Null',1683 CannotLookup: 'Null',1684 BadOrigin: 'Null',1685 Module: 'SpRuntimeModuleError',1686 ConsumerRemaining: 'Null',1687 NoProviders: 'Null',1688 TooManyConsumers: 'Null',1689 Token: 'SpRuntimeTokenError',1690 Arithmetic: 'SpRuntimeArithmeticError'1691 }1692 },1693 /**1694 * Lookup215: sp_runtime::ModuleError1695 **/1696 SpRuntimeModuleError: {1697 index: 'u8',1698 error: 'u8'1699 },1700 /**1701 * Lookup216: sp_runtime::TokenError1702 **/1703 SpRuntimeTokenError: {1704 _enum: ['NoFunds', 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported']1705 },1706 /**1707 * Lookup217: sp_runtime::ArithmeticError1708 **/1709 SpRuntimeArithmeticError: {1710 _enum: ['Underflow', 'Overflow', 'DivisionByZero']1711 },1712 /**1713 * Lookup218: pallet_sudo::pallet::Error<T>1714 **/1715 PalletSudoError: {1716 _enum: ['RequireSudo']1717 },1718 /**1719 * Lookup219: frame_system::AccountInfo<Index, pallet_balances::AccountData<Balance>>1720 **/1721 FrameSystemAccountInfo: {1722 nonce: 'u32',1723 consumers: 'u32',1724 providers: 'u32',1725 sufficients: 'u32',1726 data: 'PalletBalancesAccountData'1727 },1728 /**1729 * Lookup220: frame_support::weights::PerDispatchClass<T>1730 **/1731 FrameSupportWeightsPerDispatchClassU64: {1732 normal: 'u64',1733 operational: 'u64',1734 mandatory: 'u64'1735 },1736 /**1737 * Lookup221: sp_runtime::generic::digest::Digest1738 **/1739 SpRuntimeDigest: {1740 logs: 'Vec<SpRuntimeDigestDigestItem>'1741 },1742 /**1743 * Lookup223: sp_runtime::generic::digest::DigestItem1744 **/1745 SpRuntimeDigestDigestItem: {1746 _enum: {1747 Other: 'Bytes',1748 __Unused1: 'Null',1749 __Unused2: 'Null',1750 __Unused3: 'Null',1751 Consensus: '([u8;4],Bytes)',1752 Seal: '([u8;4],Bytes)',1753 PreRuntime: '([u8;4],Bytes)',1754 __Unused7: 'Null',1755 RuntimeEnvironmentUpdated: 'Null'1756 }1757 },1758 /**1759 * Lookup225: frame_system::EventRecord<opal_runtime::Event, primitive_types::H256>1760 **/1761 FrameSystemEventRecord: {1762 phase: 'FrameSystemPhase',1763 event: 'Event',1764 topics: 'Vec<H256>'1765 },1766 /**1767 * Lookup227: frame_system::pallet::Event<T>1768 **/1769 FrameSystemEvent: {1770 _enum: {1771 ExtrinsicSuccess: {1772 dispatchInfo: 'FrameSupportWeightsDispatchInfo',1773 },1774 ExtrinsicFailed: {1775 dispatchError: 'SpRuntimeDispatchError',1776 dispatchInfo: 'FrameSupportWeightsDispatchInfo',1777 },1778 CodeUpdated: 'Null',1779 NewAccount: {1780 account: 'AccountId32',1781 },1782 KilledAccount: {1783 account: 'AccountId32',1784 },1785 Remarked: {1786 _alias: {1787 hash_: 'hash',1788 },1789 sender: 'AccountId32',1790 hash_: 'H256'1791 }1792 }1793 },1794 /**1795 * Lookup228: frame_support::weights::DispatchInfo1796 **/1797 FrameSupportWeightsDispatchInfo: {1798 weight: 'u64',1799 class: 'FrameSupportWeightsDispatchClass',1800 paysFee: 'FrameSupportWeightsPays'1801 },1802 /**1803 * Lookup229: frame_support::weights::DispatchClass1804 **/1805 FrameSupportWeightsDispatchClass: {1806 _enum: ['Normal', 'Operational', 'Mandatory']1807 },1808 /**1809 * Lookup230: frame_support::weights::Pays1810 **/1811 FrameSupportWeightsPays: {1812 _enum: ['Yes', 'No']1813 },1814 /**1815 * Lookup231: orml_vesting::module::Event<T>1816 **/1817 OrmlVestingModuleEvent: {1818 _enum: {1819 VestingScheduleAdded: {1820 from: 'AccountId32',1821 to: 'AccountId32',1822 vestingSchedule: 'OrmlVestingVestingSchedule',1823 },1824 Claimed: {1825 who: 'AccountId32',1826 amount: 'u128',1827 },1828 VestingSchedulesUpdated: {1829 who: 'AccountId32'1830 }1831 }1832 },1833 /**1834 * Lookup232: cumulus_pallet_xcmp_queue::pallet::Event<T>1835 **/1836 CumulusPalletXcmpQueueEvent: {1837 _enum: {1838 Success: 'Option<H256>',1839 Fail: '(Option<H256>,XcmV2TraitsError)',1840 BadVersion: 'Option<H256>',1841 BadFormat: 'Option<H256>',1842 UpwardMessageSent: 'Option<H256>',1843 XcmpMessageSent: 'Option<H256>',1844 OverweightEnqueued: '(u32,u32,u64,u64)',1845 OverweightServiced: '(u64,u64)'1846 }1847 },1848 /**1849 * Lookup233: pallet_xcm::pallet::Event<T>1850 **/1851 PalletXcmEvent: {1852 _enum: {1853 Attempted: 'XcmV2TraitsOutcome',1854 Sent: '(XcmV1MultiLocation,XcmV1MultiLocation,XcmV2Xcm)',1855 UnexpectedResponse: '(XcmV1MultiLocation,u64)',1856 ResponseReady: '(u64,XcmV2Response)',1857 Notified: '(u64,u8,u8)',1858 NotifyOverweight: '(u64,u8,u8,u64,u64)',1859 NotifyDispatchError: '(u64,u8,u8)',1860 NotifyDecodeFailed: '(u64,u8,u8)',1861 InvalidResponder: '(XcmV1MultiLocation,u64,Option<XcmV1MultiLocation>)',1862 InvalidResponderVersion: '(XcmV1MultiLocation,u64)',1863 ResponseTaken: 'u64',1864 AssetsTrapped: '(H256,XcmV1MultiLocation,XcmVersionedMultiAssets)',1865 VersionChangeNotified: '(XcmV1MultiLocation,u32)',1866 SupportedVersionChanged: '(XcmV1MultiLocation,u32)',1867 NotifyTargetSendFail: '(XcmV1MultiLocation,u64,XcmV2TraitsError)',1868 NotifyTargetMigrationFail: '(XcmVersionedMultiLocation,u64)'1869 }1870 },1871 /**1872 * Lookup234: xcm::v2::traits::Outcome1873 **/1874 XcmV2TraitsOutcome: {1875 _enum: {1876 Complete: 'u64',1877 Incomplete: '(u64,XcmV2TraitsError)',1878 Error: 'XcmV2TraitsError'1879 }1880 },1881 /**1882 * Lookup236: cumulus_pallet_xcm::pallet::Event<T>1883 **/1884 CumulusPalletXcmEvent: {1885 _enum: {1886 InvalidFormat: '[u8;8]',1887 UnsupportedVersion: '[u8;8]',1888 ExecutedDownward: '([u8;8],XcmV2TraitsOutcome)'1889 }1890 },1891 /**1892 * Lookup237: cumulus_pallet_dmp_queue::pallet::Event<T>1893 **/1894 CumulusPalletDmpQueueEvent: {1895 _enum: {1896 InvalidFormat: '[u8;32]',1897 UnsupportedVersion: '[u8;32]',1898 ExecutedDownward: '([u8;32],XcmV2TraitsOutcome)',1899 WeightExhausted: '([u8;32],u64,u64)',1900 OverweightEnqueued: '([u8;32],u64,u64)',1901 OverweightServiced: '(u64,u64)'1902 }1903 },1904 /**1905 * Lookup238: pallet_unique::RawEvent<sp_core::crypto::AccountId32, pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>1906 **/1907 PalletUniqueRawEvent: {1908 _enum: {1909 CollectionSponsorRemoved: 'u32',1910 CollectionAdminAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1911 CollectionOwnedChanged: '(u32,AccountId32)',1912 CollectionSponsorSet: '(u32,AccountId32)',1913 ConstOnChainSchemaSet: 'u32',1914 SponsorshipConfirmed: '(u32,AccountId32)',1915 CollectionAdminRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1916 AllowListAddressRemoved: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1917 AllowListAddressAdded: '(u32,PalletCommonAccountBasicCrossAccountIdRepr)',1918 CollectionLimitSet: 'u32',1919 MintPermissionSet: 'u32',1920 OffchainSchemaSet: 'u32',1921 PublicAccessModeSet: '(u32,UpDataStructsAccessMode)',1922 SchemaVersionSet: 'u32',1923 VariableOnChainSchemaSet: 'u32'1924 }1925 },1926 /**1927 * Lookup239: pallet_common::pallet::Event<T>1928 **/1929 PalletCommonEvent: {1930 _enum: {1931 CollectionCreated: '(u32,u8,AccountId32)',1932 CollectionDestroyed: 'u32',1933 ItemCreated: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1934 ItemDestroyed: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1935 Transfer: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)',1936 Approved: '(u32,u32,PalletCommonAccountBasicCrossAccountIdRepr,PalletCommonAccountBasicCrossAccountIdRepr,u128)'1937 }1938 },1939 /**1940 * Lookup240: pallet_evm::pallet::Event<T>1941 **/1942 PalletEvmEvent: {1943 _enum: {1944 Log: 'EthereumLog',1945 Created: 'H160',1946 CreatedFailed: 'H160',1947 Executed: 'H160',1948 ExecutedFailed: 'H160',1949 BalanceDeposit: '(AccountId32,H160,U256)',1950 BalanceWithdraw: '(AccountId32,H160,U256)'1951 }1952 },1953 /**1954 * Lookup241: ethereum::log::Log1955 **/1956 EthereumLog: {1957 address: 'H160',1958 topics: 'Vec<H256>',1959 data: 'Bytes'1960 },1961 /**1962 * Lookup242: pallet_ethereum::pallet::Event1963 **/1964 PalletEthereumEvent: {1965 _enum: {1966 Executed: '(H160,H160,H256,EvmCoreErrorExitReason)'1967 }1968 },1969 /**1970 * Lookup243: evm_core::error::ExitReason1971 **/1972 EvmCoreErrorExitReason: {1973 _enum: {1974 Succeed: 'EvmCoreErrorExitSucceed',1975 Error: 'EvmCoreErrorExitError',1976 Revert: 'EvmCoreErrorExitRevert',1977 Fatal: 'EvmCoreErrorExitFatal'1978 }1979 },1980 /**1981 * Lookup244: evm_core::error::ExitSucceed1982 **/1983 EvmCoreErrorExitSucceed: {1984 _enum: ['Stopped', 'Returned', 'Suicided']1985 },1986 /**1987 * Lookup245: evm_core::error::ExitError1988 **/1989 EvmCoreErrorExitError: {1990 _enum: {1991 StackUnderflow: 'Null',1992 StackOverflow: 'Null',1993 InvalidJump: 'Null',1994 InvalidRange: 'Null',1995 DesignatedInvalid: 'Null',1996 CallTooDeep: 'Null',1997 CreateCollision: 'Null',1998 CreateContractLimit: 'Null',1999 InvalidCode: 'Null',2000 OutOfOffset: 'Null',2001 OutOfGas: 'Null',2002 OutOfFund: 'Null',2003 PCUnderflow: 'Null',2004 CreateEmpty: 'Null',2005 Other: 'Text'2006 }2007 },2008 /**2009 * Lookup248: evm_core::error::ExitRevert2010 **/2011 EvmCoreErrorExitRevert: {2012 _enum: ['Reverted']2013 },2014 /**2015 * Lookup249: evm_core::error::ExitFatal2016 **/2017 EvmCoreErrorExitFatal: {2018 _enum: {2019 NotSupported: 'Null',2020 UnhandledInterrupt: 'Null',2021 CallErrorAsFatal: 'EvmCoreErrorExitError',2022 Other: 'Text'2023 }2024 },2025 /**2026 * Lookup250: frame_system::Phase2027 **/2028 FrameSystemPhase: {2029 _enum: {2030 ApplyExtrinsic: 'u32',2031 Finalization: 'Null',2032 Initialization: 'Null'2033 }2034 },2035 /**2036 * Lookup252: frame_system::LastRuntimeUpgradeInfo2037 **/2038 FrameSystemLastRuntimeUpgradeInfo: {2039 specVersion: 'Compact<u32>',2040 specName: 'Text'2041 },2042 /**2043 * Lookup253: frame_system::limits::BlockWeights2044 **/2045 FrameSystemLimitsBlockWeights: {2046 baseBlock: 'u64',2047 maxBlock: 'u64',2048 perClass: 'FrameSupportWeightsPerDispatchClassWeightsPerClass'2049 },2050 /**2051 * Lookup254: frame_support::weights::PerDispatchClass<frame_system::limits::WeightsPerClass>2052 **/2053 FrameSupportWeightsPerDispatchClassWeightsPerClass: {2054 normal: 'FrameSystemLimitsWeightsPerClass',2055 operational: 'FrameSystemLimitsWeightsPerClass',2056 mandatory: 'FrameSystemLimitsWeightsPerClass'2057 },2058 /**2059 * Lookup255: frame_system::limits::WeightsPerClass2060 **/2061 FrameSystemLimitsWeightsPerClass: {2062 baseExtrinsic: 'u64',2063 maxExtrinsic: 'Option<u64>',2064 maxTotal: 'Option<u64>',2065 reserved: 'Option<u64>'2066 },2067 /**2068 * Lookup257: frame_system::limits::BlockLength2069 **/2070 FrameSystemLimitsBlockLength: {2071 max: 'FrameSupportWeightsPerDispatchClassU32'2072 },2073 /**2074 * Lookup258: frame_support::weights::PerDispatchClass<T>2075 **/2076 FrameSupportWeightsPerDispatchClassU32: {2077 normal: 'u32',2078 operational: 'u32',2079 mandatory: 'u32'2080 },2081 /**2082 * Lookup259: frame_support::weights::RuntimeDbWeight2083 **/2084 FrameSupportWeightsRuntimeDbWeight: {2085 read: 'u64',2086 write: 'u64'2087 },2088 /**2089 * Lookup260: sp_version::RuntimeVersion2090 **/2091 SpVersionRuntimeVersion: {2092 specName: 'Text',2093 implName: 'Text',2094 authoringVersion: 'u32',2095 specVersion: 'u32',2096 implVersion: 'u32',2097 apis: 'Vec<([u8;8],u32)>',2098 transactionVersion: 'u32',2099 stateVersion: 'u8'2100 },2101 /**2102 * Lookup264: frame_system::pallet::Error<T>2103 **/2104 FrameSystemError: {2105 _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered']2106 },2107 /**2108 * Lookup266: orml_vesting::module::Error<T>2109 **/2110 OrmlVestingModuleError: {2111 _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded']2112 },2113 /**2114 * Lookup268: cumulus_pallet_xcmp_queue::InboundChannelDetails2115 **/2116 CumulusPalletXcmpQueueInboundChannelDetails: {2117 sender: 'u32',2118 state: 'CumulusPalletXcmpQueueInboundState',2119 messageMetadata: 'Vec<(u32,PolkadotParachainPrimitivesXcmpMessageFormat)>'2120 },2121 /**2122 * Lookup269: cumulus_pallet_xcmp_queue::InboundState2123 **/2124 CumulusPalletXcmpQueueInboundState: {2125 _enum: ['Ok', 'Suspended']2126 },2127 /**2128 * Lookup272: polkadot_parachain::primitives::XcmpMessageFormat2129 **/2130 PolkadotParachainPrimitivesXcmpMessageFormat: {2131 _enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']2132 },2133 /**2134 * Lookup275: cumulus_pallet_xcmp_queue::OutboundChannelDetails2135 **/2136 CumulusPalletXcmpQueueOutboundChannelDetails: {2137 recipient: 'u32',2138 state: 'CumulusPalletXcmpQueueOutboundState',2139 signalsExist: 'bool',2140 firstIndex: 'u16',2141 lastIndex: 'u16'2142 },2143 /**2144 * Lookup276: cumulus_pallet_xcmp_queue::OutboundState2145 **/2146 CumulusPalletXcmpQueueOutboundState: {2147 _enum: ['Ok', 'Suspended']2148 },2149 /**2150 * Lookup278: cumulus_pallet_xcmp_queue::QueueConfigData2151 **/2152 CumulusPalletXcmpQueueQueueConfigData: {2153 suspendThreshold: 'u32',2154 dropThreshold: 'u32',2155 resumeThreshold: 'u32',2156 thresholdWeight: 'u64',2157 weightRestrictDecay: 'u64',2158 xcmpMaxIndividualWeight: 'u64'2159 },2160 /**2161 * Lookup280: cumulus_pallet_xcmp_queue::pallet::Error<T>2162 **/2163 CumulusPalletXcmpQueueError: {2164 _enum: ['FailedToSend', 'BadXcmOrigin', 'BadXcm', 'BadOverweightIndex', 'WeightOverLimit']2165 },2166 /**2167 * Lookup281: pallet_xcm::pallet::Error<T>2168 **/2169 PalletXcmError: {2170 _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed']2171 },2172 /**2173 * Lookup282: cumulus_pallet_xcm::pallet::Error<T>2174 **/2175 CumulusPalletXcmError: 'Null',2176 /**2177 * Lookup283: cumulus_pallet_dmp_queue::ConfigData2178 **/2179 CumulusPalletDmpQueueConfigData: {2180 maxIndividual: 'u64'2181 },2182 /**2183 * Lookup284: cumulus_pallet_dmp_queue::PageIndexData2184 **/2185 CumulusPalletDmpQueuePageIndexData: {2186 beginUsed: 'u32',2187 endUsed: 'u32',2188 overweightCount: 'u64'2189 },2190 /**2191 * Lookup287: cumulus_pallet_dmp_queue::pallet::Error<T>2192 **/2193 CumulusPalletDmpQueueError: {2194 _enum: ['Unknown', 'OverLimit']2195 },2196 /**2197 * Lookup291: pallet_unique::Error<T>2198 **/2199 PalletUniqueError: {2200 _enum: ['CollectionDecimalPointLimitExceeded', 'ConfirmUnsetSponsorFail', 'EmptyArgument']2201 },2202 /**2203 * Lookup292: up_data_structs::Collection<sp_core::crypto::AccountId32>2204 **/2205 UpDataStructsCollection: {2206 owner: 'AccountId32',2207 mode: 'UpDataStructsCollectionMode',2208 access: 'UpDataStructsAccessMode',2209 name: 'Vec<u16>',2210 description: 'Vec<u16>',2211 tokenPrefix: 'Bytes',2212 mintMode: 'bool',2213 offchainSchema: 'Bytes',2214 schemaVersion: 'UpDataStructsSchemaVersion',2215 sponsorship: 'UpDataStructsSponsorshipState',2216 limits: 'UpDataStructsCollectionLimits',2217 variableOnChainSchema: 'Bytes',2218 constOnChainSchema: 'Bytes',2219 metaUpdatePermission: 'UpDataStructsMetaUpdatePermission'2220 },2221 /**2222 * Lookup293: up_data_structs::SponsorshipState<sp_core::crypto::AccountId32>2223 **/2224 UpDataStructsSponsorshipState: {2225 _enum: {2226 Disabled: 'Null',2227 Unconfirmed: 'AccountId32',2228 Confirmed: 'AccountId32'2229 }2230 },2231 /**2232 * Lookup296: up_data_structs::CollectionStats2233 **/2234 UpDataStructsCollectionStats: {2235 created: 'u32',2236 destroyed: 'u32',2237 alive: 'u32'2238 },2239 /**2240 * Lookup297: pallet_common::pallet::Error<T>2241 **/2242 PalletCommonError: {2243 _enum: ['CollectionNotFound', 'MustBeTokenOwner', 'NoPermission', 'PublicMintingNotAllowed', 'AddressNotInAllowlist', 'CollectionNameLimitExceeded', 'CollectionDescriptionLimitExceeded', 'CollectionTokenPrefixLimitExceeded', 'TotalCollectionsLimitExceeded', 'TokenVariableDataLimitExceeded', 'CollectionAdminCountExceeded', 'CollectionLimitBoundsExceeded', 'OwnerPermissionsCantBeReverted', 'TransferNotAllowed', 'AccountTokenLimitExceeded', 'CollectionTokenLimitExceeded', 'MetadataFlagFrozen', 'TokenNotFound', 'TokenValueTooLow', 'ApprovedValueTooLow', 'CantApproveMoreThanOwned', 'AddressIsZero', 'UnsupportedOperation', 'NotSufficientFounds']2244 },2245 /**2246 * Lookup299: pallet_fungible::pallet::Error<T>2247 **/2248 PalletFungibleError: {2249 _enum: ['NotFungibleDataUsedToMintFungibleCollectionToken', 'FungibleItemsHaveNoId', 'FungibleItemsDontHaveData']2250 },2251 /**2252 * Lookup300: pallet_refungible::ItemData2253 **/2254 PalletRefungibleItemData: {2255 constData: 'Bytes',2256 variableData: 'Bytes'2257 },2258 /**2259 * Lookup304: pallet_refungible::pallet::Error<T>2260 **/2261 PalletRefungibleError: {2262 _enum: ['NotRefungibleDataUsedToMintFungibleCollectionToken', 'WrongRefungiblePieces']2263 },2264 /**2265 * Lookup305: pallet_nonfungible::ItemData<pallet_common::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2266 **/2267 PalletNonfungibleItemData: {2268 constData: 'Bytes',2269 variableData: 'Bytes',2270 owner: 'PalletCommonAccountBasicCrossAccountIdRepr'2271 },2272 /**2273 * Lookup306: pallet_nonfungible::pallet::Error<T>2274 **/2275 PalletNonfungibleError: {2276 _enum: ['NotNonfungibleDataUsedToMintFungibleCollectionToken', 'NonfungibleItemsHaveNoAmount']2277 },2278 /**2279 * Lookup308: pallet_evm::pallet::Error<T>2280 **/2281 PalletEvmError: {2282 _enum: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce']2283 },2284 /**2285 * Lookup311: fp_rpc::TransactionStatus2286 **/2287 FpRpcTransactionStatus: {2288 transactionHash: 'H256',2289 transactionIndex: 'u32',2290 from: 'H160',2291 to: 'Option<H160>',2292 contractAddress: 'Option<H160>',2293 logs: 'Vec<EthereumLog>',2294 logsBloom: 'EthbloomBloom'2295 },2296 /**2297 * Lookup314: ethbloom::Bloom2298 **/2299 EthbloomBloom: '[u8;256]',2300 /**2301 * Lookup316: ethereum::receipt::ReceiptV32302 **/2303 EthereumReceiptReceiptV3: {2304 _enum: {2305 Legacy: 'EthereumReceiptEip658ReceiptData',2306 EIP2930: 'EthereumReceiptEip658ReceiptData',2307 EIP1559: 'EthereumReceiptEip658ReceiptData'2308 }2309 },2310 /**2311 * Lookup317: ethereum::receipt::EIP658ReceiptData2312 **/2313 EthereumReceiptEip658ReceiptData: {2314 statusCode: 'u8',2315 usedGas: 'U256',2316 logsBloom: 'EthbloomBloom',2317 logs: 'Vec<EthereumLog>'2318 },2319 /**2320 * Lookup318: ethereum::block::Block<ethereum::transaction::TransactionV2>2321 **/2322 EthereumBlock: {2323 header: 'EthereumHeader',2324 transactions: 'Vec<EthereumTransactionTransactionV2>',2325 ommers: 'Vec<EthereumHeader>'2326 },2327 /**2328 * Lookup319: ethereum::header::Header2329 **/2330 EthereumHeader: {2331 parentHash: 'H256',2332 ommersHash: 'H256',2333 beneficiary: 'H160',2334 stateRoot: 'H256',2335 transactionsRoot: 'H256',2336 receiptsRoot: 'H256',2337 logsBloom: 'EthbloomBloom',2338 difficulty: 'U256',2339 number: 'U256',2340 gasLimit: 'U256',2341 gasUsed: 'U256',2342 timestamp: 'u64',2343 extraData: 'Bytes',2344 mixHash: 'H256',2345 nonce: 'EthereumTypesHashH64'2346 },2347 /**2348 * Lookup320: ethereum_types::hash::H642349 **/2350 EthereumTypesHashH64: '[u8;8]',2351 /**2352 * Lookup325: pallet_ethereum::pallet::Error<T>2353 **/2354 PalletEthereumError: {2355 _enum: ['InvalidSignature', 'PreLogExists']2356 },2357 /**2358 * Lookup326: pallet_evm_coder_substrate::pallet::Error<T>2359 **/2360 PalletEvmCoderSubstrateError: {2361 _enum: ['OutOfGas', 'OutOfFund']2362 },2363 /**2364 * Lookup327: pallet_evm_contract_helpers::SponsoringModeT2365 **/2366 PalletEvmContractHelpersSponsoringModeT: {2367 _enum: ['Disabled', 'Allowlisted', 'Generous']2368 },2369 /**2370 * Lookup329: pallet_evm_contract_helpers::pallet::Error<T>2371 **/2372 PalletEvmContractHelpersError: {2373 _enum: ['NoPermission']2374 },2375 /**2376 * Lookup330: pallet_evm_migration::pallet::Error<T>2377 **/2378 PalletEvmMigrationError: {2379 _enum: ['AccountNotEmpty', 'AccountIsNotMigrating']2380 },2381 /**2382 * Lookup332: sp_runtime::MultiSignature2383 **/2384 SpRuntimeMultiSignature: {2385 _enum: {2386 Ed25519: 'SpCoreEd25519Signature',2387 Sr25519: 'SpCoreSr25519Signature',2388 Ecdsa: 'SpCoreEcdsaSignature'2389 }2390 },2391 /**2392 * Lookup333: sp_core::ed25519::Signature2393 **/2394 SpCoreEd25519Signature: '[u8;64]',2395 /**2396 * Lookup335: sp_core::sr25519::Signature2397 **/2398 SpCoreSr25519Signature: '[u8;64]',2399 /**2400 * Lookup336: sp_core::ecdsa::Signature2401 **/2402 SpCoreEcdsaSignature: '[u8;65]',2403 /**2404 * Lookup339: frame_system::extensions::check_spec_version::CheckSpecVersion<T>2405 **/2406 FrameSystemExtensionsCheckSpecVersion: 'Null',2407 /**2408 * Lookup340: frame_system::extensions::check_genesis::CheckGenesis<T>2409 **/2410 FrameSystemExtensionsCheckGenesis: 'Null',2411 /**2412 * Lookup343: frame_system::extensions::check_nonce::CheckNonce<T>2413 **/2414 FrameSystemExtensionsCheckNonce: 'Compact<u32>',2415 /**2416 * Lookup344: frame_system::extensions::check_weight::CheckWeight<T>2417 **/2418 FrameSystemExtensionsCheckWeight: 'Null',2419 /**2420 * Lookup345: pallet_template_transaction_payment::ChargeTransactionPayment<opal_runtime::Runtime>2421 **/2422 PalletTemplateTransactionPaymentChargeTransactionPayment: 'Compact<u128>',2423 /**2424 * Lookup346: opal_runtime::Runtime2425 **/2426 OpalRuntimeRuntime: 'Null'2427};tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2462,7 +2462,8 @@
readonly isCantApproveMoreThanOwned: boolean;
readonly isAddressIsZero: boolean;
readonly isUnsupportedOperation: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';
+ readonly isNotSufficientFounds: boolean;
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';
}
/** @name PalletFungibleError (299) */
@@ -2643,7 +2644,7 @@
/** @name PalletTemplateTransactionPaymentChargeTransactionPayment (345) */
export interface PalletTemplateTransactionPaymentChargeTransactionPayment extends Compact<u128> {}
- /** @name UniqueRuntimeRuntime (346) */
- export type UniqueRuntimeRuntime = Null;
+ /** @name OpalRuntimeRuntime (346) */
+ export type OpalRuntimeRuntime = Null;
} // declare module
tests/src/interfaces/unique/definitions.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/definitions.ts
+++ b/tests/src/interfaces/unique/definitions.ts
@@ -55,5 +55,6 @@
collectionById: fun('Get collection by specified id', [collectionParam], 'Option<UpDataStructsCollection>'),
collectionStats: fun('Get collection stats', [], 'UpDataStructsCollectionStats'),
allowed: fun('Check if user is allowed to use collection', [collectionParam, crossAccountParam()], 'bool'),
+ effectiveCollectionLimits: fun('Get effective collection limits', [collectionParam], 'Option<UpDataStructsCollectionLimits>'),
},
};
tests/src/interfaces/unique/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/unique/types.ts
+++ b/tests/src/interfaces/unique/types.ts
@@ -654,6 +654,9 @@
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
}
+/** @name OpalRuntimeRuntime */
+export interface OpalRuntimeRuntime extends Null {}
+
/** @name OrmlVestingModuleCall */
export interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
@@ -892,7 +895,8 @@
readonly isCantApproveMoreThanOwned: boolean;
readonly isAddressIsZero: boolean;
readonly isUnsupportedOperation: boolean;
- readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation';
+ readonly isNotSufficientFounds: boolean;
+ readonly type: 'CollectionNotFound' | 'MustBeTokenOwner' | 'NoPermission' | 'PublicMintingNotAllowed' | 'AddressNotInAllowlist' | 'CollectionNameLimitExceeded' | 'CollectionDescriptionLimitExceeded' | 'CollectionTokenPrefixLimitExceeded' | 'TotalCollectionsLimitExceeded' | 'TokenVariableDataLimitExceeded' | 'CollectionAdminCountExceeded' | 'CollectionLimitBoundsExceeded' | 'OwnerPermissionsCantBeReverted' | 'TransferNotAllowed' | 'AccountTokenLimitExceeded' | 'CollectionTokenLimitExceeded' | 'MetadataFlagFrozen' | 'TokenNotFound' | 'TokenValueTooLow' | 'ApprovedValueTooLow' | 'CantApproveMoreThanOwned' | 'AddressIsZero' | 'UnsupportedOperation' | 'NotSufficientFounds';
}
/** @name PalletCommonEvent */
@@ -1721,9 +1725,6 @@
readonly transactionVersion: u32;
readonly stateVersion: u8;
}
-
-/** @name UniqueRuntimeRuntime */
-export interface UniqueRuntimeRuntime extends Null {}
/** @name UpDataStructsAccessMode */
export interface UpDataStructsAccessMode extends Enum {
tests/src/limits.test.tsdiffbeforeafterboth--- a/tests/src/limits.test.ts
+++ b/tests/src/limits.test.ts
@@ -396,3 +396,51 @@
//expect(aliceBalanceAfterSponsoredTransaction1).to.be.lessThan(aliceBalanceBefore);
});
});
+
+describe.only('Effective collection limits', () => {
+ it('Test1', async () => {
+ await usingApi(async (api) => {
+ const collectionId = await createCollectionExpectSuccess({mode: {type: 'NFT'}});
+
+ {
+ const collection = await api.rpc.unique.collectionById(collectionId);
+ expect(collection.isSome).to.be.true;
+ const limits = collection.unwrap().limits;
+ expect(limits).to.be.any;
+
+ // Check that limits is undefined
+ expect(limits.accountTokenOwnershipLimit.isNone).to.be.true;
+ expect(limits.sponsoredDataSize.isNone).to.be.true;
+ expect(limits.sponsoredDataRateLimit.isNone).to.be.true;
+ expect(limits.tokenLimit.isNone).to.be.true;
+ expect(limits.sponsorTransferTimeout.isNone).to.be.true;
+ expect(limits.sponsorApproveTimeout.isNone).to.be.true;
+ expect(limits.ownerCanTransfer.isNone).to.be.true;
+ expect(limits.ownerCanDestroy.isNone).to.be.true;
+ expect(limits.transfersEnabled.isNone).to.be.true;
+ }
+
+ {
+ const limits = await api.rpc.unique.effectiveCollectionLimits(11111);
+ expect(limits.isNone).to.be.true;
+ }
+
+ {
+ const limitsOpt = await api.rpc.unique.effectiveCollectionLimits(collectionId);
+ expect(limitsOpt.isNone).to.be.false;
+ const limits = limitsOpt.unwrap();
+
+ console.log(limits);
+ expect(limits.accountTokenOwnershipLimit.isSome).to.be.true;
+ expect(limits.sponsoredDataSize.isSome).to.be.true;
+ expect(limits.sponsoredDataRateLimit.isSome).to.be.true;
+ expect(limits.tokenLimit.isSome).to.be.true;
+ expect(limits.sponsorTransferTimeout.isSome).to.be.true;
+ expect(limits.sponsorApproveTimeout.isSome).to.be.true;
+ expect(limits.ownerCanTransfer.isSome).to.be.true;
+ expect(limits.ownerCanDestroy.isSome).to.be.true;
+ expect(limits.transfersEnabled.isSome).to.be.true;
+ }
+ });
+ });
+});
\ No newline at end of file