difftreelog
refactor(identity) displace set-identities to identity pallet
in: master
19 files changed
Makefilediffbeforeafterboth--- a/Makefile
+++ b/Makefile
@@ -133,6 +133,10 @@
bench-collator-selection:
make _bench PALLET=collator-selection
+.PHONY: bench-identity
+bench-identity:
+ make _bench PALLET=identity
+
.PHONY: bench-app-promotion
bench-app-promotion:
make _bench PALLET=app-promotion PALLET_DIR=app-promotion
pallets/data-management/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/data-management/src/benchmarking.rs
+++ b/pallets/data-management/src/benchmarking.rs
@@ -62,28 +62,4 @@
use codec::Encode;
let logs = (0..b).map(|_| <T as Config>::RuntimeEvent::from(crate::Event::<T>::TestEvent).encode()).collect::<Vec<_>>();
}: _(RawOrigin::Root, logs)
-
- set_identities {
- let b in 0..600;
- use frame_benchmarking::account;
- use pallet_identity::{BalanceOf, Registration, IdentityInfo};
- let identities = (0..b).map(|i| (
- account("caller", i, 0),
- Some(Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
- judgements: Default::default(),
- deposit: Default::default(),
- info: IdentityInfo {
- additional: Default::default(),
- display: Default::default(),
- legal: Default::default(),
- web: Default::default(),
- riot: Default::default(),
- email: Default::default(),
- pgp_fingerprint: None,
- image: Default::default(),
- twitter: Default::default(),
- },
- }),
- )).collect::<Vec<_>>();
- }: _(RawOrigin::Root, identities)
}
pallets/data-management/src/lib.rsdiffbeforeafterboth--- a/pallets/data-management/src/lib.rs
+++ b/pallets/data-management/src/lib.rs
@@ -34,10 +34,9 @@
use sp_std::vec::Vec;
use super::weights::WeightInfo;
use pallet_evm::{PrecompileHandle, Pallet as PalletEvm};
- use pallet_identity::Registration;
#[pallet::config]
- pub trait Config: frame_system::Config + pallet_evm::Config + pallet_identity::Config {
+ pub trait Config: frame_system::Config + pallet_evm::Config {
/// Weights
type WeightInfo: WeightInfo;
/// The overarching event type.
@@ -147,29 +146,6 @@
<T as frame_system::Config>::RuntimeEvent::decode(&mut event.as_slice())
.map_err(|_| <Error<T>>::BadEvent)?,
);
- }
- Ok(())
- }
-
- /// Insert or remove identities.
- #[pallet::call_index(5)]
- #[pallet::weight(<SelfWeightOf<T>>::set_identities(identities.len() as u32))] // todo:collator weight
- pub fn set_identities(
- origin: OriginFor<T>,
- identities: Vec<(
- T::AccountId,
- Option<
- Registration<
- pallet_identity::BalanceOf<T>,
- T::MaxRegistrars,
- T::MaxAdditionalFields,
- >,
- >,
- )>,
- ) -> DispatchResult {
- ensure_root(origin)?;
- for identity in identities {
- <pallet_identity::IdentityOf<T>>::set(identity.0, identity.1);
}
Ok(())
}
pallets/data-management/src/weights.rsdiffbeforeafterboth--- a/pallets/data-management/src/weights.rs
+++ b/pallets/data-management/src/weights.rs
@@ -39,7 +39,6 @@
fn finish(b: u32, ) -> Weight;
fn insert_eth_logs(b: u32, ) -> Weight;
fn insert_events(b: u32, ) -> Weight;
- fn set_identities(b: u32, ) -> Weight;
}
/// Weights for pallet_data_management using the Substrate node and recommended hardware.
@@ -77,11 +76,6 @@
.saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_936_376 as u64)
- // Standard Error: 1_227
- .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
- }
- fn set_identities(b: u32, ) -> Weight {
Weight::from_ref_time(10_936_376 as u64)
// Standard Error: 1_227
.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
@@ -122,11 +116,6 @@
.saturating_add(Weight::from_ref_time(722_345 as u64).saturating_mul(b as u64))
}
fn insert_events(b: u32, ) -> Weight {
- Weight::from_ref_time(10_936_376 as u64)
- // Standard Error: 1_227
- .saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
- }
- fn set_identities(b: u32, ) -> Weight {
Weight::from_ref_time(10_936_376 as u64)
// Standard Error: 1_227
.saturating_add(Weight::from_ref_time(1_311_481 as u64).saturating_mul(b as u64))
pallets/identity/src/benchmarking.rsdiffbeforeafterboth--- a/pallets/identity/src/benchmarking.rs
+++ b/pallets/identity/src/benchmarking.rs
@@ -412,6 +412,21 @@
ensure!(!IdentityOf::<T>::contains_key(&target), "Identity not removed");
}
+ set_identities {
+ let x in 0 .. T::MaxAdditionalFields::get();
+ let n in 0..600;
+ use frame_benchmarking::account;
+ let identities = (0..n).map(|i| (
+ account("caller", i, 0),
+ Some(Registration::<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields> {
+ judgements: Default::default(),
+ deposit: Default::default(),
+ info: create_identity_info::<T>(x),
+ }),
+ )).collect::<Vec<_>>();
+ let origin = T::ForceOrigin::successful_origin();
+ }: _<T::RuntimeOrigin>(origin, identities)
+
add_sub {
let s in 0 .. T::MaxSubAccounts::get() - 1;
pallets/identity/src/lib.rsdiffbeforeafterboth--- a/pallets/identity/src/lib.rs
+++ b/pallets/identity/src/lib.rs
@@ -1089,6 +1089,26 @@
});
Ok(())
}
+
+ /// Insert or remove identities.
+ #[pallet::call_index(15)]
+ #[pallet::weight(T::WeightInfo::set_identities(
+ T::MaxAdditionalFields::get(), // X
+ identities.len() as u32, // N
+ ))] // todo:collator weight
+ pub fn set_identities(
+ origin: OriginFor<T>,
+ identities: Vec<(
+ T::AccountId,
+ Option<Registration<BalanceOf<T>, T::MaxRegistrars, T::MaxAdditionalFields>>,
+ )>,
+ ) -> DispatchResult {
+ T::ForceOrigin::ensure_origin(origin)?;
+ for identity in identities {
+ IdentityOf::<T>::set(identity.0, identity.1);
+ }
+ Ok(())
+ }
}
}
pallets/identity/src/weights.rsdiffbeforeafterboth--- a/pallets/identity/src/weights.rs
+++ b/pallets/identity/src/weights.rs
@@ -76,6 +76,7 @@
fn set_fields(r: u32, ) -> Weight;
fn provide_judgement(r: u32, x: u32, ) -> Weight;
fn kill_identity(r: u32, s: u32, x: u32, ) -> Weight;
+ fn set_identities(x: u32, n: u32, ) -> Weight;
fn add_sub(s: u32, ) -> Weight;
fn rename_sub(s: u32, ) -> Weight;
fn remove_sub(s: u32, ) -> Weight;
@@ -245,6 +246,19 @@
.saturating_add(T::DbWeight::get().writes(3 as u64))
.saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
+ // Storage: Identity IdentityOf (r:1 w:1)
+ /// The range of component `x` is `[0, 100]`.
+ /// The range of component `n` is `[0, 600]`.
+ fn set_identities(x: u32, n: u32) -> Weight {
+ // Minimum execution time: 41_872 nanoseconds.
+ Weight::from_ref_time(40_230_216 as u64)
+ // Standard Error: 2_342
+ .saturating_add(Weight::from_ref_time(145_168 as u64))
+ // Standard Error: 457
+ .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
+ .saturating_add(T::DbWeight::get().reads(1 as u64))
+ .saturating_add(T::DbWeight::get().writes(1 as u64).saturating_mul(n as u64))
+ }
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
@@ -455,6 +469,19 @@
.saturating_add(RocksDbWeight::get().writes(3 as u64))
.saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(s as u64)))
}
+ // Storage: Identity IdentityOf (r:1 w:1)
+ /// The range of component `x` is `[0, 100]`.
+ /// The range of component `n` is `[0, 600]`.
+ fn set_identities(x: u32, n: u32) -> Weight {
+ // Minimum execution time: 41_872 nanoseconds.
+ Weight::from_ref_time(40_230_216 as u64)
+ // Standard Error: 2_342
+ .saturating_add(Weight::from_ref_time(145_168 as u64))
+ // Standard Error: 457
+ .saturating_add(Weight::from_ref_time(291_732 as u64).saturating_mul(x as u64))
+ .saturating_add(RocksDbWeight::get().reads(1 as u64))
+ .saturating_add(RocksDbWeight::get().writes(1 as u64).saturating_mul(n as u64))
+ }
// Storage: Identity IdentityOf (r:1 w:0)
// Storage: Identity SuperOf (r:1 w:1)
// Storage: Identity SubsOf (r:1 w:1)
runtime/common/runtime_apis.rsdiffbeforeafterboth--- a/runtime/common/runtime_apis.rs
+++ b/runtime/common/runtime_apis.rs
@@ -708,6 +708,9 @@
#[cfg(feature = "collator-selection")]
list_benchmark!(list, extra, pallet_collator_selection, CollatorSelection);
+ #[cfg(feature = "collator-selection")]
+ list_benchmark!(list, extra, pallet_identity, Identity);
+
#[cfg(feature = "foreign-assets")]
list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);
@@ -774,6 +777,9 @@
#[cfg(feature = "collator-selection")]
add_benchmark!(params, batches, pallet_collator_selection, CollatorSelection);
+ #[cfg(feature = "collator-selection")]
+ add_benchmark!(params, batches, pallet_identity, Identity);
+
#[cfg(feature = "foreign-assets")]
add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);
runtime/opal/Cargo.tomldiffbeforeafterboth--- a/runtime/opal/Cargo.toml
+++ b/runtime/opal/Cargo.toml
@@ -40,6 +40,7 @@
'pallet-inflation/runtime-benchmarks',
'pallet-app-promotion/runtime-benchmarks',
'pallet-collator-selection/runtime-benchmarks',
+ 'pallet-identity/runtime-benchmarks',
'pallet-unique-scheduler-v2/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
runtime/quartz/Cargo.tomldiffbeforeafterboth--- a/runtime/quartz/Cargo.toml
+++ b/runtime/quartz/Cargo.toml
@@ -39,6 +39,7 @@
'pallet-foreign-assets/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
'pallet-collator-selection/runtime-benchmarks',
+ 'pallet-identity/runtime-benchmarks',
'pallet-app-promotion/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
runtime/unique/Cargo.tomldiffbeforeafterboth--- a/runtime/unique/Cargo.toml
+++ b/runtime/unique/Cargo.toml
@@ -39,6 +39,7 @@
'pallet-foreign-assets/runtime-benchmarks',
'pallet-inflation/runtime-benchmarks',
'pallet-collator-selection/runtime-benchmarks',
+ 'pallet-identity/runtime-benchmarks',
'pallet-app-promotion/runtime-benchmarks',
'pallet-xcm/runtime-benchmarks',
'sp-runtime/runtime-benchmarks',
tests/src/collatorSelection.seqtest.tsdiffbeforeafterboth--- a/tests/src/collatorSelection.seqtest.ts
+++ b/tests/src/collatorSelection.seqtest.ts
@@ -287,7 +287,7 @@
expect(await helper.collatorSelection.getCandidates()).to.be.deep.equal([]);
});
- itSub('Dithmarschen', async ({helper}) => {
+ itSub('Penalizes and forfeits license from faulty collators', async ({helper}) => {
// This one shouldn't even be able to produce blocks.
const account = crowd.pop()!;
await helper.collatorSelection.obtainLicense(account);
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -318,10 +318,6 @@
**/
setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;
/**
- * Insert or remove identities.
- **/
- setIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
- /**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
@@ -606,6 +602,10 @@
**/
setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;
/**
+ * Insert or remove identities.
+ **/
+ setIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>> | ([AccountId32 | string | Uint8Array, Option<PalletIdentityRegistration> | null | Uint8Array | PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>]>;
+ /**
* Set an account's identity information and reserve the appropriate deposit.
*
* If the account already has identity information, the deposit is taken as part payment
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -1477,11 +1477,7 @@
readonly asInsertEvents: {
readonly events: Vec<Bytes>;
} & Struct;
- readonly isSetIdentities: boolean;
- readonly asSetIdentities: {
- readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
- } & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'SetIdentities';
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
}
/** @name PalletDataManagementError */
@@ -1825,7 +1821,11 @@
readonly sub: MultiAddress;
} & Struct;
readonly isQuitSub: boolean;
- readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
+ readonly isSetIdentities: boolean;
+ readonly asSetIdentities: {
+ readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
+ } & Struct;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';
}
/** @name PalletIdentityError */
tests/src/interfaces/lookup.tsdiffbeforeafterboth1863 remove_sub: {1863 remove_sub: {1864 sub: 'MultiAddress',1864 sub: 'MultiAddress',1865 },1865 },1866 quit_sub: 'Null'1866 quit_sub: 'Null',1867 set_identities: {1868 identities: 'Vec<(AccountId32,Option<PalletIdentityRegistration>)>'1869 }1867 }1870 }1868 },1871 },1869 /**1872 /**1870 * Lookup248: pallet_identity::pallet::Error<T>1873 * Lookup251: pallet_identity::pallet::Error<T>1871 **/1874 **/1872 PalletIdentityError: {1875 PalletIdentityError: {1873 _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']1876 _enum: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyFields', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed']1874 },1877 },1875 /**1878 /**1876 * Lookup250: pallet_balances::BalanceLock<Balance>1879 * Lookup253: pallet_balances::BalanceLock<Balance>1877 **/1880 **/1878 PalletBalancesBalanceLock: {1881 PalletBalancesBalanceLock: {1879 id: '[u8;8]',1882 id: '[u8;8]',1880 amount: 'u128',1883 amount: 'u128',1881 reasons: 'PalletBalancesReasons'1884 reasons: 'PalletBalancesReasons'1882 },1885 },1883 /**1886 /**1884 * Lookup251: pallet_balances::Reasons1887 * Lookup254: pallet_balances::Reasons1885 **/1888 **/1886 PalletBalancesReasons: {1889 PalletBalancesReasons: {1887 _enum: ['Fee', 'Misc', 'All']1890 _enum: ['Fee', 'Misc', 'All']1888 },1891 },1889 /**1892 /**1890 * Lookup254: pallet_balances::ReserveData<ReserveIdentifier, Balance>1893 * Lookup257: pallet_balances::ReserveData<ReserveIdentifier, Balance>1891 **/1894 **/1892 PalletBalancesReserveData: {1895 PalletBalancesReserveData: {1893 id: '[u8;16]',1896 id: '[u8;16]',1894 amount: 'u128'1897 amount: 'u128'1895 },1898 },1896 /**1899 /**1897 * Lookup256: pallet_balances::pallet::Call<T, I>1900 * Lookup259: pallet_balances::pallet::Call<T, I>1898 **/1901 **/1899 PalletBalancesCall: {1902 PalletBalancesCall: {1900 _enum: {1903 _enum: {1901 transfer: {1904 transfer: {1926 }1929 }1927 }1930 }1928 },1931 },1929 /**1932 /**1930 * Lookup257: pallet_balances::pallet::Error<T, I>1933 * Lookup260: pallet_balances::pallet::Error<T, I>1931 **/1934 **/1932 PalletBalancesError: {1935 PalletBalancesError: {1933 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1936 _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'KeepAlive', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves']1934 },1937 },1935 /**1938 /**1936 * Lookup259: pallet_timestamp::pallet::Call<T>1939 * Lookup262: pallet_timestamp::pallet::Call<T>1937 **/1940 **/1938 PalletTimestampCall: {1941 PalletTimestampCall: {1939 _enum: {1942 _enum: {1940 set: {1943 set: {1941 now: 'Compact<u64>'1944 now: 'Compact<u64>'1942 }1945 }1943 }1946 }1944 },1947 },1945 /**1948 /**1946 * Lookup261: pallet_transaction_payment::Releases1949 * Lookup264: pallet_transaction_payment::Releases1947 **/1950 **/1948 PalletTransactionPaymentReleases: {1951 PalletTransactionPaymentReleases: {1949 _enum: ['V1Ancient', 'V2']1952 _enum: ['V1Ancient', 'V2']1950 },1953 },1951 /**1954 /**1952 * Lookup262: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1955 * Lookup265: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>1953 **/1956 **/1954 PalletTreasuryProposal: {1957 PalletTreasuryProposal: {1955 proposer: 'AccountId32',1958 proposer: 'AccountId32',1956 value: 'u128',1959 value: 'u128',1957 beneficiary: 'AccountId32',1960 beneficiary: 'AccountId32',1958 bond: 'u128'1961 bond: 'u128'1959 },1962 },1960 /**1963 /**1961 * Lookup264: pallet_treasury::pallet::Call<T, I>1964 * Lookup267: pallet_treasury::pallet::Call<T, I>1962 **/1965 **/1963 PalletTreasuryCall: {1966 PalletTreasuryCall: {1964 _enum: {1967 _enum: {1965 propose_spend: {1968 propose_spend: {1981 }1984 }1982 }1985 }1983 },1986 },1984 /**1987 /**1985 * Lookup266: frame_support::PalletId1988 * Lookup269: frame_support::PalletId1986 **/1989 **/1987 FrameSupportPalletId: '[u8;8]',1990 FrameSupportPalletId: '[u8;8]',1988 /**1991 /**1989 * Lookup267: pallet_treasury::pallet::Error<T, I>1992 * Lookup270: pallet_treasury::pallet::Error<T, I>1990 **/1993 **/1991 PalletTreasuryError: {1994 PalletTreasuryError: {1992 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1995 _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved']1993 },1996 },1994 /**1997 /**1995 * Lookup268: pallet_sudo::pallet::Call<T>1998 * Lookup271: pallet_sudo::pallet::Call<T>1996 **/1999 **/1997 PalletSudoCall: {2000 PalletSudoCall: {1998 _enum: {2001 _enum: {1999 sudo: {2002 sudo: {2015 }2018 }2016 }2019 }2017 },2020 },2018 /**2021 /**2019 * Lookup270: orml_vesting::module::Call<T>2022 * Lookup273: orml_vesting::module::Call<T>2020 **/2023 **/2021 OrmlVestingModuleCall: {2024 OrmlVestingModuleCall: {2022 _enum: {2025 _enum: {2023 claim: 'Null',2026 claim: 'Null',2034 }2037 }2035 }2038 }2036 },2039 },2037 /**2040 /**2038 * Lookup272: orml_xtokens::module::Call<T>2041 * Lookup275: orml_xtokens::module::Call<T>2039 **/2042 **/2040 OrmlXtokensModuleCall: {2043 OrmlXtokensModuleCall: {2041 _enum: {2044 _enum: {2042 transfer: {2045 transfer: {2077 }2080 }2078 }2081 }2079 },2082 },2080 /**2083 /**2081 * Lookup273: xcm::VersionedMultiAsset2084 * Lookup276: xcm::VersionedMultiAsset2082 **/2085 **/2083 XcmVersionedMultiAsset: {2086 XcmVersionedMultiAsset: {2084 _enum: {2087 _enum: {2085 V0: 'XcmV0MultiAsset',2088 V0: 'XcmV0MultiAsset',2086 V1: 'XcmV1MultiAsset'2089 V1: 'XcmV1MultiAsset'2087 }2090 }2088 },2091 },2089 /**2092 /**2090 * Lookup276: orml_tokens::module::Call<T>2093 * Lookup279: orml_tokens::module::Call<T>2091 **/2094 **/2092 OrmlTokensModuleCall: {2095 OrmlTokensModuleCall: {2093 _enum: {2096 _enum: {2094 transfer: {2097 transfer: {2120 }2123 }2121 }2124 }2122 },2125 },2123 /**2126 /**2124 * Lookup277: cumulus_pallet_xcmp_queue::pallet::Call<T>2127 * Lookup280: cumulus_pallet_xcmp_queue::pallet::Call<T>2125 **/2128 **/2126 CumulusPalletXcmpQueueCall: {2129 CumulusPalletXcmpQueueCall: {2127 _enum: {2130 _enum: {2128 service_overweight: {2131 service_overweight: {2169 }2172 }2170 }2173 }2171 },2174 },2172 /**2175 /**2173 * Lookup278: pallet_xcm::pallet::Call<T>2176 * Lookup281: pallet_xcm::pallet::Call<T>2174 **/2177 **/2175 PalletXcmCall: {2178 PalletXcmCall: {2176 _enum: {2179 _enum: {2177 send: {2180 send: {2223 }2226 }2224 }2227 }2225 },2228 },2226 /**2229 /**2227 * Lookup279: xcm::VersionedXcm<RuntimeCall>2230 * Lookup282: xcm::VersionedXcm<RuntimeCall>2228 **/2231 **/2229 XcmVersionedXcm: {2232 XcmVersionedXcm: {2230 _enum: {2233 _enum: {2231 V0: 'XcmV0Xcm',2234 V0: 'XcmV0Xcm',2232 V1: 'XcmV1Xcm',2235 V1: 'XcmV1Xcm',2233 V2: 'XcmV2Xcm'2236 V2: 'XcmV2Xcm'2234 }2237 }2235 },2238 },2236 /**2239 /**2237 * Lookup280: xcm::v0::Xcm<RuntimeCall>2240 * Lookup283: xcm::v0::Xcm<RuntimeCall>2238 **/2241 **/2239 XcmV0Xcm: {2242 XcmV0Xcm: {2240 _enum: {2243 _enum: {2241 WithdrawAsset: {2244 WithdrawAsset: {2287 }2290 }2288 }2291 }2289 },2292 },2290 /**2293 /**2291 * Lookup282: xcm::v0::order::Order<RuntimeCall>2294 * Lookup285: xcm::v0::order::Order<RuntimeCall>2292 **/2295 **/2293 XcmV0Order: {2296 XcmV0Order: {2294 _enum: {2297 _enum: {2295 Null: 'Null',2298 Null: 'Null',2330 }2333 }2331 }2334 }2332 },2335 },2333 /**2336 /**2334 * Lookup284: xcm::v0::Response2337 * Lookup287: xcm::v0::Response2335 **/2338 **/2336 XcmV0Response: {2339 XcmV0Response: {2337 _enum: {2340 _enum: {2338 Assets: 'Vec<XcmV0MultiAsset>'2341 Assets: 'Vec<XcmV0MultiAsset>'2339 }2342 }2340 },2343 },2341 /**2344 /**2342 * Lookup285: xcm::v1::Xcm<RuntimeCall>2345 * Lookup288: xcm::v1::Xcm<RuntimeCall>2343 **/2346 **/2344 XcmV1Xcm: {2347 XcmV1Xcm: {2345 _enum: {2348 _enum: {2346 WithdrawAsset: {2349 WithdrawAsset: {2397 UnsubscribeVersion: 'Null'2400 UnsubscribeVersion: 'Null'2398 }2401 }2399 },2402 },2400 /**2403 /**2401 * Lookup287: xcm::v1::order::Order<RuntimeCall>2404 * Lookup290: xcm::v1::order::Order<RuntimeCall>2402 **/2405 **/2403 XcmV1Order: {2406 XcmV1Order: {2404 _enum: {2407 _enum: {2405 Noop: 'Null',2408 Noop: 'Null',2442 }2445 }2443 }2446 }2444 },2447 },2445 /**2448 /**2446 * Lookup289: xcm::v1::Response2449 * Lookup292: xcm::v1::Response2447 **/2450 **/2448 XcmV1Response: {2451 XcmV1Response: {2449 _enum: {2452 _enum: {2450 Assets: 'XcmV1MultiassetMultiAssets',2453 Assets: 'XcmV1MultiassetMultiAssets',2451 Version: 'u32'2454 Version: 'u32'2452 }2455 }2453 },2456 },2454 /**2457 /**2455 * Lookup303: cumulus_pallet_xcm::pallet::Call<T>2458 * Lookup306: cumulus_pallet_xcm::pallet::Call<T>2456 **/2459 **/2457 CumulusPalletXcmCall: 'Null',2460 CumulusPalletXcmCall: 'Null',2458 /**2461 /**2459 * Lookup304: cumulus_pallet_dmp_queue::pallet::Call<T>2462 * Lookup307: cumulus_pallet_dmp_queue::pallet::Call<T>2460 **/2463 **/2461 CumulusPalletDmpQueueCall: {2464 CumulusPalletDmpQueueCall: {2462 _enum: {2465 _enum: {2463 service_overweight: {2466 service_overweight: {2466 }2469 }2467 }2470 }2468 },2471 },2469 /**2472 /**2470 * Lookup305: pallet_inflation::pallet::Call<T>2473 * Lookup308: pallet_inflation::pallet::Call<T>2471 **/2474 **/2472 PalletInflationCall: {2475 PalletInflationCall: {2473 _enum: {2476 _enum: {2474 start_inflation: {2477 start_inflation: {2475 inflationStartRelayBlock: 'u32'2478 inflationStartRelayBlock: 'u32'2476 }2479 }2477 }2480 }2478 },2481 },2479 /**2482 /**2480 * Lookup306: pallet_unique::Call<T>2483 * Lookup309: pallet_unique::Call<T>2481 **/2484 **/2482 PalletUniqueCall: {2485 PalletUniqueCall: {2483 _enum: {2486 _enum: {2484 create_collection: {2487 create_collection: {2620 }2623 }2621 }2624 }2622 },2625 },2623 /**2626 /**2624 * Lookup311: up_data_structs::CollectionMode2627 * Lookup314: up_data_structs::CollectionMode2625 **/2628 **/2626 UpDataStructsCollectionMode: {2629 UpDataStructsCollectionMode: {2627 _enum: {2630 _enum: {2628 NFT: 'Null',2631 NFT: 'Null',2629 Fungible: 'u8',2632 Fungible: 'u8',2630 ReFungible: 'Null'2633 ReFungible: 'Null'2631 }2634 }2632 },2635 },2633 /**2636 /**2634 * Lookup312: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2637 * Lookup315: up_data_structs::CreateCollectionData<sp_core::crypto::AccountId32>2635 **/2638 **/2636 UpDataStructsCreateCollectionData: {2639 UpDataStructsCreateCollectionData: {2637 mode: 'UpDataStructsCollectionMode',2640 mode: 'UpDataStructsCollectionMode',2638 access: 'Option<UpDataStructsAccessMode>',2641 access: 'Option<UpDataStructsAccessMode>',2645 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2648 tokenPropertyPermissions: 'Vec<UpDataStructsPropertyKeyPermission>',2646 properties: 'Vec<UpDataStructsProperty>'2649 properties: 'Vec<UpDataStructsProperty>'2647 },2650 },2648 /**2651 /**2649 * Lookup314: up_data_structs::AccessMode2652 * Lookup317: up_data_structs::AccessMode2650 **/2653 **/2651 UpDataStructsAccessMode: {2654 UpDataStructsAccessMode: {2652 _enum: ['Normal', 'AllowList']2655 _enum: ['Normal', 'AllowList']2653 },2656 },2654 /**2657 /**2655 * Lookup316: up_data_structs::CollectionLimits2658 * Lookup319: up_data_structs::CollectionLimits2656 **/2659 **/2657 UpDataStructsCollectionLimits: {2660 UpDataStructsCollectionLimits: {2658 accountTokenOwnershipLimit: 'Option<u32>',2661 accountTokenOwnershipLimit: 'Option<u32>',2659 sponsoredDataSize: 'Option<u32>',2662 sponsoredDataSize: 'Option<u32>',2665 ownerCanDestroy: 'Option<bool>',2668 ownerCanDestroy: 'Option<bool>',2666 transfersEnabled: 'Option<bool>'2669 transfersEnabled: 'Option<bool>'2667 },2670 },2668 /**2671 /**2669 * Lookup318: up_data_structs::SponsoringRateLimit2672 * Lookup321: up_data_structs::SponsoringRateLimit2670 **/2673 **/2671 UpDataStructsSponsoringRateLimit: {2674 UpDataStructsSponsoringRateLimit: {2672 _enum: {2675 _enum: {2673 SponsoringDisabled: 'Null',2676 SponsoringDisabled: 'Null',2674 Blocks: 'u32'2677 Blocks: 'u32'2675 }2678 }2676 },2679 },2677 /**2680 /**2678 * Lookup321: up_data_structs::CollectionPermissions2681 * Lookup324: up_data_structs::CollectionPermissions2679 **/2682 **/2680 UpDataStructsCollectionPermissions: {2683 UpDataStructsCollectionPermissions: {2681 access: 'Option<UpDataStructsAccessMode>',2684 access: 'Option<UpDataStructsAccessMode>',2682 mintMode: 'Option<bool>',2685 mintMode: 'Option<bool>',2683 nesting: 'Option<UpDataStructsNestingPermissions>'2686 nesting: 'Option<UpDataStructsNestingPermissions>'2684 },2687 },2685 /**2688 /**2686 * Lookup323: up_data_structs::NestingPermissions2689 * Lookup326: up_data_structs::NestingPermissions2687 **/2690 **/2688 UpDataStructsNestingPermissions: {2691 UpDataStructsNestingPermissions: {2689 tokenOwner: 'bool',2692 tokenOwner: 'bool',2690 collectionAdmin: 'bool',2693 collectionAdmin: 'bool',2691 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2694 restricted: 'Option<UpDataStructsOwnerRestrictedSet>'2692 },2695 },2693 /**2696 /**2694 * Lookup325: up_data_structs::OwnerRestrictedSet2697 * Lookup328: up_data_structs::OwnerRestrictedSet2695 **/2698 **/2696 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2699 UpDataStructsOwnerRestrictedSet: 'BTreeSet<u32>',2697 /**2700 /**2698 * Lookup330: up_data_structs::PropertyKeyPermission2701 * Lookup333: up_data_structs::PropertyKeyPermission2699 **/2702 **/2700 UpDataStructsPropertyKeyPermission: {2703 UpDataStructsPropertyKeyPermission: {2701 key: 'Bytes',2704 key: 'Bytes',2702 permission: 'UpDataStructsPropertyPermission'2705 permission: 'UpDataStructsPropertyPermission'2703 },2706 },2704 /**2707 /**2705 * Lookup331: up_data_structs::PropertyPermission2708 * Lookup334: up_data_structs::PropertyPermission2706 **/2709 **/2707 UpDataStructsPropertyPermission: {2710 UpDataStructsPropertyPermission: {2708 mutable: 'bool',2711 mutable: 'bool',2709 collectionAdmin: 'bool',2712 collectionAdmin: 'bool',2710 tokenOwner: 'bool'2713 tokenOwner: 'bool'2711 },2714 },2712 /**2715 /**2713 * Lookup334: up_data_structs::Property2716 * Lookup337: up_data_structs::Property2714 **/2717 **/2715 UpDataStructsProperty: {2718 UpDataStructsProperty: {2716 key: 'Bytes',2719 key: 'Bytes',2717 value: 'Bytes'2720 value: 'Bytes'2718 },2721 },2719 /**2722 /**2720 * Lookup337: up_data_structs::CreateItemData2723 * Lookup340: up_data_structs::CreateItemData2721 **/2724 **/2722 UpDataStructsCreateItemData: {2725 UpDataStructsCreateItemData: {2723 _enum: {2726 _enum: {2724 NFT: 'UpDataStructsCreateNftData',2727 NFT: 'UpDataStructsCreateNftData',2725 Fungible: 'UpDataStructsCreateFungibleData',2728 Fungible: 'UpDataStructsCreateFungibleData',2726 ReFungible: 'UpDataStructsCreateReFungibleData'2729 ReFungible: 'UpDataStructsCreateReFungibleData'2727 }2730 }2728 },2731 },2729 /**2732 /**2730 * Lookup338: up_data_structs::CreateNftData2733 * Lookup341: up_data_structs::CreateNftData2731 **/2734 **/2732 UpDataStructsCreateNftData: {2735 UpDataStructsCreateNftData: {2733 properties: 'Vec<UpDataStructsProperty>'2736 properties: 'Vec<UpDataStructsProperty>'2734 },2737 },2735 /**2738 /**2736 * Lookup339: up_data_structs::CreateFungibleData2739 * Lookup342: up_data_structs::CreateFungibleData2737 **/2740 **/2738 UpDataStructsCreateFungibleData: {2741 UpDataStructsCreateFungibleData: {2739 value: 'u128'2742 value: 'u128'2740 },2743 },2741 /**2744 /**2742 * Lookup340: up_data_structs::CreateReFungibleData2745 * Lookup343: up_data_structs::CreateReFungibleData2743 **/2746 **/2744 UpDataStructsCreateReFungibleData: {2747 UpDataStructsCreateReFungibleData: {2745 pieces: 'u128',2748 pieces: 'u128',2746 properties: 'Vec<UpDataStructsProperty>'2749 properties: 'Vec<UpDataStructsProperty>'2747 },2750 },2748 /**2751 /**2749 * Lookup343: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2752 * Lookup346: up_data_structs::CreateItemExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2750 **/2753 **/2751 UpDataStructsCreateItemExData: {2754 UpDataStructsCreateItemExData: {2752 _enum: {2755 _enum: {2753 NFT: 'Vec<UpDataStructsCreateNftExData>',2756 NFT: 'Vec<UpDataStructsCreateNftExData>',2756 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2759 RefungibleMultipleOwners: 'UpDataStructsCreateRefungibleExMultipleOwners'2757 }2760 }2758 },2761 },2759 /**2762 /**2760 * Lookup345: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2763 * Lookup348: up_data_structs::CreateNftExData<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2761 **/2764 **/2762 UpDataStructsCreateNftExData: {2765 UpDataStructsCreateNftExData: {2763 properties: 'Vec<UpDataStructsProperty>',2766 properties: 'Vec<UpDataStructsProperty>',2764 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2767 owner: 'PalletEvmAccountBasicCrossAccountIdRepr'2765 },2768 },2766 /**2769 /**2767 * Lookup352: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2770 * Lookup355: up_data_structs::CreateRefungibleExSingleOwner<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2768 **/2771 **/2769 UpDataStructsCreateRefungibleExSingleOwner: {2772 UpDataStructsCreateRefungibleExSingleOwner: {2770 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2773 user: 'PalletEvmAccountBasicCrossAccountIdRepr',2771 pieces: 'u128',2774 pieces: 'u128',2772 properties: 'Vec<UpDataStructsProperty>'2775 properties: 'Vec<UpDataStructsProperty>'2773 },2776 },2774 /**2777 /**2775 * Lookup354: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2778 * Lookup357: up_data_structs::CreateRefungibleExMultipleOwners<pallet_evm::account::BasicCrossAccountIdRepr<sp_core::crypto::AccountId32>>2776 **/2779 **/2777 UpDataStructsCreateRefungibleExMultipleOwners: {2780 UpDataStructsCreateRefungibleExMultipleOwners: {2778 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2781 users: 'BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>',2779 properties: 'Vec<UpDataStructsProperty>'2782 properties: 'Vec<UpDataStructsProperty>'2780 },2783 },2781 /**2784 /**2782 * Lookup355: pallet_configuration::pallet::Call<T>2785 * Lookup358: pallet_configuration::pallet::Call<T>2783 **/2786 **/2784 PalletConfigurationCall: {2787 PalletConfigurationCall: {2785 _enum: {2788 _enum: {2786 set_weight_to_fee_coefficient_override: {2789 set_weight_to_fee_coefficient_override: {2806 }2809 }2807 }2810 }2808 },2811 },2809 /**2812 /**2810 * Lookup360: pallet_configuration::AppPromotionConfiguration<BlockNumber>2813 * Lookup363: pallet_configuration::AppPromotionConfiguration<BlockNumber>2811 **/2814 **/2812 PalletConfigurationAppPromotionConfiguration: {2815 PalletConfigurationAppPromotionConfiguration: {2813 recalculationInterval: 'Option<u32>',2816 recalculationInterval: 'Option<u32>',2814 pendingInterval: 'Option<u32>',2817 pendingInterval: 'Option<u32>',2815 intervalIncome: 'Option<Perbill>',2818 intervalIncome: 'Option<Perbill>',2816 maxStakersPerCalculation: 'Option<u8>'2819 maxStakersPerCalculation: 'Option<u8>'2817 },2820 },2818 /**2821 /**2819 * Lookup364: pallet_template_transaction_payment::Call<T>2822 * Lookup367: pallet_template_transaction_payment::Call<T>2820 **/2823 **/2821 PalletTemplateTransactionPaymentCall: 'Null',2824 PalletTemplateTransactionPaymentCall: 'Null',2822 /**2825 /**2823 * Lookup365: pallet_structure::pallet::Call<T>2826 * Lookup368: pallet_structure::pallet::Call<T>2824 **/2827 **/2825 PalletStructureCall: 'Null',2828 PalletStructureCall: 'Null',2826 /**2829 /**2827 * Lookup366: pallet_rmrk_core::pallet::Call<T>2830 * Lookup369: pallet_rmrk_core::pallet::Call<T>2828 **/2831 **/2829 PalletRmrkCoreCall: {2832 PalletRmrkCoreCall: {2830 _enum: {2833 _enum: {2831 create_collection: {2834 create_collection: {2914 }2917 }2915 }2918 }2916 },2919 },2917 /**2920 /**2918 * Lookup372: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2921 * Lookup375: rmrk_traits::resource::ResourceTypes<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2919 **/2922 **/2920 RmrkTraitsResourceResourceTypes: {2923 RmrkTraitsResourceResourceTypes: {2921 _enum: {2924 _enum: {2922 Basic: 'RmrkTraitsResourceBasicResource',2925 Basic: 'RmrkTraitsResourceBasicResource',2923 Composable: 'RmrkTraitsResourceComposableResource',2926 Composable: 'RmrkTraitsResourceComposableResource',2924 Slot: 'RmrkTraitsResourceSlotResource'2927 Slot: 'RmrkTraitsResourceSlotResource'2925 }2928 }2926 },2929 },2927 /**2930 /**2928 * Lookup374: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2931 * Lookup377: rmrk_traits::resource::BasicResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2929 **/2932 **/2930 RmrkTraitsResourceBasicResource: {2933 RmrkTraitsResourceBasicResource: {2931 src: 'Option<Bytes>',2934 src: 'Option<Bytes>',2932 metadata: 'Option<Bytes>',2935 metadata: 'Option<Bytes>',2933 license: 'Option<Bytes>',2936 license: 'Option<Bytes>',2934 thumb: 'Option<Bytes>'2937 thumb: 'Option<Bytes>'2935 },2938 },2936 /**2939 /**2937 * Lookup376: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2940 * Lookup379: rmrk_traits::resource::ComposableResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2938 **/2941 **/2939 RmrkTraitsResourceComposableResource: {2942 RmrkTraitsResourceComposableResource: {2940 parts: 'Vec<u32>',2943 parts: 'Vec<u32>',2941 base: 'u32',2944 base: 'u32',2944 license: 'Option<Bytes>',2947 license: 'Option<Bytes>',2945 thumb: 'Option<Bytes>'2948 thumb: 'Option<Bytes>'2946 },2949 },2947 /**2950 /**2948 * Lookup377: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2951 * Lookup380: rmrk_traits::resource::SlotResource<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2949 **/2952 **/2950 RmrkTraitsResourceSlotResource: {2953 RmrkTraitsResourceSlotResource: {2951 base: 'u32',2954 base: 'u32',2952 src: 'Option<Bytes>',2955 src: 'Option<Bytes>',2955 license: 'Option<Bytes>',2958 license: 'Option<Bytes>',2956 thumb: 'Option<Bytes>'2959 thumb: 'Option<Bytes>'2957 },2960 },2958 /**2961 /**2959 * Lookup380: pallet_rmrk_equip::pallet::Call<T>2962 * Lookup383: pallet_rmrk_equip::pallet::Call<T>2960 **/2963 **/2961 PalletRmrkEquipCall: {2964 PalletRmrkEquipCall: {2962 _enum: {2965 _enum: {2963 create_base: {2966 create_base: {2976 }2979 }2977 }2980 }2978 },2981 },2979 /**2982 /**2980 * Lookup383: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2983 * Lookup386: rmrk_traits::part::PartType<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2981 **/2984 **/2982 RmrkTraitsPartPartType: {2985 RmrkTraitsPartPartType: {2983 _enum: {2986 _enum: {2984 FixedPart: 'RmrkTraitsPartFixedPart',2987 FixedPart: 'RmrkTraitsPartFixedPart',2985 SlotPart: 'RmrkTraitsPartSlotPart'2988 SlotPart: 'RmrkTraitsPartSlotPart'2986 }2989 }2987 },2990 },2988 /**2991 /**2989 * Lookup385: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2992 * Lookup388: rmrk_traits::part::FixedPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>>2990 **/2993 **/2991 RmrkTraitsPartFixedPart: {2994 RmrkTraitsPartFixedPart: {2992 id: 'u32',2995 id: 'u32',2993 z: 'u32',2996 z: 'u32',2994 src: 'Bytes'2997 src: 'Bytes'2995 },2998 },2996 /**2999 /**2997 * Lookup386: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>3000 * Lookup389: rmrk_traits::part::SlotPart<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<T, S>>2998 **/3001 **/2999 RmrkTraitsPartSlotPart: {3002 RmrkTraitsPartSlotPart: {3000 id: 'u32',3003 id: 'u32',3001 equippable: 'RmrkTraitsPartEquippableList',3004 equippable: 'RmrkTraitsPartEquippableList',3002 src: 'Bytes',3005 src: 'Bytes',3003 z: 'u32'3006 z: 'u32'3004 },3007 },3005 /**3008 /**3006 * Lookup387: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3009 * Lookup390: rmrk_traits::part::EquippableList<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3007 **/3010 **/3008 RmrkTraitsPartEquippableList: {3011 RmrkTraitsPartEquippableList: {3009 _enum: {3012 _enum: {3010 All: 'Null',3013 All: 'Null',3011 Empty: 'Null',3014 Empty: 'Null',3012 Custom: 'Vec<u32>'3015 Custom: 'Vec<u32>'3013 }3016 }3014 },3017 },3015 /**3018 /**3016 * Lookup389: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>3019 * Lookup392: rmrk_traits::theme::Theme<sp_core::bounded::bounded_vec::BoundedVec<T, S>, sp_core::bounded::bounded_vec::BoundedVec<rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>, S>>3017 **/3020 **/3018 RmrkTraitsTheme: {3021 RmrkTraitsTheme: {3019 name: 'Bytes',3022 name: 'Bytes',3020 properties: 'Vec<RmrkTraitsThemeThemeProperty>',3023 properties: 'Vec<RmrkTraitsThemeThemeProperty>',3021 inherit: 'bool'3024 inherit: 'bool'3022 },3025 },3023 /**3026 /**3024 * Lookup391: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3027 * Lookup394: rmrk_traits::theme::ThemeProperty<sp_core::bounded::bounded_vec::BoundedVec<T, S>>3025 **/3028 **/3026 RmrkTraitsThemeThemeProperty: {3029 RmrkTraitsThemeThemeProperty: {3027 key: 'Bytes',3030 key: 'Bytes',3028 value: 'Bytes'3031 value: 'Bytes'3029 },3032 },3030 /**3033 /**3031 * Lookup393: pallet_app_promotion::pallet::Call<T>3034 * Lookup396: pallet_app_promotion::pallet::Call<T>3032 **/3035 **/3033 PalletAppPromotionCall: {3036 PalletAppPromotionCall: {3034 _enum: {3037 _enum: {3035 set_admin_address: {3038 set_admin_address: {3056 }3059 }3057 }3060 }3058 },3061 },3059 /**3062 /**3060 * Lookup394: pallet_foreign_assets::module::Call<T>3063 * Lookup397: pallet_foreign_assets::module::Call<T>3061 **/3064 **/3062 PalletForeignAssetsModuleCall: {3065 PalletForeignAssetsModuleCall: {3063 _enum: {3066 _enum: {3064 register_foreign_asset: {3067 register_foreign_asset: {3073 }3076 }3074 }3077 }3075 },3078 },3076 /**3079 /**3077 * Lookup395: pallet_evm::pallet::Call<T>3080 * Lookup398: pallet_evm::pallet::Call<T>3078 **/3081 **/3079 PalletEvmCall: {3082 PalletEvmCall: {3080 _enum: {3083 _enum: {3081 withdraw: {3084 withdraw: {3116 }3119 }3117 }3120 }3118 },3121 },3119 /**3122 /**3120 * Lookup401: pallet_ethereum::pallet::Call<T>3123 * Lookup404: pallet_ethereum::pallet::Call<T>3121 **/3124 **/3122 PalletEthereumCall: {3125 PalletEthereumCall: {3123 _enum: {3126 _enum: {3124 transact: {3127 transact: {3125 transaction: 'EthereumTransactionTransactionV2'3128 transaction: 'EthereumTransactionTransactionV2'3126 }3129 }3127 }3130 }3128 },3131 },3129 /**3132 /**3130 * Lookup402: ethereum::transaction::TransactionV23133 * Lookup405: ethereum::transaction::TransactionV23131 **/3134 **/3132 EthereumTransactionTransactionV2: {3135 EthereumTransactionTransactionV2: {3133 _enum: {3136 _enum: {3134 Legacy: 'EthereumTransactionLegacyTransaction',3137 Legacy: 'EthereumTransactionLegacyTransaction',3135 EIP2930: 'EthereumTransactionEip2930Transaction',3138 EIP2930: 'EthereumTransactionEip2930Transaction',3136 EIP1559: 'EthereumTransactionEip1559Transaction'3139 EIP1559: 'EthereumTransactionEip1559Transaction'3137 }3140 }3138 },3141 },3139 /**3142 /**3140 * Lookup403: ethereum::transaction::LegacyTransaction3143 * Lookup406: ethereum::transaction::LegacyTransaction3141 **/3144 **/3142 EthereumTransactionLegacyTransaction: {3145 EthereumTransactionLegacyTransaction: {3143 nonce: 'U256',3146 nonce: 'U256',3144 gasPrice: 'U256',3147 gasPrice: 'U256',3148 input: 'Bytes',3151 input: 'Bytes',3149 signature: 'EthereumTransactionTransactionSignature'3152 signature: 'EthereumTransactionTransactionSignature'3150 },3153 },3151 /**3154 /**3152 * Lookup404: ethereum::transaction::TransactionAction3155 * Lookup407: ethereum::transaction::TransactionAction3153 **/3156 **/3154 EthereumTransactionTransactionAction: {3157 EthereumTransactionTransactionAction: {3155 _enum: {3158 _enum: {3156 Call: 'H160',3159 Call: 'H160',3157 Create: 'Null'3160 Create: 'Null'3158 }3161 }3159 },3162 },3160 /**3163 /**3161 * Lookup405: ethereum::transaction::TransactionSignature3164 * Lookup408: ethereum::transaction::TransactionSignature3162 **/3165 **/3163 EthereumTransactionTransactionSignature: {3166 EthereumTransactionTransactionSignature: {3164 v: 'u64',3167 v: 'u64',3165 r: 'H256',3168 r: 'H256',3166 s: 'H256'3169 s: 'H256'3167 },3170 },3168 /**3171 /**3169 * Lookup407: ethereum::transaction::EIP2930Transaction3172 * Lookup410: ethereum::transaction::EIP2930Transaction3170 **/3173 **/3171 EthereumTransactionEip2930Transaction: {3174 EthereumTransactionEip2930Transaction: {3172 chainId: 'u64',3175 chainId: 'u64',3173 nonce: 'U256',3176 nonce: 'U256',3181 r: 'H256',3184 r: 'H256',3182 s: 'H256'3185 s: 'H256'3183 },3186 },3184 /**3187 /**3185 * Lookup409: ethereum::transaction::AccessListItem3188 * Lookup412: ethereum::transaction::AccessListItem3186 **/3189 **/3187 EthereumTransactionAccessListItem: {3190 EthereumTransactionAccessListItem: {3188 address: 'H160',3191 address: 'H160',3189 storageKeys: 'Vec<H256>'3192 storageKeys: 'Vec<H256>'3190 },3193 },3191 /**3194 /**3192 * Lookup410: ethereum::transaction::EIP1559Transaction3195 * Lookup413: ethereum::transaction::EIP1559Transaction3193 **/3196 **/3194 EthereumTransactionEip1559Transaction: {3197 EthereumTransactionEip1559Transaction: {3195 chainId: 'u64',3198 chainId: 'u64',3196 nonce: 'U256',3199 nonce: 'U256',3205 r: 'H256',3208 r: 'H256',3206 s: 'H256'3209 s: 'H256'3207 },3210 },3208 /**3211 /**3209 * Lookup411: pallet_data_management::pallet::Call<T>3212 * Lookup414: pallet_data_management::pallet::Call<T>3210 **/3213 **/3211 PalletDataManagementCall: {3214 PalletDataManagementCall: {3212 _enum: {3215 _enum: {3213 begin: {3216 begin: {3226 },3229 },3227 insert_events: {3230 insert_events: {3228 events: 'Vec<Bytes>',3231 events: 'Vec<Bytes>'3229 },3232 }3230 set_identities: {3231 identities: 'Vec<(AccountId32,Option<PalletIdentityRegistration>)>'3232 }3233 }3233 }3234 },3234 },3235 /**3235 /**tests/src/interfaces/types-lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -2057,10 +2057,14 @@
readonly sub: MultiAddress;
} & Struct;
readonly isQuitSub: boolean;
- readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub';
+ readonly isSetIdentities: boolean;
+ readonly asSetIdentities: {
+ readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
+ } & Struct;
+ readonly type: 'AddRegistrar' | 'SetIdentity' | 'SetSubs' | 'ClearIdentity' | 'RequestJudgement' | 'CancelRequest' | 'SetFee' | 'SetAccountId' | 'SetFields' | 'ProvideJudgement' | 'KillIdentity' | 'AddSub' | 'RenameSub' | 'RemoveSub' | 'QuitSub' | 'SetIdentities';
}
- /** @name PalletIdentityError (248) */
+ /** @name PalletIdentityError (251) */
interface PalletIdentityError extends Enum {
readonly isTooManySubAccounts: boolean;
readonly isNotFound: boolean;
@@ -2083,14 +2087,14 @@
readonly type: 'TooManySubAccounts' | 'NotFound' | 'NotNamed' | 'EmptyIndex' | 'FeeChanged' | 'NoIdentity' | 'StickyJudgement' | 'JudgementGiven' | 'InvalidJudgement' | 'InvalidIndex' | 'InvalidTarget' | 'TooManyFields' | 'TooManyRegistrars' | 'AlreadyClaimed' | 'NotSub' | 'NotOwned' | 'JudgementForDifferentIdentity' | 'JudgementPaymentFailed';
}
- /** @name PalletBalancesBalanceLock (250) */
+ /** @name PalletBalancesBalanceLock (253) */
interface PalletBalancesBalanceLock extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
readonly reasons: PalletBalancesReasons;
}
- /** @name PalletBalancesReasons (251) */
+ /** @name PalletBalancesReasons (254) */
interface PalletBalancesReasons extends Enum {
readonly isFee: boolean;
readonly isMisc: boolean;
@@ -2098,13 +2102,13 @@
readonly type: 'Fee' | 'Misc' | 'All';
}
- /** @name PalletBalancesReserveData (254) */
+ /** @name PalletBalancesReserveData (257) */
interface PalletBalancesReserveData extends Struct {
readonly id: U8aFixed;
readonly amount: u128;
}
- /** @name PalletBalancesCall (256) */
+ /** @name PalletBalancesCall (259) */
interface PalletBalancesCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2141,7 +2145,7 @@
readonly type: 'Transfer' | 'SetBalance' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve';
}
- /** @name PalletBalancesError (257) */
+ /** @name PalletBalancesError (260) */
interface PalletBalancesError extends Enum {
readonly isVestingBalance: boolean;
readonly isLiquidityRestrictions: boolean;
@@ -2154,7 +2158,7 @@
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'KeepAlive' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves';
}
- /** @name PalletTimestampCall (259) */
+ /** @name PalletTimestampCall (262) */
interface PalletTimestampCall extends Enum {
readonly isSet: boolean;
readonly asSet: {
@@ -2163,14 +2167,14 @@
readonly type: 'Set';
}
- /** @name PalletTransactionPaymentReleases (261) */
+ /** @name PalletTransactionPaymentReleases (264) */
interface PalletTransactionPaymentReleases extends Enum {
readonly isV1Ancient: boolean;
readonly isV2: boolean;
readonly type: 'V1Ancient' | 'V2';
}
- /** @name PalletTreasuryProposal (262) */
+ /** @name PalletTreasuryProposal (265) */
interface PalletTreasuryProposal extends Struct {
readonly proposer: AccountId32;
readonly value: u128;
@@ -2178,7 +2182,7 @@
readonly bond: u128;
}
- /** @name PalletTreasuryCall (264) */
+ /** @name PalletTreasuryCall (267) */
interface PalletTreasuryCall extends Enum {
readonly isProposeSpend: boolean;
readonly asProposeSpend: {
@@ -2205,10 +2209,10 @@
readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'Spend' | 'RemoveApproval';
}
- /** @name FrameSupportPalletId (266) */
+ /** @name FrameSupportPalletId (269) */
interface FrameSupportPalletId extends U8aFixed {}
- /** @name PalletTreasuryError (267) */
+ /** @name PalletTreasuryError (270) */
interface PalletTreasuryError extends Enum {
readonly isInsufficientProposersBalance: boolean;
readonly isInvalidIndex: boolean;
@@ -2218,7 +2222,7 @@
readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved';
}
- /** @name PalletSudoCall (268) */
+ /** @name PalletSudoCall (271) */
interface PalletSudoCall extends Enum {
readonly isSudo: boolean;
readonly asSudo: {
@@ -2241,7 +2245,7 @@
readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs';
}
- /** @name OrmlVestingModuleCall (270) */
+ /** @name OrmlVestingModuleCall (273) */
interface OrmlVestingModuleCall extends Enum {
readonly isClaim: boolean;
readonly isVestedTransfer: boolean;
@@ -2261,7 +2265,7 @@
readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor';
}
- /** @name OrmlXtokensModuleCall (272) */
+ /** @name OrmlXtokensModuleCall (275) */
interface OrmlXtokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2308,7 +2312,7 @@
readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets';
}
- /** @name XcmVersionedMultiAsset (273) */
+ /** @name XcmVersionedMultiAsset (276) */
interface XcmVersionedMultiAsset extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0MultiAsset;
@@ -2317,7 +2321,7 @@
readonly type: 'V0' | 'V1';
}
- /** @name OrmlTokensModuleCall (276) */
+ /** @name OrmlTokensModuleCall (279) */
interface OrmlTokensModuleCall extends Enum {
readonly isTransfer: boolean;
readonly asTransfer: {
@@ -2354,7 +2358,7 @@
readonly type: 'Transfer' | 'TransferAll' | 'TransferKeepAlive' | 'ForceTransfer' | 'SetBalance';
}
- /** @name CumulusPalletXcmpQueueCall (277) */
+ /** @name CumulusPalletXcmpQueueCall (280) */
interface CumulusPalletXcmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2390,7 +2394,7 @@
readonly type: 'ServiceOverweight' | 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold' | 'UpdateThresholdWeight' | 'UpdateWeightRestrictDecay' | 'UpdateXcmpMaxIndividualWeight';
}
- /** @name PalletXcmCall (278) */
+ /** @name PalletXcmCall (281) */
interface PalletXcmCall extends Enum {
readonly isSend: boolean;
readonly asSend: {
@@ -2452,7 +2456,7 @@
readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets';
}
- /** @name XcmVersionedXcm (279) */
+ /** @name XcmVersionedXcm (282) */
interface XcmVersionedXcm extends Enum {
readonly isV0: boolean;
readonly asV0: XcmV0Xcm;
@@ -2463,7 +2467,7 @@
readonly type: 'V0' | 'V1' | 'V2';
}
- /** @name XcmV0Xcm (280) */
+ /** @name XcmV0Xcm (283) */
interface XcmV0Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2526,7 +2530,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposit' | 'TeleportAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom';
}
- /** @name XcmV0Order (282) */
+ /** @name XcmV0Order (285) */
interface XcmV0Order extends Enum {
readonly isNull: boolean;
readonly isDepositAsset: boolean;
@@ -2574,14 +2578,14 @@
readonly type: 'Null' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV0Response (284) */
+ /** @name XcmV0Response (287) */
interface XcmV0Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: Vec<XcmV0MultiAsset>;
readonly type: 'Assets';
}
- /** @name XcmV1Xcm (285) */
+ /** @name XcmV1Xcm (288) */
interface XcmV1Xcm extends Enum {
readonly isWithdrawAsset: boolean;
readonly asWithdrawAsset: {
@@ -2650,7 +2654,7 @@
readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'RelayedFrom' | 'SubscribeVersion' | 'UnsubscribeVersion';
}
- /** @name XcmV1Order (287) */
+ /** @name XcmV1Order (290) */
interface XcmV1Order extends Enum {
readonly isNoop: boolean;
readonly isDepositAsset: boolean;
@@ -2700,7 +2704,7 @@
readonly type: 'Noop' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution';
}
- /** @name XcmV1Response (289) */
+ /** @name XcmV1Response (292) */
interface XcmV1Response extends Enum {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
@@ -2709,10 +2713,10 @@
readonly type: 'Assets' | 'Version';
}
- /** @name CumulusPalletXcmCall (303) */
+ /** @name CumulusPalletXcmCall (306) */
type CumulusPalletXcmCall = Null;
- /** @name CumulusPalletDmpQueueCall (304) */
+ /** @name CumulusPalletDmpQueueCall (307) */
interface CumulusPalletDmpQueueCall extends Enum {
readonly isServiceOverweight: boolean;
readonly asServiceOverweight: {
@@ -2722,7 +2726,7 @@
readonly type: 'ServiceOverweight';
}
- /** @name PalletInflationCall (305) */
+ /** @name PalletInflationCall (308) */
interface PalletInflationCall extends Enum {
readonly isStartInflation: boolean;
readonly asStartInflation: {
@@ -2731,7 +2735,7 @@
readonly type: 'StartInflation';
}
- /** @name PalletUniqueCall (306) */
+ /** @name PalletUniqueCall (309) */
interface PalletUniqueCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -2904,7 +2908,7 @@
readonly type: 'CreateCollection' | 'CreateCollectionEx' | 'DestroyCollection' | 'AddToAllowList' | 'RemoveFromAllowList' | 'ChangeCollectionOwner' | 'AddCollectionAdmin' | 'RemoveCollectionAdmin' | 'SetCollectionSponsor' | 'ConfirmSponsorship' | 'RemoveCollectionSponsor' | 'CreateItem' | 'CreateMultipleItems' | 'SetCollectionProperties' | 'DeleteCollectionProperties' | 'SetTokenProperties' | 'DeleteTokenProperties' | 'SetTokenPropertyPermissions' | 'CreateMultipleItemsEx' | 'SetTransfersEnabledFlag' | 'BurnItem' | 'BurnFrom' | 'Transfer' | 'Approve' | 'TransferFrom' | 'SetCollectionLimits' | 'SetCollectionPermissions' | 'Repartition' | 'SetAllowanceForAll' | 'ForceRepairCollection' | 'ForceRepairItem';
}
- /** @name UpDataStructsCollectionMode (311) */
+ /** @name UpDataStructsCollectionMode (314) */
interface UpDataStructsCollectionMode extends Enum {
readonly isNft: boolean;
readonly isFungible: boolean;
@@ -2913,7 +2917,7 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateCollectionData (312) */
+ /** @name UpDataStructsCreateCollectionData (315) */
interface UpDataStructsCreateCollectionData extends Struct {
readonly mode: UpDataStructsCollectionMode;
readonly access: Option<UpDataStructsAccessMode>;
@@ -2927,14 +2931,14 @@
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsAccessMode (314) */
+ /** @name UpDataStructsAccessMode (317) */
interface UpDataStructsAccessMode extends Enum {
readonly isNormal: boolean;
readonly isAllowList: boolean;
readonly type: 'Normal' | 'AllowList';
}
- /** @name UpDataStructsCollectionLimits (316) */
+ /** @name UpDataStructsCollectionLimits (319) */
interface UpDataStructsCollectionLimits extends Struct {
readonly accountTokenOwnershipLimit: Option<u32>;
readonly sponsoredDataSize: Option<u32>;
@@ -2947,7 +2951,7 @@
readonly transfersEnabled: Option<bool>;
}
- /** @name UpDataStructsSponsoringRateLimit (318) */
+ /** @name UpDataStructsSponsoringRateLimit (321) */
interface UpDataStructsSponsoringRateLimit extends Enum {
readonly isSponsoringDisabled: boolean;
readonly isBlocks: boolean;
@@ -2955,43 +2959,43 @@
readonly type: 'SponsoringDisabled' | 'Blocks';
}
- /** @name UpDataStructsCollectionPermissions (321) */
+ /** @name UpDataStructsCollectionPermissions (324) */
interface UpDataStructsCollectionPermissions extends Struct {
readonly access: Option<UpDataStructsAccessMode>;
readonly mintMode: Option<bool>;
readonly nesting: Option<UpDataStructsNestingPermissions>;
}
- /** @name UpDataStructsNestingPermissions (323) */
+ /** @name UpDataStructsNestingPermissions (326) */
interface UpDataStructsNestingPermissions extends Struct {
readonly tokenOwner: bool;
readonly collectionAdmin: bool;
readonly restricted: Option<UpDataStructsOwnerRestrictedSet>;
}
- /** @name UpDataStructsOwnerRestrictedSet (325) */
+ /** @name UpDataStructsOwnerRestrictedSet (328) */
interface UpDataStructsOwnerRestrictedSet extends BTreeSet<u32> {}
- /** @name UpDataStructsPropertyKeyPermission (330) */
+ /** @name UpDataStructsPropertyKeyPermission (333) */
interface UpDataStructsPropertyKeyPermission extends Struct {
readonly key: Bytes;
readonly permission: UpDataStructsPropertyPermission;
}
- /** @name UpDataStructsPropertyPermission (331) */
+ /** @name UpDataStructsPropertyPermission (334) */
interface UpDataStructsPropertyPermission extends Struct {
readonly mutable: bool;
readonly collectionAdmin: bool;
readonly tokenOwner: bool;
}
- /** @name UpDataStructsProperty (334) */
+ /** @name UpDataStructsProperty (337) */
interface UpDataStructsProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name UpDataStructsCreateItemData (337) */
+ /** @name UpDataStructsCreateItemData (340) */
interface UpDataStructsCreateItemData extends Enum {
readonly isNft: boolean;
readonly asNft: UpDataStructsCreateNftData;
@@ -3002,23 +3006,23 @@
readonly type: 'Nft' | 'Fungible' | 'ReFungible';
}
- /** @name UpDataStructsCreateNftData (338) */
+ /** @name UpDataStructsCreateNftData (341) */
interface UpDataStructsCreateNftData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateFungibleData (339) */
+ /** @name UpDataStructsCreateFungibleData (342) */
interface UpDataStructsCreateFungibleData extends Struct {
readonly value: u128;
}
- /** @name UpDataStructsCreateReFungibleData (340) */
+ /** @name UpDataStructsCreateReFungibleData (343) */
interface UpDataStructsCreateReFungibleData extends Struct {
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateItemExData (343) */
+ /** @name UpDataStructsCreateItemExData (346) */
interface UpDataStructsCreateItemExData extends Enum {
readonly isNft: boolean;
readonly asNft: Vec<UpDataStructsCreateNftExData>;
@@ -3031,26 +3035,26 @@
readonly type: 'Nft' | 'Fungible' | 'RefungibleMultipleItems' | 'RefungibleMultipleOwners';
}
- /** @name UpDataStructsCreateNftExData (345) */
+ /** @name UpDataStructsCreateNftExData (348) */
interface UpDataStructsCreateNftExData extends Struct {
readonly properties: Vec<UpDataStructsProperty>;
readonly owner: PalletEvmAccountBasicCrossAccountIdRepr;
}
- /** @name UpDataStructsCreateRefungibleExSingleOwner (352) */
+ /** @name UpDataStructsCreateRefungibleExSingleOwner (355) */
interface UpDataStructsCreateRefungibleExSingleOwner extends Struct {
readonly user: PalletEvmAccountBasicCrossAccountIdRepr;
readonly pieces: u128;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name UpDataStructsCreateRefungibleExMultipleOwners (354) */
+ /** @name UpDataStructsCreateRefungibleExMultipleOwners (357) */
interface UpDataStructsCreateRefungibleExMultipleOwners extends Struct {
readonly users: BTreeMap<PalletEvmAccountBasicCrossAccountIdRepr, u128>;
readonly properties: Vec<UpDataStructsProperty>;
}
- /** @name PalletConfigurationCall (355) */
+ /** @name PalletConfigurationCall (358) */
interface PalletConfigurationCall extends Enum {
readonly isSetWeightToFeeCoefficientOverride: boolean;
readonly asSetWeightToFeeCoefficientOverride: {
@@ -3083,7 +3087,7 @@
readonly type: 'SetWeightToFeeCoefficientOverride' | 'SetMinGasPriceOverride' | 'SetXcmAllowedLocations' | 'SetAppPromotionConfigurationOverride' | 'SetCollatorSelectionDesiredCollators' | 'SetCollatorSelectionLicenseBond' | 'SetCollatorSelectionKickThreshold';
}
- /** @name PalletConfigurationAppPromotionConfiguration (360) */
+ /** @name PalletConfigurationAppPromotionConfiguration (363) */
interface PalletConfigurationAppPromotionConfiguration extends Struct {
readonly recalculationInterval: Option<u32>;
readonly pendingInterval: Option<u32>;
@@ -3091,13 +3095,13 @@
readonly maxStakersPerCalculation: Option<u8>;
}
- /** @name PalletTemplateTransactionPaymentCall (364) */
+ /** @name PalletTemplateTransactionPaymentCall (367) */
type PalletTemplateTransactionPaymentCall = Null;
- /** @name PalletStructureCall (365) */
+ /** @name PalletStructureCall (368) */
type PalletStructureCall = Null;
- /** @name PalletRmrkCoreCall (366) */
+ /** @name PalletRmrkCoreCall (369) */
interface PalletRmrkCoreCall extends Enum {
readonly isCreateCollection: boolean;
readonly asCreateCollection: {
@@ -3203,7 +3207,7 @@
readonly type: 'CreateCollection' | 'DestroyCollection' | 'ChangeCollectionIssuer' | 'LockCollection' | 'MintNft' | 'BurnNft' | 'Send' | 'AcceptNft' | 'RejectNft' | 'AcceptResource' | 'AcceptResourceRemoval' | 'SetProperty' | 'SetPriority' | 'AddBasicResource' | 'AddComposableResource' | 'AddSlotResource' | 'RemoveResource';
}
- /** @name RmrkTraitsResourceResourceTypes (372) */
+ /** @name RmrkTraitsResourceResourceTypes (375) */
interface RmrkTraitsResourceResourceTypes extends Enum {
readonly isBasic: boolean;
readonly asBasic: RmrkTraitsResourceBasicResource;
@@ -3214,7 +3218,7 @@
readonly type: 'Basic' | 'Composable' | 'Slot';
}
- /** @name RmrkTraitsResourceBasicResource (374) */
+ /** @name RmrkTraitsResourceBasicResource (377) */
interface RmrkTraitsResourceBasicResource extends Struct {
readonly src: Option<Bytes>;
readonly metadata: Option<Bytes>;
@@ -3222,7 +3226,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceComposableResource (376) */
+ /** @name RmrkTraitsResourceComposableResource (379) */
interface RmrkTraitsResourceComposableResource extends Struct {
readonly parts: Vec<u32>;
readonly base: u32;
@@ -3232,7 +3236,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name RmrkTraitsResourceSlotResource (377) */
+ /** @name RmrkTraitsResourceSlotResource (380) */
interface RmrkTraitsResourceSlotResource extends Struct {
readonly base: u32;
readonly src: Option<Bytes>;
@@ -3242,7 +3246,7 @@
readonly thumb: Option<Bytes>;
}
- /** @name PalletRmrkEquipCall (380) */
+ /** @name PalletRmrkEquipCall (383) */
interface PalletRmrkEquipCall extends Enum {
readonly isCreateBase: boolean;
readonly asCreateBase: {
@@ -3264,7 +3268,7 @@
readonly type: 'CreateBase' | 'ThemeAdd' | 'Equippable';
}
- /** @name RmrkTraitsPartPartType (383) */
+ /** @name RmrkTraitsPartPartType (386) */
interface RmrkTraitsPartPartType extends Enum {
readonly isFixedPart: boolean;
readonly asFixedPart: RmrkTraitsPartFixedPart;
@@ -3273,14 +3277,14 @@
readonly type: 'FixedPart' | 'SlotPart';
}
- /** @name RmrkTraitsPartFixedPart (385) */
+ /** @name RmrkTraitsPartFixedPart (388) */
interface RmrkTraitsPartFixedPart extends Struct {
readonly id: u32;
readonly z: u32;
readonly src: Bytes;
}
- /** @name RmrkTraitsPartSlotPart (386) */
+ /** @name RmrkTraitsPartSlotPart (389) */
interface RmrkTraitsPartSlotPart extends Struct {
readonly id: u32;
readonly equippable: RmrkTraitsPartEquippableList;
@@ -3288,7 +3292,7 @@
readonly z: u32;
}
- /** @name RmrkTraitsPartEquippableList (387) */
+ /** @name RmrkTraitsPartEquippableList (390) */
interface RmrkTraitsPartEquippableList extends Enum {
readonly isAll: boolean;
readonly isEmpty: boolean;
@@ -3297,20 +3301,20 @@
readonly type: 'All' | 'Empty' | 'Custom';
}
- /** @name RmrkTraitsTheme (389) */
+ /** @name RmrkTraitsTheme (392) */
interface RmrkTraitsTheme extends Struct {
readonly name: Bytes;
readonly properties: Vec<RmrkTraitsThemeThemeProperty>;
readonly inherit: bool;
}
- /** @name RmrkTraitsThemeThemeProperty (391) */
+ /** @name RmrkTraitsThemeThemeProperty (394) */
interface RmrkTraitsThemeThemeProperty extends Struct {
readonly key: Bytes;
readonly value: Bytes;
}
- /** @name PalletAppPromotionCall (393) */
+ /** @name PalletAppPromotionCall (396) */
interface PalletAppPromotionCall extends Enum {
readonly isSetAdminAddress: boolean;
readonly asSetAdminAddress: {
@@ -3344,7 +3348,7 @@
readonly type: 'SetAdminAddress' | 'Stake' | 'Unstake' | 'SponsorCollection' | 'StopSponsoringCollection' | 'SponsorContract' | 'StopSponsoringContract' | 'PayoutStakers';
}
- /** @name PalletForeignAssetsModuleCall (394) */
+ /** @name PalletForeignAssetsModuleCall (397) */
interface PalletForeignAssetsModuleCall extends Enum {
readonly isRegisterForeignAsset: boolean;
readonly asRegisterForeignAsset: {
@@ -3361,7 +3365,7 @@
readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset';
}
- /** @name PalletEvmCall (395) */
+ /** @name PalletEvmCall (398) */
interface PalletEvmCall extends Enum {
readonly isWithdraw: boolean;
readonly asWithdraw: {
@@ -3406,7 +3410,7 @@
readonly type: 'Withdraw' | 'Call' | 'Create' | 'Create2';
}
- /** @name PalletEthereumCall (401) */
+ /** @name PalletEthereumCall (404) */
interface PalletEthereumCall extends Enum {
readonly isTransact: boolean;
readonly asTransact: {
@@ -3415,7 +3419,7 @@
readonly type: 'Transact';
}
- /** @name EthereumTransactionTransactionV2 (402) */
+ /** @name EthereumTransactionTransactionV2 (405) */
interface EthereumTransactionTransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: EthereumTransactionLegacyTransaction;
@@ -3426,7 +3430,7 @@
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
}
- /** @name EthereumTransactionLegacyTransaction (403) */
+ /** @name EthereumTransactionLegacyTransaction (406) */
interface EthereumTransactionLegacyTransaction extends Struct {
readonly nonce: U256;
readonly gasPrice: U256;
@@ -3437,7 +3441,7 @@
readonly signature: EthereumTransactionTransactionSignature;
}
- /** @name EthereumTransactionTransactionAction (404) */
+ /** @name EthereumTransactionTransactionAction (407) */
interface EthereumTransactionTransactionAction extends Enum {
readonly isCall: boolean;
readonly asCall: H160;
@@ -3445,14 +3449,14 @@
readonly type: 'Call' | 'Create';
}
- /** @name EthereumTransactionTransactionSignature (405) */
+ /** @name EthereumTransactionTransactionSignature (408) */
interface EthereumTransactionTransactionSignature extends Struct {
readonly v: u64;
readonly r: H256;
readonly s: H256;
}
- /** @name EthereumTransactionEip2930Transaction (407) */
+ /** @name EthereumTransactionEip2930Transaction (410) */
interface EthereumTransactionEip2930Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3467,13 +3471,13 @@
readonly s: H256;
}
- /** @name EthereumTransactionAccessListItem (409) */
+ /** @name EthereumTransactionAccessListItem (412) */
interface EthereumTransactionAccessListItem extends Struct {
readonly address: H160;
readonly storageKeys: Vec<H256>;
}
- /** @name EthereumTransactionEip1559Transaction (410) */
+ /** @name EthereumTransactionEip1559Transaction (413) */
interface EthereumTransactionEip1559Transaction extends Struct {
readonly chainId: u64;
readonly nonce: U256;
@@ -3489,7 +3493,7 @@
readonly s: H256;
}
- /** @name PalletDataManagementCall (411) */
+ /** @name PalletDataManagementCall (414) */
interface PalletDataManagementCall extends Enum {
readonly isBegin: boolean;
readonly asBegin: {
@@ -3513,11 +3517,7 @@
readonly asInsertEvents: {
readonly events: Vec<Bytes>;
} & Struct;
- readonly isSetIdentities: boolean;
- readonly asSetIdentities: {
- readonly identities: Vec<ITuple<[AccountId32, Option<PalletIdentityRegistration>]>>;
- } & Struct;
- readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents' | 'SetIdentities';
+ readonly type: 'Begin' | 'SetData' | 'Finish' | 'InsertEthLogs' | 'InsertEvents';
}
/** @name PalletMaintenanceCall (418) */
tests/src/pallet-presence.test.tsdiffbeforeafterboth--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -69,7 +69,7 @@
const collatorSelection = ['authorship', 'session', 'collatorselection', 'identity'];
const testUtils = 'testutils';
- if (chain.eq('OPAL by UNIQUE')) {
+ if (chain.eq('OPAL by UNIQUE') || chain.eq('SAPPHIRE by UNIQUE')) {
requiredPallets.push(
refungible,
foreignAssets,
tests/src/util/identitySetter.tsdiffbeforeafterboth--- a/tests/src/util/identitySetter.ts
+++ b/tests/src/util/identitySetter.ts
@@ -33,7 +33,7 @@
try {
const superuser = await privateKey(key);
// todo:collator
- await helper.getSudo().executeExtrinsic(superuser, 'api.tx.dataManagement.setIdentities', [identities]);
+ await helper.getSudo().executeExtrinsic(superuser, 'api.tx.identity.setIdentities', [identities]);
console.log(`Tried to upload ${identities.length} identities. `
+ `Now there are ${(await helper.getApi().query.identity.identityOf.keys()).length}.`);
} catch (error) {
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -257,16 +257,17 @@
const accounts: IKeyringPair[] = [];
let nonce = await this.helper.chain.getNonce(donor.address);
const tokenNominal = this.helper.balance.getOneTokenNominal();
+ const ss58Format = this.helper.chain.getChainProperties().ss58Format;
for (let i = 0; i < accountsToCreate; i++) {
if (i === 500) { // if there are too many accounts to create
await Promise.allSettled(transactions); // wait while first 500 (should be 100 for devnode) tx will be settled
transactions = []; //
nonce = await this.helper.chain.getNonce(donor.address); // update nonce
}
- const recepient = this.helper.util.fromSeed(mnemonicGenerate());
- accounts.push(recepient);
+ const recipient = this.helper.util.fromSeed(mnemonicGenerate(), ss58Format);
+ accounts.push(recipient);
if (withBalance !== 0n) {
- const tx = this.helper.constructApiCall('api.tx.balances.transfer', [{Id: recepient.address}, withBalance * tokenNominal]);
+ const tx = this.helper.constructApiCall('api.tx.balances.transfer', [{Id: recipient.address}, withBalance * tokenNominal]);
transactions.push(this.helper.signTransaction(donor, tx, {nonce}, 'account generation'));
nonce++;
}