diff --git a/package.json b/package.json index 893eaa0..12aa7a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@polymeshassociation/polymesh-types", - "version": "7.0.0", + "version": "8.0.0", "description": "Substrate types used in Polymesh chain", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/scripts/transactions.json b/scripts/transactions.json index 0e21756..e7800af 100644 --- a/scripts/transactions.json +++ b/scripts/transactions.json @@ -576,5 +576,27 @@ "update_permissioned_validator_intended_count": "update_permissioned_validator_intended_count", "chill_from_governance": "chill_from_governance", "set_commission_cap": "set_commission_cap" + }, + "ConfidentialAssets": { + "register_accounts": "register_accounts", + "create_asset": "create_asset", + "register_account_assets": "register_account_assets", + "mint_asset": "mint_asset", + "create_settlement": "create_settlement", + "sender_affirmation": "sender_affirmation", + "receiver_affirmation": "receiver_affirmation", + "mediator_affirmation": "mediator_affirmation", + "sender_update_counter": "sender_update_counter", + "sender_revert": "sender_revert", + "receiver_claim": "receiver_claim", + "batched_settlement": "batched_settlement", + "register_fee_accounts": "register_fee_accounts", + "topup_fee_accounts": "topup_fee_accounts", + "submit_batched_proofs": "submit_batched_proofs", + "relayer_submit_batched_proofs": "relayer_submit_batched_proofs", + "register_encryption_keys": "register_encryption_keys", + "execute_instant_settlement": "execute_instant_settlement", + "instant_sender_affirmation": "instant_sender_affirmation", + "instant_receiver_affirmation": "instant_receiver_affirmation" } } diff --git a/src/generated/types.ts b/src/generated/types.ts index b2addbc..3d16e28 100644 --- a/src/generated/types.ts +++ b/src/generated/types.ts @@ -879,6 +879,29 @@ export enum ValidatorsTx { SetCommissionCap = 'validators.setCommissionCap', } +export enum ConfidentialAssetsTx { + RegisterAccounts = 'confidentialAssets.registerAccounts', + CreateAsset = 'confidentialAssets.createAsset', + RegisterAccountAssets = 'confidentialAssets.registerAccountAssets', + MintAsset = 'confidentialAssets.mintAsset', + CreateSettlement = 'confidentialAssets.createSettlement', + SenderAffirmation = 'confidentialAssets.senderAffirmation', + ReceiverAffirmation = 'confidentialAssets.receiverAffirmation', + MediatorAffirmation = 'confidentialAssets.mediatorAffirmation', + SenderUpdateCounter = 'confidentialAssets.senderUpdateCounter', + SenderRevert = 'confidentialAssets.senderRevert', + ReceiverClaim = 'confidentialAssets.receiverClaim', + BatchedSettlement = 'confidentialAssets.batchedSettlement', + RegisterFeeAccounts = 'confidentialAssets.registerFeeAccounts', + TopupFeeAccounts = 'confidentialAssets.topupFeeAccounts', + SubmitBatchedProofs = 'confidentialAssets.submitBatchedProofs', + RelayerSubmitBatchedProofs = 'confidentialAssets.relayerSubmitBatchedProofs', + RegisterEncryptionKeys = 'confidentialAssets.registerEncryptionKeys', + ExecuteInstantSettlement = 'confidentialAssets.executeInstantSettlement', + InstantSenderAffirmation = 'confidentialAssets.instantSenderAffirmation', + InstantReceiverAffirmation = 'confidentialAssets.instantReceiverAffirmation', +} + export enum ModuleName { System = 'system', Babe = 'babe', @@ -928,6 +951,7 @@ export enum ModuleName { ElectionProviderMultiPhase = 'electionProviderMultiPhase', TransactionPayment = 'transactionPayment', Validators = 'validators', + ConfidentialAssets = 'confidentialAssets', } export type TxTag = @@ -978,7 +1002,8 @@ export type TxTag = | StateTrieMigrationTx | ElectionProviderMultiPhaseTx | TransactionPaymentTx - | ValidatorsTx; + | ValidatorsTx + | ConfidentialAssetsTx; // eslint-disable-next-line @typescript-eslint/naming-convention export const TxTags = { @@ -1030,4 +1055,5 @@ export const TxTags = { electionProviderMultiPhase: ElectionProviderMultiPhaseTx, transactionPayment: TransactionPaymentTx, validators: ValidatorsTx, + confidentialAssets: ConfidentialAssetsTx, }; diff --git a/src/polkadot/augment-api-consts.ts b/src/polkadot/augment-api-consts.ts index 585ca9a..ded7da4 100644 --- a/src/polkadot/augment-api-consts.ts +++ b/src/polkadot/augment-api-consts.ts @@ -6,15 +6,16 @@ import '@polkadot/api-base/types/consts'; import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types'; -import type { bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; -import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime'; +import type { Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; import type { + FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, - PalletContractsEnvironment, PalletContractsSchedule, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, + SpWeightsWeightToFeeCoefficient, SpWeightsWeightV2Weight, } from '@polkadot/types/lookup'; @@ -67,40 +68,13 @@ declare module '@polkadot/api-base/types/consts' { * Max number of authorities allowed **/ maxAuthorities: u32 & AugmentedConst; - /** - * The maximum number of nominators for each validator. - **/ - maxNominators: u32 & AugmentedConst; }; balances: { /** - * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! - * - * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for - * this pallet. However, you do so at your own risk: this will open up a major DoS vector. - * In case you have multiple sources of provider references, you may also get unexpected - * behaviour if you set this to zero. - * - * Bottom line: Do yourself a favour and make it at least one! + * This type is no longer needed but kept for compatibility reasons. + * The minimum amount required to keep an account open. **/ existentialDeposit: u128 & AugmentedConst; - /** - * The maximum number of individual freeze locks that can exist on an account at any time. - **/ - maxFreezes: u32 & AugmentedConst; - /** - * The maximum number of locks that should exist on an account. - * Not strictly enforced, but used for weight estimation. - * - * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` - **/ - maxLocks: u32 & AugmentedConst; - /** - * The maximum number of named reserves that can exist on an account. - * - * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` - **/ - maxReserves: u32 & AugmentedConst; }; base: { /** @@ -117,24 +91,88 @@ declare module '@polkadot/api-base/types/consts' { **/ maxConditionComplexity: u32 & AugmentedConst; }; - contracts: { + confidentialAssets: { /** - * The version of the HostFn APIs that are available in the runtime. - * - * Only valid value is `()`. + * Get the Confidential Assets fee account id. + **/ + feeAccountId: AccountId32 & AugmentedConst; + /** + * The maximum number of account asset registration proofs in a single transaction. + **/ + maxAccountAssetRegProofs: u32 & AugmentedConst; + /** + * The maximum number of asset auditors. + **/ + maxAssetAuditors: u32 & AugmentedConst; + /** + * Maximum asset data length. + **/ + maxAssetDataLength: u32 & AugmentedConst; + /** + * The maximum number of asset mediators. + **/ + maxAssetMediators: u32 & AugmentedConst; + /** + * The maximum number of proofs in a single batched proof. + **/ + maxBatchedProofs: u32 & AugmentedConst; + /** + * The maximum number of fee account registration proofs in a single transaction. **/ - apiVersion: u16 & AugmentedConst; + maxFeeAccountRegProofs: u32 & AugmentedConst; /** - * The percentage of the storage deposit that should be held for using a code hash. - * Instantiating a contract, or calling [`chain_extension::Ext::lock_delegate_dependency`] - * protects the code from being removed. In order to prevent abuse these actions are - * protected with a percentage of the code deposit. + * The maximum number of fee account topup proofs in a single transaction. **/ - codeHashLockupDepositPercent: Perbill & AugmentedConst; + maxFeeAccountTopupProofs: u32 & AugmentedConst; /** - * Fallback value to limit the storage deposit if it's not being set by the caller. + * The maximum number of keys in an account registration proof. **/ - defaultDepositLimit: u128 & AugmentedConst; + maxKeysPerRegProof: u32 & AugmentedConst; + /** + * The maximum number of legs in a settlement. + **/ + maxSettlementLegs: u32 & AugmentedConst; + /** + * The maximum settlement memo length. + **/ + maxSettlementMemoLength: u32 & AugmentedConst; + /** + * Maximum total supply. + **/ + maxTotalSupply: u128 & AugmentedConst; + /** + * Get the Confidential Assets fee pallet id. + **/ + palletFeeId: FrameSupportPalletId & AugmentedConst; + }; + contracts: { + /** + * The maximum number of contracts that can be pending for deletion. + * + * When a contract is deleted by calling `seal_terminate` it becomes inaccessible + * immediately, but the deletion of the storage items it has accumulated is performed + * later. The contract is put into the deletion queue. This defines how many + * contracts can be queued up at the same time. If that limit is reached `seal_terminate` + * will fail. The action must be retried in a later block in that case. + * + * The reasons for limiting the queue depth are: + * + * 1. The queue is in storage in order to be persistent between blocks. We want to limit + * the amount of storage that can be consumed. + * 2. The queue is stored in a vector and needs to be decoded as a whole when reading + * it at the end of each block. Longer queues take more weight to decode and hence + * limit the amount of items that can be deleted per block. + **/ + deletionQueueDepth: u32 & AugmentedConst; + /** + * The maximum amount of weight that can be consumed per block for lazy trie removal. + * + * The amount of weight that is dedicated per block to work on the deletion queue. Larger + * values allow more trie keys to be deleted in each block but reduce the amount of + * weight that is left for transactions. See [`Self::DeletionQueueDepth`] for more + * information about the deletion queue. + **/ + deletionWeightLimit: SpWeightsWeightV2Weight & AugmentedConst; /** * The amount of balance a caller has to pay for each byte of storage. * @@ -152,14 +190,9 @@ declare module '@polkadot/api-base/types/consts' { **/ depositPerItem: u128 & AugmentedConst; /** - * Type that bundles together all the runtime configurable interface types. - * - * This is not a real config. We just mention the type here as constant so that - * its type appears in the metadata. Only valid value is `()`. - **/ - environment: PalletContractsEnvironment & AugmentedConst; - /** - * The maximum length of a contract code in bytes. + * The maximum length of a contract code in bytes. This limit applies to the instrumented + * version of the code. Therefore `instantiate_with_code` can fail even when supplying + * a wasm binary below this maximum size. * * The value should be chosen carefully taking into the account the overall memory limit * your runtime has, as well as the [maximum allowed callstack @@ -170,20 +203,10 @@ declare module '@polkadot/api-base/types/consts' { * The maximum length of the debug buffer in bytes. **/ maxDebugBufferLen: u32 & AugmentedConst; - /** - * The maximum number of delegate_dependencies that a contract can lock with - * [`chain_extension::Ext::lock_delegate_dependency`]. - **/ - maxDelegateDependencies: u32 & AugmentedConst; /** * The maximum allowable length in bytes for storage keys. **/ maxStorageKeyLen: u32 & AugmentedConst; - /** - * The maximum size of the transient storage in bytes. - * This includes keys, values, and previous entries used for storage rollback. - **/ - maxTransientStorageSize: u32 & AugmentedConst; /** * Cost schedule and limits. **/ @@ -217,6 +240,21 @@ declare module '@polkadot/api-base/types/consts' { * "better" in the Signed phase. **/ betterSignedThreshold: Perbill & AugmentedConst; + /** + * The minimum amount of improvement to the solution score that defines a solution as + * "better" in the Unsigned phase. + **/ + betterUnsignedThreshold: Perbill & AugmentedConst; + /** + * The maximum number of electable targets to put in the snapshot. + **/ + maxElectableTargets: u16 & AugmentedConst; + /** + * The maximum number of electing voters to put in the snapshot. At the moment, snapshots + * are only over a single block, but once multi-block elections are introduced they will + * take place over multiple blocks. + **/ + maxElectingVoters: u32 & AugmentedConst; /** * The maximum number of winners that can be elected by this `ElectionProvider` * implementation. @@ -227,7 +265,6 @@ declare module '@polkadot/api-base/types/consts' { minerMaxLength: u32 & AugmentedConst; minerMaxVotesPerVoter: u32 & AugmentedConst; minerMaxWeight: SpWeightsWeightV2Weight & AugmentedConst; - minerMaxWinners: u32 & AugmentedConst; /** * The priority of the unsigned transaction submitted in the unsigned-phase **/ @@ -239,6 +276,10 @@ declare module '@polkadot/api-base/types/consts' { * to submit the worker's solution. **/ offchainRepeat: u32 & AugmentedConst; + /** + * Base deposit for a signed solution. + **/ + signedDepositBase: u128 & AugmentedConst; /** * Per-byte deposit for a signed solution. **/ @@ -269,20 +310,24 @@ declare module '@polkadot/api-base/types/consts' { * this value. **/ signedMaxWeight: SpWeightsWeightV2Weight & AugmentedConst; + /** + * Duration of the signed phase. + **/ + signedPhase: u32 & AugmentedConst; /** * Base reward for a signed solution **/ signedRewardBase: u128 & AugmentedConst; + /** + * Duration of the unsigned phase. + **/ + unsignedPhase: u32 & AugmentedConst; }; grandpa: { /** * Max Authorities in use **/ maxAuthorities: u32 & AugmentedConst; - /** - * The maximum number of nominators for each validator. - **/ - maxNominators: u32 & AugmentedConst; /** * The maximum number of entries to keep in the set id to session index mapping. * @@ -351,10 +396,6 @@ declare module '@polkadot/api-base/types/consts' { maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * The maximum number of scheduled calls in the queue for a single block. - * - * NOTE: - * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a - * higher limit under `runtime-benchmarks` feature. **/ maxScheduledPerBlock: u32 & AugmentedConst; }; @@ -397,14 +438,18 @@ declare module '@polkadot/api-base/types/consts' { * Number of eras that staked funds must remain bonded for. **/ bondingDuration: u32 & AugmentedConst; + /** + * Yearly total reward amount that gets distributed when fixed rewards kicks in. + **/ + fixedYearlyReward: u128 & AugmentedConst; /** * Number of eras to keep in history. * * Following information is kept for eras in `[current_era - * HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`, * `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`, - * `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`, - * `ErasStakersOverview`. + * `ErasTotalStake`, `ErasStartSessionIndex`, + * `StakingLedger.claimed_rewards`. * * Must be more than the number of eras delayed by session. * I.e. active era must always be in history. I.e. `active_era > @@ -414,26 +459,23 @@ declare module '@polkadot/api-base/types/consts' { * this should be set to same value or greater as in storage. * * Note: `HistoryDepth` is used as the upper bound for the `BoundedVec` - * item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than + * item `StakingLedger.claimed_rewards`. Setting this value lower than * the existing value can lead to inconsistencies in the * `StakingLedger` and will need to be handled properly in a migration. * The test `reducing_history_depth_abrupt` shows this effect. **/ historyDepth: u32 & AugmentedConst; /** - * The maximum size of each `T::ExposurePage`. - * - * An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize` - * nominators. - * - * For older non-paged exposure, a reward payout was restricted to the top - * `MaxExposurePageSize` nominators. This is to limit the i/o cost for the - * nominator payout. + * Maximum number of nominations per nominator. + **/ + maxNominations: u32 & AugmentedConst; + /** + * The maximum number of nominators rewarded for each validator. * - * Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce - * without handling it in a migration. + * For each validator only the `$MaxNominatorRewardedPerValidator` biggest stakers can + * claim their reward. This used to limit the i/o cost for the nominator payout. **/ - maxExposurePageSize: u32 & AugmentedConst; + maxNominatorRewardedPerValidator: u32 & AugmentedConst; /** * The maximum number of `unlocking` chunks a [`StakingLedger`] can * have. Effectively determines how many unique eras a staker may be @@ -447,6 +489,15 @@ declare module '@polkadot/api-base/types/consts' { * this effect. **/ maxUnlockingChunks: u32 & AugmentedConst; + /** + * Maximum amount of validators that can run by an identity. + * It will be MaxValidatorPerIdentity * Self::validator_count(). + **/ + maxValidatorPerIdentity: Permill & AugmentedConst; + /** + * Maximum amount of total issuance after which fixed rewards kicks in. + **/ + maxVariableInflationTotalIssuance: u128 & AugmentedConst; /** * Number of sessions per era. **/ @@ -495,46 +546,28 @@ declare module '@polkadot/api-base/types/consts' { **/ ss58Prefix: u16 & AugmentedConst; /** - * Get the chain's in-code version. + * Get the chain's current version. **/ version: SpVersionRuntimeVersion & AugmentedConst; }; timestamp: { /** - * The minimum period between blocks. - * - * Be aware that this is different to the *expected* period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to - * determine a sensible block time. For example, in the Aura pallet it will be double this - * period on default settings. + * The minimum period between blocks. Beware that this is different to the *expected* + * period that the block production apparatus provides. Your chosen consensus system will + * generally work with this to determine a sensible block time. e.g. For Aura, it will be + * double this period on default settings. **/ minimumPeriod: u64 & AugmentedConst; }; transactionPayment: { /** - * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their - * `priority` - * - * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later - * added to a tip component in regular `priority` calculations. - * It means that a `Normal` transaction can front-run a similarly-sized `Operational` - * extrinsic (with no tip), by including a tip value greater than the virtual tip. - * - * ```rust,ignore - * // For `Normal` - * let priority = priority_calc(tip); - * - * // For `Operational` - * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; - * let priority = priority_calc(tip + virtual_tip); - * ``` - * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` - * sent with the transaction. So, not only does the transaction get a priority bump based - * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` - * transactions. + * The fee to be paid for making a transaction; the per-byte portion. **/ - operationalFeeMultiplier: u8 & AugmentedConst; + transactionByteFee: u128 & AugmentedConst; + /** + * The polynomial that is applied in order to derive fee from weight. + **/ + weightToFeeConst: Vec & AugmentedConst; }; utility: { /** @@ -542,20 +575,5 @@ declare module '@polkadot/api-base/types/consts' { **/ batchedCallsLimit: u32 & AugmentedConst; }; - validators: { - /** - * Yearly total reward amount that gets distributed when fixed rewards kicks in. - **/ - fixedYearlyReward: u128 & AugmentedConst; - /** - * Maximum amount of validators that can run by an identity. - * It will be MaxValidatorPerIdentity * Self::validator_count(). - **/ - maxValidatorPerIdentity: Permill & AugmentedConst; - /** - * Maximum amount of total issuance after which fixed rewards kicks in. - **/ - maxVariableInflationTotalIssuance: u128 & AugmentedConst; - }; } // AugmentedConsts } // declare module diff --git a/src/polkadot/augment-api-errors.ts b/src/polkadot/augment-api-errors.ts index 3faa1c7..4d4b9d8 100644 --- a/src/polkadot/augment-api-errors.ts +++ b/src/polkadot/augment-api-errors.ts @@ -233,65 +233,25 @@ declare module '@polkadot/api-base/types/errors' { }; balances: { /** - * Beneficiary account must pre-exist. - **/ - DeadAccount: AugmentedError; - /** - * The delta cannot be zero. - **/ - DeltaZero: AugmentedError; - /** - * Value too low to create account due to existential deposit. + * Value too low to create account due to existential deposit **/ ExistentialDeposit: AugmentedError; /** - * A vesting schedule already exists for this account. - **/ - ExistingVestingSchedule: AugmentedError; - /** - * Transfer/payment would kill account. - **/ - Expendability: AugmentedError; - /** - * Balance too low to send value. + * Balance too low to send value **/ InsufficientBalance: AugmentedError; /** - * The issuance cannot be modified since it is already deactivated. - **/ - IssuanceDeactivated: AugmentedError; - /** - * Account liquidity restrictions prevent withdrawal. + * Account liquidity restrictions prevent withdrawal **/ LiquidityRestrictions: AugmentedError; /** - * Lock Identifier not Found - **/ - LockIdentifierNotFound: AugmentedError; - /** - * Max Locks Exceeded - **/ - MaxLocksExceeded: AugmentedError; - /** - * Balance Overflow + * Got an overflow after adding **/ Overflow: AugmentedError; /** - * Number of freezes exceed `MaxFreezes`. + * Receiver does not have a valid CDD **/ - TooManyFreezes: AugmentedError; - /** - * Number of holds exceed `VariantCountOf`. - **/ - TooManyHolds: AugmentedError; - /** - * Number of named reserves exceed `MaxReserves`. - **/ - TooManyReserves: AugmentedError; - /** - * Vesting balance too high to send value. - **/ - VestingBalance: AugmentedError; + ReceiverCddMissing: AugmentedError; }; base: { /** @@ -480,15 +440,221 @@ declare module '@polkadot/api-base/types/errors' { **/ WeightLimitExceeded: AugmentedError; }; - contracts: { + confidentialAssets: { + /** + * Confidential account already exists. + **/ + AccountAlreadyCreated: AugmentedError; + /** + * Confidential account has already registered that asset. + **/ + AccountAssetAlreadyRegistered: AugmentedError; + /** + * Confidential account hasn't been registered yet. + **/ + AccountMissing: AugmentedError; + /** + * Already affirmed. + **/ + AlreadyAffirmed: AugmentedError; + /** + * Amount overflow. + **/ + AmountOverflow: AugmentedError; + /** + * Confidential asset hasn't been registered yet. + **/ + AssetMissing: AugmentedError; + /** + * Asset state is invalid. + **/ + AssetStateInvalid: AugmentedError; + /** + * Batched settlement has invalid leg references. + **/ + BatchedSettlementInvalidLegRefs: AugmentedError; + /** + * Cannot go from finalized to pending. + **/ + CannotGoFromFinalizedToPending: AugmentedError; + /** + * Cannot go from finalized to rejected. + **/ + CannotGoFromFinalizedToRejected: AugmentedError; + /** + * Cannot go from pending to finalized. + **/ + CannotGoFromPendingToFinalized: AugmentedError; + /** + * Cannot go from rejected to finalized. + **/ + CannotGoFromRejectedToFinalized: AugmentedError; + /** + * Cannot reject a finalized settlement. + **/ + CannotRejectFinalizedSettlement: AugmentedError; + /** + * CurveTree error. + **/ + CurveTreeError: AugmentedError; + /** + * CurveTree parameters not set. + **/ + CurveTreeParametersNotSet: AugmentedError; + /** + * CurveTree root not found. + **/ + CurveTreeRootNotFound: AugmentedError; + /** + * Batch of proofs can't be empty. + **/ + EmptyBatchedProofs: AugmentedError; + /** + * Encryption key already registered. + **/ + EncryptionKeyAlreadyRegistered: AugmentedError; + /** + * Encryption key for the Confidential account is missing. + **/ + EncryptionKeyMissing: AugmentedError; + /** + * Confidential fee account already registered. + **/ + FeeAccountAlreadyRegistered: AugmentedError; + /** + * Confidential fee account hasn't been registered yet. + **/ + FeeAccountMissing: AugmentedError; + /** + * Insufficient fee payment amount. + **/ + InsufficientFeePaymentAmount: AugmentedError; + /** + * Invalid asset name. + **/ + InvalidAssetName: AugmentedError; + /** + * Invalid fee asset id. + **/ + InvalidFeeAssetId: AugmentedError; + /** + * Invalid Fee Payment proof. + **/ + InvalidFeePaymentProof: AugmentedError; + /** + * Invalid proof provided. + **/ + InvalidProof: AugmentedError; + /** + * Leaf not found in the curve tree. + **/ + LeafNotFound: AugmentedError; + /** + * Leg not affirmed. + **/ + LegNotAffirmed: AugmentedError; + /** + * Leg not found in the settlement. + **/ + LegNotFound: AugmentedError; + /** + * Leg not rejected. + **/ + LegNotRejected: AugmentedError; + /** + * The asset total supply cannot exceed the maximum total supply. + **/ + MaxTotalSupplyExceeded: AugmentedError; + /** + * Name too long for the asset. + **/ + NameTooLong: AugmentedError; + /** + * Confidential assets require at least one mediator or auditor. + **/ + NoAuditorsOrMediators: AugmentedError; + /** + * No current batch. + **/ + NoCurrentBatch: AugmentedError; + /** + * No mediators for this leg. + **/ + NoMediatorsForThisLeg: AugmentedError; + /** + * No pending affirmations for this settlement. + **/ + NoPendingAffirmations: AugmentedError; + /** + * The caller is not the owner of the Confidential account. + **/ + NotAccountOwner: AugmentedError; + /** + * The caller is not the owner of the Confidential asset. + **/ + NotAssetOwner: AugmentedError; + /** + * Not the last pending affirmation for the settlement. + **/ + NotLastPendingAffirmation: AugmentedError; + /** + * The nullifier for the account state commitment has already been used. + **/ + NullifierAlreadyUsed: AugmentedError; + /** + * Leg hasn't been affirmed by the receiver. + **/ + ReceiverHasNotAffirmed: AugmentedError; + /** + * Leg hasn't been affirmed by the sender. + **/ + SenderHasNotAffirmed: AugmentedError; + /** + * Settlement memo is too long. + **/ + SettlementMemoTooLong: AugmentedError; + /** + * Settlement is missing legs. + **/ + SettlementMissingLegs: AugmentedError; + /** + * Settlement not executed. + **/ + SettlementNotExecuted: AugmentedError; + /** + * Settlement not found. + **/ + SettlementNotFound: AugmentedError; + /** + * Settlement not pending. + **/ + SettlementNotPending: AugmentedError; + /** + * Settlement not rejected. + **/ + SettlementNotRejected: AugmentedError; + /** + * Settlement has too many legs. + **/ + SettlementTooManyLegs: AugmentedError; + /** + * Symbol too long for the asset. + **/ + SymbolTooLong: AugmentedError; /** - * Can not add a delegate dependency to the code hash of the contract itself. + * Too many decimals for the asset. **/ - CannotAddSelfAsDelegateDependency: AugmentedError; + TooManyDecimals: AugmentedError; /** - * No code info could be found at the supplied code hash. + * Too many mediators for this leg. **/ - CodeInfoNotFound: AugmentedError; + TooManyMediators: AugmentedError; + /** + * Wrong mediator id for this leg. + **/ + WrongMediatorId: AugmentedError; + }; + contracts: { /** * Code removal was denied because the code is still in use by at least one contract. **/ @@ -498,10 +664,10 @@ declare module '@polkadot/api-base/types/errors' { **/ CodeNotFound: AugmentedError; /** - * The contract's code was found to be invalid during validation. + * The contract's code was found to be invalid during validation or instrumentation. * * The most likely cause of this is that an API was used which is not supported by the - * node. This happens if an older node is used with a new version of ink!. Try updating + * node. This hapens if an older node is used with a new version of ink!. Try updating * your node to the newest available version. * * A more detailed error can be found on the node console if debug messages are enabled @@ -533,19 +699,19 @@ declare module '@polkadot/api-base/types/errors' { **/ DecodingFailed: AugmentedError; /** - * The contract already depends on the given delegate dependency. - **/ - DelegateDependencyAlreadyExists: AugmentedError; - /** - * The dependency was not found in the contract's delegate dependencies. + * Removal of a contract failed because the deletion queue is full. + * + * This can happen when calling `seal_terminate`. + * The queue is filled by deleting contracts and emptied by a fixed amount each block. + * Trying again during another block is the only way to resolve this issue. **/ - DelegateDependencyNotFound: AugmentedError; + DeletionQueueFull: AugmentedError; /** * A contract with the same AccountId already exists. **/ DuplicateContract: AugmentedError; /** - * An indeterministic code was used in a context where this is not permitted. + * An indetermistic code was used in a context where this is not permitted. **/ Indeterministic: AugmentedError; /** @@ -557,32 +723,20 @@ declare module '@polkadot/api-base/types/errors' { **/ InvalidCallFlags: AugmentedError; /** - * Invalid schedule supplied, e.g. with zero weight of a basic operation. + * A new schedule must have a greater version than the current one. **/ - InvalidSchedule: AugmentedError; + InvalidScheduleVersion: AugmentedError; /** * Performing a call was denied because the calling depth reached the limit * of what is specified in the schedule. **/ MaxCallDepthReached: AugmentedError; - /** - * The contract has reached its maximum number of delegate dependencies. - **/ - MaxDelegateDependenciesReached: AugmentedError; - /** - * A pending migration needs to complete before the extrinsic can be called. - **/ - MigrationInProgress: AugmentedError; /** * The chain does not provide a chain extension. Calling the chain extension results * in this error. Note that this usually shouldn't happen as deploying such contracts * is rejected. **/ NoChainExtension: AugmentedError; - /** - * Migrate dispatch call was attempted but no migration was performed. - **/ - NoMigrationPerformed: AugmentedError; /** * A buffer outside of sandbox memory was passed to a contract API function. **/ @@ -591,10 +745,6 @@ declare module '@polkadot/api-base/types/errors' { * The executed contract exhausted its gas limit. **/ OutOfGas: AugmentedError; - /** - * Can not add more data to transient storage. - **/ - OutOfTransientStorage: AugmentedError; /** * The output buffer supplied to a contract API call was too small. **/ @@ -605,15 +755,8 @@ declare module '@polkadot/api-base/types/errors' { RandomSubjectTooLong: AugmentedError; /** * A call tried to invoke a contract that is flagged as non-reentrant. - * The only other cause is that a call from a contract into the runtime tried to call back - * into `pallet-contracts`. This would make the whole pallet reentrant with regard to - * contract code execution which is not supported. **/ ReentranceDenied: AugmentedError; - /** - * A contract attempted to invoke a state modifying API while being in read-only mode. - **/ - StateChangeDenied: AugmentedError; /** * More storage was created than allowed by the storage deposit limit. **/ @@ -646,10 +789,6 @@ declare module '@polkadot/api-base/types/errors' { * The size defined in `T::MaxValueSize` was exceeded. **/ ValueTooLarge: AugmentedError; - /** - * Failed to decode the XCM program. - **/ - XCMDecodeFailed: AugmentedError; }; corporateAction: { /** @@ -783,10 +922,6 @@ declare module '@polkadot/api-base/types/errors' { * OCW submitted solution for wrong round **/ OcwCallWrongEra: AugmentedError; - /** - * Submission was prepared for a different round. - **/ - PreDispatchDifferentRound: AugmentedError; /** * Submission was too early. **/ @@ -1327,10 +1462,6 @@ declare module '@polkadot/api-base/types/errors' { * Invalid PIP ID. Pip id was not expected to be in the live queue. **/ InvalidPipId: AugmentedError; - /** - * TaskName cannot exceed 32 bytes. - **/ - InvalidTaskName: AugmentedError; /** * The current DID is missing. **/ @@ -1590,14 +1721,6 @@ declare module '@polkadot/api-base/types/errors' { * Preimage is too large to store on-chain. **/ TooBig: AugmentedError; - /** - * Too few hashes were requested to be upgraded (i.e. zero). - **/ - TooFew: AugmentedError; - /** - * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. - **/ - TooMany: AugmentedError; }; protocolFee: { /** @@ -1760,10 +1883,6 @@ declare module '@polkadot/api-base/types/errors' { * Offchain signature is invalid. **/ InvalidSignature: AugmentedError; - /** - * TaskName cannot exceed 32 bytes. - **/ - InvalidTaskName: AugmentedError; /** * Venue does not exist. **/ @@ -1906,10 +2025,6 @@ declare module '@polkadot/api-base/types/errors' { * Rewards for this era have already been claimed for this validator. **/ AlreadyClaimed: AugmentedError; - /** - * The stake of this account is already migrated to `Fungible` holds. - **/ - AlreadyMigrated: AugmentedError; /** * Controller is already paired. **/ @@ -1931,21 +2046,17 @@ declare module '@polkadot/api-base/types/errors' { **/ CannotChillOther: AugmentedError; /** - * Stash could not be reaped as other pallet might depend on it. - **/ - CannotReapStash: AugmentedError; - /** - * Cannot reset a ledger. + * Validator commiission is above maximum. **/ - CannotRestoreLedger: AugmentedError; + CommissionTooHigh: AugmentedError; /** * Commission is too low. Must be at least `MinCommission`. **/ CommissionTooLow: AugmentedError; /** - * Used when attempting to use deprecated controller account logic. + * New commission must be different from previous commission. **/ - ControllerDeprecated: AugmentedError; + CommissionUnchanged: AugmentedError; /** * Duplicate index. **/ @@ -1958,6 +2069,18 @@ declare module '@polkadot/api-base/types/errors' { * Attempting to target a stash that still has funds. **/ FundedTarget: AugmentedError; + /** + * Permissioned validator already exists. + **/ + IdentityIsAlreadyPermissioned: AugmentedError; + /** + * Identity has not gone throught CDD. + **/ + IdentityIsMissingCDD: AugmentedError; + /** + * Identity was not found in the permissioned identity pool. + **/ + IdentityNotFound: AugmentedError; /** * Incorrect previous history depth input provided. **/ @@ -1972,6 +2095,10 @@ declare module '@polkadot/api-base/types/errors' { * intention, `chill` first to remove one's role as validator/nominator. **/ InsufficientBond: AugmentedError; + /** + * When the intended number of validators to run is >= 2/3 of `validator_count`. + **/ + IntendedCountIsExceedingConsensusLimit: AugmentedError; /** * Invalid era to reward. **/ @@ -1980,10 +2107,6 @@ declare module '@polkadot/api-base/types/errors' { * Invalid number of nominations. **/ InvalidNumberOfNominations: AugmentedError; - /** - * No nominators exist on this page. - **/ - InvalidPage: AugmentedError; /** * Slash record index out of bounds. **/ @@ -1996,10 +2119,6 @@ declare module '@polkadot/api-base/types/errors' { * Not a controller account. **/ NotController: AugmentedError; - /** - * Not enough funds available to withdraw. - **/ - NotEnoughFunds: AugmentedError; /** * Items are not sorted and unique. **/ @@ -2013,14 +2132,17 @@ declare module '@polkadot/api-base/types/errors' { **/ NoUnlockChunk: AugmentedError; /** - * Account is restricted from participation in staking. This may happen if the account is - * staking in another way already, such as via pool. + * Validator or nominator stash identity does not exist. **/ - Restricted: AugmentedError; + StashIdentityDoesNotExist: AugmentedError; /** - * Provided reward destination is not allowed. + * Nominator stash has not gone through CDD. **/ - RewardDestinationRestricted: AugmentedError; + StashIdentityNotCDDed: AugmentedError; + /** + * Validator's stash identity is not permissioned. + **/ + StashIdentityNotPermissioned: AugmentedError; /** * There are too many nominators in the system. Governance needs to adjust the staking * settings to keep things safe for the runtime. @@ -2031,14 +2153,13 @@ declare module '@polkadot/api-base/types/errors' { **/ TooManyTargets: AugmentedError; /** - * There are too many validator candidates in the system. Governance needs to adjust the - * staking settings to keep things safe for the runtime. + * There are too many validator candidates in the system. **/ TooManyValidators: AugmentedError; /** - * Operation not allowed for virtual stakers. + * No validator was found for the given key. **/ - VirtualStakerNotAllowed: AugmentedError; + ValidatorNotFound: AugmentedError; }; statistics: { /** @@ -2150,10 +2271,6 @@ declare module '@polkadot/api-base/types/errors' { * and the new runtime. **/ InvalidSpecName: AugmentedError; - /** - * A multi-block migration is ongoing and prevents the current code from being replaced. - **/ - MultiBlockMigrationsOngoing: AugmentedError; /** * Suicide called when the account has non-default composite data. **/ @@ -2162,19 +2279,11 @@ declare module '@polkadot/api-base/types/errors' { * There is a non-zero reference count preventing the account from being purged. **/ NonZeroRefCount: AugmentedError; - /** - * No upgrade authorized. - **/ - NothingAuthorized: AugmentedError; /** * The specification version is not allowed to decrease between the current runtime * and the new runtime. **/ SpecVersionNeedsToIncrease: AugmentedError; - /** - * The submitted code is not authorized. - **/ - Unauthorized: AugmentedError; }; technicalCommittee: { /** @@ -2347,43 +2456,5 @@ declare module '@polkadot/api-base/types/errors' { **/ UnableToDeriveAccountId: AugmentedError; }; - validators: { - /** - * Validator commiission is above maximum. - **/ - CommissionTooHigh: AugmentedError; - /** - * New commission must be different from previous commission. - **/ - CommissionUnchanged: AugmentedError; - /** - * Permissioned validator already exists. - **/ - IdentityIsAlreadyPermissioned: AugmentedError; - /** - * Identity has not gone throught CDD. - **/ - IdentityIsMissingCDD: AugmentedError; - /** - * Identity was not found in the permissioned identity pool. - **/ - IdentityNotFound: AugmentedError; - /** - * When the intended number of validators to run is >= 2/3 of `validator_count`. - **/ - IntendedCountIsExceedingConsensusLimit: AugmentedError; - /** - * Validator or nominator stash identity does not exist. - **/ - StashIdentityDoesNotExist: AugmentedError; - /** - * Validator's stash identity is not permissioned. - **/ - StashIdentityNotPermissioned: AugmentedError; - /** - * No validator was found for the given key. - **/ - ValidatorNotFound: AugmentedError; - }; } // AugmentedErrors } // declare module diff --git a/src/polkadot/augment-api-events.ts b/src/polkadot/augment-api-events.ts index cfdbca0..3bedab1 100644 --- a/src/polkadot/augment-api-events.ts +++ b/src/polkadot/augment-api-events.ts @@ -12,6 +12,7 @@ import type { Null, Option, Result, + Text, U8aFixed, Vec, bool, @@ -23,9 +24,9 @@ import type { import type { ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime'; import type { + FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, - FrameSystemDispatchEventInfo, - PalletContractsOrigin, + PalletConfidentialAssetsSettlementSettlementStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, @@ -40,16 +41,25 @@ import type { PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, + PalletStakingExposure, PalletStakingForcing, - PalletStakingRewardDestination, + PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoFundingAsset, PalletStoFundraiser, - PalletValidatorsSlashingSwitch, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, + PolymeshDartBpAccountAccountStateCommitment, + PolymeshDartBpBatchedProofHash, + PolymeshDartBpFeeFeeAccountStateCommitment, + PolymeshDartBpKeysAccountPublicKey, + PolymeshDartBpKeysEncryptionPublicKey, + PolymeshDartBpLegLegRef, + PolymeshDartBpLegSettlementRef, + PolymeshDartCurveTreeCommonCompressedLeafValue, + PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, @@ -86,7 +96,6 @@ import type { SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, - SpStakingExposure, } from '@polkadot/types/lookup'; export type __AugmentedEvent = AugmentedEvent; @@ -404,189 +413,52 @@ declare module '@polkadot/api-base/types/events' { }; balances: { /** - * A balance was set by root. + * The account and the amount of unlocked balance of that account that was burned. + * (caller Id, caller account, amount) **/ - BalanceSet: AugmentedEvent< + AccountBalanceBurned: AugmentedEvent< ApiType, - [who: AccountId32, free: u128], - { who: AccountId32; free: u128 } + [PolymeshPrimitivesIdentityId, AccountId32, u128] >; /** - * Some amount was burned from an account. + * A balance was set by root (did, who, free, reserved). **/ - Burned: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * Some amount was deposited (e.g. for transaction fees). - **/ - Deposit: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, - * resulting in an outright loss. - **/ - DustLost: AugmentedEvent< - ApiType, - [account: AccountId32, amount: u128], - { account: AccountId32; amount: u128 } - >; - /** - * An account was created with some free balance. - **/ - Endowed: AugmentedEvent< - ApiType, - [account: AccountId32, freeBalance: u128], - { account: AccountId32; freeBalance: u128 } - >; + BalanceSet: AugmentedEvent; /** - * Some balance was frozen. + * An account was created with some free balance. \[did, account, free_balance] **/ - Frozen: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; + Endowed: AugmentedEvent, AccountId32, u128]>; /** - * Total issuance was increased by `amount`, creating a credit to be balanced. + * Some balance was reserved (moved from free to reserved). \[who, value] **/ - Issued: AugmentedEvent; - /** - * Some balance was locked. - **/ - Locked: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * Some amount was minted into an account. - **/ - Minted: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * Total issuance was decreased by `amount`, creating a debt to be balanced. - **/ - Rescinded: AugmentedEvent; - /** - * Some balance was reserved (moved from free to reserved). - **/ - Reserved: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; + Reserved: AugmentedEvent; /** * Some balance was moved from the reserve of the first account to the second account. * Final argument indicates the destination balance type. + * \[from, to, balance, destination_status] **/ ReserveRepatriated: AugmentedEvent< ApiType, - [ - from: AccountId32, - to: AccountId32, - amount: u128, - destinationStatus: FrameSupportTokensMiscBalanceStatus - ], - { - from: AccountId32; - to: AccountId32; - amount: u128; - destinationStatus: FrameSupportTokensMiscBalanceStatus; - } - >; - /** - * Some amount was restored into an account. - **/ - Restored: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * Some amount was removed from the account (e.g. for misbehavior). - **/ - Slashed: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * Some amount was suspended from an account (it can be restored later). - **/ - Suspended: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * Some balance was thawed. - **/ - Thawed: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } + [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus] >; /** - * The `TotalIssuance` was forcefully changed. - **/ - TotalIssuanceForced: AugmentedEvent< - ApiType, - [old: u128, new_: u128], - { old: u128; new_: u128 } - >; - /** - * Transfer succeeded. + * Transfer succeeded (from_did, from, to_did, to, value, memo). **/ Transfer: AugmentedEvent< ApiType, - [from: AccountId32, to: AccountId32, amount: u128], - { from: AccountId32; to: AccountId32; amount: u128 } - >; - /** - * Transfer with memo succeeded. - **/ - TransferMemo: AugmentedEvent< - ApiType, - [from: AccountId32, to: AccountId32, amount: u128, memo: Option], - { from: AccountId32; to: AccountId32; amount: u128; memo: Option } - >; - /** - * Some balance was unlocked. - **/ - Unlocked: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; - /** - * Some balance was unreserved (moved from reserved to free). - **/ - Unreserved: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } + [ + Option, + AccountId32, + Option, + AccountId32, + u128, + Option + ] >; /** - * An account was upgraded. - **/ - Upgraded: AugmentedEvent; - /** - * Some amount was withdrawn from the account (e.g. for transaction fees). + * Some balance was unreserved (moved from reserved to free). \[who, value] **/ - Withdraw: AugmentedEvent< - ApiType, - [who: AccountId32, amount: u128], - { who: AccountId32; amount: u128 } - >; + Unreserved: AugmentedEvent; }; base: { /** @@ -882,6 +754,314 @@ declare module '@polkadot/api-base/types/events' { [PolymeshPrimitivesIdentityId, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesIdentityId] >; }; + confidentialAssets: { + /** + * Account asset registered. + **/ + AccountAssetRegistered: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + account: PolymeshDartBpKeysAccountPublicKey, + assetId: u32 + ], + { + callerDid: PolymeshPrimitivesIdentityId; + account: PolymeshDartBpKeysAccountPublicKey; + assetId: u32; + } + >; + /** + * Account curve tree root updated. + **/ + AccountCurveTreeRootUpdated: AugmentedEvent< + ApiType, + [root: PolymeshDartCurveTreeCompressedCurveTreeRoot], + { root: PolymeshDartCurveTreeCompressedCurveTreeRoot } + >; + /** + * A new Confidential account has been registered. + **/ + AccountRegistered: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + account: PolymeshDartBpKeysAccountPublicKey, + encryptionKey: PolymeshDartBpKeysEncryptionPublicKey + ], + { + callerDid: PolymeshPrimitivesIdentityId; + account: PolymeshDartBpKeysAccountPublicKey; + encryptionKey: PolymeshDartBpKeysEncryptionPublicKey; + } + >; + /** + * Account curve tree leaf inserted. + * + * This curve tree is append-only, so we only store the new leaf. + **/ + AccountStateLeafInserted: AugmentedEvent< + ApiType, + [leafIndex: u64, accountCommitment: PolymeshDartBpAccountAccountStateCommitment], + { leafIndex: u64; accountCommitment: PolymeshDartBpAccountAccountStateCommitment } + >; + /** + * A new Confidential asset has been created. + **/ + AssetCreated: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + assetId: u32, + mediators: BTreeSet, + auditors: BTreeSet, + name: Text, + symbol_: Text, + decimals: u8, + data: Bytes + ], + { + callerDid: PolymeshPrimitivesIdentityId; + assetId: u32; + mediators: BTreeSet; + auditors: BTreeSet; + name: Text; + symbol: Text; + decimals: u8; + data: Bytes; + } + >; + /** + * Asset curve tree root updated. + **/ + AssetCurveTreeRootUpdated: AugmentedEvent< + ApiType, + [root: PolymeshDartCurveTreeCompressedCurveTreeRoot], + { root: PolymeshDartCurveTreeCompressedCurveTreeRoot } + >; + /** + * Minted Confidential asset. + **/ + AssetMinted: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + assetId: u32, + amount: u128, + totalSupply: u128, + account: PolymeshDartBpKeysAccountPublicKey + ], + { + callerDid: PolymeshPrimitivesIdentityId; + assetId: u32; + amount: u128; + totalSupply: u128; + account: PolymeshDartBpKeysAccountPublicKey; + } + >; + /** + * An asset state leaf has been updated. + * + * This curve tree is mutable, so we can update existing leaves. + **/ + AssetStateLeafUpdated: AugmentedEvent< + ApiType, + [leafIndex: u64, assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue], + { leafIndex: u64; assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue } + >; + /** + * A Confidential asset has been updated. + **/ + AssetUpdated: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + assetId: u32, + mediators: BTreeSet, + auditors: BTreeSet + ], + { + callerDid: PolymeshPrimitivesIdentityId; + assetId: u32; + mediators: BTreeSet; + auditors: BTreeSet; + } + >; + /** + * An encryption key has been registered. + **/ + EncryptionKeyRegistered: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + encryptionKey: PolymeshDartBpKeysEncryptionPublicKey + ], + { + callerDid: PolymeshPrimitivesIdentityId; + encryptionKey: PolymeshDartBpKeysEncryptionPublicKey; + } + >; + /** + * Fee account curve tree root updated. + **/ + FeeAccountCurveTreeRootUpdated: AugmentedEvent< + ApiType, + [root: PolymeshDartCurveTreeCompressedCurveTreeRoot], + { root: PolymeshDartCurveTreeCompressedCurveTreeRoot } + >; + /** + * POLYX deposited into the fee account. + **/ + FeeAccountDeposited: AugmentedEvent< + ApiType, + [sender: AccountId32, amount: u128], + { sender: AccountId32; amount: u128 } + >; + /** + * Fee account curve tree leaf inserted. + * + * This curve tree is append-only, so we only store the new leaf. + **/ + FeeAccountStateLeafInserted: AugmentedEvent< + ApiType, + [leafIndex: u64, feeAccountCommitment: PolymeshDartBpFeeFeeAccountStateCommitment], + { leafIndex: u64; feeAccountCommitment: PolymeshDartBpFeeFeeAccountStateCommitment } + >; + /** + * Fee account updated. + * + * This event is emitted for both registration and top-up of fee accounts. + **/ + FeeAccountUpdated: AugmentedEvent< + ApiType, + [ + callerDid: PolymeshPrimitivesIdentityId, + account: PolymeshDartBpKeysAccountPublicKey, + isRegistration: bool, + amount: u128 + ], + { + callerDid: PolymeshPrimitivesIdentityId; + account: PolymeshDartBpKeysAccountPublicKey; + isRegistration: bool; + amount: u128; + } + >; + /** + * POLYX withdrawn from the fee account. + **/ + FeeAccountWithdrawn: AugmentedEvent< + ApiType, + [receiver: AccountId32, amount: u128], + { receiver: AccountId32; amount: u128 } + >; + /** + * Mediator has affirmed a leg. + **/ + MediatorAffirmed: AugmentedEvent< + ApiType, + [legRef: PolymeshDartBpLegLegRef, keyIndex: u8], + { legRef: PolymeshDartBpLegLegRef; keyIndex: u8 } + >; + /** + * Mediator has rejected a leg. + **/ + MediatorRejected: AugmentedEvent< + ApiType, + [legRef: PolymeshDartBpLegLegRef, keyIndex: u8], + { legRef: PolymeshDartBpLegLegRef; keyIndex: u8 } + >; + /** + * Receiver has affirmed a leg. + **/ + ReceiverAffirmed: AugmentedEvent< + ApiType, + [legRef: PolymeshDartBpLegLegRef], + { legRef: PolymeshDartBpLegLegRef } + >; + /** + * Receiver has claimed assets. + **/ + ReceiverClaimed: AugmentedEvent< + ApiType, + [legRef: PolymeshDartBpLegLegRef], + { legRef: PolymeshDartBpLegLegRef } + >; + /** + * Relayer submitted batched proofs including fee payment. + **/ + RelayerBatchedProofs: AugmentedEvent< + ApiType, + [ + relayer: AccountId32, + amount: u128, + batchHash: PolymeshDartBpBatchedProofHash, + batchResult: Result + ], + { + relayer: AccountId32; + amount: u128; + batchHash: PolymeshDartBpBatchedProofHash; + batchResult: Result; + } + >; + /** + * Sender has affirmed a leg. + **/ + SenderAffirmed: AugmentedEvent< + ApiType, + [legRef: PolymeshDartBpLegLegRef], + { legRef: PolymeshDartBpLegLegRef } + >; + /** + * Sender updated counter. + **/ + SenderCounterUpdated: AugmentedEvent< + ApiType, + [legRef: PolymeshDartBpLegLegRef], + { legRef: PolymeshDartBpLegLegRef } + >; + /** + * Sender has reverted a leg. + **/ + SenderReverted: AugmentedEvent< + ApiType, + [legRef: PolymeshDartBpLegLegRef], + { legRef: PolymeshDartBpLegLegRef } + >; + /** + * Settlement created. + **/ + SettlementCreated: AugmentedEvent< + ApiType, + [ + settlementRef: PolymeshDartBpLegSettlementRef, + memo: Bytes, + assetRootBlock: u32, + legs: Vec + ], + { + settlementRef: PolymeshDartBpLegSettlementRef; + memo: Bytes; + assetRootBlock: u32; + legs: Vec; + } + >; + /** + * Settlement status updated. + **/ + SettlementStatusUpdated: AugmentedEvent< + ApiType, + [ + settlementRef: PolymeshDartBpLegSettlementRef, + status: PalletConfidentialAssetsSettlementSettlementStatus + ], + { + settlementRef: PolymeshDartBpLegSettlementRef; + status: PalletConfidentialAssetsSettlementSettlementStatus; + } + >; + }; contracts: { /** * A contract was called either by a plain account or another contract. @@ -894,25 +1074,17 @@ declare module '@polkadot/api-base/types/events' { **/ Called: AugmentedEvent< ApiType, - [caller: PalletContractsOrigin, contract: AccountId32], - { caller: PalletContractsOrigin; contract: AccountId32 } + [caller: AccountId32, contract: AccountId32], + { caller: AccountId32; contract: AccountId32 } >; /** * A code with the specified hash was removed. **/ - CodeRemoved: AugmentedEvent< - ApiType, - [codeHash: H256, depositReleased: u128, remover: AccountId32], - { codeHash: H256; depositReleased: u128; remover: AccountId32 } - >; + CodeRemoved: AugmentedEvent; /** * Code with the specified hash has been stored. **/ - CodeStored: AugmentedEvent< - ApiType, - [codeHash: H256, depositHeld: u128, uploader: AccountId32], - { codeHash: H256; depositHeld: u128; uploader: AccountId32 } - >; + CodeStored: AugmentedEvent; /** * A contract's code was updated. **/ @@ -951,22 +1123,6 @@ declare module '@polkadot/api-base/types/events' { [deployer: AccountId32, contract: AccountId32], { deployer: AccountId32; contract: AccountId32 } >; - /** - * Some funds have been transferred and held as storage deposit. - **/ - StorageDepositTransferredAndHeld: AugmentedEvent< - ApiType, - [from: AccountId32, to: AccountId32, amount: u128], - { from: AccountId32; to: AccountId32; amount: u128 } - >; - /** - * Some storage deposit funds have been transferred and released. - **/ - StorageDepositTransferredAndReleased: AugmentedEvent< - ApiType, - [from: AccountId32, to: AccountId32, amount: u128], - { from: AccountId32; to: AccountId32; amount: u128 } - >; /** * Contract has been removed. * @@ -1186,7 +1342,7 @@ declare module '@polkadot/api-base/types/events' { * A solution was stored with the given compute. * * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, - * the stored solution was submitted in the signed phase by a miner with the `AccountId`. + * the stored solution was submited in the signed phase by a miner with the `AccountId`. * Otherwise, the solution was stored either during the unsigned phase or by * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make * room for this one. @@ -1496,19 +1652,11 @@ declare module '@polkadot/api-base/types/events' { **/ SomeOffline: AugmentedEvent< ApiType, - [offline: Vec>], - { offline: Vec> } + [offline: Vec>], + { offline: Vec> } >; }; indices: { - /** - * A deposit to reserve an index has been poked/reconsidered. - **/ - DepositPoked: AugmentedEvent< - ApiType, - [who: AccountId32, index: u32, oldDeposit: u128, newDeposit: u128], - { who: AccountId32; index: u32; oldDeposit: u128; newDeposit: u128 } - >; /** * A account index was assigned. **/ @@ -1773,8 +1921,8 @@ declare module '@polkadot/api-base/types/events' { * * Parameters: * - `IdentityId`: The DID of the caller. - * - `BlockNumber`: The old enactment period. - * - `BlockNumber`: The new enactment period. + * - `T::BlockNumber`: The old enactment period. + * - `T::BlockNumber`: The new enactment period. **/ DefaultEnactmentPeriodChanged: AugmentedEvent< ApiType, @@ -1793,7 +1941,7 @@ declare module '@polkadot/api-base/types/events' { * Parameters: * - `IdentityId`: The DID of the caller. * - `PipId`: The ID of the PIP. - * - `BlockNumber`: The block number at which the PIP is scheduled for execution. + * - `T::BlockNumber`: The block number at which the PIP is scheduled for execution. **/ ExecutionScheduled: AugmentedEvent; /** @@ -1802,7 +1950,7 @@ declare module '@polkadot/api-base/types/events' { * Parameters: * - `IdentityId`: The DID of the caller. * - `PipId`: The ID of the PIP. - * - `BlockNumber`: The block number at which the PIP was scheduled for execution. + * - `T::BlockNumber`: The block number at which the PIP was scheduled for execution. **/ ExecutionSchedulingFailed: AugmentedEvent; /** @@ -1811,7 +1959,7 @@ declare module '@polkadot/api-base/types/events' { * Parameters: * - `IdentityId`: The DID of the caller. * - `PipId`: The ID of the PIP. - * - `BlockNumber`: The block number at which the PIP is scheduled for expiry. + * - `T::BlockNumber`: The block number at which the PIP is scheduled for expiry. **/ ExpiryScheduled: AugmentedEvent; /** @@ -1820,7 +1968,7 @@ declare module '@polkadot/api-base/types/events' { * Parameters: * - `IdentityId`: The DID of the caller. * - `PipId`: The ID of the PIP. - * - `BlockNumber`: The block number at which the PIP was scheduled for expiry. + * - `T::BlockNumber`: The block number at which the PIP was scheduled for expiry. **/ ExpirySchedulingFailed: AugmentedEvent; /** @@ -2272,10 +2420,6 @@ declare module '@polkadot/api-base/types/events' { >; }; scheduler: { - /** - * Agenda is incomplete from `when`. - **/ - AgendaIncomplete: AugmentedEvent; /** * The call for the provided hash was not found so the task has been aborted. **/ @@ -2320,31 +2464,6 @@ declare module '@polkadot/api-base/types/events' { [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** - * Cancel a retry configuration for some task. - **/ - RetryCancelled: AugmentedEvent< - ApiType, - [task: ITuple<[u32, u32]>, id: Option], - { task: ITuple<[u32, u32]>; id: Option } - >; - /** - * The given task was unable to be retried since the agenda is full at that block or there - * was not enough weight to reschedule it. - **/ - RetryFailed: AugmentedEvent< - ApiType, - [task: ITuple<[u32, u32]>, id: Option], - { task: ITuple<[u32, u32]>; id: Option } - >; - /** - * Set a retry configuration for some task. - **/ - RetrySet: AugmentedEvent< - ApiType, - [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], - { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } - >; /** * Scheduled some task. **/ @@ -2356,22 +2475,6 @@ declare module '@polkadot/api-base/types/events' { * block number as the type might suggest. **/ NewSession: AugmentedEvent; - /** - * Validator has been disabled. - **/ - ValidatorDisabled: AugmentedEvent< - ApiType, - [validator: AccountId32], - { validator: AccountId32 } - >; - /** - * Validator has been re-enabled. - **/ - ValidatorReenabled: AugmentedEvent< - ApiType, - [validator: AccountId32], - { validator: AccountId32 } - >; }; settlement: { /** @@ -2545,25 +2648,28 @@ declare module '@polkadot/api-base/types/events' { **/ Bonded: AugmentedEvent< ApiType, - [stash: AccountId32, amount: u128], - { stash: AccountId32; amount: u128 } + [identity: PolymeshPrimitivesIdentityId, stash: AccountId32, amount: u128], + { identity: PolymeshPrimitivesIdentityId; stash: AccountId32; amount: u128 } >; /** * An account has stopped participating as either a validator or nominator. **/ Chilled: AugmentedEvent; /** - * Report of a controller batch deprecation. - **/ - ControllerBatchDeprecated: AugmentedEvent; - /** - * Staking balance migrated from locks to holds, with any balance that could not be held - * is force withdrawn. + * Commission cap has been updated. **/ - CurrencyMigrated: AugmentedEvent< + CommissionCapUpdated: AugmentedEvent< ApiType, - [stash: AccountId32, forceWithdraw: u128], - { stash: AccountId32; forceWithdraw: u128 } + [ + governanceCouncillDid: PolymeshPrimitivesIdentityId, + oldCommissionCap: Perbill, + newCommissionCap: Perbill + ], + { + governanceCouncillDid: PolymeshPrimitivesIdentityId; + oldCommissionCap: Perbill; + newCommissionCap: Perbill; + } >; /** * The era payout has been set; the first balance is the validator-payout; the second is @@ -2582,6 +2688,22 @@ declare module '@polkadot/api-base/types/events' { [mode: PalletStakingForcing], { mode: PalletStakingForcing } >; + /** + * Remove the nominators from the valid nominators when there CDD expired. + **/ + InvalidatedNominators: AugmentedEvent< + ApiType, + [ + governanceCouncillDid: PolymeshPrimitivesIdentityId, + governanceCouncillAccount: PolymeshPrimitivesIdentityId, + expiredNominators: Vec + ], + { + governanceCouncillDid: PolymeshPrimitivesIdentityId; + governanceCouncillAccount: PolymeshPrimitivesIdentityId; + expiredNominators: Vec; + } + >; /** * A nominator has been kicked from a validator. **/ @@ -2590,6 +2712,22 @@ declare module '@polkadot/api-base/types/events' { [nominator: AccountId32, stash: AccountId32], { nominator: AccountId32; stash: AccountId32 } >; + /** + * User has updated their nominations. + **/ + Nominated: AugmentedEvent< + ApiType, + [ + nominatorIdentity: PolymeshPrimitivesIdentityId, + stash: AccountId32, + targets: Vec + ], + { + nominatorIdentity: PolymeshPrimitivesIdentityId; + stash: AccountId32; + targets: Vec; + } + >; /** * An old slashing report from a prior era was discarded because it could * not be processed. @@ -2600,20 +2738,56 @@ declare module '@polkadot/api-base/types/events' { { sessionIndex: u32 } >; /** - * A Page of stakers rewards are getting paid. `next` is `None` if all pages are claimed. + * The stakers' rewards are getting paid. **/ PayoutStarted: AugmentedEvent< ApiType, - [eraIndex: u32, validatorStash: AccountId32, page: u32, next: Option], - { eraIndex: u32; validatorStash: AccountId32; page: u32; next: Option } + [eraIndex: u32, validatorStash: AccountId32], + { eraIndex: u32; validatorStash: AccountId32 } + >; + /** + * An identity has issued a candidacy for becoming a validator. + **/ + PermissionedIdentityAdded: AugmentedEvent< + ApiType, + [ + governanceCouncillDid: PolymeshPrimitivesIdentityId, + validatorsIdentity: PolymeshPrimitivesIdentityId + ], + { + governanceCouncillDid: PolymeshPrimitivesIdentityId; + validatorsIdentity: PolymeshPrimitivesIdentityId; + } >; /** - * The nominator has been rewarded by this amount to this destination. + * An identity has been removed from the permissioned identities pool. + **/ + PermissionedIdentityRemoved: AugmentedEvent< + ApiType, + [ + governanceCouncillDid: PolymeshPrimitivesIdentityId, + validatorsIdentity: PolymeshPrimitivesIdentityId + ], + { + governanceCouncillDid: PolymeshPrimitivesIdentityId; + validatorsIdentity: PolymeshPrimitivesIdentityId; + } + >; + /** + * The nominator has been rewarded by this amount. **/ Rewarded: AugmentedEvent< ApiType, - [stash: AccountId32, dest: PalletStakingRewardDestination, amount: u128], - { stash: AccountId32; dest: PalletStakingRewardDestination; amount: u128 } + [identity: PolymeshPrimitivesIdentityId, stash: AccountId32, amount: u128], + { identity: PolymeshPrimitivesIdentityId; stash: AccountId32; amount: u128 } + >; + /** + * Reward scheduling interrupted. + **/ + RewardPaymentSchedulingInterrupted: AugmentedEvent< + ApiType, + [accountId: AccountId32, era: u32, error: SpRuntimeDispatchError], + { accountId: AccountId32; era: u32; error: SpRuntimeDispatchError } >; /** * A staker (validator or nominator) has been slashed by the given amount. @@ -2623,6 +2797,14 @@ declare module '@polkadot/api-base/types/events' { [staker: AccountId32, amount: u128], { staker: AccountId32; amount: u128 } >; + /** + * Slashing allowed has been updated. + **/ + SlashingAllowedForChanged: AugmentedEvent< + ApiType, + [slashingSwitch: PalletStakingSlashingSwitch], + { slashingSwitch: PalletStakingSlashingSwitch } + >; /** * A slash for the given validator, for the given percentage of their stake, at the given * era as been reported. @@ -2632,14 +2814,6 @@ declare module '@polkadot/api-base/types/events' { [validator: AccountId32, fraction: Perbill, slashEra: u32], { validator: AccountId32; fraction: Perbill; slashEra: u32 } >; - /** - * Targets size limit reached. - **/ - SnapshotTargetsSizeExceeded: AugmentedEvent; - /** - * Voters size limit reached. - **/ - SnapshotVotersSizeExceeded: AugmentedEvent; /** * A new set of stakers was elected. **/ @@ -2653,8 +2827,8 @@ declare module '@polkadot/api-base/types/events' { **/ Unbonded: AugmentedEvent< ApiType, - [stash: AccountId32, amount: u128], - { stash: AccountId32; amount: u128 } + [identity: PolymeshPrimitivesIdentityId, stash: AccountId32, amount: u128], + { identity: PolymeshPrimitivesIdentityId; stash: AccountId32; amount: u128 } >; /** * A validator has set their preferences. @@ -2941,16 +3115,16 @@ declare module '@polkadot/api-base/types/events' { **/ ExtrinsicFailed: AugmentedEvent< ApiType, - [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo], - { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSystemDispatchEventInfo } + [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], + { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } >; /** * An extrinsic completed successfully. **/ ExtrinsicSuccess: AugmentedEvent< ApiType, - [dispatchInfo: FrameSystemDispatchEventInfo], - { dispatchInfo: FrameSystemDispatchEventInfo } + [dispatchInfo: FrameSupportDispatchDispatchInfo], + { dispatchInfo: FrameSupportDispatchDispatchInfo } >; /** * An account was reaped. @@ -2960,14 +3134,6 @@ declare module '@polkadot/api-base/types/events' { * A new account was created. **/ NewAccount: AugmentedEvent; - /** - * An invalid authorized upgrade was rejected while trying to apply it. - **/ - RejectedInvalidAuthorizedUpgrade: AugmentedEvent< - ApiType, - [codeHash: H256, error: SpRuntimeDispatchError], - { codeHash: H256; error: SpRuntimeDispatchError } - >; /** * On on-chain remark happened. **/ @@ -2976,14 +3142,6 @@ declare module '@polkadot/api-base/types/events' { [sender: AccountId32, hash_: H256], { sender: AccountId32; hash_: H256 } >; - /** - * An upgrade was authorized. - **/ - UpgradeAuthorized: AugmentedEvent< - ApiType, - [codeHash: H256, checkVersion: bool], - { codeHash: H256; checkVersion: bool } - >; }; technicalCommittee: { /** @@ -3338,99 +3496,5 @@ declare module '@polkadot/api-base/types/events' { } >; }; - validators: { - /** - * Commission cap has been updated. - **/ - CommissionCapUpdated: AugmentedEvent< - ApiType, - [ - governanceCouncillDid: PolymeshPrimitivesIdentityId, - oldCommissionCap: Perbill, - newCommissionCap: Perbill - ], - { - governanceCouncillDid: PolymeshPrimitivesIdentityId; - oldCommissionCap: Perbill; - newCommissionCap: Perbill; - } - >; - /** - * Remove the nominators from the valid nominators when there CDD expired. - **/ - InvalidatedNominators: AugmentedEvent< - ApiType, - [ - governanceCouncillDid: PolymeshPrimitivesIdentityId, - governanceCouncillAccount: PolymeshPrimitivesIdentityId, - expiredNominators: Vec - ], - { - governanceCouncillDid: PolymeshPrimitivesIdentityId; - governanceCouncillAccount: PolymeshPrimitivesIdentityId; - expiredNominators: Vec; - } - >; - /** - * User has updated their nominations. - **/ - Nominated: AugmentedEvent< - ApiType, - [ - nominatorIdentity: PolymeshPrimitivesIdentityId, - stash: AccountId32, - targets: Vec - ], - { - nominatorIdentity: PolymeshPrimitivesIdentityId; - stash: AccountId32; - targets: Vec; - } - >; - /** - * An identity has issued a candidacy for becoming a validator. - **/ - PermissionedIdentityAdded: AugmentedEvent< - ApiType, - [ - governanceCouncillDid: PolymeshPrimitivesIdentityId, - validatorsIdentity: PolymeshPrimitivesIdentityId - ], - { - governanceCouncillDid: PolymeshPrimitivesIdentityId; - validatorsIdentity: PolymeshPrimitivesIdentityId; - } - >; - /** - * An identity has been removed from the permissioned identities pool. - **/ - PermissionedIdentityRemoved: AugmentedEvent< - ApiType, - [ - governanceCouncillDid: PolymeshPrimitivesIdentityId, - validatorsIdentity: PolymeshPrimitivesIdentityId - ], - { - governanceCouncillDid: PolymeshPrimitivesIdentityId; - validatorsIdentity: PolymeshPrimitivesIdentityId; - } - >; - /** - * Reward scheduling interrupted. - **/ - RewardPaymentSchedulingInterrupted: AugmentedEvent< - ApiType, - [accountId: AccountId32, era: u32, error: SpRuntimeDispatchError], - { accountId: AccountId32; era: u32; error: SpRuntimeDispatchError } - >; - /** - * Slashing allowed has been updated. - **/ - SlashingAllowedForChanged: AugmentedEvent< - ApiType, - [slashingSwitch: PalletValidatorsSlashingSwitch], - { slashingSwitch: PalletValidatorsSlashingSwitch } - >; - }; } // AugmentedEvents } // declare module diff --git a/src/polkadot/augment-api-query.ts b/src/polkadot/augment-api-query.ts index c6496f4..24985a9 100644 --- a/src/polkadot/augment-api-query.ts +++ b/src/polkadot/augment-api-query.ts @@ -11,10 +11,10 @@ import type { Bytes, Null, Option, - Struct, Text, U8aFixed, Vec, + WrapperOpaque, bool, u128, u16, @@ -33,22 +33,23 @@ import type { } from '@polkadot/types/interfaces/runtime'; import type { FrameSupportDispatchPerDispatchClassWeight, - FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, - FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, - PalletBalancesAccountData, PalletBalancesBalanceLock, - PalletBalancesReserveData, PalletCommitteePolymeshVotes, + PalletConfidentialAssetsDartAssetDetail, + PalletConfidentialAssetsSettlementAffirmationStatus, + PalletConfidentialAssetsSettlementLegAffirmParty, + PalletConfidentialAssetsSettlementSettlementStatus, PalletContractsStorageContractInfo, - PalletContractsStorageDeletionQueueManager, - PalletContractsWasmCodeInfo, + PalletContractsStorageDeletedContract, + PalletContractsWasmOwnerInfo, + PalletContractsWasmPrefabWasmModule, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, @@ -65,6 +66,7 @@ import type { PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, + PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletPipsDepositInfo, PalletPipsPip, @@ -74,25 +76,24 @@ import type { PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, - PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRelayerSubsidy, - PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, + PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, + PalletStakingPermissionedIdentityPrefs, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, + PalletStakingSlashingSwitch, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, - PalletValidatorsPermissionedIdentityPrefs, - PalletValidatorsSlashingSwitch, PolymeshCommonUtilitiesCheckpointNextCheckpoints, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesProtocolFeeProtocolOp, @@ -100,6 +101,17 @@ import type { PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, + PolymeshDartBpAccountAccountStateCommitment, + PolymeshDartBpAccountAccountStateNullifier, + PolymeshDartBpFeeFeeAccountStateCommitment, + PolymeshDartBpFeeFeeAccountStateNullifier, + PolymeshDartBpKeysAccountPublicKey, + PolymeshDartBpKeysEncryptionPublicKey, + PolymeshDartBpLegSettlementRef, + PolymeshDartCurveTreeCommonCompressedInner, + PolymeshDartCurveTreeCommonCompressedLeafValue, + PolymeshDartCurveTreeCommonNodeLocation, + PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetIdentifier, @@ -138,22 +150,15 @@ import type { PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, - PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, PolymeshRuntimeDevelopRuntimeSessionKeys, - SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, - SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, - SpStakingExposure, - SpStakingExposurePage, SpStakingOffenceOffenceDetails, - SpStakingPagedExposureMetadata, - SpWeightsWeightV2Weight, } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; @@ -476,16 +481,6 @@ declare module '@polkadot/api-base/types/storage' { [PolymeshPrimitivesTicker] >; }; - authorityDiscovery: { - /** - * Keys of the current authority set. - **/ - keys: AugmentedQuery Observable>, []>; - /** - * Keys of the next authority set. - **/ - nextKeys: AugmentedQuery Observable>, []>; - }; authorship: { /** * Author of current block. @@ -630,85 +625,15 @@ declare module '@polkadot/api-base/types/storage' { >; }; balances: { - /** - * The Balances pallet example of storing the balance of an account. - * - * # Example - * - * ```nocompile - * impl pallet_balances::Config for Runtime { - * type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> - * } - * ``` - * - * You can also store the balance of an account in the `System` pallet. - * - * # Example - * - * ```nocompile - * impl pallet_balances::Config for Runtime { - * type AccountStore = System - * } - * ``` - * - * But this comes with tradeoffs, storing account balances in the system pallet stores - * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. - * NOTE: This is only used in the case that this pallet is used to store balances. - **/ - account: AugmentedQuery< - ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable, - [AccountId32] - >; - /** - * Freeze locks on account balances. - **/ - freezes: AugmentedQuery< - ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable>, - [AccountId32] - >; - /** - * Holds on account balances. - **/ - holds: AugmentedQuery< - ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable< - Vec< - { - readonly id: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason; - readonly amount: u128; - } & Struct - > - >, - [AccountId32] - >; - /** - * The total units of outstanding deactivated balance in the system. - **/ - inactiveIssuance: AugmentedQuery Observable, []>; /** * Any liquidity locks on some account balances. * NOTE: Should only be accessed when setting, changing and freeing a lock. - * - * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` **/ locks: AugmentedQuery< ApiType, (arg: AccountId32 | string | Uint8Array) => Observable>, [AccountId32] >; - /** - * Named reserves on some account balances. - * - * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` - **/ - reserves: AugmentedQuery< - ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable>, - [AccountId32] - >; /** * The total units issued in the system. **/ @@ -964,13 +889,456 @@ declare module '@polkadot/api-base/types/storage' { [PolymeshPrimitivesAssetAssetId] >; }; + confidentialAssets: { + /** + * Confidential account asset registrations. + * + * The chain must prevent the same account from registering the same asset multiple times. + * + * This is a double map where the first key is the account public key and the second key is the asset ID. + **/ + accountAssetRegistrations: AugmentedQuery< + ApiType, + ( + arg1: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array, + arg2: u32 | AnyNumber | Uint8Array + ) => Observable, + [PolymeshDartBpKeysAccountPublicKey, u32] + >; + /** + * The current CurveTree Root for Confidential accounts curve tree. + **/ + accountCurveTreeCurrentRoot: AugmentedQuery< + ApiType, + () => Observable>, + [] + >; + /** + * The block number of the last account curve tree root update. + * + * This is used to track the last time the account curve tree was updated. + **/ + accountCurveTreeLastUpdate: AugmentedQuery Observable, []>; + /** + * CurveTree Roots for Confidential accounts curve tree. + * + * At the end of each block we will store the root of the accounts curve tree. + * The map key is the block number and the value is the root of the accounts curve tree. + **/ + accountCurveTreeRoots: AugmentedQuery< + ApiType, + ( + arg: u32 | AnyNumber | Uint8Array + ) => Observable>, + [u32] + >; + /** + * Confidential account to identity mapping. + **/ + accountDid: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array + ) => Observable>, + [PolymeshDartBpKeysAccountPublicKey] + >; + /** + * Mapping of Confidential account public keys to their encryption keys. + **/ + accountEncryptionKey: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array + ) => Observable>, + [PolymeshDartBpKeysAccountPublicKey] + >; + /** + * Inner node storage for Confidential accounts curve tree. + **/ + accountInnerNodes: AugmentedQuery< + ApiType, + ( + arg: + | PolymeshDartCurveTreeCommonNodeLocation + | { Leaf: any } + | { Odd: any } + | { Even: any } + | string + | Uint8Array + ) => Observable>, + [PolymeshDartCurveTreeCommonNodeLocation] + >; + /** + * Leaf storage for Confidential accounts curve tree. + * + * The leaves are immutable, so we use a simple storage map. + **/ + accountLeaves: AugmentedQuery< + ApiType, + ( + arg: u64 | AnyNumber | Uint8Array + ) => Observable>, + [u64] + >; + /** + * Nullifiers for Confidential account state commitments. + * + * This is used to ensure that the same account state commitment cannot be used twice. + **/ + accountStateCommitmentNullifiers: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpAccountAccountStateNullifier | string | Uint8Array + ) => Observable>, + [PolymeshDartBpAccountAccountStateNullifier] + >; + /** + * The current CurveTree Root for Confidential assets curve tree. + **/ + assetCurveTreeCurrentRoot: AugmentedQuery< + ApiType, + () => Observable>, + [] + >; + /** + * The block number of the last asset curve tree root update. + * + * This is used to track the last time the asset curve tree was updated. + **/ + assetCurveTreeLastUpdate: AugmentedQuery Observable, []>; + /** + * CurveTree Roots for Confidential assets curve tree. + * + * At the end of each block we will store the root of the assets curve tree. + * The map key is the block number and the value is the root of the assets curve tree. + **/ + assetCurveTreeRoots: AugmentedQuery< + ApiType, + ( + arg: u32 | AnyNumber | Uint8Array + ) => Observable>, + [u32] + >; + /** + * Inner node storage for Confidential assets curve tree. + **/ + assetInnerNodes: AugmentedQuery< + ApiType, + ( + arg: + | PolymeshDartCurveTreeCommonNodeLocation + | { Leaf: any } + | { Odd: any } + | { Even: any } + | string + | Uint8Array + ) => Observable>, + [PolymeshDartCurveTreeCommonNodeLocation] + >; + /** + * Leaf storage for Confidential assets curve tree. + * + * A counted map is used since we need to support updating the leaves in the tree. + **/ + assetLeaves: AugmentedQuery< + ApiType, + ( + arg: u64 | AnyNumber | Uint8Array + ) => Observable>, + [u64] + >; + /** + * Cache wrapped account curve tree parameters. + **/ + cachedAccountCurveTreeParameters: AugmentedQuery< + ApiType, + () => Observable>, + [] + >; + /** + * Cache wrapped asset curve tree parameters. + **/ + cachedAssetCurveTreeParameters: AugmentedQuery Observable>, []>; + /** + * A Confidential assets token decimals. + **/ + confidentialAssetDecimals: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + >; + /** + * A Confidential assets token name. + **/ + confidentialAssetNames: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + >; + /** + * A Confidential assets token symbol. + **/ + confidentialAssetSymbols: AugmentedQuery< + ApiType, + (arg: u32 | AnyNumber | Uint8Array) => Observable>, + [u32] + >; + /** + * Counter for the related counted storage map + **/ + counterForAssetLeaves: AugmentedQuery Observable, []>; + /** + * The BatchId for the current block. + **/ + currentBatchId: AugmentedQuery Observable>, []>; + /** + * Mapping of Confidential Asset ID to its details. + **/ + dartAssetDetails: AugmentedQuery< + ApiType, + ( + arg: u32 | AnyNumber | Uint8Array + ) => Observable>, + [u32] + >; + /** + * Mapping of identity to their Confidential accounts. + **/ + didAccounts: AugmentedQuery< + ApiType, + ( + arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, + arg2: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array + ) => Observable>, + [PolymeshPrimitivesIdentityId, PolymeshDartBpKeysAccountPublicKey] + >; + /** + * Mapping of Confidential encryption keys to their public keys. + **/ + encryptionKeyAccount: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpKeysEncryptionPublicKey | string | Uint8Array + ) => Observable>, + [PolymeshDartBpKeysEncryptionPublicKey] + >; + /** + * Encryption key to identity mapping. + * + * This is used for the auditor and mediator encryption keys. + **/ + encryptionKeyDid: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpKeysEncryptionPublicKey | string | Uint8Array + ) => Observable>, + [PolymeshDartBpKeysEncryptionPublicKey] + >; + /** + * The current CurveTree Root for Confidential fee accounts curve tree. + **/ + feeAccountCurveTreeCurrentRoot: AugmentedQuery< + ApiType, + () => Observable>, + [] + >; + /** + * The block number of the last fee account curve tree root update. + * + * This is used to track the last time the fee account curve tree was updated. + **/ + feeAccountCurveTreeLastUpdate: AugmentedQuery Observable, []>; + /** + * CurveTree Roots for Confidential fee accounts curve tree. + * + * At the end of each block we will store the root of the fee accounts curve tree. + * The map key is the block number and the value is the root of the fee accounts curve tree. + **/ + feeAccountCurveTreeRoots: AugmentedQuery< + ApiType, + ( + arg: u32 | AnyNumber | Uint8Array + ) => Observable>, + [u32] + >; + /** + * Confidential fee account to identity mapping. + **/ + feeAccountDid: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array + ) => Observable>, + [PolymeshDartBpKeysAccountPublicKey] + >; + /** + * Inner node storage for Confidential fee accounts curve tree. + **/ + feeAccountInnerNodes: AugmentedQuery< + ApiType, + ( + arg: + | PolymeshDartCurveTreeCommonNodeLocation + | { Leaf: any } + | { Odd: any } + | { Even: any } + | string + | Uint8Array + ) => Observable>, + [PolymeshDartCurveTreeCommonNodeLocation] + >; + /** + * Leaf storage for Confidential fee accounts curve tree. + * + * The leaves are immutable, so we use a simple storage map. + **/ + feeAccountLeaves: AugmentedQuery< + ApiType, + ( + arg: u64 | AnyNumber | Uint8Array + ) => Observable>, + [u64] + >; + /** + * Confidential fee account egistrations. + * + * The chain must prevent the same account from registering the multiple times. + **/ + feeAccountRegistrations: AugmentedQuery< + ApiType, + (arg: PolymeshDartBpKeysAccountPublicKey | string | Uint8Array) => Observable, + [PolymeshDartBpKeysAccountPublicKey] + >; + /** + * Nullifiers for Confidential fee account state commitments. + * + * This is used to ensure that the same fee account state commitment cannot be used twice. + **/ + feeAccountStateCommitmentNullifiers: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpFeeFeeAccountStateNullifier | string | Uint8Array + ) => Observable>, + [PolymeshDartBpFeeFeeAccountStateNullifier] + >; + /** + * The last committed leaf index for Confidential accounts curve tree. + * + * This is used to do batched inserts into the tree. + **/ + lastCommittedAccountLeafIndex: AugmentedQuery Observable, []>; + /** + * The last committed leaf index for Confidential fee accounts curve tree. + * + * This is used to do batched inserts into the tree. + **/ + lastCommittedFeeAccountLeafIndex: AugmentedQuery Observable, []>; + /** + * The affirmation status of each party in a settlement leg. + * This is a triple map where the first key is the settlement ID, the second key is the leg ID, and the third key is the party (sender, receiver, mediator). + **/ + legAffirmationStatus: AugmentedQuery< + ApiType, + ( + arg1: PolymeshDartBpLegSettlementRef | string | Uint8Array, + arg2: u8 | AnyNumber | Uint8Array, + arg3: + | PalletConfidentialAssetsSettlementLegAffirmParty + | { Sender: any } + | { Receiver: any } + | { Mediator: any } + | string + | Uint8Array + ) => Observable>, + [PolymeshDartBpLegSettlementRef, u8, PalletConfidentialAssetsSettlementLegAffirmParty] + >; + /** + * Next leaf index for Confidential accounts curve tree. + * + * This is used to allocate new leaves in the tree. + **/ + nextAccountLeafIndex: AugmentedQuery Observable, []>; + /** + * Next Asset ID to be used for Confidential assets. + **/ + nextAssetId: AugmentedQuery Observable, []>; + /** + * Next leaf index for Confidential fee accounts curve tree. + * + * This is used to allocate new leaves in the tree. + **/ + nextFeeAccountLeafIndex: AugmentedQuery Observable, []>; + /** + * Mapping of asset owner to their assets. + **/ + ownerAssets: AugmentedQuery< + ApiType, + ( + arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, + arg2: u32 | AnyNumber | Uint8Array + ) => Observable>, + [PolymeshPrimitivesIdentityId, u32] + >; + /** + * The settlement legs. + * + * This is a double map where the first key is the settlement ID and the second key is the leg ID. + * The value is the DartSettlementLeg. + **/ + settlementLegs: AugmentedQuery< + ApiType, + ( + arg1: PolymeshDartBpLegSettlementRef | string | Uint8Array, + arg2: u8 | AnyNumber | Uint8Array + ) => Observable>, + [PolymeshDartBpLegSettlementRef, u8] + >; + /** + * The settlement memo. + **/ + settlementMemo: AugmentedQuery< + ApiType, + (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable>, + [PolymeshDartBpLegSettlementRef] + >; + /** + * The number of pending affirmations for a settlement. + * This is used to track when a settlement can be executed. + **/ + settlementPendingAffirmations: AugmentedQuery< + ApiType, + (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable, + [PolymeshDartBpLegSettlementRef] + >; + /** + * The number of pending finalizations for a settlement. + * This is used to track when a settlement can be finalized and all storage can be cleaned up. + **/ + settlementPendingFinalizations: AugmentedQuery< + ApiType, + (arg: PolymeshDartBpLegSettlementRef | string | Uint8Array) => Observable, + [PolymeshDartBpLegSettlementRef] + >; + /** + * The settlement status. + **/ + settlementState: AugmentedQuery< + ApiType, + ( + arg: PolymeshDartBpLegSettlementRef | string | Uint8Array + ) => Observable>, + [PolymeshDartBpLegSettlementRef] + >; + }; contracts: { /** - * A mapping from a contract's code hash to its code info. + * A mapping between an original code hash and instrumented wasm code, ready for execution. **/ - codeInfoOf: AugmentedQuery< + codeStorage: AugmentedQuery< ApiType, - (arg: H256 | string | Uint8Array) => Observable>, + ( + arg: H256 | string | Uint8Array + ) => Observable>, [H256] >; /** @@ -989,27 +1357,13 @@ declare module '@polkadot/api-base/types/storage' { * Evicted contracts that await child trie deletion. * * Child trie deletion is a heavy operation depending on the amount of storage items - * stored in said trie. Therefore this operation is performed lazily in `on_idle`. + * stored in said trie. Therefore this operation is performed lazily in `on_initialize`. **/ deletionQueue: AugmentedQuery< ApiType, - (arg: u32 | AnyNumber | Uint8Array) => Observable>, - [u32] - >; - /** - * A pair of monotonic counters used to track the latest contract marked for deletion - * and the latest deleted contract in queue. - **/ - deletionQueueCounter: AugmentedQuery< - ApiType, - () => Observable, + () => Observable>, [] >; - /** - * A migration can span across multiple blocks. This storage defines a cursor to track the - * progress of the migration, enabling us to resume from the last completed position. - **/ - migrationInProgress: AugmentedQuery Observable>, []>; /** * This is a **monotonic** counter incremented on contract instantiation. * @@ -1036,7 +1390,15 @@ declare module '@polkadot/api-base/types/storage' { **/ nonce: AugmentedQuery Observable, []>; /** - * A mapping from a contract's code hash to its code. + * A mapping between an original code hash and its owner information. + **/ + ownerInfoOf: AugmentedQuery< + ApiType, + (arg: H256 | string | Uint8Array) => Observable>, + [H256] + >; + /** + * A mapping from an original code hash to the original code, untouched by instrumentation. **/ pristineCode: AugmentedQuery< ApiType, @@ -1257,7 +1619,6 @@ declare module '@polkadot/api-base/types/storage' { * Desired number of targets to elect for this round. * * Only exists when [`Snapshot`] is present. - * Note: This storage type must only be mutated through [`SnapshotWrapper`]. **/ desiredTargets: AugmentedQuery Observable>, []>; /** @@ -1273,8 +1634,6 @@ declare module '@polkadot/api-base/types/storage' { >; /** * Current best solution, signed or unsigned, queued to be returned upon `elect`. - * - * Always sorted by score. **/ queuedSolution: AugmentedQuery< ApiType, @@ -1335,7 +1694,6 @@ declare module '@polkadot/api-base/types/storage' { * Snapshot data of the round. * * This is created at the beginning of the signed phase and cleared upon calling `elect`. - * Note: This storage type must only be mutated through [`SnapshotWrapper`]. **/ snapshot: AugmentedQuery< ApiType, @@ -1346,7 +1704,6 @@ declare module '@polkadot/api-base/types/storage' { * The metadata of the [`RoundSnapshot`] * * Only exists when [`Snapshot`] is present. - * Note: This storage type must only be mutated through [`SnapshotWrapper`]. **/ snapshotMetadata: AugmentedQuery< ApiType, @@ -1413,14 +1770,6 @@ declare module '@polkadot/api-base/types/storage' { storageVersion: AugmentedQuery Observable, []>; }; grandpa: { - /** - * The current list of authorities. - **/ - authorities: AugmentedQuery< - ApiType, - () => Observable>>, - [] - >; /** * The number of changes (both in terms of keys and underlying economic responsibilities) * in the "set" of Grandpa validators from genesis. @@ -1464,20 +1813,6 @@ declare module '@polkadot/api-base/types/storage' { **/ state: AugmentedQuery Observable, []>; }; - historical: { - /** - * Mapping from historical session indices to session-data root hash and validator count. - **/ - historicalSessions: AugmentedQuery< - ApiType, - (arg: u32 | AnyNumber | Uint8Array) => Observable>>, - [u32] - >; - /** - * The range of historical sessions we store. [first, last) - **/ - storedRange: AugmentedQuery Observable>>, []>; - }; identity: { /** * How many "strong" references to the account key. @@ -1730,14 +2065,15 @@ declare module '@polkadot/api-base/types/storage' { [] >; /** - * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`. + * For each session index, we keep a mapping of `SessionIndex` and `AuthIndex` to + * `WrapperOpaque`. **/ receivedHeartbeats: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array - ) => Observable>, + ) => Observable>>, [u32, u32] >; }; @@ -2017,16 +2353,19 @@ declare module '@polkadot/api-base/types/storage' { (arg: H256 | string | Uint8Array) => Observable>, [H256] >; - }; - permissions: { - /** - * The name of the current function (aka extrinsic). - **/ - currentDispatchableName: AugmentedQuery Observable, []>; /** - * The name of the current pallet (aka module name). + * Enumerates all reports of a kind along with the time they happened. + * + * All reports are sorted by the time of offence. + * + * Note that the actual type of this mapping is `Vec`, this is because values of + * different types are not supported at the moment so we are doing the manual serialization. **/ - currentPalletName: AugmentedQuery Observable, []>; + reportsByKindIndex: AugmentedQuery< + ApiType, + (arg: U8aFixed | string | Uint8Array) => Observable, + [U8aFixed] + >; }; pips: { /** @@ -2446,20 +2785,12 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable>, [ITuple<[H256, u32]>] >; - /** - * The request status of a given hash. - **/ - requestStatusFor: AugmentedQuery< - ApiType, - (arg: H256 | string | Uint8Array) => Observable>, - [H256] - >; /** * The request status of a given hash. **/ statusFor: AugmentedQuery< ApiType, - (arg: H256 | string | Uint8Array) => Observable>, + (arg: H256 | string | Uint8Array) => Observable>, [H256] >; }; @@ -2530,9 +2861,6 @@ declare module '@polkadot/api-base/types/storage' { (arg: u32 | AnyNumber | Uint8Array) => Observable>>, [u32] >; - /** - * Block number at which the agenda began incomplete execution. - **/ incompleteSince: AugmentedQuery Observable>, []>; /** * Lookup from a name to the block number and index of the task. @@ -2545,16 +2873,6 @@ declare module '@polkadot/api-base/types/storage' { (arg: U8aFixed | string | Uint8Array) => Observable>>, [U8aFixed] >; - /** - * Retry configurations for items to be executed, indexed by task address. - **/ - retries: AugmentedQuery< - ApiType, - ( - arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] - ) => Observable>, - [ITuple<[u32, u32]>] - >; }; session: { /** @@ -2568,11 +2886,7 @@ declare module '@polkadot/api-base/types/storage' { * disabled using binary search. It gets cleared when `on_session_ending` returns * a new set of identities. **/ - disabledValidators: AugmentedQuery< - ApiType, - () => Observable>>, - [] - >; + disabledValidators: AugmentedQuery Observable>, []>; /** * The owner of a key. The key is the `KeyTypeId` + the encoded key. **/ @@ -2878,22 +3192,6 @@ declare module '@polkadot/api-base/types/storage' { * (`CountFor*`) in the system compared to the configured max (`Max*Count`). **/ chillThreshold: AugmentedQuery Observable>, []>; - /** - * History of claimed paged rewards by era and validator. - * - * This is keyed by era and validator stash which maps to the set of page indexes which have - * been claimed. - * - * It is removed after [`Config::HistoryDepth`] eras. - **/ - claimedRewards: AugmentedQuery< - ApiType, - ( - arg1: u32 | AnyNumber | Uint8Array, - arg2: AccountId32 | string | Uint8Array - ) => Observable>, - [u32, AccountId32] - >; /** * Counter for the related counted storage map **/ @@ -2902,10 +3200,6 @@ declare module '@polkadot/api-base/types/storage' { * Counter for the related counted storage map **/ counterForValidators: AugmentedQuery Observable, []>; - /** - * Counter for the related counted storage map - **/ - counterForVirtualStakers: AugmentedQuery Observable, []>; /** * The current era index. * @@ -2920,7 +3214,7 @@ declare module '@polkadot/api-base/types/storage' { **/ currentPlannedSession: AugmentedQuery Observable, []>; /** - * Rewards for the last [`Config::HistoryDepth`] eras. + * Rewards for the last `HISTORY_DEPTH` eras. * If reward hasn't been set or has been removed then 0 reward is returned. **/ erasRewardPoints: AugmentedQuery< @@ -2933,86 +3227,40 @@ declare module '@polkadot/api-base/types/storage' { * * This is keyed first by the era index to allow bulk deletion and then the stash account. * - * Is it removed after [`Config::HistoryDepth`] eras. + * Is it removed after `HISTORY_DEPTH` eras. * If stakers hasn't been set or has been removed then empty exposure is returned. - * - * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. **/ erasStakers: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array - ) => Observable, + ) => Observable, [u32, AccountId32] >; /** * Clipped Exposure of validator at era. * - * Note: This is deprecated, should be used as read-only and will be removed in the future. - * New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead. - * * This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the - * `T::MaxExposurePageSize` biggest stakers. + * `T::MaxNominatorRewardedPerValidator` biggest stakers. * (Note: the field `total` and `own` of the exposure remains unchanged). * This is used to limit the i/o cost for the nominator payout. * * This is keyed fist by the era index to allow bulk deletion and then the stash account. * - * It is removed after [`Config::HistoryDepth`] eras. + * Is it removed after `HISTORY_DEPTH` eras. * If stakers hasn't been set or has been removed then empty exposure is returned. - * - * Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. **/ erasStakersClipped: AugmentedQuery< ApiType, ( arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array - ) => Observable, + ) => Observable, [u32, AccountId32] >; /** - * Summary of validator exposure at a given era. - * - * This contains the total stake in support of the validator and their own stake. In addition, - * it can also be used to get the number of nominators backing this validator and the number of - * exposure pages they are divided into. The page count is useful to determine the number of - * pages of rewards that needs to be claimed. - * - * This is keyed first by the era index to allow bulk deletion and then the stash account. - * Should only be accessed through `EraInfo`. - * - * Is it removed after [`Config::HistoryDepth`] eras. - * If stakers hasn't been set or has been removed then empty overview is returned. - **/ - erasStakersOverview: AugmentedQuery< - ApiType, - ( - arg1: u32 | AnyNumber | Uint8Array, - arg2: AccountId32 | string | Uint8Array - ) => Observable>, - [u32, AccountId32] - >; - /** - * Paginated exposure of a validator at given era. - * - * This is keyed first by the era index to allow bulk deletion, then stash account and finally - * the page. Should only be accessed through `EraInfo`. - * - * This is cleared after [`Config::HistoryDepth`] eras. - **/ - erasStakersPaged: AugmentedQuery< - ApiType, - ( - arg1: u32 | AnyNumber | Uint8Array, - arg2: AccountId32 | string | Uint8Array, - arg3: u32 | AnyNumber | Uint8Array - ) => Observable>, - [u32, AccountId32, u32] - >; - /** - * The session index at which the era start for the last [`Config::HistoryDepth`] eras. + * The session index at which the era start for the last `HISTORY_DEPTH` eras. * * Note: This tracks the starting session (i.e. session index when era start being active) * for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`. @@ -3023,7 +3271,7 @@ declare module '@polkadot/api-base/types/storage' { [u32] >; /** - * The total amount staked for the last [`Config::HistoryDepth`] eras. + * The total amount staked for the last `HISTORY_DEPTH` eras. * If total hasn't been set or has been removed then 0 stake is returned. **/ erasTotalStake: AugmentedQuery< @@ -3036,7 +3284,7 @@ declare module '@polkadot/api-base/types/storage' { * * This is keyed first by the era index to allow bulk deletion and then the stash account. * - * Is it removed after [`Config::HistoryDepth`] eras. + * Is it removed after `HISTORY_DEPTH` eras. **/ erasValidatorPrefs: AugmentedQuery< ApiType, @@ -3047,7 +3295,7 @@ declare module '@polkadot/api-base/types/storage' { [u32, AccountId32] >; /** - * The total validator era payout for the last [`Config::HistoryDepth`] eras. + * The total validator era payout for the last `HISTORY_DEPTH` eras. * * Eras that haven't finished yet or has been removed doesn't have reward. **/ @@ -3068,9 +3316,6 @@ declare module '@polkadot/api-base/types/storage' { invulnerables: AugmentedQuery Observable>, []>; /** * Map from all (unlocked) "controller" accounts to the info regarding the staking. - * - * Note: All the reads and mutations to this storage *MUST* be done through the methods exposed - * by [`StakingLedger`] to ensure data and lock consistency. **/ ledger: AugmentedQuery< ApiType, @@ -3083,12 +3328,6 @@ declare module '@polkadot/api-base/types/storage' { * When this value is not set, no limits are enforced. **/ maxNominatorsCount: AugmentedQuery Observable>, []>; - /** - * Maximum staked rewards, i.e. the percentage of the era inflation that - * is used for stake rewards. - * See [Era payout](./index.html#era-payout). - **/ - maxStakedRewards: AugmentedQuery Observable>, []>; /** * The maximum validator count before we stop allowing new validators to join. * @@ -3122,8 +3361,7 @@ declare module '@polkadot/api-base/types/storage' { * they wish to support. * * Note that the keys of this storage map might become non-decodable in case the - * account's [`NominationsQuota::MaxNominations`] configuration is decreased. - * In this rare case, these nominators + * [`Config::MaxNominations`] configuration is decreased. In this rare case, these nominators * are still existent in storage, their key is correct and retrievable (i.e. `contains_key` * indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable * nominators will effectively not-exist, until they re-submit their preferences such that it @@ -3154,6 +3392,18 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable>, [u32, AccountId32] >; + /** + * Indices of validators that have offended in the active era and whether they are currently + * disabled. + * + * This value should be a superset of disabled validators since not all offences lead to the + * validator being disabled (if there was no slash). This is needed to track the percentage of + * validators that have offended in the current era, ensuring a new era is forced if + * `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find + * whether a given validator has previously offended using binary search. It gets cleared when + * the era ends. + **/ + offendingValidators: AugmentedQuery Observable>>, []>; /** * Where the reward payment should be made. Keyed by stash. * @@ -3161,11 +3411,28 @@ declare module '@polkadot/api-base/types/storage' { **/ payee: AugmentedQuery< ApiType, - ( - arg: AccountId32 | string | Uint8Array - ) => Observable>, + (arg: AccountId32 | string | Uint8Array) => Observable, [AccountId32] >; + /** + * Entities that are allowed to run operator/validator nodes. + **/ + permissionedIdentity: AugmentedQuery< + ApiType, + ( + arg: PolymeshPrimitivesIdentityId | string | Uint8Array + ) => Observable>, + [PolymeshPrimitivesIdentityId] + >; + polymeshStorageVersion: AugmentedQuery Observable, []>; + /** + * Slashing switch for validators & Nominators. + **/ + slashingAllowedFor: AugmentedQuery< + ApiType, + () => Observable, + [] + >; /** * Slashing spans for stash accounts. **/ @@ -3203,6 +3470,10 @@ declare module '@polkadot/api-base/types/storage' { (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] >; + /** + * Allows flexibility in commission. Every validator has commission that should be in the range [0, Cap]. + **/ + validatorCommissionCap: AugmentedQuery Observable, []>; /** * The ideal number of active validators. **/ @@ -3229,19 +3500,6 @@ declare module '@polkadot/api-base/types/storage' { ) => Observable>>, [u32, AccountId32] >; - /** - * Stakers whose funds are managed by other pallets. - * - * This pallet does not apply any locks on them, therefore they are only virtually bonded. They - * are expected to be keyless accounts and hence should not be allowed to mutate their ledger - * directly via this pallet. Instead, these accounts are managed by other pallets and accessed - * via low level apis. We keep track of them to do minimal integrity checks. - **/ - virtualStakers: AugmentedQuery< - ApiType, - (arg: AccountId32 | string | Uint8Array) => Observable>, - [AccountId32] - >; }; statistics: { /** @@ -3375,14 +3633,6 @@ declare module '@polkadot/api-base/types/storage' { * Total length (in bytes) for all extrinsics put together, for the current block. **/ allExtrinsicsLen: AugmentedQuery Observable>, []>; - /** - * `Some` if a code upgrade has been authorized. - **/ - authorizedUpgrade: AugmentedQuery< - ApiType, - () => Observable>, - [] - >; /** * Map of block numbers to block hashes. **/ @@ -3425,7 +3675,7 @@ declare module '@polkadot/api-base/types/storage' { * allows light-clients to leverage the changes trie storage tracking mechanism and * in case of changes fetch the list of events of interest. * - * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just + * The value has the type `(T::BlockNumber, EventIndex)` because if we used only just * the `EventIndex` then in case if the topic has the same contents on the next block * no notification will be triggered thus the event might be lost. **/ @@ -3450,24 +3700,6 @@ declare module '@polkadot/api-base/types/storage' { (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] >; - /** - * The weight reclaimed for the extrinsic. - * - * This information is available until the end of the extrinsic execution. - * More precisely this information is removed in `note_applied_extrinsic`. - * - * Logic doing some post dispatch weight reduction must update this storage to avoid duplicate - * reduction. - **/ - extrinsicWeightReclaimed: AugmentedQuery< - ApiType, - () => Observable, - [] - >; - /** - * Whether all inherents have been applied. - **/ - inherentsApplied: AugmentedQuery Observable, []>; /** * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. **/ @@ -3560,14 +3792,11 @@ declare module '@polkadot/api-base/types/storage' { }; timestamp: { /** - * Whether the timestamp has been updated in this block. - * - * This value is updated to `true` upon successful submission of a timestamp by a node. - * It is then checked at the end of each block execution in the `on_finalize` hook. + * Did the timestamp get updated in this block? **/ didUpdate: AugmentedQuery Observable, []>; /** - * The current time for the current block. + * Current time for the current block. **/ now: AugmentedQuery Observable, []>; }; @@ -3654,29 +3883,5 @@ declare module '@polkadot/api-base/types/storage' { [AccountId32] >; }; - validators: { - /** - * Entities that are allowed to run operator/validator nodes. - **/ - permissionedIdentity: AugmentedQuery< - ApiType, - ( - arg: PolymeshPrimitivesIdentityId | string | Uint8Array - ) => Observable>, - [PolymeshPrimitivesIdentityId] - >; - /** - * Slashing switch for validators & Nominators. - **/ - slashingAllowedFor: AugmentedQuery< - ApiType, - () => Observable, - [] - >; - /** - * Allows flexibility in commission. Every validator has commission that should be in the range [0, Cap]. - **/ - validatorCommissionCap: AugmentedQuery Observable, []>; - }; } // AugmentedQueries } // declare module diff --git a/src/polkadot/augment-api-runtime.ts b/src/polkadot/augment-api-runtime.ts index 6590c60..cdca309 100644 --- a/src/polkadot/augment-api-runtime.ts +++ b/src/polkadot/augment-api-runtime.ts @@ -6,81 +6,73 @@ import '@polkadot/api-base/types/calls'; import type { - PalletPipsPipId, - PalletProtocolFeeRpcRuntimeApiCappedFee, - PolymeshPrimitivesSettlementInstructionId, - PolymeshRuntimeDevelopRuntimeRuntimeCall, + AffirmationCount, + AssetCount, + Authorization, + AuthorizationType, + CappedFee, + CddStatus, + ComplianceReport, + DidStatus, + ExecuteInstructionInfo, + IdentityClaim, + IdentityId, + InstructionId, + KeyIdentityData, + Leg, + Member, + NFTs, + PipId, + PolymeshAssetId, + PortfolioId, + ProtocolOp, + RpcDidRecords, + Signatory, + TransferCondition, + VoteCount, } from './polymesh'; import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; -import type { - Bytes, - Null, - Option, - Result, - Struct, - Text, - Vec, - bool, - u128, - u32, - u64, -} from '@polkadot/types-codec'; +import type { Bytes, Null, Option, Result, Vec, bool, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; -import type { OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe'; +import type { + BabeEquivocationProof, + BabeGenesisConfiguration, + Epoch, + OpaqueKeyOwnershipProof, +} from '@polkadot/types/interfaces/babe'; +import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder'; +import type { BlockHash } from '@polkadot/types/interfaces/chain'; +import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; +import type { + CodeSource, + CodeUploadResult, + ContractExecResult, + ContractInstantiateResult, +} from '@polkadot/types/interfaces/contracts'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { + AuthorityList, + GrandpaEquivocationProof, + SetId, +} from '@polkadot/types/interfaces/grandpa'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; -import type { AccountId32, H256, Slot } from '@polkadot/types/interfaces/runtime'; +import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { - FrameSystemEventRecord, - PalletContractsPrimitivesCode, - PalletContractsPrimitivesCodeUploadReturnValue, - PalletContractsPrimitivesContractAccessError, - PalletContractsPrimitivesContractResult, - PalletContractsPrimitivesExecReturnValue, - PalletContractsPrimitivesStorageDeposit, - PalletContractsWasmDeterminism, - PalletGroupRpcRuntimeApiMember, - PalletIdentityDidStatus, - PalletIdentityKeyIdentityData, - PalletIdentityRpcDidRecords, - PalletPipsVoteCount, - PalletTransactionPaymentFeeDetails, - PalletTransactionPaymentRuntimeDispatchInfo, - PolymeshCommonUtilitiesProtocolFeeProtocolOp, - PolymeshPrimitivesAssetAssetId, - PolymeshPrimitivesAuthorization, - PolymeshPrimitivesAuthorizationAuthorizationType, - PolymeshPrimitivesComplianceManagerComplianceReport, - PolymeshPrimitivesIdentityClaim, - PolymeshPrimitivesIdentityId, - PolymeshPrimitivesIdentityIdPortfolioId, - PolymeshPrimitivesNftNfTs, - PolymeshPrimitivesSecondaryKeySignatory, - PolymeshPrimitivesSettlementAffirmationCount, - PolymeshPrimitivesSettlementAssetCount, - PolymeshPrimitivesSettlementExecuteInstructionInfo, - PolymeshPrimitivesSettlementLeg, - PolymeshPrimitivesTransferComplianceTransferCondition, - SpAuthorityDiscoveryAppPublic, - SpConsensusBabeAppPublic, - SpConsensusBabeBabeConfiguration, - SpConsensusBabeEpoch, - SpConsensusGrandpaAppPublic, - SpConsensusGrandpaEquivocationProof, - SpConsensusSlotsEquivocationProof, - SpCoreCryptoKeyTypeId, - SpInherentsCheckInherentsResult, - SpInherentsInherentData, - SpRuntimeBlock, - SpRuntimeDispatchError, - SpRuntimeExtrinsicInclusionMode, - SpRuntimeHeader, - SpRuntimeTransactionValidityTransactionSource, - SpRuntimeTransactionValidityTransactionValidityError, - SpRuntimeTransactionValidityValidTransaction, - SpVersionRuntimeVersion, - SpWeightsWeightV2Weight, -} from '@polkadot/types/lookup'; + AccountId, + Balance, + Block, + Call, + Header, + Index, + KeyTypeId, + Perbill, + Slot, + Weight, + WeightV2, +} from '@polkadot/types/interfaces/runtime'; +import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; +import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system'; +import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; export type __AugmentedCall = AugmentedCall; @@ -88,232 +80,197 @@ export type __DecoratedCallBase = DecoratedCallBase { - /** 0xbc9d89904f5b923f/ */ + /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { /** - * Get current account nonce of given `AccountId`. + * The API to query account nonce (aka transaction index) **/ accountNonce: AugmentedCall< ApiType, - (account: AccountId32 | string | Uint8Array) => Observable + (accountId: AccountId | string | Uint8Array) => Observable >; }; - /** 0xbb6ba9053c5c9d78/ */ + /** 0xbb6ba9053c5c9d78/4 */ assetApi: { /** - * Returns a vector containing all errors for the transfer. An empty vec means there's no error.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "asset_transferReport",, "params": [, { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],, 1,, false, ], }', ``` + * Returns a vector containing all errors for the transfer. An empty vec means there's no error. **/ transferReport: AugmentedCall< ApiType, ( - sender_portfolio: - | PolymeshPrimitivesIdentityIdPortfolioId - | { did?: any; kind?: any } - | string - | Uint8Array, - receiver_portfolio: - | PolymeshPrimitivesIdentityIdPortfolioId - | { did?: any; kind?: any } - | string - | Uint8Array, - asset_id: PolymeshPrimitivesAssetAssetId | string | Uint8Array, - transfer_value: u128 | AnyNumber | Uint8Array, + sender_portfolio: PortfolioId | { did?: any; kind?: any } | string | Uint8Array, + receiver_portfolio: PortfolioId | { did?: any; kind?: any } | string | Uint8Array, + asset_id: PolymeshAssetId | string | Uint8Array, + transfer_value: Balance | AnyNumber | Uint8Array, skip_locked_check: bool | boolean | Uint8Array - ) => Observable> + ) => Observable> >; }; - /** 0x687ad44ad37f03c2/ */ + /** 0x687ad44ad37f03c2/1 */ authorityDiscoveryApi: { /** * Retrieve authority identifiers of the current and next authority set. **/ - authorities: AugmentedCall Observable>>; + authorities: AugmentedCall Observable>>; }; - /** 0xcbca25e39f142387/ */ + /** 0xcbca25e39f142387/2 */ babeApi: { /** - * Return the configuration for BABE. + * Return the genesis configuration for BABE. The configuration is only read on genesis. **/ - configuration: AugmentedCall Observable>; + configuration: AugmentedCall Observable>; /** * Returns information regarding the current epoch. **/ - currentEpoch: AugmentedCall Observable>; + currentEpoch: AugmentedCall Observable>; /** * Returns the slot that started the current epoch. **/ currentEpochStart: AugmentedCall Observable>; /** - * Generates a proof of key ownership for the given authority in the, current epoch. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `slot` as parameter the current, implementations ignores this parameter and instead relies on this, method being called at the correct block height, i.e. any point at, which the epoch for the given slot is live on-chain. Future, implementations will instead use indexed data through an offchain, worker, not requiring older states to be available. + * Generates a proof of key ownership for the given authority in the current epoch. **/ generateKeyOwnershipProof: AugmentedCall< ApiType, ( slot: Slot | AnyNumber | Uint8Array, - authority_id: SpConsensusBabeAppPublic | string | Uint8Array - ) => Observable> + authorityId: AuthorityId | string | Uint8Array + ) => Observable> >; /** - * Returns information regarding the next epoch (which was already, previously announced). + * Returns information regarding the next epoch (which was already previously announced). **/ - nextEpoch: AugmentedCall Observable>; + nextEpoch: AugmentedCall Observable>; /** - * Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context. + * Submits an unsigned extrinsic to report an equivocation. **/ submitReportEquivocationUnsignedExtrinsic: AugmentedCall< ApiType, ( - equivocation_proof: - | SpConsensusSlotsEquivocationProof - | { offender?: any; slot?: any; firstHeader?: any; secondHeader?: any } + equivocationProof: + | BabeEquivocationProof + | { offender?: any; slotNumber?: any; firstHeader?: any; secondHeader?: any } | string | Uint8Array, - key_owner_proof: OpaqueKeyOwnershipProof | string | Uint8Array + keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array ) => Observable> >; }; - /** 0x40fe3ad401f8959a/ */ + /** 0x40fe3ad401f8959a/6 */ blockBuilder: { /** - * Apply the given extrinsic.,, Returns an inclusion outcome which specifies if this extrinsic is included in, this block or not. + * Apply the given extrinsic. **/ applyExtrinsic: AugmentedCall< ApiType, ( extrinsic: Extrinsic | IExtrinsic | string | Uint8Array - ) => Observable< - Result< - Result, - SpRuntimeTransactionValidityTransactionValidityError - > - > + ) => Observable >; /** - * Check that the inherents are valid. The inherent data will vary from chain to chain. + * Check that the inherents are valid. **/ checkInherents: AugmentedCall< ApiType, ( - block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array, - data: SpInherentsInherentData | { data?: any } | string | Uint8Array - ) => Observable + block: Block | { header?: any; extrinsics?: any } | string | Uint8Array, + data: InherentData | { data?: any } | string | Uint8Array + ) => Observable >; /** * Finish the current block. **/ - finalizeBlock: AugmentedCall Observable>; + finalizeBlock: AugmentedCall Observable
>; /** - * Generate inherent extrinsics. The inherent data will vary from chain to chain. + * Generate inherent extrinsics. **/ inherentExtrinsics: AugmentedCall< ApiType, ( - inherent: SpInherentsInherentData | { data?: any } | string | Uint8Array - ) => Observable> + inherent: InherentData | { data?: any } | string | Uint8Array + ) => Observable> >; }; - /** 0x98cf18c375950e1f/ */ + /** 0x98cf18c375950e1f/2 */ complianceApi: { /** - * Checks all compliance requirements for the given ticker,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "compliance_complianceReport",, "params":[, { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, { "did": "0x0200000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, { "ticker": "0x5449434B4552303030303031", "ids": [1]}, ], }', ``` + * Checks all compliance requirements for the given asset_id. **/ complianceReport: AugmentedCall< ApiType, ( - asset_id: PolymeshPrimitivesAssetAssetId | string | Uint8Array, - sender_identity: PolymeshPrimitivesIdentityId | string | Uint8Array, - receiver_identity: PolymeshPrimitivesIdentityId | string | Uint8Array - ) => Observable< - Result - > + asset_id: PolymeshAssetId | string | Uint8Array, + sender_identity: IdentityId | string | Uint8Array, + receiver_identity: IdentityId | string | Uint8Array + ) => Observable> >; }; - /** 0x68b66ba122c93fa7/ */ + /** 0x68b66ba122c93fa7/2 */ contractsApi: { /** - * Perform a call from a specified account to a given contract.,, See [`crate::Pallet::bare_call`]. + * Perform a call from a specified account to a given contract. **/ call: AugmentedCall< ApiType, ( - origin: AccountId32 | string | Uint8Array, - dest: AccountId32 | string | Uint8Array, - value: u128 | AnyNumber | Uint8Array, - gas_limit: - | Option + origin: AccountId | string | Uint8Array, + dest: AccountId | string | Uint8Array, + value: Balance | AnyNumber | Uint8Array, + gasLimit: + | Option | null | Uint8Array - | SpWeightsWeightV2Weight + | WeightV2 | { refTime?: any; proofSize?: any } | string, - storage_deposit_limit: Option | null | Uint8Array | u128 | AnyNumber, - input_data: Bytes | string | Uint8Array - ) => Observable< - { - readonly gasConsumed: SpWeightsWeightV2Weight; - readonly gasRequired: SpWeightsWeightV2Weight; - readonly storageDeposit: PalletContractsPrimitivesStorageDeposit; - readonly debugMessage: Bytes; - readonly result: Result< - PalletContractsPrimitivesExecReturnValue, - SpRuntimeDispatchError - >; - readonly events: Option>; - } & Struct - > - >; - /** - * Query a given storage key in a given contract.,, Returns `Ok(Some(Vec))` if the storage value exists under the given key in the, specified account and `Ok(None)` if it doesn't. If the account specified by the address, doesn't exist, or doesn't have a contract then `Err` is returned. + storageDepositLimit: Option | null | Uint8Array | Balance | AnyNumber, + inputData: Bytes | string | Uint8Array + ) => Observable + >; + /** + * Query a given storage key in a given contract. **/ getStorage: AugmentedCall< ApiType, ( - address: AccountId32 | string | Uint8Array, + address: AccountId | string | Uint8Array, key: Bytes | string | Uint8Array - ) => Observable, PalletContractsPrimitivesContractAccessError>> + ) => Observable> >; /** - * Instantiate a new contract.,, See `[crate::Pallet::bare_instantiate]`. + * Instantiate a new contract. **/ instantiate: AugmentedCall< ApiType, ( - origin: AccountId32 | string | Uint8Array, - value: u128 | AnyNumber | Uint8Array, - gas_limit: - | Option + origin: AccountId | string | Uint8Array, + value: Balance | AnyNumber | Uint8Array, + gasLimit: + | Option | null | Uint8Array - | SpWeightsWeightV2Weight + | WeightV2 | { refTime?: any; proofSize?: any } | string, - storage_deposit_limit: Option | null | Uint8Array | u128 | AnyNumber, - code: - | PalletContractsPrimitivesCode - | { Upload: any } - | { Existing: any } - | string - | Uint8Array, + storageDepositLimit: Option | null | Uint8Array | Balance | AnyNumber, + code: CodeSource | { Upload: any } | { Existing: any } | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array - ) => Observable + ) => Observable >; /** - * Upload new code without instantiating a contract from it.,, See [`crate::Pallet::bare_upload_code`]. + * Upload new code without instantiating a contract from it. **/ uploadCode: AugmentedCall< ApiType, ( - origin: AccountId32 | string | Uint8Array, + origin: AccountId | string | Uint8Array, code: Bytes | string | Uint8Array, - storage_deposit_limit: Option | null | Uint8Array | u128 | AnyNumber, - determinism: PalletContractsWasmDeterminism | 'Enforced' | 'Relaxed' | number | Uint8Array - ) => Observable< - Result - > + storageDepositLimit: Option | null | Uint8Array | Balance | AnyNumber + ) => Observable >; }; - /** 0xdf6acb689907609b/ */ + /** 0xdf6acb689907609b/4 */ core: { /** * Execute the given block. @@ -321,17 +278,17 @@ declare module '@polkadot/api-base/types/calls' { executeBlock: AugmentedCall< ApiType, ( - block: SpRuntimeBlock | { header?: any; extrinsics?: any } | string | Uint8Array + block: Block | { header?: any; extrinsics?: any } | string | Uint8Array ) => Observable >; /** - * Initialize a block with the given header and return the runtime executive mode. + * Initialize a block with the given header. **/ initializeBlock: AugmentedCall< ApiType, ( header: - | SpRuntimeHeader + | Header | { parentHash?: any; number?: any; @@ -341,129 +298,88 @@ declare module '@polkadot/api-base/types/calls' { } | string | Uint8Array - ) => Observable + ) => Observable >; /** * Returns the version of the runtime. **/ - version: AugmentedCall Observable>; + version: AugmentedCall Observable>; }; - /** 0xfbc577b9d747efd6/ */ - genesisBuilder: { - /** - * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the, storage.,, In the case of a FRAME-based runtime, this function deserializes the full, `RuntimeGenesisConfig` from the given JSON blob and puts it into the storage. If the, provided JSON blob is incorrect or incomplete or the deserialization fails, an error, is returned.,, Please note that provided JSON blob must contain all `RuntimeGenesisConfig` fields, no, defaults will be used. - **/ - buildState: AugmentedCall< - ApiType, - (json: Bytes | string | Uint8Array) => Observable> - >; - /** - * Returns a JSON blob representation of the built-in `RuntimeGenesisConfig` identified by, `id`.,, If `id` is `None` the function should return JSON blob representation of the default, `RuntimeGenesisConfig` struct of the runtime. Implementation must provide default, `RuntimeGenesisConfig`.,, Otherwise function returns a JSON representation of the built-in, named, `RuntimeGenesisConfig` preset identified by `id`, or `None` if such preset does not, exist. Returned `Vec` contains bytes of JSON blob (patch) which comprises a list of, (potentially nested) key-value pairs that are intended for customizing the default, runtime genesis config. The patch shall be merged (rfc7386) with the JSON representation, of the default `RuntimeGenesisConfig` to create a comprehensive genesis config that can, be used in `build_state` method. - **/ - getPreset: AugmentedCall< - ApiType, - (id: Option | null | Uint8Array | Text | string) => Observable> - >; - /** - * Returns a list of identifiers for available builtin `RuntimeGenesisConfig` presets.,, The presets from the list can be queried with [`GenesisBuilder::get_preset`] method. If, no named presets are provided by the runtime the list is empty. - **/ - presetNames: AugmentedCall Observable>>; - }; - /** 0xed99c5acb25eedf5/ */ + /** 0xed99c5acb25eedf5/3 */ grandpaApi: { /** * Get current GRANDPA authority set id. **/ - currentSetId: AugmentedCall Observable>; + currentSetId: AugmentedCall Observable>; /** - * Generates a proof of key ownership for the given authority in the, given set. An example usage of this module is coupled with the, session historical module to prove that a given authority key is, tied to a given staking identity during a specific session. Proofs, of key ownership are necessary for submitting equivocation reports., NOTE: even though the API takes a `set_id` as parameter the current, implementations ignore this parameter and instead rely on this, method being called at the correct block height, i.e. any point at, which the given set id is live on-chain. Future implementations will, instead use indexed data through an offchain worker, not requiring, older states to be available. + * Generates a proof of key ownership for the given authority in the given set. **/ generateKeyOwnershipProof: AugmentedCall< ApiType, ( - set_id: u64 | AnyNumber | Uint8Array, - authority_id: SpConsensusGrandpaAppPublic | string | Uint8Array - ) => Observable> + setId: SetId | AnyNumber | Uint8Array, + authorityId: AuthorityId | string | Uint8Array + ) => Observable> >; /** - * Get the current GRANDPA authorities and weights. This should not change except, for when changes are scheduled and the corresponding delay has passed.,, When called at block B, it will return the set of authorities that should be, used to finalize descendants of this block (B+1, B+2, ...). The block B itself, is finalized by the authorities from block B-1. + * Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed. **/ - grandpaAuthorities: AugmentedCall< - ApiType, - () => Observable>> - >; + grandpaAuthorities: AugmentedCall Observable>; /** - * Submits an unsigned extrinsic to report an equivocation. The caller, must provide the equivocation proof and a key ownership proof, (should be obtained using `generate_key_ownership_proof`). The, extrinsic will be unsigned and should only be accepted for local, authorship (not to be broadcast to the network). This method returns, `None` when creation of the extrinsic fails, e.g. if equivocation, reporting is disabled for the given runtime (i.e. this method is, hardcoded to return `None`). Only useful in an offchain context. + * Submits an unsigned extrinsic to report an equivocation. **/ submitReportEquivocationUnsignedExtrinsic: AugmentedCall< ApiType, ( - equivocation_proof: - | SpConsensusGrandpaEquivocationProof + equivocationProof: + | GrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, - key_owner_proof: Bytes | string | Uint8Array + keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array ) => Observable> >; }; - /** 0x595ac34c5ea1f5fe/ */ + /** 0x595ac34c5ea1f5fe/1 */ groupApi: { /** - * + * Get the CDD members **/ - getCddValidMembers: AugmentedCall< - ApiType, - () => Observable> - >; + getCddValidMembers: AugmentedCall Observable>>; /** - * + * Get the GC members **/ - getGcValidMembers: AugmentedCall< - ApiType, - () => Observable> - >; + getGcValidMembers: AugmentedCall Observable>>; }; - /** 0xf28e8080b6e2dfd0/ */ + /** 0xf28e8080b6e2dfd0/4 */ identityApi: { /** - * Retrieve DidRecord for a given `did`. + * Used to get the did record values for a given DID **/ getDidRecords: AugmentedCall< ApiType, - ( - did: PolymeshPrimitivesIdentityId | string | Uint8Array - ) => Observable + (did: IdentityId | string | Uint8Array) => Observable >; /** - * Retrieve the status of the DID + * Retrieve status of the DID **/ getDidStatus: AugmentedCall< ApiType, - ( - dids: - | Vec - | (PolymeshPrimitivesIdentityId | string | Uint8Array)[] - ) => Observable> + (did: Vec | (IdentityId | string | Uint8Array)[]) => Observable> >; /** - * Retrieve list of a authorization for a given signatory + * Retrieve authorizations data for a given signatory and filtered using the given authorization type **/ getFilteredAuthorizations: AugmentedCall< ApiType, ( - signatory: - | PolymeshPrimitivesSecondaryKeySignatory - | { Identity: any } - | { Account: any } - | string - | Uint8Array, + signatory: Signatory | { Identity: any } | { Account: any } | string | Uint8Array, allow_expired: bool | boolean | Uint8Array, auth_type: - | Option + | Option | null | Uint8Array - | PolymeshPrimitivesAuthorizationAuthorizationType + | AuthorizationType | 'AttestPrimaryKeyRotation' | 'RotatePrimaryKey' | 'TransferTicker' @@ -475,80 +391,59 @@ declare module '@polkadot/api-base/types/calls' { | 'AddRelayerPayingKey' | 'RotatePrimaryKeyToSecondary' | number - ) => Observable> + ) => Observable> >; /** - * Provide the `KeyIdentityData` from a given `AccountId`, including:, - the corresponding DID,, - whether the `AccountId` is a primary or secondary key,, - any permissions related to the key.,, This is an aggregate call provided for UX convenience. + * Query relation between a signing key and a DID **/ getKeyIdentityData: AugmentedCall< ApiType, - ( - acc: AccountId32 | string | Uint8Array - ) => Observable> + (acc: AccountId | string | Uint8Array) => Observable> >; /** - * Returns CDD status of an identity + * use to tell whether the given did has valid cdd claim or not **/ isIdentityHasValidCdd: AugmentedCall< ApiType, ( - did: PolymeshPrimitivesIdentityId | string | Uint8Array, + did: IdentityId | string | Uint8Array, buffer_time: Option | null | Uint8Array | u64 | AnyNumber - ) => Observable> + ) => Observable >; /** - * Returns all valid [`IdentityClaim`] of type `CustomerDueDiligence` for the given `target_identity`.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "identity_validCDDClaims",, "params":[, "0x0100000000000000000000000000000000000000000000000000000000000000",, null, ], }', ``` + * Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity **/ validCddClaims: AugmentedCall< ApiType, ( - target_identity: PolymeshPrimitivesIdentityId | string | Uint8Array, + target_identity: IdentityId | string | Uint8Array, cdd_checker_leeway: Option | null | Uint8Array | u64 | AnyNumber - ) => Observable> + ) => Observable> >; }; - /** 0x37e397fc7c91f5e4/ */ + /** 0x37e397fc7c91f5e4/1 */ metadata: { /** - * Returns the metadata of a runtime. + * Returns the metadata of a runtime **/ metadata: AugmentedCall Observable>; - /** - * Returns the metadata at a given version.,, If the given `version` isn't supported, this will return `None`., Use [`Self::metadata_versions`] to find out about supported metadata version of the runtime. - **/ - metadataAtVersion: AugmentedCall< - ApiType, - (version: u32 | AnyNumber | Uint8Array) => Observable> - >; - /** - * Returns the supported metadata versions.,, This can be used to call `metadata_at_version`. - **/ - metadataVersions: AugmentedCall Observable>>; }; - /** 0x9ea061a615cee2fe/ */ + /** 0x9ea061a615cee2fe/2 */ nftApi: { /** - * Returns a vector containing all errors for the transfer. An empty vec means there's no error.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "nft_transferReport",, "params": [, { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, { "asset_id": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "ids": [1]},, false, ], }', ``` + * Returns a vector containing all errors for the transfer. An empty vec means there's no error. **/ transferReport: AugmentedCall< ApiType, ( - sender_portfolio: - | PolymeshPrimitivesIdentityIdPortfolioId - | { did?: any; kind?: any } - | string - | Uint8Array, - receiver_portfolio: - | PolymeshPrimitivesIdentityIdPortfolioId - | { did?: any; kind?: any } - | string - | Uint8Array, - nfts: PolymeshPrimitivesNftNfTs | { assetId?: any; ids?: any } | string | Uint8Array, + sender_portfolio: PortfolioId | { did?: any; kind?: any } | string | Uint8Array, + receiver_portfolio: PortfolioId | { did?: any; kind?: any } | string | Uint8Array, + nfts: NFTs | { assetId?: any; ids?: any } | string | Uint8Array, skip_locked_check: bool | boolean | Uint8Array - ) => Observable> + ) => Observable> >; }; - /** 0xf78b278be53f454c/ */ + /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { /** * Starts the off-chain task for given block header. @@ -557,7 +452,7 @@ declare module '@polkadot/api-base/types/calls' { ApiType, ( header: - | SpRuntimeHeader + | Header | { parentHash?: any; number?: any; @@ -570,40 +465,40 @@ declare module '@polkadot/api-base/types/calls' { ) => Observable >; }; - /** 0x329342994773047f/ */ + /** 0x329342994773047f/1 */ pipsApi: { /** - * Retrieve votes for a proposal for a given `id`. + * Summary of votes of a proposal given by index **/ getVotes: AugmentedCall< ApiType, - (id: PalletPipsPipId | AnyNumber | Uint8Array) => Observable + (index: PipId | AnyNumber | Uint8Array) => Observable >; /** - * Retrieve proposals started by `address`. + * Retrieves proposal indices started by address **/ proposedBy: AugmentedCall< ApiType, - (address: AccountId32 | string | Uint8Array) => Observable> + (address: AccountId | string | Uint8Array) => Observable> >; /** - * Retrieve proposals `address` voted on. + * Retrieves proposal address indices voted on **/ votedOn: AugmentedCall< ApiType, - (address: AccountId32 | string | Uint8Array) => Observable> + (address: AccountId | string | Uint8Array) => Observable> >; }; - /** 0x001a0b29f17d01f4/ */ + /** 0x001a0b29f17d01f4/1 */ protocolFeeApi: { /** - * + * Gets the fee of a chargeable extrinsic operation **/ computeFee: AugmentedCall< ApiType, ( op: - | PolymeshCommonUtilitiesProtocolFeeProtocolOp + | ProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' @@ -622,216 +517,178 @@ declare module '@polkadot/api-base/types/calls' { | 'IdentityCreateChildIdentity' | number | Uint8Array - ) => Observable + ) => Observable >; }; - /** 0xab3c0572291feb8b/ */ + /** 0xab3c0572291feb8b/1 */ sessionKeys: { /** - * Decode the given public session keys.,, Returns the list of public raw public keys + key type. + * Decode the given public session keys. **/ decodeSessionKeys: AugmentedCall< ApiType, ( encoded: Bytes | string | Uint8Array - ) => Observable>>> + ) => Observable>>> >; /** - * Generate a set of session keys with optionally using the given seed., The keys should be stored within the keystore exposed via runtime, externalities.,, The seed needs to be a valid `utf8` string.,, Returns the concatenated SCALE encoded public keys. + * Generate a set of session keys with optionally using the given seed. **/ generateSessionKeys: AugmentedCall< ApiType, (seed: Option | null | Uint8Array | Bytes | string) => Observable >; }; - /** 0x53df5001418f3b46/ */ + /** 0x53df5001418f3b46/2 */ settlementApi: { /** - * Returns an [`AffirmationCount`] instance containing the number of assets being sent/received from `portfolios`,, and the number of off-chain assets in the instruction.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getAffirmationCount",, "params": [1, [{ "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"}]], }', ``` + * Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction. **/ getAffirmationCount: AugmentedCall< ApiType, ( - instruction_id: PolymeshPrimitivesSettlementInstructionId | AnyNumber | Uint8Array, + instruction_id: InstructionId | AnyNumber | Uint8Array, portfolios: - | Vec - | ( - | PolymeshPrimitivesIdentityIdPortfolioId - | { did?: any; kind?: any } - | string - | Uint8Array - )[] - ) => Observable + | Vec + | (PortfolioId | { did?: any; kind?: any } | string | Uint8Array)[] + ) => Observable >; /** - * Returns an [`ExecuteInstructionInfo`] instance containing the consumed weight and the number of fungible and non fungible, tokens in the instruction. Executing an instruction includes verifying the compliance and transfer restrictions of all assets, in the instruction, unlocking all assets, pruning the instruction, updating the statistics for each asset and more.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getExecuteInstructionInfo",, "params": [1], }', ``` + * Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction. **/ getExecuteInstructionInfo: AugmentedCall< ApiType, ( - instruction_id: PolymeshPrimitivesSettlementInstructionId | AnyNumber | Uint8Array - ) => Observable> + instruction_id: InstructionId | AnyNumber | Uint8Array + ) => Observable> >; /** - * Returns a vector containing all errors for the execution. An empty vec means there's no error.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getExecuteIntructionReport",, "params": [1], }', ``` + * Returns a vector containing all errors for the execution. An empty vec means there's no error. **/ getExecuteInstructionReport: AugmentedCall< ApiType, - ( - instruction_id: PolymeshPrimitivesSettlementInstructionId | AnyNumber | Uint8Array - ) => Observable> + (instruction_id: InstructionId | AnyNumber | Uint8Array) => Observable> >; /** - * Returns a vector containing all errors for the transfer. An empty vec means there's no error.,, ```ignore, curl http://localhost:9933 -H "Content-Type: application/json" -d '{, "id":1,, "jsonrpc":"2.0",, "method": "settlement_getTransferReport",, "params": [, {, "NonFungible":, {, "sender": { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, "receiver": { "did": "0x0100000000000000000000000000000000000000000000000000000000000000", "kind": "Default"},, "nfts": { "ticker": "0x5449434B4552303030303031", "ids": [1]}, }, },, false, ], }', ``` + * Returns a vector containing all errors for the transfer. An empty vec means there's no error. **/ getTransferReport: AugmentedCall< ApiType, ( leg: - | PolymeshPrimitivesSettlementLeg + | Leg | { Fungible: any } | { NonFungible: any } | { OffChain: any } | string | Uint8Array, skip_locked_check: bool | boolean | Uint8Array - ) => Observable> + ) => Observable> >; /** - * Returns the [`AssetCount`] for the given `instruction_id`. + * Returns the AssetCount for the given instruction. **/ instructionAssetCount: AugmentedCall< ApiType, - ( - instruction_id: PolymeshPrimitivesSettlementInstructionId | AnyNumber | Uint8Array - ) => Observable + (instruction_id: InstructionId | AnyNumber | Uint8Array) => Observable >; /** - * Returns the weight for calling `lock_instruction` for the given `instruction_id`. + * Returns the weight for executing lock_instruction. **/ lockInstructionWeight: AugmentedCall< ApiType, ( - instruction_id: PolymeshPrimitivesSettlementInstructionId | AnyNumber | Uint8Array - ) => Observable> + instruction_id: InstructionId | AnyNumber | Uint8Array + ) => Observable> >; }; - /** 0x18ef58a3b67ba770/ */ + /** 0x18ef58a3b67ba770/1 */ stakingApi: { /** - * Returns the page count of exposures for a validator `account` in a given era. + * Retrieves curves parameters **/ - erasStakersPageCount: AugmentedCall< - ApiType, - ( - era: u32 | AnyNumber | Uint8Array, - account: AccountId32 | string | Uint8Array - ) => Observable - >; + getCurve: AugmentedCall Observable>>>; /** * Returns the nominations quota for a nominator with a given balance. **/ nominationsQuota: AugmentedCall< ApiType, - (balance: u128 | AnyNumber | Uint8Array) => Observable - >; - /** - * Returns true if validator `account` has pages to be claimed for the given era. - **/ - pendingRewards: AugmentedCall< - ApiType, - ( - era: u32 | AnyNumber | Uint8Array, - account: AccountId32 | string | Uint8Array - ) => Observable + (balance: Balance | AnyNumber | Uint8Array) => Observable >; }; - /** 0x608339ce0e76adf3/ */ + /** 0x608339ce0e76adf3/0 */ statisticsApi: { /** - * Returns a vector containing all [`TransferCondition`] that are not being respected for the transfer. An empty vec means there's no error. + * Returns a vector containing all TransferCondition that are not being respected for the transfer. An empty vec means there's no error. **/ transferRestrictionsReport: AugmentedCall< ApiType, ( - asset_id: PolymeshPrimitivesAssetAssetId | string | Uint8Array, - sender_did: PolymeshPrimitivesIdentityId | string | Uint8Array, - receiver_did: PolymeshPrimitivesIdentityId | string | Uint8Array, - transfer_amount: u128 | AnyNumber | Uint8Array - ) => Observable< - Result, SpRuntimeDispatchError> - > + asset_id: PolymeshAssetId | string | Uint8Array, + sender_did: IdentityId | string | Uint8Array, + receiver_did: IdentityId | string | Uint8Array, + transfer_amount: Balance | AnyNumber | Uint8Array + ) => Observable, DispatchError>> >; }; - /** 0xd2bc9897eed08f15/ */ + /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { /** - * Validate the transaction.,, This method is invoked by the transaction pool to learn details about given transaction., The implementation should make sure to verify the correctness of the transaction, against current state. The given `block_hash` corresponds to the hash of the block, that is used as current state.,, Note that this call may be performed by the pool multiple times and transactions, might be verified in any possible order. + * Validate the transaction. **/ validateTransaction: AugmentedCall< ApiType, ( - source: - | SpRuntimeTransactionValidityTransactionSource - | 'InBlock' - | 'Local' - | 'External' - | number - | Uint8Array, + source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, - block_hash: H256 | string | Uint8Array - ) => Observable< - Result< - SpRuntimeTransactionValidityValidTransaction, - SpRuntimeTransactionValidityTransactionValidityError - > - > + blockHash: BlockHash | string | Uint8Array + ) => Observable >; }; - /** 0x37c8bb1350a9a2a8/ */ + /** 0x37c8bb1350a9a2a8/2 */ transactionPaymentApi: { /** - * + * The transaction fee details **/ queryFeeDetails: AugmentedCall< ApiType, ( uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array - ) => Observable + ) => Observable >; /** - * + * The transaction info **/ queryInfo: AugmentedCall< ApiType, ( uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array - ) => Observable + ) => Observable >; }; - /** 0xf3ff14d5ab527059/ */ + /** 0xf3ff14d5ab527059/2 */ transactionPaymentCallApi: { /** - * Query fee details of a given encoded `Call`. + * The call fee details **/ queryCallFeeDetails: AugmentedCall< ApiType, ( - call: PolymeshRuntimeDevelopRuntimeRuntimeCall | IMethod | string | Uint8Array, + call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array - ) => Observable + ) => Observable >; /** - * Query information of a dispatch class, weight, and fee of a given encoded `Call`. + * The call info **/ queryCallInfo: AugmentedCall< ApiType, ( - call: PolymeshRuntimeDevelopRuntimeRuntimeCall | IMethod | string | Uint8Array, + call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array - ) => Observable + ) => Observable >; }; } // AugmentedCalls diff --git a/src/polkadot/augment-api-tx.ts b/src/polkadot/augment-api-tx.ts index 6dfda6c..ee8df27 100644 --- a/src/polkadot/augment-api-tx.ts +++ b/src/polkadot/augment-api-tx.ts @@ -16,6 +16,7 @@ import type { Bytes, Compact, Option, + Text, U8aFixed, Vec, bool, @@ -36,7 +37,6 @@ import type { Permill, } from '@polkadot/types/interfaces/runtime'; import type { - PalletBalancesAdjustmentDirection, PalletContractsWasmDeterminism, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, @@ -56,12 +56,11 @@ import type { PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, - PalletStakingUnlockChunk, + PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoFundingMethod, PalletStoPriceTier, PalletUtilityUniqueCall, - PalletValidatorsSlashingSwitch, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth, @@ -69,6 +68,26 @@ import type { PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, + PolymeshDartBpAccountBatchedAccountAssetRegistrationProof, + PolymeshDartBpAssetAssetMintingProof, + PolymeshDartBpBatchedBatchedProofs, + PolymeshDartBpFeeBatchedFeeAccountRegistrationProof, + PolymeshDartBpFeeBatchedFeeAccountTopupProof, + PolymeshDartBpFeeFeePaymentWithBatchedProofs, + PolymeshDartBpKeysAccountRegistrationProof, + PolymeshDartBpKeysEncryptionKeyRegistrationProof, + PolymeshDartBpKeysEncryptionPublicKey, + PolymeshDartBpLegInstantInstantReceiverAffirmationProof, + PolymeshDartBpLegInstantInstantSenderAffirmationProof, + PolymeshDartBpLegInstantInstantSettlementProof, + PolymeshDartBpLegProofsBatchedSettlementProof, + PolymeshDartBpLegProofsMediatorAffirmationProof, + PolymeshDartBpLegProofsReceiverAffirmationProof, + PolymeshDartBpLegProofsReceiverClaimProof, + PolymeshDartBpLegProofsSenderAffirmationProof, + PolymeshDartBpLegProofsSenderCounterUpdateProof, + PolymeshDartBpLegProofsSenderReversalProof, + PolymeshDartBpLegSettlementProof, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, @@ -1229,63 +1248,27 @@ declare module '@polkadot/api-base/types/submittable' { }; balances: { /** - * Burn the specified liquid free balance from the origin account. - * - * If the origin's account ends up below the existential deposit as a result - * of the burn and `keep_alive` is false, the account will be reaped. - * - * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, - * this `burn` operation will reduce total issuance by the amount _burned_. + * Burns the given amount of tokens from the caller's free, unlocked balance. **/ - burn: AugmentedSubmittable< - ( - value: Compact | AnyNumber | Uint8Array, - keepAlive: bool | boolean | Uint8Array - ) => SubmittableExtrinsic, - [Compact, bool] + burnAccountBalance: AugmentedSubmittable< + (amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [u128] >; /** - * Adjust the total issuance in a saturating way. - * - * Can only be called by root and always needs a positive `delta`. - * - * # Example + * Move some POLYX from balance of self to balance of BRR. **/ - forceAdjustTotalIssuance: AugmentedSubmittable< - ( - direction: - | PalletBalancesAdjustmentDirection - | 'Increase' - | 'Decrease' - | number - | Uint8Array, - delta: Compact | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [PalletBalancesAdjustmentDirection, Compact] + depositBlockRewardReserveBalance: AugmentedSubmittable< + (value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Compact] >; /** - * Set the regular balance of a given account. + * Exactly as `transfer`, except the origin must be root and the source account may be + * specified. * - * The dispatch origin for this call is `root`. - **/ - forceSetBalance: AugmentedSubmittable< - ( - who: - | MultiAddress - | { Id: any } - | { Index: any } - | { Raw: any } - | { Address32: any } - | { Address20: any } - | string - | Uint8Array, - newFree: Compact | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [MultiAddress, Compact] - >; - /** - * Exactly as `transfer_allow_death`, except the origin must be root and the source account - * may be specified. + * # + * - Same as transfer, but additional read and write because the source account is + * not assumed to be in the overlay. + * # **/ forceTransfer: AugmentedSubmittable< ( @@ -1312,45 +1295,16 @@ declare module '@polkadot/api-base/types/submittable' { [MultiAddress, MultiAddress, Compact] >; /** - * Unreserve some balance from a user by force. - * - * Can only be called by ROOT. - **/ - forceUnreserve: AugmentedSubmittable< - ( - who: - | MultiAddress - | { Id: any } - | { Index: any } - | { Raw: any } - | { Address32: any } - | { Address20: any } - | string - | Uint8Array, - amount: u128 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [MultiAddress, u128] - >; - /** - * Transfer the entire transferable balance from the caller account. - * - * NOTE: This function only attempts to transfer _transferable_ balances. This means that - * any locked, reserved, or existential deposits (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... + * Set the balances of a given account. * - * The dispatch origin of this call must be Signed. + * This will alter `FreeBalance` and `ReservedBalance` in storage. it will + * also decrease the total issuance of the system (`TotalIssuance`). * - * - `dest`: The recipient of the transfer. - * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all - * of the funds the account has, causing the sender account to be killed (false), or - * transfer everything except at least the existential deposit, which will guarantee to - * keep the sender account alive (true). + * The dispatch origin for this call is `root`. **/ - transferAll: AugmentedSubmittable< + setBalance: AugmentedSubmittable< ( - dest: + who: | MultiAddress | { Id: any } | { Index: any } @@ -1359,43 +1313,36 @@ declare module '@polkadot/api-base/types/submittable' { | { Address20: any } | string | Uint8Array, - keepAlive: bool | boolean | Uint8Array + newFree: Compact | AnyNumber | Uint8Array, + newReserved: Compact | AnyNumber | Uint8Array ) => SubmittableExtrinsic, - [MultiAddress, bool] + [MultiAddress, Compact, Compact] >; /** * Transfer some liquid free balance to another account. * - * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. - * If the sender's account is below the existential deposit as a result - * of the transfer, the account will be reaped. + * `transfer` will set the `FreeBalance` of the sender and receiver. + * It will decrease the total issuance of the system by the `TransferFee`. * * The dispatch origin for this call must be `Signed` by the transactor. - **/ - transferAllowDeath: AugmentedSubmittable< - ( - dest: - | MultiAddress - | { Id: any } - | { Index: any } - | { Raw: any } - | { Address32: any } - | { Address20: any } - | string - | Uint8Array, - value: Compact | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [MultiAddress, Compact] - >; - /** - * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not - * kill the origin account. * - * 99% of the time you want [`transfer_allow_death`] instead. + * # + * - Dependent on arguments but not critical, given proper implementations for + * input config types. See related functions below. + * - It contains a limited number of reads and writes internally and no complex computation. * - * [`transfer_allow_death`]: struct.Pallet.html#method.transfer + * Related functions: + * + * - `ensure_can_withdraw` is always called internally but has a bounded complexity. + * - Transferring balances to accounts that did not exist before will cause + * `T::OnNewAccount::on_new_account` to be called. + * --------------------------------- + * - Base Weight: 73.64 µs, worst case scenario (account created, account removed) + * - DB Weight: 1 Read and 1 Write to destination account. + * - Origin account is already in memory, so no DB operations for them. + * # **/ - transferKeepAlive: AugmentedSubmittable< + transfer: AugmentedSubmittable< ( dest: | MultiAddress @@ -1411,28 +1358,14 @@ declare module '@polkadot/api-base/types/submittable' { [MultiAddress, Compact] >; /** - * Transfer some liquid free balance to another account. + * Transfer the native currency with the help of identifier string + * this functionality can help to differentiate the transfers. * - * `transfer` will set the `FreeBalance` of the sender and receiver. - * If the sender's account is below the existential deposit as a result - * of the transfer, the account will be reaped. - * - * The dispatch origin for this call must be `Signed` by the transactor. - * - * ## Complexity - * - Dependent on arguments but not critical, given proper implementations for input config - * types. See related functions below. - * - It contains a limited number of reads and writes internally and no complex - * computation. - * - * Related functions: - * - * - `ensure_can_withdraw` is always called internally but has a bounded complexity. - * - Transferring balances to accounts that did not exist before will cause - * `T::OnNewAccount::on_new_account` to be called. - * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`. - * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check - * that the transfer will not kill the origin account. + * # + * - Base Weight: 73.64 µs, worst case scenario (account created, account removed) + * - DB Weight: 1 Read and 1 Write to destination account. + * - Origin account is already in memory, so no DB operations for them. + * # **/ transferWithMemo: AugmentedSubmittable< ( @@ -1450,22 +1383,6 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [MultiAddress, Compact, Option] >; - /** - * Upgrade a specified account. - * - * - `origin`: Must be `Signed`. - * - `who`: The account to be upgraded. - * - * This will waive the transaction fee if at least all but 10% of the accounts needed to - * be upgraded. (We let some not have to be upgraded just in order to allow for the - * possibility of churn). - **/ - upgradeAccounts: AugmentedSubmittable< - ( - who: Vec | (AccountId32 | string | Uint8Array)[] - ) => SubmittableExtrinsic, - [Vec] - >; }; base: {}; capitalDistribution: { @@ -2149,6 +2066,550 @@ declare module '@polkadot/api-base/types/submittable' { [PolymeshPrimitivesAssetAssetId] >; }; + confidentialAssets: { + /** + * Create a settlement with batched leg affirmations. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The settlement proof with batched leg affirmations. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `InvalidProof` if the proof is invalid. + * * `SettlementMissingLegs` if the settlement has no legs. + * * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed. + **/ + batchedSettlement: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegProofsBatchedSettlementProof + | { settlement?: any; legAffirmations?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegProofsBatchedSettlementProof] + >; + /** + * Create a new Confidential Asset. + * + * # Arguments + * * `auditor_or_mediator` - The auditor or mediator public key. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `AccountMissing` if the auditor or mediator is not registered. + * * `EncryptionKeyMissing` if the encryption key of the auditor or mediator is not registered. + **/ + createAsset: AugmentedSubmittable< + ( + name: Text | string, + symbol: Text | string, + decimals: u8 | AnyNumber | Uint8Array, + mediators: BTreeSet, + auditors: BTreeSet, + data: Bytes | string | Uint8Array + ) => SubmittableExtrinsic, + [ + Text, + Text, + u8, + BTreeSet, + BTreeSet, + Bytes + ] + >; + /** + * Create a new settlement. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The settlement proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `InvalidProof` if the proof is invalid. + * * `SettlementMissingLegs` if the settlement has no legs. + * * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed. + **/ + createSettlement: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegSettlementProof + | { memo?: any; rootBlock?: any; legs?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegSettlementProof] + >; + /** + * Create and execute an instant settlement. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The settlement proof with batched leg affirmations. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `InvalidProof` if the proof is invalid. + * * `SettlementMissingLegs` if the settlement has no legs. + * * `SettlementTooManyLegs` if the settlement has more legs than the maximum allowed. + **/ + executeInstantSettlement: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegInstantInstantSettlementProof + | { settlement?: any; legAffirmations?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegInstantInstantSettlementProof] + >; + /** + * Receiver affirms a settlement leg as the last pending affirmation. + * + * This can only be used when the receiver affirmation is the last pending affirmation for the settlement. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The instant receiver affirmation proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotPending` if the settlement is not pending. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `AlreadyAffirmed` if the leg has already been affirmed by the receiver. + * * `NotLastPendingAffirmation` if the receiver affirmation is not the last pending affirmation for the settlement. + **/ + instantReceiverAffirmation: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegInstantInstantReceiverAffirmationProof + | { + legRef?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegInstantInstantReceiverAffirmationProof] + >; + /** + * Sender affirms a settlement leg as the last pending affirmation. + * + * This can only be used when the sender affirmation is the last pending affirmation for the settlement. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The instant sender affirmation proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotPending` if the settlement is not pending. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `AlreadyAffirmed` if the leg has already been affirmed by the sender. + * * `NotLastPendingAffirmation` if the sender affirmation is not the last pending affirmation for the settlement. + **/ + instantSenderAffirmation: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegInstantInstantSenderAffirmationProof + | { + legRef?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegInstantInstantSenderAffirmationProof] + >; + /** + * Mediator affirms a settlement leg. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The mediator affirmation proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotPending` if the settlement is not pending. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `AlreadyAffirmed` if the leg has already been affirmed by the mediator. + * * `NoMediatorForThisLeg` if the leg does not have a mediator. + **/ + mediatorAffirmation: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegProofsMediatorAffirmationProof + | { legRef?: any; accept?: any; keyIndex?: any; inner?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegProofsMediatorAffirmationProof] + >; + /** + * Mint a Confidential asset. + * + * # Arguments + * * `origin` - The origin of the call. They must be the owner of the Confidential asset and Confidential account. + * * `proof` - The minting proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `AccountMissing` if the Confidential account is not registered. + * * `AssetMissing` if the Confidential asset is not registered. + * * `NotAccountOwner` if the caller is not the owner of the Confidential account. + * * `InvalidProof` if the proof is invalid. + * * `NotAssetOwner` if the caller is not the owner of the Confidential asset. + * * `MaxTotalSupplyExceeded` if the total supply of the Confidential asset exceeds the maximum total supply. + * * `NullifierAlreadyUsed` if the nullifier for the account state commitment has already been used. + **/ + mintAsset: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpAssetAssetMintingProof + | { + pk?: any; + assetId?: any; + amount?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpAssetAssetMintingProof] + >; + /** + * Receiver affirms a settlement leg. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The receiver affirmation proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotPending` if the settlement is not pending. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `AlreadyAffirmed` if the leg has already been affirmed by the receiver. + **/ + receiverAffirmation: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegProofsReceiverAffirmationProof + | { + legRef?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegProofsReceiverAffirmationProof] + >; + /** + * Receiver claims their assets after a settlement has been executed. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The receiver claim proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotExecuted` if the settlement has not been executed. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `ReceiverHasNotAffirmed` if the receiver has not affirmed the leg. + **/ + receiverClaim: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegProofsReceiverClaimProof + | { + legRef?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegProofsReceiverClaimProof] + >; + /** + * Batch register multiple accounts and assets. + * + * This is used to initialize the first account state commitment of the Confidential asset for the Confidential account. + * + * # Arguments + * * `origin` - The origin of the call. They must be the owner of the Confidential account. + * * `proof` - The Batched Account asset registration proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `AccountMissing` if the Confidential account is not registered. + * * `AssetMissing` if the Confidential asset is not registered. + * * `AccountAssetAlreadyRegistered` if the Confidential account has already registered the Confidential asset. + * * `NotAccountOwner` if the caller is not the owner of the Confidential account. + * * `InvalidProof` if the proof is invalid. + **/ + registerAccountAssets: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpAccountBatchedAccountAssetRegistrationProof + | { proofs?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpAccountBatchedAccountAssetRegistrationProof] + >; + /** + * Register a dart account. + * + * # Arguments + * * `account` the dart account to register. + * * `encryption_key` the encryption key for the dart account. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `AccountAlreadyCreated` if the dart account or encryption key is already registered. + **/ + registerAccounts: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpKeysAccountRegistrationProof + | { accounts?: any; inner?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpKeysAccountRegistrationProof] + >; + /** + * Register encryption keys for auditors/mediators. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The auditor/mediator encryption registration proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `EncryptionKeyAlreadyRegistered` if the encryption key is already registered. + * * `InvalidProof` if the proof is invalid. + **/ + registerEncryptionKeys: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpKeysEncryptionKeyRegistrationProof + | { keys_?: any; inner?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpKeysEncryptionKeyRegistrationProof] + >; + /** + * Batch register multiple fee accounts. + * + * This is used to register fee accounts for Confidential private fee payments. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The batched fee account registration proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `FeeAccountAlreadyRegistered` if the fee account or encryption key is already registered. + * * `NullifierAlreadyUsed` if the nullifier for the fee account state commitment has already been used. + * * `InvalidFeeAssetId` if the fee asset ID is invalid. + * * `InvalidProof` if the proof is invalid. + * * `InsufficientBalance` if the caller has insufficient balance to pay the deposit. + **/ + registerFeeAccounts: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpFeeBatchedFeeAccountRegistrationProof + | { proofs?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpFeeBatchedFeeAccountRegistrationProof] + >; + /** + * Relayer submit a batch of proofs paid using a private fee payment. + * + * Users can use a Relayer service to submit their Confidential proofs for privacy (i.e., the origin is not the user). + * The Relayer is paid/reimbursed using a private fee payment from the user's Confidential fee account. + * + * Relayers can charge a commission fee on top of the transaction fee (i.e. `commission fee + transaction fee = fee amount`). + * + * Relayers should verify that the fee payment proof is valid before submitting the batched Confidential proofs. They are not required + * to verify the batched Confidential proofs. If the user's Confidential proofs are invalid, the user is still responsible for paying the fee to the relayer. + * + * # Arguments + * * `origin` - The origin of the call. This is the relayer. + * * `proof` - The fee payment proof and batched Confidential proofs. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `InvalidFeePaymentProof` if the fee payment proof is invalid. + * * `InsufficientFeePayment` if the fee payment is insufficient to cover the relayer fee. + **/ + relayerSubmitBatchedProofs: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpFeeFeePaymentWithBatchedProofs + | { feePayment?: any; batchedProofs?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpFeeFeePaymentWithBatchedProofs] + >; + /** + * Sender affirms a settlement leg. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The sender affirmation proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotPending` if the settlement is not pending. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `AlreadyAffirmed` if the leg has already been affirmed by the sender. + **/ + senderAffirmation: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegProofsSenderAffirmationProof + | { + legRef?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegProofsSenderAffirmationProof] + >; + /** + * Sender reverts their affirmation after a settlement has been rejected. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The sender revert proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotRejected` if the settlement has not been rejected. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `SenderHasNotAffirmed` if the sender has not affirmed the leg. + **/ + senderRevert: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegProofsSenderReversalProof + | { + legRef?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegProofsSenderReversalProof] + >; + /** + * Sender updates their counter after a settlement has been executed. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The sender update proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `SettlementNotExecuted` if the settlement has not been executed. + * * `SettlementNotFound` if the settlement is not found. + * * `LegNotFound` if the leg is not found in the settlement. + * * `SenderHasNotAffirmed` if the sender has not affirmed the leg. + **/ + senderUpdateCounter: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpLegProofsSenderCounterUpdateProof + | { + legRef?: any; + rootBlock?: any; + updatedAccountStateCommitment?: any; + nullifier?: any; + inner?: any; + } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpLegProofsSenderCounterUpdateProof] + >; + /** + * Submit a batch of proofs. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The batched proofs. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `InvalidProof` if any of the proofs are invalid. + **/ + submitBatchedProofs: AugmentedSubmittable< + ( + proof: PolymeshDartBpBatchedBatchedProofs | { proofs?: any } | string | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpBatchedBatchedProofs] + >; + /** + * Toup a batch of fee accounts. + * + * # Arguments + * * `origin` - The origin of the call. + * * `proof` - The batched fee account topup proof. + * + * # Errors + * * `BadOrigin` if `origin` isn't signed. + * * `FeeAccountMissing` if the fee account is not registered. + * * `InvalidFeeAssetId` if the fee asset ID is invalid. + * * `InvalidProof` if the proof is invalid. + * * `InsufficientBalance` if the caller has insufficient balance to pay the deposit. + **/ + topupFeeAccounts: AugmentedSubmittable< + ( + proof: + | PolymeshDartBpFeeBatchedFeeAccountTopupProof + | { rootBlock?: any; proofs?: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshDartBpFeeBatchedFeeAccountTopupProof] + >; + }; contracts: { /** * Makes a call to an account, optionally transferring some balance. @@ -2287,7 +2748,8 @@ declare module '@polkadot/api-base/types/submittable' { * * Instantiation is executed as follows: * - * - The supplied `code` is deployed, and a `code_hash` is created for that code. + * - The supplied `code` is instrumented, deployed, and a `code_hash` is created for that + * code. * - If the `code_hash` already exists on the chain the underlying `code` will be shared. * - The destination address is computed based on the sender, code_hash and the salt. * - The smart-contract account is created at the computed address. @@ -2333,22 +2795,6 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [Compact, Compact, Option>, Bytes, Bytes, Bytes] >; - /** - * When a migration is in progress, this dispatchable can be used to run migration steps. - * Calls that contribute to advancing the migration have their fees waived, as it's helpful - * for the chain. Note that while the migration is in progress, the pallet will also - * leverage the `on_idle` hooks to run migration steps. - **/ - migrate: AugmentedSubmittable< - ( - weightLimit: - | SpWeightsWeightV2Weight - | { refTime?: any; proofSize?: any } - | string - | Uint8Array - ) => SubmittableExtrinsic, - [SpWeightsWeightV2Weight] - >; /** * Remove the code stored under `code_hash` and refund the deposit to its owner. * @@ -2391,15 +2837,15 @@ declare module '@polkadot/api-base/types/submittable' { * * If the code does not already exist a deposit is reserved from the caller * and unreserved only when [`Self::remove_code`] is called. The size of the reserve - * depends on the size of the supplied `code`. + * depends on the instrumented size of the the supplied `code`. * * If the code already exists in storage it will still return `Ok` and upgrades * the in storage version to the current * [`InstructionWeights::version`](InstructionWeights). * - * - `determinism`: If this is set to any other value but [`Determinism::Enforced`] then - * the only way to use this code is to delegate call into it from an offchain execution. - * Set to [`Determinism::Enforced`] if in doubt. + * - `determinism`: If this is set to any other value but [`Determinism::Deterministic`] + * then the only way to use this code is to delegate call into it from an offchain + * execution. Set to [`Determinism::Deterministic`] if in doubt. * * # Note * @@ -2407,10 +2853,6 @@ declare module '@polkadot/api-base/types/submittable' { * To avoid this situation a constructor could employ access control so that it can * only be instantiated by permissioned entities. The same is true when uploading * through [`Self::instantiate_with_code`]. - * - * Use [`Determinism::Relaxed`] exclusively for non-deterministic code. If the uploaded - * code is deterministic, specifying [`Determinism::Relaxed`] will be disregarded and - * result in higher gas costs. **/ uploadCode: AugmentedSubmittable< ( @@ -2421,7 +2863,12 @@ declare module '@polkadot/api-base/types/submittable' { | Uint8Array | Compact | AnyNumber, - determinism: PalletContractsWasmDeterminism | 'Enforced' | 'Relaxed' | number | Uint8Array + determinism: + | PalletContractsWasmDeterminism + | 'Deterministic' + | 'AllowIndeterminism' + | number + | Uint8Array ) => SubmittableExtrinsic, [Bytes, Option>, PalletContractsWasmDeterminism] >; @@ -3759,14 +4206,22 @@ declare module '@polkadot/api-base/types/submittable' { imOnline: { /** * ## Complexity: - * - `O(K)` where K is length of `Keys` (heartbeat.validators_len) + * - `O(K + E)` where K is length of `Keys` (heartbeat.validators_len) and E is length of + * `heartbeat.network_state.external_address` * - `O(K)`: decoding of length `K` + * - `O(E)`: decoding/encoding of length `E` **/ heartbeat: AugmentedSubmittable< ( heartbeat: | PalletImOnlineHeartbeat - | { blockNumber?: any; sessionIndex?: any; authorityIndex?: any; validatorsLen?: any } + | { + blockNumber?: any; + networkState?: any; + sessionIndex?: any; + authorityIndex?: any; + validatorsLen?: any; + } | string | Uint8Array, signature: PalletImOnlineSr25519AppSr25519Signature | string | Uint8Array @@ -3860,22 +4315,6 @@ declare module '@polkadot/api-base/types/submittable' { (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** - * Poke the deposit reserved for an index. - * - * The dispatch origin for this call must be _Signed_ and the signing account must have a - * non-frozen account `index`. - * - * The transaction fees is waived if the deposit is changed after poking/reconsideration. - * - * - `index`: the index whose deposit is to be poked/reconsidered. - * - * Emits `DepositPoked` if successful. - **/ - pokeDeposit: AugmentedSubmittable< - (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, - [u32] - >; /** * Assign an index already owned by the sender to another account. The balance reservation * is effectively transferred to the new account. @@ -5137,15 +5576,6 @@ declare module '@polkadot/api-base/types/submittable' { >; }; preimage: { - /** - * Ensure that the bulk of pre-images is upgraded. - * - * The caller pays no fee if at least 90% of pre-images were successfully updated. - **/ - ensureUpdated: AugmentedSubmittable< - (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, - [Vec] - >; /** * Register a preimage on-chain. * @@ -5368,22 +5798,6 @@ declare module '@polkadot/api-base/types/submittable' { (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** - * Removes the retry configuration of a task. - **/ - cancelRetry: AugmentedSubmittable< - ( - task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] - ) => SubmittableExtrinsic, - [ITuple<[u32, u32]>] - >; - /** - * Cancel the retry configuration of a named task. - **/ - cancelRetryNamed: AugmentedSubmittable< - (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, - [U8aFixed] - >; /** * Anonymously schedule a task. **/ @@ -5444,59 +5858,15 @@ declare module '@polkadot/api-base/types/submittable' { id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: - | Option> - | null - | Uint8Array - | ITuple<[u32, u32]> - | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], - priority: u8 | AnyNumber | Uint8Array, - call: Call | IMethod | string | Uint8Array - ) => SubmittableExtrinsic, - [U8aFixed, u32, Option>, u8, Call] - >; - /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will - * be retried after `period` blocks, for a total amount of `retries` retries or until it - * succeeds. - * - * Tasks which need to be scheduled for a retry are still subject to weight metering and - * agenda space, same as a regular task. If a periodic task fails, it will be scheduled - * normally while the task is retrying. - * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic - * clones of the original task. Their retry configuration will be derived from the - * original task's configuration, but will have a lower value for `remaining` than the - * original `total_retries`. - **/ - setRetry: AugmentedSubmittable< - ( - task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], - retries: u8 | AnyNumber | Uint8Array, - period: u32 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [ITuple<[u32, u32]>, u8, u32] - >; - /** - * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until - * it succeeds. - * - * Tasks which need to be scheduled for a retry are still subject to weight metering and - * agenda space, same as a regular task. If a periodic task fails, it will be scheduled - * normally while the task is retrying. - * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic - * clones of the original task. Their retry configuration will be derived from the - * original task's configuration, but will have a lower value for `remaining` than the - * original `total_retries`. - **/ - setRetryNamed: AugmentedSubmittable< - ( - id: U8aFixed | string | Uint8Array, - retries: u8 | AnyNumber | Uint8Array, - period: u32 | AnyNumber | Uint8Array + | Option> + | null + | Uint8Array + | ITuple<[u32, u32]> + | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], + priority: u8 | AnyNumber | Uint8Array, + call: Call | IMethod | string | Uint8Array ) => SubmittableExtrinsic, - [U8aFixed, u8, u32] + [U8aFixed, u32, Option>, u8, Call] >; }; session: { @@ -6249,6 +6619,18 @@ declare module '@polkadot/api-base/types/submittable' { >; }; staking: { + /** + * Adds a permissioned identity and sets its preferences. + * + * The dispatch origin must be Root. + **/ + addPermissionedValidator: AugmentedSubmittable< + ( + identity: PolymeshPrimitivesIdentityId | string | Uint8Array, + intendedCount: Option | null | Uint8Array | u32 | AnyNumber + ) => SubmittableExtrinsic, + [PolymeshPrimitivesIdentityId, Option] + >; /** * Take the origin account as a stash and lock up `value` of its balance. `controller` will * be the account that controls it. @@ -6264,11 +6646,19 @@ declare module '@polkadot/api-base/types/submittable' { * - Three extra DB entries. * * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned - * unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed - * as dust. + * unless the `origin` falls below _existential deposit_ and gets removed as dust. **/ bond: AugmentedSubmittable< ( + controller: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array, value: Compact | AnyNumber | Uint8Array, payee: | PalletStakingRewardDestination @@ -6280,7 +6670,7 @@ declare module '@polkadot/api-base/types/submittable' { | string | Uint8Array ) => SubmittableExtrinsic, - [Compact, PalletStakingRewardDestination] + [MultiAddress, Compact, PalletStakingRewardDestination] >; /** * Add some extra amount that have appeared in the stash `free_balance` into the balance up @@ -6316,6 +6706,21 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [u32, Vec] >; + /** + * Switch slashing status on the basis of given `slashing_switch`. Can only be called by root. + **/ + changeSlashingAllowedFor: AugmentedSubmittable< + ( + slashingSwitch: + | PalletStakingSlashingSwitch + | 'Validator' + | 'ValidatorAndNominator' + | 'None' + | number + | Uint8Array + ) => SubmittableExtrinsic, + [PalletStakingSlashingSwitch] + >; /** * Declare no desire to either validate or nominate. * @@ -6329,6 +6734,16 @@ declare module '@polkadot/api-base/types/submittable' { * - Writes are limited to the `origin` account key. **/ chill: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Governance council forcefully chills a validator. Effects will be felt at the beginning of the next era. + **/ + chillFromGovernance: AugmentedSubmittable< + ( + identity: PolymeshPrimitivesIdentityId | string | Uint8Array, + stashKeys: Vec | (AccountId32 | string | Uint8Array)[] + ) => SubmittableExtrinsic, + [PolymeshPrimitivesIdentityId, Vec] + >; /** * Declare a `controller` to stop participating as either a validator or nominator. * @@ -6358,24 +6773,9 @@ declare module '@polkadot/api-base/types/submittable' { * who do not satisfy these requirements. **/ chillOther: AugmentedSubmittable< - (stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, + (controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32] >; - /** - * Updates a batch of controller accounts to their corresponding stash account if they are - * not the same. Ignores any controller accounts that do not exist, and does not operate if - * the stash and controller are already the same. - * - * Effects will be felt instantly (as soon as this function is completed successfully). - * - * The dispatch origin must be `T::AdminOrigin`. - **/ - deprecateControllerBatch: AugmentedSubmittable< - ( - controllers: Vec | (AccountId32 | string | Uint8Array)[] - ) => SubmittableExtrinsic, - [Vec] - >; /** * Force a validator to have at least the minimum commission. This will not affect a * validator who already has a commission greater than or equal to the minimum. Any account @@ -6434,11 +6834,6 @@ declare module '@polkadot/api-base/types/submittable' { * Force a current staker to become completely unstaked, immediately. * * The dispatch origin must be Root. - * - * ## Parameters - * - * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more - * details. **/ forceUnstake: AugmentedSubmittable< ( @@ -6448,7 +6843,7 @@ declare module '@polkadot/api-base/types/submittable' { [AccountId32, u32] >; /** - * Increments the ideal number of validators up to maximum of + * Increments the ideal number of validators upto maximum of * `ElectionProviderBase::MaxWinners`. * * The dispatch origin must be Root. @@ -6490,50 +6885,6 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [Vec] >; - /** - * This function allows governance to manually slash a validator and is a - * **fallback mechanism**. - * - * The dispatch origin must be `T::AdminOrigin`. - * - * ## Parameters - * - `validator_stash` - The stash account of the validator to slash. - * - `era` - The era in which the validator was in the active set. - * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill. - * - * ## Behavior - * - * The slash will be applied using the standard slashing mechanics, respecting the - * configured `SlashDeferDuration`. - * - * This means: - * - If the validator was already slashed by a higher percentage for the same era, this - * slash will have no additional effect. - * - If the validator was previously slashed by a lower percentage, only the difference - * will be applied. - * - The slash will be deferred by `SlashDeferDuration` eras before being enacted. - **/ - manualSlash: AugmentedSubmittable< - ( - validatorStash: AccountId32 | string | Uint8Array, - era: u32 | AnyNumber | Uint8Array, - slashFraction: Perbill | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [AccountId32, u32, Perbill] - >; - /** - * Removes the legacy Staking locks if they exist. - * - * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a - * hold on it if needed. If all stake cannot be held, the best effort is made to hold as - * much as possible. The remaining stake is forced withdrawn from the ledger. - * - * The fee is waived if the migration is successful. - **/ - migrateCurrency: AugmentedSubmittable< - (stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, - [AccountId32] - >; /** * Declare the desire to nominate `targets` for the origin controller. * @@ -6564,19 +6915,17 @@ declare module '@polkadot/api-base/types/submittable' { [Vec] >; /** - * Pay out next page of the stakers behind a validator for the given era. + * Pay out all the stakers behind a single validator for a single era. * - * - `validator_stash` is the stash account of the validator. + * - `validator_stash` is the stash account of the validator. Their nominators, up to + * `T::MaxNominatorRewardedPerValidator`, will also receive their rewards. * - `era` may be any era between `[current_era - history_depth; current_era]`. * * The origin of this call must be _Signed_. Any account can call this function, even if * it is not one of the stakers. * - * The reward payout could be paged in case there are too many nominators backing the - * `validator_stash`. This call will payout unpaid pages in an ascending order. To claim a - * specific page, use `payout_stakers_by_page`.` - * - * If all pages are claimed, it returns an error `InvalidPage`. + * ## Complexity + * - At most O(MaxNominatorRewardedPerValidator). **/ payoutStakers: AugmentedSubmittable< ( @@ -6585,32 +6934,12 @@ declare module '@polkadot/api-base/types/submittable' { ) => SubmittableExtrinsic, [AccountId32, u32] >; - /** - * Pay out a page of the stakers behind a validator for the given era and page. - * - * - `validator_stash` is the stash account of the validator. - * - `era` may be any era between `[current_era - history_depth; current_era]`. - * - `page` is the page index of nominators to pay out with value between 0 and - * `num_nominators / T::MaxExposurePageSize`. - * - * The origin of this call must be _Signed_. Any account can call this function, even if - * it is not one of the stakers. - * - * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing - * them, then the list of nominators is paged, with each page being capped at - * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators, - * the call needs to be made for each page separately in order for all the nominators - * backing a validator to receive the reward. The nominators are not sorted across pages - * and so it should not be assumed the highest staker would be on the topmost page and vice - * versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost. - **/ - payoutStakersByPage: AugmentedSubmittable< + payoutStakersBySystem: AugmentedSubmittable< ( validatorStash: AccountId32 | string | Uint8Array, - era: u32 | AnyNumber | Uint8Array, - page: u32 | AnyNumber | Uint8Array + era: u32 | AnyNumber | Uint8Array ) => SubmittableExtrinsic, - [AccountId32, u32, u32] + [AccountId32, u32] >; /** * Remove all data structures concerning a staker/stash once it is at a state where it can @@ -6618,7 +6947,6 @@ declare module '@polkadot/api-base/types/submittable' { * * 1. the `total_balance` of the stash is below existential deposit. * 2. or, the `ledger.total` of the stash is below existential deposit. - * 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero. * * The former can happen in cases like a slash; the latter when a fully unbonded account * is still receiving staking rewards in `RewardDestination::Staked`. @@ -6626,11 +6954,6 @@ declare module '@polkadot/api-base/types/submittable' { * It can be called by anyone, as long as `stash` meets the above requirements. * * Refunds the transaction fees upon successful execution. - * - * ## Parameters - * - * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more - * details. **/ reapStash: AugmentedSubmittable< ( @@ -6653,34 +6976,22 @@ declare module '@polkadot/api-base/types/submittable' { [Compact] >; /** - * Restores the state of a ledger which is in an inconsistent state. + * Remove an identity from the pool of (wannabe) validator identities. Effects are known in the next session. * - * The requirements to restore a ledger are the following: - * * The stash is bonded; or - * * The stash is not bonded but it has a staking lock left behind; or - * * If the stash has an associated ledger and its state is inconsistent; or - * * If the ledger is not corrupted *but* its staking lock is out of sync. + * The dispatch origin must be Root. * - * The `maybe_*` input parameters will overwrite the corresponding data and metadata of the - * ledger associated with the stash. If the input parameters are not set, the ledger will - * be reset values from on-chain state. + * # Arguments + * * origin Required origin for removing a potential validator. + * * identity Validator's IdentityId. **/ - restoreLedger: AugmentedSubmittable< + removePermissionedValidator: AugmentedSubmittable< ( - stash: AccountId32 | string | Uint8Array, - maybeController: Option | null | Uint8Array | AccountId32 | string, - maybeTotal: Option | null | Uint8Array | u128 | AnyNumber, - maybeUnlocking: - | Option> - | null - | Uint8Array - | Vec - | (PalletStakingUnlockChunk | { value?: any; era?: any } | string | Uint8Array)[] + identity: PolymeshPrimitivesIdentityId | string | Uint8Array ) => SubmittableExtrinsic, - [AccountId32, Option, Option, Option>] + [PolymeshPrimitivesIdentityId] >; /** - * Scale up the ideal number of validators by a factor up to maximum of + * Scale up the ideal number of validators by a factor upto maximum of * `ElectionProviderBase::MaxWinners`. * * The dispatch origin must be Root. @@ -6693,10 +7004,18 @@ declare module '@polkadot/api-base/types/submittable' { [Percent] >; /** - * (Re-)sets the controller of a stash to the stash itself. This function previously - * accepted a `controller` argument to set the controller to an account other than the - * stash itself. This functionality has now been removed, now only setting the controller - * to the stash, if it is not already. + * Changes commission rate which applies to all validators. Only Governance + * committee is allowed to change this value. + * + * # Arguments + * * `new_cap` the new commission cap. + **/ + setCommissionCap: AugmentedSubmittable< + (newCap: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, + [Perbill] + >; + /** + * (Re-)set the controller of a stash. * * Effects will be felt instantly (as soon as this function is completed successfully). * @@ -6708,7 +7027,20 @@ declare module '@polkadot/api-base/types/submittable' { * - Contains a limited number of reads. * - Writes are limited to the `origin` account key. **/ - setController: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + setController: AugmentedSubmittable< + ( + controller: + | MultiAddress + | { Id: any } + | { Index: any } + | { Raw: any } + | { Address32: any } + | { Address20: any } + | string + | Uint8Array + ) => SubmittableExtrinsic, + [MultiAddress] + >; /** * Set the validators who cannot be slashed (if any). * @@ -6820,13 +7152,6 @@ declare module '@polkadot/api-base/types/submittable' { | { Set: any } | { Remove: any } | string - | Uint8Array, - maxStakedRewards: - | PalletStakingPalletConfigOpPercent - | { Noop: any } - | { Set: any } - | { Remove: any } - | string | Uint8Array ) => SubmittableExtrinsic, [ @@ -6835,8 +7160,7 @@ declare module '@polkadot/api-base/types/submittable' { PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpU32, PalletStakingPalletConfigOpPercent, - PalletStakingPalletConfigOpPerbill, - PalletStakingPalletConfigOpPercent + PalletStakingPalletConfigOpPerbill ] >; /** @@ -6854,7 +7178,7 @@ declare module '@polkadot/api-base/types/submittable' { /** * Schedule a portion of the stash to be unlocked ready for transfer out after the bond * period ends. If this leaves an amount actively bonded less than - * [`asset::existential_deposit`], then it is increased to the full amount. + * T::Currency::minimum_balance(), then it is increased to the full amount. * * The dispatch origin for this call must be _Signed_ by the controller, not the stash. * @@ -6877,16 +7201,14 @@ declare module '@polkadot/api-base/types/submittable' { [Compact] >; /** - * Migrates an account's `RewardDestination::Controller` to - * `RewardDestination::Account(controller)`. - * - * Effects will be felt instantly (as soon as this function is completed successfully). - * - * This will waive the transaction fee if the `payee` is successfully migrated. + * Sets the intended count to `new_intended_count` for the given `identity`. **/ - updatePayee: AugmentedSubmittable< - (controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, - [AccountId32] + updatePermissionedValidatorIntendedCount: AugmentedSubmittable< + ( + identity: PolymeshPrimitivesIdentityId | string | Uint8Array, + newIntendedCount: u32 | AnyNumber | Uint8Array + ) => SubmittableExtrinsic, + [PolymeshPrimitivesIdentityId, u32] >; /** * Declare the desire to validate for the origin controller. @@ -6908,8 +7230,8 @@ declare module '@polkadot/api-base/types/submittable' { /** * Remove any unlocked chunks from the `unlocking` queue from our management. * - * This essentially frees up that balance to be used by the stash account to do whatever - * it wants. + * This essentially frees up that balance to be used by the stash account to do + * whatever it wants. * * The dispatch origin for this call must be _Signed_ by the controller. * @@ -6917,15 +7239,6 @@ declare module '@polkadot/api-base/types/submittable' { * * See also [`Call::unbond`]. * - * ## Parameters - * - * - `num_slashing_spans` indicates the number of metadata slashing spans to clear when - * this call results in a complete removal of all the data related to the stash account. - * In this case, the `num_slashing_spans` must be larger or equal to the number of - * slashing spans associated with the stash account in the [`SlashingSpans`] storage type, - * otherwise the call will fail. The call weight is directly proportional to - * `num_slashing_spans`. - * * ## Complexity * O(S) where S is the number of slashing spans to remove * NOTE: Weight annotation is the kill scenario, we refund otherwise. @@ -7404,45 +7717,6 @@ declare module '@polkadot/api-base/types/submittable' { >; }; system: { - /** - * 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. - * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply - * the new `code` in the same block or attempt to schedule the upgrade. - * - * All origins are allowed. - **/ - applyAuthorizedUpgrade: AugmentedSubmittable< - (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, - [Bytes] - >; - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * This call requires Root origin. - **/ - authorizeUpgrade: AugmentedSubmittable< - (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, - [H256] - >; - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * WARNING: This authorizes an upgrade that will take place without any safety checks, for - * example that the spec name remains the same and that the version number increases. Not - * recommended for normal use. Use `authorize_upgrade` instead. - * - * This call requires Root origin. - **/ - authorizeUpgradeWithoutChecks: AugmentedSubmittable< - (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, - [H256] - >; /** * Kill all storage items with a key that starts with the given prefix. * @@ -7466,7 +7740,8 @@ declare module '@polkadot/api-base/types/submittable' { /** * Make some on-chain remark. * - * Can be executed by every `origin`. + * ## Complexity + * - `O(1)` **/ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, @@ -7481,6 +7756,9 @@ declare module '@polkadot/api-base/types/submittable' { >; /** * Set the new runtime code. + * + * ## Complexity + * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code` **/ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, @@ -7489,8 +7767,8 @@ declare module '@polkadot/api-base/types/submittable' { /** * Set the new runtime code without doing any checks of the given `code`. * - * Note that runtime upgrades will not run if this is called with a not-increasing spec - * version! + * ## Complexity + * - `O(C)` where `C` length of `code` **/ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, @@ -7722,17 +8000,13 @@ declare module '@polkadot/api-base/types/submittable' { * phase, if this call hasn't been invoked by that time. * * The timestamp should be greater than the previous one by the amount specified by - * [`Config::MinimumPeriod`]. + * `MinimumPeriod`. * - * The dispatch origin for this call must be _None_. - * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware - * that changing the complexity of this call could result exhausting the resources in a - * block to execute any other calls. + * The dispatch origin for this call must be `Inherent`. * * ## Complexity * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) - * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in + * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in * `on_finalize`) * - 1 event handler `on_timestamp_set`. Must be `O(1)`. **/ @@ -8050,6 +8324,7 @@ declare module '@polkadot/api-base/types/submittable' { asOrigin: | PolymeshRuntimeDevelopRuntimeOriginCaller | { system: any } + | { Void: any } | { PolymeshCommittee: any } | { TechnicalCommittee: any } | { UpgradeCommittee: any } @@ -8125,87 +8400,5 @@ declare module '@polkadot/api-base/types/submittable' { [Call, SpWeightsWeightV2Weight] >; }; - validators: { - /** - * Adds a permissioned identity and sets its preferences. - * - * The dispatch origin must be Root. - **/ - addPermissionedValidator: AugmentedSubmittable< - ( - identity: PolymeshPrimitivesIdentityId | string | Uint8Array, - intendedCount: Option | null | Uint8Array | u32 | AnyNumber - ) => SubmittableExtrinsic, - [PolymeshPrimitivesIdentityId, Option] - >; - /** - * Switch slashing status on the basis of given `slashing_switch`. Can only be called by root. - **/ - changeSlashingAllowedFor: AugmentedSubmittable< - ( - slashingSwitch: - | PalletValidatorsSlashingSwitch - | 'Validator' - | 'ValidatorAndNominator' - | 'None' - | number - | Uint8Array - ) => SubmittableExtrinsic, - [PalletValidatorsSlashingSwitch] - >; - /** - * Governance council forcefully chills a validator. Effects will be felt at the beginning of the next era. - **/ - chillFromGovernance: AugmentedSubmittable< - ( - identity: PolymeshPrimitivesIdentityId | string | Uint8Array, - stashKeys: Vec | (AccountId32 | string | Uint8Array)[] - ) => SubmittableExtrinsic, - [PolymeshPrimitivesIdentityId, Vec] - >; - payoutStakersBySystem: AugmentedSubmittable< - ( - validatorStash: AccountId32 | string | Uint8Array, - era: u32 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [AccountId32, u32] - >; - /** - * Remove an identity from the pool of (wannabe) validator identities. Effects are known in the next session. - * - * The dispatch origin must be Root. - * - * # Arguments - * * origin Required origin for removing a potential validator. - * * identity Validator's IdentityId. - **/ - removePermissionedValidator: AugmentedSubmittable< - ( - identity: PolymeshPrimitivesIdentityId | string | Uint8Array - ) => SubmittableExtrinsic, - [PolymeshPrimitivesIdentityId] - >; - /** - * Changes commission rate which applies to all validators. Only Governance - * committee is allowed to change this value. - * - * # Arguments - * * `new_cap` the new commission cap. - **/ - setCommissionCap: AugmentedSubmittable< - (newCap: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, - [Perbill] - >; - /** - * Sets the intended count to `new_intended_count` for the given `identity`. - **/ - updatePermissionedValidatorIntendedCount: AugmentedSubmittable< - ( - identity: PolymeshPrimitivesIdentityId | string | Uint8Array, - newIntendedCount: u32 | AnyNumber | Uint8Array - ) => SubmittableExtrinsic, - [PolymeshPrimitivesIdentityId, u32] - >; - }; } // AugmentedSubmittables } // declare module diff --git a/src/polkadot/augment-types.ts b/src/polkadot/augment-types.ts index e05ec04..7c8433a 100644 --- a/src/polkadot/augment-types.ts +++ b/src/polkadot/augment-types.ts @@ -53,15 +53,11 @@ import type { OffChainLeg, PalletName, PalletPermissions, - PalletPipsPipId, - PalletProtocolFeeRpcRuntimeApiCappedFee, Percentage, Permissions, PipId, PolymeshAssetId, PolymeshMoment, - PolymeshPrimitivesSettlementInstructionId, - PolymeshRuntimeDevelopRuntimeRuntimeCall, PortfolioId, PortfolioKind, PortfolioNumber, @@ -2186,8 +2182,6 @@ declare module '@polkadot/types/types/registry' { PalletMetadataV16: PalletMetadataV16; PalletName: PalletName; PalletPermissions: PalletPermissions; - PalletPipsPipId: PalletPipsPipId; - PalletProtocolFeeRpcRuntimeApiCappedFee: PalletProtocolFeeRpcRuntimeApiCappedFee; PalletsOrigin: PalletsOrigin; PalletStorageMetadataLatest: PalletStorageMetadataLatest; PalletStorageMetadataV14: PalletStorageMetadataV14; @@ -2240,8 +2234,6 @@ declare module '@polkadot/types/types/registry' { PipId: PipId; PolymeshAssetId: PolymeshAssetId; PolymeshMoment: PolymeshMoment; - PolymeshPrimitivesSettlementInstructionId: PolymeshPrimitivesSettlementInstructionId; - PolymeshRuntimeDevelopRuntimeRuntimeCall: PolymeshRuntimeDevelopRuntimeRuntimeCall; PortableType: PortableType; PortableTypeV14: PortableTypeV14; PortfolioId: PortfolioId; diff --git a/src/polkadot/lookup.ts b/src/polkadot/lookup.ts index 2e3dd87..2210a95 100644 --- a/src/polkadot/lookup.ts +++ b/src/polkadot/lookup.ts @@ -5,7 +5,7 @@ export default { /** - * Lookup3: frame_system::AccountInfo> + * Lookup3: frame_system::AccountInfo **/ FrameSystemAccountInfo: { nonce: 'u32', @@ -15,16 +15,16 @@ export default { data: 'PalletBalancesAccountData', }, /** - * Lookup5: pallet_balances::types::AccountData + * Lookup5: pallet_balances::AccountData **/ PalletBalancesAccountData: { free: 'u128', reserved: 'u128', - frozen: 'u128', - flags: 'u128', + miscFrozen: 'u128', + feeFrozen: 'u128', }, /** - * Lookup9: frame_support::dispatch::PerDispatchClass + * Lookup7: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeight: { normal: 'SpWeightsWeightV2Weight', @@ -32,20 +32,20 @@ export default { mandatory: 'SpWeightsWeightV2Weight', }, /** - * Lookup10: sp_weights::weight_v2::Weight + * Lookup8: sp_weights::weight_v2::Weight **/ SpWeightsWeightV2Weight: { refTime: 'Compact', proofSize: 'Compact', }, /** - * Lookup15: sp_runtime::generic::digest::Digest + * Lookup13: sp_runtime::generic::digest::Digest **/ SpRuntimeDigest: { logs: 'Vec', }, /** - * Lookup17: sp_runtime::generic::digest::DigestItem + * Lookup15: sp_runtime::generic::digest::DigestItem **/ SpRuntimeDigestDigestItem: { _enum: { @@ -61,7 +61,7 @@ export default { }, }, /** - * Lookup20: frame_system::EventRecord + * Lookup18: frame_system::EventRecord **/ FrameSystemEventRecord: { phase: 'FrameSystemPhase', @@ -69,16 +69,16 @@ export default { topics: 'Vec', }, /** - * Lookup22: frame_system::pallet::Event + * Lookup20: frame_system::pallet::Event **/ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { - dispatchInfo: 'FrameSystemDispatchEventInfo', + dispatchInfo: 'FrameSupportDispatchDispatchInfo', }, ExtrinsicFailed: { dispatchError: 'SpRuntimeDispatchError', - dispatchInfo: 'FrameSystemDispatchEventInfo', + dispatchInfo: 'FrameSupportDispatchDispatchInfo', }, CodeUpdated: 'Null', NewAccount: { @@ -94,38 +94,30 @@ export default { sender: 'AccountId32', hash_: 'H256', }, - UpgradeAuthorized: { - codeHash: 'H256', - checkVersion: 'bool', - }, - RejectedInvalidAuthorizedUpgrade: { - codeHash: 'H256', - error: 'SpRuntimeDispatchError', - }, }, }, /** - * Lookup23: frame_system::DispatchEventInfo + * Lookup21: frame_support::dispatch::DispatchInfo **/ - FrameSystemDispatchEventInfo: { + FrameSupportDispatchDispatchInfo: { weight: 'SpWeightsWeightV2Weight', class: 'FrameSupportDispatchDispatchClass', paysFee: 'FrameSupportDispatchPays', }, /** - * Lookup24: frame_support::dispatch::DispatchClass + * Lookup22: frame_support::dispatch::DispatchClass **/ FrameSupportDispatchDispatchClass: { _enum: ['Normal', 'Operational', 'Mandatory'], }, /** - * Lookup25: frame_support::dispatch::Pays + * Lookup23: frame_support::dispatch::Pays **/ FrameSupportDispatchPays: { _enum: ['Yes', 'No'], }, /** - * Lookup26: sp_runtime::DispatchError + * Lookup24: sp_runtime::DispatchError **/ SpRuntimeDispatchError: { _enum: { @@ -142,69 +134,43 @@ export default { Exhausted: 'Null', Corruption: 'Null', Unavailable: 'Null', - RootNotAllowed: 'Null', - Trie: 'SpRuntimeProvingTrieTrieError', }, }, /** - * Lookup27: sp_runtime::ModuleError + * Lookup25: sp_runtime::ModuleError **/ SpRuntimeModuleError: { index: 'u8', error: '[u8;4]', }, /** - * Lookup28: sp_runtime::TokenError + * Lookup26: sp_runtime::TokenError **/ SpRuntimeTokenError: { _enum: [ - 'FundsUnavailable', - 'OnlyProvider', + 'NoFunds', + 'WouldDie', 'BelowMinimum', 'CannotCreate', 'UnknownAsset', 'Frozen', 'Unsupported', - 'CannotCreateHold', - 'NotExpendable', - 'Blocked', ], }, /** - * Lookup29: sp_arithmetic::ArithmeticError + * Lookup27: sp_arithmetic::ArithmeticError **/ SpArithmeticArithmeticError: { _enum: ['Underflow', 'Overflow', 'DivisionByZero'], }, /** - * Lookup30: sp_runtime::TransactionalError + * Lookup28: sp_runtime::TransactionalError **/ SpRuntimeTransactionalError: { _enum: ['LimitReached', 'NoLayer'], }, /** - * Lookup31: sp_runtime::proving_trie::TrieError - **/ - SpRuntimeProvingTrieTrieError: { - _enum: [ - 'InvalidStateRoot', - 'IncompleteDatabase', - 'ValueAtIncompleteKey', - 'DecoderError', - 'InvalidHash', - 'DuplicateKey', - 'ExtraneousNode', - 'ExtraneousValue', - 'ExtraneousHashReference', - 'InvalidChildReference', - 'ValueMismatch', - 'IncompleteProof', - 'RootMismatch', - 'DecodeError', - ], - }, - /** - * Lookup32: pallet_indices::pallet::Event + * Lookup29: pallet_indices::pallet::Event **/ PalletIndicesEvent: { _enum: { @@ -219,130 +185,39 @@ export default { index: 'u32', who: 'AccountId32', }, - DepositPoked: { - who: 'AccountId32', - index: 'u32', - oldDeposit: 'u128', - newDeposit: 'u128', - }, }, }, /** - * Lookup33: pallet_balances::pallet::Event + * Lookup30: pallet_balances::pallet::Event **/ PalletBalancesEvent: { _enum: { - Endowed: { - account: 'AccountId32', - freeBalance: 'u128', - }, - DustLost: { - account: 'AccountId32', - amount: 'u128', - }, - Transfer: { - from: 'AccountId32', - to: 'AccountId32', - amount: 'u128', - }, - BalanceSet: { - who: 'AccountId32', - free: 'u128', - }, - Reserved: { - who: 'AccountId32', - amount: 'u128', - }, - Unreserved: { - who: 'AccountId32', - amount: 'u128', - }, - ReserveRepatriated: { - from: 'AccountId32', - to: 'AccountId32', - amount: 'u128', - destinationStatus: 'FrameSupportTokensMiscBalanceStatus', - }, - Deposit: { - who: 'AccountId32', - amount: 'u128', - }, - Withdraw: { - who: 'AccountId32', - amount: 'u128', - }, - Slashed: { - who: 'AccountId32', - amount: 'u128', - }, - Minted: { - who: 'AccountId32', - amount: 'u128', - }, - Burned: { - who: 'AccountId32', - amount: 'u128', - }, - Suspended: { - who: 'AccountId32', - amount: 'u128', - }, - Restored: { - who: 'AccountId32', - amount: 'u128', - }, - Upgraded: { - who: 'AccountId32', - }, - Issued: { - amount: 'u128', - }, - Rescinded: { - amount: 'u128', - }, - Locked: { - who: 'AccountId32', - amount: 'u128', - }, - Unlocked: { - who: 'AccountId32', - amount: 'u128', - }, - Frozen: { - who: 'AccountId32', - amount: 'u128', - }, - Thawed: { - who: 'AccountId32', - amount: 'u128', - }, - TotalIssuanceForced: { - _alias: { - new_: 'new', - }, - old: 'u128', - new_: 'u128', - }, - TransferMemo: { - from: 'AccountId32', - to: 'AccountId32', - amount: 'u128', - memo: 'Option', - }, + Endowed: '(Option,AccountId32,u128)', + Transfer: + '(Option,AccountId32,Option,AccountId32,u128,Option)', + BalanceSet: '(PolymeshPrimitivesIdentityId,AccountId32,u128,u128)', + AccountBalanceBurned: '(PolymeshPrimitivesIdentityId,AccountId32,u128)', + Reserved: '(AccountId32,u128)', + Unreserved: '(AccountId32,u128)', + ReserveRepatriated: '(AccountId32,AccountId32,u128,FrameSupportTokensMiscBalanceStatus)', }, }, /** - * Lookup34: frame_support::traits::tokens::misc::BalanceStatus + * Lookup32: polymesh_primitives::identity_id::IdentityId **/ - FrameSupportTokensMiscBalanceStatus: { - _enum: ['Free', 'Reserved'], - }, + PolymeshPrimitivesIdentityId: '[u8;32]', /** - * Lookup36: polymesh_primitives::Memo + * Lookup34: polymesh_primitives::Memo **/ PolymeshPrimitivesMemo: '[u8;32]', /** - * Lookup37: pallet_transaction_payment::pallet::Event + * Lookup35: frame_support::traits::tokens::misc::BalanceStatus + **/ + FrameSupportTokensMiscBalanceStatus: { + _enum: ['Free', 'Reserved'], + }, + /** + * Lookup36: pallet_transaction_payment::pallet::Event **/ PalletTransactionPaymentEvent: { _enum: { @@ -354,7 +229,7 @@ export default { }, }, /** - * Lookup38: pallet_identity::pallet::Event + * Lookup37: pallet_identity::pallet::Event **/ PalletIdentityEvent: { _enum: { @@ -386,18 +261,14 @@ export default { }, }, /** - * Lookup39: polymesh_primitives::identity_id::IdentityId - **/ - PolymeshPrimitivesIdentityId: '[u8;32]', - /** - * Lookup41: polymesh_primitives::secondary_key::SecondaryKey + * Lookup39: polymesh_primitives::secondary_key::SecondaryKey **/ PolymeshPrimitivesSecondaryKey: { key: 'AccountId32', permissions: 'PolymeshPrimitivesSecondaryKeyPermissions', }, /** - * Lookup42: polymesh_primitives::secondary_key::Permissions + * Lookup40: polymesh_primitives::secondary_key::Permissions **/ PolymeshPrimitivesSecondaryKeyPermissions: { asset: 'PolymeshPrimitivesSubsetSubsetRestrictionAssetId', @@ -405,7 +276,7 @@ export default { portfolio: 'PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId', }, /** - * Lookup43: polymesh_primitives::subset::SubsetRestriction + * Lookup41: polymesh_primitives::subset::SubsetRestriction **/ PolymeshPrimitivesSubsetSubsetRestrictionAssetId: { _enum: { @@ -415,11 +286,11 @@ export default { }, }, /** - * Lookup44: polymesh_primitives::asset::AssetId + * Lookup42: polymesh_primitives::asset::AssetId **/ PolymeshPrimitivesAssetAssetId: '[u8;16]', /** - * Lookup48: polymesh_primitives::secondary_key::ExtrinsicPermissions + * Lookup46: polymesh_primitives::secondary_key::ExtrinsicPermissions **/ PolymeshPrimitivesSecondaryKeyExtrinsicPermissions: { _enum: { @@ -429,13 +300,13 @@ export default { }, }, /** - * Lookup52: polymesh_primitives::secondary_key::PalletPermissions + * Lookup50: polymesh_primitives::secondary_key::PalletPermissions **/ PolymeshPrimitivesSecondaryKeyPalletPermissions: { extrinsics: 'PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName', }, /** - * Lookup53: polymesh_primitives::subset::SubsetRestriction + * Lookup51: polymesh_primitives::subset::SubsetRestriction **/ PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName: { _enum: { @@ -445,7 +316,7 @@ export default { }, }, /** - * Lookup59: polymesh_primitives::subset::SubsetRestriction + * Lookup57: polymesh_primitives::subset::SubsetRestriction **/ PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId: { _enum: { @@ -455,14 +326,14 @@ export default { }, }, /** - * Lookup60: polymesh_primitives::identity_id::PortfolioId + * Lookup58: polymesh_primitives::identity_id::PortfolioId **/ PolymeshPrimitivesIdentityIdPortfolioId: { did: 'PolymeshPrimitivesIdentityId', kind: 'PolymeshPrimitivesIdentityIdPortfolioKind', }, /** - * Lookup61: polymesh_primitives::identity_id::PortfolioKind + * Lookup59: polymesh_primitives::identity_id::PortfolioKind **/ PolymeshPrimitivesIdentityIdPortfolioKind: { _enum: { @@ -471,7 +342,7 @@ export default { }, }, /** - * Lookup66: polymesh_primitives::identity_claim::IdentityClaim + * Lookup64: polymesh_primitives::identity_claim::IdentityClaim **/ PolymeshPrimitivesIdentityClaim: { claimIssuer: 'PolymeshPrimitivesIdentityId', @@ -481,7 +352,7 @@ export default { claim: 'PolymeshPrimitivesIdentityClaimClaim', }, /** - * Lookup68: polymesh_primitives::identity_claim::Claim + * Lookup66: polymesh_primitives::identity_claim::Claim **/ PolymeshPrimitivesIdentityClaimClaim: { _enum: { @@ -499,7 +370,7 @@ export default { }, }, /** - * Lookup69: polymesh_primitives::identity_claim::Scope + * Lookup67: polymesh_primitives::identity_claim::Scope **/ PolymeshPrimitivesIdentityClaimScope: { _enum: { @@ -509,11 +380,11 @@ export default { }, }, /** - * Lookup70: polymesh_primitives::cdd_id::CddId + * Lookup68: polymesh_primitives::cdd_id::CddId **/ PolymeshPrimitivesCddId: '[u8;32]', /** - * Lookup71: polymesh_primitives::jurisdiction::CountryCode + * Lookup69: polymesh_primitives::jurisdiction::CountryCode **/ PolymeshPrimitivesJurisdictionCountryCode: { _enum: [ @@ -770,11 +641,11 @@ export default { ], }, /** - * Lookup74: polymesh_primitives::ticker::Ticker + * Lookup72: polymesh_primitives::ticker::Ticker **/ PolymeshPrimitivesTicker: '[u8;12]', /** - * Lookup78: polymesh_primitives::authorization::AuthorizationData + * Lookup75: polymesh_primitives::authorization::AuthorizationData **/ PolymeshPrimitivesAuthorizationAuthorizationData: { _enum: { @@ -791,7 +662,7 @@ export default { }, }, /** - * Lookup79: polymesh_primitives::agent::AgentGroup + * Lookup76: polymesh_primitives::agent::AgentGroup **/ PolymeshPrimitivesAgentAgentGroup: { _enum: { @@ -803,7 +674,7 @@ export default { }, }, /** - * Lookup81: pallet_group::pallet::Event + * Lookup79: pallet_group::pallet::Event **/ PalletGroupEvent: { _enum: { @@ -818,7 +689,7 @@ export default { }, }, /** - * Lookup83: pallet_committee::pallet::Event + * Lookup81: pallet_committee::pallet::Event **/ PalletCommitteeEvent: { _enum: { @@ -836,7 +707,7 @@ export default { }, }, /** - * Lookup86: polymesh_primitives::MaybeBlock + * Lookup84: polymesh_primitives::MaybeBlock **/ PolymeshPrimitivesMaybeBlock: { _enum: { @@ -845,7 +716,7 @@ export default { }, }, /** - * Lookup92: pallet_multisig::pallet::Event + * Lookup90: pallet_multisig::pallet::Event **/ PalletMultisigEvent: { _enum: { @@ -927,51 +798,7 @@ export default { }, }, /** - * Lookup94: pallet_validators::pallet::Event - **/ - PalletValidatorsEvent: { - _enum: { - Nominated: { - nominatorIdentity: 'PolymeshPrimitivesIdentityId', - stash: 'AccountId32', - targets: 'Vec', - }, - PermissionedIdentityAdded: { - governanceCouncillDid: 'PolymeshPrimitivesIdentityId', - validatorsIdentity: 'PolymeshPrimitivesIdentityId', - }, - PermissionedIdentityRemoved: { - governanceCouncillDid: 'PolymeshPrimitivesIdentityId', - validatorsIdentity: 'PolymeshPrimitivesIdentityId', - }, - InvalidatedNominators: { - governanceCouncillDid: 'PolymeshPrimitivesIdentityId', - governanceCouncillAccount: 'PolymeshPrimitivesIdentityId', - expiredNominators: 'Vec', - }, - SlashingAllowedForChanged: { - slashingSwitch: 'PalletValidatorsSlashingSwitch', - }, - RewardPaymentSchedulingInterrupted: { - accountId: 'AccountId32', - era: 'u32', - error: 'SpRuntimeDispatchError', - }, - CommissionCapUpdated: { - governanceCouncillDid: 'PolymeshPrimitivesIdentityId', - oldCommissionCap: 'Perbill', - newCommissionCap: 'Perbill', - }, - }, - }, - /** - * Lookup95: pallet_validators::types::SlashingSwitch - **/ - PalletValidatorsSlashingSwitch: { - _enum: ['Validator', 'ValidatorAndNominator', 'None'], - }, - /** - * Lookup97: pallet_staking::pallet::pallet::Event + * Lookup92: pallet_staking::pallet::pallet::Event **/ PalletStakingPalletEvent: { _enum: { @@ -981,8 +808,8 @@ export default { remainder: 'u128', }, Rewarded: { + identity: 'PolymeshPrimitivesIdentityId', stash: 'AccountId32', - dest: 'PalletStakingRewardDestination', amount: 'u128', }, Slashed: { @@ -999,10 +826,12 @@ export default { }, StakersElected: 'Null', Bonded: { + identity: 'PolymeshPrimitivesIdentityId', stash: 'AccountId32', amount: 'u128', }, Unbonded: { + identity: 'PolymeshPrimitivesIdentityId', stash: 'AccountId32', amount: 'u128', }, @@ -1021,64 +850,68 @@ export default { PayoutStarted: { eraIndex: 'u32', validatorStash: 'AccountId32', - page: 'u32', - next: 'Option', }, ValidatorPrefsSet: { stash: 'AccountId32', prefs: 'PalletStakingValidatorPrefs', }, - SnapshotVotersSizeExceeded: { - _alias: { - size_: 'size', - }, - size_: 'u32', - }, - SnapshotTargetsSizeExceeded: { - _alias: { - size_: 'size', - }, - size_: 'u32', - }, ForceEra: { mode: 'PalletStakingForcing', }, - ControllerBatchDeprecated: { - failures: 'u32', - }, - CurrencyMigrated: { + Nominated: { + nominatorIdentity: 'PolymeshPrimitivesIdentityId', stash: 'AccountId32', - forceWithdraw: 'u128', + targets: 'Vec', + }, + PermissionedIdentityAdded: { + governanceCouncillDid: 'PolymeshPrimitivesIdentityId', + validatorsIdentity: 'PolymeshPrimitivesIdentityId', + }, + PermissionedIdentityRemoved: { + governanceCouncillDid: 'PolymeshPrimitivesIdentityId', + validatorsIdentity: 'PolymeshPrimitivesIdentityId', + }, + InvalidatedNominators: { + governanceCouncillDid: 'PolymeshPrimitivesIdentityId', + governanceCouncillAccount: 'PolymeshPrimitivesIdentityId', + expiredNominators: 'Vec', + }, + SlashingAllowedForChanged: { + slashingSwitch: 'PalletStakingSlashingSwitch', + }, + RewardPaymentSchedulingInterrupted: { + accountId: 'AccountId32', + era: 'u32', + error: 'SpRuntimeDispatchError', + }, + CommissionCapUpdated: { + governanceCouncillDid: 'PolymeshPrimitivesIdentityId', + oldCommissionCap: 'Perbill', + newCommissionCap: 'Perbill', }, }, }, /** - * Lookup98: pallet_staking::RewardDestination - **/ - PalletStakingRewardDestination: { - _enum: { - Staked: 'Null', - Stash: 'Null', - Controller: 'Null', - Account: 'AccountId32', - None: 'Null', - }, - }, - /** - * Lookup100: pallet_staking::ValidatorPrefs + * Lookup94: pallet_staking::ValidatorPrefs **/ PalletStakingValidatorPrefs: { commission: 'Compact', blocked: 'bool', }, /** - * Lookup102: pallet_staking::Forcing + * Lookup96: pallet_staking::Forcing **/ PalletStakingForcing: { _enum: ['NotForcing', 'ForceNew', 'ForceNone', 'ForceAlways'], }, /** - * Lookup103: pallet_offences::pallet::Event + * Lookup97: pallet_staking::types::SlashingSwitch + **/ + PalletStakingSlashingSwitch: { + _enum: ['Validator', 'ValidatorAndNominator', 'None'], + }, + /** + * Lookup98: pallet_offences::pallet::Event **/ PalletOffencesEvent: { _enum: { @@ -1089,23 +922,17 @@ export default { }, }, /** - * Lookup104: pallet_session::pallet::Event + * Lookup99: pallet_session::pallet::Event **/ PalletSessionEvent: { _enum: { NewSession: { sessionIndex: 'u32', }, - ValidatorDisabled: { - validator: 'AccountId32', - }, - ValidatorReenabled: { - validator: 'AccountId32', - }, }, }, /** - * Lookup105: pallet_grandpa::pallet::Event + * Lookup100: pallet_grandpa::pallet::Event **/ PalletGrandpaEvent: { _enum: { @@ -1117,11 +944,15 @@ export default { }, }, /** - * Lookup108: sp_consensus_grandpa::app::Public + * Lookup103: sp_consensus_grandpa::app::Public + **/ + SpConsensusGrandpaAppPublic: 'SpCoreEd25519Public', + /** + * Lookup104: sp_core::ed25519::Public **/ - SpConsensusGrandpaAppPublic: '[u8;32]', + SpCoreEd25519Public: '[u8;32]', /** - * Lookup109: pallet_im_online::pallet::Event + * Lookup105: pallet_im_online::pallet::Event **/ PalletImOnlineEvent: { _enum: { @@ -1130,31 +961,35 @@ export default { }, AllGood: 'Null', SomeOffline: { - offline: 'Vec<(AccountId32,SpStakingExposure)>', + offline: 'Vec<(AccountId32,PalletStakingExposure)>', }, }, }, /** - * Lookup110: pallet_im_online::sr25519::app_sr25519::Public + * Lookup106: pallet_im_online::sr25519::app_sr25519::Public + **/ + PalletImOnlineSr25519AppSr25519Public: 'SpCoreSr25519Public', + /** + * Lookup107: sp_core::sr25519::Public **/ - PalletImOnlineSr25519AppSr25519Public: '[u8;32]', + SpCoreSr25519Public: '[u8;32]', /** - * Lookup113: sp_staking::Exposure + * Lookup110: pallet_staking::Exposure **/ - SpStakingExposure: { + PalletStakingExposure: { total: 'Compact', own: 'Compact', - others: 'Vec', + others: 'Vec', }, /** - * Lookup116: sp_staking::IndividualExposure + * Lookup113: pallet_staking::IndividualExposure **/ - SpStakingIndividualExposure: { + PalletStakingIndividualExposure: { who: 'AccountId32', value: 'Compact', }, /** - * Lookup117: pallet_sudo::pallet::Event + * Lookup114: pallet_sudo::pallet::Event **/ PalletSudoEvent: { _enum: { @@ -1170,7 +1005,7 @@ export default { }, }, /** - * Lookup118: pallet_asset::pallet::Event + * Lookup115: pallet_asset::pallet::Event **/ PalletAssetEvent: { _enum: { @@ -1226,7 +1061,7 @@ export default { }, }, /** - * Lookup119: polymesh_primitives::asset::AssetType + * Lookup116: polymesh_primitives::asset::AssetType **/ PolymeshPrimitivesAssetAssetType: { _enum: { @@ -1245,7 +1080,7 @@ export default { }, }, /** - * Lookup121: polymesh_primitives::asset::NonFungibleType + * Lookup118: polymesh_primitives::asset::NonFungibleType **/ PolymeshPrimitivesAssetNonFungibleType: { _enum: { @@ -1256,7 +1091,7 @@ export default { }, }, /** - * Lookup124: polymesh_primitives::asset_identifier::AssetIdentifier + * Lookup121: polymesh_primitives::asset_identifier::AssetIdentifier **/ PolymeshPrimitivesAssetIdentifier: { _enum: { @@ -1268,7 +1103,7 @@ export default { }, }, /** - * Lookup130: polymesh_primitives::document::Document + * Lookup127: polymesh_primitives::document::Document **/ PolymeshPrimitivesDocument: { uri: 'Bytes', @@ -1278,7 +1113,7 @@ export default { filingDate: 'Option', }, /** - * Lookup132: polymesh_primitives::document_hash::DocumentHash + * Lookup129: polymesh_primitives::document_hash::DocumentHash **/ PolymeshPrimitivesDocumentHash: { _enum: { @@ -1294,14 +1129,14 @@ export default { }, }, /** - * Lookup143: polymesh_primitives::asset_metadata::AssetMetadataValueDetail + * Lookup140: polymesh_primitives::asset_metadata::AssetMetadataValueDetail **/ PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail: { expire: 'Option', lockStatus: 'PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus', }, /** - * Lookup144: polymesh_primitives::asset_metadata::AssetMetadataLockStatus + * Lookup141: polymesh_primitives::asset_metadata::AssetMetadataLockStatus **/ PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus: { _enum: { @@ -1311,7 +1146,7 @@ export default { }, }, /** - * Lookup147: polymesh_primitives::asset_metadata::AssetMetadataSpec + * Lookup144: polymesh_primitives::asset_metadata::AssetMetadataSpec **/ PolymeshPrimitivesAssetMetadataAssetMetadataSpec: { url: 'Option', @@ -1319,7 +1154,7 @@ export default { typeDef: 'Option', }, /** - * Lookup154: polymesh_primitives::asset_metadata::AssetMetadataKey + * Lookup151: polymesh_primitives::asset_metadata::AssetMetadataKey **/ PolymeshPrimitivesAssetMetadataAssetMetadataKey: { _enum: { @@ -1328,7 +1163,7 @@ export default { }, }, /** - * Lookup156: polymesh_primitives::portfolio::PortfolioUpdateReason + * Lookup153: polymesh_primitives::portfolio::PortfolioUpdateReason **/ PolymeshPrimitivesPortfolioPortfolioUpdateReason: { _enum: { @@ -1344,7 +1179,7 @@ export default { }, }, /** - * Lookup160: pallet_corporate_actions::distribution::pallet::Event + * Lookup157: pallet_corporate_actions::distribution::pallet::Event **/ PalletCorporateActionsDistributionPalletEvent: { _enum: { @@ -1357,18 +1192,18 @@ export default { }, }, /** - * Lookup161: polymesh_primitives::event_only::EventOnly + * Lookup158: polymesh_primitives::event_only::EventOnly **/ PolymeshPrimitivesEventOnly: 'PolymeshPrimitivesIdentityId', /** - * Lookup162: pallet_corporate_actions::CAId + * Lookup159: pallet_corporate_actions::CAId **/ PalletCorporateActionsCaId: { assetId: 'PolymeshPrimitivesAssetAssetId', localId: 'u32', }, /** - * Lookup164: pallet_corporate_actions::distribution::Distribution + * Lookup161: pallet_corporate_actions::distribution::Distribution **/ PalletCorporateActionsDistribution: { from: 'PolymeshPrimitivesIdentityIdPortfolioId', @@ -1381,7 +1216,7 @@ export default { expiresAt: 'Option', }, /** - * Lookup166: pallet_asset::checkpoint::pallet::Event + * Lookup163: pallet_asset::checkpoint::pallet::Event **/ PalletAssetCheckpointPalletEvent: { _enum: { @@ -1395,13 +1230,13 @@ export default { }, }, /** - * Lookup169: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints + * Lookup166: polymesh_common_utilities::traits::checkpoint::ScheduleCheckpoints **/ PolymeshCommonUtilitiesCheckpointScheduleCheckpoints: { pending: 'BTreeSet', }, /** - * Lookup172: pallet_compliance_manager::pallet::Event + * Lookup169: pallet_compliance_manager::pallet::Event **/ PalletComplianceManagerEvent: { _enum: { @@ -1423,7 +1258,7 @@ export default { }, }, /** - * Lookup173: polymesh_primitives::compliance_manager::ComplianceRequirement + * Lookup170: polymesh_primitives::compliance_manager::ComplianceRequirement **/ PolymeshPrimitivesComplianceManagerComplianceRequirement: { senderConditions: 'Vec', @@ -1431,14 +1266,14 @@ export default { id: 'u32', }, /** - * Lookup175: polymesh_primitives::condition::Condition + * Lookup172: polymesh_primitives::condition::Condition **/ PolymeshPrimitivesCondition: { conditionType: 'PolymeshPrimitivesConditionConditionType', issuers: 'Vec', }, /** - * Lookup176: polymesh_primitives::condition::ConditionType + * Lookup173: polymesh_primitives::condition::ConditionType **/ PolymeshPrimitivesConditionConditionType: { _enum: { @@ -1450,7 +1285,7 @@ export default { }, }, /** - * Lookup178: polymesh_primitives::condition::TargetIdentity + * Lookup175: polymesh_primitives::condition::TargetIdentity **/ PolymeshPrimitivesConditionTargetIdentity: { _enum: { @@ -1459,14 +1294,14 @@ export default { }, }, /** - * Lookup180: polymesh_primitives::condition::TrustedIssuer + * Lookup177: polymesh_primitives::condition::TrustedIssuer **/ PolymeshPrimitivesConditionTrustedIssuer: { issuer: 'PolymeshPrimitivesIdentityId', trustedFor: 'PolymeshPrimitivesConditionTrustedFor', }, /** - * Lookup181: polymesh_primitives::condition::TrustedFor + * Lookup178: polymesh_primitives::condition::TrustedFor **/ PolymeshPrimitivesConditionTrustedFor: { _enum: { @@ -1475,7 +1310,7 @@ export default { }, }, /** - * Lookup183: polymesh_primitives::identity_claim::ClaimType + * Lookup180: polymesh_primitives::identity_claim::ClaimType **/ PolymeshPrimitivesIdentityClaimClaimType: { _enum: { @@ -1492,7 +1327,7 @@ export default { }, }, /** - * Lookup185: pallet_corporate_actions::pallet::Event + * Lookup182: pallet_corporate_actions::pallet::Event **/ PalletCorporateActionsEvent: { _enum: { @@ -1512,20 +1347,20 @@ export default { }, }, /** - * Lookup186: pallet_corporate_actions::TargetIdentities + * Lookup183: pallet_corporate_actions::TargetIdentities **/ PalletCorporateActionsTargetIdentities: { identities: 'Vec', treatment: 'PalletCorporateActionsTargetTreatment', }, /** - * Lookup187: pallet_corporate_actions::TargetTreatment + * Lookup184: pallet_corporate_actions::TargetTreatment **/ PalletCorporateActionsTargetTreatment: { _enum: ['Include', 'Exclude'], }, /** - * Lookup189: pallet_corporate_actions::CorporateAction + * Lookup186: pallet_corporate_actions::CorporateAction **/ PalletCorporateActionsCorporateAction: { kind: 'PalletCorporateActionsCaKind', @@ -1536,7 +1371,7 @@ export default { withholdingTax: 'Vec<(PolymeshPrimitivesIdentityId,Permill)>', }, /** - * Lookup190: pallet_corporate_actions::CAKind + * Lookup187: pallet_corporate_actions::CAKind **/ PalletCorporateActionsCaKind: { _enum: [ @@ -1548,14 +1383,14 @@ export default { ], }, /** - * Lookup192: pallet_corporate_actions::RecordDate + * Lookup189: pallet_corporate_actions::RecordDate **/ PalletCorporateActionsRecordDate: { date: 'u64', checkpoint: 'PalletCorporateActionsCaCheckpoint', }, /** - * Lookup193: pallet_corporate_actions::CACheckpoint + * Lookup190: pallet_corporate_actions::CACheckpoint **/ PalletCorporateActionsCaCheckpoint: { _enum: { @@ -1564,7 +1399,7 @@ export default { }, }, /** - * Lookup198: pallet_corporate_actions::ballot::pallet::Event + * Lookup195: pallet_corporate_actions::ballot::pallet::Event **/ PalletCorporateActionsBallotPalletEvent: { _enum: { @@ -1581,21 +1416,21 @@ export default { }, }, /** - * Lookup199: pallet_corporate_actions::ballot::BallotTimeRange + * Lookup196: pallet_corporate_actions::ballot::BallotTimeRange **/ PalletCorporateActionsBallotBallotTimeRange: { start: 'u64', end: 'u64', }, /** - * Lookup200: pallet_corporate_actions::ballot::BallotMeta + * Lookup197: pallet_corporate_actions::ballot::BallotMeta **/ PalletCorporateActionsBallotBallotMeta: { title: 'Bytes', motions: 'Vec', }, /** - * Lookup203: pallet_corporate_actions::ballot::Motion + * Lookup200: pallet_corporate_actions::ballot::Motion **/ PalletCorporateActionsBallotMotion: { title: 'Bytes', @@ -1603,14 +1438,14 @@ export default { choices: 'Vec', }, /** - * Lookup209: pallet_corporate_actions::ballot::BallotVote + * Lookup206: pallet_corporate_actions::ballot::BallotVote **/ PalletCorporateActionsBallotBallotVote: { power: 'u128', fallback: 'Option', }, /** - * Lookup212: pallet_pips::pallet::Event + * Lookup209: pallet_pips::pallet::Event **/ PalletPipsEvent: { _enum: { @@ -1640,7 +1475,7 @@ export default { }, }, /** - * Lookup213: pallet_pips::types::Proposer + * Lookup210: pallet_pips::types::Proposer **/ PalletPipsProposer: { _enum: { @@ -1649,13 +1484,13 @@ export default { }, }, /** - * Lookup214: pallet_pips::types::Committee + * Lookup211: pallet_pips::types::Committee **/ PalletPipsCommittee: { _enum: ['Technical', 'Upgrade'], }, /** - * Lookup218: pallet_pips::types::ProposalData + * Lookup215: pallet_pips::types::ProposalData **/ PalletPipsProposalData: { _enum: { @@ -1664,20 +1499,20 @@ export default { }, }, /** - * Lookup219: pallet_pips::types::ProposalState + * Lookup216: pallet_pips::types::ProposalState **/ PalletPipsProposalState: { _enum: ['Pending', 'Rejected', 'Scheduled', 'Failed', 'Executed', 'Expired'], }, /** - * Lookup222: pallet_pips::types::SnapshottedPip + * Lookup219: pallet_pips::types::SnapshottedPip **/ PalletPipsSnapshottedPip: { id: 'u32', weight: '(bool,u128)', }, /** - * Lookup228: pallet_portfolio::pallet::Event + * Lookup225: pallet_portfolio::pallet::Event **/ PalletPortfolioEvent: { _enum: { @@ -1700,7 +1535,7 @@ export default { }, }, /** - * Lookup232: polymesh_primitives::portfolio::FundDescription + * Lookup229: polymesh_primitives::portfolio::FundDescription **/ PolymeshPrimitivesPortfolioFundDescription: { _enum: { @@ -1712,14 +1547,14 @@ export default { }, }, /** - * Lookup233: polymesh_primitives::nft::NFTs + * Lookup230: polymesh_primitives::nft::NFTs **/ PolymeshPrimitivesNftNfTs: { assetId: 'PolymeshPrimitivesAssetAssetId', ids: 'Vec', }, /** - * Lookup236: pallet_protocol_fee::pallet::Event + * Lookup233: pallet_protocol_fee::pallet::Event **/ PalletProtocolFeeEvent: { _enum: { @@ -1729,11 +1564,11 @@ export default { }, }, /** - * Lookup237: polymesh_primitives::PosRatio + * Lookup234: polymesh_primitives::PosRatio **/ PolymeshPrimitivesPosRatio: '(u32,u32)', /** - * Lookup238: pallet_scheduler::pallet::Event + * Lookup235: pallet_scheduler::pallet::Event **/ PalletSchedulerEvent: { _enum: { @@ -1750,16 +1585,6 @@ export default { id: 'Option<[u8;32]>', result: 'Result', }, - RetrySet: { - task: '(u32,u32)', - id: 'Option<[u8;32]>', - period: 'u32', - retries: 'u8', - }, - RetryCancelled: { - task: '(u32,u32)', - id: 'Option<[u8;32]>', - }, CallUnavailable: { task: '(u32,u32)', id: 'Option<[u8;32]>', @@ -1768,21 +1593,14 @@ export default { task: '(u32,u32)', id: 'Option<[u8;32]>', }, - RetryFailed: { - task: '(u32,u32)', - id: 'Option<[u8;32]>', - }, PermanentlyOverweight: { task: '(u32,u32)', id: 'Option<[u8;32]>', }, - AgendaIncomplete: { - when: 'u32', - }, }, }, /** - * Lookup241: pallet_settlement::pallet::Event + * Lookup238: pallet_settlement::pallet::Event **/ PalletSettlementEvent: { _enum: { @@ -1819,17 +1637,17 @@ export default { }, }, /** - * Lookup244: polymesh_primitives::settlement::VenueType + * Lookup241: polymesh_primitives::settlement::VenueType **/ PolymeshPrimitivesSettlementVenueType: { _enum: ['Other', 'Distribution', 'Sto', 'Exchange'], }, /** - * Lookup247: polymesh_primitives::settlement::ReceiptMetadata + * Lookup244: polymesh_primitives::settlement::ReceiptMetadata **/ PolymeshPrimitivesSettlementReceiptMetadata: '[u8;32]', /** - * Lookup250: polymesh_primitives::settlement::SettlementType + * Lookup247: polymesh_primitives::settlement::SettlementType **/ PolymeshPrimitivesSettlementSettlementType: { _enum: { @@ -1840,7 +1658,7 @@ export default { }, }, /** - * Lookup252: polymesh_primitives::settlement::Leg + * Lookup249: polymesh_primitives::settlement::Leg **/ PolymeshPrimitivesSettlementLeg: { _enum: { @@ -1864,7 +1682,7 @@ export default { }, }, /** - * Lookup253: pallet_statistics::pallet::Event + * Lookup250: pallet_statistics::pallet::Event **/ PalletStatisticsEvent: { _enum: { @@ -1883,27 +1701,27 @@ export default { }, }, /** - * Lookup255: polymesh_primitives::statistics::StatType + * Lookup252: polymesh_primitives::statistics::StatType **/ PolymeshPrimitivesStatisticsStatType: { operationType: 'PolymeshPrimitivesStatisticsStatOpType', claimIssuer: 'Option<(PolymeshPrimitivesIdentityClaimClaimType,PolymeshPrimitivesIdentityId)>', }, /** - * Lookup256: polymesh_primitives::statistics::StatOpType + * Lookup253: polymesh_primitives::statistics::StatOpType **/ PolymeshPrimitivesStatisticsStatOpType: { _enum: ['Count', 'Balance'], }, /** - * Lookup260: polymesh_primitives::statistics::StatUpdate + * Lookup257: polymesh_primitives::statistics::StatUpdate **/ PolymeshPrimitivesStatisticsStatUpdate: { key2: 'PolymeshPrimitivesStatisticsStat2ndKey', value: 'Option', }, /** - * Lookup261: polymesh_primitives::statistics::Stat2ndKey + * Lookup258: polymesh_primitives::statistics::Stat2ndKey **/ PolymeshPrimitivesStatisticsStat2ndKey: { _enum: { @@ -1912,7 +1730,7 @@ export default { }, }, /** - * Lookup262: polymesh_primitives::statistics::StatClaim + * Lookup259: polymesh_primitives::statistics::StatClaim **/ PolymeshPrimitivesStatisticsStatClaim: { _enum: { @@ -1922,7 +1740,7 @@ export default { }, }, /** - * Lookup266: polymesh_primitives::transfer_compliance::TransferCondition + * Lookup263: polymesh_primitives::transfer_compliance::TransferCondition **/ PolymeshPrimitivesTransferComplianceTransferCondition: { _enum: { @@ -1935,7 +1753,7 @@ export default { }, }, /** - * Lookup267: polymesh_primitives::transfer_compliance::TransferConditionExemptKey + * Lookup264: polymesh_primitives::transfer_compliance::TransferConditionExemptKey **/ PolymeshPrimitivesTransferComplianceTransferConditionExemptKey: { assetId: 'PolymeshPrimitivesAssetAssetId', @@ -1943,7 +1761,7 @@ export default { claimType: 'Option', }, /** - * Lookup269: pallet_sto::pallet::Event + * Lookup266: pallet_sto::pallet::Event **/ PalletStoEvent: { _enum: { @@ -1996,7 +1814,7 @@ export default { }, }, /** - * Lookup272: pallet_sto::Fundraiser + * Lookup269: pallet_sto::Fundraiser **/ PalletStoFundraiser: { creator: 'PolymeshPrimitivesIdentityId', @@ -2012,7 +1830,7 @@ export default { minimumInvestment: 'u128', }, /** - * Lookup274: pallet_sto::FundraiserTier + * Lookup271: pallet_sto::FundraiserTier **/ PalletStoFundraiserTier: { total: 'u128', @@ -2020,13 +1838,13 @@ export default { remaining: 'u128', }, /** - * Lookup275: pallet_sto::FundraiserStatus + * Lookup272: pallet_sto::FundraiserStatus **/ PalletStoFundraiserStatus: { _enum: ['Live', 'Frozen', 'Closed', 'ClosedEarly'], }, /** - * Lookup276: pallet_sto::FundingAsset + * Lookup273: pallet_sto::FundingAsset **/ PalletStoFundingAsset: { _enum: { @@ -2035,7 +1853,7 @@ export default { }, }, /** - * Lookup277: pallet_treasury::pallet::Event + * Lookup274: pallet_treasury::pallet::Event **/ PalletTreasuryEvent: { _enum: { @@ -2047,7 +1865,7 @@ export default { }, }, /** - * Lookup278: pallet_utility::pallet::Event + * Lookup275: pallet_utility::pallet::Event **/ PalletUtilityEvent: { _enum: { @@ -2072,7 +1890,7 @@ export default { }, }, /** - * Lookup279: pallet_base::pallet::Event + * Lookup276: pallet_base::pallet::Event **/ PalletBaseEvent: { _enum: { @@ -2080,7 +1898,7 @@ export default { }, }, /** - * Lookup281: pallet_external_agents::pallet::Event + * Lookup278: pallet_external_agents::pallet::Event **/ PalletExternalAgentsEvent: { _enum: { @@ -2097,7 +1915,7 @@ export default { }, }, /** - * Lookup282: pallet_relayer::pallet::Event + * Lookup279: pallet_relayer::pallet::Event **/ PalletRelayerEvent: { _enum: { @@ -2108,7 +1926,7 @@ export default { }, }, /** - * Lookup283: pallet_contracts::pallet::Event + * Lookup280: pallet_contracts::pallet::Event **/ PalletContractsEvent: { _enum: { @@ -2122,8 +1940,6 @@ export default { }, CodeStored: { codeHash: 'H256', - depositHeld: 'u128', - uploader: 'AccountId32', }, ContractEmitted: { contract: 'AccountId32', @@ -2131,8 +1947,6 @@ export default { }, CodeRemoved: { codeHash: 'H256', - depositReleased: 'u128', - remover: 'AccountId32', }, ContractCodeUpdated: { contract: 'AccountId32', @@ -2140,40 +1954,17 @@ export default { oldCodeHash: 'H256', }, Called: { - caller: 'PalletContractsOrigin', + caller: 'AccountId32', contract: 'AccountId32', }, DelegateCalled: { contract: 'AccountId32', codeHash: 'H256', }, - StorageDepositTransferredAndHeld: { - from: 'AccountId32', - to: 'AccountId32', - amount: 'u128', - }, - StorageDepositTransferredAndReleased: { - from: 'AccountId32', - to: 'AccountId32', - amount: 'u128', - }, - }, - }, - /** - * Lookup284: pallet_contracts::Origin - **/ - PalletContractsOrigin: { - _enum: { - Root: 'Null', - Signed: 'AccountId32', }, }, /** - * Lookup285: polymesh_runtime_develop::runtime::Runtime - **/ - PolymeshRuntimeDevelopRuntime: 'Null', - /** - * Lookup286: polymesh_contracts::pallet::Event + * Lookup281: polymesh_contracts::pallet::Event **/ PolymeshContractsEvent: { _enum: { @@ -2182,25 +1973,25 @@ export default { }, }, /** - * Lookup287: polymesh_contracts::Api + * Lookup282: polymesh_contracts::Api **/ PolymeshContractsApi: { desc: '[u8;4]', major: 'u32', }, /** - * Lookup288: polymesh_contracts::ChainVersion + * Lookup283: polymesh_contracts::ChainVersion **/ PolymeshContractsChainVersion: { specVersion: 'u32', txVersion: 'u32', }, /** - * Lookup289: polymesh_contracts::chain_extension::ExtrinsicId + * Lookup284: polymesh_contracts::chain_extension::ExtrinsicId **/ PolymeshContractsChainExtensionExtrinsicId: '(u8,u8)', /** - * Lookup290: pallet_preimage::pallet::Event + * Lookup285: pallet_preimage::pallet::Event **/ PalletPreimageEvent: { _enum: { @@ -2225,7 +2016,7 @@ export default { }, }, /** - * Lookup291: pallet_nft::pallet::Event + * Lookup286: pallet_nft::pallet::Event **/ PalletNftEvent: { _enum: { @@ -2235,7 +2026,7 @@ export default { }, }, /** - * Lookup293: pallet_election_provider_multi_phase::pallet::Event + * Lookup288: pallet_election_provider_multi_phase::pallet::Event **/ PalletElectionProviderMultiPhaseEvent: { _enum: { @@ -2265,13 +2056,13 @@ export default { }, }, /** - * Lookup294: pallet_election_provider_multi_phase::ElectionCompute + * Lookup289: pallet_election_provider_multi_phase::ElectionCompute **/ PalletElectionProviderMultiPhaseElectionCompute: { _enum: ['OnChain', 'Signed', 'Unsigned', 'Fallback', 'Emergency'], }, /** - * Lookup295: sp_npos_elections::ElectionScore + * Lookup290: sp_npos_elections::ElectionScore **/ SpNposElectionsElectionScore: { minimalStake: 'u128', @@ -2279,7 +2070,7 @@ export default { sumStakeSquared: 'u128', }, /** - * Lookup296: pallet_election_provider_multi_phase::Phase + * Lookup291: pallet_election_provider_multi_phase::Phase **/ PalletElectionProviderMultiPhasePhase: { _enum: { @@ -2290,52 +2081,222 @@ export default { }, }, /** - * Lookup298: frame_system::Phase - **/ - FrameSystemPhase: { - _enum: { - ApplyExtrinsic: 'u32', - Finalization: 'Null', - Initialization: 'Null', - }, - }, - /** - * Lookup301: frame_system::LastRuntimeUpgradeInfo - **/ - FrameSystemLastRuntimeUpgradeInfo: { - specVersion: 'Compact', - specName: 'Text', - }, - /** - * Lookup304: frame_system::CodeUpgradeAuthorization + * Lookup293: pallet_confidential_assets::pallet::Event **/ - FrameSystemCodeUpgradeAuthorization: { - codeHash: 'H256', - checkVersion: 'bool', - }, - /** - * Lookup305: frame_system::pallet::Call - **/ - FrameSystemCall: { + PalletConfidentialAssetsEvent: { _enum: { - remark: { - remark: 'Bytes', + AccountRegistered: { + callerDid: 'PolymeshPrimitivesIdentityId', + account: 'PolymeshDartBpKeysAccountPublicKey', + encryptionKey: 'PolymeshDartBpKeysEncryptionPublicKey', }, - set_heap_pages: { - pages: 'u64', + EncryptionKeyRegistered: { + callerDid: 'PolymeshPrimitivesIdentityId', + encryptionKey: 'PolymeshDartBpKeysEncryptionPublicKey', }, - set_code: { - code: 'Bytes', + AssetCreated: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: 'u32', + mediators: 'BTreeSet', + auditors: 'BTreeSet', + name: 'Text', + symbol: 'Text', + decimals: 'u8', + data: 'Bytes', }, - set_code_without_checks: { - code: 'Bytes', + AssetUpdated: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: 'u32', + mediators: 'BTreeSet', + auditors: 'BTreeSet', }, - set_storage: { - items: 'Vec<(Bytes,Bytes)>', + AccountAssetRegistered: { + callerDid: 'PolymeshPrimitivesIdentityId', + account: 'PolymeshDartBpKeysAccountPublicKey', + assetId: 'u32', }, - kill_storage: { - _alias: { - keys_: 'keys', + AssetMinted: { + callerDid: 'PolymeshPrimitivesIdentityId', + assetId: 'u32', + amount: 'u128', + totalSupply: 'u128', + account: 'PolymeshDartBpKeysAccountPublicKey', + }, + FeeAccountUpdated: { + callerDid: 'PolymeshPrimitivesIdentityId', + account: 'PolymeshDartBpKeysAccountPublicKey', + isRegistration: 'bool', + amount: 'u128', + }, + SettlementCreated: { + settlementRef: 'PolymeshDartBpLegSettlementRef', + memo: 'Bytes', + assetRootBlock: 'u32', + legs: 'Vec', + }, + SenderAffirmed: { + legRef: 'PolymeshDartBpLegLegRef', + }, + ReceiverAffirmed: { + legRef: 'PolymeshDartBpLegLegRef', + }, + MediatorAffirmed: { + legRef: 'PolymeshDartBpLegLegRef', + keyIndex: 'u8', + }, + MediatorRejected: { + legRef: 'PolymeshDartBpLegLegRef', + keyIndex: 'u8', + }, + SenderCounterUpdated: { + legRef: 'PolymeshDartBpLegLegRef', + }, + SenderReverted: { + legRef: 'PolymeshDartBpLegLegRef', + }, + ReceiverClaimed: { + legRef: 'PolymeshDartBpLegLegRef', + }, + SettlementStatusUpdated: { + settlementRef: 'PolymeshDartBpLegSettlementRef', + status: 'PalletConfidentialAssetsSettlementSettlementStatus', + }, + AccountStateLeafInserted: { + leafIndex: 'u64', + accountCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + }, + FeeAccountStateLeafInserted: { + leafIndex: 'u64', + feeAccountCommitment: 'PolymeshDartBpFeeFeeAccountStateCommitment', + }, + AssetStateLeafUpdated: { + leafIndex: 'u64', + assetLeaf: 'PolymeshDartCurveTreeCommonCompressedLeafValue', + }, + AssetCurveTreeRootUpdated: { + root: 'PolymeshDartCurveTreeCompressedCurveTreeRoot', + }, + AccountCurveTreeRootUpdated: { + root: 'PolymeshDartCurveTreeCompressedCurveTreeRoot', + }, + FeeAccountCurveTreeRootUpdated: { + root: 'PolymeshDartCurveTreeCompressedCurveTreeRoot', + }, + FeeAccountDeposited: { + sender: 'AccountId32', + amount: 'u128', + }, + FeeAccountWithdrawn: { + receiver: 'AccountId32', + amount: 'u128', + }, + RelayerBatchedProofs: { + relayer: 'AccountId32', + amount: 'u128', + batchHash: 'PolymeshDartBpBatchedProofHash', + batchResult: 'Result', + }, + }, + }, + /** + * Lookup294: polymesh_dart::bp::keys::AccountPublicKey + **/ + PolymeshDartBpKeysAccountPublicKey: 'PolymeshDartBpEncodeCompressedAffine', + /** + * Lookup295: polymesh_dart::bp::encode::CompressedAffine + **/ + PolymeshDartBpEncodeCompressedAffine: '[u8;32]', + /** + * Lookup296: polymesh_dart::bp::keys::EncryptionPublicKey + **/ + PolymeshDartBpKeysEncryptionPublicKey: 'PolymeshDartBpEncodeCompressedAffine', + /** + * Lookup303: polymesh_dart::bp::leg::SettlementRef + **/ + PolymeshDartBpLegSettlementRef: '[u8;32]', + /** + * Lookup309: polymesh_dart::bp::leg::LegRef + **/ + PolymeshDartBpLegLegRef: { + settlement: 'PolymeshDartBpLegSettlementRef', + legId: 'u8', + }, + /** + * Lookup310: pallet_confidential_assets::settlement::SettlementStatus + **/ + PalletConfidentialAssetsSettlementSettlementStatus: { + _enum: ['Pending', 'Executed', 'Rejected', 'Finalized'], + }, + /** + * Lookup311: polymesh_dart::bp::account::AccountStateCommitment + **/ + PolymeshDartBpAccountAccountStateCommitment: 'PolymeshDartBpEncodeCompressedAffine', + /** + * Lookup312: polymesh_dart::bp::fee::FeeAccountStateCommitment + **/ + PolymeshDartBpFeeFeeAccountStateCommitment: 'PolymeshDartBpEncodeCompressedAffine', + /** + * Lookup313: polymesh_dart::curve_tree::common::CompressedLeafValue + **/ + PolymeshDartCurveTreeCommonCompressedLeafValue: { + point: 'PolymeshDartBpEncodeCompressedAffine', + }, + /** + * Lookup314: polymesh_dart::curve_tree::CompressedCurveTreeRoot + **/ + PolymeshDartCurveTreeCompressedCurveTreeRoot: { + commitments: '[[u8;32];1]', + xCoordChildren: 'Vec<[[u8;32];1]>', + height: 'u8', + }, + /** + * Lookup318: polymesh_dart::bp::encode::CompressedBaseField + **/ + PolymeshDartBpEncodeCompressedBaseField: '[u8;32]', + /** + * Lookup321: polymesh_dart::bp::batched::ProofHash + **/ + PolymeshDartBpBatchedProofHash: '[u8;32]', + /** + * Lookup322: frame_system::Phase + **/ + FrameSystemPhase: { + _enum: { + ApplyExtrinsic: 'u32', + Finalization: 'Null', + Initialization: 'Null', + }, + }, + /** + * Lookup325: frame_system::LastRuntimeUpgradeInfo + **/ + FrameSystemLastRuntimeUpgradeInfo: { + specVersion: 'Compact', + specName: 'Text', + }, + /** + * Lookup327: frame_system::pallet::Call + **/ + FrameSystemCall: { + _enum: { + remark: { + remark: 'Bytes', + }, + set_heap_pages: { + pages: 'u64', + }, + set_code: { + code: 'Bytes', + }, + set_code_without_checks: { + code: 'Bytes', + }, + set_storage: { + items: 'Vec<(Bytes,Bytes)>', + }, + kill_storage: { + _alias: { + keys_: 'keys', }, keys_: 'Vec', }, @@ -2346,20 +2307,10 @@ export default { remark_with_event: { remark: 'Bytes', }, - __Unused8: 'Null', - authorize_upgrade: { - codeHash: 'H256', - }, - authorize_upgrade_without_checks: { - codeHash: 'H256', - }, - apply_authorized_upgrade: { - code: 'Bytes', - }, }, }, /** - * Lookup309: frame_system::limits::BlockWeights + * Lookup331: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -2367,7 +2318,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass', }, /** - * Lookup310: frame_support::dispatch::PerDispatchClass + * Lookup332: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -2375,7 +2326,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass', }, /** - * Lookup311: frame_system::limits::WeightsPerClass + * Lookup333: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -2384,13 +2335,13 @@ export default { reserved: 'Option', }, /** - * Lookup313: frame_system::limits::BlockLength + * Lookup335: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32', }, /** - * Lookup314: frame_support::dispatch::PerDispatchClass + * Lookup336: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -2398,14 +2349,14 @@ export default { mandatory: 'u32', }, /** - * Lookup315: sp_weights::RuntimeDbWeight + * Lookup337: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64', }, /** - * Lookup316: sp_version::RuntimeVersion + * Lookup338: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -2415,10 +2366,10 @@ export default { implVersion: 'u32', apis: 'Vec<([u8;8],u32)>', transactionVersion: 'u32', - systemVersion: 'u8', + stateVersion: 'u8', }, /** - * Lookup321: frame_system::pallet::Error + * Lookup343: frame_system::pallet::Error **/ FrameSystemError: { _enum: [ @@ -2428,17 +2379,14 @@ export default { 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', - 'MultiBlockMigrationsOngoing', - 'NothingAuthorized', - 'Unauthorized', ], }, /** - * Lookup324: sp_consensus_babe::app::Public + * Lookup346: sp_consensus_babe::app::Public **/ - SpConsensusBabeAppPublic: '[u8;32]', + SpConsensusBabeAppPublic: 'SpCoreSr25519Public', /** - * Lookup327: sp_consensus_babe::digests::NextConfigDescriptor + * Lookup349: sp_consensus_babe::digests::NextConfigDescriptor **/ SpConsensusBabeDigestsNextConfigDescriptor: { _enum: { @@ -2450,13 +2398,13 @@ export default { }, }, /** - * Lookup329: sp_consensus_babe::AllowedSlots + * Lookup351: sp_consensus_babe::AllowedSlots **/ SpConsensusBabeAllowedSlots: { _enum: ['PrimarySlots', 'PrimaryAndSecondaryPlainSlots', 'PrimaryAndSecondaryVRFSlots'], }, /** - * Lookup333: sp_consensus_babe::digests::PreDigest + * Lookup355: sp_consensus_babe::digests::PreDigest **/ SpConsensusBabeDigestsPreDigest: { _enum: { @@ -2467,44 +2415,39 @@ export default { }, }, /** - * Lookup334: sp_consensus_babe::digests::PrimaryPreDigest + * Lookup356: sp_consensus_babe::digests::PrimaryPreDigest **/ SpConsensusBabeDigestsPrimaryPreDigest: { authorityIndex: 'u32', slot: 'u64', - vrfSignature: 'SpCoreSr25519VrfVrfSignature', + vrfOutput: '[u8;32]', + vrfProof: '[u8;64]', }, /** - * Lookup335: sp_core::sr25519::vrf::VrfSignature - **/ - SpCoreSr25519VrfVrfSignature: { - preOutput: '[u8;32]', - proof: '[u8;64]', - }, - /** - * Lookup336: sp_consensus_babe::digests::SecondaryPlainPreDigest + * Lookup357: sp_consensus_babe::digests::SecondaryPlainPreDigest **/ SpConsensusBabeDigestsSecondaryPlainPreDigest: { authorityIndex: 'u32', slot: 'u64', }, /** - * Lookup337: sp_consensus_babe::digests::SecondaryVRFPreDigest + * Lookup358: sp_consensus_babe::digests::SecondaryVRFPreDigest **/ SpConsensusBabeDigestsSecondaryVRFPreDigest: { authorityIndex: 'u32', slot: 'u64', - vrfSignature: 'SpCoreSr25519VrfVrfSignature', + vrfOutput: '[u8;32]', + vrfProof: '[u8;64]', }, /** - * Lookup338: sp_consensus_babe::BabeEpochConfiguration + * Lookup359: sp_consensus_babe::BabeEpochConfiguration **/ SpConsensusBabeBabeEpochConfiguration: { c: '(u64,u64)', allowedSlots: 'SpConsensusBabeAllowedSlots', }, /** - * Lookup342: pallet_babe::pallet::Call + * Lookup363: pallet_babe::pallet::Call **/ PalletBabeCall: { _enum: { @@ -2522,7 +2465,7 @@ export default { }, }, /** - * Lookup343: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> + * Lookup364: sp_consensus_slots::EquivocationProof, sp_consensus_babe::app::Public> **/ SpConsensusSlotsEquivocationProof: { offender: 'SpConsensusBabeAppPublic', @@ -2531,7 +2474,7 @@ export default { secondHeader: 'SpRuntimeHeader', }, /** - * Lookup344: sp_runtime::generic::header::Header + * Lookup365: sp_runtime::generic::header::Header **/ SpRuntimeHeader: { parentHash: 'H256', @@ -2541,7 +2484,11 @@ export default { digest: 'SpRuntimeDigest', }, /** - * Lookup345: sp_session::MembershipProof + * Lookup366: sp_runtime::traits::BlakeTwo256 + **/ + SpRuntimeBlakeTwo256: 'Null', + /** + * Lookup367: sp_session::MembershipProof **/ SpSessionMembershipProof: { session: 'u32', @@ -2549,7 +2496,7 @@ export default { validatorCount: 'u32', }, /** - * Lookup346: pallet_babe::pallet::Error + * Lookup368: pallet_babe::pallet::Error **/ PalletBabeError: { _enum: [ @@ -2560,7 +2507,7 @@ export default { ], }, /** - * Lookup347: pallet_timestamp::pallet::Call + * Lookup369: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -2570,7 +2517,7 @@ export default { }, }, /** - * Lookup349: pallet_indices::pallet::Call + * Lookup371: pallet_indices::pallet::Call **/ PalletIndicesCall: { _enum: { @@ -2598,19 +2545,16 @@ export default { freeze: { index: 'u32', }, - poke_deposit: { - index: 'u32', - }, }, }, /** - * Lookup351: pallet_indices::pallet::Error + * Lookup373: pallet_indices::pallet::Error **/ PalletIndicesError: { _enum: ['NotAssigned', 'NotOwner', 'InUse', 'NotTransfer', 'Permanent'], }, /** - * Lookup353: pallet_balances::types::BalanceLock + * Lookup375: pallet_balances::pallet::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -2618,214 +2562,63 @@ export default { reasons: 'PalletBalancesReasons', }, /** - * Lookup354: pallet_balances::types::Reasons + * Lookup376: pallet_balances::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'], }, /** - * Lookup357: pallet_balances::types::ReserveData - **/ - PalletBalancesReserveData: { - id: '[u8;8]', - amount: 'u128', - }, - /** - * Lookup361: polymesh_runtime_develop::runtime::RuntimeHoldReason - **/ - PolymeshRuntimeDevelopRuntimeRuntimeHoldReason: { - _enum: { - __Unused0: 'Null', - __Unused1: 'Null', - __Unused2: 'Null', - __Unused3: 'Null', - __Unused4: 'Null', - __Unused5: 'Null', - __Unused6: 'Null', - __Unused7: 'Null', - __Unused8: 'Null', - __Unused9: 'Null', - __Unused10: 'Null', - __Unused11: 'Null', - __Unused12: 'Null', - __Unused13: 'Null', - __Unused14: 'Null', - __Unused15: 'Null', - __Unused16: 'Null', - Staking: 'PalletStakingPalletHoldReason', - __Unused18: 'Null', - __Unused19: 'Null', - __Unused20: 'Null', - __Unused21: 'Null', - __Unused22: 'Null', - __Unused23: 'Null', - __Unused24: 'Null', - __Unused25: 'Null', - __Unused26: 'Null', - __Unused27: 'Null', - __Unused28: 'Null', - __Unused29: 'Null', - __Unused30: 'Null', - __Unused31: 'Null', - __Unused32: 'Null', - __Unused33: 'Null', - __Unused34: 'Null', - __Unused35: 'Null', - __Unused36: 'Null', - __Unused37: 'Null', - __Unused38: 'Null', - __Unused39: 'Null', - __Unused40: 'Null', - __Unused41: 'Null', - __Unused42: 'Null', - __Unused43: 'Null', - __Unused44: 'Null', - __Unused45: 'Null', - Contracts: 'PalletContractsHoldReason', - __Unused47: 'Null', - Preimage: 'PalletPreimageHoldReason', - }, - }, - /** - * Lookup362: pallet_staking::pallet::pallet::HoldReason - **/ - PalletStakingPalletHoldReason: { - _enum: ['Staking'], - }, - /** - * Lookup363: pallet_contracts::pallet::HoldReason - **/ - PalletContractsHoldReason: { - _enum: ['CodeUploadDepositReserve', 'StorageDepositReserve'], - }, - /** - * Lookup364: pallet_preimage::pallet::HoldReason - **/ - PalletPreimageHoldReason: { - _enum: ['Preimage'], - }, - /** - * Lookup367: frame_support::traits::tokens::misc::IdAmount - **/ - FrameSupportTokensMiscIdAmount: { - id: '[u8;8]', - amount: 'u128', - }, - /** - * Lookup369: pallet_balances::pallet::Call + * Lookup377: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { - transfer_allow_death: { + transfer: { dest: 'MultiAddress', value: 'Compact', }, - __Unused1: 'Null', - force_transfer: { - source: 'MultiAddress', + transfer_with_memo: { dest: 'MultiAddress', value: 'Compact', + memo: 'Option', }, - transfer_keep_alive: { - dest: 'MultiAddress', + deposit_block_reward_reserve_balance: { value: 'Compact', }, - transfer_all: { - dest: 'MultiAddress', - keepAlive: 'bool', - }, - force_unreserve: { - who: 'MultiAddress', - amount: 'u128', - }, - upgrade_accounts: { - who: 'Vec', - }, - __Unused7: 'Null', - force_set_balance: { + set_balance: { who: 'MultiAddress', newFree: 'Compact', + newReserved: 'Compact', }, - force_adjust_total_issuance: { - direction: 'PalletBalancesAdjustmentDirection', - delta: 'Compact', - }, - burn: { - value: 'Compact', - keepAlive: 'bool', - }, - __Unused11: 'Null', - __Unused12: 'Null', - __Unused13: 'Null', - __Unused14: 'Null', - __Unused15: 'Null', - __Unused16: 'Null', - __Unused17: 'Null', - __Unused18: 'Null', - __Unused19: 'Null', - __Unused20: 'Null', - __Unused21: 'Null', - __Unused22: 'Null', - __Unused23: 'Null', - __Unused24: 'Null', - __Unused25: 'Null', - __Unused26: 'Null', - __Unused27: 'Null', - __Unused28: 'Null', - __Unused29: 'Null', - __Unused30: 'Null', - __Unused31: 'Null', - __Unused32: 'Null', - __Unused33: 'Null', - __Unused34: 'Null', - __Unused35: 'Null', - __Unused36: 'Null', - __Unused37: 'Null', - __Unused38: 'Null', - __Unused39: 'Null', - transfer_with_memo: { + force_transfer: { + source: 'MultiAddress', dest: 'MultiAddress', value: 'Compact', - memo: 'Option', + }, + burn_account_balance: { + amount: 'u128', }, }, }, /** - * Lookup370: pallet_balances::types::AdjustmentDirection - **/ - PalletBalancesAdjustmentDirection: { - _enum: ['Increase', 'Decrease'], - }, - /** - * Lookup371: pallet_balances::pallet::Error + * Lookup378: pallet_balances::pallet::Error **/ PalletBalancesError: { _enum: [ - 'VestingBalance', 'LiquidityRestrictions', + 'Overflow', 'InsufficientBalance', 'ExistentialDeposit', - 'Expendability', - 'ExistingVestingSchedule', - 'DeadAccount', - 'TooManyReserves', - 'TooManyHolds', - 'TooManyFreezes', - 'IssuanceDeactivated', - 'DeltaZero', - 'LockIdentifierNotFound', - 'Overflow', - 'MaxLocksExceeded', + 'ReceiverCddMissing', ], }, /** - * Lookup373: pallet_transaction_payment::Releases + * Lookup380: pallet_transaction_payment::Releases **/ PalletTransactionPaymentReleases: { _enum: ['V1Ancient', 'V2'], }, /** - * Lookup374: pallet_transaction_payment::pallet::Call + * Lookup381: pallet_transaction_payment::pallet::Call **/ PalletTransactionPaymentCall: { _enum: { @@ -2835,27 +2628,36 @@ export default { }, }, /** - * Lookup375: polymesh_primitives::identity::DidRecord + * Lookup383: sp_weights::WeightToFeeCoefficient + **/ + SpWeightsWeightToFeeCoefficient: { + coeffInteger: 'u128', + coeffFrac: 'Perbill', + negative: 'bool', + degree: 'u8', + }, + /** + * Lookup384: polymesh_primitives::identity::DidRecord **/ PolymeshPrimitivesIdentityDidRecord: { primaryKey: 'Option', }, /** - * Lookup377: pallet_identity::types::Claim1stKey + * Lookup386: pallet_identity::types::Claim1stKey **/ PalletIdentityClaim1stKey: { target: 'PolymeshPrimitivesIdentityId', claimType: 'PolymeshPrimitivesIdentityClaimClaimType', }, /** - * Lookup378: pallet_identity::types::Claim2ndKey + * Lookup387: pallet_identity::types::Claim2ndKey **/ PalletIdentityClaim2ndKey: { issuer: 'PolymeshPrimitivesIdentityId', scope: 'Option', }, /** - * Lookup379: polymesh_primitives::secondary_key::KeyRecord + * Lookup388: polymesh_primitives::secondary_key::KeyRecord **/ PolymeshPrimitivesSecondaryKeyKeyRecord: { _enum: { @@ -2865,7 +2667,7 @@ export default { }, }, /** - * Lookup382: polymesh_primitives::secondary_key::Signatory + * Lookup391: polymesh_primitives::secondary_key::Signatory **/ PolymeshPrimitivesSecondaryKeySignatory: { _enum: { @@ -2874,7 +2676,7 @@ export default { }, }, /** - * Lookup383: polymesh_primitives::authorization::Authorization + * Lookup392: polymesh_primitives::authorization::Authorization **/ PolymeshPrimitivesAuthorization: { authorizationData: 'PolymeshPrimitivesAuthorizationAuthorizationData', @@ -2884,7 +2686,7 @@ export default { count: 'u32', }, /** - * Lookup387: pallet_identity::pallet::Call + * Lookup396: pallet_identity::pallet::Call **/ PalletIdentityCall: { _enum: { @@ -2976,21 +2778,21 @@ export default { }, }, /** - * Lookup389: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth + * Lookup398: polymesh_common_utilities::traits::identity::SecondaryKeyWithAuth **/ PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth: { secondaryKey: 'PolymeshPrimitivesSecondaryKey', authSignature: 'H512', }, /** - * Lookup392: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth + * Lookup401: polymesh_common_utilities::traits::identity::CreateChildIdentityWithAuth **/ PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth: { key: 'AccountId32', authSignature: 'H512', }, /** - * Lookup393: pallet_identity::pallet::Error + * Lookup402: pallet_identity::pallet::Error **/ PalletIdentityError: { _enum: [ @@ -3035,7 +2837,7 @@ export default { ], }, /** - * Lookup395: polymesh_primitives::traits::group::InactiveMember + * Lookup404: polymesh_primitives::traits::group::InactiveMember **/ PolymeshPrimitivesGroupInactiveMember: { id: 'PolymeshPrimitivesIdentityId', @@ -3043,7 +2845,7 @@ export default { expiry: 'Option', }, /** - * Lookup396: pallet_group::pallet::Call + * Lookup405: pallet_group::pallet::Call **/ PalletGroupCall: { _enum: { @@ -3072,7 +2874,7 @@ export default { }, }, /** - * Lookup397: pallet_group::pallet::Error + * Lookup406: pallet_group::pallet::Error **/ PalletGroupError: { _enum: [ @@ -3085,7 +2887,7 @@ export default { ], }, /** - * Lookup399: pallet_committee::pallet::Call + * Lookup408: pallet_committee::pallet::Call **/ PalletCommitteeCall: { _enum: { @@ -3111,7 +2913,7 @@ export default { }, }, /** - * Lookup405: pallet_multisig::pallet::Call + * Lookup414: pallet_multisig::pallet::Call **/ PalletMultisigCall: { _enum: { @@ -3179,43 +2981,12 @@ export default { }, }, /** - * Lookup407: pallet_validators::pallet::Call - **/ - PalletValidatorsCall: { - _enum: { - add_permissioned_validator: { - identity: 'PolymeshPrimitivesIdentityId', - intendedCount: 'Option', - }, - remove_permissioned_validator: { - identity: 'PolymeshPrimitivesIdentityId', - }, - payout_stakers_by_system: { - validatorStash: 'AccountId32', - era: 'u32', - }, - change_slashing_allowed_for: { - slashingSwitch: 'PalletValidatorsSlashingSwitch', - }, - update_permissioned_validator_intended_count: { - identity: 'PolymeshPrimitivesIdentityId', - newIntendedCount: 'u32', - }, - chill_from_governance: { - identity: 'PolymeshPrimitivesIdentityId', - stashKeys: 'Vec', - }, - set_commission_cap: { - newCap: 'Perbill', - }, - }, - }, - /** - * Lookup408: pallet_staking::pallet::pallet::Call + * Lookup416: pallet_staking::pallet::pallet::Call **/ PalletStakingPalletCall: { _enum: { bond: { + controller: 'MultiAddress', value: 'Compact', payee: 'PalletStakingRewardDestination', }, @@ -3238,7 +3009,9 @@ export default { set_payee: { payee: 'PalletStakingRewardDestination', }, - set_controller: 'Null', + set_controller: { + controller: 'MultiAddress', + }, set_validator_count: { _alias: { new_: 'new', @@ -3286,10 +3059,9 @@ export default { maxValidatorCount: 'PalletStakingPalletConfigOpU32', chillThreshold: 'PalletStakingPalletConfigOpPercent', minCommission: 'PalletStakingPalletConfigOpPerbill', - maxStakedRewards: 'PalletStakingPalletConfigOpPercent', }, chill_other: { - stash: 'AccountId32', + controller: 'AccountId32', }, force_apply_min_commission: { validatorStash: 'AccountId32', @@ -3300,37 +3072,48 @@ export default { }, new_: 'Perbill', }, - payout_stakers_by_page: { + add_permissioned_validator: { + identity: 'PolymeshPrimitivesIdentityId', + intendedCount: 'Option', + }, + remove_permissioned_validator: { + identity: 'PolymeshPrimitivesIdentityId', + }, + __Unused28: 'Null', + payout_stakers_by_system: { validatorStash: 'AccountId32', era: 'u32', - page: 'u32', - }, - update_payee: { - controller: 'AccountId32', }, - deprecate_controller_batch: { - controllers: 'Vec', + change_slashing_allowed_for: { + slashingSwitch: 'PalletStakingSlashingSwitch', }, - restore_ledger: { - stash: 'AccountId32', - maybeController: 'Option', - maybeTotal: 'Option', - maybeUnlocking: 'Option>', + update_permissioned_validator_intended_count: { + identity: 'PolymeshPrimitivesIdentityId', + newIntendedCount: 'u32', }, - migrate_currency: { - stash: 'AccountId32', + chill_from_governance: { + identity: 'PolymeshPrimitivesIdentityId', + stashKeys: 'Vec', }, - __Unused31: 'Null', - __Unused32: 'Null', - manual_slash: { - validatorStash: 'AccountId32', - era: 'u32', - slashFraction: 'Perbill', + set_commission_cap: { + newCap: 'Perbill', }, }, }, /** - * Lookup412: pallet_staking::pallet::pallet::ConfigOp + * Lookup417: pallet_staking::RewardDestination + **/ + PalletStakingRewardDestination: { + _enum: { + Staked: 'Null', + Stash: 'Null', + Controller: 'Null', + Account: 'AccountId32', + None: 'Null', + }, + }, + /** + * Lookup421: pallet_staking::pallet::pallet::ConfigOp **/ PalletStakingPalletConfigOpU128: { _enum: { @@ -3340,7 +3123,7 @@ export default { }, }, /** - * Lookup413: pallet_staking::pallet::pallet::ConfigOp + * Lookup422: pallet_staking::pallet::pallet::ConfigOp **/ PalletStakingPalletConfigOpU32: { _enum: { @@ -3350,7 +3133,7 @@ export default { }, }, /** - * Lookup414: pallet_staking::pallet::pallet::ConfigOp + * Lookup423: pallet_staking::pallet::pallet::ConfigOp **/ PalletStakingPalletConfigOpPercent: { _enum: { @@ -3360,7 +3143,7 @@ export default { }, }, /** - * Lookup415: pallet_staking::pallet::pallet::ConfigOp + * Lookup424: pallet_staking::pallet::pallet::ConfigOp **/ PalletStakingPalletConfigOpPerbill: { _enum: { @@ -3370,14 +3153,7 @@ export default { }, }, /** - * Lookup419: pallet_staking::UnlockChunk - **/ - PalletStakingUnlockChunk: { - value: 'Compact', - era: 'Compact', - }, - /** - * Lookup421: pallet_session::pallet::Call + * Lookup426: pallet_session::pallet::Call **/ PalletSessionCall: { _enum: { @@ -3392,7 +3168,7 @@ export default { }, }, /** - * Lookup422: polymesh_runtime_develop::runtime::SessionKeys + * Lookup427: polymesh_runtime_develop::runtime::SessionKeys **/ PolymeshRuntimeDevelopRuntimeSessionKeys: { grandpa: 'SpConsensusGrandpaAppPublic', @@ -3401,11 +3177,11 @@ export default { authorityDiscovery: 'SpAuthorityDiscoveryAppPublic', }, /** - * Lookup423: sp_authority_discovery::app::Public + * Lookup428: sp_authority_discovery::app::Public **/ - SpAuthorityDiscoveryAppPublic: '[u8;32]', + SpAuthorityDiscoveryAppPublic: 'SpCoreSr25519Public', /** - * Lookup424: pallet_grandpa::pallet::Call + * Lookup429: pallet_grandpa::pallet::Call **/ PalletGrandpaCall: { _enum: { @@ -3424,14 +3200,14 @@ export default { }, }, /** - * Lookup425: sp_consensus_grandpa::EquivocationProof + * Lookup430: sp_consensus_grandpa::EquivocationProof **/ SpConsensusGrandpaEquivocationProof: { setId: 'u64', equivocation: 'SpConsensusGrandpaEquivocation', }, /** - * Lookup426: sp_consensus_grandpa::Equivocation + * Lookup431: sp_consensus_grandpa::Equivocation **/ SpConsensusGrandpaEquivocation: { _enum: { @@ -3440,7 +3216,7 @@ export default { }, }, /** - * Lookup427: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup432: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrevote: { roundNumber: 'u64', @@ -3449,18 +3225,22 @@ export default { second: '(FinalityGrandpaPrevote,SpConsensusGrandpaAppSignature)', }, /** - * Lookup428: finality_grandpa::Prevote + * Lookup433: finality_grandpa::Prevote **/ FinalityGrandpaPrevote: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup429: sp_consensus_grandpa::app::Signature + * Lookup434: sp_consensus_grandpa::app::Signature **/ - SpConsensusGrandpaAppSignature: '[u8;64]', + SpConsensusGrandpaAppSignature: 'SpCoreEd25519Signature', /** - * Lookup431: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> + * Lookup435: sp_core::ed25519::Signature + **/ + SpCoreEd25519Signature: '[u8;64]', + /** + * Lookup437: finality_grandpa::Equivocation, sp_consensus_grandpa::app::Signature> **/ FinalityGrandpaEquivocationPrecommit: { roundNumber: 'u64', @@ -3469,14 +3249,14 @@ export default { second: '(FinalityGrandpaPrecommit,SpConsensusGrandpaAppSignature)', }, /** - * Lookup432: finality_grandpa::Precommit + * Lookup438: finality_grandpa::Precommit **/ FinalityGrandpaPrecommit: { targetHash: 'H256', targetNumber: 'u32', }, /** - * Lookup434: pallet_im_online::pallet::Call + * Lookup440: pallet_im_online::pallet::Call **/ PalletImOnlineCall: { _enum: { @@ -3487,20 +3267,32 @@ export default { }, }, /** - * Lookup435: pallet_im_online::Heartbeat + * Lookup441: pallet_im_online::Heartbeat **/ PalletImOnlineHeartbeat: { blockNumber: 'u32', + networkState: 'SpCoreOffchainOpaqueNetworkState', sessionIndex: 'u32', authorityIndex: 'u32', validatorsLen: 'u32', }, /** - * Lookup436: pallet_im_online::sr25519::app_sr25519::Signature + * Lookup442: sp_core::offchain::OpaqueNetworkState + **/ + SpCoreOffchainOpaqueNetworkState: { + peerId: 'OpaquePeerId', + externalAddresses: 'Vec', + }, + /** + * Lookup446: pallet_im_online::sr25519::app_sr25519::Signature **/ - PalletImOnlineSr25519AppSr25519Signature: '[u8;64]', + PalletImOnlineSr25519AppSr25519Signature: 'SpCoreSr25519Signature', /** - * Lookup437: pallet_sudo::pallet::Call + * Lookup447: sp_core::sr25519::Signature + **/ + SpCoreSr25519Signature: '[u8;64]', + /** + * Lookup448: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -3524,7 +3316,7 @@ export default { }, }, /** - * Lookup438: pallet_asset::pallet::Call + * Lookup449: pallet_asset::pallet::Call **/ PalletAssetCall: { _enum: { @@ -3672,7 +3464,7 @@ export default { }, }, /** - * Lookup441: pallet_corporate_actions::distribution::pallet::Call + * Lookup452: pallet_corporate_actions::distribution::pallet::Call **/ PalletCorporateActionsDistributionPalletCall: { _enum: { @@ -3701,7 +3493,7 @@ export default { }, }, /** - * Lookup443: pallet_asset::checkpoint::pallet::Call + * Lookup454: pallet_asset::checkpoint::pallet::Call **/ PalletAssetCheckpointPalletCall: { _enum: { @@ -3722,7 +3514,7 @@ export default { }, }, /** - * Lookup444: pallet_compliance_manager::pallet::Call + * Lookup455: pallet_compliance_manager::pallet::Call **/ PalletComplianceManagerCall: { _enum: { @@ -3763,7 +3555,7 @@ export default { }, }, /** - * Lookup445: pallet_corporate_actions::pallet::Call + * Lookup456: pallet_corporate_actions::pallet::Call **/ PalletCorporateActionsCall: { _enum: { @@ -3822,7 +3614,7 @@ export default { }, }, /** - * Lookup447: pallet_corporate_actions::RecordDateSpec + * Lookup458: pallet_corporate_actions::RecordDateSpec **/ PalletCorporateActionsRecordDateSpec: { _enum: { @@ -3832,7 +3624,7 @@ export default { }, }, /** - * Lookup450: pallet_corporate_actions::InitiateCorporateActionArgs + * Lookup461: pallet_corporate_actions::InitiateCorporateActionArgs **/ PalletCorporateActionsInitiateCorporateActionArgs: { assetId: 'PolymeshPrimitivesAssetAssetId', @@ -3845,7 +3637,7 @@ export default { withholdingTax: 'Option>', }, /** - * Lookup451: pallet_corporate_actions::ballot::pallet::Call + * Lookup462: pallet_corporate_actions::ballot::pallet::Call **/ PalletCorporateActionsBallotPalletCall: { _enum: { @@ -3877,7 +3669,7 @@ export default { }, }, /** - * Lookup452: pallet_pips::pallet::Call + * Lookup463: pallet_pips::pallet::Call **/ PalletPipsCall: { _enum: { @@ -3938,13 +3730,13 @@ export default { }, }, /** - * Lookup455: pallet_pips::types::SnapshotResult + * Lookup466: pallet_pips::types::SnapshotResult **/ PalletPipsSnapshotResult: { _enum: ['Approve', 'Reject', 'Skip'], }, /** - * Lookup456: pallet_portfolio::pallet::Call + * Lookup467: pallet_portfolio::pallet::Call **/ PalletPortfolioCall: { _enum: { @@ -3990,14 +3782,14 @@ export default { }, }, /** - * Lookup458: polymesh_primitives::portfolio::Fund + * Lookup469: polymesh_primitives::portfolio::Fund **/ PolymeshPrimitivesPortfolioFund: { description: 'PolymeshPrimitivesPortfolioFundDescription', memo: 'Option', }, /** - * Lookup459: pallet_protocol_fee::pallet::Call + * Lookup470: pallet_protocol_fee::pallet::Call **/ PalletProtocolFeeCall: { _enum: { @@ -4011,7 +3803,7 @@ export default { }, }, /** - * Lookup460: polymesh_common_utilities::protocol_fee::ProtocolOp + * Lookup471: polymesh_common_utilities::protocol_fee::ProtocolOp **/ PolymeshCommonUtilitiesProtocolFeeProtocolOp: { _enum: [ @@ -4034,7 +3826,7 @@ export default { ], }, /** - * Lookup461: pallet_scheduler::pallet::Call + * Lookup472: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -4071,26 +3863,10 @@ export default { priority: 'u8', call: 'Call', }, - set_retry: { - task: '(u32,u32)', - retries: 'u8', - period: 'u32', - }, - set_retry_named: { - id: '[u8;32]', - retries: 'u8', - period: 'u32', - }, - cancel_retry: { - task: '(u32,u32)', - }, - cancel_retry_named: { - id: '[u8;32]', - }, }, }, /** - * Lookup463: pallet_settlement::pallet::Call + * Lookup474: pallet_settlement::pallet::Call **/ PalletSettlementCall: { _enum: { @@ -4228,7 +4004,7 @@ export default { }, }, /** - * Lookup465: polymesh_primitives::settlement::ReceiptDetails + * Lookup476: polymesh_primitives::settlement::ReceiptDetails **/ PolymeshPrimitivesSettlementReceiptDetails: { uid: 'u64', @@ -4239,17 +4015,21 @@ export default { metadata: 'Option', }, /** - * Lookup466: sp_runtime::MultiSignature + * Lookup477: sp_runtime::MultiSignature **/ SpRuntimeMultiSignature: { _enum: { - Ed25519: '[u8;64]', - Sr25519: '[u8;64]', - Ecdsa: '[u8;65]', + Ed25519: 'SpCoreEd25519Signature', + Sr25519: 'SpCoreSr25519Signature', + Ecdsa: 'SpCoreEcdsaSignature', }, }, /** - * Lookup470: polymesh_primitives::settlement::AffirmationCount + * Lookup478: sp_core::ecdsa::Signature + **/ + SpCoreEcdsaSignature: '[u8;65]', + /** + * Lookup482: polymesh_primitives::settlement::AffirmationCount **/ PolymeshPrimitivesSettlementAffirmationCount: { senderAssetCount: 'PolymeshPrimitivesSettlementAssetCount', @@ -4257,7 +4037,7 @@ export default { offchainCount: 'u32', }, /** - * Lookup471: polymesh_primitives::settlement::AssetCount + * Lookup483: polymesh_primitives::settlement::AssetCount **/ PolymeshPrimitivesSettlementAssetCount: { fungible: 'u32', @@ -4265,7 +4045,7 @@ export default { offChain: 'u32', }, /** - * Lookup474: pallet_statistics::pallet::Call + * Lookup486: pallet_statistics::pallet::Call **/ PalletStatisticsCall: { _enum: { @@ -4290,7 +4070,7 @@ export default { }, }, /** - * Lookup478: pallet_sto::pallet::Call + * Lookup490: pallet_sto::pallet::Call **/ PalletStoCall: { _enum: { @@ -4340,14 +4120,14 @@ export default { }, }, /** - * Lookup480: pallet_sto::PriceTier + * Lookup492: pallet_sto::PriceTier **/ PalletStoPriceTier: { total: 'u128', price: 'u128', }, /** - * Lookup481: pallet_sto::FundingMethod + * Lookup493: pallet_sto::FundingMethod **/ PalletStoFundingMethod: { _enum: { @@ -4356,7 +4136,7 @@ export default { }, }, /** - * Lookup482: polymesh_primitives::sto::FundraiserReceiptDetails + * Lookup494: polymesh_primitives::sto::FundraiserReceiptDetails **/ PolymeshPrimitivesStoFundraiserReceiptDetails: { uid: 'u64', @@ -4365,7 +4145,7 @@ export default { metadata: 'Option', }, /** - * Lookup483: pallet_treasury::pallet::Call + * Lookup495: pallet_treasury::pallet::Call **/ PalletTreasuryCall: { _enum: { @@ -4378,14 +4158,14 @@ export default { }, }, /** - * Lookup485: polymesh_primitives::Beneficiary + * Lookup497: polymesh_primitives::Beneficiary **/ PolymeshPrimitivesBeneficiary: { id: 'PolymeshPrimitivesIdentityId', amount: 'u128', }, /** - * Lookup486: pallet_utility::pallet::Call + * Lookup498: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -4421,14 +4201,14 @@ export default { }, }, /** - * Lookup488: pallet_utility::UniqueCall + * Lookup500: pallet_utility::UniqueCall **/ PalletUtilityUniqueCall: { nonce: 'u64', call: 'Call', }, /** - * Lookup489: polymesh_runtime_develop::runtime::OriginCaller + * Lookup501: polymesh_runtime_develop::runtime::OriginCaller **/ PolymeshRuntimeDevelopRuntimeOriginCaller: { _enum: { @@ -4436,7 +4216,7 @@ export default { __Unused1: 'Null', __Unused2: 'Null', __Unused3: 'Null', - __Unused4: 'Null', + Void: 'SpCoreVoid', __Unused5: 'Null', __Unused6: 'Null', __Unused7: 'Null', @@ -4449,7 +4229,7 @@ export default { }, }, /** - * Lookup490: frame_support::dispatch::RawOrigin + * Lookup502: frame_support::dispatch::RawOrigin **/ FrameSupportDispatchRawOrigin: { _enum: { @@ -4459,17 +4239,21 @@ export default { }, }, /** - * Lookup491: pallet_committee::pallet::RawOrigin + * Lookup503: pallet_committee::pallet::RawOrigin **/ PalletCommitteeRawOrigin: { _enum: ['Endorsed'], }, /** - * Lookup494: pallet_base::pallet::Call + * Lookup506: sp_core::Void + **/ + SpCoreVoid: 'Null', + /** + * Lookup507: pallet_base::pallet::Call **/ PalletBaseCall: 'Null', /** - * Lookup495: pallet_external_agents::pallet::Call + * Lookup508: pallet_external_agents::pallet::Call **/ PalletExternalAgentsCall: { _enum: { @@ -4511,7 +4295,7 @@ export default { }, }, /** - * Lookup496: pallet_relayer::pallet::Call + * Lookup509: pallet_relayer::pallet::Call **/ PalletRelayerCall: { _enum: { @@ -4541,7 +4325,7 @@ export default { }, }, /** - * Lookup497: pallet_contracts::pallet::Call + * Lookup510: pallet_contracts::pallet::Call **/ PalletContractsCall: { _enum: { @@ -4603,19 +4387,16 @@ export default { data: 'Bytes', salt: 'Bytes', }, - migrate: { - weightLimit: 'SpWeightsWeightV2Weight', - }, }, }, /** - * Lookup499: pallet_contracts::wasm::Determinism + * Lookup514: pallet_contracts::wasm::Determinism **/ PalletContractsWasmDeterminism: { - _enum: ['Enforced', 'Relaxed'], + _enum: ['Deterministic', 'AllowIndeterminism'], }, /** - * Lookup500: polymesh_contracts::pallet::Call + * Lookup515: polymesh_contracts::pallet::Call **/ PolymeshContractsCall: { _enum: { @@ -4663,14 +4444,14 @@ export default { }, }, /** - * Lookup503: polymesh_contracts::NextUpgrade + * Lookup518: polymesh_contracts::NextUpgrade **/ PolymeshContractsNextUpgrade: { chainVersion: 'PolymeshContractsChainVersion', apiHash: 'PolymeshContractsApiCodeHash', }, /** - * Lookup504: polymesh_contracts::ApiCodeHash + * Lookup519: polymesh_contracts::ApiCodeHash **/ PolymeshContractsApiCodeHash: { _alias: { @@ -4679,7 +4460,7 @@ export default { hash_: 'H256', }, /** - * Lookup505: pallet_preimage::pallet::Call + * Lookup520: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -4704,13 +4485,10 @@ export default { }, hash_: 'H256', }, - ensure_updated: { - hashes: 'Vec', - }, }, }, /** - * Lookup506: pallet_nft::pallet::Call + * Lookup521: pallet_nft::pallet::Call **/ PalletNftCall: { _enum: { @@ -4738,18 +4516,18 @@ export default { }, }, /** - * Lookup509: polymesh_primitives::nft::NFTCollectionKeys + * Lookup524: polymesh_primitives::nft::NFTCollectionKeys **/ PolymeshPrimitivesNftNftCollectionKeys: 'Vec', /** - * Lookup512: polymesh_primitives::nft::NFTMetadataAttribute + * Lookup527: polymesh_primitives::nft::NFTMetadataAttribute **/ PolymeshPrimitivesNftNftMetadataAttribute: { key: 'PolymeshPrimitivesAssetMetadataAssetMetadataKey', value: 'Bytes', }, /** - * Lookup514: pallet_election_provider_multi_phase::pallet::Call + * Lookup529: pallet_election_provider_multi_phase::pallet::Call **/ PalletElectionProviderMultiPhaseCall: { _enum: { @@ -4773,50 +4551,389 @@ export default { }, }, /** - * Lookup515: pallet_election_provider_multi_phase::RawSolution + * Lookup530: pallet_election_provider_multi_phase::RawSolution + **/ + PalletElectionProviderMultiPhaseRawSolution: { + solution: 'PolymeshRuntimeCommonNposSolution16', + score: 'SpNposElectionsElectionScore', + round: 'u32', + }, + /** + * Lookup531: polymesh_runtime_common::NposSolution16 + **/ + PolymeshRuntimeCommonNposSolution16: { + votes1: 'Vec<(Compact,Compact)>', + votes2: 'Vec<(Compact,(Compact,Compact),Compact)>', + votes3: 'Vec<(Compact,[(Compact,Compact);2],Compact)>', + votes4: 'Vec<(Compact,[(Compact,Compact);3],Compact)>', + votes5: 'Vec<(Compact,[(Compact,Compact);4],Compact)>', + votes6: 'Vec<(Compact,[(Compact,Compact);5],Compact)>', + votes7: 'Vec<(Compact,[(Compact,Compact);6],Compact)>', + votes8: 'Vec<(Compact,[(Compact,Compact);7],Compact)>', + votes9: 'Vec<(Compact,[(Compact,Compact);8],Compact)>', + votes10: 'Vec<(Compact,[(Compact,Compact);9],Compact)>', + votes11: 'Vec<(Compact,[(Compact,Compact);10],Compact)>', + votes12: 'Vec<(Compact,[(Compact,Compact);11],Compact)>', + votes13: 'Vec<(Compact,[(Compact,Compact);12],Compact)>', + votes14: 'Vec<(Compact,[(Compact,Compact);13],Compact)>', + votes15: 'Vec<(Compact,[(Compact,Compact);14],Compact)>', + votes16: 'Vec<(Compact,[(Compact,Compact);15],Compact)>', + }, + /** + * Lookup582: pallet_election_provider_multi_phase::SolutionOrSnapshotSize + **/ + PalletElectionProviderMultiPhaseSolutionOrSnapshotSize: { + voters: 'Compact', + targets: 'Compact', + }, + /** + * Lookup586: sp_npos_elections::Support + **/ + SpNposElectionsSupport: { + total: 'u128', + voters: 'Vec<(AccountId32,u128)>', + }, + /** + * Lookup589: pallet_confidential_assets::pallet::Call + **/ + PalletConfidentialAssetsCall: { + _enum: { + register_accounts: { + proof: 'PolymeshDartBpKeysAccountRegistrationProof', + }, + create_asset: { + name: 'Text', + symbol: 'Text', + decimals: 'u8', + mediators: 'BTreeSet', + auditors: 'BTreeSet', + data: 'Bytes', + }, + register_account_assets: { + proof: 'PolymeshDartBpAccountBatchedAccountAssetRegistrationProof', + }, + mint_asset: { + proof: 'PolymeshDartBpAssetAssetMintingProof', + }, + create_settlement: { + proof: 'PolymeshDartBpLegSettlementProof', + }, + sender_affirmation: { + proof: 'PolymeshDartBpLegProofsSenderAffirmationProof', + }, + receiver_affirmation: { + proof: 'PolymeshDartBpLegProofsReceiverAffirmationProof', + }, + mediator_affirmation: { + proof: 'PolymeshDartBpLegProofsMediatorAffirmationProof', + }, + sender_update_counter: { + proof: 'PolymeshDartBpLegProofsSenderCounterUpdateProof', + }, + sender_revert: { + proof: 'PolymeshDartBpLegProofsSenderReversalProof', + }, + receiver_claim: { + proof: 'PolymeshDartBpLegProofsReceiverClaimProof', + }, + batched_settlement: { + proof: 'PolymeshDartBpLegProofsBatchedSettlementProof', + }, + register_fee_accounts: { + proof: 'PolymeshDartBpFeeBatchedFeeAccountRegistrationProof', + }, + topup_fee_accounts: { + proof: 'PolymeshDartBpFeeBatchedFeeAccountTopupProof', + }, + submit_batched_proofs: { + proof: 'PolymeshDartBpBatchedBatchedProofs', + }, + relayer_submit_batched_proofs: { + proof: 'PolymeshDartBpFeeFeePaymentWithBatchedProofs', + }, + register_encryption_keys: { + proof: 'PolymeshDartBpKeysEncryptionKeyRegistrationProof', + }, + execute_instant_settlement: { + proof: 'PolymeshDartBpLegInstantInstantSettlementProof', + }, + instant_sender_affirmation: { + proof: 'PolymeshDartBpLegInstantInstantSenderAffirmationProof', + }, + instant_receiver_affirmation: { + proof: 'PolymeshDartBpLegInstantInstantReceiverAffirmationProof', + }, + }, + }, + /** + * Lookup590: polymesh_dart::bp::keys::AccountRegistrationProof + **/ + PolymeshDartBpKeysAccountRegistrationProof: { + accounts: 'Vec', + inner: 'Bytes', + }, + /** + * Lookup592: polymesh_dart::bp::keys::AccountPublicKeys + **/ + PolymeshDartBpKeysAccountPublicKeys: { + enc: 'PolymeshDartBpKeysEncryptionPublicKey', + acct: 'PolymeshDartBpKeysAccountPublicKey', + }, + /** + * Lookup595: polymesh_dart::bp::account::BatchedAccountAssetRegistrationProof + **/ + PolymeshDartBpAccountBatchedAccountAssetRegistrationProof: { + proofs: 'Vec', + }, + /** + * Lookup597: polymesh_dart::bp::account::AccountAssetRegistrationProof + **/ + PolymeshDartBpAccountAccountAssetRegistrationProof: { + account: 'PolymeshDartBpKeysAccountPublicKey', + assetId: 'u32', + counter: 'u16', + accountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup598: polymesh_dart::bp::account::AccountStateNullifier + **/ + PolymeshDartBpAccountAccountStateNullifier: 'PolymeshDartBpEncodeCompressedAffine', + /** + * Lookup601: polymesh_dart::bp::asset::AssetMintingProof + **/ + PolymeshDartBpAssetAssetMintingProof: { + pk: 'PolymeshDartBpKeysAccountPublicKey', + assetId: 'u32', + amount: 'u64', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup603: polymesh_dart::bp::leg::SettlementProof + **/ + PolymeshDartBpLegSettlementProof: { + memo: 'Bytes', + rootBlock: 'u32', + legs: 'Vec', + }, + /** + * Lookup605: polymesh_dart::bp::leg::SettlementLegProof + **/ + PolymeshDartBpLegSettlementLegProof: { + legEnc: 'Bytes', + inner: 'Bytes', + }, + /** + * Lookup608: polymesh_dart::bp::leg::proofs::SenderAffirmationProof + **/ + PolymeshDartBpLegProofsSenderAffirmationProof: { + legRef: 'PolymeshDartBpLegLegRef', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup610: polymesh_dart::bp::leg::proofs::ReceiverAffirmationProof + **/ + PolymeshDartBpLegProofsReceiverAffirmationProof: { + legRef: 'PolymeshDartBpLegLegRef', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup612: polymesh_dart::bp::leg::proofs::MediatorAffirmationProof + **/ + PolymeshDartBpLegProofsMediatorAffirmationProof: { + legRef: 'PolymeshDartBpLegLegRef', + accept: 'bool', + keyIndex: 'u8', + inner: 'Bytes', + }, + /** + * Lookup614: polymesh_dart::bp::leg::proofs::SenderCounterUpdateProof + **/ + PolymeshDartBpLegProofsSenderCounterUpdateProof: { + legRef: 'PolymeshDartBpLegLegRef', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup616: polymesh_dart::bp::leg::proofs::SenderReversalProof + **/ + PolymeshDartBpLegProofsSenderReversalProof: { + legRef: 'PolymeshDartBpLegLegRef', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup618: polymesh_dart::bp::leg::proofs::ReceiverClaimProof + **/ + PolymeshDartBpLegProofsReceiverClaimProof: { + legRef: 'PolymeshDartBpLegLegRef', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup620: polymesh_dart::bp::leg::proofs::BatchedSettlementProof + **/ + PolymeshDartBpLegProofsBatchedSettlementProof: { + settlement: 'PolymeshDartBpLegSettlementProof', + legAffirmations: 'Vec', + }, + /** + * Lookup621: polymesh_dart::curve_tree::AssetTreeConfig + **/ + PolymeshDartCurveTreeAssetTreeConfig: 'Null', + /** + * Lookup622: polymesh_dart::curve_tree::AccountTreeConfig + **/ + PolymeshDartCurveTreeAccountTreeConfig: 'Null', + /** + * Lookup624: polymesh_dart::bp::leg::proofs::BatchedSettlementLegAffirmations + **/ + PolymeshDartBpLegProofsBatchedSettlementLegAffirmations: { + sender: 'Option', + receiver: 'Option', + }, + /** + * Lookup628: polymesh_dart::bp::fee::BatchedFeeAccountRegistrationProof + **/ + PolymeshDartBpFeeBatchedFeeAccountRegistrationProof: { + proofs: 'Vec', + }, + /** + * Lookup630: polymesh_dart::bp::fee::FeeAccountRegistrationProof + **/ + PolymeshDartBpFeeFeeAccountRegistrationProof: { + account: 'PolymeshDartBpKeysAccountPublicKey', + assetId: 'u32', + amount: 'u64', + accountStateCommitment: 'PolymeshDartBpFeeFeeAccountStateCommitment', + inner: 'Bytes', + }, + /** + * Lookup633: polymesh_dart::bp::fee::BatchedFeeAccountTopupProof + **/ + PolymeshDartBpFeeBatchedFeeAccountTopupProof: { + rootBlock: 'u32', + proofs: 'Vec', + }, + /** + * Lookup635: polymesh_dart::bp::fee::FeeAccountTopupProof + **/ + PolymeshDartBpFeeFeeAccountTopupProof: { + account: 'PolymeshDartBpKeysAccountPublicKey', + assetId: 'u32', + amount: 'u64', + updatedAccountStateCommitment: 'PolymeshDartBpFeeFeeAccountStateCommitment', + nullifier: 'PolymeshDartBpFeeFeeAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup636: polymesh_dart::bp::fee::FeeAccountStateNullifier + **/ + PolymeshDartBpFeeFeeAccountStateNullifier: 'PolymeshDartBpEncodeCompressedAffine', + /** + * Lookup639: polymesh_dart::bp::batched::BatchedProofs + **/ + PolymeshDartBpBatchedBatchedProofs: { + proofs: 'Vec', + }, + /** + * Lookup641: polymesh_dart::bp::batched::BatchedProof + **/ + PolymeshDartBpBatchedBatchedProof: { + _enum: { + CreateSettlement: 'PolymeshDartBpLegSettlementProof', + SenderAffirmation: 'PolymeshDartBpLegProofsSenderAffirmationProof', + ReceiverAffirmation: 'PolymeshDartBpLegProofsReceiverAffirmationProof', + MediatorAffirmation: 'PolymeshDartBpLegProofsMediatorAffirmationProof', + SenderCounterUpdate: 'PolymeshDartBpLegProofsSenderCounterUpdateProof', + SenderReversal: 'PolymeshDartBpLegProofsSenderReversalProof', + ReceiverClaim: 'PolymeshDartBpLegProofsReceiverClaimProof', + ExecuteInstantSettlement: 'PolymeshDartBpLegInstantInstantSettlementProof', + InstantSenderAffirmation: 'PolymeshDartBpLegInstantInstantSenderAffirmationProof', + InstantReceiverAffirmation: 'PolymeshDartBpLegInstantInstantReceiverAffirmationProof', + }, + }, + /** + * Lookup642: polymesh_dart::bp::leg::instant::InstantSettlementProof **/ - PalletElectionProviderMultiPhaseRawSolution: { - solution: 'PolymeshRuntimeCommonNposSolution16', - score: 'SpNposElectionsElectionScore', - round: 'u32', + PolymeshDartBpLegInstantInstantSettlementProof: { + settlement: 'PolymeshDartBpLegSettlementProof', + legAffirmations: 'Vec', }, /** - * Lookup516: polymesh_runtime_common::NposSolution16 + * Lookup644: polymesh_dart::bp::leg::instant::InstantSettlementLegAffirmations **/ - PolymeshRuntimeCommonNposSolution16: { - votes1: 'Vec<(Compact,Compact)>', - votes2: 'Vec<(Compact,(Compact,Compact),Compact)>', - votes3: 'Vec<(Compact,[(Compact,Compact);2],Compact)>', - votes4: 'Vec<(Compact,[(Compact,Compact);3],Compact)>', - votes5: 'Vec<(Compact,[(Compact,Compact);4],Compact)>', - votes6: 'Vec<(Compact,[(Compact,Compact);5],Compact)>', - votes7: 'Vec<(Compact,[(Compact,Compact);6],Compact)>', - votes8: 'Vec<(Compact,[(Compact,Compact);7],Compact)>', - votes9: 'Vec<(Compact,[(Compact,Compact);8],Compact)>', - votes10: 'Vec<(Compact,[(Compact,Compact);9],Compact)>', - votes11: 'Vec<(Compact,[(Compact,Compact);10],Compact)>', - votes12: 'Vec<(Compact,[(Compact,Compact);11],Compact)>', - votes13: 'Vec<(Compact,[(Compact,Compact);12],Compact)>', - votes14: 'Vec<(Compact,[(Compact,Compact);13],Compact)>', - votes15: 'Vec<(Compact,[(Compact,Compact);14],Compact)>', - votes16: 'Vec<(Compact,[(Compact,Compact);15],Compact)>', + PolymeshDartBpLegInstantInstantSettlementLegAffirmations: { + sender: 'PolymeshDartBpLegInstantInstantSenderAffirmationProof', + receiver: 'PolymeshDartBpLegInstantInstantReceiverAffirmationProof', + mediators: 'Vec', }, /** - * Lookup567: pallet_election_provider_multi_phase::SolutionOrSnapshotSize + * Lookup645: polymesh_dart::bp::leg::instant::InstantSenderAffirmationProof **/ - PalletElectionProviderMultiPhaseSolutionOrSnapshotSize: { - voters: 'Compact', - targets: 'Compact', + PolymeshDartBpLegInstantInstantSenderAffirmationProof: { + legRef: 'PolymeshDartBpLegLegRef', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', }, /** - * Lookup571: sp_npos_elections::Support + * Lookup647: polymesh_dart::bp::leg::instant::InstantReceiverAffirmationProof **/ - SpNposElectionsSupport: { - total: 'u128', - voters: 'Vec<(AccountId32,u128)>', + PolymeshDartBpLegInstantInstantReceiverAffirmationProof: { + legRef: 'PolymeshDartBpLegLegRef', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpAccountAccountStateCommitment', + nullifier: 'PolymeshDartBpAccountAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup653: polymesh_dart::bp::fee::FeePaymentWithBatchedProofs + **/ + PolymeshDartBpFeeFeePaymentWithBatchedProofs: { + feePayment: 'PolymeshDartBpFeeFeeAccountPaymentProof', + batchedProofs: 'PolymeshDartBpBatchedBatchedProofs', + }, + /** + * Lookup654: polymesh_dart::bp::fee::FeeAccountPaymentProof + **/ + PolymeshDartBpFeeFeeAccountPaymentProof: { + assetId: 'u32', + amount: 'u64', + rootBlock: 'u32', + updatedAccountStateCommitment: 'PolymeshDartBpFeeFeeAccountStateCommitment', + nullifier: 'PolymeshDartBpFeeFeeAccountStateNullifier', + inner: 'Bytes', + }, + /** + * Lookup656: polymesh_dart::bp::keys::EncryptionKeyRegistrationProof + **/ + PolymeshDartBpKeysEncryptionKeyRegistrationProof: { + _alias: { + keys_: 'keys', + }, + keys_: 'Vec', + inner: 'Bytes', }, /** - * Lookup574: pallet_committee::pallet::PolymeshVotes + * Lookup659: pallet_committee::pallet::PolymeshVotes **/ PalletCommitteePolymeshVotes: { index: 'u32', @@ -4825,7 +4942,7 @@ export default { expiry: 'PolymeshPrimitivesMaybeBlock', }, /** - * Lookup575: pallet_committee::pallet::Error + * Lookup660: pallet_committee::pallet::Error **/ PalletCommitteeError: { _enum: [ @@ -4841,14 +4958,14 @@ export default { ], }, /** - * Lookup584: polymesh_primitives::multisig::ProposalVoteCount + * Lookup669: polymesh_primitives::multisig::ProposalVoteCount **/ PolymeshPrimitivesMultisigProposalVoteCount: { approvals: 'u64', rejections: 'u64', }, /** - * Lookup585: polymesh_primitives::multisig::ProposalState + * Lookup670: polymesh_primitives::multisig::ProposalState **/ PolymeshPrimitivesMultisigProposalState: { _enum: { @@ -4861,7 +4978,7 @@ export default { }, }, /** - * Lookup587: pallet_multisig::pallet::Error + * Lookup672: pallet_multisig::pallet::Error **/ PalletMultisigError: { _enum: [ @@ -4894,40 +5011,24 @@ export default { ], }, /** - * Lookup588: pallet_validators::types::PermissionedIdentityPrefs - **/ - PalletValidatorsPermissionedIdentityPrefs: { - intendedCount: 'u32', - runningCount: 'u32', - }, - /** - * Lookup589: pallet_validators::pallet::Error - **/ - PalletValidatorsError: { - _enum: [ - 'StashIdentityDoesNotExist', - 'StashIdentityNotPermissioned', - 'IdentityIsAlreadyPermissioned', - 'IdentityIsMissingCDD', - 'IntendedCountIsExceedingConsensusLimit', - 'IdentityNotFound', - 'ValidatorNotFound', - 'CommissionTooHigh', - 'CommissionUnchanged', - ], - }, - /** - * Lookup590: pallet_staking::StakingLedger + * Lookup673: pallet_staking::StakingLedger **/ PalletStakingStakingLedger: { stash: 'AccountId32', total: 'Compact', active: 'Compact', unlocking: 'Vec', - legacyClaimedRewards: 'Vec', + claimedRewards: 'Vec', + }, + /** + * Lookup675: pallet_staking::UnlockChunk + **/ + PalletStakingUnlockChunk: { + value: 'Compact', + era: 'Compact', }, /** - * Lookup592: pallet_staking::Nominations + * Lookup678: pallet_staking::Nominations **/ PalletStakingNominations: { targets: 'Vec', @@ -4935,37 +5036,21 @@ export default { suppressed: 'bool', }, /** - * Lookup594: pallet_staking::ActiveEraInfo + * Lookup680: pallet_staking::ActiveEraInfo **/ PalletStakingActiveEraInfo: { index: 'u32', start: 'Option', }, /** - * Lookup596: sp_staking::PagedExposureMetadata - **/ - SpStakingPagedExposureMetadata: { - total: 'Compact', - own: 'Compact', - nominatorCount: 'u32', - pageCount: 'u32', - }, - /** - * Lookup598: sp_staking::ExposurePage - **/ - SpStakingExposurePage: { - pageTotal: 'Compact', - others: 'Vec', - }, - /** - * Lookup599: pallet_staking::EraRewardPoints + * Lookup682: pallet_staking::EraRewardPoints **/ PalletStakingEraRewardPoints: { total: 'u32', individual: 'BTreeMap', }, /** - * Lookup604: pallet_staking::UnappliedSlash + * Lookup687: pallet_staking::UnappliedSlash **/ PalletStakingUnappliedSlash: { validator: 'AccountId32', @@ -4975,7 +5060,7 @@ export default { payout: 'u128', }, /** - * Lookup606: pallet_staking::slashing::SlashingSpans + * Lookup689: pallet_staking::slashing::SlashingSpans **/ PalletStakingSlashingSlashingSpans: { spanIndex: 'u32', @@ -4984,14 +5069,21 @@ export default { prior: 'Vec', }, /** - * Lookup607: pallet_staking::slashing::SpanRecord + * Lookup690: pallet_staking::slashing::SpanRecord **/ PalletStakingSlashingSpanRecord: { slashed: 'u128', paidOut: 'u128', }, /** - * Lookup608: pallet_staking::pallet::pallet::Error + * Lookup693: pallet_staking::types::PermissionedIdentityPrefs + **/ + PalletStakingPermissionedIdentityPrefs: { + intendedCount: 'u32', + runningCount: 'u32', + }, + /** + * Lookup695: pallet_staking::pallet::pallet::Error **/ PalletStakingPalletError: { _enum: [ @@ -5010,7 +5102,6 @@ export default { 'InvalidNumberOfNominations', 'NotSortedAndUnique', 'AlreadyClaimed', - 'InvalidPage', 'IncorrectHistoryDepth', 'IncorrectSlashingSpans', 'BadState', @@ -5021,35 +5112,37 @@ export default { 'TooManyValidators', 'CommissionTooLow', 'BoundNotMet', - 'ControllerDeprecated', - 'CannotRestoreLedger', - 'RewardDestinationRestricted', - 'NotEnoughFunds', - 'VirtualStakerNotAllowed', - 'CannotReapStash', - 'AlreadyMigrated', - 'Restricted', + 'StashIdentityDoesNotExist', + 'StashIdentityNotPermissioned', + 'StashIdentityNotCDDed', + 'IdentityIsAlreadyPermissioned', + 'IdentityIsMissingCDD', + 'IntendedCountIsExceedingConsensusLimit', + 'IdentityNotFound', + 'ValidatorNotFound', + 'CommissionTooHigh', + 'CommissionUnchanged', ], }, /** - * Lookup609: sp_staking::offence::OffenceDetails + * Lookup696: sp_staking::offence::OffenceDetails **/ SpStakingOffenceOffenceDetails: { - offender: '(AccountId32,SpStakingExposure)', + offender: '(AccountId32,PalletStakingExposure)', reporters: 'Vec', }, /** - * Lookup617: sp_core::crypto::KeyTypeId + * Lookup701: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup618: pallet_session::pallet::Error + * Lookup702: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'], }, /** - * Lookup621: pallet_grandpa::StoredState + * Lookup703: pallet_grandpa::StoredState **/ PalletGrandpaStoredState: { _enum: { @@ -5066,7 +5159,7 @@ export default { }, }, /** - * Lookup622: pallet_grandpa::StoredPendingChange + * Lookup704: pallet_grandpa::StoredPendingChange **/ PalletGrandpaStoredPendingChange: { scheduledAt: 'u32', @@ -5075,7 +5168,7 @@ export default { forced: 'Option', }, /** - * Lookup624: pallet_grandpa::pallet::Error + * Lookup706: pallet_grandpa::pallet::Error **/ PalletGrandpaError: { _enum: [ @@ -5089,33 +5182,40 @@ export default { ], }, /** - * Lookup628: pallet_im_online::pallet::Error + * Lookup710: pallet_im_online::BoundedOpaqueNetworkState + **/ + PalletImOnlineBoundedOpaqueNetworkState: { + peerId: 'Bytes', + externalAddresses: 'Vec', + }, + /** + * Lookup714: pallet_im_online::pallet::Error **/ PalletImOnlineError: { _enum: ['InvalidKey', 'DuplicatedHeartbeat'], }, /** - * Lookup630: pallet_sudo::pallet::Error + * Lookup716: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'], }, /** - * Lookup631: pallet_asset::types::TickerRegistration + * Lookup717: pallet_asset::types::TickerRegistration **/ PalletAssetTickerRegistration: { owner: 'PolymeshPrimitivesIdentityId', expiry: 'Option', }, /** - * Lookup632: pallet_asset::types::TickerRegistrationConfig + * Lookup718: pallet_asset::types::TickerRegistrationConfig **/ PalletAssetTickerRegistrationConfig: { maxTickerLength: 'u8', registrationLength: 'Option', }, /** - * Lookup633: pallet_asset::types::AssetDetails + * Lookup719: pallet_asset::types::AssetDetails **/ PalletAssetAssetDetails: { totalSupply: 'u128', @@ -5124,7 +5224,7 @@ export default { assetType: 'PolymeshPrimitivesAssetAssetType', }, /** - * Lookup643: pallet_asset::pallet::Error + * Lookup729: pallet_asset::pallet::Error **/ PalletAssetError: { _enum: [ @@ -5181,7 +5281,7 @@ export default { ], }, /** - * Lookup646: pallet_corporate_actions::distribution::pallet::Error + * Lookup732: pallet_corporate_actions::distribution::pallet::Error **/ PalletCorporateActionsDistributionPalletError: { _enum: [ @@ -5203,7 +5303,7 @@ export default { ], }, /** - * Lookup650: polymesh_common_utilities::traits::checkpoint::NextCheckpoints + * Lookup736: polymesh_common_utilities::traits::checkpoint::NextCheckpoints **/ PolymeshCommonUtilitiesCheckpointNextCheckpoints: { nextAt: 'u64', @@ -5211,7 +5311,7 @@ export default { schedules: 'BTreeMap', }, /** - * Lookup656: pallet_asset::checkpoint::pallet::Error + * Lookup742: pallet_asset::checkpoint::pallet::Error **/ PalletAssetCheckpointPalletError: { _enum: [ @@ -5224,14 +5324,14 @@ export default { ], }, /** - * Lookup657: polymesh_primitives::compliance_manager::AssetCompliance + * Lookup743: polymesh_primitives::compliance_manager::AssetCompliance **/ PolymeshPrimitivesComplianceManagerAssetCompliance: { paused: 'bool', requirements: 'Vec', }, /** - * Lookup659: pallet_compliance_manager::pallet::Error + * Lookup745: pallet_compliance_manager::pallet::Error **/ PalletComplianceManagerError: { _enum: [ @@ -5245,7 +5345,7 @@ export default { ], }, /** - * Lookup662: pallet_corporate_actions::pallet::Error + * Lookup748: pallet_corporate_actions::pallet::Error **/ PalletCorporateActionsError: { _enum: [ @@ -5263,7 +5363,7 @@ export default { ], }, /** - * Lookup666: pallet_corporate_actions::ballot::pallet::Error + * Lookup752: pallet_corporate_actions::ballot::pallet::Error **/ PalletCorporateActionsBallotPalletError: { _enum: [ @@ -5284,13 +5384,13 @@ export default { ], }, /** - * Lookup667: pallet_permissions::pallet::Error + * Lookup753: pallet_permissions::pallet::Error **/ PalletPermissionsError: { _enum: ['UnauthorizedCaller'], }, /** - * Lookup668: pallet_pips::types::PipsMetadata + * Lookup754: pallet_pips::types::PipsMetadata **/ PalletPipsPipsMetadata: { id: 'u32', @@ -5301,14 +5401,14 @@ export default { expiry: 'PolymeshPrimitivesMaybeBlock', }, /** - * Lookup670: pallet_pips::types::DepositInfo + * Lookup756: pallet_pips::types::DepositInfo **/ PalletPipsDepositInfo: { owner: 'AccountId32', amount: 'u128', }, /** - * Lookup671: pallet_pips::types::Pip + * Lookup757: pallet_pips::types::Pip **/ PalletPipsPip: { id: 'u32', @@ -5316,7 +5416,7 @@ export default { proposer: 'PalletPipsProposer', }, /** - * Lookup672: pallet_pips::types::VotingResult + * Lookup758: pallet_pips::types::VotingResult **/ PalletPipsVotingResult: { ayesCount: 'u32', @@ -5325,11 +5425,11 @@ export default { naysStake: 'u128', }, /** - * Lookup673: pallet_pips::types::Vote + * Lookup759: pallet_pips::types::Vote **/ PalletPipsVote: '(bool,u128)', /** - * Lookup674: pallet_pips::types::SnapshotMetadata + * Lookup760: pallet_pips::types::SnapshotMetadata **/ PalletPipsSnapshotMetadata: { createdAt: 'u32', @@ -5337,7 +5437,7 @@ export default { id: 'u32', }, /** - * Lookup676: pallet_pips::pallet::Error + * Lookup762: pallet_pips::pallet::Error **/ PalletPipsError: { _enum: [ @@ -5360,11 +5460,10 @@ export default { 'ScheduledProposalDoesntExist', 'ProposalNotInScheduledState', 'InvalidPipId', - 'InvalidTaskName', ], }, /** - * Lookup684: pallet_portfolio::pallet::Error + * Lookup770: pallet_portfolio::pallet::Error **/ PalletPortfolioError: { _enum: [ @@ -5392,13 +5491,13 @@ export default { ], }, /** - * Lookup685: pallet_protocol_fee::pallet::Error + * Lookup771: pallet_protocol_fee::pallet::Error **/ PalletProtocolFeeError: { _enum: ['InsufficientAccountBalance', 'UnHandledImbalances', 'InsufficientSubsidyBalance'], }, /** - * Lookup688: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_develop::runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup774: pallet_scheduler::Scheduled, BlockNumber, polymesh_runtime_develop::runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', @@ -5408,7 +5507,7 @@ export default { origin: 'PolymeshRuntimeDevelopRuntimeOriginCaller', }, /** - * Lookup689: frame_support::traits::preimages::Bounded + * Lookup775: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -5429,19 +5528,7 @@ export default { }, }, /** - * Lookup690: sp_runtime::traits::BlakeTwo256 - **/ - SpRuntimeBlakeTwo256: 'Null', - /** - * Lookup693: pallet_scheduler::RetryConfig - **/ - PalletSchedulerRetryConfig: { - totalRetries: 'u8', - remaining: 'u8', - period: 'u32', - }, - /** - * Lookup694: pallet_scheduler::pallet::Error + * Lookup778: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: [ @@ -5453,14 +5540,14 @@ export default { ], }, /** - * Lookup695: polymesh_primitives::settlement::Venue + * Lookup779: polymesh_primitives::settlement::Venue **/ PolymeshPrimitivesSettlementVenue: { creator: 'PolymeshPrimitivesIdentityId', venueType: 'PolymeshPrimitivesSettlementVenueType', }, /** - * Lookup699: polymesh_primitives::settlement::Instruction + * Lookup783: polymesh_primitives::settlement::Instruction **/ PolymeshPrimitivesSettlementInstruction: { instructionId: 'u64', @@ -5471,7 +5558,7 @@ export default { valueDate: 'Option', }, /** - * Lookup701: polymesh_primitives::settlement::LegStatus + * Lookup785: polymesh_primitives::settlement::LegStatus **/ PolymeshPrimitivesSettlementLegStatus: { _enum: { @@ -5481,13 +5568,13 @@ export default { }, }, /** - * Lookup703: polymesh_primitives::settlement::AffirmationStatus + * Lookup787: polymesh_primitives::settlement::AffirmationStatus **/ PolymeshPrimitivesSettlementAffirmationStatus: { _enum: ['Unknown', 'Pending', 'Affirmed'], }, /** - * Lookup706: polymesh_primitives::settlement::InstructionStatus + * Lookup790: polymesh_primitives::settlement::InstructionStatus **/ PolymeshPrimitivesSettlementInstructionStatus: { _enum: { @@ -5500,7 +5587,7 @@ export default { }, }, /** - * Lookup708: polymesh_primitives::settlement::MediatorAffirmationStatus + * Lookup792: polymesh_primitives::settlement::MediatorAffirmationStatus **/ PolymeshPrimitivesSettlementMediatorAffirmationStatus: { _enum: { @@ -5512,7 +5599,7 @@ export default { }, }, /** - * Lookup710: pallet_settlement::pallet::Error + * Lookup794: pallet_settlement::pallet::Error **/ PalletSettlementError: { _enum: [ @@ -5566,25 +5653,24 @@ export default { 'ExceededMaximumLockingPeriod', 'FailedAssetTransferringConditions', 'InvalidInstructionStatusForWithdrawal', - 'InvalidTaskName', ], }, /** - * Lookup713: polymesh_primitives::statistics::Stat1stKey + * Lookup797: polymesh_primitives::statistics::Stat1stKey **/ PolymeshPrimitivesStatisticsStat1stKey: { assetId: 'PolymeshPrimitivesAssetAssetId', statType: 'PolymeshPrimitivesStatisticsStatType', }, /** - * Lookup714: polymesh_primitives::transfer_compliance::AssetTransferCompliance + * Lookup798: polymesh_primitives::transfer_compliance::AssetTransferCompliance **/ PolymeshPrimitivesTransferComplianceAssetTransferCompliance: { paused: 'bool', requirements: 'BTreeSet', }, /** - * Lookup718: pallet_statistics::pallet::Error + * Lookup802: pallet_statistics::pallet::Error **/ PalletStatisticsError: { _enum: [ @@ -5598,7 +5684,7 @@ export default { ], }, /** - * Lookup721: pallet_sto::pallet::Error + * Lookup805: pallet_sto::pallet::Error **/ PalletStoError: { _enum: [ @@ -5619,13 +5705,13 @@ export default { ], }, /** - * Lookup722: pallet_treasury::pallet::Error + * Lookup806: pallet_treasury::pallet::Error **/ PalletTreasuryError: { _enum: ['InsufficientBalance', 'InvalidIdentity'], }, /** - * Lookup723: pallet_utility::pallet::Error + * Lookup807: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: [ @@ -5637,13 +5723,13 @@ export default { ], }, /** - * Lookup724: pallet_base::pallet::Error + * Lookup808: pallet_base::pallet::Error **/ PalletBaseError: { _enum: ['TooLong', 'CounterOverflow'], }, /** - * Lookup727: pallet_external_agents::pallet::Error + * Lookup811: pallet_external_agents::pallet::Error **/ PalletExternalAgentsError: { _enum: [ @@ -5657,14 +5743,14 @@ export default { ], }, /** - * Lookup728: pallet_relayer::pallet::Subsidy + * Lookup812: pallet_relayer::pallet::Subsidy **/ PalletRelayerSubsidy: { payingKey: 'AccountId32', remaining: 'u128', }, /** - * Lookup729: pallet_relayer::pallet::Error + * Lookup813: pallet_relayer::pallet::Error **/ PalletRelayerError: { _enum: [ @@ -5679,104 +5765,199 @@ export default { ], }, /** - * Lookup731: pallet_contracts::wasm::CodeInfo + * Lookup815: pallet_contracts::wasm::PrefabWasmModule + **/ + PalletContractsWasmPrefabWasmModule: { + instructionWeightsVersion: 'Compact', + initial: 'Compact', + maximum: 'Compact', + code: 'Bytes', + determinism: 'PalletContractsWasmDeterminism', + }, + /** + * Lookup817: pallet_contracts::wasm::OwnerInfo **/ - PalletContractsWasmCodeInfo: { + PalletContractsWasmOwnerInfo: { owner: 'AccountId32', deposit: 'Compact', refcount: 'Compact', - determinism: 'PalletContractsWasmDeterminism', - codeLen: 'u32', }, /** - * Lookup732: pallet_contracts::storage::ContractInfo + * Lookup818: pallet_contracts::storage::ContractInfo **/ PalletContractsStorageContractInfo: { trieId: 'Bytes', + depositAccount: 'AccountId32', codeHash: 'H256', storageBytes: 'u32', storageItems: 'u32', storageByteDeposit: 'u128', storageItemDeposit: 'u128', storageBaseDeposit: 'u128', - delegateDependencies: 'BTreeMap', }, /** - * Lookup737: pallet_contracts::storage::DeletionQueueManager + * Lookup821: pallet_contracts::storage::DeletedContract **/ - PalletContractsStorageDeletionQueueManager: { - insertCounter: 'u32', - deleteCounter: 'u32', + PalletContractsStorageDeletedContract: { + trieId: 'Bytes', }, /** - * Lookup739: pallet_contracts::schedule::Schedule + * Lookup823: pallet_contracts::schedule::Schedule **/ PalletContractsSchedule: { limits: 'PalletContractsScheduleLimits', instructionWeights: 'PalletContractsScheduleInstructionWeights', + hostFnWeights: 'PalletContractsScheduleHostFnWeights', }, /** - * Lookup740: pallet_contracts::schedule::Limits + * Lookup824: pallet_contracts::schedule::Limits **/ PalletContractsScheduleLimits: { eventTopics: 'u32', + globals: 'u32', + locals: 'u32', + parameters: 'u32', memoryPages: 'u32', + tableSize: 'u32', + brTableSize: 'u32', subjectLen: 'u32', payloadLen: 'u32', - runtimeMemory: 'u32', - validatorRuntimeMemory: 'u32', - eventRefTime: 'u64', }, /** - * Lookup741: pallet_contracts::schedule::InstructionWeights + * Lookup825: pallet_contracts::schedule::InstructionWeights **/ PalletContractsScheduleInstructionWeights: { - base: 'u32', - }, - /** - * Lookup742: pallet_contracts::Environment - **/ - PalletContractsEnvironment: { _alias: { - hash_: 'hash', - }, - accountId: 'PalletContractsEnvironmentTypeAccountId32', - balance: 'PalletContractsEnvironmentTypeU128', - hash_: 'PalletContractsEnvironmentTypeH256', - hasher: 'PalletContractsEnvironmentTypeBlakeTwo256', - timestamp: 'PalletContractsEnvironmentTypeU64', - blockNumber: 'PalletContractsEnvironmentTypeU32', - }, - /** - * Lookup743: pallet_contracts::EnvironmentType - **/ - PalletContractsEnvironmentTypeAccountId32: 'Null', - /** - * Lookup744: pallet_contracts::EnvironmentType - **/ - PalletContractsEnvironmentTypeU128: 'Null', - /** - * Lookup745: pallet_contracts::EnvironmentType - **/ - PalletContractsEnvironmentTypeH256: 'Null', - /** - * Lookup746: pallet_contracts::EnvironmentType - **/ - PalletContractsEnvironmentTypeBlakeTwo256: 'Null', - /** - * Lookup747: pallet_contracts::EnvironmentType - **/ - PalletContractsEnvironmentTypeU64: 'Null', - /** - * Lookup748: pallet_contracts::EnvironmentType - **/ - PalletContractsEnvironmentTypeU32: 'Null', - /** - * Lookup750: pallet_contracts::pallet::Error + r_if: 'r#if', + }, + version: 'u32', + fallback: 'u32', + i64const: 'u32', + i64load: 'u32', + i64store: 'u32', + select: 'u32', + r_if: 'u32', + br: 'u32', + brIf: 'u32', + brTable: 'u32', + brTablePerEntry: 'u32', + call: 'u32', + callIndirect: 'u32', + callIndirectPerParam: 'u32', + callPerLocal: 'u32', + localGet: 'u32', + localSet: 'u32', + localTee: 'u32', + globalGet: 'u32', + globalSet: 'u32', + memoryCurrent: 'u32', + memoryGrow: 'u32', + i64clz: 'u32', + i64ctz: 'u32', + i64popcnt: 'u32', + i64eqz: 'u32', + i64extendsi32: 'u32', + i64extendui32: 'u32', + i32wrapi64: 'u32', + i64eq: 'u32', + i64ne: 'u32', + i64lts: 'u32', + i64ltu: 'u32', + i64gts: 'u32', + i64gtu: 'u32', + i64les: 'u32', + i64leu: 'u32', + i64ges: 'u32', + i64geu: 'u32', + i64add: 'u32', + i64sub: 'u32', + i64mul: 'u32', + i64divs: 'u32', + i64divu: 'u32', + i64rems: 'u32', + i64remu: 'u32', + i64and: 'u32', + i64or: 'u32', + i64xor: 'u32', + i64shl: 'u32', + i64shrs: 'u32', + i64shru: 'u32', + i64rotl: 'u32', + i64rotr: 'u32', + }, + /** + * Lookup826: pallet_contracts::schedule::HostFnWeights + **/ + PalletContractsScheduleHostFnWeights: { + _alias: { + r_return: 'r#return', + }, + caller: 'SpWeightsWeightV2Weight', + isContract: 'SpWeightsWeightV2Weight', + codeHash: 'SpWeightsWeightV2Weight', + ownCodeHash: 'SpWeightsWeightV2Weight', + callerIsOrigin: 'SpWeightsWeightV2Weight', + address: 'SpWeightsWeightV2Weight', + gasLeft: 'SpWeightsWeightV2Weight', + balance: 'SpWeightsWeightV2Weight', + valueTransferred: 'SpWeightsWeightV2Weight', + minimumBalance: 'SpWeightsWeightV2Weight', + blockNumber: 'SpWeightsWeightV2Weight', + now: 'SpWeightsWeightV2Weight', + weightToFee: 'SpWeightsWeightV2Weight', + gas: 'SpWeightsWeightV2Weight', + input: 'SpWeightsWeightV2Weight', + inputPerByte: 'SpWeightsWeightV2Weight', + r_return: 'SpWeightsWeightV2Weight', + returnPerByte: 'SpWeightsWeightV2Weight', + terminate: 'SpWeightsWeightV2Weight', + random: 'SpWeightsWeightV2Weight', + depositEvent: 'SpWeightsWeightV2Weight', + depositEventPerTopic: 'SpWeightsWeightV2Weight', + depositEventPerByte: 'SpWeightsWeightV2Weight', + debugMessage: 'SpWeightsWeightV2Weight', + debugMessagePerByte: 'SpWeightsWeightV2Weight', + setStorage: 'SpWeightsWeightV2Weight', + setStoragePerNewByte: 'SpWeightsWeightV2Weight', + setStoragePerOldByte: 'SpWeightsWeightV2Weight', + setCodeHash: 'SpWeightsWeightV2Weight', + clearStorage: 'SpWeightsWeightV2Weight', + clearStoragePerByte: 'SpWeightsWeightV2Weight', + containsStorage: 'SpWeightsWeightV2Weight', + containsStoragePerByte: 'SpWeightsWeightV2Weight', + getStorage: 'SpWeightsWeightV2Weight', + getStoragePerByte: 'SpWeightsWeightV2Weight', + takeStorage: 'SpWeightsWeightV2Weight', + takeStoragePerByte: 'SpWeightsWeightV2Weight', + transfer: 'SpWeightsWeightV2Weight', + call: 'SpWeightsWeightV2Weight', + delegateCall: 'SpWeightsWeightV2Weight', + callTransferSurcharge: 'SpWeightsWeightV2Weight', + callPerClonedByte: 'SpWeightsWeightV2Weight', + instantiate: 'SpWeightsWeightV2Weight', + instantiateTransferSurcharge: 'SpWeightsWeightV2Weight', + instantiatePerInputByte: 'SpWeightsWeightV2Weight', + instantiatePerSaltByte: 'SpWeightsWeightV2Weight', + hashSha2256: 'SpWeightsWeightV2Weight', + hashSha2256PerByte: 'SpWeightsWeightV2Weight', + hashKeccak256: 'SpWeightsWeightV2Weight', + hashKeccak256PerByte: 'SpWeightsWeightV2Weight', + hashBlake2256: 'SpWeightsWeightV2Weight', + hashBlake2256PerByte: 'SpWeightsWeightV2Weight', + hashBlake2128: 'SpWeightsWeightV2Weight', + hashBlake2128PerByte: 'SpWeightsWeightV2Weight', + ecdsaRecover: 'SpWeightsWeightV2Weight', + ecdsaToEthAddress: 'SpWeightsWeightV2Weight', + reentranceCount: 'SpWeightsWeightV2Weight', + accountReentranceCount: 'SpWeightsWeightV2Weight', + instantiationNonce: 'SpWeightsWeightV2Weight', + }, + /** + * Lookup827: pallet_contracts::pallet::Error **/ PalletContractsError: { _enum: [ - 'InvalidSchedule', + 'InvalidScheduleVersion', 'InvalidCallFlags', 'OutOfGas', 'OutputBufferTooSmall', @@ -5785,7 +5966,6 @@ export default { 'ContractNotFound', 'CodeTooLarge', 'CodeNotFound', - 'CodeInfoNotFound', 'OutOfBounds', 'DecodingFailed', 'ContractTrapped', @@ -5795,28 +5975,20 @@ export default { 'RandomSubjectTooLong', 'TooManyTopics', 'NoChainExtension', - 'XCMDecodeFailed', + 'DeletionQueueFull', 'DuplicateContract', 'TerminatedInConstructor', 'ReentranceDenied', - 'StateChangeDenied', 'StorageDepositNotEnoughFunds', 'StorageDepositLimitExhausted', 'CodeInUse', 'ContractReverted', 'CodeRejected', 'Indeterministic', - 'MigrationInProgress', - 'NoMigrationPerformed', - 'MaxDelegateDependenciesReached', - 'DelegateDependencyNotFound', - 'DelegateDependencyAlreadyExists', - 'CannotAddSelfAsDelegateDependency', - 'OutOfTransientStorage', ], }, /** - * Lookup752: polymesh_contracts::pallet::Error + * Lookup829: polymesh_contracts::pallet::Error **/ PolymeshContractsError: { _enum: [ @@ -5835,9 +6007,9 @@ export default { ], }, /** - * Lookup753: pallet_preimage::OldRequestStatus + * Lookup830: pallet_preimage::RequestStatus **/ - PalletPreimageOldRequestStatus: { + PalletPreimageRequestStatus: { _enum: { Unrequested: { deposit: '(AccountId32,u128)', @@ -5851,45 +6023,20 @@ export default { }, }, /** - * Lookup755: pallet_preimage::RequestStatus> - **/ - PalletPreimageRequestStatus: { - _enum: { - Unrequested: { - ticket: '(AccountId32,u128)', - len: 'u32', - }, - Requested: { - maybeTicket: 'Option<(AccountId32,u128)>', - count: 'u32', - maybeLen: 'Option', - }, - }, - }, - /** - * Lookup760: pallet_preimage::pallet::Error + * Lookup834: pallet_preimage::pallet::Error **/ PalletPreimageError: { - _enum: [ - 'TooBig', - 'AlreadyNoted', - 'NotAuthorized', - 'NotNoted', - 'Requested', - 'NotRequested', - 'TooMany', - 'TooFew', - ], + _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested'], }, /** - * Lookup761: polymesh_primitives::nft::NFTCollection + * Lookup835: polymesh_primitives::nft::NFTCollection **/ PolymeshPrimitivesNftNftCollection: { id: 'u64', assetId: 'PolymeshPrimitivesAssetAssetId', }, /** - * Lookup765: pallet_nft::pallet::Error + * Lookup839: pallet_nft::pallet::Error **/ PalletNftError: { _enum: [ @@ -5925,7 +6072,7 @@ export default { ], }, /** - * Lookup766: pallet_election_provider_multi_phase::ReadySolution + * Lookup840: pallet_election_provider_multi_phase::ReadySolution **/ PalletElectionProviderMultiPhaseReadySolution: { supports: 'Vec<(AccountId32,SpNposElectionsSupport)>', @@ -5933,14 +6080,14 @@ export default { compute: 'PalletElectionProviderMultiPhaseElectionCompute', }, /** - * Lookup768: pallet_election_provider_multi_phase::RoundSnapshot + * Lookup842: pallet_election_provider_multi_phase::RoundSnapshot **/ PalletElectionProviderMultiPhaseRoundSnapshot: { voters: 'Vec<(AccountId32,u64,Vec)>', targets: 'Vec', }, /** - * Lookup774: pallet_election_provider_multi_phase::signed::SignedSubmission + * Lookup848: pallet_election_provider_multi_phase::signed::SignedSubmission **/ PalletElectionProviderMultiPhaseSignedSignedSubmission: { who: 'AccountId32', @@ -5949,7 +6096,7 @@ export default { callFee: 'u128', }, /** - * Lookup775: pallet_election_provider_multi_phase::pallet::Error + * Lookup849: pallet_election_provider_multi_phase::pallet::Error **/ PalletElectionProviderMultiPhaseError: { _enum: [ @@ -5967,378 +6114,153 @@ export default { 'FallbackFailed', 'BoundNotMet', 'TooManyWinners', - 'PreDispatchDifferentRound', ], }, /** - * Lookup777: frame_system::extensions::check_spec_version::CheckSpecVersion - **/ - FrameSystemExtensionsCheckSpecVersion: 'Null', - /** - * Lookup778: frame_system::extensions::check_tx_version::CheckTxVersion - **/ - FrameSystemExtensionsCheckTxVersion: 'Null', - /** - * Lookup779: frame_system::extensions::check_genesis::CheckGenesis - **/ - FrameSystemExtensionsCheckGenesis: 'Null', - /** - * Lookup782: frame_system::extensions::check_nonce::CheckNonce - **/ - FrameSystemExtensionsCheckNonce: 'Compact', - /** - * Lookup783: frame_system::extensions::check_weight::CheckWeight - **/ - FrameSystemExtensionsCheckWeight: 'Null', - /** - * Lookup784: pallet_transaction_payment::ChargeTransactionPayment - **/ - PalletTransactionPaymentChargeTransactionPayment: 'Compact', - /** - * Lookup785: pallet_permissions::StoreCallMetadata - **/ - PalletPermissionsStoreCallMetadata: 'Null', - /** - * Lookup786: sp_runtime::generic::block::Block, sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic, polymesh_runtime_develop::runtime::RuntimeCall, sp_runtime::MultiSignature, Extra>> - **/ - SpRuntimeBlock: { - header: 'SpRuntimeHeader', - extrinsics: 'Vec', - }, - /** - * Lookup789: sp_runtime::ExtrinsicInclusionMode + * Lookup851: pallet_confidential_assets::DartAssetDetail **/ - SpRuntimeExtrinsicInclusionMode: { - _enum: ['AllExtrinsics', 'OnlyInherents'], - }, - /** - * Lookup793: sp_runtime::transaction_validity::TransactionValidityError - **/ - SpRuntimeTransactionValidityTransactionValidityError: { - _enum: { - Invalid: 'SpRuntimeTransactionValidityInvalidTransaction', - Unknown: 'SpRuntimeTransactionValidityUnknownTransaction', - }, - }, - /** - * Lookup794: sp_runtime::transaction_validity::InvalidTransaction - **/ - SpRuntimeTransactionValidityInvalidTransaction: { - _enum: { - Call: 'Null', - Payment: 'Null', - Future: 'Null', - Stale: 'Null', - BadProof: 'Null', - AncientBirthBlock: 'Null', - ExhaustsResources: 'Null', - Custom: 'u8', - BadMandatory: 'Null', - MandatoryValidation: 'Null', - BadSigner: 'Null', - IndeterminateImplicit: 'Null', - UnknownOrigin: 'Null', - }, + PalletConfidentialAssetsDartAssetDetail: { + assetId: 'u32', + totalSupply: 'u128', + ownerDid: 'PolymeshPrimitivesIdentityId', + data: 'Bytes', + mediators: 'BTreeSet', + auditors: 'BTreeSet', }, /** - * Lookup795: sp_runtime::transaction_validity::UnknownTransaction + * Lookup855: polymesh_dart::curve_tree::common::NodeLocation **/ - SpRuntimeTransactionValidityUnknownTransaction: { + PolymeshDartCurveTreeCommonNodeLocation: { _enum: { - CannotLookup: 'Null', - NoUnsignedValidator: 'Null', - Custom: 'u8', + Leaf: 'Compact', + Odd: 'PolymeshDartCurveTreeCommonNodePosition', + Even: 'PolymeshDartCurveTreeCommonNodePosition', }, }, /** - * Lookup796: sp_inherents::InherentData - **/ - SpInherentsInherentData: { - data: 'BTreeMap<[u8;8], Bytes>', - }, - /** - * Lookup800: sp_inherents::CheckInherentsResult - **/ - SpInherentsCheckInherentsResult: { - okay: 'bool', - fatalError: 'bool', - errors: 'SpInherentsInherentData', - }, - /** - * Lookup801: sp_runtime::transaction_validity::TransactionSource - **/ - SpRuntimeTransactionValidityTransactionSource: { - _enum: ['InBlock', 'Local', 'External'], - }, - /** - * Lookup803: sp_runtime::transaction_validity::ValidTransaction - **/ - SpRuntimeTransactionValidityValidTransaction: { - priority: 'u64', - requires: 'Vec', - provides: 'Vec', - longevity: 'u64', - propagate: 'bool', - }, - /** - * Lookup807: sp_consensus_babe::BabeConfiguration - **/ - SpConsensusBabeBabeConfiguration: { - slotDuration: 'u64', - epochLength: 'u64', - c: '(u64,u64)', - authorities: 'Vec<(SpConsensusBabeAppPublic,u64)>', - randomness: '[u8;32]', - allowedSlots: 'SpConsensusBabeAllowedSlots', - }, - /** - * Lookup808: sp_consensus_babe::Epoch - **/ - SpConsensusBabeEpoch: { - epochIndex: 'u64', - startSlot: 'u64', - duration: 'u64', - authorities: 'Vec<(SpConsensusBabeAppPublic,u64)>', - randomness: '[u8;32]', - config: 'SpConsensusBabeBabeEpochConfiguration', - }, - /** - * Lookup813: pallet_contracts::primitives::ExecReturnValue - **/ - PalletContractsPrimitivesExecReturnValue: { - flags: 'PalletContractsUapiFlagsReturnFlags', - data: 'Bytes', - }, - /** - * Lookup814: pallet_contracts_uapi::flags::ReturnFlags + * Lookup856: polymesh_dart::curve_tree::common::NodePosition **/ - PalletContractsUapiFlagsReturnFlags: { - bits: 'u32', + PolymeshDartCurveTreeCommonNodePosition: { + level: 'Compact', + index: 'Compact', }, /** - * Lookup815: pallet_contracts::primitives::StorageDeposit + * Lookup858: polymesh_dart::curve_tree::common::CompressedInner **/ - PalletContractsPrimitivesStorageDeposit: { - _enum: { - Refund: 'u128', - Charge: 'u128', - }, + PolymeshDartCurveTreeCommonCompressedInner: { + isEven: 'bool', + commitments: '[[u8;32];1]', }, /** - * Lookup818: pallet_contracts::primitives::Code + * Lookup864: pallet_confidential_assets::settlement::LegAffirmParty **/ - PalletContractsPrimitivesCode: { + PalletConfidentialAssetsSettlementLegAffirmParty: { _enum: { - Upload: 'Bytes', - Existing: 'H256', + Sender: 'Null', + Receiver: 'Null', + Mediator: 'u8', }, }, /** - * Lookup819: pallet_contracts::primitives::ContractResult, sp_runtime::DispatchError>, Balance, frame_system::EventRecord> - **/ - PalletContractsPrimitivesContractResult: { - gasConsumed: 'SpWeightsWeightV2Weight', - gasRequired: 'SpWeightsWeightV2Weight', - storageDeposit: 'PalletContractsPrimitivesStorageDeposit', - debugMessage: 'Bytes', - result: 'Result', - events: 'Option>', - }, - /** - * Lookup821: pallet_contracts::primitives::InstantiateReturnValue - **/ - PalletContractsPrimitivesInstantiateReturnValue: { - result: 'PalletContractsPrimitivesExecReturnValue', - accountId: 'AccountId32', - }, - /** - * Lookup823: pallet_contracts::primitives::CodeUploadReturnValue - **/ - PalletContractsPrimitivesCodeUploadReturnValue: { - codeHash: 'H256', - deposit: 'u128', - }, - /** - * Lookup825: pallet_contracts::primitives::ContractAccessError - **/ - PalletContractsPrimitivesContractAccessError: { - _enum: ['DoesntExist', 'KeyDecodingFailed', 'MigrationInProgress'], - }, - /** - * Lookup826: pallet_transaction_payment::types::RuntimeDispatchInfo - **/ - PalletTransactionPaymentRuntimeDispatchInfo: { - weight: 'SpWeightsWeightV2Weight', - class: 'FrameSupportDispatchDispatchClass', - partialFee: 'u128', - }, - /** - * Lookup827: pallet_transaction_payment::types::FeeDetails - **/ - PalletTransactionPaymentFeeDetails: { - inclusionFee: 'Option', - tip: 'u128', - }, - /** - * Lookup829: pallet_transaction_payment::types::InclusionFee - **/ - PalletTransactionPaymentInclusionFee: { - baseFee: 'u128', - lenFee: 'u128', - adjustedWeightFee: 'u128', - }, - /** - * Lookup833: pallet_pips::types::VoteCount + * Lookup865: pallet_confidential_assets::settlement::AffirmationStatus **/ - PalletPipsVoteCount: { - _enum: { - ProposalFound: { - ayes: 'u128', - nays: 'u128', - }, - ProposalNotFound: 'Null', - }, + PalletConfidentialAssetsSettlementAffirmationStatus: { + _enum: ['Pending', 'Affirmed', 'Rejected', 'Finalized'], }, /** - * Lookup836: pallet_identity::types::RpcDidRecords + * Lookup866: frame_support::PalletId **/ - PalletIdentityRpcDidRecords: { - _enum: { - Success: { - primaryKey: 'AccountId32', - secondaryKeys: 'Vec', - }, - IdNotFound: 'Null', - }, - }, + FrameSupportPalletId: '[u8;8]', /** - * Lookup838: polymesh_primitives::authorization::AuthorizationType + * Lookup867: pallet_confidential_assets::pallet::Error **/ - PolymeshPrimitivesAuthorizationAuthorizationType: { + PalletConfidentialAssetsError: { _enum: [ - 'AttestPrimaryKeyRotation', - 'RotatePrimaryKey', - 'TransferTicker', - 'AddMultiSigSigner', - 'TransferAssetOwnership', - 'JoinIdentity', - 'PortfolioCustody', - 'BecomeAgent', - 'AddRelayerPayingKey', - 'RotatePrimaryKeyToSecondary', + 'AccountMissing', + 'AccountAlreadyCreated', + 'AccountAssetAlreadyRegistered', + 'EncryptionKeyAlreadyRegistered', + 'FeeAccountMissing', + 'FeeAccountAlreadyRegistered', + 'InsufficientFeePaymentAmount', + 'InvalidFeePaymentProof', + 'EmptyBatchedProofs', + 'InvalidFeeAssetId', + 'AmountOverflow', + 'CurveTreeError', + 'CurveTreeRootNotFound', + 'LeafNotFound', + 'InvalidProof', + 'AssetStateInvalid', + 'AssetMissing', + 'NotAccountOwner', + 'NotAssetOwner', + 'MaxTotalSupplyExceeded', + 'NullifierAlreadyUsed', + 'EncryptionKeyMissing', + 'SettlementMissingLegs', + 'SettlementTooManyLegs', + 'SettlementMemoTooLong', + 'BatchedSettlementInvalidLegRefs', + 'CannotGoFromPendingToFinalized', + 'CannotGoFromFinalizedToPending', + 'CannotGoFromFinalizedToRejected', + 'CannotGoFromRejectedToFinalized', + 'CannotRejectFinalizedSettlement', + 'SenderHasNotAffirmed', + 'ReceiverHasNotAffirmed', + 'AlreadyAffirmed', + 'LegNotAffirmed', + 'LegNotRejected', + 'NoMediatorsForThisLeg', + 'TooManyMediators', + 'WrongMediatorId', + 'NoPendingAffirmations', + 'SettlementNotFound', + 'LegNotFound', + 'SettlementNotPending', + 'SettlementNotExecuted', + 'SettlementNotRejected', + 'CurveTreeParametersNotSet', + 'NoCurrentBatch', + 'NoAuditorsOrMediators', + 'NotLastPendingAffirmation', + 'TooManyDecimals', + 'NameTooLong', + 'SymbolTooLong', + 'InvalidAssetName', ], }, /** - * Lookup841: pallet_identity::types::DidStatus + * Lookup870: frame_system::extensions::check_spec_version::CheckSpecVersion **/ - PalletIdentityDidStatus: { - _enum: ['Unknown', 'Exists', 'CddVerified'], - }, + FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup843: pallet_identity::types::KeyIdentityData + * Lookup871: frame_system::extensions::check_tx_version::CheckTxVersion **/ - PalletIdentityKeyIdentityData: { - identity: 'PolymeshPrimitivesIdentityId', - permissions: 'Option', - }, + FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup847: pallet_group_rpc_runtime_api::Member + * Lookup872: frame_system::extensions::check_genesis::CheckGenesis **/ - PalletGroupRpcRuntimeApiMember: { - id: 'PolymeshPrimitivesIdentityId', - expiryAt: 'Option', - inactiveFrom: 'Option', - }, + FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup849: polymesh_primitives::settlement::ExecuteInstructionInfo + * Lookup875: frame_system::extensions::check_nonce::CheckNonce **/ - PolymeshPrimitivesSettlementExecuteInstructionInfo: { - fungibleTokens: 'u32', - nonFungibleTokens: 'u32', - offChainAssets: 'u32', - consumedWeight: 'SpWeightsWeightV2Weight', - error: 'Option', - }, + FrameSystemExtensionsCheckNonce: 'Compact', /** - * Lookup853: polymesh_primitives::compliance_manager::ComplianceReport + * Lookup876: frame_system::extensions::check_weight::CheckWeight **/ - PolymeshPrimitivesComplianceManagerComplianceReport: { - anyRequirementSatisfied: 'bool', - pausedCompliance: 'bool', - requirements: 'Vec', - }, + FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup855: polymesh_primitives::compliance_manager::RequirementReport + * Lookup877: pallet_transaction_payment::ChargeTransactionPayment **/ - PolymeshPrimitivesComplianceManagerRequirementReport: { - requirementSatisfied: 'bool', - id: 'u32', - senderConditions: 'Vec', - receiverConditions: 'Vec', - }, + PalletTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup857: polymesh_primitives::compliance_manager::ConditionReport + * Lookup878: pallet_permissions::StoreCallMetadata **/ - PolymeshPrimitivesComplianceManagerConditionReport: { - satisfied: 'bool', - condition: 'PolymeshPrimitivesCondition', - }, + PalletPermissionsStoreCallMetadata: 'Null', /** - * Lookup861: polymesh_runtime_develop::runtime::RuntimeError + * Lookup879: polymesh_runtime_develop::runtime::Runtime **/ - PolymeshRuntimeDevelopRuntimeRuntimeError: { - _enum: { - System: 'FrameSystemError', - Babe: 'PalletBabeError', - __Unused2: 'Null', - Indices: 'PalletIndicesError', - __Unused4: 'Null', - Balances: 'PalletBalancesError', - __Unused6: 'Null', - Identity: 'PalletIdentityError', - CddServiceProviders: 'PalletGroupError', - PolymeshCommittee: 'PalletCommitteeError', - CommitteeMembership: 'PalletGroupError', - TechnicalCommittee: 'PalletCommitteeError', - TechnicalCommitteeMembership: 'PalletGroupError', - UpgradeCommittee: 'PalletCommitteeError', - UpgradeCommitteeMembership: 'PalletGroupError', - MultiSig: 'PalletMultisigError', - Validators: 'PalletValidatorsError', - Staking: 'PalletStakingPalletError', - __Unused18: 'Null', - Session: 'PalletSessionError', - __Unused20: 'Null', - Grandpa: 'PalletGrandpaError', - __Unused22: 'Null', - ImOnline: 'PalletImOnlineError', - __Unused24: 'Null', - Sudo: 'PalletSudoError', - Asset: 'PalletAssetError', - CapitalDistribution: 'PalletCorporateActionsDistributionPalletError', - Checkpoint: 'PalletAssetCheckpointPalletError', - ComplianceManager: 'PalletComplianceManagerError', - CorporateAction: 'PalletCorporateActionsError', - CorporateBallot: 'PalletCorporateActionsBallotPalletError', - Permissions: 'PalletPermissionsError', - Pips: 'PalletPipsError', - Portfolio: 'PalletPortfolioError', - ProtocolFee: 'PalletProtocolFeeError', - Scheduler: 'PalletSchedulerError', - Settlement: 'PalletSettlementError', - Statistics: 'PalletStatisticsError', - Sto: 'PalletStoError', - Treasury: 'PalletTreasuryError', - Utility: 'PalletUtilityError', - Base: 'PalletBaseError', - ExternalAgents: 'PalletExternalAgentsError', - Relayer: 'PalletRelayerError', - __Unused45: 'Null', - Contracts: 'PalletContractsError', - PolymeshContracts: 'PolymeshContractsError', - Preimage: 'PalletPreimageError', - Nft: 'PalletNftError', - ElectionProviderMultiPhase: 'PalletElectionProviderMultiPhaseError', - }, - }, + PolymeshRuntimeDevelopRuntime: 'Null', }; diff --git a/src/polkadot/polymesh/definitions.ts b/src/polkadot/polymesh/definitions.ts index 6b0da86..4d62123 100644 --- a/src/polkadot/polymesh/definitions.ts +++ b/src/polkadot/polymesh/definitions.ts @@ -656,10 +656,6 @@ export default { satisfied: 'bool', condition: 'Condition', }, - PolymeshPrimitivesSettlementInstructionId: 'u64', - PalletPipsPipId: 'u32', - PalletProtocolFeeRpcRuntimeApiCappedFee: 'u64', - PolymeshRuntimeDevelopRuntimeRuntimeCall: 'Call', }, rpc: {}, runtime: { diff --git a/src/polkadot/polymesh/types.ts b/src/polkadot/polymesh/types.ts index 2ac7d7c..1d9386a 100644 --- a/src/polkadot/polymesh/types.ts +++ b/src/polkadot/polymesh/types.ts @@ -21,7 +21,6 @@ import type { AccountId, AccountId32, Balance, - Call, Permill, Weight, } from '@polkadot/types/interfaces/runtime'; @@ -946,12 +945,6 @@ export interface PalletPermissions extends Struct { readonly extrinsics: ExtrinsicNames; } -/** @name PalletPipsPipId */ -export interface PalletPipsPipId extends u32 {} - -/** @name PalletProtocolFeeRpcRuntimeApiCappedFee */ -export interface PalletProtocolFeeRpcRuntimeApiCappedFee extends u64 {} - /** @name Percentage */ export interface Percentage extends Permill {} @@ -971,12 +964,6 @@ export interface PolymeshAssetId extends U8aFixed {} /** @name PolymeshMoment */ export interface PolymeshMoment extends u64 {} -/** @name PolymeshPrimitivesSettlementInstructionId */ -export interface PolymeshPrimitivesSettlementInstructionId extends u64 {} - -/** @name PolymeshRuntimeDevelopRuntimeRuntimeCall */ -export interface PolymeshRuntimeDevelopRuntimeRuntimeCall extends Call {} - /** @name PortfolioId */ export interface PortfolioId extends Struct { readonly did: IdentityId; diff --git a/src/polkadot/registry.ts b/src/polkadot/registry.ts index 0725edd..c03fb5a 100644 --- a/src/polkadot/registry.ts +++ b/src/polkadot/registry.ts @@ -11,18 +11,17 @@ import type { FinalityGrandpaPrecommit, FinalityGrandpaPrevote, FrameSupportDispatchDispatchClass, + FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, + FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, - FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, - FrameSystemCodeUpgradeAuthorization, - FrameSystemDispatchEventInfo, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, @@ -48,13 +47,11 @@ import type { PalletBabeCall, PalletBabeError, PalletBalancesAccountData, - PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, - PalletBalancesReserveData, PalletBaseCall, PalletBaseError, PalletBaseEvent, @@ -66,33 +63,25 @@ import type { PalletComplianceManagerCall, PalletComplianceManagerError, PalletComplianceManagerEvent, + PalletConfidentialAssetsCall, + PalletConfidentialAssetsDartAssetDetail, + PalletConfidentialAssetsError, + PalletConfidentialAssetsEvent, + PalletConfidentialAssetsSettlementAffirmationStatus, + PalletConfidentialAssetsSettlementLegAffirmParty, + PalletConfidentialAssetsSettlementSettlementStatus, PalletContractsCall, - PalletContractsEnvironment, - PalletContractsEnvironmentTypeAccountId32, - PalletContractsEnvironmentTypeBlakeTwo256, - PalletContractsEnvironmentTypeH256, - PalletContractsEnvironmentTypeU128, - PalletContractsEnvironmentTypeU32, - PalletContractsEnvironmentTypeU64, PalletContractsError, PalletContractsEvent, - PalletContractsHoldReason, - PalletContractsOrigin, - PalletContractsPrimitivesCode, - PalletContractsPrimitivesCodeUploadReturnValue, - PalletContractsPrimitivesContractAccessError, - PalletContractsPrimitivesContractResult, - PalletContractsPrimitivesExecReturnValue, - PalletContractsPrimitivesInstantiateReturnValue, - PalletContractsPrimitivesStorageDeposit, PalletContractsSchedule, + PalletContractsScheduleHostFnWeights, PalletContractsScheduleInstructionWeights, PalletContractsScheduleLimits, PalletContractsStorageContractInfo, - PalletContractsStorageDeletionQueueManager, - PalletContractsUapiFlagsReturnFlags, - PalletContractsWasmCodeInfo, + PalletContractsStorageDeletedContract, PalletContractsWasmDeterminism, + PalletContractsWasmOwnerInfo, + PalletContractsWasmPrefabWasmModule, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, @@ -137,15 +126,12 @@ import type { PalletGroupCall, PalletGroupError, PalletGroupEvent, - PalletGroupRpcRuntimeApiMember, PalletIdentityCall, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, - PalletIdentityDidStatus, PalletIdentityError, PalletIdentityEvent, - PalletIdentityKeyIdentityData, - PalletIdentityRpcDidRecords, + PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineCall, PalletImOnlineError, PalletImOnlineEvent, @@ -178,7 +164,6 @@ import type { PalletPipsSnapshotResult, PalletPipsSnapshottedPip, PalletPipsVote, - PalletPipsVoteCount, PalletPipsVotingResult, PalletPortfolioCall, PalletPortfolioError, @@ -186,8 +171,6 @@ import type { PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, - PalletPreimageHoldReason, - PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProtocolFeeCall, PalletProtocolFeeError, @@ -199,7 +182,6 @@ import type { PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, - PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, @@ -209,7 +191,9 @@ import type { PalletSettlementEvent, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, + PalletStakingExposure, PalletStakingForcing, + PalletStakingIndividualExposure, PalletStakingNominations, PalletStakingPalletCall, PalletStakingPalletConfigOpPerbill, @@ -218,10 +202,11 @@ import type { PalletStakingPalletConfigOpU32, PalletStakingPalletError, PalletStakingPalletEvent, - PalletStakingPalletHoldReason, + PalletStakingPermissionedIdentityPrefs, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, + PalletStakingSlashingSwitch, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingUnlockChunk, @@ -245,10 +230,7 @@ import type { PalletTransactionPaymentCall, PalletTransactionPaymentChargeTransactionPayment, PalletTransactionPaymentEvent, - PalletTransactionPaymentFeeDetails, - PalletTransactionPaymentInclusionFee, PalletTransactionPaymentReleases, - PalletTransactionPaymentRuntimeDispatchInfo, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, @@ -256,11 +238,6 @@ import type { PalletUtilityError, PalletUtilityEvent, PalletUtilityUniqueCall, - PalletValidatorsCall, - PalletValidatorsError, - PalletValidatorsEvent, - PalletValidatorsPermissionedIdentityPrefs, - PalletValidatorsSlashingSwitch, PolymeshCommonUtilitiesCheckpointNextCheckpoints, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth, @@ -274,6 +251,52 @@ import type { PolymeshContractsError, PolymeshContractsEvent, PolymeshContractsNextUpgrade, + PolymeshDartBpAccountAccountAssetRegistrationProof, + PolymeshDartBpAccountAccountStateCommitment, + PolymeshDartBpAccountAccountStateNullifier, + PolymeshDartBpAccountBatchedAccountAssetRegistrationProof, + PolymeshDartBpAssetAssetMintingProof, + PolymeshDartBpBatchedBatchedProof, + PolymeshDartBpBatchedBatchedProofs, + PolymeshDartBpBatchedProofHash, + PolymeshDartBpEncodeCompressedAffine, + PolymeshDartBpEncodeCompressedBaseField, + PolymeshDartBpFeeBatchedFeeAccountRegistrationProof, + PolymeshDartBpFeeBatchedFeeAccountTopupProof, + PolymeshDartBpFeeFeeAccountPaymentProof, + PolymeshDartBpFeeFeeAccountRegistrationProof, + PolymeshDartBpFeeFeeAccountStateCommitment, + PolymeshDartBpFeeFeeAccountStateNullifier, + PolymeshDartBpFeeFeeAccountTopupProof, + PolymeshDartBpFeeFeePaymentWithBatchedProofs, + PolymeshDartBpKeysAccountPublicKey, + PolymeshDartBpKeysAccountPublicKeys, + PolymeshDartBpKeysAccountRegistrationProof, + PolymeshDartBpKeysEncryptionKeyRegistrationProof, + PolymeshDartBpKeysEncryptionPublicKey, + PolymeshDartBpLegInstantInstantReceiverAffirmationProof, + PolymeshDartBpLegInstantInstantSenderAffirmationProof, + PolymeshDartBpLegInstantInstantSettlementLegAffirmations, + PolymeshDartBpLegInstantInstantSettlementProof, + PolymeshDartBpLegLegRef, + PolymeshDartBpLegProofsBatchedSettlementLegAffirmations, + PolymeshDartBpLegProofsBatchedSettlementProof, + PolymeshDartBpLegProofsMediatorAffirmationProof, + PolymeshDartBpLegProofsReceiverAffirmationProof, + PolymeshDartBpLegProofsReceiverClaimProof, + PolymeshDartBpLegProofsSenderAffirmationProof, + PolymeshDartBpLegProofsSenderCounterUpdateProof, + PolymeshDartBpLegProofsSenderReversalProof, + PolymeshDartBpLegSettlementLegProof, + PolymeshDartBpLegSettlementProof, + PolymeshDartBpLegSettlementRef, + PolymeshDartCurveTreeAccountTreeConfig, + PolymeshDartCurveTreeAssetTreeConfig, + PolymeshDartCurveTreeCommonCompressedInner, + PolymeshDartCurveTreeCommonCompressedLeafValue, + PolymeshDartCurveTreeCommonNodeLocation, + PolymeshDartCurveTreeCommonNodePosition, + PolymeshDartCurveTreeCompressedCurveTreeRoot, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, @@ -285,14 +308,10 @@ import type { PolymeshPrimitivesAssetNonFungibleType, PolymeshPrimitivesAuthorization, PolymeshPrimitivesAuthorizationAuthorizationData, - PolymeshPrimitivesAuthorizationAuthorizationType, PolymeshPrimitivesBeneficiary, PolymeshPrimitivesCddId, PolymeshPrimitivesComplianceManagerAssetCompliance, - PolymeshPrimitivesComplianceManagerComplianceReport, PolymeshPrimitivesComplianceManagerComplianceRequirement, - PolymeshPrimitivesComplianceManagerConditionReport, - PolymeshPrimitivesComplianceManagerRequirementReport, PolymeshPrimitivesCondition, PolymeshPrimitivesConditionConditionType, PolymeshPrimitivesConditionTargetIdentity, @@ -332,7 +351,6 @@ import type { PolymeshPrimitivesSettlementAffirmationCount, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementAssetCount, - PolymeshPrimitivesSettlementExecuteInstructionInfo, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, @@ -360,57 +378,46 @@ import type { PolymeshRuntimeCommonNposSolution16, PolymeshRuntimeDevelopRuntime, PolymeshRuntimeDevelopRuntimeOriginCaller, - PolymeshRuntimeDevelopRuntimeRuntimeError, - PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, PolymeshRuntimeDevelopRuntimeSessionKeys, SpArithmeticArithmeticError, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAllowedSlots, SpConsensusBabeAppPublic, - SpConsensusBabeBabeConfiguration, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBabeDigestsPrimaryPreDigest, SpConsensusBabeDigestsSecondaryPlainPreDigest, SpConsensusBabeDigestsSecondaryVRFPreDigest, - SpConsensusBabeEpoch, SpConsensusGrandpaAppPublic, SpConsensusGrandpaAppSignature, SpConsensusGrandpaEquivocation, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpCoreCryptoKeyTypeId, - SpCoreSr25519VrfVrfSignature, - SpInherentsCheckInherentsResult, - SpInherentsInherentData, + SpCoreEcdsaSignature, + SpCoreEd25519Public, + SpCoreEd25519Signature, + SpCoreOffchainOpaqueNetworkState, + SpCoreSr25519Public, + SpCoreSr25519Signature, + SpCoreVoid, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeBlakeTwo256, - SpRuntimeBlock, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, - SpRuntimeExtrinsicInclusionMode, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, - SpRuntimeProvingTrieTrieError, SpRuntimeTokenError, - SpRuntimeTransactionValidityInvalidTransaction, - SpRuntimeTransactionValidityTransactionSource, - SpRuntimeTransactionValidityTransactionValidityError, - SpRuntimeTransactionValidityUnknownTransaction, - SpRuntimeTransactionValidityValidTransaction, SpRuntimeTransactionalError, SpSessionMembershipProof, - SpStakingExposure, - SpStakingExposurePage, - SpStakingIndividualExposure, SpStakingOffenceOffenceDetails, - SpStakingPagedExposureMetadata, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, + SpWeightsWeightToFeeCoefficient, SpWeightsWeightV2Weight, } from '@polkadot/types/lookup'; @@ -421,18 +428,17 @@ declare module '@polkadot/types/types/registry' { FinalityGrandpaPrecommit: FinalityGrandpaPrecommit; FinalityGrandpaPrevote: FinalityGrandpaPrevote; FrameSupportDispatchDispatchClass: FrameSupportDispatchDispatchClass; + FrameSupportDispatchDispatchInfo: FrameSupportDispatchDispatchInfo; FrameSupportDispatchPays: FrameSupportDispatchPays; FrameSupportDispatchPerDispatchClassU32: FrameSupportDispatchPerDispatchClassU32; FrameSupportDispatchPerDispatchClassWeight: FrameSupportDispatchPerDispatchClassWeight; FrameSupportDispatchPerDispatchClassWeightsPerClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; FrameSupportDispatchRawOrigin: FrameSupportDispatchRawOrigin; + FrameSupportPalletId: FrameSupportPalletId; FrameSupportPreimagesBounded: FrameSupportPreimagesBounded; FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; - FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount; FrameSystemAccountInfo: FrameSystemAccountInfo; FrameSystemCall: FrameSystemCall; - FrameSystemCodeUpgradeAuthorization: FrameSystemCodeUpgradeAuthorization; - FrameSystemDispatchEventInfo: FrameSystemDispatchEventInfo; FrameSystemError: FrameSystemError; FrameSystemEvent: FrameSystemEvent; FrameSystemEventRecord: FrameSystemEventRecord; @@ -458,13 +464,11 @@ declare module '@polkadot/types/types/registry' { PalletBabeCall: PalletBabeCall; PalletBabeError: PalletBabeError; PalletBalancesAccountData: PalletBalancesAccountData; - PalletBalancesAdjustmentDirection: PalletBalancesAdjustmentDirection; PalletBalancesBalanceLock: PalletBalancesBalanceLock; PalletBalancesCall: PalletBalancesCall; PalletBalancesError: PalletBalancesError; PalletBalancesEvent: PalletBalancesEvent; PalletBalancesReasons: PalletBalancesReasons; - PalletBalancesReserveData: PalletBalancesReserveData; PalletBaseCall: PalletBaseCall; PalletBaseError: PalletBaseError; PalletBaseEvent: PalletBaseEvent; @@ -476,33 +480,25 @@ declare module '@polkadot/types/types/registry' { PalletComplianceManagerCall: PalletComplianceManagerCall; PalletComplianceManagerError: PalletComplianceManagerError; PalletComplianceManagerEvent: PalletComplianceManagerEvent; + PalletConfidentialAssetsCall: PalletConfidentialAssetsCall; + PalletConfidentialAssetsDartAssetDetail: PalletConfidentialAssetsDartAssetDetail; + PalletConfidentialAssetsError: PalletConfidentialAssetsError; + PalletConfidentialAssetsEvent: PalletConfidentialAssetsEvent; + PalletConfidentialAssetsSettlementAffirmationStatus: PalletConfidentialAssetsSettlementAffirmationStatus; + PalletConfidentialAssetsSettlementLegAffirmParty: PalletConfidentialAssetsSettlementLegAffirmParty; + PalletConfidentialAssetsSettlementSettlementStatus: PalletConfidentialAssetsSettlementSettlementStatus; PalletContractsCall: PalletContractsCall; - PalletContractsEnvironment: PalletContractsEnvironment; - PalletContractsEnvironmentTypeAccountId32: PalletContractsEnvironmentTypeAccountId32; - PalletContractsEnvironmentTypeBlakeTwo256: PalletContractsEnvironmentTypeBlakeTwo256; - PalletContractsEnvironmentTypeH256: PalletContractsEnvironmentTypeH256; - PalletContractsEnvironmentTypeU128: PalletContractsEnvironmentTypeU128; - PalletContractsEnvironmentTypeU32: PalletContractsEnvironmentTypeU32; - PalletContractsEnvironmentTypeU64: PalletContractsEnvironmentTypeU64; PalletContractsError: PalletContractsError; PalletContractsEvent: PalletContractsEvent; - PalletContractsHoldReason: PalletContractsHoldReason; - PalletContractsOrigin: PalletContractsOrigin; - PalletContractsPrimitivesCode: PalletContractsPrimitivesCode; - PalletContractsPrimitivesCodeUploadReturnValue: PalletContractsPrimitivesCodeUploadReturnValue; - PalletContractsPrimitivesContractAccessError: PalletContractsPrimitivesContractAccessError; - PalletContractsPrimitivesContractResult: PalletContractsPrimitivesContractResult; - PalletContractsPrimitivesExecReturnValue: PalletContractsPrimitivesExecReturnValue; - PalletContractsPrimitivesInstantiateReturnValue: PalletContractsPrimitivesInstantiateReturnValue; - PalletContractsPrimitivesStorageDeposit: PalletContractsPrimitivesStorageDeposit; PalletContractsSchedule: PalletContractsSchedule; + PalletContractsScheduleHostFnWeights: PalletContractsScheduleHostFnWeights; PalletContractsScheduleInstructionWeights: PalletContractsScheduleInstructionWeights; PalletContractsScheduleLimits: PalletContractsScheduleLimits; PalletContractsStorageContractInfo: PalletContractsStorageContractInfo; - PalletContractsStorageDeletionQueueManager: PalletContractsStorageDeletionQueueManager; - PalletContractsUapiFlagsReturnFlags: PalletContractsUapiFlagsReturnFlags; - PalletContractsWasmCodeInfo: PalletContractsWasmCodeInfo; + PalletContractsStorageDeletedContract: PalletContractsStorageDeletedContract; PalletContractsWasmDeterminism: PalletContractsWasmDeterminism; + PalletContractsWasmOwnerInfo: PalletContractsWasmOwnerInfo; + PalletContractsWasmPrefabWasmModule: PalletContractsWasmPrefabWasmModule; PalletCorporateActionsBallotBallotMeta: PalletCorporateActionsBallotBallotMeta; PalletCorporateActionsBallotBallotTimeRange: PalletCorporateActionsBallotBallotTimeRange; PalletCorporateActionsBallotBallotVote: PalletCorporateActionsBallotBallotVote; @@ -547,15 +543,12 @@ declare module '@polkadot/types/types/registry' { PalletGroupCall: PalletGroupCall; PalletGroupError: PalletGroupError; PalletGroupEvent: PalletGroupEvent; - PalletGroupRpcRuntimeApiMember: PalletGroupRpcRuntimeApiMember; PalletIdentityCall: PalletIdentityCall; PalletIdentityClaim1stKey: PalletIdentityClaim1stKey; PalletIdentityClaim2ndKey: PalletIdentityClaim2ndKey; - PalletIdentityDidStatus: PalletIdentityDidStatus; PalletIdentityError: PalletIdentityError; PalletIdentityEvent: PalletIdentityEvent; - PalletIdentityKeyIdentityData: PalletIdentityKeyIdentityData; - PalletIdentityRpcDidRecords: PalletIdentityRpcDidRecords; + PalletImOnlineBoundedOpaqueNetworkState: PalletImOnlineBoundedOpaqueNetworkState; PalletImOnlineCall: PalletImOnlineCall; PalletImOnlineError: PalletImOnlineError; PalletImOnlineEvent: PalletImOnlineEvent; @@ -588,7 +581,6 @@ declare module '@polkadot/types/types/registry' { PalletPipsSnapshotResult: PalletPipsSnapshotResult; PalletPipsSnapshottedPip: PalletPipsSnapshottedPip; PalletPipsVote: PalletPipsVote; - PalletPipsVoteCount: PalletPipsVoteCount; PalletPipsVotingResult: PalletPipsVotingResult; PalletPortfolioCall: PalletPortfolioCall; PalletPortfolioError: PalletPortfolioError; @@ -596,8 +588,6 @@ declare module '@polkadot/types/types/registry' { PalletPreimageCall: PalletPreimageCall; PalletPreimageError: PalletPreimageError; PalletPreimageEvent: PalletPreimageEvent; - PalletPreimageHoldReason: PalletPreimageHoldReason; - PalletPreimageOldRequestStatus: PalletPreimageOldRequestStatus; PalletPreimageRequestStatus: PalletPreimageRequestStatus; PalletProtocolFeeCall: PalletProtocolFeeCall; PalletProtocolFeeError: PalletProtocolFeeError; @@ -609,7 +599,6 @@ declare module '@polkadot/types/types/registry' { PalletSchedulerCall: PalletSchedulerCall; PalletSchedulerError: PalletSchedulerError; PalletSchedulerEvent: PalletSchedulerEvent; - PalletSchedulerRetryConfig: PalletSchedulerRetryConfig; PalletSchedulerScheduled: PalletSchedulerScheduled; PalletSessionCall: PalletSessionCall; PalletSessionError: PalletSessionError; @@ -619,7 +608,9 @@ declare module '@polkadot/types/types/registry' { PalletSettlementEvent: PalletSettlementEvent; PalletStakingActiveEraInfo: PalletStakingActiveEraInfo; PalletStakingEraRewardPoints: PalletStakingEraRewardPoints; + PalletStakingExposure: PalletStakingExposure; PalletStakingForcing: PalletStakingForcing; + PalletStakingIndividualExposure: PalletStakingIndividualExposure; PalletStakingNominations: PalletStakingNominations; PalletStakingPalletCall: PalletStakingPalletCall; PalletStakingPalletConfigOpPerbill: PalletStakingPalletConfigOpPerbill; @@ -628,10 +619,11 @@ declare module '@polkadot/types/types/registry' { PalletStakingPalletConfigOpU32: PalletStakingPalletConfigOpU32; PalletStakingPalletError: PalletStakingPalletError; PalletStakingPalletEvent: PalletStakingPalletEvent; - PalletStakingPalletHoldReason: PalletStakingPalletHoldReason; + PalletStakingPermissionedIdentityPrefs: PalletStakingPermissionedIdentityPrefs; PalletStakingRewardDestination: PalletStakingRewardDestination; PalletStakingSlashingSlashingSpans: PalletStakingSlashingSlashingSpans; PalletStakingSlashingSpanRecord: PalletStakingSlashingSpanRecord; + PalletStakingSlashingSwitch: PalletStakingSlashingSwitch; PalletStakingStakingLedger: PalletStakingStakingLedger; PalletStakingUnappliedSlash: PalletStakingUnappliedSlash; PalletStakingUnlockChunk: PalletStakingUnlockChunk; @@ -655,10 +647,7 @@ declare module '@polkadot/types/types/registry' { PalletTransactionPaymentCall: PalletTransactionPaymentCall; PalletTransactionPaymentChargeTransactionPayment: PalletTransactionPaymentChargeTransactionPayment; PalletTransactionPaymentEvent: PalletTransactionPaymentEvent; - PalletTransactionPaymentFeeDetails: PalletTransactionPaymentFeeDetails; - PalletTransactionPaymentInclusionFee: PalletTransactionPaymentInclusionFee; PalletTransactionPaymentReleases: PalletTransactionPaymentReleases; - PalletTransactionPaymentRuntimeDispatchInfo: PalletTransactionPaymentRuntimeDispatchInfo; PalletTreasuryCall: PalletTreasuryCall; PalletTreasuryError: PalletTreasuryError; PalletTreasuryEvent: PalletTreasuryEvent; @@ -666,11 +655,6 @@ declare module '@polkadot/types/types/registry' { PalletUtilityError: PalletUtilityError; PalletUtilityEvent: PalletUtilityEvent; PalletUtilityUniqueCall: PalletUtilityUniqueCall; - PalletValidatorsCall: PalletValidatorsCall; - PalletValidatorsError: PalletValidatorsError; - PalletValidatorsEvent: PalletValidatorsEvent; - PalletValidatorsPermissionedIdentityPrefs: PalletValidatorsPermissionedIdentityPrefs; - PalletValidatorsSlashingSwitch: PalletValidatorsSlashingSwitch; PolymeshCommonUtilitiesCheckpointNextCheckpoints: PolymeshCommonUtilitiesCheckpointNextCheckpoints; PolymeshCommonUtilitiesCheckpointScheduleCheckpoints: PolymeshCommonUtilitiesCheckpointScheduleCheckpoints; PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth: PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth; @@ -684,6 +668,52 @@ declare module '@polkadot/types/types/registry' { PolymeshContractsError: PolymeshContractsError; PolymeshContractsEvent: PolymeshContractsEvent; PolymeshContractsNextUpgrade: PolymeshContractsNextUpgrade; + PolymeshDartBpAccountAccountAssetRegistrationProof: PolymeshDartBpAccountAccountAssetRegistrationProof; + PolymeshDartBpAccountAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + PolymeshDartBpAccountAccountStateNullifier: PolymeshDartBpAccountAccountStateNullifier; + PolymeshDartBpAccountBatchedAccountAssetRegistrationProof: PolymeshDartBpAccountBatchedAccountAssetRegistrationProof; + PolymeshDartBpAssetAssetMintingProof: PolymeshDartBpAssetAssetMintingProof; + PolymeshDartBpBatchedBatchedProof: PolymeshDartBpBatchedBatchedProof; + PolymeshDartBpBatchedBatchedProofs: PolymeshDartBpBatchedBatchedProofs; + PolymeshDartBpBatchedProofHash: PolymeshDartBpBatchedProofHash; + PolymeshDartBpEncodeCompressedAffine: PolymeshDartBpEncodeCompressedAffine; + PolymeshDartBpEncodeCompressedBaseField: PolymeshDartBpEncodeCompressedBaseField; + PolymeshDartBpFeeBatchedFeeAccountRegistrationProof: PolymeshDartBpFeeBatchedFeeAccountRegistrationProof; + PolymeshDartBpFeeBatchedFeeAccountTopupProof: PolymeshDartBpFeeBatchedFeeAccountTopupProof; + PolymeshDartBpFeeFeeAccountPaymentProof: PolymeshDartBpFeeFeeAccountPaymentProof; + PolymeshDartBpFeeFeeAccountRegistrationProof: PolymeshDartBpFeeFeeAccountRegistrationProof; + PolymeshDartBpFeeFeeAccountStateCommitment: PolymeshDartBpFeeFeeAccountStateCommitment; + PolymeshDartBpFeeFeeAccountStateNullifier: PolymeshDartBpFeeFeeAccountStateNullifier; + PolymeshDartBpFeeFeeAccountTopupProof: PolymeshDartBpFeeFeeAccountTopupProof; + PolymeshDartBpFeeFeePaymentWithBatchedProofs: PolymeshDartBpFeeFeePaymentWithBatchedProofs; + PolymeshDartBpKeysAccountPublicKey: PolymeshDartBpKeysAccountPublicKey; + PolymeshDartBpKeysAccountPublicKeys: PolymeshDartBpKeysAccountPublicKeys; + PolymeshDartBpKeysAccountRegistrationProof: PolymeshDartBpKeysAccountRegistrationProof; + PolymeshDartBpKeysEncryptionKeyRegistrationProof: PolymeshDartBpKeysEncryptionKeyRegistrationProof; + PolymeshDartBpKeysEncryptionPublicKey: PolymeshDartBpKeysEncryptionPublicKey; + PolymeshDartBpLegInstantInstantReceiverAffirmationProof: PolymeshDartBpLegInstantInstantReceiverAffirmationProof; + PolymeshDartBpLegInstantInstantSenderAffirmationProof: PolymeshDartBpLegInstantInstantSenderAffirmationProof; + PolymeshDartBpLegInstantInstantSettlementLegAffirmations: PolymeshDartBpLegInstantInstantSettlementLegAffirmations; + PolymeshDartBpLegInstantInstantSettlementProof: PolymeshDartBpLegInstantInstantSettlementProof; + PolymeshDartBpLegLegRef: PolymeshDartBpLegLegRef; + PolymeshDartBpLegProofsBatchedSettlementLegAffirmations: PolymeshDartBpLegProofsBatchedSettlementLegAffirmations; + PolymeshDartBpLegProofsBatchedSettlementProof: PolymeshDartBpLegProofsBatchedSettlementProof; + PolymeshDartBpLegProofsMediatorAffirmationProof: PolymeshDartBpLegProofsMediatorAffirmationProof; + PolymeshDartBpLegProofsReceiverAffirmationProof: PolymeshDartBpLegProofsReceiverAffirmationProof; + PolymeshDartBpLegProofsReceiverClaimProof: PolymeshDartBpLegProofsReceiverClaimProof; + PolymeshDartBpLegProofsSenderAffirmationProof: PolymeshDartBpLegProofsSenderAffirmationProof; + PolymeshDartBpLegProofsSenderCounterUpdateProof: PolymeshDartBpLegProofsSenderCounterUpdateProof; + PolymeshDartBpLegProofsSenderReversalProof: PolymeshDartBpLegProofsSenderReversalProof; + PolymeshDartBpLegSettlementLegProof: PolymeshDartBpLegSettlementLegProof; + PolymeshDartBpLegSettlementProof: PolymeshDartBpLegSettlementProof; + PolymeshDartBpLegSettlementRef: PolymeshDartBpLegSettlementRef; + PolymeshDartCurveTreeAccountTreeConfig: PolymeshDartCurveTreeAccountTreeConfig; + PolymeshDartCurveTreeAssetTreeConfig: PolymeshDartCurveTreeAssetTreeConfig; + PolymeshDartCurveTreeCommonCompressedInner: PolymeshDartCurveTreeCommonCompressedInner; + PolymeshDartCurveTreeCommonCompressedLeafValue: PolymeshDartCurveTreeCommonCompressedLeafValue; + PolymeshDartCurveTreeCommonNodeLocation: PolymeshDartCurveTreeCommonNodeLocation; + PolymeshDartCurveTreeCommonNodePosition: PolymeshDartCurveTreeCommonNodePosition; + PolymeshDartCurveTreeCompressedCurveTreeRoot: PolymeshDartCurveTreeCompressedCurveTreeRoot; PolymeshPrimitivesAgentAgentGroup: PolymeshPrimitivesAgentAgentGroup; PolymeshPrimitivesAssetAssetId: PolymeshPrimitivesAssetAssetId; PolymeshPrimitivesAssetAssetType: PolymeshPrimitivesAssetAssetType; @@ -695,14 +725,10 @@ declare module '@polkadot/types/types/registry' { PolymeshPrimitivesAssetNonFungibleType: PolymeshPrimitivesAssetNonFungibleType; PolymeshPrimitivesAuthorization: PolymeshPrimitivesAuthorization; PolymeshPrimitivesAuthorizationAuthorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; - PolymeshPrimitivesAuthorizationAuthorizationType: PolymeshPrimitivesAuthorizationAuthorizationType; PolymeshPrimitivesBeneficiary: PolymeshPrimitivesBeneficiary; PolymeshPrimitivesCddId: PolymeshPrimitivesCddId; PolymeshPrimitivesComplianceManagerAssetCompliance: PolymeshPrimitivesComplianceManagerAssetCompliance; - PolymeshPrimitivesComplianceManagerComplianceReport: PolymeshPrimitivesComplianceManagerComplianceReport; PolymeshPrimitivesComplianceManagerComplianceRequirement: PolymeshPrimitivesComplianceManagerComplianceRequirement; - PolymeshPrimitivesComplianceManagerConditionReport: PolymeshPrimitivesComplianceManagerConditionReport; - PolymeshPrimitivesComplianceManagerRequirementReport: PolymeshPrimitivesComplianceManagerRequirementReport; PolymeshPrimitivesCondition: PolymeshPrimitivesCondition; PolymeshPrimitivesConditionConditionType: PolymeshPrimitivesConditionConditionType; PolymeshPrimitivesConditionTargetIdentity: PolymeshPrimitivesConditionTargetIdentity; @@ -742,7 +768,6 @@ declare module '@polkadot/types/types/registry' { PolymeshPrimitivesSettlementAffirmationCount: PolymeshPrimitivesSettlementAffirmationCount; PolymeshPrimitivesSettlementAffirmationStatus: PolymeshPrimitivesSettlementAffirmationStatus; PolymeshPrimitivesSettlementAssetCount: PolymeshPrimitivesSettlementAssetCount; - PolymeshPrimitivesSettlementExecuteInstructionInfo: PolymeshPrimitivesSettlementExecuteInstructionInfo; PolymeshPrimitivesSettlementInstruction: PolymeshPrimitivesSettlementInstruction; PolymeshPrimitivesSettlementInstructionStatus: PolymeshPrimitivesSettlementInstructionStatus; PolymeshPrimitivesSettlementLeg: PolymeshPrimitivesSettlementLeg; @@ -770,57 +795,46 @@ declare module '@polkadot/types/types/registry' { PolymeshRuntimeCommonNposSolution16: PolymeshRuntimeCommonNposSolution16; PolymeshRuntimeDevelopRuntime: PolymeshRuntimeDevelopRuntime; PolymeshRuntimeDevelopRuntimeOriginCaller: PolymeshRuntimeDevelopRuntimeOriginCaller; - PolymeshRuntimeDevelopRuntimeRuntimeError: PolymeshRuntimeDevelopRuntimeRuntimeError; - PolymeshRuntimeDevelopRuntimeRuntimeHoldReason: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason; PolymeshRuntimeDevelopRuntimeSessionKeys: PolymeshRuntimeDevelopRuntimeSessionKeys; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpAuthorityDiscoveryAppPublic: SpAuthorityDiscoveryAppPublic; SpConsensusBabeAllowedSlots: SpConsensusBabeAllowedSlots; SpConsensusBabeAppPublic: SpConsensusBabeAppPublic; - SpConsensusBabeBabeConfiguration: SpConsensusBabeBabeConfiguration; SpConsensusBabeBabeEpochConfiguration: SpConsensusBabeBabeEpochConfiguration; SpConsensusBabeDigestsNextConfigDescriptor: SpConsensusBabeDigestsNextConfigDescriptor; SpConsensusBabeDigestsPreDigest: SpConsensusBabeDigestsPreDigest; SpConsensusBabeDigestsPrimaryPreDigest: SpConsensusBabeDigestsPrimaryPreDigest; SpConsensusBabeDigestsSecondaryPlainPreDigest: SpConsensusBabeDigestsSecondaryPlainPreDigest; SpConsensusBabeDigestsSecondaryVRFPreDigest: SpConsensusBabeDigestsSecondaryVRFPreDigest; - SpConsensusBabeEpoch: SpConsensusBabeEpoch; SpConsensusGrandpaAppPublic: SpConsensusGrandpaAppPublic; SpConsensusGrandpaAppSignature: SpConsensusGrandpaAppSignature; SpConsensusGrandpaEquivocation: SpConsensusGrandpaEquivocation; SpConsensusGrandpaEquivocationProof: SpConsensusGrandpaEquivocationProof; SpConsensusSlotsEquivocationProof: SpConsensusSlotsEquivocationProof; SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId; - SpCoreSr25519VrfVrfSignature: SpCoreSr25519VrfVrfSignature; - SpInherentsCheckInherentsResult: SpInherentsCheckInherentsResult; - SpInherentsInherentData: SpInherentsInherentData; + SpCoreEcdsaSignature: SpCoreEcdsaSignature; + SpCoreEd25519Public: SpCoreEd25519Public; + SpCoreEd25519Signature: SpCoreEd25519Signature; + SpCoreOffchainOpaqueNetworkState: SpCoreOffchainOpaqueNetworkState; + SpCoreSr25519Public: SpCoreSr25519Public; + SpCoreSr25519Signature: SpCoreSr25519Signature; + SpCoreVoid: SpCoreVoid; SpNposElectionsElectionScore: SpNposElectionsElectionScore; SpNposElectionsSupport: SpNposElectionsSupport; SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256; - SpRuntimeBlock: SpRuntimeBlock; SpRuntimeDigest: SpRuntimeDigest; SpRuntimeDigestDigestItem: SpRuntimeDigestDigestItem; SpRuntimeDispatchError: SpRuntimeDispatchError; - SpRuntimeExtrinsicInclusionMode: SpRuntimeExtrinsicInclusionMode; SpRuntimeHeader: SpRuntimeHeader; SpRuntimeModuleError: SpRuntimeModuleError; SpRuntimeMultiSignature: SpRuntimeMultiSignature; - SpRuntimeProvingTrieTrieError: SpRuntimeProvingTrieTrieError; SpRuntimeTokenError: SpRuntimeTokenError; - SpRuntimeTransactionValidityInvalidTransaction: SpRuntimeTransactionValidityInvalidTransaction; - SpRuntimeTransactionValidityTransactionSource: SpRuntimeTransactionValidityTransactionSource; - SpRuntimeTransactionValidityTransactionValidityError: SpRuntimeTransactionValidityTransactionValidityError; - SpRuntimeTransactionValidityUnknownTransaction: SpRuntimeTransactionValidityUnknownTransaction; - SpRuntimeTransactionValidityValidTransaction: SpRuntimeTransactionValidityValidTransaction; SpRuntimeTransactionalError: SpRuntimeTransactionalError; SpSessionMembershipProof: SpSessionMembershipProof; - SpStakingExposure: SpStakingExposure; - SpStakingExposurePage: SpStakingExposurePage; - SpStakingIndividualExposure: SpStakingIndividualExposure; SpStakingOffenceOffenceDetails: SpStakingOffenceOffenceDetails; - SpStakingPagedExposureMetadata: SpStakingPagedExposureMetadata; SpVersionRuntimeVersion: SpVersionRuntimeVersion; SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; + SpWeightsWeightToFeeCoefficient: SpWeightsWeightToFeeCoefficient; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; } // InterfaceTypes } // declare module diff --git a/src/polkadot/schema.ts b/src/polkadot/schema.ts index bc90ac7..328db12 100644 --- a/src/polkadot/schema.ts +++ b/src/polkadot/schema.ts @@ -656,10 +656,6 @@ export default { satisfied: 'bool', condition: 'Condition', }, - PolymeshPrimitivesSettlementInstructionId: 'u64', - PalletPipsPipId: 'u32', - PalletProtocolFeeRpcRuntimeApiCappedFee: 'u64', - PolymeshRuntimeDevelopRuntimeRuntimeCall: 'Call', }, rpc: { identity: { diff --git a/src/polkadot/types-lookup.ts b/src/polkadot/types-lookup.ts index 8930d15..9e8f17c 100644 --- a/src/polkadot/types-lookup.ts +++ b/src/polkadot/types-lookup.ts @@ -26,6 +26,7 @@ import type { u8, } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; +import type { OpaqueMultiaddr, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { AccountId32, Call, @@ -53,29 +54,29 @@ declare module '@polkadot/types/lookup' { interface PalletBalancesAccountData extends Struct { readonly free: u128; readonly reserved: u128; - readonly frozen: u128; - readonly flags: u128; + readonly miscFrozen: u128; + readonly feeFrozen: u128; } - /** @name FrameSupportDispatchPerDispatchClassWeight (9) */ + /** @name FrameSupportDispatchPerDispatchClassWeight (7) */ interface FrameSupportDispatchPerDispatchClassWeight extends Struct { readonly normal: SpWeightsWeightV2Weight; readonly operational: SpWeightsWeightV2Weight; readonly mandatory: SpWeightsWeightV2Weight; } - /** @name SpWeightsWeightV2Weight (10) */ + /** @name SpWeightsWeightV2Weight (8) */ interface SpWeightsWeightV2Weight extends Struct { readonly refTime: Compact; readonly proofSize: Compact; } - /** @name SpRuntimeDigest (15) */ + /** @name SpRuntimeDigest (13) */ interface SpRuntimeDigest extends Struct { readonly logs: Vec; } - /** @name SpRuntimeDigestDigestItem (17) */ + /** @name SpRuntimeDigestDigestItem (15) */ interface SpRuntimeDigestDigestItem extends Enum { readonly isOther: boolean; readonly asOther: Bytes; @@ -89,23 +90,23 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Consensus' | 'Seal' | 'PreRuntime' | 'RuntimeEnvironmentUpdated'; } - /** @name FrameSystemEventRecord (20) */ + /** @name FrameSystemEventRecord (18) */ interface FrameSystemEventRecord extends Struct { readonly phase: FrameSystemPhase; readonly event: Event; readonly topics: Vec; } - /** @name FrameSystemEvent (22) */ + /** @name FrameSystemEvent (20) */ interface FrameSystemEvent extends Enum { readonly isExtrinsicSuccess: boolean; readonly asExtrinsicSuccess: { - readonly dispatchInfo: FrameSystemDispatchEventInfo; + readonly dispatchInfo: FrameSupportDispatchDispatchInfo; } & Struct; readonly isExtrinsicFailed: boolean; readonly asExtrinsicFailed: { readonly dispatchError: SpRuntimeDispatchError; - readonly dispatchInfo: FrameSystemDispatchEventInfo; + readonly dispatchInfo: FrameSupportDispatchDispatchInfo; } & Struct; readonly isCodeUpdated: boolean; readonly isNewAccount: boolean; @@ -121,35 +122,23 @@ declare module '@polkadot/types/lookup' { readonly sender: AccountId32; readonly hash_: H256; } & Struct; - readonly isUpgradeAuthorized: boolean; - readonly asUpgradeAuthorized: { - readonly codeHash: H256; - readonly checkVersion: bool; - } & Struct; - readonly isRejectedInvalidAuthorizedUpgrade: boolean; - readonly asRejectedInvalidAuthorizedUpgrade: { - readonly codeHash: H256; - readonly error: SpRuntimeDispatchError; - } & Struct; readonly type: | 'ExtrinsicSuccess' | 'ExtrinsicFailed' | 'CodeUpdated' | 'NewAccount' | 'KilledAccount' - | 'Remarked' - | 'UpgradeAuthorized' - | 'RejectedInvalidAuthorizedUpgrade'; + | 'Remarked'; } - /** @name FrameSystemDispatchEventInfo (23) */ - interface FrameSystemDispatchEventInfo extends Struct { + /** @name FrameSupportDispatchDispatchInfo (21) */ + interface FrameSupportDispatchDispatchInfo extends Struct { readonly weight: SpWeightsWeightV2Weight; readonly class: FrameSupportDispatchDispatchClass; readonly paysFee: FrameSupportDispatchPays; } - /** @name FrameSupportDispatchDispatchClass (24) */ + /** @name FrameSupportDispatchDispatchClass (22) */ interface FrameSupportDispatchDispatchClass extends Enum { readonly isNormal: boolean; readonly isOperational: boolean; @@ -157,14 +146,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Normal' | 'Operational' | 'Mandatory'; } - /** @name FrameSupportDispatchPays (25) */ + /** @name FrameSupportDispatchPays (23) */ interface FrameSupportDispatchPays extends Enum { readonly isYes: boolean; readonly isNo: boolean; readonly type: 'Yes' | 'No'; } - /** @name SpRuntimeDispatchError (26) */ + /** @name SpRuntimeDispatchError (24) */ interface SpRuntimeDispatchError extends Enum { readonly isOther: boolean; readonly isCannotLookup: boolean; @@ -183,9 +172,6 @@ declare module '@polkadot/types/lookup' { readonly isExhausted: boolean; readonly isCorruption: boolean; readonly isUnavailable: boolean; - readonly isRootNotAllowed: boolean; - readonly isTrie: boolean; - readonly asTrie: SpRuntimeProvingTrieTrieError; readonly type: | 'Other' | 'CannotLookup' @@ -199,43 +185,35 @@ declare module '@polkadot/types/lookup' { | 'Transactional' | 'Exhausted' | 'Corruption' - | 'Unavailable' - | 'RootNotAllowed' - | 'Trie'; + | 'Unavailable'; } - /** @name SpRuntimeModuleError (27) */ + /** @name SpRuntimeModuleError (25) */ interface SpRuntimeModuleError extends Struct { readonly index: u8; readonly error: U8aFixed; } - /** @name SpRuntimeTokenError (28) */ + /** @name SpRuntimeTokenError (26) */ interface SpRuntimeTokenError extends Enum { - readonly isFundsUnavailable: boolean; - readonly isOnlyProvider: boolean; + readonly isNoFunds: boolean; + readonly isWouldDie: boolean; readonly isBelowMinimum: boolean; readonly isCannotCreate: boolean; readonly isUnknownAsset: boolean; readonly isFrozen: boolean; readonly isUnsupported: boolean; - readonly isCannotCreateHold: boolean; - readonly isNotExpendable: boolean; - readonly isBlocked: boolean; readonly type: - | 'FundsUnavailable' - | 'OnlyProvider' + | 'NoFunds' + | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' - | 'Unsupported' - | 'CannotCreateHold' - | 'NotExpendable' - | 'Blocked'; + | 'Unsupported'; } - /** @name SpArithmeticArithmeticError (29) */ + /** @name SpArithmeticArithmeticError (27) */ interface SpArithmeticArithmeticError extends Enum { readonly isUnderflow: boolean; readonly isOverflow: boolean; @@ -243,47 +221,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero'; } - /** @name SpRuntimeTransactionalError (30) */ + /** @name SpRuntimeTransactionalError (28) */ interface SpRuntimeTransactionalError extends Enum { readonly isLimitReached: boolean; readonly isNoLayer: boolean; readonly type: 'LimitReached' | 'NoLayer'; } - /** @name SpRuntimeProvingTrieTrieError (31) */ - interface SpRuntimeProvingTrieTrieError extends Enum { - readonly isInvalidStateRoot: boolean; - readonly isIncompleteDatabase: boolean; - readonly isValueAtIncompleteKey: boolean; - readonly isDecoderError: boolean; - readonly isInvalidHash: boolean; - readonly isDuplicateKey: boolean; - readonly isExtraneousNode: boolean; - readonly isExtraneousValue: boolean; - readonly isExtraneousHashReference: boolean; - readonly isInvalidChildReference: boolean; - readonly isValueMismatch: boolean; - readonly isIncompleteProof: boolean; - readonly isRootMismatch: boolean; - readonly isDecodeError: boolean; - readonly type: - | 'InvalidStateRoot' - | 'IncompleteDatabase' - | 'ValueAtIncompleteKey' - | 'DecoderError' - | 'InvalidHash' - | 'DuplicateKey' - | 'ExtraneousNode' - | 'ExtraneousValue' - | 'ExtraneousHashReference' - | 'InvalidChildReference' - | 'ValueMismatch' - | 'IncompleteProof' - | 'RootMismatch' - | 'DecodeError'; - } - - /** @name PalletIndicesEvent (32) */ + /** @name PalletIndicesEvent (29) */ interface PalletIndicesEvent extends Enum { readonly isIndexAssigned: boolean; readonly asIndexAssigned: { @@ -299,172 +244,60 @@ declare module '@polkadot/types/lookup' { readonly index: u32; readonly who: AccountId32; } & Struct; - readonly isDepositPoked: boolean; - readonly asDepositPoked: { - readonly who: AccountId32; - readonly index: u32; - readonly oldDeposit: u128; - readonly newDeposit: u128; - } & Struct; - readonly type: 'IndexAssigned' | 'IndexFreed' | 'IndexFrozen' | 'DepositPoked'; + readonly type: 'IndexAssigned' | 'IndexFreed' | 'IndexFrozen'; } - /** @name PalletBalancesEvent (33) */ + /** @name PalletBalancesEvent (30) */ interface PalletBalancesEvent extends Enum { readonly isEndowed: boolean; - readonly asEndowed: { - readonly account: AccountId32; - readonly freeBalance: u128; - } & Struct; - readonly isDustLost: boolean; - readonly asDustLost: { - readonly account: AccountId32; - readonly amount: u128; - } & Struct; + readonly asEndowed: ITuple<[Option, AccountId32, u128]>; readonly isTransfer: boolean; - readonly asTransfer: { - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - } & Struct; + readonly asTransfer: ITuple< + [ + Option, + AccountId32, + Option, + AccountId32, + u128, + Option + ] + >; readonly isBalanceSet: boolean; - readonly asBalanceSet: { - readonly who: AccountId32; - readonly free: u128; - } & Struct; + readonly asBalanceSet: ITuple<[PolymeshPrimitivesIdentityId, AccountId32, u128, u128]>; + readonly isAccountBalanceBurned: boolean; + readonly asAccountBalanceBurned: ITuple<[PolymeshPrimitivesIdentityId, AccountId32, u128]>; readonly isReserved: boolean; - readonly asReserved: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; + readonly asReserved: ITuple<[AccountId32, u128]>; readonly isUnreserved: boolean; - readonly asUnreserved: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; + readonly asUnreserved: ITuple<[AccountId32, u128]>; readonly isReserveRepatriated: boolean; - readonly asReserveRepatriated: { - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - readonly destinationStatus: FrameSupportTokensMiscBalanceStatus; - } & Struct; - readonly isDeposit: boolean; - readonly asDeposit: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isWithdraw: boolean; - readonly asWithdraw: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isSlashed: boolean; - readonly asSlashed: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isMinted: boolean; - readonly asMinted: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isBurned: boolean; - readonly asBurned: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isSuspended: boolean; - readonly asSuspended: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isRestored: boolean; - readonly asRestored: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isUpgraded: boolean; - readonly asUpgraded: { - readonly who: AccountId32; - } & Struct; - readonly isIssued: boolean; - readonly asIssued: { - readonly amount: u128; - } & Struct; - readonly isRescinded: boolean; - readonly asRescinded: { - readonly amount: u128; - } & Struct; - readonly isLocked: boolean; - readonly asLocked: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isUnlocked: boolean; - readonly asUnlocked: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isFrozen: boolean; - readonly asFrozen: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isThawed: boolean; - readonly asThawed: { - readonly who: AccountId32; - readonly amount: u128; - } & Struct; - readonly isTotalIssuanceForced: boolean; - readonly asTotalIssuanceForced: { - readonly old: u128; - readonly new_: u128; - } & Struct; - readonly isTransferMemo: boolean; - readonly asTransferMemo: { - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - readonly memo: Option; - } & Struct; + readonly asReserveRepatriated: ITuple< + [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus] + >; readonly type: | 'Endowed' - | 'DustLost' | 'Transfer' | 'BalanceSet' + | 'AccountBalanceBurned' | 'Reserved' | 'Unreserved' - | 'ReserveRepatriated' - | 'Deposit' - | 'Withdraw' - | 'Slashed' - | 'Minted' - | 'Burned' - | 'Suspended' - | 'Restored' - | 'Upgraded' - | 'Issued' - | 'Rescinded' - | 'Locked' - | 'Unlocked' - | 'Frozen' - | 'Thawed' - | 'TotalIssuanceForced' - | 'TransferMemo'; + | 'ReserveRepatriated'; } - /** @name FrameSupportTokensMiscBalanceStatus (34) */ + /** @name PolymeshPrimitivesIdentityId (32) */ + interface PolymeshPrimitivesIdentityId extends U8aFixed {} + + /** @name PolymeshPrimitivesMemo (34) */ + interface PolymeshPrimitivesMemo extends U8aFixed {} + + /** @name FrameSupportTokensMiscBalanceStatus (35) */ interface FrameSupportTokensMiscBalanceStatus extends Enum { readonly isFree: boolean; readonly isReserved: boolean; readonly type: 'Free' | 'Reserved'; } - /** @name PolymeshPrimitivesMemo (36) */ - interface PolymeshPrimitivesMemo extends U8aFixed {} - - /** @name PalletTransactionPaymentEvent (37) */ + /** @name PalletTransactionPaymentEvent (36) */ interface PalletTransactionPaymentEvent extends Enum { readonly isTransactionFeePaid: boolean; readonly asTransactionFeePaid: { @@ -475,7 +308,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TransactionFeePaid'; } - /** @name PalletIdentityEvent (38) */ + /** @name PalletIdentityEvent (37) */ interface PalletIdentityEvent extends Enum { readonly isDidCreated: boolean; readonly asDidCreated: ITuple< @@ -577,23 +410,20 @@ declare module '@polkadot/types/lookup' { | 'ChildDidUnlinked'; } - /** @name PolymeshPrimitivesIdentityId (39) */ - interface PolymeshPrimitivesIdentityId extends U8aFixed {} - - /** @name PolymeshPrimitivesSecondaryKey (41) */ + /** @name PolymeshPrimitivesSecondaryKey (39) */ interface PolymeshPrimitivesSecondaryKey extends Struct { readonly key: AccountId32; readonly permissions: PolymeshPrimitivesSecondaryKeyPermissions; } - /** @name PolymeshPrimitivesSecondaryKeyPermissions (42) */ + /** @name PolymeshPrimitivesSecondaryKeyPermissions (40) */ interface PolymeshPrimitivesSecondaryKeyPermissions extends Struct { readonly asset: PolymeshPrimitivesSubsetSubsetRestrictionAssetId; readonly extrinsic: PolymeshPrimitivesSecondaryKeyExtrinsicPermissions; readonly portfolio: PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId; } - /** @name PolymeshPrimitivesSubsetSubsetRestrictionAssetId (43) */ + /** @name PolymeshPrimitivesSubsetSubsetRestrictionAssetId (41) */ interface PolymeshPrimitivesSubsetSubsetRestrictionAssetId extends Enum { readonly isWhole: boolean; readonly isThese: boolean; @@ -603,10 +433,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Whole' | 'These' | 'Except'; } - /** @name PolymeshPrimitivesAssetAssetId (44) */ + /** @name PolymeshPrimitivesAssetAssetId (42) */ interface PolymeshPrimitivesAssetAssetId extends U8aFixed {} - /** @name PolymeshPrimitivesSecondaryKeyExtrinsicPermissions (48) */ + /** @name PolymeshPrimitivesSecondaryKeyExtrinsicPermissions (46) */ interface PolymeshPrimitivesSecondaryKeyExtrinsicPermissions extends Enum { readonly isWhole: boolean; readonly isThese: boolean; @@ -616,12 +446,12 @@ declare module '@polkadot/types/lookup' { readonly type: 'Whole' | 'These' | 'Except'; } - /** @name PolymeshPrimitivesSecondaryKeyPalletPermissions (52) */ + /** @name PolymeshPrimitivesSecondaryKeyPalletPermissions (50) */ interface PolymeshPrimitivesSecondaryKeyPalletPermissions extends Struct { readonly extrinsics: PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName; } - /** @name PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName (53) */ + /** @name PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName (51) */ interface PolymeshPrimitivesSubsetSubsetRestrictionExtrinsicName extends Enum { readonly isWhole: boolean; readonly isThese: boolean; @@ -631,7 +461,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Whole' | 'These' | 'Except'; } - /** @name PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId (59) */ + /** @name PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId (57) */ interface PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId extends Enum { readonly isWhole: boolean; readonly isThese: boolean; @@ -641,13 +471,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Whole' | 'These' | 'Except'; } - /** @name PolymeshPrimitivesIdentityIdPortfolioId (60) */ + /** @name PolymeshPrimitivesIdentityIdPortfolioId (58) */ interface PolymeshPrimitivesIdentityIdPortfolioId extends Struct { readonly did: PolymeshPrimitivesIdentityId; readonly kind: PolymeshPrimitivesIdentityIdPortfolioKind; } - /** @name PolymeshPrimitivesIdentityIdPortfolioKind (61) */ + /** @name PolymeshPrimitivesIdentityIdPortfolioKind (59) */ interface PolymeshPrimitivesIdentityIdPortfolioKind extends Enum { readonly isDefault: boolean; readonly isUser: boolean; @@ -655,7 +485,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Default' | 'User'; } - /** @name PolymeshPrimitivesIdentityClaim (66) */ + /** @name PolymeshPrimitivesIdentityClaim (64) */ interface PolymeshPrimitivesIdentityClaim extends Struct { readonly claimIssuer: PolymeshPrimitivesIdentityId; readonly issuanceDate: u64; @@ -664,7 +494,7 @@ declare module '@polkadot/types/lookup' { readonly claim: PolymeshPrimitivesIdentityClaimClaim; } - /** @name PolymeshPrimitivesIdentityClaimClaim (68) */ + /** @name PolymeshPrimitivesIdentityClaimClaim (66) */ interface PolymeshPrimitivesIdentityClaimClaim extends Enum { readonly isAccredited: boolean; readonly asAccredited: PolymeshPrimitivesIdentityClaimScope; @@ -701,7 +531,7 @@ declare module '@polkadot/types/lookup' { | 'Custom'; } - /** @name PolymeshPrimitivesIdentityClaimScope (69) */ + /** @name PolymeshPrimitivesIdentityClaimScope (67) */ interface PolymeshPrimitivesIdentityClaimScope extends Enum { readonly isIdentity: boolean; readonly asIdentity: PolymeshPrimitivesIdentityId; @@ -712,10 +542,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Identity' | 'Asset' | 'Custom'; } - /** @name PolymeshPrimitivesCddId (70) */ + /** @name PolymeshPrimitivesCddId (68) */ interface PolymeshPrimitivesCddId extends U8aFixed {} - /** @name PolymeshPrimitivesJurisdictionCountryCode (71) */ + /** @name PolymeshPrimitivesJurisdictionCountryCode (69) */ interface PolymeshPrimitivesJurisdictionCountryCode extends Enum { readonly isAf: boolean; readonly isAx: boolean; @@ -1220,10 +1050,10 @@ declare module '@polkadot/types/lookup' { | 'Sx'; } - /** @name PolymeshPrimitivesTicker (74) */ + /** @name PolymeshPrimitivesTicker (72) */ interface PolymeshPrimitivesTicker extends U8aFixed {} - /** @name PolymeshPrimitivesAuthorizationAuthorizationData (78) */ + /** @name PolymeshPrimitivesAuthorizationAuthorizationData (75) */ interface PolymeshPrimitivesAuthorizationAuthorizationData extends Enum { readonly isAttestPrimaryKeyRotation: boolean; readonly asAttestPrimaryKeyRotation: PolymeshPrimitivesIdentityId; @@ -1259,7 +1089,7 @@ declare module '@polkadot/types/lookup' { | 'RotatePrimaryKeyToSecondary'; } - /** @name PolymeshPrimitivesAgentAgentGroup (79) */ + /** @name PolymeshPrimitivesAgentAgentGroup (76) */ interface PolymeshPrimitivesAgentAgentGroup extends Enum { readonly isFull: boolean; readonly isCustom: boolean; @@ -1270,7 +1100,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Full' | 'Custom' | 'ExceptMeta' | 'PolymeshV1CAA' | 'PolymeshV1PIA'; } - /** @name PalletGroupEvent (81) */ + /** @name PalletGroupEvent (79) */ interface PalletGroupEvent extends Enum { readonly isMemberAdded: boolean; readonly asMemberAdded: ITuple<[PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityId]>; @@ -1299,7 +1129,7 @@ declare module '@polkadot/types/lookup' { | 'Dummy'; } - /** @name PalletCommitteeEvent (83) */ + /** @name PalletCommitteeEvent (81) */ interface PalletCommitteeEvent extends Enum { readonly isProposed: boolean; readonly asProposed: ITuple<[PolymeshPrimitivesIdentityId, u32, H256]>; @@ -1346,7 +1176,7 @@ declare module '@polkadot/types/lookup' { | 'VoteThresholdUpdated'; } - /** @name PolymeshPrimitivesMaybeBlock (86) */ + /** @name PolymeshPrimitivesMaybeBlock (84) */ interface PolymeshPrimitivesMaybeBlock extends Enum { readonly isSome: boolean; readonly asSome: u32; @@ -1354,7 +1184,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Some' | 'None'; } - /** @name PalletMultisigEvent (92) */ + /** @name PalletMultisigEvent (90) */ interface PalletMultisigEvent extends Enum { readonly isMultiSigCreated: boolean; readonly asMultiSigCreated: { @@ -1462,65 +1292,7 @@ declare module '@polkadot/types/lookup' { | 'MultiSigRemovedPayingDid'; } - /** @name PalletValidatorsEvent (94) */ - interface PalletValidatorsEvent extends Enum { - readonly isNominated: boolean; - readonly asNominated: { - readonly nominatorIdentity: PolymeshPrimitivesIdentityId; - readonly stash: AccountId32; - readonly targets: Vec; - } & Struct; - readonly isPermissionedIdentityAdded: boolean; - readonly asPermissionedIdentityAdded: { - readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; - readonly validatorsIdentity: PolymeshPrimitivesIdentityId; - } & Struct; - readonly isPermissionedIdentityRemoved: boolean; - readonly asPermissionedIdentityRemoved: { - readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; - readonly validatorsIdentity: PolymeshPrimitivesIdentityId; - } & Struct; - readonly isInvalidatedNominators: boolean; - readonly asInvalidatedNominators: { - readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; - readonly governanceCouncillAccount: PolymeshPrimitivesIdentityId; - readonly expiredNominators: Vec; - } & Struct; - readonly isSlashingAllowedForChanged: boolean; - readonly asSlashingAllowedForChanged: { - readonly slashingSwitch: PalletValidatorsSlashingSwitch; - } & Struct; - readonly isRewardPaymentSchedulingInterrupted: boolean; - readonly asRewardPaymentSchedulingInterrupted: { - readonly accountId: AccountId32; - readonly era: u32; - readonly error: SpRuntimeDispatchError; - } & Struct; - readonly isCommissionCapUpdated: boolean; - readonly asCommissionCapUpdated: { - readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; - readonly oldCommissionCap: Perbill; - readonly newCommissionCap: Perbill; - } & Struct; - readonly type: - | 'Nominated' - | 'PermissionedIdentityAdded' - | 'PermissionedIdentityRemoved' - | 'InvalidatedNominators' - | 'SlashingAllowedForChanged' - | 'RewardPaymentSchedulingInterrupted' - | 'CommissionCapUpdated'; - } - - /** @name PalletValidatorsSlashingSwitch (95) */ - interface PalletValidatorsSlashingSwitch extends Enum { - readonly isValidator: boolean; - readonly isValidatorAndNominator: boolean; - readonly isNone: boolean; - readonly type: 'Validator' | 'ValidatorAndNominator' | 'None'; - } - - /** @name PalletStakingPalletEvent (97) */ + /** @name PalletStakingPalletEvent (92) */ interface PalletStakingPalletEvent extends Enum { readonly isEraPaid: boolean; readonly asEraPaid: { @@ -1530,8 +1302,8 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isRewarded: boolean; readonly asRewarded: { + readonly identity: PolymeshPrimitivesIdentityId; readonly stash: AccountId32; - readonly dest: PalletStakingRewardDestination; readonly amount: u128; } & Struct; readonly isSlashed: boolean; @@ -1552,11 +1324,13 @@ declare module '@polkadot/types/lookup' { readonly isStakersElected: boolean; readonly isBonded: boolean; readonly asBonded: { + readonly identity: PolymeshPrimitivesIdentityId; readonly stash: AccountId32; readonly amount: u128; } & Struct; readonly isUnbonded: boolean; readonly asUnbonded: { + readonly identity: PolymeshPrimitivesIdentityId; readonly stash: AccountId32; readonly amount: u128; } & Struct; @@ -1579,34 +1353,53 @@ declare module '@polkadot/types/lookup' { readonly asPayoutStarted: { readonly eraIndex: u32; readonly validatorStash: AccountId32; - readonly page: u32; - readonly next: Option; } & Struct; readonly isValidatorPrefsSet: boolean; readonly asValidatorPrefsSet: { readonly stash: AccountId32; readonly prefs: PalletStakingValidatorPrefs; } & Struct; - readonly isSnapshotVotersSizeExceeded: boolean; - readonly asSnapshotVotersSizeExceeded: { - readonly size_: u32; - } & Struct; - readonly isSnapshotTargetsSizeExceeded: boolean; - readonly asSnapshotTargetsSizeExceeded: { - readonly size_: u32; - } & Struct; readonly isForceEra: boolean; readonly asForceEra: { readonly mode: PalletStakingForcing; } & Struct; - readonly isControllerBatchDeprecated: boolean; - readonly asControllerBatchDeprecated: { - readonly failures: u32; - } & Struct; - readonly isCurrencyMigrated: boolean; - readonly asCurrencyMigrated: { + readonly isNominated: boolean; + readonly asNominated: { + readonly nominatorIdentity: PolymeshPrimitivesIdentityId; readonly stash: AccountId32; - readonly forceWithdraw: u128; + readonly targets: Vec; + } & Struct; + readonly isPermissionedIdentityAdded: boolean; + readonly asPermissionedIdentityAdded: { + readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; + readonly validatorsIdentity: PolymeshPrimitivesIdentityId; + } & Struct; + readonly isPermissionedIdentityRemoved: boolean; + readonly asPermissionedIdentityRemoved: { + readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; + readonly validatorsIdentity: PolymeshPrimitivesIdentityId; + } & Struct; + readonly isInvalidatedNominators: boolean; + readonly asInvalidatedNominators: { + readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; + readonly governanceCouncillAccount: PolymeshPrimitivesIdentityId; + readonly expiredNominators: Vec; + } & Struct; + readonly isSlashingAllowedForChanged: boolean; + readonly asSlashingAllowedForChanged: { + readonly slashingSwitch: PalletStakingSlashingSwitch; + } & Struct; + readonly isRewardPaymentSchedulingInterrupted: boolean; + readonly asRewardPaymentSchedulingInterrupted: { + readonly accountId: AccountId32; + readonly era: u32; + readonly error: SpRuntimeDispatchError; + } & Struct; + readonly isCommissionCapUpdated: boolean; + readonly asCommissionCapUpdated: { + readonly governanceCouncillDid: PolymeshPrimitivesIdentityId; + readonly oldCommissionCap: Perbill; + readonly newCommissionCap: Perbill; } & Struct; readonly type: | 'EraPaid' @@ -1623,31 +1416,23 @@ declare module '@polkadot/types/lookup' { | 'Chilled' | 'PayoutStarted' | 'ValidatorPrefsSet' - | 'SnapshotVotersSizeExceeded' - | 'SnapshotTargetsSizeExceeded' | 'ForceEra' - | 'ControllerBatchDeprecated' - | 'CurrencyMigrated'; - } - - /** @name PalletStakingRewardDestination (98) */ - interface PalletStakingRewardDestination extends Enum { - readonly isStaked: boolean; - readonly isStash: boolean; - readonly isController: boolean; - readonly isAccount: boolean; - readonly asAccount: AccountId32; - readonly isNone: boolean; - readonly type: 'Staked' | 'Stash' | 'Controller' | 'Account' | 'None'; + | 'Nominated' + | 'PermissionedIdentityAdded' + | 'PermissionedIdentityRemoved' + | 'InvalidatedNominators' + | 'SlashingAllowedForChanged' + | 'RewardPaymentSchedulingInterrupted' + | 'CommissionCapUpdated'; } - /** @name PalletStakingValidatorPrefs (100) */ + /** @name PalletStakingValidatorPrefs (94) */ interface PalletStakingValidatorPrefs extends Struct { readonly commission: Compact; readonly blocked: bool; } - /** @name PalletStakingForcing (102) */ + /** @name PalletStakingForcing (96) */ interface PalletStakingForcing extends Enum { readonly isNotForcing: boolean; readonly isForceNew: boolean; @@ -1656,7 +1441,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotForcing' | 'ForceNew' | 'ForceNone' | 'ForceAlways'; } - /** @name PalletOffencesEvent (103) */ + /** @name PalletStakingSlashingSwitch (97) */ + interface PalletStakingSlashingSwitch extends Enum { + readonly isValidator: boolean; + readonly isValidatorAndNominator: boolean; + readonly isNone: boolean; + readonly type: 'Validator' | 'ValidatorAndNominator' | 'None'; + } + + /** @name PalletOffencesEvent (98) */ interface PalletOffencesEvent extends Enum { readonly isOffence: boolean; readonly asOffence: { @@ -1666,24 +1459,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Offence'; } - /** @name PalletSessionEvent (104) */ + /** @name PalletSessionEvent (99) */ interface PalletSessionEvent extends Enum { readonly isNewSession: boolean; readonly asNewSession: { readonly sessionIndex: u32; } & Struct; - readonly isValidatorDisabled: boolean; - readonly asValidatorDisabled: { - readonly validator: AccountId32; - } & Struct; - readonly isValidatorReenabled: boolean; - readonly asValidatorReenabled: { - readonly validator: AccountId32; - } & Struct; - readonly type: 'NewSession' | 'ValidatorDisabled' | 'ValidatorReenabled'; + readonly type: 'NewSession'; } - /** @name PalletGrandpaEvent (105) */ + /** @name PalletGrandpaEvent (100) */ interface PalletGrandpaEvent extends Enum { readonly isNewAuthorities: boolean; readonly asNewAuthorities: { @@ -1694,10 +1479,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'NewAuthorities' | 'Paused' | 'Resumed'; } - /** @name SpConsensusGrandpaAppPublic (108) */ - interface SpConsensusGrandpaAppPublic extends U8aFixed {} + /** @name SpConsensusGrandpaAppPublic (103) */ + interface SpConsensusGrandpaAppPublic extends SpCoreEd25519Public {} + + /** @name SpCoreEd25519Public (104) */ + interface SpCoreEd25519Public extends U8aFixed {} - /** @name PalletImOnlineEvent (109) */ + /** @name PalletImOnlineEvent (105) */ interface PalletImOnlineEvent extends Enum { readonly isHeartbeatReceived: boolean; readonly asHeartbeatReceived: { @@ -1706,28 +1494,31 @@ declare module '@polkadot/types/lookup' { readonly isAllGood: boolean; readonly isSomeOffline: boolean; readonly asSomeOffline: { - readonly offline: Vec>; + readonly offline: Vec>; } & Struct; readonly type: 'HeartbeatReceived' | 'AllGood' | 'SomeOffline'; } - /** @name PalletImOnlineSr25519AppSr25519Public (110) */ - interface PalletImOnlineSr25519AppSr25519Public extends U8aFixed {} + /** @name PalletImOnlineSr25519AppSr25519Public (106) */ + interface PalletImOnlineSr25519AppSr25519Public extends SpCoreSr25519Public {} - /** @name SpStakingExposure (113) */ - interface SpStakingExposure extends Struct { + /** @name SpCoreSr25519Public (107) */ + interface SpCoreSr25519Public extends U8aFixed {} + + /** @name PalletStakingExposure (110) */ + interface PalletStakingExposure extends Struct { readonly total: Compact; readonly own: Compact; - readonly others: Vec; + readonly others: Vec; } - /** @name SpStakingIndividualExposure (116) */ - interface SpStakingIndividualExposure extends Struct { + /** @name PalletStakingIndividualExposure (113) */ + interface PalletStakingIndividualExposure extends Struct { readonly who: AccountId32; readonly value: Compact; } - /** @name PalletSudoEvent (117) */ + /** @name PalletSudoEvent (114) */ interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { @@ -1744,7 +1535,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sudid' | 'KeyChanged' | 'SudoAsDone'; } - /** @name PalletAssetEvent (118) */ + /** @name PalletAssetEvent (115) */ interface PalletAssetEvent extends Enum { readonly isAssetCreated: boolean; readonly asAssetCreated: ITuple< @@ -1960,7 +1751,7 @@ declare module '@polkadot/types/lookup' { | 'GlobalMetadataSpecUpdated'; } - /** @name PolymeshPrimitivesAssetAssetType (119) */ + /** @name PolymeshPrimitivesAssetAssetType (116) */ interface PolymeshPrimitivesAssetAssetType extends Enum { readonly isEquityCommon: boolean; readonly isEquityPreferred: boolean; @@ -1991,7 +1782,7 @@ declare module '@polkadot/types/lookup' { | 'NonFungible'; } - /** @name PolymeshPrimitivesAssetNonFungibleType (121) */ + /** @name PolymeshPrimitivesAssetNonFungibleType (118) */ interface PolymeshPrimitivesAssetNonFungibleType extends Enum { readonly isDerivative: boolean; readonly isFixedIncome: boolean; @@ -2001,7 +1792,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Derivative' | 'FixedIncome' | 'Invoice' | 'Custom'; } - /** @name PolymeshPrimitivesAssetIdentifier (124) */ + /** @name PolymeshPrimitivesAssetIdentifier (121) */ interface PolymeshPrimitivesAssetIdentifier extends Enum { readonly isCusip: boolean; readonly asCusip: U8aFixed; @@ -2016,7 +1807,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Cusip' | 'Cins' | 'Isin' | 'Lei' | 'Figi'; } - /** @name PolymeshPrimitivesDocument (130) */ + /** @name PolymeshPrimitivesDocument (127) */ interface PolymeshPrimitivesDocument extends Struct { readonly uri: Bytes; readonly contentHash: PolymeshPrimitivesDocumentHash; @@ -2025,7 +1816,7 @@ declare module '@polkadot/types/lookup' { readonly filingDate: Option; } - /** @name PolymeshPrimitivesDocumentHash (132) */ + /** @name PolymeshPrimitivesDocumentHash (129) */ interface PolymeshPrimitivesDocumentHash extends Enum { readonly isNone: boolean; readonly isH512: boolean; @@ -2047,13 +1838,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'None' | 'H512' | 'H384' | 'H320' | 'H256' | 'H224' | 'H192' | 'H160' | 'H128'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (143) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail (140) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail extends Struct { readonly expire: Option; readonly lockStatus: PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (144) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus (141) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataLockStatus extends Enum { readonly isUnlocked: boolean; readonly isLocked: boolean; @@ -2062,14 +1853,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unlocked' | 'Locked' | 'LockedUntil'; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (147) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataSpec (144) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataSpec extends Struct { readonly url: Option; readonly description: Option; readonly typeDef: Option; } - /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (154) */ + /** @name PolymeshPrimitivesAssetMetadataAssetMetadataKey (151) */ interface PolymeshPrimitivesAssetMetadataAssetMetadataKey extends Enum { readonly isGlobal: boolean; readonly asGlobal: u64; @@ -2078,7 +1869,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Global' | 'Local'; } - /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (156) */ + /** @name PolymeshPrimitivesPortfolioPortfolioUpdateReason (153) */ interface PolymeshPrimitivesPortfolioPortfolioUpdateReason extends Enum { readonly isIssued: boolean; readonly asIssued: { @@ -2094,7 +1885,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Issued' | 'Redeemed' | 'Transferred' | 'ControllerTransfer'; } - /** @name PalletCorporateActionsDistributionPalletEvent (160) */ + /** @name PalletCorporateActionsDistributionPalletEvent (157) */ interface PalletCorporateActionsDistributionPalletEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2118,16 +1909,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Created' | 'BenefitClaimed' | 'Reclaimed' | 'Removed'; } - /** @name PolymeshPrimitivesEventOnly (161) */ + /** @name PolymeshPrimitivesEventOnly (158) */ interface PolymeshPrimitivesEventOnly extends PolymeshPrimitivesIdentityId {} - /** @name PalletCorporateActionsCaId (162) */ + /** @name PalletCorporateActionsCaId (159) */ interface PalletCorporateActionsCaId extends Struct { readonly assetId: PolymeshPrimitivesAssetAssetId; readonly localId: u32; } - /** @name PalletCorporateActionsDistribution (164) */ + /** @name PalletCorporateActionsDistribution (161) */ interface PalletCorporateActionsDistribution extends Struct { readonly from: PolymeshPrimitivesIdentityIdPortfolioId; readonly currency: PolymeshPrimitivesAssetAssetId; @@ -2139,7 +1930,7 @@ declare module '@polkadot/types/lookup' { readonly expiresAt: Option; } - /** @name PalletAssetCheckpointPalletEvent (166) */ + /** @name PalletAssetCheckpointPalletEvent (163) */ interface PalletAssetCheckpointPalletEvent extends Enum { readonly isCheckpointCreated: boolean; readonly asCheckpointCreated: ITuple< @@ -2172,12 +1963,12 @@ declare module '@polkadot/types/lookup' { | 'ScheduleRemoved'; } - /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (169) */ + /** @name PolymeshCommonUtilitiesCheckpointScheduleCheckpoints (166) */ interface PolymeshCommonUtilitiesCheckpointScheduleCheckpoints extends Struct { readonly pending: BTreeSet; } - /** @name PalletComplianceManagerEvent (172) */ + /** @name PalletComplianceManagerEvent (169) */ interface PalletComplianceManagerEvent extends Enum { readonly isComplianceRequirementCreated: boolean; readonly asComplianceRequirementCreated: ITuple< @@ -2243,20 +2034,20 @@ declare module '@polkadot/types/lookup' { | 'TrustedDefaultClaimIssuerRemoved'; } - /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (173) */ + /** @name PolymeshPrimitivesComplianceManagerComplianceRequirement (170) */ interface PolymeshPrimitivesComplianceManagerComplianceRequirement extends Struct { readonly senderConditions: Vec; readonly receiverConditions: Vec; readonly id: u32; } - /** @name PolymeshPrimitivesCondition (175) */ + /** @name PolymeshPrimitivesCondition (172) */ interface PolymeshPrimitivesCondition extends Struct { readonly conditionType: PolymeshPrimitivesConditionConditionType; readonly issuers: Vec; } - /** @name PolymeshPrimitivesConditionConditionType (176) */ + /** @name PolymeshPrimitivesConditionConditionType (173) */ interface PolymeshPrimitivesConditionConditionType extends Enum { readonly isIsPresent: boolean; readonly asIsPresent: PolymeshPrimitivesIdentityClaimClaim; @@ -2271,7 +2062,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'IsPresent' | 'IsAbsent' | 'IsAnyOf' | 'IsNoneOf' | 'IsIdentity'; } - /** @name PolymeshPrimitivesConditionTargetIdentity (178) */ + /** @name PolymeshPrimitivesConditionTargetIdentity (175) */ interface PolymeshPrimitivesConditionTargetIdentity extends Enum { readonly isExternalAgent: boolean; readonly isSpecific: boolean; @@ -2279,13 +2070,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExternalAgent' | 'Specific'; } - /** @name PolymeshPrimitivesConditionTrustedIssuer (180) */ + /** @name PolymeshPrimitivesConditionTrustedIssuer (177) */ interface PolymeshPrimitivesConditionTrustedIssuer extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly trustedFor: PolymeshPrimitivesConditionTrustedFor; } - /** @name PolymeshPrimitivesConditionTrustedFor (181) */ + /** @name PolymeshPrimitivesConditionTrustedFor (178) */ interface PolymeshPrimitivesConditionTrustedFor extends Enum { readonly isAny: boolean; readonly isSpecific: boolean; @@ -2293,7 +2084,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Any' | 'Specific'; } - /** @name PolymeshPrimitivesIdentityClaimClaimType (183) */ + /** @name PolymeshPrimitivesIdentityClaimClaimType (180) */ interface PolymeshPrimitivesIdentityClaimClaimType extends Enum { readonly isAccredited: boolean; readonly isAffiliate: boolean; @@ -2319,7 +2110,7 @@ declare module '@polkadot/types/lookup' { | 'Custom'; } - /** @name PalletCorporateActionsEvent (185) */ + /** @name PalletCorporateActionsEvent (182) */ interface PalletCorporateActionsEvent extends Enum { readonly isMaxDetailsLengthChanged: boolean; readonly asMaxDetailsLengthChanged: ITuple<[PolymeshPrimitivesIdentityId, u32]>; @@ -2378,20 +2169,20 @@ declare module '@polkadot/types/lookup' { | 'RecordDateChanged'; } - /** @name PalletCorporateActionsTargetIdentities (186) */ + /** @name PalletCorporateActionsTargetIdentities (183) */ interface PalletCorporateActionsTargetIdentities extends Struct { readonly identities: Vec; readonly treatment: PalletCorporateActionsTargetTreatment; } - /** @name PalletCorporateActionsTargetTreatment (187) */ + /** @name PalletCorporateActionsTargetTreatment (184) */ interface PalletCorporateActionsTargetTreatment extends Enum { readonly isInclude: boolean; readonly isExclude: boolean; readonly type: 'Include' | 'Exclude'; } - /** @name PalletCorporateActionsCorporateAction (189) */ + /** @name PalletCorporateActionsCorporateAction (186) */ interface PalletCorporateActionsCorporateAction extends Struct { readonly kind: PalletCorporateActionsCaKind; readonly declDate: u64; @@ -2401,7 +2192,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Vec>; } - /** @name PalletCorporateActionsCaKind (190) */ + /** @name PalletCorporateActionsCaKind (187) */ interface PalletCorporateActionsCaKind extends Enum { readonly isPredictableBenefit: boolean; readonly isUnpredictableBenefit: boolean; @@ -2416,13 +2207,13 @@ declare module '@polkadot/types/lookup' { | 'Other'; } - /** @name PalletCorporateActionsRecordDate (192) */ + /** @name PalletCorporateActionsRecordDate (189) */ interface PalletCorporateActionsRecordDate extends Struct { readonly date: u64; readonly checkpoint: PalletCorporateActionsCaCheckpoint; } - /** @name PalletCorporateActionsCaCheckpoint (193) */ + /** @name PalletCorporateActionsCaCheckpoint (190) */ interface PalletCorporateActionsCaCheckpoint extends Enum { readonly isScheduled: boolean; readonly asScheduled: ITuple<[u64, u64]>; @@ -2431,7 +2222,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'Existing'; } - /** @name PalletCorporateActionsBallotPalletEvent (198) */ + /** @name PalletCorporateActionsBallotPalletEvent (195) */ interface PalletCorporateActionsBallotPalletEvent extends Enum { readonly isCreated: boolean; readonly asCreated: ITuple< @@ -2480,32 +2271,32 @@ declare module '@polkadot/types/lookup' { | 'Removed'; } - /** @name PalletCorporateActionsBallotBallotTimeRange (199) */ + /** @name PalletCorporateActionsBallotBallotTimeRange (196) */ interface PalletCorporateActionsBallotBallotTimeRange extends Struct { readonly start: u64; readonly end: u64; } - /** @name PalletCorporateActionsBallotBallotMeta (200) */ + /** @name PalletCorporateActionsBallotBallotMeta (197) */ interface PalletCorporateActionsBallotBallotMeta extends Struct { readonly title: Bytes; readonly motions: Vec; } - /** @name PalletCorporateActionsBallotMotion (203) */ + /** @name PalletCorporateActionsBallotMotion (200) */ interface PalletCorporateActionsBallotMotion extends Struct { readonly title: Bytes; readonly infoLink: Bytes; readonly choices: Vec; } - /** @name PalletCorporateActionsBallotBallotVote (209) */ + /** @name PalletCorporateActionsBallotBallotVote (206) */ interface PalletCorporateActionsBallotBallotVote extends Struct { readonly power: u128; readonly fallback: Option; } - /** @name PalletPipsEvent (212) */ + /** @name PalletPipsEvent (209) */ interface PalletPipsEvent extends Enum { readonly isHistoricalPipsPruned: boolean; readonly asHistoricalPipsPruned: ITuple<[PolymeshPrimitivesIdentityId, bool, bool]>; @@ -2589,7 +2380,7 @@ declare module '@polkadot/types/lookup' { | 'ExecutionCancellingFailed'; } - /** @name PalletPipsProposer (213) */ + /** @name PalletPipsProposer (210) */ interface PalletPipsProposer extends Enum { readonly isCommunity: boolean; readonly asCommunity: AccountId32; @@ -2598,14 +2389,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Community' | 'Committee'; } - /** @name PalletPipsCommittee (214) */ + /** @name PalletPipsCommittee (211) */ interface PalletPipsCommittee extends Enum { readonly isTechnical: boolean; readonly isUpgrade: boolean; readonly type: 'Technical' | 'Upgrade'; } - /** @name PalletPipsProposalData (218) */ + /** @name PalletPipsProposalData (215) */ interface PalletPipsProposalData extends Enum { readonly isHash: boolean; readonly asHash: H256; @@ -2614,7 +2405,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Hash' | 'Proposal'; } - /** @name PalletPipsProposalState (219) */ + /** @name PalletPipsProposalState (216) */ interface PalletPipsProposalState extends Enum { readonly isPending: boolean; readonly isRejected: boolean; @@ -2625,13 +2416,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Rejected' | 'Scheduled' | 'Failed' | 'Executed' | 'Expired'; } - /** @name PalletPipsSnapshottedPip (222) */ + /** @name PalletPipsSnapshottedPip (219) */ interface PalletPipsSnapshottedPip extends Struct { readonly id: u32; readonly weight: ITuple<[bool, u128]>; } - /** @name PalletPortfolioEvent (228) */ + /** @name PalletPortfolioEvent (225) */ interface PalletPortfolioEvent extends Enum { readonly isPortfolioCreated: boolean; readonly asPortfolioCreated: ITuple<[PolymeshPrimitivesIdentityId, u64, Bytes]>; @@ -2696,7 +2487,7 @@ declare module '@polkadot/types/lookup' { | 'RevokeCreatePortfoliosPermission'; } - /** @name PolymeshPrimitivesPortfolioFundDescription (232) */ + /** @name PolymeshPrimitivesPortfolioFundDescription (229) */ interface PolymeshPrimitivesPortfolioFundDescription extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2708,13 +2499,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible'; } - /** @name PolymeshPrimitivesNftNfTs (233) */ + /** @name PolymeshPrimitivesNftNfTs (230) */ interface PolymeshPrimitivesNftNfTs extends Struct { readonly assetId: PolymeshPrimitivesAssetAssetId; readonly ids: Vec; } - /** @name PalletProtocolFeeEvent (236) */ + /** @name PalletProtocolFeeEvent (233) */ interface PalletProtocolFeeEvent extends Enum { readonly isFeeSet: boolean; readonly asFeeSet: ITuple<[PolymeshPrimitivesIdentityId, u128]>; @@ -2725,10 +2516,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeeSet' | 'CoefficientSet' | 'FeeCharged'; } - /** @name PolymeshPrimitivesPosRatio (237) */ + /** @name PolymeshPrimitivesPosRatio (234) */ interface PolymeshPrimitivesPosRatio extends ITuple<[u32, u32]> {} - /** @name PalletSchedulerEvent (238) */ + /** @name PalletSchedulerEvent (235) */ interface PalletSchedulerEvent extends Enum { readonly isScheduled: boolean; readonly asScheduled: { @@ -2746,18 +2537,6 @@ declare module '@polkadot/types/lookup' { readonly id: Option; readonly result: Result; } & Struct; - readonly isRetrySet: boolean; - readonly asRetrySet: { - readonly task: ITuple<[u32, u32]>; - readonly id: Option; - readonly period: u32; - readonly retries: u8; - } & Struct; - readonly isRetryCancelled: boolean; - readonly asRetryCancelled: { - readonly task: ITuple<[u32, u32]>; - readonly id: Option; - } & Struct; readonly isCallUnavailable: boolean; readonly asCallUnavailable: { readonly task: ITuple<[u32, u32]>; @@ -2768,34 +2547,21 @@ declare module '@polkadot/types/lookup' { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; - readonly isRetryFailed: boolean; - readonly asRetryFailed: { - readonly task: ITuple<[u32, u32]>; - readonly id: Option; - } & Struct; readonly isPermanentlyOverweight: boolean; readonly asPermanentlyOverweight: { readonly task: ITuple<[u32, u32]>; readonly id: Option; } & Struct; - readonly isAgendaIncomplete: boolean; - readonly asAgendaIncomplete: { - readonly when: u32; - } & Struct; readonly type: | 'Scheduled' | 'Canceled' | 'Dispatched' - | 'RetrySet' - | 'RetryCancelled' | 'CallUnavailable' | 'PeriodicFailed' - | 'RetryFailed' - | 'PermanentlyOverweight' - | 'AgendaIncomplete'; + | 'PermanentlyOverweight'; } - /** @name PalletSettlementEvent (241) */ + /** @name PalletSettlementEvent (238) */ interface PalletSettlementEvent extends Enum { readonly isVenueCreated: boolean; readonly asVenueCreated: ITuple< @@ -2914,7 +2680,7 @@ declare module '@polkadot/types/lookup' { | 'InstructionLocked'; } - /** @name PolymeshPrimitivesSettlementVenueType (244) */ + /** @name PolymeshPrimitivesSettlementVenueType (241) */ interface PolymeshPrimitivesSettlementVenueType extends Enum { readonly isOther: boolean; readonly isDistribution: boolean; @@ -2923,10 +2689,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Other' | 'Distribution' | 'Sto' | 'Exchange'; } - /** @name PolymeshPrimitivesSettlementReceiptMetadata (247) */ + /** @name PolymeshPrimitivesSettlementReceiptMetadata (244) */ interface PolymeshPrimitivesSettlementReceiptMetadata extends U8aFixed {} - /** @name PolymeshPrimitivesSettlementSettlementType (250) */ + /** @name PolymeshPrimitivesSettlementSettlementType (247) */ interface PolymeshPrimitivesSettlementSettlementType extends Enum { readonly isSettleOnAffirmation: boolean; readonly isSettleOnBlock: boolean; @@ -2937,7 +2703,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SettleOnAffirmation' | 'SettleOnBlock' | 'SettleManual' | 'SettleAfterLock'; } - /** @name PolymeshPrimitivesSettlementLeg (252) */ + /** @name PolymeshPrimitivesSettlementLeg (249) */ interface PolymeshPrimitivesSettlementLeg extends Enum { readonly isFungible: boolean; readonly asFungible: { @@ -2962,7 +2728,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible' | 'OffChain'; } - /** @name PalletStatisticsEvent (253) */ + /** @name PalletStatisticsEvent (250) */ interface PalletStatisticsEvent extends Enum { readonly isStatTypesAdded: boolean; readonly asStatTypesAdded: ITuple< @@ -3022,7 +2788,7 @@ declare module '@polkadot/types/lookup' { | 'TransferConditionExemptionsRemoved'; } - /** @name PolymeshPrimitivesStatisticsStatType (255) */ + /** @name PolymeshPrimitivesStatisticsStatType (252) */ interface PolymeshPrimitivesStatisticsStatType extends Struct { readonly operationType: PolymeshPrimitivesStatisticsStatOpType; readonly claimIssuer: Option< @@ -3030,20 +2796,20 @@ declare module '@polkadot/types/lookup' { >; } - /** @name PolymeshPrimitivesStatisticsStatOpType (256) */ + /** @name PolymeshPrimitivesStatisticsStatOpType (253) */ interface PolymeshPrimitivesStatisticsStatOpType extends Enum { readonly isCount: boolean; readonly isBalance: boolean; readonly type: 'Count' | 'Balance'; } - /** @name PolymeshPrimitivesStatisticsStatUpdate (260) */ + /** @name PolymeshPrimitivesStatisticsStatUpdate (257) */ interface PolymeshPrimitivesStatisticsStatUpdate extends Struct { readonly key2: PolymeshPrimitivesStatisticsStat2ndKey; readonly value: Option; } - /** @name PolymeshPrimitivesStatisticsStat2ndKey (261) */ + /** @name PolymeshPrimitivesStatisticsStat2ndKey (258) */ interface PolymeshPrimitivesStatisticsStat2ndKey extends Enum { readonly isNoClaimStat: boolean; readonly isClaim: boolean; @@ -3051,7 +2817,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoClaimStat' | 'Claim'; } - /** @name PolymeshPrimitivesStatisticsStatClaim (262) */ + /** @name PolymeshPrimitivesStatisticsStatClaim (259) */ interface PolymeshPrimitivesStatisticsStatClaim extends Enum { readonly isAccredited: boolean; readonly asAccredited: bool; @@ -3062,7 +2828,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Accredited' | 'Affiliate' | 'Jurisdiction'; } - /** @name PolymeshPrimitivesTransferComplianceTransferCondition (266) */ + /** @name PolymeshPrimitivesTransferComplianceTransferCondition (263) */ interface PolymeshPrimitivesTransferComplianceTransferCondition extends Enum { readonly isMaxInvestorCount: boolean; readonly asMaxInvestorCount: u64; @@ -3079,14 +2845,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxInvestorCount' | 'MaxInvestorOwnership' | 'ClaimCount' | 'ClaimOwnership'; } - /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (267) */ + /** @name PolymeshPrimitivesTransferComplianceTransferConditionExemptKey (264) */ interface PolymeshPrimitivesTransferComplianceTransferConditionExemptKey extends Struct { readonly assetId: PolymeshPrimitivesAssetAssetId; readonly op: PolymeshPrimitivesStatisticsStatOpType; readonly claimType: Option; } - /** @name PalletStoEvent (269) */ + /** @name PalletStoEvent (266) */ interface PalletStoEvent extends Enum { readonly isFundraiserCreated: boolean; readonly asFundraiserCreated: { @@ -3151,7 +2917,7 @@ declare module '@polkadot/types/lookup' { | 'FundraiserOffchainFundingEnabled'; } - /** @name PalletStoFundraiser (272) */ + /** @name PalletStoFundraiser (269) */ interface PalletStoFundraiser extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly offeringPortfolio: PolymeshPrimitivesIdentityIdPortfolioId; @@ -3166,14 +2932,14 @@ declare module '@polkadot/types/lookup' { readonly minimumInvestment: u128; } - /** @name PalletStoFundraiserTier (274) */ + /** @name PalletStoFundraiserTier (271) */ interface PalletStoFundraiserTier extends Struct { readonly total: u128; readonly price: u128; readonly remaining: u128; } - /** @name PalletStoFundraiserStatus (275) */ + /** @name PalletStoFundraiserStatus (272) */ interface PalletStoFundraiserStatus extends Enum { readonly isLive: boolean; readonly isFrozen: boolean; @@ -3182,7 +2948,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'Frozen' | 'Closed' | 'ClosedEarly'; } - /** @name PalletStoFundingAsset (276) */ + /** @name PalletStoFundingAsset (273) */ interface PalletStoFundingAsset extends Enum { readonly isOnChain: boolean; readonly asOnChain: PolymeshPrimitivesAssetAssetId; @@ -3191,7 +2957,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OnChain' | 'OffChain'; } - /** @name PalletTreasuryEvent (277) */ + /** @name PalletTreasuryEvent (274) */ interface PalletTreasuryEvent extends Enum { readonly isTreasuryDisbursement: boolean; readonly asTreasuryDisbursement: ITuple< @@ -3206,7 +2972,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'TreasuryDisbursement' | 'TreasuryDisbursementFailed' | 'TreasuryReimbursement'; } - /** @name PalletUtilityEvent (278) */ + /** @name PalletUtilityEvent (275) */ interface PalletUtilityEvent extends Enum { readonly isBatchInterrupted: boolean; readonly asBatchInterrupted: { @@ -3240,14 +3006,14 @@ declare module '@polkadot/types/lookup' { | 'RelayedTx'; } - /** @name PalletBaseEvent (279) */ + /** @name PalletBaseEvent (276) */ interface PalletBaseEvent extends Enum { readonly isUnexpectedError: boolean; readonly asUnexpectedError: Option; readonly type: 'UnexpectedError'; } - /** @name PalletExternalAgentsEvent (281) */ + /** @name PalletExternalAgentsEvent (278) */ interface PalletExternalAgentsEvent extends Enum { readonly isGroupCreated: boolean; readonly asGroupCreated: ITuple< @@ -3296,7 +3062,7 @@ declare module '@polkadot/types/lookup' { | 'GroupChanged'; } - /** @name PalletRelayerEvent (282) */ + /** @name PalletRelayerEvent (279) */ interface PalletRelayerEvent extends Enum { readonly isAuthorizedPayingKey: boolean; readonly asAuthorizedPayingKey: ITuple< @@ -3317,7 +3083,7 @@ declare module '@polkadot/types/lookup' { | 'UpdatedPolyxLimit'; } - /** @name PalletContractsEvent (283) */ + /** @name PalletContractsEvent (280) */ interface PalletContractsEvent extends Enum { readonly isInstantiated: boolean; readonly asInstantiated: { @@ -3332,8 +3098,6 @@ declare module '@polkadot/types/lookup' { readonly isCodeStored: boolean; readonly asCodeStored: { readonly codeHash: H256; - readonly depositHeld: u128; - readonly uploader: AccountId32; } & Struct; readonly isContractEmitted: boolean; readonly asContractEmitted: { @@ -3343,8 +3107,6 @@ declare module '@polkadot/types/lookup' { readonly isCodeRemoved: boolean; readonly asCodeRemoved: { readonly codeHash: H256; - readonly depositReleased: u128; - readonly remover: AccountId32; } & Struct; readonly isContractCodeUpdated: boolean; readonly asContractCodeUpdated: { @@ -3354,7 +3116,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isCalled: boolean; readonly asCalled: { - readonly caller: PalletContractsOrigin; + readonly caller: AccountId32; readonly contract: AccountId32; } & Struct; readonly isDelegateCalled: boolean; @@ -3362,18 +3124,6 @@ declare module '@polkadot/types/lookup' { readonly contract: AccountId32; readonly codeHash: H256; } & Struct; - readonly isStorageDepositTransferredAndHeld: boolean; - readonly asStorageDepositTransferredAndHeld: { - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - } & Struct; - readonly isStorageDepositTransferredAndReleased: boolean; - readonly asStorageDepositTransferredAndReleased: { - readonly from: AccountId32; - readonly to: AccountId32; - readonly amount: u128; - } & Struct; readonly type: | 'Instantiated' | 'Terminated' @@ -3382,23 +3132,10 @@ declare module '@polkadot/types/lookup' { | 'CodeRemoved' | 'ContractCodeUpdated' | 'Called' - | 'DelegateCalled' - | 'StorageDepositTransferredAndHeld' - | 'StorageDepositTransferredAndReleased'; - } - - /** @name PalletContractsOrigin (284) */ - interface PalletContractsOrigin extends Enum { - readonly isRoot: boolean; - readonly isSigned: boolean; - readonly asSigned: AccountId32; - readonly type: 'Root' | 'Signed'; + | 'DelegateCalled'; } - /** @name PolymeshRuntimeDevelopRuntime (285) */ - type PolymeshRuntimeDevelopRuntime = Null; - - /** @name PolymeshContractsEvent (286) */ + /** @name PolymeshContractsEvent (281) */ interface PolymeshContractsEvent extends Enum { readonly isApiHashUpdated: boolean; readonly asApiHashUpdated: ITuple<[PolymeshContractsApi, PolymeshContractsChainVersion, H256]>; @@ -3407,22 +3144,22 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApiHashUpdated' | 'ScRuntimeCall'; } - /** @name PolymeshContractsApi (287) */ + /** @name PolymeshContractsApi (282) */ interface PolymeshContractsApi extends Struct { readonly desc: U8aFixed; readonly major: u32; } - /** @name PolymeshContractsChainVersion (288) */ + /** @name PolymeshContractsChainVersion (283) */ interface PolymeshContractsChainVersion extends Struct { readonly specVersion: u32; readonly txVersion: u32; } - /** @name PolymeshContractsChainExtensionExtrinsicId (289) */ + /** @name PolymeshContractsChainExtensionExtrinsicId (284) */ interface PolymeshContractsChainExtensionExtrinsicId extends ITuple<[u8, u8]> {} - /** @name PalletPreimageEvent (290) */ + /** @name PalletPreimageEvent (285) */ interface PalletPreimageEvent extends Enum { readonly isNoted: boolean; readonly asNoted: { @@ -3439,7 +3176,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noted' | 'Requested' | 'Cleared'; } - /** @name PalletNftEvent (291) */ + /** @name PalletNftEvent (286) */ interface PalletNftEvent extends Enum { readonly isNftCollectionCreated: boolean; readonly asNftCollectionCreated: ITuple< @@ -3458,7 +3195,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NftCollectionCreated' | 'NftPortfolioUpdated'; } - /** @name PalletElectionProviderMultiPhaseEvent (293) */ + /** @name PalletElectionProviderMultiPhaseEvent (288) */ interface PalletElectionProviderMultiPhaseEvent extends Enum { readonly isSolutionStored: boolean; readonly asSolutionStored: { @@ -3497,7 +3234,7 @@ declare module '@polkadot/types/lookup' { | 'PhaseTransitioned'; } - /** @name PalletElectionProviderMultiPhaseElectionCompute (294) */ + /** @name PalletElectionProviderMultiPhaseElectionCompute (289) */ interface PalletElectionProviderMultiPhaseElectionCompute extends Enum { readonly isOnChain: boolean; readonly isSigned: boolean; @@ -3507,14 +3244,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'OnChain' | 'Signed' | 'Unsigned' | 'Fallback' | 'Emergency'; } - /** @name SpNposElectionsElectionScore (295) */ + /** @name SpNposElectionsElectionScore (290) */ interface SpNposElectionsElectionScore extends Struct { readonly minimalStake: u128; readonly sumStake: u128; readonly sumStakeSquared: u128; } - /** @name PalletElectionProviderMultiPhasePhase (296) */ + /** @name PalletElectionProviderMultiPhasePhase (291) */ interface PalletElectionProviderMultiPhasePhase extends Enum { readonly isOff: boolean; readonly isSigned: boolean; @@ -3524,28 +3261,241 @@ declare module '@polkadot/types/lookup' { readonly type: 'Off' | 'Signed' | 'Unsigned' | 'Emergency'; } - /** @name FrameSystemPhase (298) */ - interface FrameSystemPhase extends Enum { - readonly isApplyExtrinsic: boolean; - readonly asApplyExtrinsic: u32; - readonly isFinalization: boolean; - readonly isInitialization: boolean; - readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; - } - - /** @name FrameSystemLastRuntimeUpgradeInfo (301) */ + /** @name PalletConfidentialAssetsEvent (293) */ + interface PalletConfidentialAssetsEvent extends Enum { + readonly isAccountRegistered: boolean; + readonly asAccountRegistered: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly account: PolymeshDartBpKeysAccountPublicKey; + readonly encryptionKey: PolymeshDartBpKeysEncryptionPublicKey; + } & Struct; + readonly isEncryptionKeyRegistered: boolean; + readonly asEncryptionKeyRegistered: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly encryptionKey: PolymeshDartBpKeysEncryptionPublicKey; + } & Struct; + readonly isAssetCreated: boolean; + readonly asAssetCreated: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: u32; + readonly mediators: BTreeSet; + readonly auditors: BTreeSet; + readonly name: Text; + readonly symbol: Text; + readonly decimals: u8; + readonly data: Bytes; + } & Struct; + readonly isAssetUpdated: boolean; + readonly asAssetUpdated: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: u32; + readonly mediators: BTreeSet; + readonly auditors: BTreeSet; + } & Struct; + readonly isAccountAssetRegistered: boolean; + readonly asAccountAssetRegistered: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly account: PolymeshDartBpKeysAccountPublicKey; + readonly assetId: u32; + } & Struct; + readonly isAssetMinted: boolean; + readonly asAssetMinted: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly assetId: u32; + readonly amount: u128; + readonly totalSupply: u128; + readonly account: PolymeshDartBpKeysAccountPublicKey; + } & Struct; + readonly isFeeAccountUpdated: boolean; + readonly asFeeAccountUpdated: { + readonly callerDid: PolymeshPrimitivesIdentityId; + readonly account: PolymeshDartBpKeysAccountPublicKey; + readonly isRegistration: bool; + readonly amount: u128; + } & Struct; + readonly isSettlementCreated: boolean; + readonly asSettlementCreated: { + readonly settlementRef: PolymeshDartBpLegSettlementRef; + readonly memo: Bytes; + readonly assetRootBlock: u32; + readonly legs: Vec; + } & Struct; + readonly isSenderAffirmed: boolean; + readonly asSenderAffirmed: { + readonly legRef: PolymeshDartBpLegLegRef; + } & Struct; + readonly isReceiverAffirmed: boolean; + readonly asReceiverAffirmed: { + readonly legRef: PolymeshDartBpLegLegRef; + } & Struct; + readonly isMediatorAffirmed: boolean; + readonly asMediatorAffirmed: { + readonly legRef: PolymeshDartBpLegLegRef; + readonly keyIndex: u8; + } & Struct; + readonly isMediatorRejected: boolean; + readonly asMediatorRejected: { + readonly legRef: PolymeshDartBpLegLegRef; + readonly keyIndex: u8; + } & Struct; + readonly isSenderCounterUpdated: boolean; + readonly asSenderCounterUpdated: { + readonly legRef: PolymeshDartBpLegLegRef; + } & Struct; + readonly isSenderReverted: boolean; + readonly asSenderReverted: { + readonly legRef: PolymeshDartBpLegLegRef; + } & Struct; + readonly isReceiverClaimed: boolean; + readonly asReceiverClaimed: { + readonly legRef: PolymeshDartBpLegLegRef; + } & Struct; + readonly isSettlementStatusUpdated: boolean; + readonly asSettlementStatusUpdated: { + readonly settlementRef: PolymeshDartBpLegSettlementRef; + readonly status: PalletConfidentialAssetsSettlementSettlementStatus; + } & Struct; + readonly isAccountStateLeafInserted: boolean; + readonly asAccountStateLeafInserted: { + readonly leafIndex: u64; + readonly accountCommitment: PolymeshDartBpAccountAccountStateCommitment; + } & Struct; + readonly isFeeAccountStateLeafInserted: boolean; + readonly asFeeAccountStateLeafInserted: { + readonly leafIndex: u64; + readonly feeAccountCommitment: PolymeshDartBpFeeFeeAccountStateCommitment; + } & Struct; + readonly isAssetStateLeafUpdated: boolean; + readonly asAssetStateLeafUpdated: { + readonly leafIndex: u64; + readonly assetLeaf: PolymeshDartCurveTreeCommonCompressedLeafValue; + } & Struct; + readonly isAssetCurveTreeRootUpdated: boolean; + readonly asAssetCurveTreeRootUpdated: { + readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot; + } & Struct; + readonly isAccountCurveTreeRootUpdated: boolean; + readonly asAccountCurveTreeRootUpdated: { + readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot; + } & Struct; + readonly isFeeAccountCurveTreeRootUpdated: boolean; + readonly asFeeAccountCurveTreeRootUpdated: { + readonly root: PolymeshDartCurveTreeCompressedCurveTreeRoot; + } & Struct; + readonly isFeeAccountDeposited: boolean; + readonly asFeeAccountDeposited: { + readonly sender: AccountId32; + readonly amount: u128; + } & Struct; + readonly isFeeAccountWithdrawn: boolean; + readonly asFeeAccountWithdrawn: { + readonly receiver: AccountId32; + readonly amount: u128; + } & Struct; + readonly isRelayerBatchedProofs: boolean; + readonly asRelayerBatchedProofs: { + readonly relayer: AccountId32; + readonly amount: u128; + readonly batchHash: PolymeshDartBpBatchedProofHash; + readonly batchResult: Result; + } & Struct; + readonly type: + | 'AccountRegistered' + | 'EncryptionKeyRegistered' + | 'AssetCreated' + | 'AssetUpdated' + | 'AccountAssetRegistered' + | 'AssetMinted' + | 'FeeAccountUpdated' + | 'SettlementCreated' + | 'SenderAffirmed' + | 'ReceiverAffirmed' + | 'MediatorAffirmed' + | 'MediatorRejected' + | 'SenderCounterUpdated' + | 'SenderReverted' + | 'ReceiverClaimed' + | 'SettlementStatusUpdated' + | 'AccountStateLeafInserted' + | 'FeeAccountStateLeafInserted' + | 'AssetStateLeafUpdated' + | 'AssetCurveTreeRootUpdated' + | 'AccountCurveTreeRootUpdated' + | 'FeeAccountCurveTreeRootUpdated' + | 'FeeAccountDeposited' + | 'FeeAccountWithdrawn' + | 'RelayerBatchedProofs'; + } + + /** @name PolymeshDartBpKeysAccountPublicKey (294) */ + interface PolymeshDartBpKeysAccountPublicKey extends PolymeshDartBpEncodeCompressedAffine {} + + /** @name PolymeshDartBpEncodeCompressedAffine (295) */ + interface PolymeshDartBpEncodeCompressedAffine extends U8aFixed {} + + /** @name PolymeshDartBpKeysEncryptionPublicKey (296) */ + interface PolymeshDartBpKeysEncryptionPublicKey extends PolymeshDartBpEncodeCompressedAffine {} + + /** @name PolymeshDartBpLegSettlementRef (303) */ + interface PolymeshDartBpLegSettlementRef extends U8aFixed {} + + /** @name PolymeshDartBpLegLegRef (309) */ + interface PolymeshDartBpLegLegRef extends Struct { + readonly settlement: PolymeshDartBpLegSettlementRef; + readonly legId: u8; + } + + /** @name PalletConfidentialAssetsSettlementSettlementStatus (310) */ + interface PalletConfidentialAssetsSettlementSettlementStatus extends Enum { + readonly isPending: boolean; + readonly isExecuted: boolean; + readonly isRejected: boolean; + readonly isFinalized: boolean; + readonly type: 'Pending' | 'Executed' | 'Rejected' | 'Finalized'; + } + + /** @name PolymeshDartBpAccountAccountStateCommitment (311) */ + interface PolymeshDartBpAccountAccountStateCommitment + extends PolymeshDartBpEncodeCompressedAffine {} + + /** @name PolymeshDartBpFeeFeeAccountStateCommitment (312) */ + interface PolymeshDartBpFeeFeeAccountStateCommitment + extends PolymeshDartBpEncodeCompressedAffine {} + + /** @name PolymeshDartCurveTreeCommonCompressedLeafValue (313) */ + interface PolymeshDartCurveTreeCommonCompressedLeafValue extends Struct { + readonly point: PolymeshDartBpEncodeCompressedAffine; + } + + /** @name PolymeshDartCurveTreeCompressedCurveTreeRoot (314) */ + interface PolymeshDartCurveTreeCompressedCurveTreeRoot extends Struct { + readonly commitments: Vec; + readonly xCoordChildren: Vec>; + readonly height: u8; + } + + /** @name PolymeshDartBpEncodeCompressedBaseField (318) */ + interface PolymeshDartBpEncodeCompressedBaseField extends U8aFixed {} + + /** @name PolymeshDartBpBatchedProofHash (321) */ + interface PolymeshDartBpBatchedProofHash extends U8aFixed {} + + /** @name FrameSystemPhase (322) */ + interface FrameSystemPhase extends Enum { + readonly isApplyExtrinsic: boolean; + readonly asApplyExtrinsic: u32; + readonly isFinalization: boolean; + readonly isInitialization: boolean; + readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; + } + + /** @name FrameSystemLastRuntimeUpgradeInfo (325) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCodeUpgradeAuthorization (304) */ - interface FrameSystemCodeUpgradeAuthorization extends Struct { - readonly codeHash: H256; - readonly checkVersion: bool; - } - - /** @name FrameSystemCall (305) */ + /** @name FrameSystemCall (327) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3580,18 +3530,6 @@ declare module '@polkadot/types/lookup' { readonly asRemarkWithEvent: { readonly remark: Bytes; } & Struct; - readonly isAuthorizeUpgrade: boolean; - readonly asAuthorizeUpgrade: { - readonly codeHash: H256; - } & Struct; - readonly isAuthorizeUpgradeWithoutChecks: boolean; - readonly asAuthorizeUpgradeWithoutChecks: { - readonly codeHash: H256; - } & Struct; - readonly isApplyAuthorizedUpgrade: boolean; - readonly asApplyAuthorizedUpgrade: { - readonly code: Bytes; - } & Struct; readonly type: | 'Remark' | 'SetHeapPages' @@ -3600,27 +3538,24 @@ declare module '@polkadot/types/lookup' { | 'SetStorage' | 'KillStorage' | 'KillPrefix' - | 'RemarkWithEvent' - | 'AuthorizeUpgrade' - | 'AuthorizeUpgradeWithoutChecks' - | 'ApplyAuthorizedUpgrade'; + | 'RemarkWithEvent'; } - /** @name FrameSystemLimitsBlockWeights (309) */ + /** @name FrameSystemLimitsBlockWeights (331) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (310) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (332) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (311) */ + /** @name FrameSystemLimitsWeightsPerClass (333) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -3628,25 +3563,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (313) */ + /** @name FrameSystemLimitsBlockLength (335) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (314) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (336) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (315) */ + /** @name SpWeightsRuntimeDbWeight (337) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (316) */ + /** @name SpVersionRuntimeVersion (338) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -3655,10 +3590,10 @@ declare module '@polkadot/types/lookup' { readonly implVersion: u32; readonly apis: Vec>; readonly transactionVersion: u32; - readonly systemVersion: u8; + readonly stateVersion: u8; } - /** @name FrameSystemError (321) */ + /** @name FrameSystemError (343) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -3666,25 +3601,19 @@ declare module '@polkadot/types/lookup' { readonly isNonDefaultComposite: boolean; readonly isNonZeroRefCount: boolean; readonly isCallFiltered: boolean; - readonly isMultiBlockMigrationsOngoing: boolean; - readonly isNothingAuthorized: boolean; - readonly isUnauthorized: boolean; readonly type: | 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' - | 'CallFiltered' - | 'MultiBlockMigrationsOngoing' - | 'NothingAuthorized' - | 'Unauthorized'; + | 'CallFiltered'; } - /** @name SpConsensusBabeAppPublic (324) */ - interface SpConsensusBabeAppPublic extends U8aFixed {} + /** @name SpConsensusBabeAppPublic (346) */ + interface SpConsensusBabeAppPublic extends SpCoreSr25519Public {} - /** @name SpConsensusBabeDigestsNextConfigDescriptor (327) */ + /** @name SpConsensusBabeDigestsNextConfigDescriptor (349) */ interface SpConsensusBabeDigestsNextConfigDescriptor extends Enum { readonly isV1: boolean; readonly asV1: { @@ -3694,7 +3623,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V1'; } - /** @name SpConsensusBabeAllowedSlots (329) */ + /** @name SpConsensusBabeAllowedSlots (351) */ interface SpConsensusBabeAllowedSlots extends Enum { readonly isPrimarySlots: boolean; readonly isPrimaryAndSecondaryPlainSlots: boolean; @@ -3702,7 +3631,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimarySlots' | 'PrimaryAndSecondaryPlainSlots' | 'PrimaryAndSecondaryVRFSlots'; } - /** @name SpConsensusBabeDigestsPreDigest (333) */ + /** @name SpConsensusBabeDigestsPreDigest (355) */ interface SpConsensusBabeDigestsPreDigest extends Enum { readonly isPrimary: boolean; readonly asPrimary: SpConsensusBabeDigestsPrimaryPreDigest; @@ -3713,39 +3642,35 @@ declare module '@polkadot/types/lookup' { readonly type: 'Primary' | 'SecondaryPlain' | 'SecondaryVRF'; } - /** @name SpConsensusBabeDigestsPrimaryPreDigest (334) */ + /** @name SpConsensusBabeDigestsPrimaryPreDigest (356) */ interface SpConsensusBabeDigestsPrimaryPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; - readonly vrfSignature: SpCoreSr25519VrfVrfSignature; - } - - /** @name SpCoreSr25519VrfVrfSignature (335) */ - interface SpCoreSr25519VrfVrfSignature extends Struct { - readonly preOutput: U8aFixed; - readonly proof: U8aFixed; + readonly vrfOutput: U8aFixed; + readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (336) */ + /** @name SpConsensusBabeDigestsSecondaryPlainPreDigest (357) */ interface SpConsensusBabeDigestsSecondaryPlainPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; } - /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (337) */ + /** @name SpConsensusBabeDigestsSecondaryVRFPreDigest (358) */ interface SpConsensusBabeDigestsSecondaryVRFPreDigest extends Struct { readonly authorityIndex: u32; readonly slot: u64; - readonly vrfSignature: SpCoreSr25519VrfVrfSignature; + readonly vrfOutput: U8aFixed; + readonly vrfProof: U8aFixed; } - /** @name SpConsensusBabeBabeEpochConfiguration (338) */ + /** @name SpConsensusBabeBabeEpochConfiguration (359) */ interface SpConsensusBabeBabeEpochConfiguration extends Struct { readonly c: ITuple<[u64, u64]>; readonly allowedSlots: SpConsensusBabeAllowedSlots; } - /** @name PalletBabeCall (342) */ + /** @name PalletBabeCall (363) */ interface PalletBabeCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -3764,7 +3689,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'PlanConfigChange'; } - /** @name SpConsensusSlotsEquivocationProof (343) */ + /** @name SpConsensusSlotsEquivocationProof (364) */ interface SpConsensusSlotsEquivocationProof extends Struct { readonly offender: SpConsensusBabeAppPublic; readonly slot: u64; @@ -3772,7 +3697,7 @@ declare module '@polkadot/types/lookup' { readonly secondHeader: SpRuntimeHeader; } - /** @name SpRuntimeHeader (344) */ + /** @name SpRuntimeHeader (365) */ interface SpRuntimeHeader extends Struct { readonly parentHash: H256; readonly number: Compact; @@ -3781,14 +3706,17 @@ declare module '@polkadot/types/lookup' { readonly digest: SpRuntimeDigest; } - /** @name SpSessionMembershipProof (345) */ + /** @name SpRuntimeBlakeTwo256 (366) */ + type SpRuntimeBlakeTwo256 = Null; + + /** @name SpSessionMembershipProof (367) */ interface SpSessionMembershipProof extends Struct { readonly session: u32; readonly trieNodes: Vec; readonly validatorCount: u32; } - /** @name PalletBabeError (346) */ + /** @name PalletBabeError (368) */ interface PalletBabeError extends Enum { readonly isInvalidEquivocationProof: boolean; readonly isInvalidKeyOwnershipProof: boolean; @@ -3801,7 +3729,7 @@ declare module '@polkadot/types/lookup' { | 'InvalidConfiguration'; } - /** @name PalletTimestampCall (347) */ + /** @name PalletTimestampCall (369) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3810,7 +3738,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletIndicesCall (349) */ + /** @name PalletIndicesCall (371) */ interface PalletIndicesCall extends Enum { readonly isClaim: boolean; readonly asClaim: { @@ -3835,14 +3763,10 @@ declare module '@polkadot/types/lookup' { readonly asFreeze: { readonly index: u32; } & Struct; - readonly isPokeDeposit: boolean; - readonly asPokeDeposit: { - readonly index: u32; - } & Struct; - readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze' | 'PokeDeposit'; + readonly type: 'Claim' | 'Transfer' | 'Free' | 'ForceTransfer' | 'Freeze'; } - /** @name PalletIndicesError (351) */ + /** @name PalletIndicesError (373) */ interface PalletIndicesError extends Enum { readonly isNotAssigned: boolean; readonly isNotOwner: boolean; @@ -3852,14 +3776,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotAssigned' | 'NotOwner' | 'InUse' | 'NotTransfer' | 'Permanent'; } - /** @name PalletBalancesBalanceLock (353) */ + /** @name PalletBalancesBalanceLock (375) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (354) */ + /** @name PalletBalancesReasons (376) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -3867,164 +3791,71 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (357) */ - interface PalletBalancesReserveData extends Struct { - readonly id: U8aFixed; - readonly amount: u128; - } - - /** @name PolymeshRuntimeDevelopRuntimeRuntimeHoldReason (361) */ - interface PolymeshRuntimeDevelopRuntimeRuntimeHoldReason extends Enum { - readonly isStaking: boolean; - readonly asStaking: PalletStakingPalletHoldReason; - readonly isContracts: boolean; - readonly asContracts: PalletContractsHoldReason; - readonly isPreimage: boolean; - readonly asPreimage: PalletPreimageHoldReason; - readonly type: 'Staking' | 'Contracts' | 'Preimage'; - } - - /** @name PalletStakingPalletHoldReason (362) */ - interface PalletStakingPalletHoldReason extends Enum { - readonly isStaking: boolean; - readonly type: 'Staking'; - } - - /** @name PalletContractsHoldReason (363) */ - interface PalletContractsHoldReason extends Enum { - readonly isCodeUploadDepositReserve: boolean; - readonly isStorageDepositReserve: boolean; - readonly type: 'CodeUploadDepositReserve' | 'StorageDepositReserve'; - } - - /** @name PalletPreimageHoldReason (364) */ - interface PalletPreimageHoldReason extends Enum { - readonly isPreimage: boolean; - readonly type: 'Preimage'; - } - - /** @name FrameSupportTokensMiscIdAmount (367) */ - interface FrameSupportTokensMiscIdAmount extends Struct { - readonly id: U8aFixed; - readonly amount: u128; - } - - /** @name PalletBalancesCall (369) */ + /** @name PalletBalancesCall (377) */ interface PalletBalancesCall extends Enum { - readonly isTransferAllowDeath: boolean; - readonly asTransferAllowDeath: { + readonly isTransfer: boolean; + readonly asTransfer: { readonly dest: MultiAddress; readonly value: Compact; } & Struct; - readonly isForceTransfer: boolean; - readonly asForceTransfer: { - readonly source: MultiAddress; + readonly isTransferWithMemo: boolean; + readonly asTransferWithMemo: { readonly dest: MultiAddress; readonly value: Compact; + readonly memo: Option; } & Struct; - readonly isTransferKeepAlive: boolean; - readonly asTransferKeepAlive: { - readonly dest: MultiAddress; + readonly isDepositBlockRewardReserveBalance: boolean; + readonly asDepositBlockRewardReserveBalance: { readonly value: Compact; } & Struct; - readonly isTransferAll: boolean; - readonly asTransferAll: { - readonly dest: MultiAddress; - readonly keepAlive: bool; - } & Struct; - readonly isForceUnreserve: boolean; - readonly asForceUnreserve: { - readonly who: MultiAddress; - readonly amount: u128; - } & Struct; - readonly isUpgradeAccounts: boolean; - readonly asUpgradeAccounts: { - readonly who: Vec; - } & Struct; - readonly isForceSetBalance: boolean; - readonly asForceSetBalance: { + readonly isSetBalance: boolean; + readonly asSetBalance: { readonly who: MultiAddress; readonly newFree: Compact; + readonly newReserved: Compact; } & Struct; - readonly isForceAdjustTotalIssuance: boolean; - readonly asForceAdjustTotalIssuance: { - readonly direction: PalletBalancesAdjustmentDirection; - readonly delta: Compact; - } & Struct; - readonly isBurn: boolean; - readonly asBurn: { - readonly value: Compact; - readonly keepAlive: bool; - } & Struct; - readonly isTransferWithMemo: boolean; - readonly asTransferWithMemo: { + readonly isForceTransfer: boolean; + readonly asForceTransfer: { + readonly source: MultiAddress; readonly dest: MultiAddress; readonly value: Compact; - readonly memo: Option; + } & Struct; + readonly isBurnAccountBalance: boolean; + readonly asBurnAccountBalance: { + readonly amount: u128; } & Struct; readonly type: - | 'TransferAllowDeath' + | 'Transfer' + | 'TransferWithMemo' + | 'DepositBlockRewardReserveBalance' + | 'SetBalance' | 'ForceTransfer' - | 'TransferKeepAlive' - | 'TransferAll' - | 'ForceUnreserve' - | 'UpgradeAccounts' - | 'ForceSetBalance' - | 'ForceAdjustTotalIssuance' - | 'Burn' - | 'TransferWithMemo'; + | 'BurnAccountBalance'; } - /** @name PalletBalancesAdjustmentDirection (370) */ - interface PalletBalancesAdjustmentDirection extends Enum { - readonly isIncrease: boolean; - readonly isDecrease: boolean; - readonly type: 'Increase' | 'Decrease'; - } - - /** @name PalletBalancesError (371) */ + /** @name PalletBalancesError (378) */ interface PalletBalancesError extends Enum { - readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; + readonly isOverflow: boolean; readonly isInsufficientBalance: boolean; readonly isExistentialDeposit: boolean; - readonly isExpendability: boolean; - readonly isExistingVestingSchedule: boolean; - readonly isDeadAccount: boolean; - readonly isTooManyReserves: boolean; - readonly isTooManyHolds: boolean; - readonly isTooManyFreezes: boolean; - readonly isIssuanceDeactivated: boolean; - readonly isDeltaZero: boolean; - readonly isLockIdentifierNotFound: boolean; - readonly isOverflow: boolean; - readonly isMaxLocksExceeded: boolean; + readonly isReceiverCddMissing: boolean; readonly type: - | 'VestingBalance' | 'LiquidityRestrictions' + | 'Overflow' | 'InsufficientBalance' | 'ExistentialDeposit' - | 'Expendability' - | 'ExistingVestingSchedule' - | 'DeadAccount' - | 'TooManyReserves' - | 'TooManyHolds' - | 'TooManyFreezes' - | 'IssuanceDeactivated' - | 'DeltaZero' - | 'LockIdentifierNotFound' - | 'Overflow' - | 'MaxLocksExceeded'; + | 'ReceiverCddMissing'; } - /** @name PalletTransactionPaymentReleases (373) */ + /** @name PalletTransactionPaymentReleases (380) */ interface PalletTransactionPaymentReleases extends Enum { readonly isV1Ancient: boolean; readonly isV2: boolean; readonly type: 'V1Ancient' | 'V2'; } - /** @name PalletTransactionPaymentCall (374) */ + /** @name PalletTransactionPaymentCall (381) */ interface PalletTransactionPaymentCall extends Enum { readonly isSetDisableFees: boolean; readonly asSetDisableFees: { @@ -4033,24 +3864,32 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetDisableFees'; } - /** @name PolymeshPrimitivesIdentityDidRecord (375) */ + /** @name SpWeightsWeightToFeeCoefficient (383) */ + interface SpWeightsWeightToFeeCoefficient extends Struct { + readonly coeffInteger: u128; + readonly coeffFrac: Perbill; + readonly negative: bool; + readonly degree: u8; + } + + /** @name PolymeshPrimitivesIdentityDidRecord (384) */ interface PolymeshPrimitivesIdentityDidRecord extends Struct { readonly primaryKey: Option; } - /** @name PalletIdentityClaim1stKey (377) */ + /** @name PalletIdentityClaim1stKey (386) */ interface PalletIdentityClaim1stKey extends Struct { readonly target: PolymeshPrimitivesIdentityId; readonly claimType: PolymeshPrimitivesIdentityClaimClaimType; } - /** @name PalletIdentityClaim2ndKey (378) */ + /** @name PalletIdentityClaim2ndKey (387) */ interface PalletIdentityClaim2ndKey extends Struct { readonly issuer: PolymeshPrimitivesIdentityId; readonly scope: Option; } - /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (379) */ + /** @name PolymeshPrimitivesSecondaryKeyKeyRecord (388) */ interface PolymeshPrimitivesSecondaryKeyKeyRecord extends Enum { readonly isPrimaryKey: boolean; readonly asPrimaryKey: PolymeshPrimitivesIdentityId; @@ -4061,7 +3900,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PrimaryKey' | 'SecondaryKey' | 'MultiSigSignerKey'; } - /** @name PolymeshPrimitivesSecondaryKeySignatory (382) */ + /** @name PolymeshPrimitivesSecondaryKeySignatory (391) */ interface PolymeshPrimitivesSecondaryKeySignatory extends Enum { readonly isIdentity: boolean; readonly asIdentity: PolymeshPrimitivesIdentityId; @@ -4070,7 +3909,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Identity' | 'Account'; } - /** @name PolymeshPrimitivesAuthorization (383) */ + /** @name PolymeshPrimitivesAuthorization (392) */ interface PolymeshPrimitivesAuthorization extends Struct { readonly authorizationData: PolymeshPrimitivesAuthorizationAuthorizationData; readonly authorizedBy: PolymeshPrimitivesIdentityId; @@ -4079,7 +3918,7 @@ declare module '@polkadot/types/lookup' { readonly count: u32; } - /** @name PalletIdentityCall (387) */ + /** @name PalletIdentityCall (396) */ interface PalletIdentityCall extends Enum { readonly isCddRegisterDid: boolean; readonly asCddRegisterDid: { @@ -4214,19 +4053,19 @@ declare module '@polkadot/types/lookup' { | 'UnlinkChildIdentity'; } - /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (389) */ + /** @name PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth (398) */ interface PolymeshCommonUtilitiesIdentitySecondaryKeyWithAuth extends Struct { readonly secondaryKey: PolymeshPrimitivesSecondaryKey; readonly authSignature: H512; } - /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (392) */ + /** @name PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth (401) */ interface PolymeshCommonUtilitiesIdentityCreateChildIdentityWithAuth extends Struct { readonly key: AccountId32; readonly authSignature: H512; } - /** @name PalletIdentityError (393) */ + /** @name PalletIdentityError (402) */ interface PalletIdentityError extends Enum { readonly isAlreadyLinked: boolean; readonly isMissingIdentity: boolean; @@ -4307,14 +4146,14 @@ declare module '@polkadot/types/lookup' { | 'UnauthorizedCallerMissingPermissions'; } - /** @name PolymeshPrimitivesGroupInactiveMember (395) */ + /** @name PolymeshPrimitivesGroupInactiveMember (404) */ interface PolymeshPrimitivesGroupInactiveMember extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly deactivatedAt: u64; readonly expiry: Option; } - /** @name PalletGroupCall (396) */ + /** @name PalletGroupCall (405) */ interface PalletGroupCall extends Enum { readonly isSetActiveMembersLimit: boolean; readonly asSetActiveMembersLimit: { @@ -4354,7 +4193,7 @@ declare module '@polkadot/types/lookup' { | 'AbdicateMembership'; } - /** @name PalletGroupError (397) */ + /** @name PalletGroupError (406) */ interface PalletGroupError extends Enum { readonly isOnlyPrimaryKeyAllowed: boolean; readonly isDuplicateMember: boolean; @@ -4371,7 +4210,7 @@ declare module '@polkadot/types/lookup' { | 'ActiveMembersLimitOverflow'; } - /** @name PalletCommitteeCall (399) */ + /** @name PalletCommitteeCall (408) */ interface PalletCommitteeCall extends Enum { readonly isSetVoteThreshold: boolean; readonly asSetVoteThreshold: { @@ -4405,7 +4244,7 @@ declare module '@polkadot/types/lookup' { | 'Vote'; } - /** @name PalletMultisigCall (405) */ + /** @name PalletMultisigCall (414) */ interface PalletMultisigCall extends Enum { readonly isCreateMultisig: boolean; readonly asCreateMultisig: { @@ -4505,54 +4344,11 @@ declare module '@polkadot/types/lookup' { | 'RemoveAdmin'; } - /** @name PalletValidatorsCall (407) */ - interface PalletValidatorsCall extends Enum { - readonly isAddPermissionedValidator: boolean; - readonly asAddPermissionedValidator: { - readonly identity: PolymeshPrimitivesIdentityId; - readonly intendedCount: Option; - } & Struct; - readonly isRemovePermissionedValidator: boolean; - readonly asRemovePermissionedValidator: { - readonly identity: PolymeshPrimitivesIdentityId; - } & Struct; - readonly isPayoutStakersBySystem: boolean; - readonly asPayoutStakersBySystem: { - readonly validatorStash: AccountId32; - readonly era: u32; - } & Struct; - readonly isChangeSlashingAllowedFor: boolean; - readonly asChangeSlashingAllowedFor: { - readonly slashingSwitch: PalletValidatorsSlashingSwitch; - } & Struct; - readonly isUpdatePermissionedValidatorIntendedCount: boolean; - readonly asUpdatePermissionedValidatorIntendedCount: { - readonly identity: PolymeshPrimitivesIdentityId; - readonly newIntendedCount: u32; - } & Struct; - readonly isChillFromGovernance: boolean; - readonly asChillFromGovernance: { - readonly identity: PolymeshPrimitivesIdentityId; - readonly stashKeys: Vec; - } & Struct; - readonly isSetCommissionCap: boolean; - readonly asSetCommissionCap: { - readonly newCap: Perbill; - } & Struct; - readonly type: - | 'AddPermissionedValidator' - | 'RemovePermissionedValidator' - | 'PayoutStakersBySystem' - | 'ChangeSlashingAllowedFor' - | 'UpdatePermissionedValidatorIntendedCount' - | 'ChillFromGovernance' - | 'SetCommissionCap'; - } - - /** @name PalletStakingPalletCall (408) */ + /** @name PalletStakingPalletCall (416) */ interface PalletStakingPalletCall extends Enum { readonly isBond: boolean; readonly asBond: { + readonly controller: MultiAddress; readonly value: Compact; readonly payee: PalletStakingRewardDestination; } & Struct; @@ -4582,6 +4378,9 @@ declare module '@polkadot/types/lookup' { readonly payee: PalletStakingRewardDestination; } & Struct; readonly isSetController: boolean; + readonly asSetController: { + readonly controller: MultiAddress; + } & Struct; readonly isSetValidatorCount: boolean; readonly asSetValidatorCount: { readonly new_: Compact; @@ -4637,11 +4436,10 @@ declare module '@polkadot/types/lookup' { readonly maxValidatorCount: PalletStakingPalletConfigOpU32; readonly chillThreshold: PalletStakingPalletConfigOpPercent; readonly minCommission: PalletStakingPalletConfigOpPerbill; - readonly maxStakedRewards: PalletStakingPalletConfigOpPercent; } & Struct; readonly isChillOther: boolean; readonly asChillOther: { - readonly stash: AccountId32; + readonly controller: AccountId32; } & Struct; readonly isForceApplyMinCommission: boolean; readonly asForceApplyMinCommission: { @@ -4651,36 +4449,37 @@ declare module '@polkadot/types/lookup' { readonly asSetMinCommission: { readonly new_: Perbill; } & Struct; - readonly isPayoutStakersByPage: boolean; - readonly asPayoutStakersByPage: { + readonly isAddPermissionedValidator: boolean; + readonly asAddPermissionedValidator: { + readonly identity: PolymeshPrimitivesIdentityId; + readonly intendedCount: Option; + } & Struct; + readonly isRemovePermissionedValidator: boolean; + readonly asRemovePermissionedValidator: { + readonly identity: PolymeshPrimitivesIdentityId; + } & Struct; + readonly isPayoutStakersBySystem: boolean; + readonly asPayoutStakersBySystem: { readonly validatorStash: AccountId32; readonly era: u32; - readonly page: u32; } & Struct; - readonly isUpdatePayee: boolean; - readonly asUpdatePayee: { - readonly controller: AccountId32; - } & Struct; - readonly isDeprecateControllerBatch: boolean; - readonly asDeprecateControllerBatch: { - readonly controllers: Vec; + readonly isChangeSlashingAllowedFor: boolean; + readonly asChangeSlashingAllowedFor: { + readonly slashingSwitch: PalletStakingSlashingSwitch; } & Struct; - readonly isRestoreLedger: boolean; - readonly asRestoreLedger: { - readonly stash: AccountId32; - readonly maybeController: Option; - readonly maybeTotal: Option; - readonly maybeUnlocking: Option>; + readonly isUpdatePermissionedValidatorIntendedCount: boolean; + readonly asUpdatePermissionedValidatorIntendedCount: { + readonly identity: PolymeshPrimitivesIdentityId; + readonly newIntendedCount: u32; } & Struct; - readonly isMigrateCurrency: boolean; - readonly asMigrateCurrency: { - readonly stash: AccountId32; + readonly isChillFromGovernance: boolean; + readonly asChillFromGovernance: { + readonly identity: PolymeshPrimitivesIdentityId; + readonly stashKeys: Vec; } & Struct; - readonly isManualSlash: boolean; - readonly asManualSlash: { - readonly validatorStash: AccountId32; - readonly era: u32; - readonly slashFraction: Perbill; + readonly isSetCommissionCap: boolean; + readonly asSetCommissionCap: { + readonly newCap: Perbill; } & Struct; readonly type: | 'Bond' @@ -4709,15 +4508,27 @@ declare module '@polkadot/types/lookup' { | 'ChillOther' | 'ForceApplyMinCommission' | 'SetMinCommission' - | 'PayoutStakersByPage' - | 'UpdatePayee' - | 'DeprecateControllerBatch' - | 'RestoreLedger' - | 'MigrateCurrency' - | 'ManualSlash'; + | 'AddPermissionedValidator' + | 'RemovePermissionedValidator' + | 'PayoutStakersBySystem' + | 'ChangeSlashingAllowedFor' + | 'UpdatePermissionedValidatorIntendedCount' + | 'ChillFromGovernance' + | 'SetCommissionCap'; + } + + /** @name PalletStakingRewardDestination (417) */ + interface PalletStakingRewardDestination extends Enum { + readonly isStaked: boolean; + readonly isStash: boolean; + readonly isController: boolean; + readonly isAccount: boolean; + readonly asAccount: AccountId32; + readonly isNone: boolean; + readonly type: 'Staked' | 'Stash' | 'Controller' | 'Account' | 'None'; } - /** @name PalletStakingPalletConfigOpU128 (412) */ + /** @name PalletStakingPalletConfigOpU128 (421) */ interface PalletStakingPalletConfigOpU128 extends Enum { readonly isNoop: boolean; readonly isSet: boolean; @@ -4726,7 +4537,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noop' | 'Set' | 'Remove'; } - /** @name PalletStakingPalletConfigOpU32 (413) */ + /** @name PalletStakingPalletConfigOpU32 (422) */ interface PalletStakingPalletConfigOpU32 extends Enum { readonly isNoop: boolean; readonly isSet: boolean; @@ -4735,7 +4546,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noop' | 'Set' | 'Remove'; } - /** @name PalletStakingPalletConfigOpPercent (414) */ + /** @name PalletStakingPalletConfigOpPercent (423) */ interface PalletStakingPalletConfigOpPercent extends Enum { readonly isNoop: boolean; readonly isSet: boolean; @@ -4744,7 +4555,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noop' | 'Set' | 'Remove'; } - /** @name PalletStakingPalletConfigOpPerbill (415) */ + /** @name PalletStakingPalletConfigOpPerbill (424) */ interface PalletStakingPalletConfigOpPerbill extends Enum { readonly isNoop: boolean; readonly isSet: boolean; @@ -4753,13 +4564,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Noop' | 'Set' | 'Remove'; } - /** @name PalletStakingUnlockChunk (419) */ - interface PalletStakingUnlockChunk extends Struct { - readonly value: Compact; - readonly era: Compact; - } - - /** @name PalletSessionCall (421) */ + /** @name PalletSessionCall (426) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { @@ -4770,7 +4575,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name PolymeshRuntimeDevelopRuntimeSessionKeys (422) */ + /** @name PolymeshRuntimeDevelopRuntimeSessionKeys (427) */ interface PolymeshRuntimeDevelopRuntimeSessionKeys extends Struct { readonly grandpa: SpConsensusGrandpaAppPublic; readonly babe: SpConsensusBabeAppPublic; @@ -4778,10 +4583,10 @@ declare module '@polkadot/types/lookup' { readonly authorityDiscovery: SpAuthorityDiscoveryAppPublic; } - /** @name SpAuthorityDiscoveryAppPublic (423) */ - interface SpAuthorityDiscoveryAppPublic extends U8aFixed {} + /** @name SpAuthorityDiscoveryAppPublic (428) */ + interface SpAuthorityDiscoveryAppPublic extends SpCoreSr25519Public {} - /** @name PalletGrandpaCall (424) */ + /** @name PalletGrandpaCall (429) */ interface PalletGrandpaCall extends Enum { readonly isReportEquivocation: boolean; readonly asReportEquivocation: { @@ -4801,13 +4606,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportEquivocation' | 'ReportEquivocationUnsigned' | 'NoteStalled'; } - /** @name SpConsensusGrandpaEquivocationProof (425) */ + /** @name SpConsensusGrandpaEquivocationProof (430) */ interface SpConsensusGrandpaEquivocationProof extends Struct { readonly setId: u64; readonly equivocation: SpConsensusGrandpaEquivocation; } - /** @name SpConsensusGrandpaEquivocation (426) */ + /** @name SpConsensusGrandpaEquivocation (431) */ interface SpConsensusGrandpaEquivocation extends Enum { readonly isPrevote: boolean; readonly asPrevote: FinalityGrandpaEquivocationPrevote; @@ -4816,7 +4621,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Prevote' | 'Precommit'; } - /** @name FinalityGrandpaEquivocationPrevote (427) */ + /** @name FinalityGrandpaEquivocationPrevote (432) */ interface FinalityGrandpaEquivocationPrevote extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4824,16 +4629,19 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrevote, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrevote (428) */ + /** @name FinalityGrandpaPrevote (433) */ interface FinalityGrandpaPrevote extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name SpConsensusGrandpaAppSignature (429) */ - interface SpConsensusGrandpaAppSignature extends U8aFixed {} + /** @name SpConsensusGrandpaAppSignature (434) */ + interface SpConsensusGrandpaAppSignature extends SpCoreEd25519Signature {} - /** @name FinalityGrandpaEquivocationPrecommit (431) */ + /** @name SpCoreEd25519Signature (435) */ + interface SpCoreEd25519Signature extends U8aFixed {} + + /** @name FinalityGrandpaEquivocationPrecommit (437) */ interface FinalityGrandpaEquivocationPrecommit extends Struct { readonly roundNumber: u64; readonly identity: SpConsensusGrandpaAppPublic; @@ -4841,13 +4649,13 @@ declare module '@polkadot/types/lookup' { readonly second: ITuple<[FinalityGrandpaPrecommit, SpConsensusGrandpaAppSignature]>; } - /** @name FinalityGrandpaPrecommit (432) */ + /** @name FinalityGrandpaPrecommit (438) */ interface FinalityGrandpaPrecommit extends Struct { readonly targetHash: H256; readonly targetNumber: u32; } - /** @name PalletImOnlineCall (434) */ + /** @name PalletImOnlineCall (440) */ interface PalletImOnlineCall extends Enum { readonly isHeartbeat: boolean; readonly asHeartbeat: { @@ -4857,18 +4665,28 @@ declare module '@polkadot/types/lookup' { readonly type: 'Heartbeat'; } - /** @name PalletImOnlineHeartbeat (435) */ + /** @name PalletImOnlineHeartbeat (441) */ interface PalletImOnlineHeartbeat extends Struct { readonly blockNumber: u32; + readonly networkState: SpCoreOffchainOpaqueNetworkState; readonly sessionIndex: u32; readonly authorityIndex: u32; readonly validatorsLen: u32; } - /** @name PalletImOnlineSr25519AppSr25519Signature (436) */ - interface PalletImOnlineSr25519AppSr25519Signature extends U8aFixed {} + /** @name SpCoreOffchainOpaqueNetworkState (442) */ + interface SpCoreOffchainOpaqueNetworkState extends Struct { + readonly peerId: OpaquePeerId; + readonly externalAddresses: Vec; + } + + /** @name PalletImOnlineSr25519AppSr25519Signature (446) */ + interface PalletImOnlineSr25519AppSr25519Signature extends SpCoreSr25519Signature {} + + /** @name SpCoreSr25519Signature (447) */ + interface SpCoreSr25519Signature extends U8aFixed {} - /** @name PalletSudoCall (437) */ + /** @name PalletSudoCall (448) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -4891,7 +4709,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs'; } - /** @name PalletAssetCall (438) */ + /** @name PalletAssetCall (449) */ interface PalletAssetCall extends Enum { readonly isRegisterUniqueTicker: boolean; readonly asRegisterUniqueTicker: { @@ -5105,7 +4923,7 @@ declare module '@polkadot/types/lookup' { | 'UpdateGlobalMetadataSpec'; } - /** @name PalletCorporateActionsDistributionPalletCall (441) */ + /** @name PalletCorporateActionsDistributionPalletCall (452) */ interface PalletCorporateActionsDistributionPalletCall extends Enum { readonly isDistribute: boolean; readonly asDistribute: { @@ -5137,7 +4955,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Distribute' | 'Claim' | 'PushBenefit' | 'Reclaim' | 'RemoveDistribution'; } - /** @name PalletAssetCheckpointPalletCall (443) */ + /** @name PalletAssetCheckpointPalletCall (454) */ interface PalletAssetCheckpointPalletCall extends Enum { readonly isCreateCheckpoint: boolean; readonly asCreateCheckpoint: { @@ -5164,7 +4982,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveSchedule'; } - /** @name PalletComplianceManagerCall (444) */ + /** @name PalletComplianceManagerCall (455) */ interface PalletComplianceManagerCall extends Enum { readonly isAddComplianceRequirement: boolean; readonly asAddComplianceRequirement: { @@ -5221,7 +5039,7 @@ declare module '@polkadot/types/lookup' { | 'ChangeComplianceRequirement'; } - /** @name PalletCorporateActionsCall (445) */ + /** @name PalletCorporateActionsCall (456) */ interface PalletCorporateActionsCall extends Enum { readonly isSetMaxDetailsLength: boolean; readonly asSetMaxDetailsLength: { @@ -5298,7 +5116,7 @@ declare module '@polkadot/types/lookup' { | 'InitiateCorporateActionAndBallot'; } - /** @name PalletCorporateActionsRecordDateSpec (447) */ + /** @name PalletCorporateActionsRecordDateSpec (458) */ interface PalletCorporateActionsRecordDateSpec extends Enum { readonly isScheduled: boolean; readonly asScheduled: u64; @@ -5309,7 +5127,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Scheduled' | 'ExistingSchedule' | 'Existing'; } - /** @name PalletCorporateActionsInitiateCorporateActionArgs (450) */ + /** @name PalletCorporateActionsInitiateCorporateActionArgs (461) */ interface PalletCorporateActionsInitiateCorporateActionArgs extends Struct { readonly assetId: PolymeshPrimitivesAssetAssetId; readonly kind: PalletCorporateActionsCaKind; @@ -5321,7 +5139,7 @@ declare module '@polkadot/types/lookup' { readonly withholdingTax: Option>>; } - /** @name PalletCorporateActionsBallotPalletCall (451) */ + /** @name PalletCorporateActionsBallotPalletCall (462) */ interface PalletCorporateActionsBallotPalletCall extends Enum { readonly isAttachBallot: boolean; readonly asAttachBallot: { @@ -5363,7 +5181,7 @@ declare module '@polkadot/types/lookup' { | 'RemoveBallot'; } - /** @name PalletPipsCall (452) */ + /** @name PalletPipsCall (463) */ interface PalletPipsCall extends Enum { readonly isSetPruneHistoricalPips: boolean; readonly asSetPruneHistoricalPips: { @@ -5454,7 +5272,7 @@ declare module '@polkadot/types/lookup' { | 'ExpireScheduledPip'; } - /** @name PalletPipsSnapshotResult (455) */ + /** @name PalletPipsSnapshotResult (466) */ interface PalletPipsSnapshotResult extends Enum { readonly isApprove: boolean; readonly isReject: boolean; @@ -5462,7 +5280,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Approve' | 'Reject' | 'Skip'; } - /** @name PalletPortfolioCall (456) */ + /** @name PalletPortfolioCall (467) */ interface PalletPortfolioCall extends Enum { readonly isCreatePortfolio: boolean; readonly asCreatePortfolio: { @@ -5528,13 +5346,13 @@ declare module '@polkadot/types/lookup' { | 'CreateCustodyPortfolio'; } - /** @name PolymeshPrimitivesPortfolioFund (458) */ + /** @name PolymeshPrimitivesPortfolioFund (469) */ interface PolymeshPrimitivesPortfolioFund extends Struct { readonly description: PolymeshPrimitivesPortfolioFundDescription; readonly memo: Option; } - /** @name PalletProtocolFeeCall (459) */ + /** @name PalletProtocolFeeCall (470) */ interface PalletProtocolFeeCall extends Enum { readonly isChangeCoefficient: boolean; readonly asChangeCoefficient: { @@ -5548,7 +5366,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ChangeCoefficient' | 'ChangeBaseFee'; } - /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (460) */ + /** @name PolymeshCommonUtilitiesProtocolFeeProtocolOp (471) */ interface PolymeshCommonUtilitiesProtocolFeeProtocolOp extends Enum { readonly isAssetRegisterTicker: boolean; readonly isAssetIssue: boolean; @@ -5585,7 +5403,7 @@ declare module '@polkadot/types/lookup' { | 'IdentityCreateChildIdentity'; } - /** @name PalletSchedulerCall (461) */ + /** @name PalletSchedulerCall (472) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -5626,40 +5444,16 @@ declare module '@polkadot/types/lookup' { readonly priority: u8; readonly call: Call; } & Struct; - readonly isSetRetry: boolean; - readonly asSetRetry: { - readonly task: ITuple<[u32, u32]>; - readonly retries: u8; - readonly period: u32; - } & Struct; - readonly isSetRetryNamed: boolean; - readonly asSetRetryNamed: { - readonly id: U8aFixed; - readonly retries: u8; - readonly period: u32; - } & Struct; - readonly isCancelRetry: boolean; - readonly asCancelRetry: { - readonly task: ITuple<[u32, u32]>; - } & Struct; - readonly isCancelRetryNamed: boolean; - readonly asCancelRetryNamed: { - readonly id: U8aFixed; - } & Struct; readonly type: | 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' - | 'ScheduleNamedAfter' - | 'SetRetry' - | 'SetRetryNamed' - | 'CancelRetry' - | 'CancelRetryNamed'; + | 'ScheduleNamedAfter'; } - /** @name PalletSettlementCall (463) */ + /** @name PalletSettlementCall (474) */ interface PalletSettlementCall extends Enum { readonly isCreateVenue: boolean; readonly asCreateVenue: { @@ -5845,7 +5639,7 @@ declare module '@polkadot/types/lookup' { | 'LockInstruction'; } - /** @name PolymeshPrimitivesSettlementReceiptDetails (465) */ + /** @name PolymeshPrimitivesSettlementReceiptDetails (476) */ interface PolymeshPrimitivesSettlementReceiptDetails extends Struct { readonly uid: u64; readonly instructionId: u64; @@ -5855,32 +5649,35 @@ declare module '@polkadot/types/lookup' { readonly metadata: Option; } - /** @name SpRuntimeMultiSignature (466) */ + /** @name SpRuntimeMultiSignature (477) */ interface SpRuntimeMultiSignature extends Enum { readonly isEd25519: boolean; - readonly asEd25519: U8aFixed; + readonly asEd25519: SpCoreEd25519Signature; readonly isSr25519: boolean; - readonly asSr25519: U8aFixed; + readonly asSr25519: SpCoreSr25519Signature; readonly isEcdsa: boolean; - readonly asEcdsa: U8aFixed; + readonly asEcdsa: SpCoreEcdsaSignature; readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa'; } - /** @name PolymeshPrimitivesSettlementAffirmationCount (470) */ + /** @name SpCoreEcdsaSignature (478) */ + interface SpCoreEcdsaSignature extends U8aFixed {} + + /** @name PolymeshPrimitivesSettlementAffirmationCount (482) */ interface PolymeshPrimitivesSettlementAffirmationCount extends Struct { readonly senderAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly receiverAssetCount: PolymeshPrimitivesSettlementAssetCount; readonly offchainCount: u32; } - /** @name PolymeshPrimitivesSettlementAssetCount (471) */ + /** @name PolymeshPrimitivesSettlementAssetCount (483) */ interface PolymeshPrimitivesSettlementAssetCount extends Struct { readonly fungible: u32; readonly nonFungible: u32; readonly offChain: u32; } - /** @name PalletStatisticsCall (474) */ + /** @name PalletStatisticsCall (486) */ interface PalletStatisticsCall extends Enum { readonly isSetActiveAssetStats: boolean; readonly asSetActiveAssetStats: { @@ -5911,7 +5708,7 @@ declare module '@polkadot/types/lookup' { | 'SetEntitiesExempt'; } - /** @name PalletStoCall (478) */ + /** @name PalletStoCall (490) */ interface PalletStoCall extends Enum { readonly isCreateFundraiser: boolean; readonly asCreateFundraiser: { @@ -5973,13 +5770,13 @@ declare module '@polkadot/types/lookup' { | 'EnableOffchainFunding'; } - /** @name PalletStoPriceTier (480) */ + /** @name PalletStoPriceTier (492) */ interface PalletStoPriceTier extends Struct { readonly total: u128; readonly price: u128; } - /** @name PalletStoFundingMethod (481) */ + /** @name PalletStoFundingMethod (493) */ interface PalletStoFundingMethod extends Enum { readonly isOnChain: boolean; readonly asOnChain: PolymeshPrimitivesIdentityIdPortfolioId; @@ -5988,7 +5785,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'OnChain' | 'OffChain'; } - /** @name PolymeshPrimitivesStoFundraiserReceiptDetails (482) */ + /** @name PolymeshPrimitivesStoFundraiserReceiptDetails (494) */ interface PolymeshPrimitivesStoFundraiserReceiptDetails extends Struct { readonly uid: u64; readonly signer: AccountId32; @@ -5996,7 +5793,7 @@ declare module '@polkadot/types/lookup' { readonly metadata: Option; } - /** @name PalletTreasuryCall (483) */ + /** @name PalletTreasuryCall (495) */ interface PalletTreasuryCall extends Enum { readonly isDisbursement: boolean; readonly asDisbursement: { @@ -6009,13 +5806,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disbursement' | 'Reimbursement'; } - /** @name PolymeshPrimitivesBeneficiary (485) */ + /** @name PolymeshPrimitivesBeneficiary (497) */ interface PolymeshPrimitivesBeneficiary extends Struct { readonly id: PolymeshPrimitivesIdentityId; readonly amount: u128; } - /** @name PalletUtilityCall (486) */ + /** @name PalletUtilityCall (498) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -6060,26 +5857,32 @@ declare module '@polkadot/types/lookup' { | 'AsDerivative'; } - /** @name PalletUtilityUniqueCall (488) */ + /** @name PalletUtilityUniqueCall (500) */ interface PalletUtilityUniqueCall extends Struct { readonly nonce: u64; readonly call: Call; } - /** @name PolymeshRuntimeDevelopRuntimeOriginCaller (489) */ + /** @name PolymeshRuntimeDevelopRuntimeOriginCaller (501) */ interface PolymeshRuntimeDevelopRuntimeOriginCaller extends Enum { readonly isSystem: boolean; readonly asSystem: FrameSupportDispatchRawOrigin; + readonly isVoid: boolean; readonly isPolymeshCommittee: boolean; readonly asPolymeshCommittee: PalletCommitteeRawOrigin; readonly isTechnicalCommittee: boolean; readonly asTechnicalCommittee: PalletCommitteeRawOrigin; readonly isUpgradeCommittee: boolean; readonly asUpgradeCommittee: PalletCommitteeRawOrigin; - readonly type: 'System' | 'PolymeshCommittee' | 'TechnicalCommittee' | 'UpgradeCommittee'; + readonly type: + | 'System' + | 'Void' + | 'PolymeshCommittee' + | 'TechnicalCommittee' + | 'UpgradeCommittee'; } - /** @name FrameSupportDispatchRawOrigin (490) */ + /** @name FrameSupportDispatchRawOrigin (502) */ interface FrameSupportDispatchRawOrigin extends Enum { readonly isRoot: boolean; readonly isSigned: boolean; @@ -6088,16 +5891,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Signed' | 'None'; } - /** @name PalletCommitteeRawOrigin (491) */ + /** @name PalletCommitteeRawOrigin (503) */ interface PalletCommitteeRawOrigin extends Enum { readonly isEndorsed: boolean; readonly type: 'Endorsed'; } - /** @name PalletBaseCall (494) */ + /** @name SpCoreVoid (506) */ + type SpCoreVoid = Null; + + /** @name PalletBaseCall (507) */ type PalletBaseCall = Null; - /** @name PalletExternalAgentsCall (495) */ + /** @name PalletExternalAgentsCall (508) */ interface PalletExternalAgentsCall extends Enum { readonly isCreateGroup: boolean; readonly asCreateGroup: { @@ -6153,7 +5959,7 @@ declare module '@polkadot/types/lookup' { | 'CreateAndChangeCustomGroup'; } - /** @name PalletRelayerCall (496) */ + /** @name PalletRelayerCall (509) */ interface PalletRelayerCall extends Enum { readonly isSetPayingKey: boolean; readonly asSetPayingKey: { @@ -6193,7 +5999,7 @@ declare module '@polkadot/types/lookup' { | 'DecreasePolyxLimit'; } - /** @name PalletContractsCall (497) */ + /** @name PalletContractsCall (510) */ interface PalletContractsCall extends Enum { readonly isCallOldWeight: boolean; readonly asCallOldWeight: { @@ -6262,10 +6068,6 @@ declare module '@polkadot/types/lookup' { readonly data: Bytes; readonly salt: Bytes; } & Struct; - readonly isMigrate: boolean; - readonly asMigrate: { - readonly weightLimit: SpWeightsWeightV2Weight; - } & Struct; readonly type: | 'CallOldWeight' | 'InstantiateWithCodeOldWeight' @@ -6275,18 +6077,17 @@ declare module '@polkadot/types/lookup' { | 'SetCode' | 'Call' | 'InstantiateWithCode' - | 'Instantiate' - | 'Migrate'; + | 'Instantiate'; } - /** @name PalletContractsWasmDeterminism (499) */ + /** @name PalletContractsWasmDeterminism (514) */ interface PalletContractsWasmDeterminism extends Enum { - readonly isEnforced: boolean; - readonly isRelaxed: boolean; - readonly type: 'Enforced' | 'Relaxed'; + readonly isDeterministic: boolean; + readonly isAllowIndeterminism: boolean; + readonly type: 'Deterministic' | 'AllowIndeterminism'; } - /** @name PolymeshContractsCall (500) */ + /** @name PolymeshContractsCall (515) */ interface PolymeshContractsCall extends Enum { readonly isInstantiateWithCodePerms: boolean; readonly asInstantiateWithCodePerms: { @@ -6344,18 +6145,18 @@ declare module '@polkadot/types/lookup' { | 'UpgradeApi'; } - /** @name PolymeshContractsNextUpgrade (503) */ + /** @name PolymeshContractsNextUpgrade (518) */ interface PolymeshContractsNextUpgrade extends Struct { readonly chainVersion: PolymeshContractsChainVersion; readonly apiHash: PolymeshContractsApiCodeHash; } - /** @name PolymeshContractsApiCodeHash (504) */ + /** @name PolymeshContractsApiCodeHash (519) */ interface PolymeshContractsApiCodeHash extends Struct { readonly hash_: H256; } - /** @name PalletPreimageCall (505) */ + /** @name PalletPreimageCall (520) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -6373,19 +6174,10 @@ declare module '@polkadot/types/lookup' { readonly asUnrequestPreimage: { readonly hash_: H256; } & Struct; - readonly isEnsureUpdated: boolean; - readonly asEnsureUpdated: { - readonly hashes: Vec; - } & Struct; - readonly type: - | 'NotePreimage' - | 'UnnotePreimage' - | 'RequestPreimage' - | 'UnrequestPreimage' - | 'EnsureUpdated'; + readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage'; } - /** @name PalletNftCall (506) */ + /** @name PalletNftCall (521) */ interface PalletNftCall extends Enum { readonly isCreateNftCollection: boolean; readonly asCreateNftCollection: { @@ -6415,17 +6207,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateNftCollection' | 'IssueNft' | 'RedeemNft' | 'ControllerTransfer'; } - /** @name PolymeshPrimitivesNftNftCollectionKeys (509) */ + /** @name PolymeshPrimitivesNftNftCollectionKeys (524) */ interface PolymeshPrimitivesNftNftCollectionKeys extends Vec {} - /** @name PolymeshPrimitivesNftNftMetadataAttribute (512) */ + /** @name PolymeshPrimitivesNftNftMetadataAttribute (527) */ interface PolymeshPrimitivesNftNftMetadataAttribute extends Struct { readonly key: PolymeshPrimitivesAssetMetadataAssetMetadataKey; readonly value: Bytes; } - /** @name PalletElectionProviderMultiPhaseCall (514) */ + /** @name PalletElectionProviderMultiPhaseCall (529) */ interface PalletElectionProviderMultiPhaseCall extends Enum { readonly isSubmitUnsigned: boolean; readonly asSubmitUnsigned: { @@ -6457,14 +6249,14 @@ declare module '@polkadot/types/lookup' { | 'GovernanceFallback'; } - /** @name PalletElectionProviderMultiPhaseRawSolution (515) */ + /** @name PalletElectionProviderMultiPhaseRawSolution (530) */ interface PalletElectionProviderMultiPhaseRawSolution extends Struct { readonly solution: PolymeshRuntimeCommonNposSolution16; readonly score: SpNposElectionsElectionScore; readonly round: u32; } - /** @name PolymeshRuntimeCommonNposSolution16 (516) */ + /** @name PolymeshRuntimeCommonNposSolution16 (531) */ interface PolymeshRuntimeCommonNposSolution16 extends Struct { readonly votes1: Vec, Compact]>>; readonly votes2: Vec< @@ -6514,19 +6306,382 @@ declare module '@polkadot/types/lookup' { >; } - /** @name PalletElectionProviderMultiPhaseSolutionOrSnapshotSize (567) */ + /** @name PalletElectionProviderMultiPhaseSolutionOrSnapshotSize (582) */ interface PalletElectionProviderMultiPhaseSolutionOrSnapshotSize extends Struct { readonly voters: Compact; readonly targets: Compact; } - /** @name SpNposElectionsSupport (571) */ + /** @name SpNposElectionsSupport (586) */ interface SpNposElectionsSupport extends Struct { readonly total: u128; readonly voters: Vec>; } - /** @name PalletCommitteePolymeshVotes (574) */ + /** @name PalletConfidentialAssetsCall (589) */ + interface PalletConfidentialAssetsCall extends Enum { + readonly isRegisterAccounts: boolean; + readonly asRegisterAccounts: { + readonly proof: PolymeshDartBpKeysAccountRegistrationProof; + } & Struct; + readonly isCreateAsset: boolean; + readonly asCreateAsset: { + readonly name: Text; + readonly symbol: Text; + readonly decimals: u8; + readonly mediators: BTreeSet; + readonly auditors: BTreeSet; + readonly data: Bytes; + } & Struct; + readonly isRegisterAccountAssets: boolean; + readonly asRegisterAccountAssets: { + readonly proof: PolymeshDartBpAccountBatchedAccountAssetRegistrationProof; + } & Struct; + readonly isMintAsset: boolean; + readonly asMintAsset: { + readonly proof: PolymeshDartBpAssetAssetMintingProof; + } & Struct; + readonly isCreateSettlement: boolean; + readonly asCreateSettlement: { + readonly proof: PolymeshDartBpLegSettlementProof; + } & Struct; + readonly isSenderAffirmation: boolean; + readonly asSenderAffirmation: { + readonly proof: PolymeshDartBpLegProofsSenderAffirmationProof; + } & Struct; + readonly isReceiverAffirmation: boolean; + readonly asReceiverAffirmation: { + readonly proof: PolymeshDartBpLegProofsReceiverAffirmationProof; + } & Struct; + readonly isMediatorAffirmation: boolean; + readonly asMediatorAffirmation: { + readonly proof: PolymeshDartBpLegProofsMediatorAffirmationProof; + } & Struct; + readonly isSenderUpdateCounter: boolean; + readonly asSenderUpdateCounter: { + readonly proof: PolymeshDartBpLegProofsSenderCounterUpdateProof; + } & Struct; + readonly isSenderRevert: boolean; + readonly asSenderRevert: { + readonly proof: PolymeshDartBpLegProofsSenderReversalProof; + } & Struct; + readonly isReceiverClaim: boolean; + readonly asReceiverClaim: { + readonly proof: PolymeshDartBpLegProofsReceiverClaimProof; + } & Struct; + readonly isBatchedSettlement: boolean; + readonly asBatchedSettlement: { + readonly proof: PolymeshDartBpLegProofsBatchedSettlementProof; + } & Struct; + readonly isRegisterFeeAccounts: boolean; + readonly asRegisterFeeAccounts: { + readonly proof: PolymeshDartBpFeeBatchedFeeAccountRegistrationProof; + } & Struct; + readonly isTopupFeeAccounts: boolean; + readonly asTopupFeeAccounts: { + readonly proof: PolymeshDartBpFeeBatchedFeeAccountTopupProof; + } & Struct; + readonly isSubmitBatchedProofs: boolean; + readonly asSubmitBatchedProofs: { + readonly proof: PolymeshDartBpBatchedBatchedProofs; + } & Struct; + readonly isRelayerSubmitBatchedProofs: boolean; + readonly asRelayerSubmitBatchedProofs: { + readonly proof: PolymeshDartBpFeeFeePaymentWithBatchedProofs; + } & Struct; + readonly isRegisterEncryptionKeys: boolean; + readonly asRegisterEncryptionKeys: { + readonly proof: PolymeshDartBpKeysEncryptionKeyRegistrationProof; + } & Struct; + readonly isExecuteInstantSettlement: boolean; + readonly asExecuteInstantSettlement: { + readonly proof: PolymeshDartBpLegInstantInstantSettlementProof; + } & Struct; + readonly isInstantSenderAffirmation: boolean; + readonly asInstantSenderAffirmation: { + readonly proof: PolymeshDartBpLegInstantInstantSenderAffirmationProof; + } & Struct; + readonly isInstantReceiverAffirmation: boolean; + readonly asInstantReceiverAffirmation: { + readonly proof: PolymeshDartBpLegInstantInstantReceiverAffirmationProof; + } & Struct; + readonly type: + | 'RegisterAccounts' + | 'CreateAsset' + | 'RegisterAccountAssets' + | 'MintAsset' + | 'CreateSettlement' + | 'SenderAffirmation' + | 'ReceiverAffirmation' + | 'MediatorAffirmation' + | 'SenderUpdateCounter' + | 'SenderRevert' + | 'ReceiverClaim' + | 'BatchedSettlement' + | 'RegisterFeeAccounts' + | 'TopupFeeAccounts' + | 'SubmitBatchedProofs' + | 'RelayerSubmitBatchedProofs' + | 'RegisterEncryptionKeys' + | 'ExecuteInstantSettlement' + | 'InstantSenderAffirmation' + | 'InstantReceiverAffirmation'; + } + + /** @name PolymeshDartBpKeysAccountRegistrationProof (590) */ + interface PolymeshDartBpKeysAccountRegistrationProof extends Struct { + readonly accounts: Vec; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpKeysAccountPublicKeys (592) */ + interface PolymeshDartBpKeysAccountPublicKeys extends Struct { + readonly enc: PolymeshDartBpKeysEncryptionPublicKey; + readonly acct: PolymeshDartBpKeysAccountPublicKey; + } + + /** @name PolymeshDartBpAccountBatchedAccountAssetRegistrationProof (595) */ + interface PolymeshDartBpAccountBatchedAccountAssetRegistrationProof extends Struct { + readonly proofs: Vec; + } + + /** @name PolymeshDartBpAccountAccountAssetRegistrationProof (597) */ + interface PolymeshDartBpAccountAccountAssetRegistrationProof extends Struct { + readonly account: PolymeshDartBpKeysAccountPublicKey; + readonly assetId: u32; + readonly counter: u16; + readonly accountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpAccountAccountStateNullifier (598) */ + interface PolymeshDartBpAccountAccountStateNullifier + extends PolymeshDartBpEncodeCompressedAffine {} + + /** @name PolymeshDartBpAssetAssetMintingProof (601) */ + interface PolymeshDartBpAssetAssetMintingProof extends Struct { + readonly pk: PolymeshDartBpKeysAccountPublicKey; + readonly assetId: u32; + readonly amount: u64; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegSettlementProof (603) */ + interface PolymeshDartBpLegSettlementProof extends Struct { + readonly memo: Bytes; + readonly rootBlock: u32; + readonly legs: Vec; + } + + /** @name PolymeshDartBpLegSettlementLegProof (605) */ + interface PolymeshDartBpLegSettlementLegProof extends Struct { + readonly legEnc: Bytes; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegProofsSenderAffirmationProof (608) */ + interface PolymeshDartBpLegProofsSenderAffirmationProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegProofsReceiverAffirmationProof (610) */ + interface PolymeshDartBpLegProofsReceiverAffirmationProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegProofsMediatorAffirmationProof (612) */ + interface PolymeshDartBpLegProofsMediatorAffirmationProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly accept: bool; + readonly keyIndex: u8; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegProofsSenderCounterUpdateProof (614) */ + interface PolymeshDartBpLegProofsSenderCounterUpdateProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegProofsSenderReversalProof (616) */ + interface PolymeshDartBpLegProofsSenderReversalProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegProofsReceiverClaimProof (618) */ + interface PolymeshDartBpLegProofsReceiverClaimProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegProofsBatchedSettlementProof (620) */ + interface PolymeshDartBpLegProofsBatchedSettlementProof extends Struct { + readonly settlement: PolymeshDartBpLegSettlementProof; + readonly legAffirmations: Vec; + } + + /** @name PolymeshDartCurveTreeAssetTreeConfig (621) */ + type PolymeshDartCurveTreeAssetTreeConfig = Null; + + /** @name PolymeshDartCurveTreeAccountTreeConfig (622) */ + type PolymeshDartCurveTreeAccountTreeConfig = Null; + + /** @name PolymeshDartBpLegProofsBatchedSettlementLegAffirmations (624) */ + interface PolymeshDartBpLegProofsBatchedSettlementLegAffirmations extends Struct { + readonly sender: Option; + readonly receiver: Option; + } + + /** @name PolymeshDartBpFeeBatchedFeeAccountRegistrationProof (628) */ + interface PolymeshDartBpFeeBatchedFeeAccountRegistrationProof extends Struct { + readonly proofs: Vec; + } + + /** @name PolymeshDartBpFeeFeeAccountRegistrationProof (630) */ + interface PolymeshDartBpFeeFeeAccountRegistrationProof extends Struct { + readonly account: PolymeshDartBpKeysAccountPublicKey; + readonly assetId: u32; + readonly amount: u64; + readonly accountStateCommitment: PolymeshDartBpFeeFeeAccountStateCommitment; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpFeeBatchedFeeAccountTopupProof (633) */ + interface PolymeshDartBpFeeBatchedFeeAccountTopupProof extends Struct { + readonly rootBlock: u32; + readonly proofs: Vec; + } + + /** @name PolymeshDartBpFeeFeeAccountTopupProof (635) */ + interface PolymeshDartBpFeeFeeAccountTopupProof extends Struct { + readonly account: PolymeshDartBpKeysAccountPublicKey; + readonly assetId: u32; + readonly amount: u64; + readonly updatedAccountStateCommitment: PolymeshDartBpFeeFeeAccountStateCommitment; + readonly nullifier: PolymeshDartBpFeeFeeAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpFeeFeeAccountStateNullifier (636) */ + interface PolymeshDartBpFeeFeeAccountStateNullifier + extends PolymeshDartBpEncodeCompressedAffine {} + + /** @name PolymeshDartBpBatchedBatchedProofs (639) */ + interface PolymeshDartBpBatchedBatchedProofs extends Struct { + readonly proofs: Vec; + } + + /** @name PolymeshDartBpBatchedBatchedProof (641) */ + interface PolymeshDartBpBatchedBatchedProof extends Enum { + readonly isCreateSettlement: boolean; + readonly asCreateSettlement: PolymeshDartBpLegSettlementProof; + readonly isSenderAffirmation: boolean; + readonly asSenderAffirmation: PolymeshDartBpLegProofsSenderAffirmationProof; + readonly isReceiverAffirmation: boolean; + readonly asReceiverAffirmation: PolymeshDartBpLegProofsReceiverAffirmationProof; + readonly isMediatorAffirmation: boolean; + readonly asMediatorAffirmation: PolymeshDartBpLegProofsMediatorAffirmationProof; + readonly isSenderCounterUpdate: boolean; + readonly asSenderCounterUpdate: PolymeshDartBpLegProofsSenderCounterUpdateProof; + readonly isSenderReversal: boolean; + readonly asSenderReversal: PolymeshDartBpLegProofsSenderReversalProof; + readonly isReceiverClaim: boolean; + readonly asReceiverClaim: PolymeshDartBpLegProofsReceiverClaimProof; + readonly isExecuteInstantSettlement: boolean; + readonly asExecuteInstantSettlement: PolymeshDartBpLegInstantInstantSettlementProof; + readonly isInstantSenderAffirmation: boolean; + readonly asInstantSenderAffirmation: PolymeshDartBpLegInstantInstantSenderAffirmationProof; + readonly isInstantReceiverAffirmation: boolean; + readonly asInstantReceiverAffirmation: PolymeshDartBpLegInstantInstantReceiverAffirmationProof; + readonly type: + | 'CreateSettlement' + | 'SenderAffirmation' + | 'ReceiverAffirmation' + | 'MediatorAffirmation' + | 'SenderCounterUpdate' + | 'SenderReversal' + | 'ReceiverClaim' + | 'ExecuteInstantSettlement' + | 'InstantSenderAffirmation' + | 'InstantReceiverAffirmation'; + } + + /** @name PolymeshDartBpLegInstantInstantSettlementProof (642) */ + interface PolymeshDartBpLegInstantInstantSettlementProof extends Struct { + readonly settlement: PolymeshDartBpLegSettlementProof; + readonly legAffirmations: Vec; + } + + /** @name PolymeshDartBpLegInstantInstantSettlementLegAffirmations (644) */ + interface PolymeshDartBpLegInstantInstantSettlementLegAffirmations extends Struct { + readonly sender: PolymeshDartBpLegInstantInstantSenderAffirmationProof; + readonly receiver: PolymeshDartBpLegInstantInstantReceiverAffirmationProof; + readonly mediators: Vec; + } + + /** @name PolymeshDartBpLegInstantInstantSenderAffirmationProof (645) */ + interface PolymeshDartBpLegInstantInstantSenderAffirmationProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpLegInstantInstantReceiverAffirmationProof (647) */ + interface PolymeshDartBpLegInstantInstantReceiverAffirmationProof extends Struct { + readonly legRef: PolymeshDartBpLegLegRef; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpAccountAccountStateCommitment; + readonly nullifier: PolymeshDartBpAccountAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpFeeFeePaymentWithBatchedProofs (653) */ + interface PolymeshDartBpFeeFeePaymentWithBatchedProofs extends Struct { + readonly feePayment: PolymeshDartBpFeeFeeAccountPaymentProof; + readonly batchedProofs: PolymeshDartBpBatchedBatchedProofs; + } + + /** @name PolymeshDartBpFeeFeeAccountPaymentProof (654) */ + interface PolymeshDartBpFeeFeeAccountPaymentProof extends Struct { + readonly assetId: u32; + readonly amount: u64; + readonly rootBlock: u32; + readonly updatedAccountStateCommitment: PolymeshDartBpFeeFeeAccountStateCommitment; + readonly nullifier: PolymeshDartBpFeeFeeAccountStateNullifier; + readonly inner: Bytes; + } + + /** @name PolymeshDartBpKeysEncryptionKeyRegistrationProof (656) */ + interface PolymeshDartBpKeysEncryptionKeyRegistrationProof extends Struct { + readonly keys_: Vec; + readonly inner: Bytes; + } + + /** @name PalletCommitteePolymeshVotes (659) */ interface PalletCommitteePolymeshVotes extends Struct { readonly index: u32; readonly ayes: Vec; @@ -6534,7 +6689,7 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshPrimitivesMaybeBlock; } - /** @name PalletCommitteeError (575) */ + /** @name PalletCommitteeError (660) */ interface PalletCommitteeError extends Enum { readonly isDuplicateVote: boolean; readonly isNotAMember: boolean; @@ -6557,13 +6712,13 @@ declare module '@polkadot/types/lookup' { | 'ProposalsLimitReached'; } - /** @name PolymeshPrimitivesMultisigProposalVoteCount (584) */ + /** @name PolymeshPrimitivesMultisigProposalVoteCount (669) */ interface PolymeshPrimitivesMultisigProposalVoteCount extends Struct { readonly approvals: u64; readonly rejections: u64; } - /** @name PolymeshPrimitivesMultisigProposalState (585) */ + /** @name PolymeshPrimitivesMultisigProposalState (670) */ interface PolymeshPrimitivesMultisigProposalState extends Enum { readonly isActive: boolean; readonly asActive: { @@ -6575,7 +6730,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Active' | 'ExecutionSuccessful' | 'ExecutionFailed' | 'Rejected'; } - /** @name PalletMultisigError (587) */ + /** @name PalletMultisigError (672) */ interface PalletMultisigError extends Enum { readonly isProposalMissing: boolean; readonly isDecodingError: boolean; @@ -6632,78 +6787,41 @@ declare module '@polkadot/types/lookup' { | 'BadAuthorizationType'; } - /** @name PalletValidatorsPermissionedIdentityPrefs (588) */ - interface PalletValidatorsPermissionedIdentityPrefs extends Struct { - readonly intendedCount: u32; - readonly runningCount: u32; - } - - /** @name PalletValidatorsError (589) */ - interface PalletValidatorsError extends Enum { - readonly isStashIdentityDoesNotExist: boolean; - readonly isStashIdentityNotPermissioned: boolean; - readonly isIdentityIsAlreadyPermissioned: boolean; - readonly isIdentityIsMissingCDD: boolean; - readonly isIntendedCountIsExceedingConsensusLimit: boolean; - readonly isIdentityNotFound: boolean; - readonly isValidatorNotFound: boolean; - readonly isCommissionTooHigh: boolean; - readonly isCommissionUnchanged: boolean; - readonly type: - | 'StashIdentityDoesNotExist' - | 'StashIdentityNotPermissioned' - | 'IdentityIsAlreadyPermissioned' - | 'IdentityIsMissingCDD' - | 'IntendedCountIsExceedingConsensusLimit' - | 'IdentityNotFound' - | 'ValidatorNotFound' - | 'CommissionTooHigh' - | 'CommissionUnchanged'; - } - - /** @name PalletStakingStakingLedger (590) */ + /** @name PalletStakingStakingLedger (673) */ interface PalletStakingStakingLedger extends Struct { readonly stash: AccountId32; readonly total: Compact; readonly active: Compact; readonly unlocking: Vec; - readonly legacyClaimedRewards: Vec; + readonly claimedRewards: Vec; + } + + /** @name PalletStakingUnlockChunk (675) */ + interface PalletStakingUnlockChunk extends Struct { + readonly value: Compact; + readonly era: Compact; } - /** @name PalletStakingNominations (592) */ + /** @name PalletStakingNominations (678) */ interface PalletStakingNominations extends Struct { readonly targets: Vec; readonly submittedIn: u32; readonly suppressed: bool; } - /** @name PalletStakingActiveEraInfo (594) */ + /** @name PalletStakingActiveEraInfo (680) */ interface PalletStakingActiveEraInfo extends Struct { readonly index: u32; readonly start: Option; } - /** @name SpStakingPagedExposureMetadata (596) */ - interface SpStakingPagedExposureMetadata extends Struct { - readonly total: Compact; - readonly own: Compact; - readonly nominatorCount: u32; - readonly pageCount: u32; - } - - /** @name SpStakingExposurePage (598) */ - interface SpStakingExposurePage extends Struct { - readonly pageTotal: Compact; - readonly others: Vec; - } - - /** @name PalletStakingEraRewardPoints (599) */ + /** @name PalletStakingEraRewardPoints (682) */ interface PalletStakingEraRewardPoints extends Struct { readonly total: u32; readonly individual: BTreeMap; } - /** @name PalletStakingUnappliedSlash (604) */ + /** @name PalletStakingUnappliedSlash (687) */ interface PalletStakingUnappliedSlash extends Struct { readonly validator: AccountId32; readonly own: u128; @@ -6712,7 +6830,7 @@ declare module '@polkadot/types/lookup' { readonly payout: u128; } - /** @name PalletStakingSlashingSlashingSpans (606) */ + /** @name PalletStakingSlashingSlashingSpans (689) */ interface PalletStakingSlashingSlashingSpans extends Struct { readonly spanIndex: u32; readonly lastStart: u32; @@ -6720,13 +6838,19 @@ declare module '@polkadot/types/lookup' { readonly prior: Vec; } - /** @name PalletStakingSlashingSpanRecord (607) */ + /** @name PalletStakingSlashingSpanRecord (690) */ interface PalletStakingSlashingSpanRecord extends Struct { readonly slashed: u128; readonly paidOut: u128; } - /** @name PalletStakingPalletError (608) */ + /** @name PalletStakingPermissionedIdentityPrefs (693) */ + interface PalletStakingPermissionedIdentityPrefs extends Struct { + readonly intendedCount: u32; + readonly runningCount: u32; + } + + /** @name PalletStakingPalletError (695) */ interface PalletStakingPalletError extends Enum { readonly isNotController: boolean; readonly isNotStash: boolean; @@ -6743,7 +6867,6 @@ declare module '@polkadot/types/lookup' { readonly isInvalidNumberOfNominations: boolean; readonly isNotSortedAndUnique: boolean; readonly isAlreadyClaimed: boolean; - readonly isInvalidPage: boolean; readonly isIncorrectHistoryDepth: boolean; readonly isIncorrectSlashingSpans: boolean; readonly isBadState: boolean; @@ -6754,14 +6877,16 @@ declare module '@polkadot/types/lookup' { readonly isTooManyValidators: boolean; readonly isCommissionTooLow: boolean; readonly isBoundNotMet: boolean; - readonly isControllerDeprecated: boolean; - readonly isCannotRestoreLedger: boolean; - readonly isRewardDestinationRestricted: boolean; - readonly isNotEnoughFunds: boolean; - readonly isVirtualStakerNotAllowed: boolean; - readonly isCannotReapStash: boolean; - readonly isAlreadyMigrated: boolean; - readonly isRestricted: boolean; + readonly isStashIdentityDoesNotExist: boolean; + readonly isStashIdentityNotPermissioned: boolean; + readonly isStashIdentityNotCDDed: boolean; + readonly isIdentityIsAlreadyPermissioned: boolean; + readonly isIdentityIsMissingCDD: boolean; + readonly isIntendedCountIsExceedingConsensusLimit: boolean; + readonly isIdentityNotFound: boolean; + readonly isValidatorNotFound: boolean; + readonly isCommissionTooHigh: boolean; + readonly isCommissionUnchanged: boolean; readonly type: | 'NotController' | 'NotStash' @@ -6778,7 +6903,6 @@ declare module '@polkadot/types/lookup' { | 'InvalidNumberOfNominations' | 'NotSortedAndUnique' | 'AlreadyClaimed' - | 'InvalidPage' | 'IncorrectHistoryDepth' | 'IncorrectSlashingSpans' | 'BadState' @@ -6789,26 +6913,28 @@ declare module '@polkadot/types/lookup' { | 'TooManyValidators' | 'CommissionTooLow' | 'BoundNotMet' - | 'ControllerDeprecated' - | 'CannotRestoreLedger' - | 'RewardDestinationRestricted' - | 'NotEnoughFunds' - | 'VirtualStakerNotAllowed' - | 'CannotReapStash' - | 'AlreadyMigrated' - | 'Restricted'; + | 'StashIdentityDoesNotExist' + | 'StashIdentityNotPermissioned' + | 'StashIdentityNotCDDed' + | 'IdentityIsAlreadyPermissioned' + | 'IdentityIsMissingCDD' + | 'IntendedCountIsExceedingConsensusLimit' + | 'IdentityNotFound' + | 'ValidatorNotFound' + | 'CommissionTooHigh' + | 'CommissionUnchanged'; } - /** @name SpStakingOffenceOffenceDetails (609) */ + /** @name SpStakingOffenceOffenceDetails (696) */ interface SpStakingOffenceOffenceDetails extends Struct { - readonly offender: ITuple<[AccountId32, SpStakingExposure]>; + readonly offender: ITuple<[AccountId32, PalletStakingExposure]>; readonly reporters: Vec; } - /** @name SpCoreCryptoKeyTypeId (617) */ + /** @name SpCoreCryptoKeyTypeId (701) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (618) */ + /** @name PalletSessionError (702) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6823,7 +6949,7 @@ declare module '@polkadot/types/lookup' { | 'NoAccount'; } - /** @name PalletGrandpaStoredState (621) */ + /** @name PalletGrandpaStoredState (703) */ interface PalletGrandpaStoredState extends Enum { readonly isLive: boolean; readonly isPendingPause: boolean; @@ -6840,7 +6966,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume'; } - /** @name PalletGrandpaStoredPendingChange (622) */ + /** @name PalletGrandpaStoredPendingChange (704) */ interface PalletGrandpaStoredPendingChange extends Struct { readonly scheduledAt: u32; readonly delay: u32; @@ -6848,7 +6974,7 @@ declare module '@polkadot/types/lookup' { readonly forced: Option; } - /** @name PalletGrandpaError (624) */ + /** @name PalletGrandpaError (706) */ interface PalletGrandpaError extends Enum { readonly isPauseFailed: boolean; readonly isResumeFailed: boolean; @@ -6867,32 +6993,38 @@ declare module '@polkadot/types/lookup' { | 'DuplicateOffenceReport'; } - /** @name PalletImOnlineError (628) */ + /** @name PalletImOnlineBoundedOpaqueNetworkState (710) */ + interface PalletImOnlineBoundedOpaqueNetworkState extends Struct { + readonly peerId: Bytes; + readonly externalAddresses: Vec; + } + + /** @name PalletImOnlineError (714) */ interface PalletImOnlineError extends Enum { readonly isInvalidKey: boolean; readonly isDuplicatedHeartbeat: boolean; readonly type: 'InvalidKey' | 'DuplicatedHeartbeat'; } - /** @name PalletSudoError (630) */ + /** @name PalletSudoError (716) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name PalletAssetTickerRegistration (631) */ + /** @name PalletAssetTickerRegistration (717) */ interface PalletAssetTickerRegistration extends Struct { readonly owner: PolymeshPrimitivesIdentityId; readonly expiry: Option; } - /** @name PalletAssetTickerRegistrationConfig (632) */ + /** @name PalletAssetTickerRegistrationConfig (718) */ interface PalletAssetTickerRegistrationConfig extends Struct { readonly maxTickerLength: u8; readonly registrationLength: Option; } - /** @name PalletAssetAssetDetails (633) */ + /** @name PalletAssetAssetDetails (719) */ interface PalletAssetAssetDetails extends Struct { readonly totalSupply: u128; readonly ownerDid: PolymeshPrimitivesIdentityId; @@ -6900,7 +7032,7 @@ declare module '@polkadot/types/lookup' { readonly assetType: PolymeshPrimitivesAssetAssetType; } - /** @name PalletAssetError (643) */ + /** @name PalletAssetError (729) */ interface PalletAssetError extends Enum { readonly isUnauthorized: boolean; readonly isAssetAlreadyCreated: boolean; @@ -7005,7 +7137,7 @@ declare module '@polkadot/types/lookup' { | 'BadAuthorizationType'; } - /** @name PalletCorporateActionsDistributionPalletError (646) */ + /** @name PalletCorporateActionsDistributionPalletError (732) */ interface PalletCorporateActionsDistributionPalletError extends Enum { readonly isCaNotBenefit: boolean; readonly isAlreadyExists: boolean; @@ -7040,14 +7172,14 @@ declare module '@polkadot/types/lookup' { | 'DistributionPerShareIsZero'; } - /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (650) */ + /** @name PolymeshCommonUtilitiesCheckpointNextCheckpoints (736) */ interface PolymeshCommonUtilitiesCheckpointNextCheckpoints extends Struct { readonly nextAt: u64; readonly totalPending: u64; readonly schedules: BTreeMap; } - /** @name PalletAssetCheckpointPalletError (656) */ + /** @name PalletAssetCheckpointPalletError (742) */ interface PalletAssetCheckpointPalletError extends Enum { readonly isNoSuchSchedule: boolean; readonly isScheduleNotRemovable: boolean; @@ -7064,13 +7196,13 @@ declare module '@polkadot/types/lookup' { | 'ScheduleHasExpiredCheckpoints'; } - /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (657) */ + /** @name PolymeshPrimitivesComplianceManagerAssetCompliance (743) */ interface PolymeshPrimitivesComplianceManagerAssetCompliance extends Struct { readonly paused: bool; readonly requirements: Vec; } - /** @name PalletComplianceManagerError (659) */ + /** @name PalletComplianceManagerError (745) */ interface PalletComplianceManagerError extends Enum { readonly isUnauthorized: boolean; readonly isDidNotExist: boolean; @@ -7089,7 +7221,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletCorporateActionsError (662) */ + /** @name PalletCorporateActionsError (748) */ interface PalletCorporateActionsError extends Enum { readonly isDetailsTooLong: boolean; readonly isDuplicateDidTax: boolean; @@ -7116,7 +7248,7 @@ declare module '@polkadot/types/lookup' { | 'NotTargetedByCA'; } - /** @name PalletCorporateActionsBallotPalletError (666) */ + /** @name PalletCorporateActionsBallotPalletError (752) */ interface PalletCorporateActionsBallotPalletError extends Enum { readonly isCaNotNotice: boolean; readonly isAlreadyExists: boolean; @@ -7149,13 +7281,13 @@ declare module '@polkadot/types/lookup' { | 'RcvNotAllowed'; } - /** @name PalletPermissionsError (667) */ + /** @name PalletPermissionsError (753) */ interface PalletPermissionsError extends Enum { readonly isUnauthorizedCaller: boolean; readonly type: 'UnauthorizedCaller'; } - /** @name PalletPipsPipsMetadata (668) */ + /** @name PalletPipsPipsMetadata (754) */ interface PalletPipsPipsMetadata extends Struct { readonly id: u32; readonly url: Option; @@ -7165,20 +7297,20 @@ declare module '@polkadot/types/lookup' { readonly expiry: PolymeshPrimitivesMaybeBlock; } - /** @name PalletPipsDepositInfo (670) */ + /** @name PalletPipsDepositInfo (756) */ interface PalletPipsDepositInfo extends Struct { readonly owner: AccountId32; readonly amount: u128; } - /** @name PalletPipsPip (671) */ + /** @name PalletPipsPip (757) */ interface PalletPipsPip extends Struct { readonly id: u32; readonly proposal: Call; readonly proposer: PalletPipsProposer; } - /** @name PalletPipsVotingResult (672) */ + /** @name PalletPipsVotingResult (758) */ interface PalletPipsVotingResult extends Struct { readonly ayesCount: u32; readonly ayesStake: u128; @@ -7186,17 +7318,17 @@ declare module '@polkadot/types/lookup' { readonly naysStake: u128; } - /** @name PalletPipsVote (673) */ + /** @name PalletPipsVote (759) */ interface PalletPipsVote extends ITuple<[bool, u128]> {} - /** @name PalletPipsSnapshotMetadata (674) */ + /** @name PalletPipsSnapshotMetadata (760) */ interface PalletPipsSnapshotMetadata extends Struct { readonly createdAt: u32; readonly madeBy: AccountId32; readonly id: u32; } - /** @name PalletPipsError (676) */ + /** @name PalletPipsError (762) */ interface PalletPipsError extends Enum { readonly isRescheduleNotByReleaseCoordinator: boolean; readonly isNotFromCommunity: boolean; @@ -7217,7 +7349,6 @@ declare module '@polkadot/types/lookup' { readonly isScheduledProposalDoesntExist: boolean; readonly isProposalNotInScheduledState: boolean; readonly isInvalidPipId: boolean; - readonly isInvalidTaskName: boolean; readonly type: | 'RescheduleNotByReleaseCoordinator' | 'NotFromCommunity' @@ -7237,11 +7368,10 @@ declare module '@polkadot/types/lookup' { | 'SnapshotIdMismatch' | 'ScheduledProposalDoesntExist' | 'ProposalNotInScheduledState' - | 'InvalidPipId' - | 'InvalidTaskName'; + | 'InvalidPipId'; } - /** @name PalletPortfolioError (684) */ + /** @name PalletPortfolioError (770) */ interface PalletPortfolioError extends Enum { readonly isPortfolioDoesNotExist: boolean; readonly isInsufficientPortfolioBalance: boolean; @@ -7288,7 +7418,7 @@ declare module '@polkadot/types/lookup' { | 'DefaultPortfoliosCannotHaveCustodians'; } - /** @name PalletProtocolFeeError (685) */ + /** @name PalletProtocolFeeError (771) */ interface PalletProtocolFeeError extends Enum { readonly isInsufficientAccountBalance: boolean; readonly isUnHandledImbalances: boolean; @@ -7299,7 +7429,7 @@ declare module '@polkadot/types/lookup' { | 'InsufficientSubsidyBalance'; } - /** @name PalletSchedulerScheduled (688) */ + /** @name PalletSchedulerScheduled (774) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -7308,7 +7438,7 @@ declare module '@polkadot/types/lookup' { readonly origin: PolymeshRuntimeDevelopRuntimeOriginCaller; } - /** @name FrameSupportPreimagesBounded (689) */ + /** @name FrameSupportPreimagesBounded (775) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -7324,17 +7454,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name SpRuntimeBlakeTwo256 (690) */ - type SpRuntimeBlakeTwo256 = Null; - - /** @name PalletSchedulerRetryConfig (693) */ - interface PalletSchedulerRetryConfig extends Struct { - readonly totalRetries: u8; - readonly remaining: u8; - readonly period: u32; - } - - /** @name PalletSchedulerError (694) */ + /** @name PalletSchedulerError (778) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -7349,13 +7469,13 @@ declare module '@polkadot/types/lookup' { | 'Named'; } - /** @name PolymeshPrimitivesSettlementVenue (695) */ + /** @name PolymeshPrimitivesSettlementVenue (779) */ interface PolymeshPrimitivesSettlementVenue extends Struct { readonly creator: PolymeshPrimitivesIdentityId; readonly venueType: PolymeshPrimitivesSettlementVenueType; } - /** @name PolymeshPrimitivesSettlementInstruction (699) */ + /** @name PolymeshPrimitivesSettlementInstruction (783) */ interface PolymeshPrimitivesSettlementInstruction extends Struct { readonly instructionId: u64; readonly venueId: Option; @@ -7365,7 +7485,7 @@ declare module '@polkadot/types/lookup' { readonly valueDate: Option; } - /** @name PolymeshPrimitivesSettlementLegStatus (701) */ + /** @name PolymeshPrimitivesSettlementLegStatus (785) */ interface PolymeshPrimitivesSettlementLegStatus extends Enum { readonly isPendingTokenLock: boolean; readonly isExecutionPending: boolean; @@ -7374,7 +7494,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PendingTokenLock' | 'ExecutionPending' | 'ExecutionToBeSkipped'; } - /** @name PolymeshPrimitivesSettlementAffirmationStatus (703) */ + /** @name PolymeshPrimitivesSettlementAffirmationStatus (787) */ interface PolymeshPrimitivesSettlementAffirmationStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -7382,7 +7502,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Affirmed'; } - /** @name PolymeshPrimitivesSettlementInstructionStatus (706) */ + /** @name PolymeshPrimitivesSettlementInstructionStatus (790) */ interface PolymeshPrimitivesSettlementInstructionStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -7395,7 +7515,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Failed' | 'Success' | 'Rejected' | 'LockedForExecution'; } - /** @name PolymeshPrimitivesSettlementMediatorAffirmationStatus (708) */ + /** @name PolymeshPrimitivesSettlementMediatorAffirmationStatus (792) */ interface PolymeshPrimitivesSettlementMediatorAffirmationStatus extends Enum { readonly isUnknown: boolean; readonly isPending: boolean; @@ -7406,7 +7526,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unknown' | 'Pending' | 'Affirmed'; } - /** @name PalletSettlementError (710) */ + /** @name PalletSettlementError (794) */ interface PalletSettlementError extends Enum { readonly isInvalidVenue: boolean; readonly isUnauthorized: boolean; @@ -7458,7 +7578,6 @@ declare module '@polkadot/types/lookup' { readonly isExceededMaximumLockingPeriod: boolean; readonly isFailedAssetTransferringConditions: boolean; readonly isInvalidInstructionStatusForWithdrawal: boolean; - readonly isInvalidTaskName: boolean; readonly type: | 'InvalidVenue' | 'Unauthorized' @@ -7509,23 +7628,22 @@ declare module '@polkadot/types/lookup' { | 'LockTimestampNotFound' | 'ExceededMaximumLockingPeriod' | 'FailedAssetTransferringConditions' - | 'InvalidInstructionStatusForWithdrawal' - | 'InvalidTaskName'; + | 'InvalidInstructionStatusForWithdrawal'; } - /** @name PolymeshPrimitivesStatisticsStat1stKey (713) */ + /** @name PolymeshPrimitivesStatisticsStat1stKey (797) */ interface PolymeshPrimitivesStatisticsStat1stKey extends Struct { readonly assetId: PolymeshPrimitivesAssetAssetId; readonly statType: PolymeshPrimitivesStatisticsStatType; } - /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (714) */ + /** @name PolymeshPrimitivesTransferComplianceAssetTransferCompliance (798) */ interface PolymeshPrimitivesTransferComplianceAssetTransferCompliance extends Struct { readonly paused: bool; readonly requirements: BTreeSet; } - /** @name PalletStatisticsError (718) */ + /** @name PalletStatisticsError (802) */ interface PalletStatisticsError extends Enum { readonly isInvalidTransferStatisticsFailure: boolean; readonly isStatTypeMissing: boolean; @@ -7544,7 +7662,7 @@ declare module '@polkadot/types/lookup' { | 'WeightLimitExceeded'; } - /** @name PalletStoError (721) */ + /** @name PalletStoError (805) */ interface PalletStoError extends Enum { readonly isUnauthorized: boolean; readonly isOverflow: boolean; @@ -7577,14 +7695,14 @@ declare module '@polkadot/types/lookup' { | 'OffchainFundingNotAllowed'; } - /** @name PalletTreasuryError (722) */ + /** @name PalletTreasuryError (806) */ interface PalletTreasuryError extends Enum { readonly isInsufficientBalance: boolean; readonly isInvalidIdentity: boolean; readonly type: 'InsufficientBalance' | 'InvalidIdentity'; } - /** @name PalletUtilityError (723) */ + /** @name PalletUtilityError (807) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly isInvalidSignature: boolean; @@ -7599,14 +7717,14 @@ declare module '@polkadot/types/lookup' { | 'UnableToDeriveAccountId'; } - /** @name PalletBaseError (724) */ + /** @name PalletBaseError (808) */ interface PalletBaseError extends Enum { readonly isTooLong: boolean; readonly isCounterOverflow: boolean; readonly type: 'TooLong' | 'CounterOverflow'; } - /** @name PalletExternalAgentsError (727) */ + /** @name PalletExternalAgentsError (811) */ interface PalletExternalAgentsError extends Enum { readonly isNoSuchAG: boolean; readonly isUnauthorizedAgent: boolean; @@ -7625,13 +7743,13 @@ declare module '@polkadot/types/lookup' { | 'BadAuthorizationType'; } - /** @name PalletRelayerSubsidy (728) */ + /** @name PalletRelayerSubsidy (812) */ interface PalletRelayerSubsidy extends Struct { readonly payingKey: AccountId32; readonly remaining: u128; } - /** @name PalletRelayerError (729) */ + /** @name PalletRelayerError (813) */ interface PalletRelayerError extends Enum { readonly isUserKeyCddMissing: boolean; readonly isPayingKeyCddMissing: boolean; @@ -7652,86 +7770,183 @@ declare module '@polkadot/types/lookup' { | 'BadAuthorizationType'; } - /** @name PalletContractsWasmCodeInfo (731) */ - interface PalletContractsWasmCodeInfo extends Struct { + /** @name PalletContractsWasmPrefabWasmModule (815) */ + interface PalletContractsWasmPrefabWasmModule extends Struct { + readonly instructionWeightsVersion: Compact; + readonly initial: Compact; + readonly maximum: Compact; + readonly code: Bytes; + readonly determinism: PalletContractsWasmDeterminism; + } + + /** @name PalletContractsWasmOwnerInfo (817) */ + interface PalletContractsWasmOwnerInfo extends Struct { readonly owner: AccountId32; readonly deposit: Compact; readonly refcount: Compact; - readonly determinism: PalletContractsWasmDeterminism; - readonly codeLen: u32; } - /** @name PalletContractsStorageContractInfo (732) */ + /** @name PalletContractsStorageContractInfo (818) */ interface PalletContractsStorageContractInfo extends Struct { readonly trieId: Bytes; + readonly depositAccount: AccountId32; readonly codeHash: H256; readonly storageBytes: u32; readonly storageItems: u32; readonly storageByteDeposit: u128; readonly storageItemDeposit: u128; readonly storageBaseDeposit: u128; - readonly delegateDependencies: BTreeMap; } - /** @name PalletContractsStorageDeletionQueueManager (737) */ - interface PalletContractsStorageDeletionQueueManager extends Struct { - readonly insertCounter: u32; - readonly deleteCounter: u32; + /** @name PalletContractsStorageDeletedContract (821) */ + interface PalletContractsStorageDeletedContract extends Struct { + readonly trieId: Bytes; } - /** @name PalletContractsSchedule (739) */ + /** @name PalletContractsSchedule (823) */ interface PalletContractsSchedule extends Struct { readonly limits: PalletContractsScheduleLimits; readonly instructionWeights: PalletContractsScheduleInstructionWeights; + readonly hostFnWeights: PalletContractsScheduleHostFnWeights; } - /** @name PalletContractsScheduleLimits (740) */ + /** @name PalletContractsScheduleLimits (824) */ interface PalletContractsScheduleLimits extends Struct { readonly eventTopics: u32; + readonly globals: u32; + readonly locals: u32; + readonly parameters: u32; readonly memoryPages: u32; + readonly tableSize: u32; + readonly brTableSize: u32; readonly subjectLen: u32; readonly payloadLen: u32; - readonly runtimeMemory: u32; - readonly validatorRuntimeMemory: u32; - readonly eventRefTime: u64; } - /** @name PalletContractsScheduleInstructionWeights (741) */ + /** @name PalletContractsScheduleInstructionWeights (825) */ interface PalletContractsScheduleInstructionWeights extends Struct { - readonly base: u32; - } - - /** @name PalletContractsEnvironment (742) */ - interface PalletContractsEnvironment extends Struct { - readonly accountId: PalletContractsEnvironmentTypeAccountId32; - readonly balance: PalletContractsEnvironmentTypeU128; - readonly hash_: PalletContractsEnvironmentTypeH256; - readonly hasher: PalletContractsEnvironmentTypeBlakeTwo256; - readonly timestamp: PalletContractsEnvironmentTypeU64; - readonly blockNumber: PalletContractsEnvironmentTypeU32; - } - - /** @name PalletContractsEnvironmentTypeAccountId32 (743) */ - type PalletContractsEnvironmentTypeAccountId32 = Null; - - /** @name PalletContractsEnvironmentTypeU128 (744) */ - type PalletContractsEnvironmentTypeU128 = Null; - - /** @name PalletContractsEnvironmentTypeH256 (745) */ - type PalletContractsEnvironmentTypeH256 = Null; - - /** @name PalletContractsEnvironmentTypeBlakeTwo256 (746) */ - type PalletContractsEnvironmentTypeBlakeTwo256 = Null; - - /** @name PalletContractsEnvironmentTypeU64 (747) */ - type PalletContractsEnvironmentTypeU64 = Null; - - /** @name PalletContractsEnvironmentTypeU32 (748) */ - type PalletContractsEnvironmentTypeU32 = Null; - - /** @name PalletContractsError (750) */ + readonly version: u32; + readonly fallback: u32; + readonly i64const: u32; + readonly i64load: u32; + readonly i64store: u32; + readonly select: u32; + readonly r_if: u32; + readonly br: u32; + readonly brIf: u32; + readonly brTable: u32; + readonly brTablePerEntry: u32; + readonly call: u32; + readonly callIndirect: u32; + readonly callIndirectPerParam: u32; + readonly callPerLocal: u32; + readonly localGet: u32; + readonly localSet: u32; + readonly localTee: u32; + readonly globalGet: u32; + readonly globalSet: u32; + readonly memoryCurrent: u32; + readonly memoryGrow: u32; + readonly i64clz: u32; + readonly i64ctz: u32; + readonly i64popcnt: u32; + readonly i64eqz: u32; + readonly i64extendsi32: u32; + readonly i64extendui32: u32; + readonly i32wrapi64: u32; + readonly i64eq: u32; + readonly i64ne: u32; + readonly i64lts: u32; + readonly i64ltu: u32; + readonly i64gts: u32; + readonly i64gtu: u32; + readonly i64les: u32; + readonly i64leu: u32; + readonly i64ges: u32; + readonly i64geu: u32; + readonly i64add: u32; + readonly i64sub: u32; + readonly i64mul: u32; + readonly i64divs: u32; + readonly i64divu: u32; + readonly i64rems: u32; + readonly i64remu: u32; + readonly i64and: u32; + readonly i64or: u32; + readonly i64xor: u32; + readonly i64shl: u32; + readonly i64shrs: u32; + readonly i64shru: u32; + readonly i64rotl: u32; + readonly i64rotr: u32; + } + + /** @name PalletContractsScheduleHostFnWeights (826) */ + interface PalletContractsScheduleHostFnWeights extends Struct { + readonly caller: SpWeightsWeightV2Weight; + readonly isContract: SpWeightsWeightV2Weight; + readonly codeHash: SpWeightsWeightV2Weight; + readonly ownCodeHash: SpWeightsWeightV2Weight; + readonly callerIsOrigin: SpWeightsWeightV2Weight; + readonly address: SpWeightsWeightV2Weight; + readonly gasLeft: SpWeightsWeightV2Weight; + readonly balance: SpWeightsWeightV2Weight; + readonly valueTransferred: SpWeightsWeightV2Weight; + readonly minimumBalance: SpWeightsWeightV2Weight; + readonly blockNumber: SpWeightsWeightV2Weight; + readonly now: SpWeightsWeightV2Weight; + readonly weightToFee: SpWeightsWeightV2Weight; + readonly gas: SpWeightsWeightV2Weight; + readonly input: SpWeightsWeightV2Weight; + readonly inputPerByte: SpWeightsWeightV2Weight; + readonly r_return: SpWeightsWeightV2Weight; + readonly returnPerByte: SpWeightsWeightV2Weight; + readonly terminate: SpWeightsWeightV2Weight; + readonly random: SpWeightsWeightV2Weight; + readonly depositEvent: SpWeightsWeightV2Weight; + readonly depositEventPerTopic: SpWeightsWeightV2Weight; + readonly depositEventPerByte: SpWeightsWeightV2Weight; + readonly debugMessage: SpWeightsWeightV2Weight; + readonly debugMessagePerByte: SpWeightsWeightV2Weight; + readonly setStorage: SpWeightsWeightV2Weight; + readonly setStoragePerNewByte: SpWeightsWeightV2Weight; + readonly setStoragePerOldByte: SpWeightsWeightV2Weight; + readonly setCodeHash: SpWeightsWeightV2Weight; + readonly clearStorage: SpWeightsWeightV2Weight; + readonly clearStoragePerByte: SpWeightsWeightV2Weight; + readonly containsStorage: SpWeightsWeightV2Weight; + readonly containsStoragePerByte: SpWeightsWeightV2Weight; + readonly getStorage: SpWeightsWeightV2Weight; + readonly getStoragePerByte: SpWeightsWeightV2Weight; + readonly takeStorage: SpWeightsWeightV2Weight; + readonly takeStoragePerByte: SpWeightsWeightV2Weight; + readonly transfer: SpWeightsWeightV2Weight; + readonly call: SpWeightsWeightV2Weight; + readonly delegateCall: SpWeightsWeightV2Weight; + readonly callTransferSurcharge: SpWeightsWeightV2Weight; + readonly callPerClonedByte: SpWeightsWeightV2Weight; + readonly instantiate: SpWeightsWeightV2Weight; + readonly instantiateTransferSurcharge: SpWeightsWeightV2Weight; + readonly instantiatePerInputByte: SpWeightsWeightV2Weight; + readonly instantiatePerSaltByte: SpWeightsWeightV2Weight; + readonly hashSha2256: SpWeightsWeightV2Weight; + readonly hashSha2256PerByte: SpWeightsWeightV2Weight; + readonly hashKeccak256: SpWeightsWeightV2Weight; + readonly hashKeccak256PerByte: SpWeightsWeightV2Weight; + readonly hashBlake2256: SpWeightsWeightV2Weight; + readonly hashBlake2256PerByte: SpWeightsWeightV2Weight; + readonly hashBlake2128: SpWeightsWeightV2Weight; + readonly hashBlake2128PerByte: SpWeightsWeightV2Weight; + readonly ecdsaRecover: SpWeightsWeightV2Weight; + readonly ecdsaToEthAddress: SpWeightsWeightV2Weight; + readonly reentranceCount: SpWeightsWeightV2Weight; + readonly accountReentranceCount: SpWeightsWeightV2Weight; + readonly instantiationNonce: SpWeightsWeightV2Weight; + } + + /** @name PalletContractsError (827) */ interface PalletContractsError extends Enum { - readonly isInvalidSchedule: boolean; + readonly isInvalidScheduleVersion: boolean; readonly isInvalidCallFlags: boolean; readonly isOutOfGas: boolean; readonly isOutputBufferTooSmall: boolean; @@ -7740,7 +7955,6 @@ declare module '@polkadot/types/lookup' { readonly isContractNotFound: boolean; readonly isCodeTooLarge: boolean; readonly isCodeNotFound: boolean; - readonly isCodeInfoNotFound: boolean; readonly isOutOfBounds: boolean; readonly isDecodingFailed: boolean; readonly isContractTrapped: boolean; @@ -7750,26 +7964,18 @@ declare module '@polkadot/types/lookup' { readonly isRandomSubjectTooLong: boolean; readonly isTooManyTopics: boolean; readonly isNoChainExtension: boolean; - readonly isXcmDecodeFailed: boolean; + readonly isDeletionQueueFull: boolean; readonly isDuplicateContract: boolean; readonly isTerminatedInConstructor: boolean; readonly isReentranceDenied: boolean; - readonly isStateChangeDenied: boolean; readonly isStorageDepositNotEnoughFunds: boolean; readonly isStorageDepositLimitExhausted: boolean; readonly isCodeInUse: boolean; readonly isContractReverted: boolean; readonly isCodeRejected: boolean; readonly isIndeterministic: boolean; - readonly isMigrationInProgress: boolean; - readonly isNoMigrationPerformed: boolean; - readonly isMaxDelegateDependenciesReached: boolean; - readonly isDelegateDependencyNotFound: boolean; - readonly isDelegateDependencyAlreadyExists: boolean; - readonly isCannotAddSelfAsDelegateDependency: boolean; - readonly isOutOfTransientStorage: boolean; readonly type: - | 'InvalidSchedule' + | 'InvalidScheduleVersion' | 'InvalidCallFlags' | 'OutOfGas' | 'OutputBufferTooSmall' @@ -7778,7 +7984,6 @@ declare module '@polkadot/types/lookup' { | 'ContractNotFound' | 'CodeTooLarge' | 'CodeNotFound' - | 'CodeInfoNotFound' | 'OutOfBounds' | 'DecodingFailed' | 'ContractTrapped' @@ -7788,27 +7993,19 @@ declare module '@polkadot/types/lookup' { | 'RandomSubjectTooLong' | 'TooManyTopics' | 'NoChainExtension' - | 'XcmDecodeFailed' + | 'DeletionQueueFull' | 'DuplicateContract' | 'TerminatedInConstructor' | 'ReentranceDenied' - | 'StateChangeDenied' | 'StorageDepositNotEnoughFunds' | 'StorageDepositLimitExhausted' | 'CodeInUse' | 'ContractReverted' | 'CodeRejected' - | 'Indeterministic' - | 'MigrationInProgress' - | 'NoMigrationPerformed' - | 'MaxDelegateDependenciesReached' - | 'DelegateDependencyNotFound' - | 'DelegateDependencyAlreadyExists' - | 'CannotAddSelfAsDelegateDependency' - | 'OutOfTransientStorage'; + | 'Indeterministic'; } - /** @name PolymeshContractsError (752) */ + /** @name PolymeshContractsError (829) */ interface PolymeshContractsError extends Enum { readonly isInvalidFuncId: boolean; readonly isInvalidRuntimeCall: boolean; @@ -7837,8 +8034,8 @@ declare module '@polkadot/types/lookup' { | 'NoUpgradesSupported'; } - /** @name PalletPreimageOldRequestStatus (753) */ - interface PalletPreimageOldRequestStatus extends Enum { + /** @name PalletPreimageRequestStatus (830) */ + interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { readonly deposit: ITuple<[AccountId32, u128]>; @@ -7853,23 +8050,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageRequestStatus (755) */ - interface PalletPreimageRequestStatus extends Enum { - readonly isUnrequested: boolean; - readonly asUnrequested: { - readonly ticket: ITuple<[AccountId32, u128]>; - readonly len: u32; - } & Struct; - readonly isRequested: boolean; - readonly asRequested: { - readonly maybeTicket: Option>; - readonly count: u32; - readonly maybeLen: Option; - } & Struct; - readonly type: 'Unrequested' | 'Requested'; - } - - /** @name PalletPreimageError (760) */ + /** @name PalletPreimageError (834) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -7877,26 +8058,22 @@ declare module '@polkadot/types/lookup' { readonly isNotNoted: boolean; readonly isRequested: boolean; readonly isNotRequested: boolean; - readonly isTooMany: boolean; - readonly isTooFew: boolean; readonly type: | 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' - | 'NotRequested' - | 'TooMany' - | 'TooFew'; + | 'NotRequested'; } - /** @name PolymeshPrimitivesNftNftCollection (761) */ + /** @name PolymeshPrimitivesNftNftCollection (835) */ interface PolymeshPrimitivesNftNftCollection extends Struct { readonly id: u64; readonly assetId: PolymeshPrimitivesAssetAssetId; } - /** @name PalletNftError (765) */ + /** @name PalletNftError (839) */ interface PalletNftError extends Enum { readonly isBalanceOverflow: boolean; readonly isBalanceUnderflow: boolean; @@ -7959,20 +8136,20 @@ declare module '@polkadot/types/lookup' { | 'NumberOfKeysIsLessThanExpected'; } - /** @name PalletElectionProviderMultiPhaseReadySolution (766) */ + /** @name PalletElectionProviderMultiPhaseReadySolution (840) */ interface PalletElectionProviderMultiPhaseReadySolution extends Struct { readonly supports: Vec>; readonly score: SpNposElectionsElectionScore; readonly compute: PalletElectionProviderMultiPhaseElectionCompute; } - /** @name PalletElectionProviderMultiPhaseRoundSnapshot (768) */ + /** @name PalletElectionProviderMultiPhaseRoundSnapshot (842) */ interface PalletElectionProviderMultiPhaseRoundSnapshot extends Struct { readonly voters: Vec]>>; readonly targets: Vec; } - /** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (774) */ + /** @name PalletElectionProviderMultiPhaseSignedSignedSubmission (848) */ interface PalletElectionProviderMultiPhaseSignedSignedSubmission extends Struct { readonly who: AccountId32; readonly deposit: u128; @@ -7980,7 +8157,7 @@ declare module '@polkadot/types/lookup' { readonly callFee: u128; } - /** @name PalletElectionProviderMultiPhaseError (775) */ + /** @name PalletElectionProviderMultiPhaseError (849) */ interface PalletElectionProviderMultiPhaseError extends Enum { readonly isPreDispatchEarlySubmission: boolean; readonly isPreDispatchWrongWinnerCount: boolean; @@ -7996,7 +8173,6 @@ declare module '@polkadot/types/lookup' { readonly isFallbackFailed: boolean; readonly isBoundNotMet: boolean; readonly isTooManyWinners: boolean; - readonly isPreDispatchDifferentRound: boolean; readonly type: | 'PreDispatchEarlySubmission' | 'PreDispatchWrongWinnerCount' @@ -8011,454 +8187,195 @@ declare module '@polkadot/types/lookup' { | 'CallNotAllowed' | 'FallbackFailed' | 'BoundNotMet' - | 'TooManyWinners' - | 'PreDispatchDifferentRound'; + | 'TooManyWinners'; } - /** @name FrameSystemExtensionsCheckSpecVersion (777) */ - type FrameSystemExtensionsCheckSpecVersion = Null; - - /** @name FrameSystemExtensionsCheckTxVersion (778) */ - type FrameSystemExtensionsCheckTxVersion = Null; - - /** @name FrameSystemExtensionsCheckGenesis (779) */ - type FrameSystemExtensionsCheckGenesis = Null; - - /** @name FrameSystemExtensionsCheckNonce (782) */ - interface FrameSystemExtensionsCheckNonce extends Compact {} - - /** @name FrameSystemExtensionsCheckWeight (783) */ - type FrameSystemExtensionsCheckWeight = Null; - - /** @name PalletTransactionPaymentChargeTransactionPayment (784) */ - interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - - /** @name PalletPermissionsStoreCallMetadata (785) */ - type PalletPermissionsStoreCallMetadata = Null; - - /** @name SpRuntimeBlock (786) */ - interface SpRuntimeBlock extends Struct { - readonly header: SpRuntimeHeader; - readonly extrinsics: Vec; - } - - /** @name SpRuntimeExtrinsicInclusionMode (789) */ - interface SpRuntimeExtrinsicInclusionMode extends Enum { - readonly isAllExtrinsics: boolean; - readonly isOnlyInherents: boolean; - readonly type: 'AllExtrinsics' | 'OnlyInherents'; - } - - /** @name SpRuntimeTransactionValidityTransactionValidityError (793) */ - interface SpRuntimeTransactionValidityTransactionValidityError extends Enum { - readonly isInvalid: boolean; - readonly asInvalid: SpRuntimeTransactionValidityInvalidTransaction; - readonly isUnknown: boolean; - readonly asUnknown: SpRuntimeTransactionValidityUnknownTransaction; - readonly type: 'Invalid' | 'Unknown'; - } - - /** @name SpRuntimeTransactionValidityInvalidTransaction (794) */ - interface SpRuntimeTransactionValidityInvalidTransaction extends Enum { - readonly isCall: boolean; - readonly isPayment: boolean; - readonly isFuture: boolean; - readonly isStale: boolean; - readonly isBadProof: boolean; - readonly isAncientBirthBlock: boolean; - readonly isExhaustsResources: boolean; - readonly isCustom: boolean; - readonly asCustom: u8; - readonly isBadMandatory: boolean; - readonly isMandatoryValidation: boolean; - readonly isBadSigner: boolean; - readonly isIndeterminateImplicit: boolean; - readonly isUnknownOrigin: boolean; - readonly type: - | 'Call' - | 'Payment' - | 'Future' - | 'Stale' - | 'BadProof' - | 'AncientBirthBlock' - | 'ExhaustsResources' - | 'Custom' - | 'BadMandatory' - | 'MandatoryValidation' - | 'BadSigner' - | 'IndeterminateImplicit' - | 'UnknownOrigin'; - } - - /** @name SpRuntimeTransactionValidityUnknownTransaction (795) */ - interface SpRuntimeTransactionValidityUnknownTransaction extends Enum { - readonly isCannotLookup: boolean; - readonly isNoUnsignedValidator: boolean; - readonly isCustom: boolean; - readonly asCustom: u8; - readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom'; - } - - /** @name SpInherentsInherentData (796) */ - interface SpInherentsInherentData extends Struct { - readonly data: BTreeMap; - } - - /** @name SpInherentsCheckInherentsResult (800) */ - interface SpInherentsCheckInherentsResult extends Struct { - readonly okay: bool; - readonly fatalError: bool; - readonly errors: SpInherentsInherentData; - } - - /** @name SpRuntimeTransactionValidityTransactionSource (801) */ - interface SpRuntimeTransactionValidityTransactionSource extends Enum { - readonly isInBlock: boolean; - readonly isLocal: boolean; - readonly isExternal: boolean; - readonly type: 'InBlock' | 'Local' | 'External'; - } - - /** @name SpRuntimeTransactionValidityValidTransaction (803) */ - interface SpRuntimeTransactionValidityValidTransaction extends Struct { - readonly priority: u64; - readonly requires: Vec; - readonly provides: Vec; - readonly longevity: u64; - readonly propagate: bool; - } - - /** @name SpConsensusBabeBabeConfiguration (807) */ - interface SpConsensusBabeBabeConfiguration extends Struct { - readonly slotDuration: u64; - readonly epochLength: u64; - readonly c: ITuple<[u64, u64]>; - readonly authorities: Vec>; - readonly randomness: U8aFixed; - readonly allowedSlots: SpConsensusBabeAllowedSlots; - } - - /** @name SpConsensusBabeEpoch (808) */ - interface SpConsensusBabeEpoch extends Struct { - readonly epochIndex: u64; - readonly startSlot: u64; - readonly duration: u64; - readonly authorities: Vec>; - readonly randomness: U8aFixed; - readonly config: SpConsensusBabeBabeEpochConfiguration; - } - - /** @name PalletContractsPrimitivesExecReturnValue (813) */ - interface PalletContractsPrimitivesExecReturnValue extends Struct { - readonly flags: PalletContractsUapiFlagsReturnFlags; + /** @name PalletConfidentialAssetsDartAssetDetail (851) */ + interface PalletConfidentialAssetsDartAssetDetail extends Struct { + readonly assetId: u32; + readonly totalSupply: u128; + readonly ownerDid: PolymeshPrimitivesIdentityId; readonly data: Bytes; + readonly mediators: BTreeSet; + readonly auditors: BTreeSet; } - /** @name PalletContractsUapiFlagsReturnFlags (814) */ - interface PalletContractsUapiFlagsReturnFlags extends Struct { - readonly bits: u32; - } - - /** @name PalletContractsPrimitivesStorageDeposit (815) */ - interface PalletContractsPrimitivesStorageDeposit extends Enum { - readonly isRefund: boolean; - readonly asRefund: u128; - readonly isCharge: boolean; - readonly asCharge: u128; - readonly type: 'Refund' | 'Charge'; - } - - /** @name PalletContractsPrimitivesCode (818) */ - interface PalletContractsPrimitivesCode extends Enum { - readonly isUpload: boolean; - readonly asUpload: Bytes; - readonly isExisting: boolean; - readonly asExisting: H256; - readonly type: 'Upload' | 'Existing'; + /** @name PolymeshDartCurveTreeCommonNodeLocation (855) */ + interface PolymeshDartCurveTreeCommonNodeLocation extends Enum { + readonly isLeaf: boolean; + readonly asLeaf: Compact; + readonly isOdd: boolean; + readonly asOdd: PolymeshDartCurveTreeCommonNodePosition; + readonly isEven: boolean; + readonly asEven: PolymeshDartCurveTreeCommonNodePosition; + readonly type: 'Leaf' | 'Odd' | 'Even'; } - /** @name PalletContractsPrimitivesContractResult (819) */ - interface PalletContractsPrimitivesContractResult extends Struct { - readonly gasConsumed: SpWeightsWeightV2Weight; - readonly gasRequired: SpWeightsWeightV2Weight; - readonly storageDeposit: PalletContractsPrimitivesStorageDeposit; - readonly debugMessage: Bytes; - readonly result: Result< - PalletContractsPrimitivesInstantiateReturnValue, - SpRuntimeDispatchError - >; - readonly events: Option>; + /** @name PolymeshDartCurveTreeCommonNodePosition (856) */ + interface PolymeshDartCurveTreeCommonNodePosition extends Struct { + readonly level: Compact; + readonly index: Compact; } - /** @name PalletContractsPrimitivesInstantiateReturnValue (821) */ - interface PalletContractsPrimitivesInstantiateReturnValue extends Struct { - readonly result: PalletContractsPrimitivesExecReturnValue; - readonly accountId: AccountId32; + /** @name PolymeshDartCurveTreeCommonCompressedInner (858) */ + interface PolymeshDartCurveTreeCommonCompressedInner extends Struct { + readonly isEven: bool; + readonly commitments: Vec; } - /** @name PalletContractsPrimitivesCodeUploadReturnValue (823) */ - interface PalletContractsPrimitivesCodeUploadReturnValue extends Struct { - readonly codeHash: H256; - readonly deposit: u128; + /** @name PalletConfidentialAssetsSettlementLegAffirmParty (864) */ + interface PalletConfidentialAssetsSettlementLegAffirmParty extends Enum { + readonly isSender: boolean; + readonly isReceiver: boolean; + readonly isMediator: boolean; + readonly asMediator: u8; + readonly type: 'Sender' | 'Receiver' | 'Mediator'; } - /** @name PalletContractsPrimitivesContractAccessError (825) */ - interface PalletContractsPrimitivesContractAccessError extends Enum { - readonly isDoesntExist: boolean; - readonly isKeyDecodingFailed: boolean; - readonly isMigrationInProgress: boolean; - readonly type: 'DoesntExist' | 'KeyDecodingFailed' | 'MigrationInProgress'; - } - - /** @name PalletTransactionPaymentRuntimeDispatchInfo (826) */ - interface PalletTransactionPaymentRuntimeDispatchInfo extends Struct { - readonly weight: SpWeightsWeightV2Weight; - readonly class: FrameSupportDispatchDispatchClass; - readonly partialFee: u128; - } - - /** @name PalletTransactionPaymentFeeDetails (827) */ - interface PalletTransactionPaymentFeeDetails extends Struct { - readonly inclusionFee: Option; - readonly tip: u128; - } - - /** @name PalletTransactionPaymentInclusionFee (829) */ - interface PalletTransactionPaymentInclusionFee extends Struct { - readonly baseFee: u128; - readonly lenFee: u128; - readonly adjustedWeightFee: u128; - } - - /** @name PalletPipsVoteCount (833) */ - interface PalletPipsVoteCount extends Enum { - readonly isProposalFound: boolean; - readonly asProposalFound: { - readonly ayes: u128; - readonly nays: u128; - } & Struct; - readonly isProposalNotFound: boolean; - readonly type: 'ProposalFound' | 'ProposalNotFound'; - } - - /** @name PalletIdentityRpcDidRecords (836) */ - interface PalletIdentityRpcDidRecords extends Enum { - readonly isSuccess: boolean; - readonly asSuccess: { - readonly primaryKey: AccountId32; - readonly secondaryKeys: Vec; - } & Struct; - readonly isIdNotFound: boolean; - readonly type: 'Success' | 'IdNotFound'; - } - - /** @name PolymeshPrimitivesAuthorizationAuthorizationType (838) */ - interface PolymeshPrimitivesAuthorizationAuthorizationType extends Enum { - readonly isAttestPrimaryKeyRotation: boolean; - readonly isRotatePrimaryKey: boolean; - readonly isTransferTicker: boolean; - readonly isAddMultiSigSigner: boolean; - readonly isTransferAssetOwnership: boolean; - readonly isJoinIdentity: boolean; - readonly isPortfolioCustody: boolean; - readonly isBecomeAgent: boolean; - readonly isAddRelayerPayingKey: boolean; - readonly isRotatePrimaryKeyToSecondary: boolean; + /** @name PalletConfidentialAssetsSettlementAffirmationStatus (865) */ + interface PalletConfidentialAssetsSettlementAffirmationStatus extends Enum { + readonly isPending: boolean; + readonly isAffirmed: boolean; + readonly isRejected: boolean; + readonly isFinalized: boolean; + readonly type: 'Pending' | 'Affirmed' | 'Rejected' | 'Finalized'; + } + + /** @name FrameSupportPalletId (866) */ + interface FrameSupportPalletId extends U8aFixed {} + + /** @name PalletConfidentialAssetsError (867) */ + interface PalletConfidentialAssetsError extends Enum { + readonly isAccountMissing: boolean; + readonly isAccountAlreadyCreated: boolean; + readonly isAccountAssetAlreadyRegistered: boolean; + readonly isEncryptionKeyAlreadyRegistered: boolean; + readonly isFeeAccountMissing: boolean; + readonly isFeeAccountAlreadyRegistered: boolean; + readonly isInsufficientFeePaymentAmount: boolean; + readonly isInvalidFeePaymentProof: boolean; + readonly isEmptyBatchedProofs: boolean; + readonly isInvalidFeeAssetId: boolean; + readonly isAmountOverflow: boolean; + readonly isCurveTreeError: boolean; + readonly isCurveTreeRootNotFound: boolean; + readonly isLeafNotFound: boolean; + readonly isInvalidProof: boolean; + readonly isAssetStateInvalid: boolean; + readonly isAssetMissing: boolean; + readonly isNotAccountOwner: boolean; + readonly isNotAssetOwner: boolean; + readonly isMaxTotalSupplyExceeded: boolean; + readonly isNullifierAlreadyUsed: boolean; + readonly isEncryptionKeyMissing: boolean; + readonly isSettlementMissingLegs: boolean; + readonly isSettlementTooManyLegs: boolean; + readonly isSettlementMemoTooLong: boolean; + readonly isBatchedSettlementInvalidLegRefs: boolean; + readonly isCannotGoFromPendingToFinalized: boolean; + readonly isCannotGoFromFinalizedToPending: boolean; + readonly isCannotGoFromFinalizedToRejected: boolean; + readonly isCannotGoFromRejectedToFinalized: boolean; + readonly isCannotRejectFinalizedSettlement: boolean; + readonly isSenderHasNotAffirmed: boolean; + readonly isReceiverHasNotAffirmed: boolean; + readonly isAlreadyAffirmed: boolean; + readonly isLegNotAffirmed: boolean; + readonly isLegNotRejected: boolean; + readonly isNoMediatorsForThisLeg: boolean; + readonly isTooManyMediators: boolean; + readonly isWrongMediatorId: boolean; + readonly isNoPendingAffirmations: boolean; + readonly isSettlementNotFound: boolean; + readonly isLegNotFound: boolean; + readonly isSettlementNotPending: boolean; + readonly isSettlementNotExecuted: boolean; + readonly isSettlementNotRejected: boolean; + readonly isCurveTreeParametersNotSet: boolean; + readonly isNoCurrentBatch: boolean; + readonly isNoAuditorsOrMediators: boolean; + readonly isNotLastPendingAffirmation: boolean; + readonly isTooManyDecimals: boolean; + readonly isNameTooLong: boolean; + readonly isSymbolTooLong: boolean; + readonly isInvalidAssetName: boolean; readonly type: - | 'AttestPrimaryKeyRotation' - | 'RotatePrimaryKey' - | 'TransferTicker' - | 'AddMultiSigSigner' - | 'TransferAssetOwnership' - | 'JoinIdentity' - | 'PortfolioCustody' - | 'BecomeAgent' - | 'AddRelayerPayingKey' - | 'RotatePrimaryKeyToSecondary'; - } - - /** @name PalletIdentityDidStatus (841) */ - interface PalletIdentityDidStatus extends Enum { - readonly isUnknown: boolean; - readonly isExists: boolean; - readonly isCddVerified: boolean; - readonly type: 'Unknown' | 'Exists' | 'CddVerified'; - } + | 'AccountMissing' + | 'AccountAlreadyCreated' + | 'AccountAssetAlreadyRegistered' + | 'EncryptionKeyAlreadyRegistered' + | 'FeeAccountMissing' + | 'FeeAccountAlreadyRegistered' + | 'InsufficientFeePaymentAmount' + | 'InvalidFeePaymentProof' + | 'EmptyBatchedProofs' + | 'InvalidFeeAssetId' + | 'AmountOverflow' + | 'CurveTreeError' + | 'CurveTreeRootNotFound' + | 'LeafNotFound' + | 'InvalidProof' + | 'AssetStateInvalid' + | 'AssetMissing' + | 'NotAccountOwner' + | 'NotAssetOwner' + | 'MaxTotalSupplyExceeded' + | 'NullifierAlreadyUsed' + | 'EncryptionKeyMissing' + | 'SettlementMissingLegs' + | 'SettlementTooManyLegs' + | 'SettlementMemoTooLong' + | 'BatchedSettlementInvalidLegRefs' + | 'CannotGoFromPendingToFinalized' + | 'CannotGoFromFinalizedToPending' + | 'CannotGoFromFinalizedToRejected' + | 'CannotGoFromRejectedToFinalized' + | 'CannotRejectFinalizedSettlement' + | 'SenderHasNotAffirmed' + | 'ReceiverHasNotAffirmed' + | 'AlreadyAffirmed' + | 'LegNotAffirmed' + | 'LegNotRejected' + | 'NoMediatorsForThisLeg' + | 'TooManyMediators' + | 'WrongMediatorId' + | 'NoPendingAffirmations' + | 'SettlementNotFound' + | 'LegNotFound' + | 'SettlementNotPending' + | 'SettlementNotExecuted' + | 'SettlementNotRejected' + | 'CurveTreeParametersNotSet' + | 'NoCurrentBatch' + | 'NoAuditorsOrMediators' + | 'NotLastPendingAffirmation' + | 'TooManyDecimals' + | 'NameTooLong' + | 'SymbolTooLong' + | 'InvalidAssetName'; + } + + /** @name FrameSystemExtensionsCheckSpecVersion (870) */ + type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name PalletIdentityKeyIdentityData (843) */ - interface PalletIdentityKeyIdentityData extends Struct { - readonly identity: PolymeshPrimitivesIdentityId; - readonly permissions: Option; - } + /** @name FrameSystemExtensionsCheckTxVersion (871) */ + type FrameSystemExtensionsCheckTxVersion = Null; - /** @name PalletGroupRpcRuntimeApiMember (847) */ - interface PalletGroupRpcRuntimeApiMember extends Struct { - readonly id: PolymeshPrimitivesIdentityId; - readonly expiryAt: Option; - readonly inactiveFrom: Option; - } + /** @name FrameSystemExtensionsCheckGenesis (872) */ + type FrameSystemExtensionsCheckGenesis = Null; - /** @name PolymeshPrimitivesSettlementExecuteInstructionInfo (849) */ - interface PolymeshPrimitivesSettlementExecuteInstructionInfo extends Struct { - readonly fungibleTokens: u32; - readonly nonFungibleTokens: u32; - readonly offChainAssets: u32; - readonly consumedWeight: SpWeightsWeightV2Weight; - readonly error: Option; - } + /** @name FrameSystemExtensionsCheckNonce (875) */ + interface FrameSystemExtensionsCheckNonce extends Compact {} - /** @name PolymeshPrimitivesComplianceManagerComplianceReport (853) */ - interface PolymeshPrimitivesComplianceManagerComplianceReport extends Struct { - readonly anyRequirementSatisfied: bool; - readonly pausedCompliance: bool; - readonly requirements: Vec; - } + /** @name FrameSystemExtensionsCheckWeight (876) */ + type FrameSystemExtensionsCheckWeight = Null; - /** @name PolymeshPrimitivesComplianceManagerRequirementReport (855) */ - interface PolymeshPrimitivesComplianceManagerRequirementReport extends Struct { - readonly requirementSatisfied: bool; - readonly id: u32; - readonly senderConditions: Vec; - readonly receiverConditions: Vec; - } + /** @name PalletTransactionPaymentChargeTransactionPayment (877) */ + interface PalletTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name PolymeshPrimitivesComplianceManagerConditionReport (857) */ - interface PolymeshPrimitivesComplianceManagerConditionReport extends Struct { - readonly satisfied: bool; - readonly condition: PolymeshPrimitivesCondition; - } + /** @name PalletPermissionsStoreCallMetadata (878) */ + type PalletPermissionsStoreCallMetadata = Null; - /** @name PolymeshRuntimeDevelopRuntimeRuntimeError (861) */ - interface PolymeshRuntimeDevelopRuntimeRuntimeError extends Enum { - readonly isSystem: boolean; - readonly asSystem: FrameSystemError; - readonly isBabe: boolean; - readonly asBabe: PalletBabeError; - readonly isIndices: boolean; - readonly asIndices: PalletIndicesError; - readonly isBalances: boolean; - readonly asBalances: PalletBalancesError; - readonly isIdentity: boolean; - readonly asIdentity: PalletIdentityError; - readonly isCddServiceProviders: boolean; - readonly asCddServiceProviders: PalletGroupError; - readonly isPolymeshCommittee: boolean; - readonly asPolymeshCommittee: PalletCommitteeError; - readonly isCommitteeMembership: boolean; - readonly asCommitteeMembership: PalletGroupError; - readonly isTechnicalCommittee: boolean; - readonly asTechnicalCommittee: PalletCommitteeError; - readonly isTechnicalCommitteeMembership: boolean; - readonly asTechnicalCommitteeMembership: PalletGroupError; - readonly isUpgradeCommittee: boolean; - readonly asUpgradeCommittee: PalletCommitteeError; - readonly isUpgradeCommitteeMembership: boolean; - readonly asUpgradeCommitteeMembership: PalletGroupError; - readonly isMultiSig: boolean; - readonly asMultiSig: PalletMultisigError; - readonly isValidators: boolean; - readonly asValidators: PalletValidatorsError; - readonly isStaking: boolean; - readonly asStaking: PalletStakingPalletError; - readonly isSession: boolean; - readonly asSession: PalletSessionError; - readonly isGrandpa: boolean; - readonly asGrandpa: PalletGrandpaError; - readonly isImOnline: boolean; - readonly asImOnline: PalletImOnlineError; - readonly isSudo: boolean; - readonly asSudo: PalletSudoError; - readonly isAsset: boolean; - readonly asAsset: PalletAssetError; - readonly isCapitalDistribution: boolean; - readonly asCapitalDistribution: PalletCorporateActionsDistributionPalletError; - readonly isCheckpoint: boolean; - readonly asCheckpoint: PalletAssetCheckpointPalletError; - readonly isComplianceManager: boolean; - readonly asComplianceManager: PalletComplianceManagerError; - readonly isCorporateAction: boolean; - readonly asCorporateAction: PalletCorporateActionsError; - readonly isCorporateBallot: boolean; - readonly asCorporateBallot: PalletCorporateActionsBallotPalletError; - readonly isPermissions: boolean; - readonly asPermissions: PalletPermissionsError; - readonly isPips: boolean; - readonly asPips: PalletPipsError; - readonly isPortfolio: boolean; - readonly asPortfolio: PalletPortfolioError; - readonly isProtocolFee: boolean; - readonly asProtocolFee: PalletProtocolFeeError; - readonly isScheduler: boolean; - readonly asScheduler: PalletSchedulerError; - readonly isSettlement: boolean; - readonly asSettlement: PalletSettlementError; - readonly isStatistics: boolean; - readonly asStatistics: PalletStatisticsError; - readonly isSto: boolean; - readonly asSto: PalletStoError; - readonly isTreasury: boolean; - readonly asTreasury: PalletTreasuryError; - readonly isUtility: boolean; - readonly asUtility: PalletUtilityError; - readonly isBase: boolean; - readonly asBase: PalletBaseError; - readonly isExternalAgents: boolean; - readonly asExternalAgents: PalletExternalAgentsError; - readonly isRelayer: boolean; - readonly asRelayer: PalletRelayerError; - readonly isContracts: boolean; - readonly asContracts: PalletContractsError; - readonly isPolymeshContracts: boolean; - readonly asPolymeshContracts: PolymeshContractsError; - readonly isPreimage: boolean; - readonly asPreimage: PalletPreimageError; - readonly isNft: boolean; - readonly asNft: PalletNftError; - readonly isElectionProviderMultiPhase: boolean; - readonly asElectionProviderMultiPhase: PalletElectionProviderMultiPhaseError; - readonly type: - | 'System' - | 'Babe' - | 'Indices' - | 'Balances' - | 'Identity' - | 'CddServiceProviders' - | 'PolymeshCommittee' - | 'CommitteeMembership' - | 'TechnicalCommittee' - | 'TechnicalCommitteeMembership' - | 'UpgradeCommittee' - | 'UpgradeCommitteeMembership' - | 'MultiSig' - | 'Validators' - | 'Staking' - | 'Session' - | 'Grandpa' - | 'ImOnline' - | 'Sudo' - | 'Asset' - | 'CapitalDistribution' - | 'Checkpoint' - | 'ComplianceManager' - | 'CorporateAction' - | 'CorporateBallot' - | 'Permissions' - | 'Pips' - | 'Portfolio' - | 'ProtocolFee' - | 'Scheduler' - | 'Settlement' - | 'Statistics' - | 'Sto' - | 'Treasury' - | 'Utility' - | 'Base' - | 'ExternalAgents' - | 'Relayer' - | 'Contracts' - | 'PolymeshContracts' - | 'Preimage' - | 'Nft' - | 'ElectionProviderMultiPhase'; - } + /** @name PolymeshRuntimeDevelopRuntime (879) */ + type PolymeshRuntimeDevelopRuntime = Null; } // declare module