diff --git a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts index e535858507..4ebead5643 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts @@ -681,10 +681,6 @@ declare module "@polkadot/api-base/types/errors" { * Contract not exist **/ ContractNotExist: AugmentedError; - /** - * The key lengths exceeds the maximum allowed - **/ - KeyTooLong: AugmentedError; /** * The limit cannot be zero **/ @@ -1091,10 +1087,6 @@ declare module "@polkadot/api-base/types/errors" { * Preimage has already been noted on-chain. **/ AlreadyNoted: AugmentedError; - /** - * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. - **/ - NoCost: AugmentedError; /** * The user is not authorized to perform this action. **/ diff --git a/typescript-api/src/moonbase/interfaces/augment-api-events.ts b/typescript-api/src/moonbase/interfaces/augment-api-events.ts index 57b8d0b861..429481243a 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-events.ts @@ -37,6 +37,7 @@ import type { MoonbaseRuntimeXcmConfigAssetType, NimbusPrimitivesNimbusCryptoPublic, PalletConvictionVotingTally, + PalletConvictionVotingVoteAccountVote, PalletMultisigTimepoint, PalletParachainStakingDelegationRequestsCancelledScheduledRequest, PalletParachainStakingDelegatorAdded, @@ -581,6 +582,22 @@ declare module "@polkadot/api-base/types/events" { * An \[account\] has cancelled a previous delegation operation. **/ Undelegated: AugmentedEvent; + /** + * An account that has voted + **/ + Voted: AugmentedEvent< + ApiType, + [who: AccountId20, vote: PalletConvictionVotingVoteAccountVote], + { who: AccountId20; vote: PalletConvictionVotingVoteAccountVote } + >; + /** + * A vote that been removed + **/ + VoteRemoved: AugmentedEvent< + ApiType, + [who: AccountId20, vote: PalletConvictionVotingVoteAccountVote], + { who: AccountId20; vote: PalletConvictionVotingVoteAccountVote } + >; /** * Generic event **/ diff --git a/typescript-api/src/moonbase/interfaces/augment-api-query.ts b/typescript-api/src/moonbase/interfaces/augment-api-query.ts index 9d7cf20d01..f3c023c7b8 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-query.ts @@ -110,10 +110,10 @@ import type { PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, - PolkadotPrimitivesV7AbridgedHostConfiguration, - PolkadotPrimitivesV7PersistedValidationData, - PolkadotPrimitivesV7UpgradeGoAhead, - PolkadotPrimitivesV7UpgradeRestriction, + PolkadotPrimitivesV8AbridgedHostConfiguration, + PolkadotPrimitivesV8PersistedValidationData, + PolkadotPrimitivesV8UpgradeGoAhead, + PolkadotPrimitivesV8UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, @@ -1142,6 +1142,19 @@ declare module "@polkadot/api-base/types/storage" { **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Records collators' inactivity. + * Data persists for MaxOfflineRounds + 1 rounds before being pruned. + **/ + wasInactive: AugmentedQuery< + ApiType, + ( + arg1: u32 | AnyNumber | Uint8Array, + arg2: AccountId20 | string | Uint8Array + ) => Observable>, + [u32, AccountId20] + > & + QueryableStorageEntry; /** * Generic query **/ @@ -1187,7 +1200,7 @@ declare module "@polkadot/api-base/types/storage" { **/ hostConfiguration: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1333,7 +1346,7 @@ declare module "@polkadot/api-base/types/storage" { **/ upgradeGoAhead: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1348,7 +1361,7 @@ declare module "@polkadot/api-base/types/storage" { **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1371,7 +1384,7 @@ declare module "@polkadot/api-base/types/storage" { **/ validationData: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; diff --git a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts index 23684897dd..70117754cc 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts @@ -688,8 +688,6 @@ declare module "@polkadot/api-base/types/submittable" { * * - `id`: The identifier of the asset to be destroyed. This must identify an existing * asset. - * - * The asset class must be frozen before calling `start_destroy`. **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, @@ -791,6 +789,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; + /** + * Transfer the entire transferable balance from the caller asset account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `id`: The identifier of the asset for the account holding a deposit. + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the asset account has, causing the sender asset account to be killed + * (false), or transfer everything except at least the minimum balance, which will + * guarantee to keep the sender asset account alive (true). + **/ + transferAll: AugmentedSubmittable< + ( + id: Compact | AnyNumber | Uint8Array, + dest: AccountId20 | string | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [Compact, AccountId20, bool] + >; /** * Transfer some asset balance from a previously delegated account to some third-party * account. @@ -1855,7 +1879,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: * * ```nocompile - * Self::registrars().get(reg_index).unwrap().fee + * Registrars::::get().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. @@ -2814,38 +2838,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, - * it cannot actually perform the verification. - * - * This call requires Root origin. - **/ - authorizeUpgrade: AugmentedSubmittable< - ( - codeHash: H256 | string | Uint8Array, - checkVersion: bool | boolean | Uint8Array - ) => SubmittableExtrinsic, - [H256, bool] - >; - /** - * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. - * - * If the authorization required a version check, this call will ensure the spec name - * remains unchanged and that the spec version has increased. - * - * Note that this function will not apply the new `code`, but only attempt to schedule the - * upgrade with the Relay Chain. - * - * All origins are allowed. - **/ - enactAuthorizedUpgrade: AugmentedSubmittable< - (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, - [Bytes] - >; /** * Set the current validation data. * diff --git a/typescript-api/src/moonbase/interfaces/lookup.ts b/typescript-api/src/moonbase/interfaces/lookup.ts index 90f6f38905..2e32b0983b 100644 --- a/typescript-api/src/moonbase/interfaces/lookup.ts +++ b/typescript-api/src/moonbase/interfaces/lookup.ts @@ -2287,11 +2287,39 @@ export default { PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20" + Undelegated: "AccountId20", + Voted: { + who: "AccountId20", + vote: "PalletConvictionVotingVoteAccountVote" + }, + VoteRemoved: { + who: "AccountId20", + vote: "PalletConvictionVotingVoteAccountVote" + } + } + }, + /** + * Lookup172: pallet_conviction_voting::vote::AccountVote + **/ + PalletConvictionVotingVoteAccountVote: { + _enum: { + Standard: { + vote: "Vote", + balance: "u128" + }, + Split: { + aye: "u128", + nay: "u128" + }, + SplitAbstain: { + aye: "u128", + nay: "u128", + abstain: "u128" + } } }, /** - * Lookup172: pallet_referenda::pallet::Event + * Lookup174: pallet_referenda::pallet::Event **/ PalletReferendaEvent: { _enum: { @@ -2371,7 +2399,7 @@ export default { } }, /** - * Lookup173: frame_support::traits::preimages::Bounded + * Lookup175: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -2392,7 +2420,7 @@ export default { } }, /** - * Lookup175: frame_system::pallet::Call + * Lookup177: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -2437,7 +2465,7 @@ export default { } }, /** - * Lookup179: pallet_utility::pallet::Call + * Lookup181: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -2465,7 +2493,7 @@ export default { } }, /** - * Lookup181: moonbase_runtime::OriginCaller + * Lookup183: moonbase_runtime::OriginCaller **/ MoonbaseRuntimeOriginCaller: { _enum: { @@ -2519,7 +2547,7 @@ export default { } }, /** - * Lookup182: frame_support::dispatch::RawOrigin + * Lookup184: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -2529,7 +2557,7 @@ export default { } }, /** - * Lookup183: pallet_ethereum::RawOrigin + * Lookup185: pallet_ethereum::RawOrigin **/ PalletEthereumRawOrigin: { _enum: { @@ -2537,7 +2565,7 @@ export default { } }, /** - * Lookup184: cumulus_pallet_xcm::pallet::Origin + * Lookup186: cumulus_pallet_xcm::pallet::Origin **/ CumulusPalletXcmOrigin: { _enum: { @@ -2546,7 +2574,7 @@ export default { } }, /** - * Lookup185: pallet_xcm::pallet::Origin + * Lookup187: pallet_xcm::pallet::Origin **/ PalletXcmOrigin: { _enum: { @@ -2555,7 +2583,7 @@ export default { } }, /** - * Lookup186: pallet_ethereum_xcm::RawOrigin + * Lookup188: pallet_ethereum_xcm::RawOrigin **/ PalletEthereumXcmRawOrigin: { _enum: { @@ -2563,7 +2591,7 @@ export default { } }, /** - * Lookup187: pallet_collective::RawOrigin + * Lookup189: pallet_collective::RawOrigin **/ PalletCollectiveRawOrigin: { _enum: { @@ -2573,7 +2601,7 @@ export default { } }, /** - * Lookup188: moonbase_runtime::governance::origins::custom_origins::Origin + * Lookup190: moonbase_runtime::governance::origins::custom_origins::Origin **/ MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ @@ -2585,11 +2613,11 @@ export default { ] }, /** - * Lookup190: sp_core::Void + * Lookup192: sp_core::Void **/ SpCoreVoid: "Null", /** - * Lookup191: pallet_timestamp::pallet::Call + * Lookup193: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -2599,7 +2627,7 @@ export default { } }, /** - * Lookup192: pallet_balances::pallet::Call + * Lookup194: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -2644,13 +2672,13 @@ export default { } }, /** - * Lookup194: pallet_balances::types::AdjustmentDirection + * Lookup196: pallet_balances::types::AdjustmentDirection **/ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"] }, /** - * Lookup195: pallet_sudo::pallet::Call + * Lookup197: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -2675,7 +2703,7 @@ export default { } }, /** - * Lookup196: cumulus_pallet_parachain_system::pallet::Call + * Lookup198: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -2684,56 +2712,49 @@ export default { }, sudo_send_upward_message: { message: "Bytes" - }, - authorize_upgrade: { - codeHash: "H256", - checkVersion: "bool" - }, - enact_authorized_upgrade: { - code: "Bytes" } } }, /** - * Lookup197: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup199: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: "PolkadotPrimitivesV7PersistedValidationData", + validationData: "PolkadotPrimitivesV8PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>" }, /** - * Lookup198: polkadot_primitives::v7::PersistedValidationData + * Lookup200: polkadot_primitives::v8::PersistedValidationData **/ - PolkadotPrimitivesV7PersistedValidationData: { + PolkadotPrimitivesV8PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", maxPovSize: "u32" }, /** - * Lookup200: sp_trie::storage_proof::StorageProof + * Lookup202: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: "BTreeSet" }, /** - * Lookup203: polkadot_core_primitives::InboundDownwardMessage + * Lookup205: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes" }, /** - * Lookup206: polkadot_core_primitives::InboundHrmpMessage + * Lookup208: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes" }, /** - * Lookup209: pallet_evm::pallet::Call + * Lookup211: pallet_evm::pallet::Call **/ PalletEvmCall: { _enum: { @@ -2776,7 +2797,7 @@ export default { } }, /** - * Lookup215: pallet_ethereum::pallet::Call + * Lookup217: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -2786,7 +2807,7 @@ export default { } }, /** - * Lookup216: ethereum::transaction::TransactionV2 + * Lookup218: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -2796,7 +2817,7 @@ export default { } }, /** - * Lookup217: ethereum::transaction::LegacyTransaction + * Lookup219: ethereum::transaction::LegacyTransaction **/ EthereumTransactionLegacyTransaction: { nonce: "U256", @@ -2808,7 +2829,7 @@ export default { signature: "EthereumTransactionTransactionSignature" }, /** - * Lookup218: ethereum::transaction::TransactionAction + * Lookup220: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -2817,7 +2838,7 @@ export default { } }, /** - * Lookup219: ethereum::transaction::TransactionSignature + * Lookup221: ethereum::transaction::TransactionSignature **/ EthereumTransactionTransactionSignature: { v: "u64", @@ -2825,7 +2846,7 @@ export default { s: "H256" }, /** - * Lookup221: ethereum::transaction::EIP2930Transaction + * Lookup223: ethereum::transaction::EIP2930Transaction **/ EthereumTransactionEip2930Transaction: { chainId: "u64", @@ -2841,14 +2862,14 @@ export default { s: "H256" }, /** - * Lookup223: ethereum::transaction::AccessListItem + * Lookup225: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: "H160", storageKeys: "Vec" }, /** - * Lookup224: ethereum::transaction::EIP1559Transaction + * Lookup226: ethereum::transaction::EIP1559Transaction **/ EthereumTransactionEip1559Transaction: { chainId: "u64", @@ -2865,7 +2886,7 @@ export default { s: "H256" }, /** - * Lookup225: pallet_parachain_staking::pallet::Call + * Lookup227: pallet_parachain_staking::pallet::Call **/ PalletParachainStakingCall: { _enum: { @@ -3003,7 +3024,7 @@ export default { } }, /** - * Lookup228: pallet_scheduler::pallet::Call + * Lookup230: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -3059,7 +3080,7 @@ export default { } }, /** - * Lookup230: pallet_treasury::pallet::Call + * Lookup232: pallet_treasury::pallet::Call **/ PalletTreasuryCall: { _enum: { @@ -3091,13 +3112,13 @@ export default { } }, /** - * Lookup232: pallet_author_inherent::pallet::Call + * Lookup234: pallet_author_inherent::pallet::Call **/ PalletAuthorInherentCall: { _enum: ["kick_off_authorship_validation"] }, /** - * Lookup233: pallet_author_slot_filter::pallet::Call + * Lookup235: pallet_author_slot_filter::pallet::Call **/ PalletAuthorSlotFilterCall: { _enum: { @@ -3110,7 +3131,7 @@ export default { } }, /** - * Lookup234: pallet_crowdloan_rewards::pallet::Call + * Lookup236: pallet_crowdloan_rewards::pallet::Call **/ PalletCrowdloanRewardsCall: { _enum: { @@ -3137,7 +3158,7 @@ export default { } }, /** - * Lookup235: sp_runtime::MultiSignature + * Lookup237: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { @@ -3147,7 +3168,7 @@ export default { } }, /** - * Lookup242: pallet_author_mapping::pallet::Call + * Lookup244: pallet_author_mapping::pallet::Call **/ PalletAuthorMappingCall: { _enum: { @@ -3171,7 +3192,7 @@ export default { } }, /** - * Lookup243: pallet_proxy::pallet::Call + * Lookup245: pallet_proxy::pallet::Call **/ PalletProxyCall: { _enum: { @@ -3224,13 +3245,13 @@ export default { } }, /** - * Lookup245: pallet_maintenance_mode::pallet::Call + * Lookup247: pallet_maintenance_mode::pallet::Call **/ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, /** - * Lookup246: pallet_identity::pallet::Call + * Lookup248: pallet_identity::pallet::Call **/ PalletIdentityCall: { _enum: { @@ -3315,7 +3336,7 @@ export default { } }, /** - * Lookup247: pallet_identity::legacy::IdentityInfo + * Lookup249: pallet_identity::legacy::IdentityInfo **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", @@ -3329,7 +3350,7 @@ export default { twitter: "Data" }, /** - * Lookup283: pallet_identity::types::Judgement + * Lookup285: pallet_identity::types::Judgement **/ PalletIdentityJudgement: { _enum: { @@ -3343,11 +3364,11 @@ export default { } }, /** - * Lookup285: account::EthereumSignature + * Lookup287: account::EthereumSignature **/ AccountEthereumSignature: "[u8;65]", /** - * Lookup286: cumulus_pallet_xcmp_queue::pallet::Call + * Lookup288: cumulus_pallet_xcmp_queue::pallet::Call **/ CumulusPalletXcmpQueueCall: { _enum: { @@ -3375,7 +3396,7 @@ export default { } }, /** - * Lookup287: pallet_xcm::pallet::Call + * Lookup289: pallet_xcm::pallet::Call **/ PalletXcmCall: { _enum: { @@ -3452,7 +3473,7 @@ export default { } }, /** - * Lookup288: xcm::VersionedXcm + * Lookup290: xcm::VersionedXcm **/ XcmVersionedXcm: { _enum: { @@ -3464,11 +3485,11 @@ export default { } }, /** - * Lookup289: xcm::v2::Xcm + * Lookup291: xcm::v2::Xcm **/ XcmV2Xcm: "Vec", /** - * Lookup291: xcm::v2::Instruction + * Lookup293: xcm::v2::Instruction **/ XcmV2Instruction: { _enum: { @@ -3566,7 +3587,7 @@ export default { } }, /** - * Lookup292: xcm::v2::Response + * Lookup294: xcm::v2::Response **/ XcmV2Response: { _enum: { @@ -3577,7 +3598,7 @@ export default { } }, /** - * Lookup295: xcm::v2::traits::Error + * Lookup297: xcm::v2::traits::Error **/ XcmV2TraitsError: { _enum: { @@ -3610,13 +3631,13 @@ export default { } }, /** - * Lookup296: xcm::v2::OriginKind + * Lookup298: xcm::v2::OriginKind **/ XcmV2OriginKind: { _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, /** - * Lookup297: xcm::v2::multiasset::MultiAssetFilter + * Lookup299: xcm::v2::multiasset::MultiAssetFilter **/ XcmV2MultiassetMultiAssetFilter: { _enum: { @@ -3625,7 +3646,7 @@ export default { } }, /** - * Lookup298: xcm::v2::multiasset::WildMultiAsset + * Lookup300: xcm::v2::multiasset::WildMultiAsset **/ XcmV2MultiassetWildMultiAsset: { _enum: { @@ -3637,13 +3658,13 @@ export default { } }, /** - * Lookup299: xcm::v2::multiasset::WildFungibility + * Lookup301: xcm::v2::multiasset::WildFungibility **/ XcmV2MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"] }, /** - * Lookup300: xcm::v2::WeightLimit + * Lookup302: xcm::v2::WeightLimit **/ XcmV2WeightLimit: { _enum: { @@ -3652,11 +3673,11 @@ export default { } }, /** - * Lookup301: xcm::v3::Xcm + * Lookup303: xcm::v3::Xcm **/ XcmV3Xcm: "Vec", /** - * Lookup303: xcm::v3::Instruction + * Lookup305: xcm::v3::Instruction **/ XcmV3Instruction: { _enum: { @@ -3798,7 +3819,7 @@ export default { } }, /** - * Lookup304: xcm::v3::Response + * Lookup306: xcm::v3::Response **/ XcmV3Response: { _enum: { @@ -3811,7 +3832,7 @@ export default { } }, /** - * Lookup306: xcm::v3::PalletInfo + * Lookup308: xcm::v3::PalletInfo **/ XcmV3PalletInfo: { index: "Compact", @@ -3822,7 +3843,7 @@ export default { patch: "Compact" }, /** - * Lookup310: xcm::v3::QueryResponseInfo + * Lookup312: xcm::v3::QueryResponseInfo **/ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", @@ -3830,7 +3851,7 @@ export default { maxWeight: "SpWeightsWeightV2Weight" }, /** - * Lookup311: xcm::v3::multiasset::MultiAssetFilter + * Lookup313: xcm::v3::multiasset::MultiAssetFilter **/ XcmV3MultiassetMultiAssetFilter: { _enum: { @@ -3839,7 +3860,7 @@ export default { } }, /** - * Lookup312: xcm::v3::multiasset::WildMultiAsset + * Lookup314: xcm::v3::multiasset::WildMultiAsset **/ XcmV3MultiassetWildMultiAsset: { _enum: { @@ -3857,13 +3878,13 @@ export default { } }, /** - * Lookup313: xcm::v3::multiasset::WildFungibility + * Lookup315: xcm::v3::multiasset::WildFungibility **/ XcmV3MultiassetWildFungibility: { _enum: ["Fungible", "NonFungible"] }, /** - * Lookup325: staging_xcm_executor::traits::asset_transfer::TransferType + * Lookup327: staging_xcm_executor::traits::asset_transfer::TransferType **/ StagingXcmExecutorAssetTransferTransferType: { _enum: { @@ -3874,7 +3895,7 @@ export default { } }, /** - * Lookup326: xcm::VersionedAssetId + * Lookup328: xcm::VersionedAssetId **/ XcmVersionedAssetId: { _enum: { @@ -3886,7 +3907,7 @@ export default { } }, /** - * Lookup327: pallet_assets::pallet::Call + * Lookup329: pallet_assets::pallet::Call **/ PalletAssetsCall: { _enum: { @@ -4034,11 +4055,16 @@ export default { block: { id: "Compact", who: "AccountId20" + }, + transfer_all: { + id: "Compact", + dest: "AccountId20", + keepAlive: "bool" } } }, /** - * Lookup328: pallet_asset_manager::pallet::Call + * Lookup330: pallet_asset_manager::pallet::Call **/ PalletAssetManagerCall: { _enum: { @@ -4067,7 +4093,7 @@ export default { } }, /** - * Lookup329: pallet_xcm_transactor::pallet::Call + * Lookup331: pallet_xcm_transactor::pallet::Call **/ PalletXcmTransactorCall: { _enum: { @@ -4126,20 +4152,20 @@ export default { } }, /** - * Lookup330: moonbase_runtime::xcm_config::Transactors + * Lookup332: moonbase_runtime::xcm_config::Transactors **/ MoonbaseRuntimeXcmConfigTransactors: { _enum: ["Relay"] }, /** - * Lookup331: pallet_xcm_transactor::pallet::CurrencyPayment + * Lookup333: pallet_xcm_transactor::pallet::CurrencyPayment **/ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", feeAmount: "Option" }, /** - * Lookup332: moonbase_runtime::xcm_config::CurrencyId + * Lookup334: moonbase_runtime::xcm_config::CurrencyId **/ MoonbaseRuntimeXcmConfigCurrencyId: { _enum: { @@ -4151,7 +4177,7 @@ export default { } }, /** - * Lookup333: pallet_xcm_transactor::pallet::Currency + * Lookup335: pallet_xcm_transactor::pallet::Currency **/ PalletXcmTransactorCurrency: { _enum: { @@ -4160,14 +4186,14 @@ export default { } }, /** - * Lookup335: pallet_xcm_transactor::pallet::TransactWeights + * Lookup337: pallet_xcm_transactor::pallet::TransactWeights **/ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", overallWeight: "Option" }, /** - * Lookup337: pallet_moonbeam_orbiters::pallet::Call + * Lookup339: pallet_moonbeam_orbiters::pallet::Call **/ PalletMoonbeamOrbitersCall: { _enum: { @@ -4193,7 +4219,7 @@ export default { } }, /** - * Lookup338: pallet_ethereum_xcm::pallet::Call + * Lookup340: pallet_ethereum_xcm::pallet::Call **/ PalletEthereumXcmCall: { _enum: { @@ -4214,7 +4240,7 @@ export default { } }, /** - * Lookup339: xcm_primitives::ethereum_xcm::EthereumXcmTransaction + * Lookup341: xcm_primitives::ethereum_xcm::EthereumXcmTransaction **/ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { @@ -4223,7 +4249,7 @@ export default { } }, /** - * Lookup340: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 + * Lookup342: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", @@ -4234,7 +4260,7 @@ export default { accessList: "Option)>>" }, /** - * Lookup341: xcm_primitives::ethereum_xcm::EthereumXcmFee + * Lookup343: xcm_primitives::ethereum_xcm::EthereumXcmFee **/ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { @@ -4243,14 +4269,14 @@ export default { } }, /** - * Lookup342: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee + * Lookup344: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee **/ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", maxFeePerGas: "Option" }, /** - * Lookup345: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 + * Lookup347: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", @@ -4260,13 +4286,13 @@ export default { accessList: "Option)>>" }, /** - * Lookup347: pallet_randomness::pallet::Call + * Lookup349: pallet_randomness::pallet::Call **/ PalletRandomnessCall: { _enum: ["set_babe_randomness_results"] }, /** - * Lookup348: pallet_collective::pallet::Call + * Lookup350: pallet_collective::pallet::Call **/ PalletCollectiveCall: { _enum: { @@ -4302,7 +4328,7 @@ export default { } }, /** - * Lookup349: pallet_conviction_voting::pallet::Call + * Lookup351: pallet_conviction_voting::pallet::Call **/ PalletConvictionVotingCall: { _enum: { @@ -4334,26 +4360,6 @@ export default { } } }, - /** - * Lookup350: pallet_conviction_voting::vote::AccountVote - **/ - PalletConvictionVotingVoteAccountVote: { - _enum: { - Standard: { - vote: "Vote", - balance: "u128" - }, - Split: { - aye: "u128", - nay: "u128" - }, - SplitAbstain: { - aye: "u128", - nay: "u128", - abstain: "u128" - } - } - }, /** * Lookup352: pallet_conviction_voting::conviction::Conviction **/ @@ -5143,7 +5149,7 @@ export default { CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option" + consumedGoAheadSignal: "Option" }, /** * Lookup441: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth @@ -5161,9 +5167,9 @@ export default { totalBytes: "u32" }, /** - * Lookup447: polkadot_primitives::v7::UpgradeGoAhead + * Lookup447: polkadot_primitives::v8::UpgradeGoAhead **/ - PolkadotPrimitivesV7UpgradeGoAhead: { + PolkadotPrimitivesV8UpgradeGoAhead: { _enum: ["Abort", "GoAhead"] }, /** @@ -5172,12 +5178,12 @@ export default { CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option" + consumedGoAheadSignal: "Option" }, /** - * Lookup450: polkadot_primitives::v7::UpgradeRestriction + * Lookup450: polkadot_primitives::v8::UpgradeRestriction **/ - PolkadotPrimitivesV7UpgradeRestriction: { + PolkadotPrimitivesV8UpgradeRestriction: { _enum: ["Present"] }, /** @@ -5187,8 +5193,8 @@ export default { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", - ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" + ingressChannels: "Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>" }, /** * Lookup452: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity @@ -5198,9 +5204,9 @@ export default { remainingSize: "u32" }, /** - * Lookup455: polkadot_primitives::v7::AbridgedHrmpChannel + * Lookup455: polkadot_primitives::v8::AbridgedHrmpChannel **/ - PolkadotPrimitivesV7AbridgedHrmpChannel: { + PolkadotPrimitivesV8AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", @@ -5209,9 +5215,9 @@ export default { mqcHead: "Option" }, /** - * Lookup456: polkadot_primitives::v7::AbridgedHostConfiguration + * Lookup456: polkadot_primitives::v8::AbridgedHostConfiguration **/ - PolkadotPrimitivesV7AbridgedHostConfiguration: { + PolkadotPrimitivesV8AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", maxUpwardQueueCount: "u32", @@ -5221,12 +5227,12 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" + asyncBackingParams: "PolkadotPrimitivesV8AsyncBackingAsyncBackingParams" }, /** - * Lookup457: polkadot_primitives::v7::async_backing::AsyncBackingParams + * Lookup457: polkadot_primitives::v8::async_backing::AsyncBackingParams **/ - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32" }, @@ -6435,8 +6441,7 @@ export default { "Requested", "NotRequested", "TooMany", - "TooFew", - "NoCost" + "TooFew" ] }, /** @@ -6517,7 +6522,6 @@ export default { "LimitCannotBeZero", "ContractMetadataAlreadySet", "ContractNotExist", - "KeyTooLong", "SymbolTooLong", "NameTooLong", "AssetTypeNotFound", diff --git a/typescript-api/src/moonbase/interfaces/registry.ts b/typescript-api/src/moonbase/interfaces/registry.ts index e7ead8168c..47c0652062 100644 --- a/typescript-api/src/moonbase/interfaces/registry.ts +++ b/typescript-api/src/moonbase/interfaces/registry.ts @@ -310,12 +310,12 @@ import type { PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, - PolkadotPrimitivesV7AbridgedHostConfiguration, - PolkadotPrimitivesV7AbridgedHrmpChannel, - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, - PolkadotPrimitivesV7PersistedValidationData, - PolkadotPrimitivesV7UpgradeGoAhead, - PolkadotPrimitivesV7UpgradeRestriction, + PolkadotPrimitivesV8AbridgedHostConfiguration, + PolkadotPrimitivesV8AbridgedHrmpChannel, + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, + PolkadotPrimitivesV8PersistedValidationData, + PolkadotPrimitivesV8UpgradeGoAhead, + PolkadotPrimitivesV8UpgradeRestriction, SessionKeysPrimitivesVrfVrfCryptoPublic, SpArithmeticArithmeticError, SpCoreVoid, @@ -713,12 +713,12 @@ declare module "@polkadot/types/types/registry" { PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; PolkadotParachainPrimitivesPrimitivesHrmpChannelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId; - PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; - PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; - PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; - PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; - PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; + PolkadotPrimitivesV8AbridgedHostConfiguration: PolkadotPrimitivesV8AbridgedHostConfiguration; + PolkadotPrimitivesV8AbridgedHrmpChannel: PolkadotPrimitivesV8AbridgedHrmpChannel; + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV8PersistedValidationData: PolkadotPrimitivesV8PersistedValidationData; + PolkadotPrimitivesV8UpgradeGoAhead: PolkadotPrimitivesV8UpgradeGoAhead; + PolkadotPrimitivesV8UpgradeRestriction: PolkadotPrimitivesV8UpgradeRestriction; SessionKeysPrimitivesVrfVrfCryptoPublic: SessionKeysPrimitivesVrfVrfCryptoPublic; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpCoreVoid: SpCoreVoid; diff --git a/typescript-api/src/moonbase/interfaces/types-lookup.ts b/typescript-api/src/moonbase/interfaces/types-lookup.ts index e62a24ce3e..8cfe6ee3cc 100644 --- a/typescript-api/src/moonbase/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbase/interfaces/types-lookup.ts @@ -3019,10 +3019,41 @@ declare module "@polkadot/types/lookup" { readonly asDelegated: ITuple<[AccountId20, AccountId20]>; readonly isUndelegated: boolean; readonly asUndelegated: AccountId20; - readonly type: "Delegated" | "Undelegated"; + readonly isVoted: boolean; + readonly asVoted: { + readonly who: AccountId20; + readonly vote: PalletConvictionVotingVoteAccountVote; + } & Struct; + readonly isVoteRemoved: boolean; + readonly asVoteRemoved: { + readonly who: AccountId20; + readonly vote: PalletConvictionVotingVoteAccountVote; + } & Struct; + readonly type: "Delegated" | "Undelegated" | "Voted" | "VoteRemoved"; + } + + /** @name PalletConvictionVotingVoteAccountVote (172) */ + interface PalletConvictionVotingVoteAccountVote extends Enum { + readonly isStandard: boolean; + readonly asStandard: { + readonly vote: Vote; + readonly balance: u128; + } & Struct; + readonly isSplit: boolean; + readonly asSplit: { + readonly aye: u128; + readonly nay: u128; + } & Struct; + readonly isSplitAbstain: boolean; + readonly asSplitAbstain: { + readonly aye: u128; + readonly nay: u128; + readonly abstain: u128; + } & Struct; + readonly type: "Standard" | "Split" | "SplitAbstain"; } - /** @name PalletReferendaEvent (172) */ + /** @name PalletReferendaEvent (174) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -3126,7 +3157,7 @@ declare module "@polkadot/types/lookup" { | "MetadataCleared"; } - /** @name FrameSupportPreimagesBounded (173) */ + /** @name FrameSupportPreimagesBounded (175) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -3142,7 +3173,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Inline" | "Lookup"; } - /** @name FrameSystemCall (175) */ + /** @name FrameSystemCall (177) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3203,7 +3234,7 @@ declare module "@polkadot/types/lookup" { | "ApplyAuthorizedUpgrade"; } - /** @name PalletUtilityCall (179) */ + /** @name PalletUtilityCall (181) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -3241,7 +3272,7 @@ declare module "@polkadot/types/lookup" { | "WithWeight"; } - /** @name MoonbaseRuntimeOriginCaller (181) */ + /** @name MoonbaseRuntimeOriginCaller (183) */ interface MoonbaseRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -3272,7 +3303,7 @@ declare module "@polkadot/types/lookup" { | "OpenTechCommitteeCollective"; } - /** @name FrameSupportDispatchRawOrigin (182) */ + /** @name FrameSupportDispatchRawOrigin (184) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -3281,14 +3312,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Root" | "Signed" | "None"; } - /** @name PalletEthereumRawOrigin (183) */ + /** @name PalletEthereumRawOrigin (185) */ interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: "EthereumTransaction"; } - /** @name CumulusPalletXcmOrigin (184) */ + /** @name CumulusPalletXcmOrigin (186) */ interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; @@ -3296,7 +3327,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Relay" | "SiblingParachain"; } - /** @name PalletXcmOrigin (185) */ + /** @name PalletXcmOrigin (187) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV4Location; @@ -3305,14 +3336,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Xcm" | "Response"; } - /** @name PalletEthereumXcmRawOrigin (186) */ + /** @name PalletEthereumXcmRawOrigin (188) */ interface PalletEthereumXcmRawOrigin extends Enum { readonly isXcmEthereumTransaction: boolean; readonly asXcmEthereumTransaction: H160; readonly type: "XcmEthereumTransaction"; } - /** @name PalletCollectiveRawOrigin (187) */ + /** @name PalletCollectiveRawOrigin (189) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -3322,7 +3353,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Members" | "Member" | "Phantom"; } - /** @name MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin (188) */ + /** @name MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin (190) */ interface MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin extends Enum { readonly isWhitelistedCaller: boolean; readonly isGeneralAdmin: boolean; @@ -3337,10 +3368,10 @@ declare module "@polkadot/types/lookup" { | "FastGeneralAdmin"; } - /** @name SpCoreVoid (190) */ + /** @name SpCoreVoid (192) */ type SpCoreVoid = Null; - /** @name PalletTimestampCall (191) */ + /** @name PalletTimestampCall (193) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3349,7 +3380,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Set"; } - /** @name PalletBalancesCall (192) */ + /** @name PalletBalancesCall (194) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -3408,14 +3439,14 @@ declare module "@polkadot/types/lookup" { | "Burn"; } - /** @name PalletBalancesAdjustmentDirection (194) */ + /** @name PalletBalancesAdjustmentDirection (196) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: "Increase" | "Decrease"; } - /** @name PalletSudoCall (195) */ + /** @name PalletSudoCall (197) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -3439,7 +3470,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Sudo" | "SudoUncheckedWeight" | "SetKey" | "SudoAs" | "RemoveKey"; } - /** @name CumulusPalletParachainSystemCall (196) */ + /** @name CumulusPalletParachainSystemCall (198) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -3449,56 +3480,43 @@ declare module "@polkadot/types/lookup" { readonly asSudoSendUpwardMessage: { readonly message: Bytes; } & Struct; - readonly isAuthorizeUpgrade: boolean; - readonly asAuthorizeUpgrade: { - readonly codeHash: H256; - readonly checkVersion: bool; - } & Struct; - readonly isEnactAuthorizedUpgrade: boolean; - readonly asEnactAuthorizedUpgrade: { - readonly code: Bytes; - } & Struct; - readonly type: - | "SetValidationData" - | "SudoSendUpwardMessage" - | "AuthorizeUpgrade" - | "EnactAuthorizedUpgrade"; + readonly type: "SetValidationData" | "SudoSendUpwardMessage"; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (197) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (199) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV7PersistedValidationData; + readonly validationData: PolkadotPrimitivesV8PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV7PersistedValidationData (198) */ - interface PolkadotPrimitivesV7PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV8PersistedValidationData (200) */ + interface PolkadotPrimitivesV8PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (200) */ + /** @name SpTrieStorageProof (202) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (203) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (205) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (206) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (208) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletEvmCall (209) */ + /** @name PalletEvmCall (211) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -3543,7 +3561,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Withdraw" | "Call" | "Create" | "Create2"; } - /** @name PalletEthereumCall (215) */ + /** @name PalletEthereumCall (217) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -3552,7 +3570,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Transact"; } - /** @name EthereumTransactionTransactionV2 (216) */ + /** @name EthereumTransactionTransactionV2 (218) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -3563,7 +3581,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumTransactionLegacyTransaction (217) */ + /** @name EthereumTransactionLegacyTransaction (219) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -3574,7 +3592,7 @@ declare module "@polkadot/types/lookup" { readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (218) */ + /** @name EthereumTransactionTransactionAction (220) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -3582,14 +3600,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Call" | "Create"; } - /** @name EthereumTransactionTransactionSignature (219) */ + /** @name EthereumTransactionTransactionSignature (221) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (221) */ + /** @name EthereumTransactionEip2930Transaction (223) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3604,13 +3622,13 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name EthereumTransactionAccessListItem (223) */ + /** @name EthereumTransactionAccessListItem (225) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (224) */ + /** @name EthereumTransactionEip1559Transaction (226) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -3626,7 +3644,7 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name PalletParachainStakingCall (225) */ + /** @name PalletParachainStakingCall (227) */ interface PalletParachainStakingCall extends Enum { readonly isSetStakingExpectations: boolean; readonly asSetStakingExpectations: { @@ -3804,7 +3822,7 @@ declare module "@polkadot/types/lookup" { | "SetInflationDistributionConfig"; } - /** @name PalletSchedulerCall (228) */ + /** @name PalletSchedulerCall (230) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -3878,7 +3896,7 @@ declare module "@polkadot/types/lookup" { | "CancelRetryNamed"; } - /** @name PalletTreasuryCall (230) */ + /** @name PalletTreasuryCall (232) */ interface PalletTreasuryCall extends Enum { readonly isSpendLocal: boolean; readonly asSpendLocal: { @@ -3917,13 +3935,13 @@ declare module "@polkadot/types/lookup" { | "VoidSpend"; } - /** @name PalletAuthorInherentCall (232) */ + /** @name PalletAuthorInherentCall (234) */ interface PalletAuthorInherentCall extends Enum { readonly isKickOffAuthorshipValidation: boolean; readonly type: "KickOffAuthorshipValidation"; } - /** @name PalletAuthorSlotFilterCall (233) */ + /** @name PalletAuthorSlotFilterCall (235) */ interface PalletAuthorSlotFilterCall extends Enum { readonly isSetEligible: boolean; readonly asSetEligible: { @@ -3932,7 +3950,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetEligible"; } - /** @name PalletCrowdloanRewardsCall (234) */ + /** @name PalletCrowdloanRewardsCall (236) */ interface PalletCrowdloanRewardsCall extends Enum { readonly isAssociateNativeIdentity: boolean; readonly asAssociateNativeIdentity: { @@ -3968,7 +3986,7 @@ declare module "@polkadot/types/lookup" { | "InitializeRewardVec"; } - /** @name SpRuntimeMultiSignature (235) */ + /** @name SpRuntimeMultiSignature (237) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: U8aFixed; @@ -3979,7 +3997,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Ed25519" | "Sr25519" | "Ecdsa"; } - /** @name PalletAuthorMappingCall (242) */ + /** @name PalletAuthorMappingCall (244) */ interface PalletAuthorMappingCall extends Enum { readonly isAddAssociation: boolean; readonly asAddAssociation: { @@ -4007,7 +4025,7 @@ declare module "@polkadot/types/lookup" { | "SetKeys"; } - /** @name PalletProxyCall (243) */ + /** @name PalletProxyCall (245) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -4077,14 +4095,14 @@ declare module "@polkadot/types/lookup" { | "ProxyAnnounced"; } - /** @name PalletMaintenanceModeCall (245) */ + /** @name PalletMaintenanceModeCall (247) */ interface PalletMaintenanceModeCall extends Enum { readonly isEnterMaintenanceMode: boolean; readonly isResumeNormalOperation: boolean; readonly type: "EnterMaintenanceMode" | "ResumeNormalOperation"; } - /** @name PalletIdentityCall (246) */ + /** @name PalletIdentityCall (248) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -4206,7 +4224,7 @@ declare module "@polkadot/types/lookup" { | "RemoveDanglingUsername"; } - /** @name PalletIdentityLegacyIdentityInfo (247) */ + /** @name PalletIdentityLegacyIdentityInfo (249) */ interface PalletIdentityLegacyIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -4219,7 +4237,7 @@ declare module "@polkadot/types/lookup" { readonly twitter: Data; } - /** @name PalletIdentityJudgement (283) */ + /** @name PalletIdentityJudgement (285) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -4239,10 +4257,10 @@ declare module "@polkadot/types/lookup" { | "Erroneous"; } - /** @name AccountEthereumSignature (285) */ + /** @name AccountEthereumSignature (287) */ interface AccountEthereumSignature extends U8aFixed {} - /** @name CumulusPalletXcmpQueueCall (286) */ + /** @name CumulusPalletXcmpQueueCall (288) */ interface CumulusPalletXcmpQueueCall extends Enum { readonly isSuspendXcmExecution: boolean; readonly isResumeXcmExecution: boolean; @@ -4266,7 +4284,7 @@ declare module "@polkadot/types/lookup" { | "UpdateResumeThreshold"; } - /** @name PalletXcmCall (287) */ + /** @name PalletXcmCall (289) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -4369,7 +4387,7 @@ declare module "@polkadot/types/lookup" { | "TransferAssetsUsingTypeAndThen"; } - /** @name XcmVersionedXcm (288) */ + /** @name XcmVersionedXcm (290) */ interface XcmVersionedXcm extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Xcm; @@ -4380,10 +4398,10 @@ declare module "@polkadot/types/lookup" { readonly type: "V2" | "V3" | "V4"; } - /** @name XcmV2Xcm (289) */ + /** @name XcmV2Xcm (291) */ interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (291) */ + /** @name XcmV2Instruction (293) */ interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; @@ -4531,7 +4549,7 @@ declare module "@polkadot/types/lookup" { | "UnsubscribeVersion"; } - /** @name XcmV2Response (292) */ + /** @name XcmV2Response (294) */ interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4543,7 +4561,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Null" | "Assets" | "ExecutionResult" | "Version"; } - /** @name XcmV2TraitsError (295) */ + /** @name XcmV2TraitsError (297) */ interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4602,7 +4620,7 @@ declare module "@polkadot/types/lookup" { | "WeightNotComputable"; } - /** @name XcmV2OriginKind (296) */ + /** @name XcmV2OriginKind (298) */ interface XcmV2OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; @@ -4611,7 +4629,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Native" | "SovereignAccount" | "Superuser" | "Xcm"; } - /** @name XcmV2MultiassetMultiAssetFilter (297) */ + /** @name XcmV2MultiassetMultiAssetFilter (299) */ interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV2MultiassetMultiAssets; @@ -4620,7 +4638,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV2MultiassetWildMultiAsset (298) */ + /** @name XcmV2MultiassetWildMultiAsset (300) */ interface XcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4631,14 +4649,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf"; } - /** @name XcmV2MultiassetWildFungibility (299) */ + /** @name XcmV2MultiassetWildFungibility (301) */ interface XcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name XcmV2WeightLimit (300) */ + /** @name XcmV2WeightLimit (302) */ interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -4646,10 +4664,10 @@ declare module "@polkadot/types/lookup" { readonly type: "Unlimited" | "Limited"; } - /** @name XcmV3Xcm (301) */ + /** @name XcmV3Xcm (303) */ interface XcmV3Xcm extends Vec {} - /** @name XcmV3Instruction (303) */ + /** @name XcmV3Instruction (305) */ interface XcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; @@ -4879,7 +4897,7 @@ declare module "@polkadot/types/lookup" { | "UnpaidExecution"; } - /** @name XcmV3Response (304) */ + /** @name XcmV3Response (306) */ interface XcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4901,7 +4919,7 @@ declare module "@polkadot/types/lookup" { | "DispatchResult"; } - /** @name XcmV3PalletInfo (306) */ + /** @name XcmV3PalletInfo (308) */ interface XcmV3PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4911,14 +4929,14 @@ declare module "@polkadot/types/lookup" { readonly patch: Compact; } - /** @name XcmV3QueryResponseInfo (310) */ + /** @name XcmV3QueryResponseInfo (312) */ interface XcmV3QueryResponseInfo extends Struct { readonly destination: StagingXcmV3MultiLocation; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name XcmV3MultiassetMultiAssetFilter (311) */ + /** @name XcmV3MultiassetMultiAssetFilter (313) */ interface XcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV3MultiassetMultiAssets; @@ -4927,7 +4945,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Definite" | "Wild"; } - /** @name XcmV3MultiassetWildMultiAsset (312) */ + /** @name XcmV3MultiassetWildMultiAsset (314) */ interface XcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4946,14 +4964,14 @@ declare module "@polkadot/types/lookup" { readonly type: "All" | "AllOf" | "AllCounted" | "AllOfCounted"; } - /** @name XcmV3MultiassetWildFungibility (313) */ + /** @name XcmV3MultiassetWildFungibility (315) */ interface XcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: "Fungible" | "NonFungible"; } - /** @name StagingXcmExecutorAssetTransferTransferType (325) */ + /** @name StagingXcmExecutorAssetTransferTransferType (327) */ interface StagingXcmExecutorAssetTransferTransferType extends Enum { readonly isTeleport: boolean; readonly isLocalReserve: boolean; @@ -4963,7 +4981,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Teleport" | "LocalReserve" | "DestinationReserve" | "RemoteReserve"; } - /** @name XcmVersionedAssetId (326) */ + /** @name XcmVersionedAssetId (328) */ interface XcmVersionedAssetId extends Enum { readonly isV3: boolean; readonly asV3: XcmV3MultiassetAssetId; @@ -4972,7 +4990,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V3" | "V4"; } - /** @name PalletAssetsCall (327) */ + /** @name PalletAssetsCall (329) */ interface PalletAssetsCall extends Enum { readonly isCreate: boolean; readonly asCreate: { @@ -5151,6 +5169,12 @@ declare module "@polkadot/types/lookup" { readonly id: Compact; readonly who: AccountId20; } & Struct; + readonly isTransferAll: boolean; + readonly asTransferAll: { + readonly id: Compact; + readonly dest: AccountId20; + readonly keepAlive: bool; + } & Struct; readonly type: | "Create" | "ForceCreate" @@ -5183,10 +5207,11 @@ declare module "@polkadot/types/lookup" { | "SetMinBalance" | "TouchOther" | "RefundOther" - | "Block"; + | "Block" + | "TransferAll"; } - /** @name PalletAssetManagerCall (328) */ + /** @name PalletAssetManagerCall (330) */ interface PalletAssetManagerCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { @@ -5218,7 +5243,7 @@ declare module "@polkadot/types/lookup" { | "DestroyForeignAsset"; } - /** @name PalletXcmTransactorCall (329) */ + /** @name PalletXcmTransactorCall (331) */ interface PalletXcmTransactorCall extends Enum { readonly isRegister: boolean; readonly asRegister: { @@ -5295,19 +5320,19 @@ declare module "@polkadot/types/lookup" { | "HrmpManage"; } - /** @name MoonbaseRuntimeXcmConfigTransactors (330) */ + /** @name MoonbaseRuntimeXcmConfigTransactors (332) */ interface MoonbaseRuntimeXcmConfigTransactors extends Enum { readonly isRelay: boolean; readonly type: "Relay"; } - /** @name PalletXcmTransactorCurrencyPayment (331) */ + /** @name PalletXcmTransactorCurrencyPayment (333) */ interface PalletXcmTransactorCurrencyPayment extends Struct { readonly currency: PalletXcmTransactorCurrency; readonly feeAmount: Option; } - /** @name MoonbaseRuntimeXcmConfigCurrencyId (332) */ + /** @name MoonbaseRuntimeXcmConfigCurrencyId (334) */ interface MoonbaseRuntimeXcmConfigCurrencyId extends Enum { readonly isSelfReserve: boolean; readonly isForeignAsset: boolean; @@ -5319,7 +5344,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SelfReserve" | "ForeignAsset" | "Erc20"; } - /** @name PalletXcmTransactorCurrency (333) */ + /** @name PalletXcmTransactorCurrency (335) */ interface PalletXcmTransactorCurrency extends Enum { readonly isAsCurrencyId: boolean; readonly asAsCurrencyId: MoonbaseRuntimeXcmConfigCurrencyId; @@ -5328,13 +5353,13 @@ declare module "@polkadot/types/lookup" { readonly type: "AsCurrencyId" | "AsMultiLocation"; } - /** @name PalletXcmTransactorTransactWeights (335) */ + /** @name PalletXcmTransactorTransactWeights (337) */ interface PalletXcmTransactorTransactWeights extends Struct { readonly transactRequiredWeightAtMost: SpWeightsWeightV2Weight; readonly overallWeight: Option; } - /** @name PalletMoonbeamOrbitersCall (337) */ + /** @name PalletMoonbeamOrbitersCall (339) */ interface PalletMoonbeamOrbitersCall extends Enum { readonly isCollatorAddOrbiter: boolean; readonly asCollatorAddOrbiter: { @@ -5371,7 +5396,7 @@ declare module "@polkadot/types/lookup" { | "RemoveCollator"; } - /** @name PalletEthereumXcmCall (338) */ + /** @name PalletEthereumXcmCall (340) */ interface PalletEthereumXcmCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -5398,7 +5423,7 @@ declare module "@polkadot/types/lookup" { | "ForceTransactAs"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (339) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransaction (341) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransaction extends Enum { readonly isV1: boolean; readonly asV1: XcmPrimitivesEthereumXcmEthereumXcmTransactionV1; @@ -5407,7 +5432,7 @@ declare module "@polkadot/types/lookup" { readonly type: "V1" | "V2"; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (340) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 (342) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV1 extends Struct { readonly gasLimit: U256; readonly feePayment: XcmPrimitivesEthereumXcmEthereumXcmFee; @@ -5417,7 +5442,7 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (341) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmFee (343) */ interface XcmPrimitivesEthereumXcmEthereumXcmFee extends Enum { readonly isManual: boolean; readonly asManual: XcmPrimitivesEthereumXcmManualEthereumXcmFee; @@ -5425,13 +5450,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Manual" | "Auto"; } - /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (342) */ + /** @name XcmPrimitivesEthereumXcmManualEthereumXcmFee (344) */ interface XcmPrimitivesEthereumXcmManualEthereumXcmFee extends Struct { readonly gasPrice: Option; readonly maxFeePerGas: Option; } - /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (345) */ + /** @name XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 (347) */ interface XcmPrimitivesEthereumXcmEthereumXcmTransactionV2 extends Struct { readonly gasLimit: U256; readonly action: EthereumTransactionTransactionAction; @@ -5440,13 +5465,13 @@ declare module "@polkadot/types/lookup" { readonly accessList: Option]>>>; } - /** @name PalletRandomnessCall (347) */ + /** @name PalletRandomnessCall (349) */ interface PalletRandomnessCall extends Enum { readonly isSetBabeRandomnessResults: boolean; readonly type: "SetBabeRandomnessResults"; } - /** @name PalletCollectiveCall (348) */ + /** @name PalletCollectiveCall (350) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -5485,7 +5510,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetMembers" | "Execute" | "Propose" | "Vote" | "DisapproveProposal" | "Close"; } - /** @name PalletConvictionVotingCall (349) */ + /** @name PalletConvictionVotingCall (351) */ interface PalletConvictionVotingCall extends Enum { readonly isVote: boolean; readonly asVote: { @@ -5522,27 +5547,6 @@ declare module "@polkadot/types/lookup" { readonly type: "Vote" | "Delegate" | "Undelegate" | "Unlock" | "RemoveVote" | "RemoveOtherVote"; } - /** @name PalletConvictionVotingVoteAccountVote (350) */ - interface PalletConvictionVotingVoteAccountVote extends Enum { - readonly isStandard: boolean; - readonly asStandard: { - readonly vote: Vote; - readonly balance: u128; - } & Struct; - readonly isSplit: boolean; - readonly asSplit: { - readonly aye: u128; - readonly nay: u128; - } & Struct; - readonly isSplitAbstain: boolean; - readonly asSplitAbstain: { - readonly aye: u128; - readonly nay: u128; - readonly abstain: u128; - } & Struct; - readonly type: "Standard" | "Split" | "SplitAbstain"; - } - /** @name PalletConvictionVotingConviction (352) */ interface PalletConvictionVotingConviction extends Enum { readonly isNone: boolean; @@ -6358,7 +6362,7 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (441) */ @@ -6377,8 +6381,8 @@ declare module "@polkadot/types/lookup" { readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV7UpgradeGoAhead (447) */ - interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV8UpgradeGoAhead (447) */ + interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: "Abort" | "GoAhead"; @@ -6388,11 +6392,11 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV7UpgradeRestriction (450) */ - interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV8UpgradeRestriction (450) */ + interface PolkadotPrimitivesV8UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: "Present"; } @@ -6401,8 +6405,8 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (452) */ @@ -6412,8 +6416,8 @@ declare module "@polkadot/types/lookup" { readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (455) */ - interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV8AbridgedHrmpChannel (455) */ + interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -6422,8 +6426,8 @@ declare module "@polkadot/types/lookup" { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (456) */ - interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV8AbridgedHostConfiguration (456) */ + interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -6433,11 +6437,11 @@ declare module "@polkadot/types/lookup" { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (457) */ - interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV8AsyncBackingAsyncBackingParams (457) */ + interface PolkadotPrimitivesV8AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } @@ -7869,7 +7873,6 @@ declare module "@polkadot/types/lookup" { readonly isNotRequested: boolean; readonly isTooMany: boolean; readonly isTooFew: boolean; - readonly isNoCost: boolean; readonly type: | "TooBig" | "AlreadyNoted" @@ -7878,8 +7881,7 @@ declare module "@polkadot/types/lookup" { | "Requested" | "NotRequested" | "TooMany" - | "TooFew" - | "NoCost"; + | "TooFew"; } /** @name PalletWhitelistError (662) */ @@ -7969,7 +7971,6 @@ declare module "@polkadot/types/lookup" { readonly isLimitCannotBeZero: boolean; readonly isContractMetadataAlreadySet: boolean; readonly isContractNotExist: boolean; - readonly isKeyTooLong: boolean; readonly isSymbolTooLong: boolean; readonly isNameTooLong: boolean; readonly isAssetTypeNotFound: boolean; @@ -7983,7 +7984,6 @@ declare module "@polkadot/types/lookup" { | "LimitCannotBeZero" | "ContractMetadataAlreadySet" | "ContractNotExist" - | "KeyTooLong" | "SymbolTooLong" | "NameTooLong" | "AssetTypeNotFound" diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts index 26967c2553..d9da3610f5 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts @@ -681,10 +681,6 @@ declare module "@polkadot/api-base/types/errors" { * Contract not exist **/ ContractNotExist: AugmentedError; - /** - * The key lengths exceeds the maximum allowed - **/ - KeyTooLong: AugmentedError; /** * The limit cannot be zero **/ @@ -1091,10 +1087,6 @@ declare module "@polkadot/api-base/types/errors" { * Preimage has already been noted on-chain. **/ AlreadyNoted: AugmentedError; - /** - * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. - **/ - NoCost: AugmentedError; /** * The user is not authorized to perform this action. **/ diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts index d905baec3b..5ffaecb1de 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts @@ -37,6 +37,7 @@ import type { MoonbeamRuntimeXcmConfigAssetType, NimbusPrimitivesNimbusCryptoPublic, PalletConvictionVotingTally, + PalletConvictionVotingVoteAccountVote, PalletMultisigTimepoint, PalletParachainStakingDelegationRequestsCancelledScheduledRequest, PalletParachainStakingDelegatorAdded, @@ -581,6 +582,22 @@ declare module "@polkadot/api-base/types/events" { * An \[account\] has cancelled a previous delegation operation. **/ Undelegated: AugmentedEvent; + /** + * An account that has voted + **/ + Voted: AugmentedEvent< + ApiType, + [who: AccountId20, vote: PalletConvictionVotingVoteAccountVote], + { who: AccountId20; vote: PalletConvictionVotingVoteAccountVote } + >; + /** + * A vote that been removed + **/ + VoteRemoved: AugmentedEvent< + ApiType, + [who: AccountId20, vote: PalletConvictionVotingVoteAccountVote], + { who: AccountId20; vote: PalletConvictionVotingVoteAccountVote } + >; /** * Generic event **/ diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts index 23ec786f53..c572d87eaf 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts @@ -110,10 +110,10 @@ import type { PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, - PolkadotPrimitivesV7AbridgedHostConfiguration, - PolkadotPrimitivesV7PersistedValidationData, - PolkadotPrimitivesV7UpgradeGoAhead, - PolkadotPrimitivesV7UpgradeRestriction, + PolkadotPrimitivesV8AbridgedHostConfiguration, + PolkadotPrimitivesV8PersistedValidationData, + PolkadotPrimitivesV8UpgradeGoAhead, + PolkadotPrimitivesV8UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, @@ -1142,6 +1142,19 @@ declare module "@polkadot/api-base/types/storage" { **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Records collators' inactivity. + * Data persists for MaxOfflineRounds + 1 rounds before being pruned. + **/ + wasInactive: AugmentedQuery< + ApiType, + ( + arg1: u32 | AnyNumber | Uint8Array, + arg2: AccountId20 | string | Uint8Array + ) => Observable>, + [u32, AccountId20] + > & + QueryableStorageEntry; /** * Generic query **/ @@ -1187,7 +1200,7 @@ declare module "@polkadot/api-base/types/storage" { **/ hostConfiguration: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1333,7 +1346,7 @@ declare module "@polkadot/api-base/types/storage" { **/ upgradeGoAhead: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1348,7 +1361,7 @@ declare module "@polkadot/api-base/types/storage" { **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1371,7 +1384,7 @@ declare module "@polkadot/api-base/types/storage" { **/ validationData: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts index c9bb67c19b..9edff31688 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts @@ -688,8 +688,6 @@ declare module "@polkadot/api-base/types/submittable" { * * - `id`: The identifier of the asset to be destroyed. This must identify an existing * asset. - * - * The asset class must be frozen before calling `start_destroy`. **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, @@ -791,6 +789,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; + /** + * Transfer the entire transferable balance from the caller asset account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `id`: The identifier of the asset for the account holding a deposit. + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the asset account has, causing the sender asset account to be killed + * (false), or transfer everything except at least the minimum balance, which will + * guarantee to keep the sender asset account alive (true). + **/ + transferAll: AugmentedSubmittable< + ( + id: Compact | AnyNumber | Uint8Array, + dest: AccountId20 | string | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [Compact, AccountId20, bool] + >; /** * Transfer some asset balance from a previously delegated account to some third-party * account. @@ -1855,7 +1879,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: * * ```nocompile - * Self::registrars().get(reg_index).unwrap().fee + * Registrars::::get().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. @@ -2814,38 +2838,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, - * it cannot actually perform the verification. - * - * This call requires Root origin. - **/ - authorizeUpgrade: AugmentedSubmittable< - ( - codeHash: H256 | string | Uint8Array, - checkVersion: bool | boolean | Uint8Array - ) => SubmittableExtrinsic, - [H256, bool] - >; - /** - * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. - * - * If the authorization required a version check, this call will ensure the spec name - * remains unchanged and that the spec version has increased. - * - * Note that this function will not apply the new `code`, but only attempt to schedule the - * upgrade with the Relay Chain. - * - * All origins are allowed. - **/ - enactAuthorizedUpgrade: AugmentedSubmittable< - (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, - [Bytes] - >; /** * Set the current validation data. * diff --git a/typescript-api/src/moonbeam/interfaces/lookup.ts b/typescript-api/src/moonbeam/interfaces/lookup.ts index d6ede93692..b0ca6f0596 100644 --- a/typescript-api/src/moonbeam/interfaces/lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/lookup.ts @@ -1088,11 +1088,39 @@ export default { PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20" + Undelegated: "AccountId20", + Voted: { + who: "AccountId20", + vote: "PalletConvictionVotingVoteAccountVote" + }, + VoteRemoved: { + who: "AccountId20", + vote: "PalletConvictionVotingVoteAccountVote" + } + } + }, + /** + * Lookup94: pallet_conviction_voting::vote::AccountVote + **/ + PalletConvictionVotingVoteAccountVote: { + _enum: { + Standard: { + vote: "Vote", + balance: "u128" + }, + Split: { + aye: "u128", + nay: "u128" + }, + SplitAbstain: { + aye: "u128", + nay: "u128", + abstain: "u128" + } } }, /** - * Lookup94: pallet_referenda::pallet::Event + * Lookup96: pallet_referenda::pallet::Event **/ PalletReferendaEvent: { _enum: { @@ -1172,7 +1200,7 @@ export default { } }, /** - * Lookup95: frame_support::traits::preimages::Bounded + * Lookup97: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -1193,7 +1221,7 @@ export default { } }, /** - * Lookup97: frame_system::pallet::Call + * Lookup99: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -1238,7 +1266,7 @@ export default { } }, /** - * Lookup101: cumulus_pallet_parachain_system::pallet::Call + * Lookup103: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -1247,56 +1275,49 @@ export default { }, sudo_send_upward_message: { message: "Bytes" - }, - authorize_upgrade: { - codeHash: "H256", - checkVersion: "bool" - }, - enact_authorized_upgrade: { - code: "Bytes" } } }, /** - * Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup104: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: "PolkadotPrimitivesV7PersistedValidationData", + validationData: "PolkadotPrimitivesV8PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>" }, /** - * Lookup103: polkadot_primitives::v7::PersistedValidationData + * Lookup105: polkadot_primitives::v8::PersistedValidationData **/ - PolkadotPrimitivesV7PersistedValidationData: { + PolkadotPrimitivesV8PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", maxPovSize: "u32" }, /** - * Lookup105: sp_trie::storage_proof::StorageProof + * Lookup107: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: "BTreeSet" }, /** - * Lookup108: polkadot_core_primitives::InboundDownwardMessage + * Lookup110: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes" }, /** - * Lookup112: polkadot_core_primitives::InboundHrmpMessage + * Lookup114: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes" }, /** - * Lookup115: pallet_timestamp::pallet::Call + * Lookup117: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -1306,7 +1327,7 @@ export default { } }, /** - * Lookup116: pallet_root_testing::pallet::Call + * Lookup118: pallet_root_testing::pallet::Call **/ PalletRootTestingCall: { _enum: { @@ -1317,7 +1338,7 @@ export default { } }, /** - * Lookup117: pallet_balances::pallet::Call + * Lookup119: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -1362,13 +1383,13 @@ export default { } }, /** - * Lookup120: pallet_balances::types::AdjustmentDirection + * Lookup122: pallet_balances::types::AdjustmentDirection **/ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"] }, /** - * Lookup121: pallet_parachain_staking::pallet::Call + * Lookup123: pallet_parachain_staking::pallet::Call **/ PalletParachainStakingCall: { _enum: { @@ -1506,13 +1527,13 @@ export default { } }, /** - * Lookup124: pallet_author_inherent::pallet::Call + * Lookup126: pallet_author_inherent::pallet::Call **/ PalletAuthorInherentCall: { _enum: ["kick_off_authorship_validation"] }, /** - * Lookup125: pallet_author_slot_filter::pallet::Call + * Lookup127: pallet_author_slot_filter::pallet::Call **/ PalletAuthorSlotFilterCall: { _enum: { @@ -1525,7 +1546,7 @@ export default { } }, /** - * Lookup126: pallet_author_mapping::pallet::Call + * Lookup128: pallet_author_mapping::pallet::Call **/ PalletAuthorMappingCall: { _enum: { @@ -1549,7 +1570,7 @@ export default { } }, /** - * Lookup127: pallet_moonbeam_orbiters::pallet::Call + * Lookup129: pallet_moonbeam_orbiters::pallet::Call **/ PalletMoonbeamOrbitersCall: { _enum: { @@ -1575,7 +1596,7 @@ export default { } }, /** - * Lookup128: pallet_utility::pallet::Call + * Lookup130: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -1603,7 +1624,7 @@ export default { } }, /** - * Lookup130: moonbeam_runtime::OriginCaller + * Lookup132: moonbeam_runtime::OriginCaller **/ MoonbeamRuntimeOriginCaller: { _enum: { @@ -1720,7 +1741,7 @@ export default { } }, /** - * Lookup131: frame_support::dispatch::RawOrigin + * Lookup133: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -1730,7 +1751,7 @@ export default { } }, /** - * Lookup132: pallet_ethereum::RawOrigin + * Lookup134: pallet_ethereum::RawOrigin **/ PalletEthereumRawOrigin: { _enum: { @@ -1738,7 +1759,7 @@ export default { } }, /** - * Lookup133: moonbeam_runtime::governance::origins::custom_origins::Origin + * Lookup135: moonbeam_runtime::governance::origins::custom_origins::Origin **/ MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ @@ -1750,7 +1771,7 @@ export default { ] }, /** - * Lookup134: pallet_collective::RawOrigin + * Lookup136: pallet_collective::RawOrigin **/ PalletCollectiveRawOrigin: { _enum: { @@ -1760,7 +1781,7 @@ export default { } }, /** - * Lookup136: cumulus_pallet_xcm::pallet::Origin + * Lookup138: cumulus_pallet_xcm::pallet::Origin **/ CumulusPalletXcmOrigin: { _enum: { @@ -1769,7 +1790,7 @@ export default { } }, /** - * Lookup137: pallet_xcm::pallet::Origin + * Lookup139: pallet_xcm::pallet::Origin **/ PalletXcmOrigin: { _enum: { @@ -1778,30 +1799,30 @@ export default { } }, /** - * Lookup138: staging_xcm::v4::location::Location + * Lookup140: staging_xcm::v4::location::Location **/ StagingXcmV4Location: { parents: "u8", interior: "StagingXcmV4Junctions" }, /** - * Lookup139: staging_xcm::v4::junctions::Junctions + * Lookup141: staging_xcm::v4::junctions::Junctions **/ StagingXcmV4Junctions: { _enum: { Here: "Null", - X1: "[Lookup141;1]", - X2: "[Lookup141;2]", - X3: "[Lookup141;3]", - X4: "[Lookup141;4]", - X5: "[Lookup141;5]", - X6: "[Lookup141;6]", - X7: "[Lookup141;7]", - X8: "[Lookup141;8]" + X1: "[Lookup143;1]", + X2: "[Lookup143;2]", + X3: "[Lookup143;3]", + X4: "[Lookup143;4]", + X5: "[Lookup143;5]", + X6: "[Lookup143;6]", + X7: "[Lookup143;7]", + X8: "[Lookup143;8]" } }, /** - * Lookup141: staging_xcm::v4::junction::Junction + * Lookup143: staging_xcm::v4::junction::Junction **/ StagingXcmV4Junction: { _enum: { @@ -1833,7 +1854,7 @@ export default { } }, /** - * Lookup144: staging_xcm::v4::junction::NetworkId + * Lookup146: staging_xcm::v4::junction::NetworkId **/ StagingXcmV4JunctionNetworkId: { _enum: { @@ -1856,7 +1877,7 @@ export default { } }, /** - * Lookup145: xcm::v3::junction::BodyId + * Lookup147: xcm::v3::junction::BodyId **/ XcmV3JunctionBodyId: { _enum: { @@ -1873,7 +1894,7 @@ export default { } }, /** - * Lookup146: xcm::v3::junction::BodyPart + * Lookup148: xcm::v3::junction::BodyPart **/ XcmV3JunctionBodyPart: { _enum: { @@ -1896,7 +1917,7 @@ export default { } }, /** - * Lookup154: pallet_ethereum_xcm::RawOrigin + * Lookup156: pallet_ethereum_xcm::RawOrigin **/ PalletEthereumXcmRawOrigin: { _enum: { @@ -1904,11 +1925,11 @@ export default { } }, /** - * Lookup155: sp_core::Void + * Lookup157: sp_core::Void **/ SpCoreVoid: "Null", /** - * Lookup156: pallet_proxy::pallet::Call + * Lookup158: pallet_proxy::pallet::Call **/ PalletProxyCall: { _enum: { @@ -1961,13 +1982,13 @@ export default { } }, /** - * Lookup158: pallet_maintenance_mode::pallet::Call + * Lookup160: pallet_maintenance_mode::pallet::Call **/ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, /** - * Lookup159: pallet_identity::pallet::Call + * Lookup161: pallet_identity::pallet::Call **/ PalletIdentityCall: { _enum: { @@ -2052,7 +2073,7 @@ export default { } }, /** - * Lookup160: pallet_identity::legacy::IdentityInfo + * Lookup162: pallet_identity::legacy::IdentityInfo **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", @@ -2066,7 +2087,7 @@ export default { twitter: "Data" }, /** - * Lookup198: pallet_identity::types::Judgement + * Lookup200: pallet_identity::types::Judgement **/ PalletIdentityJudgement: { _enum: { @@ -2080,11 +2101,11 @@ export default { } }, /** - * Lookup200: account::EthereumSignature + * Lookup202: account::EthereumSignature **/ AccountEthereumSignature: "[u8;65]", /** - * Lookup202: pallet_multisig::pallet::Call + * Lookup204: pallet_multisig::pallet::Call **/ PalletMultisigCall: { _enum: { @@ -2115,7 +2136,7 @@ export default { } }, /** - * Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call + * Lookup206: pallet_moonbeam_lazy_migrations::pallet::Call **/ PalletMoonbeamLazyMigrationsCall: { _enum: { @@ -2140,7 +2161,7 @@ export default { } }, /** - * Lookup207: pallet_parameters::pallet::Call + * Lookup209: pallet_parameters::pallet::Call **/ PalletParametersCall: { _enum: { @@ -2150,7 +2171,7 @@ export default { } }, /** - * Lookup208: moonbeam_runtime::runtime_params::RuntimeParameters + * Lookup210: moonbeam_runtime::runtime_params::RuntimeParameters **/ MoonbeamRuntimeRuntimeParamsRuntimeParameters: { _enum: { @@ -2159,7 +2180,7 @@ export default { } }, /** - * Lookup209: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::Parameters + * Lookup211: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::Parameters **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { @@ -2168,7 +2189,7 @@ export default { } }, /** - * Lookup211: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + * Lookup213: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { @@ -2176,7 +2197,7 @@ export default { } }, /** - * Lookup213: pallet_evm::pallet::Call + * Lookup215: pallet_evm::pallet::Call **/ PalletEvmCall: { _enum: { @@ -2219,7 +2240,7 @@ export default { } }, /** - * Lookup219: pallet_ethereum::pallet::Call + * Lookup221: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -2229,7 +2250,7 @@ export default { } }, /** - * Lookup220: ethereum::transaction::TransactionV2 + * Lookup222: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -2239,7 +2260,7 @@ export default { } }, /** - * Lookup221: ethereum::transaction::LegacyTransaction + * Lookup223: ethereum::transaction::LegacyTransaction **/ EthereumTransactionLegacyTransaction: { nonce: "U256", @@ -2251,7 +2272,7 @@ export default { signature: "EthereumTransactionTransactionSignature" }, /** - * Lookup222: ethereum::transaction::TransactionAction + * Lookup224: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -2260,7 +2281,7 @@ export default { } }, /** - * Lookup223: ethereum::transaction::TransactionSignature + * Lookup225: ethereum::transaction::TransactionSignature **/ EthereumTransactionTransactionSignature: { v: "u64", @@ -2268,7 +2289,7 @@ export default { s: "H256" }, /** - * Lookup225: ethereum::transaction::EIP2930Transaction + * Lookup227: ethereum::transaction::EIP2930Transaction **/ EthereumTransactionEip2930Transaction: { chainId: "u64", @@ -2284,14 +2305,14 @@ export default { s: "H256" }, /** - * Lookup227: ethereum::transaction::AccessListItem + * Lookup229: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: "H160", storageKeys: "Vec" }, /** - * Lookup228: ethereum::transaction::EIP1559Transaction + * Lookup230: ethereum::transaction::EIP1559Transaction **/ EthereumTransactionEip1559Transaction: { chainId: "u64", @@ -2308,7 +2329,7 @@ export default { s: "H256" }, /** - * Lookup229: pallet_scheduler::pallet::Call + * Lookup231: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -2364,7 +2385,7 @@ export default { } }, /** - * Lookup231: pallet_preimage::pallet::Call + * Lookup233: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -2395,7 +2416,7 @@ export default { } }, /** - * Lookup232: pallet_conviction_voting::pallet::Call + * Lookup234: pallet_conviction_voting::pallet::Call **/ PalletConvictionVotingCall: { _enum: { @@ -2427,26 +2448,6 @@ export default { } } }, - /** - * Lookup233: pallet_conviction_voting::vote::AccountVote - **/ - PalletConvictionVotingVoteAccountVote: { - _enum: { - Standard: { - vote: "Vote", - balance: "u128" - }, - Split: { - aye: "u128", - nay: "u128" - }, - SplitAbstain: { - aye: "u128", - nay: "u128", - abstain: "u128" - } - } - }, /** * Lookup235: pallet_conviction_voting::conviction::Conviction **/ @@ -3900,6 +3901,11 @@ export default { block: { id: "Compact", who: "AccountId20" + }, + transfer_all: { + id: "Compact", + dest: "AccountId20", + keepAlive: "bool" } } }, @@ -5015,7 +5021,7 @@ export default { CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option" + consumedGoAheadSignal: "Option" }, /** * Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth @@ -5033,9 +5039,9 @@ export default { totalBytes: "u32" }, /** - * Lookup426: polkadot_primitives::v7::UpgradeGoAhead + * Lookup426: polkadot_primitives::v8::UpgradeGoAhead **/ - PolkadotPrimitivesV7UpgradeGoAhead: { + PolkadotPrimitivesV8UpgradeGoAhead: { _enum: ["Abort", "GoAhead"] }, /** @@ -5044,12 +5050,12 @@ export default { CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option" + consumedGoAheadSignal: "Option" }, /** - * Lookup429: polkadot_primitives::v7::UpgradeRestriction + * Lookup429: polkadot_primitives::v8::UpgradeRestriction **/ - PolkadotPrimitivesV7UpgradeRestriction: { + PolkadotPrimitivesV8UpgradeRestriction: { _enum: ["Present"] }, /** @@ -5059,8 +5065,8 @@ export default { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", - ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" + ingressChannels: "Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>" }, /** * Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity @@ -5070,9 +5076,9 @@ export default { remainingSize: "u32" }, /** - * Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel + * Lookup434: polkadot_primitives::v8::AbridgedHrmpChannel **/ - PolkadotPrimitivesV7AbridgedHrmpChannel: { + PolkadotPrimitivesV8AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", @@ -5081,9 +5087,9 @@ export default { mqcHead: "Option" }, /** - * Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration + * Lookup435: polkadot_primitives::v8::AbridgedHostConfiguration **/ - PolkadotPrimitivesV7AbridgedHostConfiguration: { + PolkadotPrimitivesV8AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", maxUpwardQueueCount: "u32", @@ -5093,12 +5099,12 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" + asyncBackingParams: "PolkadotPrimitivesV8AsyncBackingAsyncBackingParams" }, /** - * Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams + * Lookup436: polkadot_primitives::v8::async_backing::AsyncBackingParams **/ - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32" }, @@ -5697,7 +5703,6 @@ export default { "LimitCannotBeZero", "ContractMetadataAlreadySet", "ContractNotExist", - "KeyTooLong", "SymbolTooLong", "NameTooLong", "AssetTypeNotFound", @@ -5887,8 +5892,7 @@ export default { "Requested", "NotRequested", "TooMany", - "TooFew", - "NoCost" + "TooFew" ] }, /** diff --git a/typescript-api/src/moonbeam/interfaces/registry.ts b/typescript-api/src/moonbeam/interfaces/registry.ts index 4b6b841562..a43c0413df 100644 --- a/typescript-api/src/moonbeam/interfaces/registry.ts +++ b/typescript-api/src/moonbeam/interfaces/registry.ts @@ -306,12 +306,12 @@ import type { PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, - PolkadotPrimitivesV7AbridgedHostConfiguration, - PolkadotPrimitivesV7AbridgedHrmpChannel, - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, - PolkadotPrimitivesV7PersistedValidationData, - PolkadotPrimitivesV7UpgradeGoAhead, - PolkadotPrimitivesV7UpgradeRestriction, + PolkadotPrimitivesV8AbridgedHostConfiguration, + PolkadotPrimitivesV8AbridgedHrmpChannel, + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, + PolkadotPrimitivesV8PersistedValidationData, + PolkadotPrimitivesV8UpgradeGoAhead, + PolkadotPrimitivesV8UpgradeRestriction, SessionKeysPrimitivesVrfVrfCryptoPublic, SpArithmeticArithmeticError, SpCoreVoid, @@ -705,12 +705,12 @@ declare module "@polkadot/types/types/registry" { PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; PolkadotParachainPrimitivesPrimitivesHrmpChannelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId; - PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; - PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; - PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; - PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; - PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; + PolkadotPrimitivesV8AbridgedHostConfiguration: PolkadotPrimitivesV8AbridgedHostConfiguration; + PolkadotPrimitivesV8AbridgedHrmpChannel: PolkadotPrimitivesV8AbridgedHrmpChannel; + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV8PersistedValidationData: PolkadotPrimitivesV8PersistedValidationData; + PolkadotPrimitivesV8UpgradeGoAhead: PolkadotPrimitivesV8UpgradeGoAhead; + PolkadotPrimitivesV8UpgradeRestriction: PolkadotPrimitivesV8UpgradeRestriction; SessionKeysPrimitivesVrfVrfCryptoPublic: SessionKeysPrimitivesVrfVrfCryptoPublic; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpCoreVoid: SpCoreVoid; diff --git a/typescript-api/src/moonbeam/interfaces/types-lookup.ts b/typescript-api/src/moonbeam/interfaces/types-lookup.ts index ebd0d54229..a01e05d1e6 100644 --- a/typescript-api/src/moonbeam/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/types-lookup.ts @@ -1339,10 +1339,41 @@ declare module "@polkadot/types/lookup" { readonly asDelegated: ITuple<[AccountId20, AccountId20]>; readonly isUndelegated: boolean; readonly asUndelegated: AccountId20; - readonly type: "Delegated" | "Undelegated"; + readonly isVoted: boolean; + readonly asVoted: { + readonly who: AccountId20; + readonly vote: PalletConvictionVotingVoteAccountVote; + } & Struct; + readonly isVoteRemoved: boolean; + readonly asVoteRemoved: { + readonly who: AccountId20; + readonly vote: PalletConvictionVotingVoteAccountVote; + } & Struct; + readonly type: "Delegated" | "Undelegated" | "Voted" | "VoteRemoved"; + } + + /** @name PalletConvictionVotingVoteAccountVote (94) */ + interface PalletConvictionVotingVoteAccountVote extends Enum { + readonly isStandard: boolean; + readonly asStandard: { + readonly vote: Vote; + readonly balance: u128; + } & Struct; + readonly isSplit: boolean; + readonly asSplit: { + readonly aye: u128; + readonly nay: u128; + } & Struct; + readonly isSplitAbstain: boolean; + readonly asSplitAbstain: { + readonly aye: u128; + readonly nay: u128; + readonly abstain: u128; + } & Struct; + readonly type: "Standard" | "Split" | "SplitAbstain"; } - /** @name PalletReferendaEvent (94) */ + /** @name PalletReferendaEvent (96) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -1446,7 +1477,7 @@ declare module "@polkadot/types/lookup" { | "MetadataCleared"; } - /** @name FrameSupportPreimagesBounded (95) */ + /** @name FrameSupportPreimagesBounded (97) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -1462,7 +1493,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Inline" | "Lookup"; } - /** @name FrameSystemCall (97) */ + /** @name FrameSystemCall (99) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -1523,7 +1554,7 @@ declare module "@polkadot/types/lookup" { | "ApplyAuthorizedUpgrade"; } - /** @name CumulusPalletParachainSystemCall (101) */ + /** @name CumulusPalletParachainSystemCall (103) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -1533,56 +1564,43 @@ declare module "@polkadot/types/lookup" { readonly asSudoSendUpwardMessage: { readonly message: Bytes; } & Struct; - readonly isAuthorizeUpgrade: boolean; - readonly asAuthorizeUpgrade: { - readonly codeHash: H256; - readonly checkVersion: bool; - } & Struct; - readonly isEnactAuthorizedUpgrade: boolean; - readonly asEnactAuthorizedUpgrade: { - readonly code: Bytes; - } & Struct; - readonly type: - | "SetValidationData" - | "SudoSendUpwardMessage" - | "AuthorizeUpgrade" - | "EnactAuthorizedUpgrade"; + readonly type: "SetValidationData" | "SudoSendUpwardMessage"; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (102) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (104) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV7PersistedValidationData; + readonly validationData: PolkadotPrimitivesV8PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV7PersistedValidationData (103) */ - interface PolkadotPrimitivesV7PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV8PersistedValidationData (105) */ + interface PolkadotPrimitivesV8PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (105) */ + /** @name SpTrieStorageProof (107) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (108) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (110) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (112) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (114) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletTimestampCall (115) */ + /** @name PalletTimestampCall (117) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1591,7 +1609,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Set"; } - /** @name PalletRootTestingCall (116) */ + /** @name PalletRootTestingCall (118) */ interface PalletRootTestingCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -1601,7 +1619,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FillBlock" | "TriggerDefensive"; } - /** @name PalletBalancesCall (117) */ + /** @name PalletBalancesCall (119) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -1660,14 +1678,14 @@ declare module "@polkadot/types/lookup" { | "Burn"; } - /** @name PalletBalancesAdjustmentDirection (120) */ + /** @name PalletBalancesAdjustmentDirection (122) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: "Increase" | "Decrease"; } - /** @name PalletParachainStakingCall (121) */ + /** @name PalletParachainStakingCall (123) */ interface PalletParachainStakingCall extends Enum { readonly isSetStakingExpectations: boolean; readonly asSetStakingExpectations: { @@ -1845,13 +1863,13 @@ declare module "@polkadot/types/lookup" { | "SetInflationDistributionConfig"; } - /** @name PalletAuthorInherentCall (124) */ + /** @name PalletAuthorInherentCall (126) */ interface PalletAuthorInherentCall extends Enum { readonly isKickOffAuthorshipValidation: boolean; readonly type: "KickOffAuthorshipValidation"; } - /** @name PalletAuthorSlotFilterCall (125) */ + /** @name PalletAuthorSlotFilterCall (127) */ interface PalletAuthorSlotFilterCall extends Enum { readonly isSetEligible: boolean; readonly asSetEligible: { @@ -1860,7 +1878,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetEligible"; } - /** @name PalletAuthorMappingCall (126) */ + /** @name PalletAuthorMappingCall (128) */ interface PalletAuthorMappingCall extends Enum { readonly isAddAssociation: boolean; readonly asAddAssociation: { @@ -1888,7 +1906,7 @@ declare module "@polkadot/types/lookup" { | "SetKeys"; } - /** @name PalletMoonbeamOrbitersCall (127) */ + /** @name PalletMoonbeamOrbitersCall (129) */ interface PalletMoonbeamOrbitersCall extends Enum { readonly isCollatorAddOrbiter: boolean; readonly asCollatorAddOrbiter: { @@ -1925,7 +1943,7 @@ declare module "@polkadot/types/lookup" { | "RemoveCollator"; } - /** @name PalletUtilityCall (128) */ + /** @name PalletUtilityCall (130) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -1963,7 +1981,7 @@ declare module "@polkadot/types/lookup" { | "WithWeight"; } - /** @name MoonbeamRuntimeOriginCaller (130) */ + /** @name MoonbeamRuntimeOriginCaller (132) */ interface MoonbeamRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -1994,7 +2012,7 @@ declare module "@polkadot/types/lookup" { | "EthereumXcm"; } - /** @name FrameSupportDispatchRawOrigin (131) */ + /** @name FrameSupportDispatchRawOrigin (133) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -2003,14 +2021,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Root" | "Signed" | "None"; } - /** @name PalletEthereumRawOrigin (132) */ + /** @name PalletEthereumRawOrigin (134) */ interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: "EthereumTransaction"; } - /** @name MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin (133) */ + /** @name MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin (135) */ interface MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin extends Enum { readonly isWhitelistedCaller: boolean; readonly isGeneralAdmin: boolean; @@ -2025,7 +2043,7 @@ declare module "@polkadot/types/lookup" { | "FastGeneralAdmin"; } - /** @name PalletCollectiveRawOrigin (134) */ + /** @name PalletCollectiveRawOrigin (136) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -2035,7 +2053,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Members" | "Member" | "Phantom"; } - /** @name CumulusPalletXcmOrigin (136) */ + /** @name CumulusPalletXcmOrigin (138) */ interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; @@ -2043,7 +2061,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Relay" | "SiblingParachain"; } - /** @name PalletXcmOrigin (137) */ + /** @name PalletXcmOrigin (139) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV4Location; @@ -2052,13 +2070,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Xcm" | "Response"; } - /** @name StagingXcmV4Location (138) */ + /** @name StagingXcmV4Location (140) */ interface StagingXcmV4Location extends Struct { readonly parents: u8; readonly interior: StagingXcmV4Junctions; } - /** @name StagingXcmV4Junctions (139) */ + /** @name StagingXcmV4Junctions (141) */ interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -2080,7 +2098,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name StagingXcmV4Junction (141) */ + /** @name StagingXcmV4Junction (143) */ interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -2129,7 +2147,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name StagingXcmV4JunctionNetworkId (144) */ + /** @name StagingXcmV4JunctionNetworkId (146) */ interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -2164,7 +2182,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmV3JunctionBodyId (145) */ + /** @name XcmV3JunctionBodyId (147) */ interface XcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; @@ -2191,7 +2209,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV3JunctionBodyPart (146) */ + /** @name XcmV3JunctionBodyPart (148) */ interface XcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -2216,17 +2234,17 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name PalletEthereumXcmRawOrigin (154) */ + /** @name PalletEthereumXcmRawOrigin (156) */ interface PalletEthereumXcmRawOrigin extends Enum { readonly isXcmEthereumTransaction: boolean; readonly asXcmEthereumTransaction: H160; readonly type: "XcmEthereumTransaction"; } - /** @name SpCoreVoid (155) */ + /** @name SpCoreVoid (157) */ type SpCoreVoid = Null; - /** @name PalletProxyCall (156) */ + /** @name PalletProxyCall (158) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -2296,14 +2314,14 @@ declare module "@polkadot/types/lookup" { | "ProxyAnnounced"; } - /** @name PalletMaintenanceModeCall (158) */ + /** @name PalletMaintenanceModeCall (160) */ interface PalletMaintenanceModeCall extends Enum { readonly isEnterMaintenanceMode: boolean; readonly isResumeNormalOperation: boolean; readonly type: "EnterMaintenanceMode" | "ResumeNormalOperation"; } - /** @name PalletIdentityCall (159) */ + /** @name PalletIdentityCall (161) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -2425,7 +2443,7 @@ declare module "@polkadot/types/lookup" { | "RemoveDanglingUsername"; } - /** @name PalletIdentityLegacyIdentityInfo (160) */ + /** @name PalletIdentityLegacyIdentityInfo (162) */ interface PalletIdentityLegacyIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -2438,7 +2456,7 @@ declare module "@polkadot/types/lookup" { readonly twitter: Data; } - /** @name PalletIdentityJudgement (198) */ + /** @name PalletIdentityJudgement (200) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -2458,10 +2476,10 @@ declare module "@polkadot/types/lookup" { | "Erroneous"; } - /** @name AccountEthereumSignature (200) */ + /** @name AccountEthereumSignature (202) */ interface AccountEthereumSignature extends U8aFixed {} - /** @name PalletMultisigCall (202) */ + /** @name PalletMultisigCall (204) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -2494,7 +2512,7 @@ declare module "@polkadot/types/lookup" { readonly type: "AsMultiThreshold1" | "AsMulti" | "ApproveAsMulti" | "CancelAsMulti"; } - /** @name PalletMoonbeamLazyMigrationsCall (204) */ + /** @name PalletMoonbeamLazyMigrationsCall (206) */ interface PalletMoonbeamLazyMigrationsCall extends Enum { readonly isCreateContractMetadata: boolean; readonly asCreateContractMetadata: { @@ -2526,7 +2544,7 @@ declare module "@polkadot/types/lookup" { | "FinishForeignAssetsMigration"; } - /** @name PalletParametersCall (207) */ + /** @name PalletParametersCall (209) */ interface PalletParametersCall extends Enum { readonly isSetParameter: boolean; readonly asSetParameter: { @@ -2535,7 +2553,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetParameter"; } - /** @name MoonbeamRuntimeRuntimeParamsRuntimeParameters (208) */ + /** @name MoonbeamRuntimeRuntimeParamsRuntimeParameters (210) */ interface MoonbeamRuntimeRuntimeParamsRuntimeParameters extends Enum { readonly isRuntimeConfig: boolean; readonly asRuntimeConfig: MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters; @@ -2544,7 +2562,7 @@ declare module "@polkadot/types/lookup" { readonly type: "RuntimeConfig" | "PalletRandomness"; } - /** @name MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters (209) */ + /** @name MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters (211) */ interface MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters extends Enum { readonly isFeesTreasuryProportion: boolean; readonly asFeesTreasuryProportion: ITuple< @@ -2556,7 +2574,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FeesTreasuryProportion"; } - /** @name MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters (211) */ + /** @name MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters (213) */ interface MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters extends Enum { readonly isDeposit: boolean; readonly asDeposit: ITuple< @@ -2565,7 +2583,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Deposit"; } - /** @name PalletEvmCall (213) */ + /** @name PalletEvmCall (215) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -2610,7 +2628,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Withdraw" | "Call" | "Create" | "Create2"; } - /** @name PalletEthereumCall (219) */ + /** @name PalletEthereumCall (221) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -2619,7 +2637,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Transact"; } - /** @name EthereumTransactionTransactionV2 (220) */ + /** @name EthereumTransactionTransactionV2 (222) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -2630,7 +2648,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumTransactionLegacyTransaction (221) */ + /** @name EthereumTransactionLegacyTransaction (223) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -2641,7 +2659,7 @@ declare module "@polkadot/types/lookup" { readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (222) */ + /** @name EthereumTransactionTransactionAction (224) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -2649,14 +2667,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Call" | "Create"; } - /** @name EthereumTransactionTransactionSignature (223) */ + /** @name EthereumTransactionTransactionSignature (225) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (225) */ + /** @name EthereumTransactionEip2930Transaction (227) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2671,13 +2689,13 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name EthereumTransactionAccessListItem (227) */ + /** @name EthereumTransactionAccessListItem (229) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (228) */ + /** @name EthereumTransactionEip1559Transaction (230) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2693,7 +2711,7 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name PalletSchedulerCall (229) */ + /** @name PalletSchedulerCall (231) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -2767,7 +2785,7 @@ declare module "@polkadot/types/lookup" { | "CancelRetryNamed"; } - /** @name PalletPreimageCall (231) */ + /** @name PalletPreimageCall (233) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -2797,7 +2815,7 @@ declare module "@polkadot/types/lookup" { | "EnsureUpdated"; } - /** @name PalletConvictionVotingCall (232) */ + /** @name PalletConvictionVotingCall (234) */ interface PalletConvictionVotingCall extends Enum { readonly isVote: boolean; readonly asVote: { @@ -2834,27 +2852,6 @@ declare module "@polkadot/types/lookup" { readonly type: "Vote" | "Delegate" | "Undelegate" | "Unlock" | "RemoveVote" | "RemoveOtherVote"; } - /** @name PalletConvictionVotingVoteAccountVote (233) */ - interface PalletConvictionVotingVoteAccountVote extends Enum { - readonly isStandard: boolean; - readonly asStandard: { - readonly vote: Vote; - readonly balance: u128; - } & Struct; - readonly isSplit: boolean; - readonly asSplit: { - readonly aye: u128; - readonly nay: u128; - } & Struct; - readonly isSplitAbstain: boolean; - readonly asSplitAbstain: { - readonly aye: u128; - readonly nay: u128; - readonly abstain: u128; - } & Struct; - readonly type: "Standard" | "Split" | "SplitAbstain"; - } - /** @name PalletConvictionVotingConviction (235) */ interface PalletConvictionVotingConviction extends Enum { readonly isNone: boolean; @@ -4841,6 +4838,12 @@ declare module "@polkadot/types/lookup" { readonly id: Compact; readonly who: AccountId20; } & Struct; + readonly isTransferAll: boolean; + readonly asTransferAll: { + readonly id: Compact; + readonly dest: AccountId20; + readonly keepAlive: bool; + } & Struct; readonly type: | "Create" | "ForceCreate" @@ -4873,7 +4876,8 @@ declare module "@polkadot/types/lookup" { | "SetMinBalance" | "TouchOther" | "RefundOther" - | "Block"; + | "Block" + | "TransferAll"; } /** @name PalletAssetManagerCall (346) */ @@ -6210,7 +6214,7 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (420) */ @@ -6229,8 +6233,8 @@ declare module "@polkadot/types/lookup" { readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV7UpgradeGoAhead (426) */ - interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV8UpgradeGoAhead (426) */ + interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: "Abort" | "GoAhead"; @@ -6240,11 +6244,11 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV7UpgradeRestriction (429) */ - interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV8UpgradeRestriction (429) */ + interface PolkadotPrimitivesV8UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: "Present"; } @@ -6253,8 +6257,8 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (431) */ @@ -6264,8 +6268,8 @@ declare module "@polkadot/types/lookup" { readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (434) */ - interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV8AbridgedHrmpChannel (434) */ + interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -6274,8 +6278,8 @@ declare module "@polkadot/types/lookup" { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (435) */ - interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV8AbridgedHostConfiguration (435) */ + interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -6285,11 +6289,11 @@ declare module "@polkadot/types/lookup" { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (436) */ - interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV8AsyncBackingAsyncBackingParams (436) */ + interface PolkadotPrimitivesV8AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } @@ -6929,7 +6933,6 @@ declare module "@polkadot/types/lookup" { readonly isLimitCannotBeZero: boolean; readonly isContractMetadataAlreadySet: boolean; readonly isContractNotExist: boolean; - readonly isKeyTooLong: boolean; readonly isSymbolTooLong: boolean; readonly isNameTooLong: boolean; readonly isAssetTypeNotFound: boolean; @@ -6943,7 +6946,6 @@ declare module "@polkadot/types/lookup" { | "LimitCannotBeZero" | "ContractMetadataAlreadySet" | "ContractNotExist" - | "KeyTooLong" | "SymbolTooLong" | "NameTooLong" | "AssetTypeNotFound" @@ -7134,7 +7136,6 @@ declare module "@polkadot/types/lookup" { readonly isNotRequested: boolean; readonly isTooMany: boolean; readonly isTooFew: boolean; - readonly isNoCost: boolean; readonly type: | "TooBig" | "AlreadyNoted" @@ -7143,8 +7144,7 @@ declare module "@polkadot/types/lookup" { | "Requested" | "NotRequested" | "TooMany" - | "TooFew" - | "NoCost"; + | "TooFew"; } /** @name PalletConvictionVotingVoteVoting (573) */ diff --git a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts index 26967c2553..d9da3610f5 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts @@ -681,10 +681,6 @@ declare module "@polkadot/api-base/types/errors" { * Contract not exist **/ ContractNotExist: AugmentedError; - /** - * The key lengths exceeds the maximum allowed - **/ - KeyTooLong: AugmentedError; /** * The limit cannot be zero **/ @@ -1091,10 +1087,6 @@ declare module "@polkadot/api-base/types/errors" { * Preimage has already been noted on-chain. **/ AlreadyNoted: AugmentedError; - /** - * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. - **/ - NoCost: AugmentedError; /** * The user is not authorized to perform this action. **/ diff --git a/typescript-api/src/moonriver/interfaces/augment-api-events.ts b/typescript-api/src/moonriver/interfaces/augment-api-events.ts index 886883fc35..26f8f85cc1 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-events.ts @@ -37,6 +37,7 @@ import type { MoonriverRuntimeXcmConfigAssetType, NimbusPrimitivesNimbusCryptoPublic, PalletConvictionVotingTally, + PalletConvictionVotingVoteAccountVote, PalletMultisigTimepoint, PalletParachainStakingDelegationRequestsCancelledScheduledRequest, PalletParachainStakingDelegatorAdded, @@ -581,6 +582,22 @@ declare module "@polkadot/api-base/types/events" { * An \[account\] has cancelled a previous delegation operation. **/ Undelegated: AugmentedEvent; + /** + * An account that has voted + **/ + Voted: AugmentedEvent< + ApiType, + [who: AccountId20, vote: PalletConvictionVotingVoteAccountVote], + { who: AccountId20; vote: PalletConvictionVotingVoteAccountVote } + >; + /** + * A vote that been removed + **/ + VoteRemoved: AugmentedEvent< + ApiType, + [who: AccountId20, vote: PalletConvictionVotingVoteAccountVote], + { who: AccountId20; vote: PalletConvictionVotingVoteAccountVote } + >; /** * Generic event **/ diff --git a/typescript-api/src/moonriver/interfaces/augment-api-query.ts b/typescript-api/src/moonriver/interfaces/augment-api-query.ts index 08ce4d35a8..4d9811bfe1 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-query.ts @@ -110,10 +110,10 @@ import type { PalletXcmTransactorRemoteTransactInfoWithMaxWeight, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, - PolkadotPrimitivesV7AbridgedHostConfiguration, - PolkadotPrimitivesV7PersistedValidationData, - PolkadotPrimitivesV7UpgradeGoAhead, - PolkadotPrimitivesV7UpgradeRestriction, + PolkadotPrimitivesV8AbridgedHostConfiguration, + PolkadotPrimitivesV8PersistedValidationData, + PolkadotPrimitivesV8UpgradeGoAhead, + PolkadotPrimitivesV8UpgradeRestriction, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, @@ -1142,6 +1142,19 @@ declare module "@polkadot/api-base/types/storage" { **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; + /** + * Records collators' inactivity. + * Data persists for MaxOfflineRounds + 1 rounds before being pruned. + **/ + wasInactive: AugmentedQuery< + ApiType, + ( + arg1: u32 | AnyNumber | Uint8Array, + arg2: AccountId20 | string | Uint8Array + ) => Observable>, + [u32, AccountId20] + > & + QueryableStorageEntry; /** * Generic query **/ @@ -1187,7 +1200,7 @@ declare module "@polkadot/api-base/types/storage" { **/ hostConfiguration: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1333,7 +1346,7 @@ declare module "@polkadot/api-base/types/storage" { **/ upgradeGoAhead: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1348,7 +1361,7 @@ declare module "@polkadot/api-base/types/storage" { **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; @@ -1371,7 +1384,7 @@ declare module "@polkadot/api-base/types/storage" { **/ validationData: AugmentedQuery< ApiType, - () => Observable>, + () => Observable>, [] > & QueryableStorageEntry; diff --git a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts index 8b6985f2b2..1ea130b47e 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts @@ -688,8 +688,6 @@ declare module "@polkadot/api-base/types/submittable" { * * - `id`: The identifier of the asset to be destroyed. This must identify an existing * asset. - * - * The asset class must be frozen before calling `start_destroy`. **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, @@ -791,6 +789,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20, Compact] >; + /** + * Transfer the entire transferable balance from the caller asset account. + * + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any held, frozen, or minimum balance (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... + * + * The dispatch origin of this call must be Signed. + * + * - `id`: The identifier of the asset for the account holding a deposit. + * - `dest`: The recipient of the transfer. + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the asset account has, causing the sender asset account to be killed + * (false), or transfer everything except at least the minimum balance, which will + * guarantee to keep the sender asset account alive (true). + **/ + transferAll: AugmentedSubmittable< + ( + id: Compact | AnyNumber | Uint8Array, + dest: AccountId20 | string | Uint8Array, + keepAlive: bool | boolean | Uint8Array + ) => SubmittableExtrinsic, + [Compact, AccountId20, bool] + >; /** * Transfer some asset balance from a previously delegated account to some third-party * account. @@ -1855,7 +1879,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: * * ```nocompile - * Self::registrars().get(reg_index).unwrap().fee + * Registrars::::get().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. @@ -2814,38 +2838,6 @@ declare module "@polkadot/api-base/types/submittable" { [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, - * it cannot actually perform the verification. - * - * This call requires Root origin. - **/ - authorizeUpgrade: AugmentedSubmittable< - ( - codeHash: H256 | string | Uint8Array, - checkVersion: bool | boolean | Uint8Array - ) => SubmittableExtrinsic, - [H256, bool] - >; - /** - * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. - * - * If the authorization required a version check, this call will ensure the spec name - * remains unchanged and that the spec version has increased. - * - * Note that this function will not apply the new `code`, but only attempt to schedule the - * upgrade with the Relay Chain. - * - * All origins are allowed. - **/ - enactAuthorizedUpgrade: AugmentedSubmittable< - (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, - [Bytes] - >; /** * Set the current validation data. * diff --git a/typescript-api/src/moonriver/interfaces/lookup.ts b/typescript-api/src/moonriver/interfaces/lookup.ts index 50be4c7a41..3a855ef6e6 100644 --- a/typescript-api/src/moonriver/interfaces/lookup.ts +++ b/typescript-api/src/moonriver/interfaces/lookup.ts @@ -1088,11 +1088,39 @@ export default { PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20" + Undelegated: "AccountId20", + Voted: { + who: "AccountId20", + vote: "PalletConvictionVotingVoteAccountVote" + }, + VoteRemoved: { + who: "AccountId20", + vote: "PalletConvictionVotingVoteAccountVote" + } + } + }, + /** + * Lookup94: pallet_conviction_voting::vote::AccountVote + **/ + PalletConvictionVotingVoteAccountVote: { + _enum: { + Standard: { + vote: "Vote", + balance: "u128" + }, + Split: { + aye: "u128", + nay: "u128" + }, + SplitAbstain: { + aye: "u128", + nay: "u128", + abstain: "u128" + } } }, /** - * Lookup94: pallet_referenda::pallet::Event + * Lookup96: pallet_referenda::pallet::Event **/ PalletReferendaEvent: { _enum: { @@ -1172,7 +1200,7 @@ export default { } }, /** - * Lookup95: frame_support::traits::preimages::Bounded + * Lookup97: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -1193,7 +1221,7 @@ export default { } }, /** - * Lookup97: frame_system::pallet::Call + * Lookup99: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -1238,7 +1266,7 @@ export default { } }, /** - * Lookup101: cumulus_pallet_parachain_system::pallet::Call + * Lookup103: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -1247,56 +1275,49 @@ export default { }, sudo_send_upward_message: { message: "Bytes" - }, - authorize_upgrade: { - codeHash: "H256", - checkVersion: "bool" - }, - enact_authorized_upgrade: { - code: "Bytes" } } }, /** - * Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup104: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: "PolkadotPrimitivesV7PersistedValidationData", + validationData: "PolkadotPrimitivesV8PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", horizontalMessages: "BTreeMap>" }, /** - * Lookup103: polkadot_primitives::v7::PersistedValidationData + * Lookup105: polkadot_primitives::v8::PersistedValidationData **/ - PolkadotPrimitivesV7PersistedValidationData: { + PolkadotPrimitivesV8PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", maxPovSize: "u32" }, /** - * Lookup105: sp_trie::storage_proof::StorageProof + * Lookup107: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: "BTreeSet" }, /** - * Lookup108: polkadot_core_primitives::InboundDownwardMessage + * Lookup110: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", msg: "Bytes" }, /** - * Lookup112: polkadot_core_primitives::InboundHrmpMessage + * Lookup114: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", data: "Bytes" }, /** - * Lookup115: pallet_timestamp::pallet::Call + * Lookup117: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -1306,7 +1327,7 @@ export default { } }, /** - * Lookup116: pallet_root_testing::pallet::Call + * Lookup118: pallet_root_testing::pallet::Call **/ PalletRootTestingCall: { _enum: { @@ -1317,7 +1338,7 @@ export default { } }, /** - * Lookup117: pallet_balances::pallet::Call + * Lookup119: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -1362,13 +1383,13 @@ export default { } }, /** - * Lookup120: pallet_balances::types::AdjustmentDirection + * Lookup122: pallet_balances::types::AdjustmentDirection **/ PalletBalancesAdjustmentDirection: { _enum: ["Increase", "Decrease"] }, /** - * Lookup121: pallet_parachain_staking::pallet::Call + * Lookup123: pallet_parachain_staking::pallet::Call **/ PalletParachainStakingCall: { _enum: { @@ -1506,13 +1527,13 @@ export default { } }, /** - * Lookup124: pallet_author_inherent::pallet::Call + * Lookup126: pallet_author_inherent::pallet::Call **/ PalletAuthorInherentCall: { _enum: ["kick_off_authorship_validation"] }, /** - * Lookup125: pallet_author_slot_filter::pallet::Call + * Lookup127: pallet_author_slot_filter::pallet::Call **/ PalletAuthorSlotFilterCall: { _enum: { @@ -1525,7 +1546,7 @@ export default { } }, /** - * Lookup126: pallet_author_mapping::pallet::Call + * Lookup128: pallet_author_mapping::pallet::Call **/ PalletAuthorMappingCall: { _enum: { @@ -1549,7 +1570,7 @@ export default { } }, /** - * Lookup127: pallet_moonbeam_orbiters::pallet::Call + * Lookup129: pallet_moonbeam_orbiters::pallet::Call **/ PalletMoonbeamOrbitersCall: { _enum: { @@ -1575,7 +1596,7 @@ export default { } }, /** - * Lookup128: pallet_utility::pallet::Call + * Lookup130: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -1603,7 +1624,7 @@ export default { } }, /** - * Lookup130: moonriver_runtime::OriginCaller + * Lookup132: moonriver_runtime::OriginCaller **/ MoonriverRuntimeOriginCaller: { _enum: { @@ -1720,7 +1741,7 @@ export default { } }, /** - * Lookup131: frame_support::dispatch::RawOrigin + * Lookup133: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -1730,7 +1751,7 @@ export default { } }, /** - * Lookup132: pallet_ethereum::RawOrigin + * Lookup134: pallet_ethereum::RawOrigin **/ PalletEthereumRawOrigin: { _enum: { @@ -1738,7 +1759,7 @@ export default { } }, /** - * Lookup133: moonriver_runtime::governance::origins::custom_origins::Origin + * Lookup135: moonriver_runtime::governance::origins::custom_origins::Origin **/ MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ @@ -1750,7 +1771,7 @@ export default { ] }, /** - * Lookup134: pallet_collective::RawOrigin + * Lookup136: pallet_collective::RawOrigin **/ PalletCollectiveRawOrigin: { _enum: { @@ -1760,7 +1781,7 @@ export default { } }, /** - * Lookup136: cumulus_pallet_xcm::pallet::Origin + * Lookup138: cumulus_pallet_xcm::pallet::Origin **/ CumulusPalletXcmOrigin: { _enum: { @@ -1769,7 +1790,7 @@ export default { } }, /** - * Lookup137: pallet_xcm::pallet::Origin + * Lookup139: pallet_xcm::pallet::Origin **/ PalletXcmOrigin: { _enum: { @@ -1778,30 +1799,30 @@ export default { } }, /** - * Lookup138: staging_xcm::v4::location::Location + * Lookup140: staging_xcm::v4::location::Location **/ StagingXcmV4Location: { parents: "u8", interior: "StagingXcmV4Junctions" }, /** - * Lookup139: staging_xcm::v4::junctions::Junctions + * Lookup141: staging_xcm::v4::junctions::Junctions **/ StagingXcmV4Junctions: { _enum: { Here: "Null", - X1: "[Lookup141;1]", - X2: "[Lookup141;2]", - X3: "[Lookup141;3]", - X4: "[Lookup141;4]", - X5: "[Lookup141;5]", - X6: "[Lookup141;6]", - X7: "[Lookup141;7]", - X8: "[Lookup141;8]" + X1: "[Lookup143;1]", + X2: "[Lookup143;2]", + X3: "[Lookup143;3]", + X4: "[Lookup143;4]", + X5: "[Lookup143;5]", + X6: "[Lookup143;6]", + X7: "[Lookup143;7]", + X8: "[Lookup143;8]" } }, /** - * Lookup141: staging_xcm::v4::junction::Junction + * Lookup143: staging_xcm::v4::junction::Junction **/ StagingXcmV4Junction: { _enum: { @@ -1833,7 +1854,7 @@ export default { } }, /** - * Lookup144: staging_xcm::v4::junction::NetworkId + * Lookup146: staging_xcm::v4::junction::NetworkId **/ StagingXcmV4JunctionNetworkId: { _enum: { @@ -1856,7 +1877,7 @@ export default { } }, /** - * Lookup145: xcm::v3::junction::BodyId + * Lookup147: xcm::v3::junction::BodyId **/ XcmV3JunctionBodyId: { _enum: { @@ -1873,7 +1894,7 @@ export default { } }, /** - * Lookup146: xcm::v3::junction::BodyPart + * Lookup148: xcm::v3::junction::BodyPart **/ XcmV3JunctionBodyPart: { _enum: { @@ -1896,7 +1917,7 @@ export default { } }, /** - * Lookup154: pallet_ethereum_xcm::RawOrigin + * Lookup156: pallet_ethereum_xcm::RawOrigin **/ PalletEthereumXcmRawOrigin: { _enum: { @@ -1904,11 +1925,11 @@ export default { } }, /** - * Lookup155: sp_core::Void + * Lookup157: sp_core::Void **/ SpCoreVoid: "Null", /** - * Lookup156: pallet_proxy::pallet::Call + * Lookup158: pallet_proxy::pallet::Call **/ PalletProxyCall: { _enum: { @@ -1961,13 +1982,13 @@ export default { } }, /** - * Lookup158: pallet_maintenance_mode::pallet::Call + * Lookup160: pallet_maintenance_mode::pallet::Call **/ PalletMaintenanceModeCall: { _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, /** - * Lookup159: pallet_identity::pallet::Call + * Lookup161: pallet_identity::pallet::Call **/ PalletIdentityCall: { _enum: { @@ -2052,7 +2073,7 @@ export default { } }, /** - * Lookup160: pallet_identity::legacy::IdentityInfo + * Lookup162: pallet_identity::legacy::IdentityInfo **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", @@ -2066,7 +2087,7 @@ export default { twitter: "Data" }, /** - * Lookup198: pallet_identity::types::Judgement + * Lookup200: pallet_identity::types::Judgement **/ PalletIdentityJudgement: { _enum: { @@ -2080,11 +2101,11 @@ export default { } }, /** - * Lookup200: account::EthereumSignature + * Lookup202: account::EthereumSignature **/ AccountEthereumSignature: "[u8;65]", /** - * Lookup202: pallet_multisig::pallet::Call + * Lookup204: pallet_multisig::pallet::Call **/ PalletMultisigCall: { _enum: { @@ -2115,7 +2136,7 @@ export default { } }, /** - * Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call + * Lookup206: pallet_moonbeam_lazy_migrations::pallet::Call **/ PalletMoonbeamLazyMigrationsCall: { _enum: { @@ -2140,7 +2161,7 @@ export default { } }, /** - * Lookup207: pallet_parameters::pallet::Call + * Lookup209: pallet_parameters::pallet::Call **/ PalletParametersCall: { _enum: { @@ -2150,7 +2171,7 @@ export default { } }, /** - * Lookup208: moonriver_runtime::runtime_params::RuntimeParameters + * Lookup210: moonriver_runtime::runtime_params::RuntimeParameters **/ MoonriverRuntimeRuntimeParamsRuntimeParameters: { _enum: { @@ -2159,7 +2180,7 @@ export default { } }, /** - * Lookup209: moonriver_runtime::runtime_params::dynamic_params::runtime_config::Parameters + * Lookup211: moonriver_runtime::runtime_params::dynamic_params::runtime_config::Parameters **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { @@ -2168,7 +2189,7 @@ export default { } }, /** - * Lookup211: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + * Lookup213: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { @@ -2176,7 +2197,7 @@ export default { } }, /** - * Lookup213: pallet_evm::pallet::Call + * Lookup215: pallet_evm::pallet::Call **/ PalletEvmCall: { _enum: { @@ -2219,7 +2240,7 @@ export default { } }, /** - * Lookup219: pallet_ethereum::pallet::Call + * Lookup221: pallet_ethereum::pallet::Call **/ PalletEthereumCall: { _enum: { @@ -2229,7 +2250,7 @@ export default { } }, /** - * Lookup220: ethereum::transaction::TransactionV2 + * Lookup222: ethereum::transaction::TransactionV2 **/ EthereumTransactionTransactionV2: { _enum: { @@ -2239,7 +2260,7 @@ export default { } }, /** - * Lookup221: ethereum::transaction::LegacyTransaction + * Lookup223: ethereum::transaction::LegacyTransaction **/ EthereumTransactionLegacyTransaction: { nonce: "U256", @@ -2251,7 +2272,7 @@ export default { signature: "EthereumTransactionTransactionSignature" }, /** - * Lookup222: ethereum::transaction::TransactionAction + * Lookup224: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -2260,7 +2281,7 @@ export default { } }, /** - * Lookup223: ethereum::transaction::TransactionSignature + * Lookup225: ethereum::transaction::TransactionSignature **/ EthereumTransactionTransactionSignature: { v: "u64", @@ -2268,7 +2289,7 @@ export default { s: "H256" }, /** - * Lookup225: ethereum::transaction::EIP2930Transaction + * Lookup227: ethereum::transaction::EIP2930Transaction **/ EthereumTransactionEip2930Transaction: { chainId: "u64", @@ -2284,14 +2305,14 @@ export default { s: "H256" }, /** - * Lookup227: ethereum::transaction::AccessListItem + * Lookup229: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: "H160", storageKeys: "Vec" }, /** - * Lookup228: ethereum::transaction::EIP1559Transaction + * Lookup230: ethereum::transaction::EIP1559Transaction **/ EthereumTransactionEip1559Transaction: { chainId: "u64", @@ -2308,7 +2329,7 @@ export default { s: "H256" }, /** - * Lookup229: pallet_scheduler::pallet::Call + * Lookup231: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -2364,7 +2385,7 @@ export default { } }, /** - * Lookup231: pallet_preimage::pallet::Call + * Lookup233: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -2395,7 +2416,7 @@ export default { } }, /** - * Lookup232: pallet_conviction_voting::pallet::Call + * Lookup234: pallet_conviction_voting::pallet::Call **/ PalletConvictionVotingCall: { _enum: { @@ -2427,26 +2448,6 @@ export default { } } }, - /** - * Lookup233: pallet_conviction_voting::vote::AccountVote - **/ - PalletConvictionVotingVoteAccountVote: { - _enum: { - Standard: { - vote: "Vote", - balance: "u128" - }, - Split: { - aye: "u128", - nay: "u128" - }, - SplitAbstain: { - aye: "u128", - nay: "u128", - abstain: "u128" - } - } - }, /** * Lookup235: pallet_conviction_voting::conviction::Conviction **/ @@ -3900,6 +3901,11 @@ export default { block: { id: "Compact", who: "AccountId20" + }, + transfer_all: { + id: "Compact", + dest: "AccountId20", + keepAlive: "bool" } } }, @@ -5015,7 +5021,7 @@ export default { CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option" + consumedGoAheadSignal: "Option" }, /** * Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth @@ -5033,9 +5039,9 @@ export default { totalBytes: "u32" }, /** - * Lookup426: polkadot_primitives::v7::UpgradeGoAhead + * Lookup426: polkadot_primitives::v8::UpgradeGoAhead **/ - PolkadotPrimitivesV7UpgradeGoAhead: { + PolkadotPrimitivesV8UpgradeGoAhead: { _enum: ["Abort", "GoAhead"] }, /** @@ -5044,12 +5050,12 @@ export default { CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option" + consumedGoAheadSignal: "Option" }, /** - * Lookup429: polkadot_primitives::v7::UpgradeRestriction + * Lookup429: polkadot_primitives::v8::UpgradeRestriction **/ - PolkadotPrimitivesV7UpgradeRestriction: { + PolkadotPrimitivesV8UpgradeRestriction: { _enum: ["Present"] }, /** @@ -5059,8 +5065,8 @@ export default { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", - ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" + ingressChannels: "Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV8AbridgedHrmpChannel)>" }, /** * Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity @@ -5070,9 +5076,9 @@ export default { remainingSize: "u32" }, /** - * Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel + * Lookup434: polkadot_primitives::v8::AbridgedHrmpChannel **/ - PolkadotPrimitivesV7AbridgedHrmpChannel: { + PolkadotPrimitivesV8AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", @@ -5081,9 +5087,9 @@ export default { mqcHead: "Option" }, /** - * Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration + * Lookup435: polkadot_primitives::v8::AbridgedHostConfiguration **/ - PolkadotPrimitivesV7AbridgedHostConfiguration: { + PolkadotPrimitivesV8AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", maxUpwardQueueCount: "u32", @@ -5093,12 +5099,12 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" + asyncBackingParams: "PolkadotPrimitivesV8AsyncBackingAsyncBackingParams" }, /** - * Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams + * Lookup436: polkadot_primitives::v8::async_backing::AsyncBackingParams **/ - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", allowedAncestryLen: "u32" }, @@ -5697,7 +5703,6 @@ export default { "LimitCannotBeZero", "ContractMetadataAlreadySet", "ContractNotExist", - "KeyTooLong", "SymbolTooLong", "NameTooLong", "AssetTypeNotFound", @@ -5887,8 +5892,7 @@ export default { "Requested", "NotRequested", "TooMany", - "TooFew", - "NoCost" + "TooFew" ] }, /** diff --git a/typescript-api/src/moonriver/interfaces/registry.ts b/typescript-api/src/moonriver/interfaces/registry.ts index 0017c0aa77..a890602fd3 100644 --- a/typescript-api/src/moonriver/interfaces/registry.ts +++ b/typescript-api/src/moonriver/interfaces/registry.ts @@ -306,12 +306,12 @@ import type { PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, - PolkadotPrimitivesV7AbridgedHostConfiguration, - PolkadotPrimitivesV7AbridgedHrmpChannel, - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, - PolkadotPrimitivesV7PersistedValidationData, - PolkadotPrimitivesV7UpgradeGoAhead, - PolkadotPrimitivesV7UpgradeRestriction, + PolkadotPrimitivesV8AbridgedHostConfiguration, + PolkadotPrimitivesV8AbridgedHrmpChannel, + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams, + PolkadotPrimitivesV8PersistedValidationData, + PolkadotPrimitivesV8UpgradeGoAhead, + PolkadotPrimitivesV8UpgradeRestriction, SessionKeysPrimitivesVrfVrfCryptoPublic, SpArithmeticArithmeticError, SpCoreVoid, @@ -705,12 +705,12 @@ declare module "@polkadot/types/types/registry" { PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; PolkadotParachainPrimitivesPrimitivesHrmpChannelId: PolkadotParachainPrimitivesPrimitivesHrmpChannelId; - PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; - PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; - PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; - PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; - PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; - PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; + PolkadotPrimitivesV8AbridgedHostConfiguration: PolkadotPrimitivesV8AbridgedHostConfiguration; + PolkadotPrimitivesV8AbridgedHrmpChannel: PolkadotPrimitivesV8AbridgedHrmpChannel; + PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV8PersistedValidationData: PolkadotPrimitivesV8PersistedValidationData; + PolkadotPrimitivesV8UpgradeGoAhead: PolkadotPrimitivesV8UpgradeGoAhead; + PolkadotPrimitivesV8UpgradeRestriction: PolkadotPrimitivesV8UpgradeRestriction; SessionKeysPrimitivesVrfVrfCryptoPublic: SessionKeysPrimitivesVrfVrfCryptoPublic; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpCoreVoid: SpCoreVoid; diff --git a/typescript-api/src/moonriver/interfaces/types-lookup.ts b/typescript-api/src/moonriver/interfaces/types-lookup.ts index 08414f4828..bbe40e27ea 100644 --- a/typescript-api/src/moonriver/interfaces/types-lookup.ts +++ b/typescript-api/src/moonriver/interfaces/types-lookup.ts @@ -1339,10 +1339,41 @@ declare module "@polkadot/types/lookup" { readonly asDelegated: ITuple<[AccountId20, AccountId20]>; readonly isUndelegated: boolean; readonly asUndelegated: AccountId20; - readonly type: "Delegated" | "Undelegated"; + readonly isVoted: boolean; + readonly asVoted: { + readonly who: AccountId20; + readonly vote: PalletConvictionVotingVoteAccountVote; + } & Struct; + readonly isVoteRemoved: boolean; + readonly asVoteRemoved: { + readonly who: AccountId20; + readonly vote: PalletConvictionVotingVoteAccountVote; + } & Struct; + readonly type: "Delegated" | "Undelegated" | "Voted" | "VoteRemoved"; + } + + /** @name PalletConvictionVotingVoteAccountVote (94) */ + interface PalletConvictionVotingVoteAccountVote extends Enum { + readonly isStandard: boolean; + readonly asStandard: { + readonly vote: Vote; + readonly balance: u128; + } & Struct; + readonly isSplit: boolean; + readonly asSplit: { + readonly aye: u128; + readonly nay: u128; + } & Struct; + readonly isSplitAbstain: boolean; + readonly asSplitAbstain: { + readonly aye: u128; + readonly nay: u128; + readonly abstain: u128; + } & Struct; + readonly type: "Standard" | "Split" | "SplitAbstain"; } - /** @name PalletReferendaEvent (94) */ + /** @name PalletReferendaEvent (96) */ interface PalletReferendaEvent extends Enum { readonly isSubmitted: boolean; readonly asSubmitted: { @@ -1446,7 +1477,7 @@ declare module "@polkadot/types/lookup" { | "MetadataCleared"; } - /** @name FrameSupportPreimagesBounded (95) */ + /** @name FrameSupportPreimagesBounded (97) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -1462,7 +1493,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Inline" | "Lookup"; } - /** @name FrameSystemCall (97) */ + /** @name FrameSystemCall (99) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -1523,7 +1554,7 @@ declare module "@polkadot/types/lookup" { | "ApplyAuthorizedUpgrade"; } - /** @name CumulusPalletParachainSystemCall (101) */ + /** @name CumulusPalletParachainSystemCall (103) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -1533,56 +1564,43 @@ declare module "@polkadot/types/lookup" { readonly asSudoSendUpwardMessage: { readonly message: Bytes; } & Struct; - readonly isAuthorizeUpgrade: boolean; - readonly asAuthorizeUpgrade: { - readonly codeHash: H256; - readonly checkVersion: bool; - } & Struct; - readonly isEnactAuthorizedUpgrade: boolean; - readonly asEnactAuthorizedUpgrade: { - readonly code: Bytes; - } & Struct; - readonly type: - | "SetValidationData" - | "SudoSendUpwardMessage" - | "AuthorizeUpgrade" - | "EnactAuthorizedUpgrade"; + readonly type: "SetValidationData" | "SudoSendUpwardMessage"; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (102) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (104) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV7PersistedValidationData; + readonly validationData: PolkadotPrimitivesV8PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV7PersistedValidationData (103) */ - interface PolkadotPrimitivesV7PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV8PersistedValidationData (105) */ + interface PolkadotPrimitivesV8PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (105) */ + /** @name SpTrieStorageProof (107) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (108) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (110) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (112) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (114) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletTimestampCall (115) */ + /** @name PalletTimestampCall (117) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -1591,7 +1609,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Set"; } - /** @name PalletRootTestingCall (116) */ + /** @name PalletRootTestingCall (118) */ interface PalletRootTestingCall extends Enum { readonly isFillBlock: boolean; readonly asFillBlock: { @@ -1601,7 +1619,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FillBlock" | "TriggerDefensive"; } - /** @name PalletBalancesCall (117) */ + /** @name PalletBalancesCall (119) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -1660,14 +1678,14 @@ declare module "@polkadot/types/lookup" { | "Burn"; } - /** @name PalletBalancesAdjustmentDirection (120) */ + /** @name PalletBalancesAdjustmentDirection (122) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: "Increase" | "Decrease"; } - /** @name PalletParachainStakingCall (121) */ + /** @name PalletParachainStakingCall (123) */ interface PalletParachainStakingCall extends Enum { readonly isSetStakingExpectations: boolean; readonly asSetStakingExpectations: { @@ -1845,13 +1863,13 @@ declare module "@polkadot/types/lookup" { | "SetInflationDistributionConfig"; } - /** @name PalletAuthorInherentCall (124) */ + /** @name PalletAuthorInherentCall (126) */ interface PalletAuthorInherentCall extends Enum { readonly isKickOffAuthorshipValidation: boolean; readonly type: "KickOffAuthorshipValidation"; } - /** @name PalletAuthorSlotFilterCall (125) */ + /** @name PalletAuthorSlotFilterCall (127) */ interface PalletAuthorSlotFilterCall extends Enum { readonly isSetEligible: boolean; readonly asSetEligible: { @@ -1860,7 +1878,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetEligible"; } - /** @name PalletAuthorMappingCall (126) */ + /** @name PalletAuthorMappingCall (128) */ interface PalletAuthorMappingCall extends Enum { readonly isAddAssociation: boolean; readonly asAddAssociation: { @@ -1888,7 +1906,7 @@ declare module "@polkadot/types/lookup" { | "SetKeys"; } - /** @name PalletMoonbeamOrbitersCall (127) */ + /** @name PalletMoonbeamOrbitersCall (129) */ interface PalletMoonbeamOrbitersCall extends Enum { readonly isCollatorAddOrbiter: boolean; readonly asCollatorAddOrbiter: { @@ -1925,7 +1943,7 @@ declare module "@polkadot/types/lookup" { | "RemoveCollator"; } - /** @name PalletUtilityCall (128) */ + /** @name PalletUtilityCall (130) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -1963,7 +1981,7 @@ declare module "@polkadot/types/lookup" { | "WithWeight"; } - /** @name MoonriverRuntimeOriginCaller (130) */ + /** @name MoonriverRuntimeOriginCaller (132) */ interface MoonriverRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; @@ -1994,7 +2012,7 @@ declare module "@polkadot/types/lookup" { | "EthereumXcm"; } - /** @name FrameSupportDispatchRawOrigin (131) */ + /** @name FrameSupportDispatchRawOrigin (133) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -2003,14 +2021,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Root" | "Signed" | "None"; } - /** @name PalletEthereumRawOrigin (132) */ + /** @name PalletEthereumRawOrigin (134) */ interface PalletEthereumRawOrigin extends Enum { readonly isEthereumTransaction: boolean; readonly asEthereumTransaction: H160; readonly type: "EthereumTransaction"; } - /** @name MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin (133) */ + /** @name MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin (135) */ interface MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin extends Enum { readonly isWhitelistedCaller: boolean; readonly isGeneralAdmin: boolean; @@ -2025,7 +2043,7 @@ declare module "@polkadot/types/lookup" { | "FastGeneralAdmin"; } - /** @name PalletCollectiveRawOrigin (134) */ + /** @name PalletCollectiveRawOrigin (136) */ interface PalletCollectiveRawOrigin extends Enum { readonly isMembers: boolean; readonly asMembers: ITuple<[u32, u32]>; @@ -2035,7 +2053,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Members" | "Member" | "Phantom"; } - /** @name CumulusPalletXcmOrigin (136) */ + /** @name CumulusPalletXcmOrigin (138) */ interface CumulusPalletXcmOrigin extends Enum { readonly isRelay: boolean; readonly isSiblingParachain: boolean; @@ -2043,7 +2061,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Relay" | "SiblingParachain"; } - /** @name PalletXcmOrigin (137) */ + /** @name PalletXcmOrigin (139) */ interface PalletXcmOrigin extends Enum { readonly isXcm: boolean; readonly asXcm: StagingXcmV4Location; @@ -2052,13 +2070,13 @@ declare module "@polkadot/types/lookup" { readonly type: "Xcm" | "Response"; } - /** @name StagingXcmV4Location (138) */ + /** @name StagingXcmV4Location (140) */ interface StagingXcmV4Location extends Struct { readonly parents: u8; readonly interior: StagingXcmV4Junctions; } - /** @name StagingXcmV4Junctions (139) */ + /** @name StagingXcmV4Junctions (141) */ interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; @@ -2080,7 +2098,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Here" | "X1" | "X2" | "X3" | "X4" | "X5" | "X6" | "X7" | "X8"; } - /** @name StagingXcmV4Junction (141) */ + /** @name StagingXcmV4Junction (143) */ interface StagingXcmV4Junction extends Enum { readonly isParachain: boolean; readonly asParachain: Compact; @@ -2129,7 +2147,7 @@ declare module "@polkadot/types/lookup" { | "GlobalConsensus"; } - /** @name StagingXcmV4JunctionNetworkId (144) */ + /** @name StagingXcmV4JunctionNetworkId (146) */ interface StagingXcmV4JunctionNetworkId extends Enum { readonly isByGenesis: boolean; readonly asByGenesis: U8aFixed; @@ -2164,7 +2182,7 @@ declare module "@polkadot/types/lookup" { | "PolkadotBulletin"; } - /** @name XcmV3JunctionBodyId (145) */ + /** @name XcmV3JunctionBodyId (147) */ interface XcmV3JunctionBodyId extends Enum { readonly isUnit: boolean; readonly isMoniker: boolean; @@ -2191,7 +2209,7 @@ declare module "@polkadot/types/lookup" { | "Treasury"; } - /** @name XcmV3JunctionBodyPart (146) */ + /** @name XcmV3JunctionBodyPart (148) */ interface XcmV3JunctionBodyPart extends Enum { readonly isVoice: boolean; readonly isMembers: boolean; @@ -2216,17 +2234,17 @@ declare module "@polkadot/types/lookup" { readonly type: "Voice" | "Members" | "Fraction" | "AtLeastProportion" | "MoreThanProportion"; } - /** @name PalletEthereumXcmRawOrigin (154) */ + /** @name PalletEthereumXcmRawOrigin (156) */ interface PalletEthereumXcmRawOrigin extends Enum { readonly isXcmEthereumTransaction: boolean; readonly asXcmEthereumTransaction: H160; readonly type: "XcmEthereumTransaction"; } - /** @name SpCoreVoid (155) */ + /** @name SpCoreVoid (157) */ type SpCoreVoid = Null; - /** @name PalletProxyCall (156) */ + /** @name PalletProxyCall (158) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -2296,14 +2314,14 @@ declare module "@polkadot/types/lookup" { | "ProxyAnnounced"; } - /** @name PalletMaintenanceModeCall (158) */ + /** @name PalletMaintenanceModeCall (160) */ interface PalletMaintenanceModeCall extends Enum { readonly isEnterMaintenanceMode: boolean; readonly isResumeNormalOperation: boolean; readonly type: "EnterMaintenanceMode" | "ResumeNormalOperation"; } - /** @name PalletIdentityCall (159) */ + /** @name PalletIdentityCall (161) */ interface PalletIdentityCall extends Enum { readonly isAddRegistrar: boolean; readonly asAddRegistrar: { @@ -2425,7 +2443,7 @@ declare module "@polkadot/types/lookup" { | "RemoveDanglingUsername"; } - /** @name PalletIdentityLegacyIdentityInfo (160) */ + /** @name PalletIdentityLegacyIdentityInfo (162) */ interface PalletIdentityLegacyIdentityInfo extends Struct { readonly additional: Vec>; readonly display: Data; @@ -2438,7 +2456,7 @@ declare module "@polkadot/types/lookup" { readonly twitter: Data; } - /** @name PalletIdentityJudgement (198) */ + /** @name PalletIdentityJudgement (200) */ interface PalletIdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; @@ -2458,10 +2476,10 @@ declare module "@polkadot/types/lookup" { | "Erroneous"; } - /** @name AccountEthereumSignature (200) */ + /** @name AccountEthereumSignature (202) */ interface AccountEthereumSignature extends U8aFixed {} - /** @name PalletMultisigCall (202) */ + /** @name PalletMultisigCall (204) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -2494,7 +2512,7 @@ declare module "@polkadot/types/lookup" { readonly type: "AsMultiThreshold1" | "AsMulti" | "ApproveAsMulti" | "CancelAsMulti"; } - /** @name PalletMoonbeamLazyMigrationsCall (204) */ + /** @name PalletMoonbeamLazyMigrationsCall (206) */ interface PalletMoonbeamLazyMigrationsCall extends Enum { readonly isCreateContractMetadata: boolean; readonly asCreateContractMetadata: { @@ -2526,7 +2544,7 @@ declare module "@polkadot/types/lookup" { | "FinishForeignAssetsMigration"; } - /** @name PalletParametersCall (207) */ + /** @name PalletParametersCall (209) */ interface PalletParametersCall extends Enum { readonly isSetParameter: boolean; readonly asSetParameter: { @@ -2535,7 +2553,7 @@ declare module "@polkadot/types/lookup" { readonly type: "SetParameter"; } - /** @name MoonriverRuntimeRuntimeParamsRuntimeParameters (208) */ + /** @name MoonriverRuntimeRuntimeParamsRuntimeParameters (210) */ interface MoonriverRuntimeRuntimeParamsRuntimeParameters extends Enum { readonly isRuntimeConfig: boolean; readonly asRuntimeConfig: MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters; @@ -2544,7 +2562,7 @@ declare module "@polkadot/types/lookup" { readonly type: "RuntimeConfig" | "PalletRandomness"; } - /** @name MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters (209) */ + /** @name MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters (211) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters extends Enum { readonly isFeesTreasuryProportion: boolean; readonly asFeesTreasuryProportion: ITuple< @@ -2556,7 +2574,7 @@ declare module "@polkadot/types/lookup" { readonly type: "FeesTreasuryProportion"; } - /** @name MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters (211) */ + /** @name MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters (213) */ interface MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters extends Enum { readonly isDeposit: boolean; readonly asDeposit: ITuple< @@ -2565,7 +2583,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Deposit"; } - /** @name PalletEvmCall (213) */ + /** @name PalletEvmCall (215) */ interface PalletEvmCall extends Enum { readonly isWithdraw: boolean; readonly asWithdraw: { @@ -2610,7 +2628,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Withdraw" | "Call" | "Create" | "Create2"; } - /** @name PalletEthereumCall (219) */ + /** @name PalletEthereumCall (221) */ interface PalletEthereumCall extends Enum { readonly isTransact: boolean; readonly asTransact: { @@ -2619,7 +2637,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Transact"; } - /** @name EthereumTransactionTransactionV2 (220) */ + /** @name EthereumTransactionTransactionV2 (222) */ interface EthereumTransactionTransactionV2 extends Enum { readonly isLegacy: boolean; readonly asLegacy: EthereumTransactionLegacyTransaction; @@ -2630,7 +2648,7 @@ declare module "@polkadot/types/lookup" { readonly type: "Legacy" | "Eip2930" | "Eip1559"; } - /** @name EthereumTransactionLegacyTransaction (221) */ + /** @name EthereumTransactionLegacyTransaction (223) */ interface EthereumTransactionLegacyTransaction extends Struct { readonly nonce: U256; readonly gasPrice: U256; @@ -2641,7 +2659,7 @@ declare module "@polkadot/types/lookup" { readonly signature: EthereumTransactionTransactionSignature; } - /** @name EthereumTransactionTransactionAction (222) */ + /** @name EthereumTransactionTransactionAction (224) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -2649,14 +2667,14 @@ declare module "@polkadot/types/lookup" { readonly type: "Call" | "Create"; } - /** @name EthereumTransactionTransactionSignature (223) */ + /** @name EthereumTransactionTransactionSignature (225) */ interface EthereumTransactionTransactionSignature extends Struct { readonly v: u64; readonly r: H256; readonly s: H256; } - /** @name EthereumTransactionEip2930Transaction (225) */ + /** @name EthereumTransactionEip2930Transaction (227) */ interface EthereumTransactionEip2930Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2671,13 +2689,13 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name EthereumTransactionAccessListItem (227) */ + /** @name EthereumTransactionAccessListItem (229) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name EthereumTransactionEip1559Transaction (228) */ + /** @name EthereumTransactionEip1559Transaction (230) */ interface EthereumTransactionEip1559Transaction extends Struct { readonly chainId: u64; readonly nonce: U256; @@ -2693,7 +2711,7 @@ declare module "@polkadot/types/lookup" { readonly s: H256; } - /** @name PalletSchedulerCall (229) */ + /** @name PalletSchedulerCall (231) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -2767,7 +2785,7 @@ declare module "@polkadot/types/lookup" { | "CancelRetryNamed"; } - /** @name PalletPreimageCall (231) */ + /** @name PalletPreimageCall (233) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -2797,7 +2815,7 @@ declare module "@polkadot/types/lookup" { | "EnsureUpdated"; } - /** @name PalletConvictionVotingCall (232) */ + /** @name PalletConvictionVotingCall (234) */ interface PalletConvictionVotingCall extends Enum { readonly isVote: boolean; readonly asVote: { @@ -2834,27 +2852,6 @@ declare module "@polkadot/types/lookup" { readonly type: "Vote" | "Delegate" | "Undelegate" | "Unlock" | "RemoveVote" | "RemoveOtherVote"; } - /** @name PalletConvictionVotingVoteAccountVote (233) */ - interface PalletConvictionVotingVoteAccountVote extends Enum { - readonly isStandard: boolean; - readonly asStandard: { - readonly vote: Vote; - readonly balance: u128; - } & Struct; - readonly isSplit: boolean; - readonly asSplit: { - readonly aye: u128; - readonly nay: u128; - } & Struct; - readonly isSplitAbstain: boolean; - readonly asSplitAbstain: { - readonly aye: u128; - readonly nay: u128; - readonly abstain: u128; - } & Struct; - readonly type: "Standard" | "Split" | "SplitAbstain"; - } - /** @name PalletConvictionVotingConviction (235) */ interface PalletConvictionVotingConviction extends Enum { readonly isNone: boolean; @@ -4841,6 +4838,12 @@ declare module "@polkadot/types/lookup" { readonly id: Compact; readonly who: AccountId20; } & Struct; + readonly isTransferAll: boolean; + readonly asTransferAll: { + readonly id: Compact; + readonly dest: AccountId20; + readonly keepAlive: bool; + } & Struct; readonly type: | "Create" | "ForceCreate" @@ -4873,7 +4876,8 @@ declare module "@polkadot/types/lookup" { | "SetMinBalance" | "TouchOther" | "RefundOther" - | "Block"; + | "Block" + | "TransferAll"; } /** @name PalletAssetManagerCall (346) */ @@ -6210,7 +6214,7 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (420) */ @@ -6229,8 +6233,8 @@ declare module "@polkadot/types/lookup" { readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV7UpgradeGoAhead (426) */ - interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV8UpgradeGoAhead (426) */ + interface PolkadotPrimitivesV8UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: "Abort" | "GoAhead"; @@ -6240,11 +6244,11 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV7UpgradeRestriction (429) */ - interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV8UpgradeRestriction (429) */ + interface PolkadotPrimitivesV8UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: "Present"; } @@ -6253,8 +6257,8 @@ declare module "@polkadot/types/lookup" { interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (431) */ @@ -6264,8 +6268,8 @@ declare module "@polkadot/types/lookup" { readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (434) */ - interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV8AbridgedHrmpChannel (434) */ + interface PolkadotPrimitivesV8AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -6274,8 +6278,8 @@ declare module "@polkadot/types/lookup" { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (435) */ - interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV8AbridgedHostConfiguration (435) */ + interface PolkadotPrimitivesV8AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -6285,11 +6289,11 @@ declare module "@polkadot/types/lookup" { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (436) */ - interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV8AsyncBackingAsyncBackingParams (436) */ + interface PolkadotPrimitivesV8AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } @@ -6929,7 +6933,6 @@ declare module "@polkadot/types/lookup" { readonly isLimitCannotBeZero: boolean; readonly isContractMetadataAlreadySet: boolean; readonly isContractNotExist: boolean; - readonly isKeyTooLong: boolean; readonly isSymbolTooLong: boolean; readonly isNameTooLong: boolean; readonly isAssetTypeNotFound: boolean; @@ -6943,7 +6946,6 @@ declare module "@polkadot/types/lookup" { | "LimitCannotBeZero" | "ContractMetadataAlreadySet" | "ContractNotExist" - | "KeyTooLong" | "SymbolTooLong" | "NameTooLong" | "AssetTypeNotFound" @@ -7134,7 +7136,6 @@ declare module "@polkadot/types/lookup" { readonly isNotRequested: boolean; readonly isTooMany: boolean; readonly isTooFew: boolean; - readonly isNoCost: boolean; readonly type: | "TooBig" | "AlreadyNoted" @@ -7143,8 +7144,7 @@ declare module "@polkadot/types/lookup" { | "Requested" | "NotRequested" | "TooMany" - | "TooFew" - | "NoCost"; + | "TooFew"; } /** @name PalletConvictionVotingVoteVoting (573) */