import '@polkadot/api-base/types/submittable'; import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types'; import type { Bytes, Compact, Null, Option, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H256, MultiAddress } from '@polkadot/types/interfaces/runtime'; import type { CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, LogionRuntimeOriginCaller, LogionRuntimeSessionKeys, PalletBalancesAdjustmentDirection, PalletLoAuthorityListHostDataParam, PalletLoAuthorityListLegalOfficerDataParam, PalletLogionLocCollectionItemFile, PalletLogionLocCollectionItemToken, PalletLogionLocFileParams, PalletLogionLocItems, PalletLogionLocItemsParams, PalletLogionLocLocLinkParams, PalletLogionLocLocType, PalletLogionLocLocVoidInfo, PalletLogionLocMetadataItemParams, PalletLogionLocOtherAccountId, PalletLogionLocRequester, PalletLogionLocSupportedAccountId, PalletLogionLocTermsAndConditionsElement, PalletLogionLocTokensRecordFile, PalletMultisigTimepoint, PalletVestingVestingInfo, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; export type __SubmittableExtrinsicFunction = SubmittableExtrinsicFunction; declare module '@polkadot/api-base/types/submittable' { interface AugmentedSubmittables { balances: { /** * Adjust the total issuance in a saturating way. * * Can only be called by root and always needs a positive `delta`. * * # Example **/ forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletBalancesAdjustmentDirection, Compact]>; /** * Set the regular balance of a given account. * * 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. **/ forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, dest: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [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... * * The dispatch origin of this call must be Signed. * * - `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). **/ transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, bool]>; /** * 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. * * 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. * * [`transfer_allow_death`]: struct.Pallet.html#method.transfer **/ transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; /** * 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]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; collatorSelection: { /** * Add a new account `who` to the list of `Invulnerables` collators. `who` must have * registered session keys. If `who` is a candidate, they will be removed. * * The origin for this call must be the `UpdateOrigin`. **/ addInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** * Deregister `origin` as a collator candidate. Note that the collator can only leave on * session change. The `CandidacyBond` will be unreserved immediately. * * This call will fail if the total number of candidates would drop below * `MinEligibleCollators`. **/ leaveIntent: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Register this account as a collator candidate. The account must (a) already have * registered session keys and (b) be able to reserve the `CandidacyBond`. * * This call is not available to `Invulnerable` collators. **/ registerAsCandidate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Remove an account `who` from the list of `Invulnerables` collators. `Invulnerables` must * be sorted. * * The origin for this call must be the `UpdateOrigin`. **/ removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** * Set the candidacy bond amount. * * If the candidacy bond is increased by this call, all current candidates which have a * deposit lower than the new bond will be kicked from the list and get their deposits * back. * * The origin for this call must be the `UpdateOrigin`. **/ setCandidacyBond: AugmentedSubmittable<(bond: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; /** * Set the ideal number of non-invulnerable collators. If lowering this number, then the * number of running collators could be higher than this figure. Aside from that edge case, * there should be no other way to have more candidates than the desired number. * * The origin for this call must be the `UpdateOrigin`. **/ setDesiredCandidates: AugmentedSubmittable<(max: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Set the list of invulnerable (fixed) collators. These collators must do some * preparation, namely to have registered session keys. * * The call will remove any accounts that have not registered keys from the set. That is, * it is non-atomic; the caller accepts all `AccountId`s passed in `new` _individually_ as * acceptable Invulnerables, and is not proposing a _set_ of new Invulnerables. * * This call does not maintain mutual exclusivity of `Invulnerables` and `Candidates`. It * is recommended to use a batch of `add_invulnerable` and `remove_invulnerable` instead. A * `batch_all` can also be used to enforce atomicity. If any candidates are included in * `new`, they should be removed with `remove_invulnerable_candidate` after execution. * * Must be called by the `UpdateOrigin`. **/ setInvulnerables: AugmentedSubmittable<(updated: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** * The caller `origin` replaces a candidate `target` in the collator candidate list by * reserving `deposit`. The amount `deposit` reserved by the caller must be greater than * the existing bond of the target it is trying to replace. * * This call will fail if the caller is already a collator candidate or invulnerable, the * caller does not have registered session keys, the target is not a collator candidate, * and/or the `deposit` amount cannot be reserved. **/ takeCandidateSlot: AugmentedSubmittable<(deposit: u128 | AnyNumber | Uint8Array, target: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [u128, AccountId32]>; /** * Update the candidacy bond of collator candidate `origin` to a new amount `new_deposit`. * * Setting a `new_deposit` that is lower than the current deposit while `origin` is * occupying a top-`DesiredCandidates` slot is not allowed. * * This call will fail if `origin` is not a collator candidate, the updated bond is lower * than the minimum candidacy bond, and/or the amount cannot be reserved. **/ updateBond: AugmentedSubmittable<(newDeposit: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; communityTreasury: { /** * Approve a proposal. * * ## Dispatch Origin * * Must be [`Config::ApproveOrigin`]. * * ## Details * * At a later time, the proposal will be allocated to the beneficiary and the original * deposit will be returned. * * ### Complexity * - O(1). * * ## Events * * No events are emitted from this dispatch. **/ approveProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Check the status of the spend and remove it from the storage if processed. * * ## Dispatch Origin * * Must be signed. * * ## Details * * The status check is a prerequisite for retrying a failed payout. * If a spend has either succeeded or expired, it is removed from the storage by this * function. In such instances, transaction fees are refunded. * * ### Parameters * - `index`: The spend index. * * ## Events * * Emits [`Event::PaymentFailed`] if the spend payout has failed. * Emits [`Event::SpendProcessed`] if the spend payout has succeed. **/ checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Claim a spend. * * ## Dispatch Origin * * Must be signed. * * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one * [`Config::PayoutPeriod`] from the `valid_from` block. * In case of a payout failure, the spend status must be updated with the `check_status` * dispatchable before retrying with the current function. * * ### Parameters * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. **/ payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Put forward a suggestion for spending. * * ## Dispatch Origin * * Must be signed. * * ## Details * A deposit proportional to the value is reserved and slashed if the proposal is rejected. * It is returned once the proposal is awarded. * * ### Complexity * - O(1) * * ## Events * * Emits [`Event::Proposed`] if successful. **/ proposeSpend: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** * Reject a proposed spend. * * ## Dispatch Origin * * Must be [`Config::RejectOrigin`]. * * ## Details * The original deposit will be slashed. * * ### Complexity * - O(1) * * ## Events * * Emits [`Event::Rejected`] if successful. **/ rejectProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Force a previously approved proposal to be removed from the approval queue. * * ## Dispatch Origin * * Must be [`Config::RejectOrigin`]. * * ## Details * * The original deposit will no longer be returned. * * ### Parameters * - `proposal_id`: The index of a proposal * * ### Complexity * - O(A) where `A` is the number of approvals * * ### Errors * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the * approval queue, i.e., the proposal has not been approved. This could also mean the * proposal does not exist altogether, thus there is no way it would have been approved * in the first place. **/ removeApproval: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Propose and approve a spend of treasury funds. * * ## Dispatch Origin * * Must be [`Config::SpendOrigin`] with the `Success` value being at least * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted * for assertion using the [`Config::BalanceConverter`]. * * ## Details * * Create an approved spend for transferring a specific `amount` of `asset_kind` to a * designated beneficiary. The spend must be claimed using the `payout` dispatchable within * the [`Config::PayoutPeriod`]. * * ### Parameters * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. * - `valid_from`: The block number from which the spend can be claimed. It can refer to * the past if the resulting spend has not yet expired according to the * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. **/ spend: AugmentedSubmittable<(assetKind: Null | null, amount: Compact | AnyNumber | Uint8Array, beneficiary: AccountId32 | string | Uint8Array, validFrom: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Null, Compact, AccountId32, Option]>; /** * Propose and approve a spend of treasury funds. * * ## Dispatch Origin * * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the * beneficiary. * * ### Parameters * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. **/ spendLocal: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** * Void previously approved spend. * * ## Dispatch Origin * * Must be [`Config::RejectOrigin`]. * * ## Details * * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. **/ voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; cumulusXcm: { /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; loAuthorityList: { /** * Adds a new LO to the list **/ addLegalOfficer: AugmentedSubmittable<(legalOfficerId: AccountId32 | string | Uint8Array, data: PalletLoAuthorityListLegalOfficerDataParam | { Host: any; } | { Guest: any; } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, PalletLoAuthorityListLegalOfficerDataParam]>; /** * Import a guest LO **/ importGuestLegalOfficer: AugmentedSubmittable<(legalOfficerId: AccountId32 | string | Uint8Array, hostId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, AccountId32]>; /** * Import a host LO **/ importHostLegalOfficer: AugmentedSubmittable<(legalOfficerId: AccountId32 | string | Uint8Array, data: PalletLoAuthorityListHostDataParam | { nodeId?: any; baseUrl?: any; region?: any; } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, PalletLoAuthorityListHostDataParam]>; /** * Removes a LO from the list **/ removeLegalOfficer: AugmentedSubmittable<(legalOfficerId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** * Updates an existing LO's data **/ updateLegalOfficer: AugmentedSubmittable<(legalOfficerId: AccountId32 | string | Uint8Array, data: PalletLoAuthorityListLegalOfficerDataParam | { Host: any; } | { Guest: any; } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, PalletLoAuthorityListLegalOfficerDataParam]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; logionLoc: { /** * Acknowledge a file. **/ acknowledgeFile: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [Compact, H256]>; /** * Acknowledge a link. **/ acknowledgeLink: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, target: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Compact]>; /** * Acknowledge a metadata item. **/ acknowledgeMetadata: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, name: H256 | string | Uint8Array) => SubmittableExtrinsic, [Compact, H256]>; /** * Adds an item to a collection **/ addCollectionItem: AugmentedSubmittable<(collectionLocId: Compact | AnyNumber | Uint8Array, itemId: H256 | string | Uint8Array, itemDescription: H256 | string | Uint8Array, itemFiles: Vec | (PalletLogionLocCollectionItemFile | { name?: any; contentType?: any; size_?: any; hash_?: any; } | string | Uint8Array)[], itemToken: Option | null | Uint8Array | PalletLogionLocCollectionItemToken | { tokenType?: any; tokenId?: any; tokenIssuance?: any; } | string, restrictedDelivery: bool | boolean | Uint8Array, termsAndConditions: Vec | (PalletLogionLocTermsAndConditionsElement | { tcType?: any; tcLoc?: any; details?: any; } | string | Uint8Array)[]) => SubmittableExtrinsic, [Compact, H256, H256, Vec, Option, bool, Vec]>; /** * Add file to LOC **/ addFile: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, file: PalletLogionLocFileParams | { hash_?: any; nature?: any; submitter?: any; size_?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, PalletLogionLocFileParams]>; /** * Add a link to LOC **/ addLink: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, link: PalletLogionLocLocLinkParams | { id?: any; nature?: any; submitter?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, PalletLogionLocLocLinkParams]>; /** * Add LOC metadata **/ addMetadata: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, item: PalletLogionLocMetadataItemParams | { name?: any; value?: any; submitter?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, PalletLogionLocMetadataItemParams]>; /** * Add token record **/ addTokensRecord: AugmentedSubmittable<(collectionLocId: Compact | AnyNumber | Uint8Array, recordId: H256 | string | Uint8Array, description: H256 | string | Uint8Array, files: Vec | (PalletLogionLocTokensRecordFile | { name?: any; contentType?: any; size_?: any; hash_?: any; } | string | Uint8Array)[], chargeSubmitter: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, H256, H256, Vec, bool]>; /** * Close LOC. **/ close: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, seal: Option | null | Uint8Array | H256 | string, autoAck: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, Option, bool]>; /** * Creates a new Collection LOC **/ createCollectionLoc: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, legalOfficer: AccountId32 | string | Uint8Array, collectionLastBlockSubmission: Option | null | Uint8Array | u32 | AnyNumber, collectionMaxSize: Option | null | Uint8Array | u32 | AnyNumber, collectionCanUpload: bool | boolean | Uint8Array, valueFee: u128 | AnyNumber | Uint8Array, legalFee: u128 | AnyNumber | Uint8Array, collectionItemFee: u128 | AnyNumber | Uint8Array, tokensRecordFee: u128 | AnyNumber | Uint8Array, items: PalletLogionLocItemsParams | { metadata?: any; files?: any; links?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, AccountId32, Option, Option, bool, u128, u128, u128, u128, PalletLogionLocItemsParams]>; /** * Creates a new logion Identity LOC i.e. a LOC describing a real identity not yet linked to an AccountId; * No Legal Fee is applied. **/ createLogionIdentityLoc: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Creates a new logion Transaction LOC i.e. a LOC requested with a logion Identity LOC; * No Legal Fee is applied. **/ createLogionTransactionLoc: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, requesterLocId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, u128]>; /** * Creates a new Identity LOC whose requester is another address (Currently only Ethereum address is supported). **/ createOtherIdentityLoc: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, requesterAccountId: PalletLogionLocOtherAccountId | { Ethereum: any; } | string | Uint8Array, sponsorshipId: Compact | AnyNumber | Uint8Array, legalFee: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, PalletLogionLocOtherAccountId, Compact, u128]>; /** * Creates a new Polkadot Identity LOC i.e. a LOC linking a real identity to an AccountId. **/ createPolkadotIdentityLoc: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, legalOfficer: AccountId32 | string | Uint8Array, legalFee: u128 | AnyNumber | Uint8Array, items: PalletLogionLocItemsParams | { metadata?: any; files?: any; links?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, AccountId32, u128, PalletLogionLocItemsParams]>; /** * Creates a new Polkadot Transaction LOC i.e. a LOC requested with an AccountId **/ createPolkadotTransactionLoc: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, legalOfficer: AccountId32 | string | Uint8Array, legalFee: u128 | AnyNumber | Uint8Array, items: PalletLogionLocItemsParams | { metadata?: any; files?: any; links?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, AccountId32, u128, PalletLogionLocItemsParams]>; /** * Dismiss an issuer **/ dismissIssuer: AugmentedSubmittable<(issuer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** * Imports a collection item **/ importCollectionItem: AugmentedSubmittable<(collectionLocId: Compact | AnyNumber | Uint8Array, itemId: H256 | string | Uint8Array, itemDescription: H256 | string | Uint8Array, itemFiles: Vec | (PalletLogionLocCollectionItemFile | { name?: any; contentType?: any; size_?: any; hash_?: any; } | string | Uint8Array)[], itemToken: Option | null | Uint8Array | PalletLogionLocCollectionItemToken | { tokenType?: any; tokenId?: any; tokenIssuance?: any; } | string, restrictedDelivery: bool | boolean | Uint8Array, termsAndConditions: Vec | (PalletLogionLocTermsAndConditionsElement | { tcType?: any; tcLoc?: any; details?: any; } | string | Uint8Array)[]) => SubmittableExtrinsic, [Compact, H256, H256, Vec, Option, bool, Vec]>; /** * Imports an invited contributor selection **/ importInvitedContributorSelection: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, invitedContributor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [Compact, AccountId32]>; /** * Import LOC data. **/ importLoc: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, requester: PalletLogionLocRequester | { None: any; } | { Account: any; } | { Loc: any; } | { OtherAccount: any; } | string | Uint8Array, legalOfficer: AccountId32 | string | Uint8Array, locType: PalletLogionLocLocType | 'Transaction' | 'Identity' | 'Collection' | number | Uint8Array, items: PalletLogionLocItems | { metadata?: any; files?: any; links?: any; } | string | Uint8Array, collectionLastBlockSubmission: Option | null | Uint8Array | u32 | AnyNumber, collectionMaxSize: Option | null | Uint8Array | u32 | AnyNumber, collectionCanUpload: bool | boolean | Uint8Array, valueFee: u128 | AnyNumber | Uint8Array, legalFee: u128 | AnyNumber | Uint8Array, collectionItemFee: u128 | AnyNumber | Uint8Array, tokensRecordFee: u128 | AnyNumber | Uint8Array, sponsorshipId: Option | null | Uint8Array | u128 | AnyNumber, seal: Option | null | Uint8Array | H256 | string, voidInfo: Option | null | Uint8Array | PalletLogionLocLocVoidInfo | { replacer?: any; } | string, replacerOf: Option | null | Uint8Array | u128 | AnyNumber, closed: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, PalletLogionLocRequester, AccountId32, PalletLogionLocLocType, PalletLogionLocItems, Option, Option, bool, u128, u128, u128, u128, Option, Option, Option, Option, bool]>; /** * Import a sponsorship. **/ importSponsorship: AugmentedSubmittable<(sponsorshipId: Compact | AnyNumber | Uint8Array, sponsor: AccountId32 | string | Uint8Array, sponsoredAccount: PalletLogionLocSupportedAccountId | { None: any; } | { Polkadot: any; } | { Other: any; } | string | Uint8Array, legalOfficer: AccountId32 | string | Uint8Array, locId: Option | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic, [Compact, AccountId32, PalletLogionLocSupportedAccountId, AccountId32, Option]>; /** * Imports a tokens record **/ importTokensRecord: AugmentedSubmittable<(collectionLocId: Compact | AnyNumber | Uint8Array, recordId: H256 | string | Uint8Array, description: H256 | string | Uint8Array, files: Vec | (PalletLogionLocTokensRecordFile | { name?: any; contentType?: any; size_?: any; hash_?: any; } | string | Uint8Array)[], submitter: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [Compact, H256, H256, Vec, AccountId32]>; /** * Import a verified issuer **/ importVerifiedIssuer: AugmentedSubmittable<(legalOfficer: AccountId32 | string | Uint8Array, issuer: AccountId32 | string | Uint8Array, identityLocId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AccountId32, AccountId32, Compact]>; /** * Import a verified issuer selection **/ importVerifiedIssuerSelection: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, issuer: AccountId32 | string | Uint8Array, locOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [Compact, AccountId32, AccountId32]>; /** * Make a LOC void. **/ makeVoid: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Make a LOC void and provide a replacer. **/ makeVoidAndReplace: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, replacerLocId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Compact]>; /** * Nominate an issuer **/ nominateIssuer: AugmentedSubmittable<(issuer: AccountId32 | string | Uint8Array, identityLocId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AccountId32, Compact]>; /** * Select/unselect an invited contributor on a given LOC **/ setInvitedContributorSelection: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, invitedContributor: AccountId32 | string | Uint8Array, selected: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, AccountId32, bool]>; /** * Select/unselect an issuer on a given LOC **/ setIssuerSelection: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array, issuer: AccountId32 | string | Uint8Array, selected: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, AccountId32, bool]>; /** * Creates a sponsorship. **/ sponsor: AugmentedSubmittable<(sponsorshipId: Compact | AnyNumber | Uint8Array, sponsoredAccount: PalletLogionLocSupportedAccountId | { None: any; } | { Polkadot: any; } | { Other: any; } | string | Uint8Array, legalOfficer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [Compact, PalletLogionLocSupportedAccountId, AccountId32]>; /** * Withdraws an unused sponsorship. **/ withdrawSponsorship: AugmentedSubmittable<(sponsorshipId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; logionTreasury: { /** * Approve a proposal. * * ## Dispatch Origin * * Must be [`Config::ApproveOrigin`]. * * ## Details * * At a later time, the proposal will be allocated to the beneficiary and the original * deposit will be returned. * * ### Complexity * - O(1). * * ## Events * * No events are emitted from this dispatch. **/ approveProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Check the status of the spend and remove it from the storage if processed. * * ## Dispatch Origin * * Must be signed. * * ## Details * * The status check is a prerequisite for retrying a failed payout. * If a spend has either succeeded or expired, it is removed from the storage by this * function. In such instances, transaction fees are refunded. * * ### Parameters * - `index`: The spend index. * * ## Events * * Emits [`Event::PaymentFailed`] if the spend payout has failed. * Emits [`Event::SpendProcessed`] if the spend payout has succeed. **/ checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Claim a spend. * * ## Dispatch Origin * * Must be signed. * * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one * [`Config::PayoutPeriod`] from the `valid_from` block. * In case of a payout failure, the spend status must be updated with the `check_status` * dispatchable before retrying with the current function. * * ### Parameters * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. **/ payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Put forward a suggestion for spending. * * ## Dispatch Origin * * Must be signed. * * ## Details * A deposit proportional to the value is reserved and slashed if the proposal is rejected. * It is returned once the proposal is awarded. * * ### Complexity * - O(1) * * ## Events * * Emits [`Event::Proposed`] if successful. **/ proposeSpend: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** * Reject a proposed spend. * * ## Dispatch Origin * * Must be [`Config::RejectOrigin`]. * * ## Details * The original deposit will be slashed. * * ### Complexity * - O(1) * * ## Events * * Emits [`Event::Rejected`] if successful. **/ rejectProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Force a previously approved proposal to be removed from the approval queue. * * ## Dispatch Origin * * Must be [`Config::RejectOrigin`]. * * ## Details * * The original deposit will no longer be returned. * * ### Parameters * - `proposal_id`: The index of a proposal * * ### Complexity * - O(A) where `A` is the number of approvals * * ### Errors * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the * approval queue, i.e., the proposal has not been approved. This could also mean the * proposal does not exist altogether, thus there is no way it would have been approved * in the first place. **/ removeApproval: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Propose and approve a spend of treasury funds. * * ## Dispatch Origin * * Must be [`Config::SpendOrigin`] with the `Success` value being at least * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted * for assertion using the [`Config::BalanceConverter`]. * * ## Details * * Create an approved spend for transferring a specific `amount` of `asset_kind` to a * designated beneficiary. The spend must be claimed using the `payout` dispatchable within * the [`Config::PayoutPeriod`]. * * ### Parameters * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. * - `valid_from`: The block number from which the spend can be claimed. It can refer to * the past if the resulting spend has not yet expired according to the * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. **/ spend: AugmentedSubmittable<(assetKind: Null | null, amount: Compact | AnyNumber | Uint8Array, beneficiary: AccountId32 | string | Uint8Array, validFrom: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Null, Compact, AccountId32, Option]>; /** * Propose and approve a spend of treasury funds. * * ## Dispatch Origin * * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the * beneficiary. * * ### Parameters * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. **/ spendLocal: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; /** * Void previously approved spend. * * ## Dispatch Origin * * Must be [`Config::RejectOrigin`]. * * ## Details * * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. **/ voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { /** * Execute an overweight message. * * Temporary processing errors will be propagated whereas permanent errors are treated * as success condition. * * - `origin`: Must be `Signed`. * - `message_origin`: The origin from which the message to be executed arrived. * - `page`: The page in the queue in which the message to be executed is sitting. * - `index`: The index into the queue of the message to be executed. * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution * of the message. * * Benchmark complexity considerations: O(index + weight_limit). **/ executeOverweight: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any; } | { Parent: any; } | { Sibling: any; } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>; /** * Remove a page which has no more messages remaining to be processed or is stale. **/ reapPage: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any; } | { Parent: any; } | { Sibling: any; } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; multisig: { /** * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * * Payment: `DepositBase` will be reserved if this is the first approval, plus * `threshold` times `DepositFactor`. It is returned once this dispatch happens or * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. * - `other_signatories`: The accounts (other than the sender) who can approve this * dispatch. May not be empty. * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is * not the first approval, then it must be `Some`, with the timepoint (block number and * transaction index) of the first approval transaction. * - `call_hash`: The hash of the call to be executed. * * NOTE: If this is the final approval, you will want to use `as_multi` instead. * * ## Complexity * - `O(S)`. * - Up to one balance-reserve or unreserve operation. * - One passthrough operation, one insert, both `O(S)` where `S` is the number of * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit * taken for its lifetime of `DepositBase + threshold * DepositFactor`. **/ approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any; } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [u16, Vec, Option, U8aFixed, SpWeightsWeightV2Weight]>; /** * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * * If there are enough, then dispatch the call. * * Payment: `DepositBase` will be reserved if this is the first approval, plus * `threshold` times `DepositFactor`. It is returned once this dispatch happens or * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. * - `other_signatories`: The accounts (other than the sender) who can approve this * dispatch. May not be empty. * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is * not the first approval, then it must be `Some`, with the timepoint (block number and * transaction index) of the first approval transaction. * - `call`: The call to be executed. * * NOTE: Unless this is the final approval, you will generally want to use * `approve_as_multi` instead, since it only requires a hash of the call. * * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise * on success, result is `Ok` and the result from the interior call, if it was executed, * may be found in the deposited `MultisigExecuted` event. * * ## Complexity * - `O(S + Z + Call)`. * - Up to one balance-reserve or unreserve operation. * - One passthrough operation, one insert, both `O(S)` where `S` is the number of * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - The weight of the `call`. * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit * taken for its lifetime of `DepositBase + threshold * DepositFactor`. **/ asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any; } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [u16, Vec, Option, Call, SpWeightsWeightV2Weight]>; /** * Immediately dispatch a multi-signature call using a single approval from the caller. * * The dispatch origin for this call must be _Signed_. * * - `other_signatories`: The accounts (other than the sender) who are part of the * multi-signature, but do not participate in the approval process. * - `call`: The call to be executed. * * Result is equivalent to the dispatched result. * * ## Complexity * O(Z + C) where Z is the length of the call and C its execution weight. **/ asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Vec, Call]>; /** * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously * for this operation will be unreserved on success. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. * - `other_signatories`: The accounts (other than the sender) who can approve this * dispatch. May not be empty. * - `timepoint`: The timepoint (block number and transaction index) of the first approval * transaction for this dispatch. * - `call_hash`: The hash of the call to be executed. * * ## Complexity * - `O(S)`. * - Up to one balance-reserve or unreserve operation. * - One passthrough operation, one insert, both `O(S)` where `S` is the number of * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - One event. * - I/O: 1 read `O(S)`, one remove. * - Storage: removes one item. **/ cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any; } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; parachainInfo: { /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { /** * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied * later. * * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec * version and name should be verified on upgrade. Since the authorization only has a hash, * it cannot actually perform the verification. * * This call requires Root origin. **/ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array, checkVersion: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, bool]>; /** * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. * * If the authorization required a version check, this call will ensure the spec name * remains unchanged and that the spec version has increased. * * Note that this function will not apply the new `code`, but only attempt to schedule the * upgrade with the Relay Chain. * * All origins are allowed. **/ enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Set the current validation data. * * This should be invoked exactly once per block. It will panic at the finalization * phase if the call was not invoked. * * The dispatch origin for this call must be `Inherent` * * As a side effect, this function upgrades the current validation function * if the appropriate time has come. **/ setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any; } | string | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesParachainInherentParachainInherentData]>; sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { /** * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. * - `assets`: The exact assets that were trapped. Use the version to specify what version * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. **/ claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssets, XcmVersionedLocation]>; /** * Execute an XCM message from a local, signed, origin. * * An event is deposited indicating whether `msg` could be executed completely or only * partially. * * No more than `max_weight` will be used in its attempted execution. If this is less than * the maximum amount of weight that the message could take to be executed, then no * execution attempt will be made. * * WARNING: DEPRECATED. `execute` will be removed after June 2024. Use `execute_blob` * instead. **/ execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedXcm, SpWeightsWeightV2Weight]>; /** * Execute an XCM from a local, signed, origin. * * An event is deposited indicating whether the message could be executed completely * or only partially. * * No more than `max_weight` will be used in its attempted execution. If this is less than * the maximum amount of weight that the message could take to be executed, then no * execution attempt will be made. * * The message is passed in encoded. It needs to be decodable as a [`VersionedXcm`]. **/ executeBlob: AugmentedSubmittable<(encodedMessage: Bytes | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Bytes, SpWeightsWeightV2Weight]>; /** * Set a safe XCM version (the version that XCM should be encoded with if the most recent * version a destination can accept is unknown). * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. **/ forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; /** * Ask a location to notify us regarding their XCM version and any changes to it. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. **/ forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation]>; /** * Set or unset the global suspension state of the XCM executor. * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. **/ forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool]>; /** * Require that a particular destination should no longer notify us regarding any XCM * version changes. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we are currently subscribed for XCM version * notifications which we no longer desire. **/ forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation]>; /** * Extoll that a particular destination can be communicated with through a particular * version of XCM. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The destination that is being described. * - `xcm_version`: The latest version of XCM that `location` supports. **/ forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV4Location | { parents?: any; interior?: any; } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmV4Location, u32]>; /** * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. * - `assets` have local reserve: transfer assets to sovereign account of destination * chain and forward a notification XCM to `dest` to mint and deposit reserve-based * assets to `beneficiary`. * - `assets` have destination reserve: burn local assets and forward a notification to * `dest` chain to withdraw the reserve assets from this chain's sovereign account and * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` * to mint and deposit reserve-based assets to `beneficiary`. * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight * is needed than `weight_limit`, then the operation will fail and the sent assets may be * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` (and possibly reserve) chains. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. **/ limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any; } | { Limited: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; /** * Teleport some assets from the local chain to some destination chain. * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight * is needed than `weight_limit`, then the operation will fail and the sent assets may be * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` chain. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. **/ limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any; } | { Limited: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; /** * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. * - `assets` have local reserve: transfer assets to sovereign account of destination * chain and forward a notification XCM to `dest` to mint and deposit reserve-based * assets to `beneficiary`. * - `assets` have destination reserve: burn local assets and forward a notification to * `dest` chain to withdraw the reserve assets from this chain's sovereign account and * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` (and possibly reserve) chains. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. **/ reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>; /** * WARNING: DEPRECATED. `send` will be removed after June 2024. Use `send_blob` instead. **/ send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, message: XcmVersionedXcm | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedXcm]>; /** * Send an XCM from a local, signed, origin. * * The destination, `dest`, will receive this message with a `DescendOrigin` instruction * that makes the origin of the message be the origin on this system. * * The message is passed in encoded. It needs to be decodable as a [`VersionedXcm`]. **/ sendBlob: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, encodedMessage: Bytes | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, Bytes]>; /** * Teleport some assets from the local chain to some destination chain. * * **This function is deprecated: Use `limited_teleport_assets` instead.** * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `[Parent, * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` chain. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. **/ teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>; /** * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * * Fee payment on the destination side is made from the asset in the `assets` vector of * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the * operation will fail and the sent assets may be at risk. * * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable * to `dest`, no limitations imposed on `fees`. * - for local reserve: transfer assets to sovereign account of destination chain and * forward a notification XCM to `dest` to mint and deposit reserve-based assets to * `beneficiary`. * - for destination reserve: burn local assets and forward a notification to `dest` chain * to withdraw the reserve assets from this chain's sovereign account and deposit them * to `beneficiary`. * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint * and deposit reserve-based assets to `beneficiary`. * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport * assets and deposit them to `beneficiary`. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. * - `dest`: Destination context for the assets. Will typically be `X2(Parent, * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send * from relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will * generally be an `AccountId32` value. * - `assets`: The assets to be withdrawn. This should include the assets used to pay the * fee on the `dest` (and possibly reserve) chains. * - `fee_asset_item`: The index into `assets` of the item which should be used to pay * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. **/ transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any; } | { V3: any; } | { V4: any; } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any; } | { Limited: any; } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; recovery: { /** * Send a call through a recovered account. * * The dispatch origin for this call must be _Signed_ and registered to * be able to make calls on behalf of the recovered account. * * Parameters: * - `account`: The recovered account you want to make a call on-behalf-of. * - `call`: The call you want to make with the recovered account. **/ asRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Call]>; /** * Cancel the ability to use `as_recovered` for `account`. * * The dispatch origin for this call must be _Signed_ and registered to * be able to make calls on behalf of the recovered account. * * Parameters: * - `account`: The recovered account you are able to call on-behalf-of. **/ cancelRecovered: AugmentedSubmittable<(account: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** * Allow a successful rescuer to claim their recovered account. * * The dispatch origin for this call must be _Signed_ and must be a "rescuer" * who has successfully completed the account recovery process: collected * `threshold` or more vouches, waited `delay_period` blocks since initiation. * * Parameters: * - `account`: The lost account that you want to claim has been successfully recovered by * you. **/ claimRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** * As the controller of a recoverable account, close an active recovery * process for your account. * * Payment: By calling this function, the recoverable account will receive * the recovery deposit `RecoveryDeposit` placed by the rescuer. * * The dispatch origin for this call must be _Signed_ and must be a * recoverable account with an active recovery process for it. * * Parameters: * - `rescuer`: The account trying to rescue this recoverable account. **/ closeRecovery: AugmentedSubmittable<(rescuer: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** * Create a recovery configuration for your account. This makes your account recoverable. * * Payment: `ConfigDepositBase` + `FriendDepositFactor` * #_of_friends balance * will be reserved for storing the recovery configuration. This deposit is returned * in full when the user calls `remove_recovery`. * * The dispatch origin for this call must be _Signed_. * * Parameters: * - `friends`: A list of friends you trust to vouch for recovery attempts. Should be * ordered and contain no duplicate values. * - `threshold`: The number of friends that must vouch for a recovery attempt before the * account can be recovered. Should be less than or equal to the length of the list of * friends. * - `delay_period`: The number of blocks after a recovery attempt is initialized that * needs to pass before the account can be recovered. **/ createRecovery: AugmentedSubmittable<(friends: Vec | (AccountId32 | string | Uint8Array)[], threshold: u16 | AnyNumber | Uint8Array, delayPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, u16, u32]>; /** * Initiate the process for recovering a recoverable account. * * Payment: `RecoveryDeposit` balance will be reserved for initiating the * recovery process. This deposit will always be repatriated to the account * trying to be recovered. See `close_recovery`. * * The dispatch origin for this call must be _Signed_. * * Parameters: * - `account`: The lost account that you want to recover. This account needs to be * recoverable (i.e. have a recovery configuration). **/ initiateRecovery: AugmentedSubmittable<(account: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** * Remove the recovery process for your account. Recovered accounts are still accessible. * * NOTE: The user must make sure to call `close_recovery` on all active * recovery attempts before calling this function else it will fail. * * Payment: By calling this function the recoverable account will unreserve * their recovery configuration deposit. * (`ConfigDepositBase` + `FriendDepositFactor` * #_of_friends) * * The dispatch origin for this call must be _Signed_ and must be a * recoverable account (i.e. has a recovery configuration). **/ removeRecovery: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Allow ROOT to bypass the recovery process and set an a rescuer account * for a lost account directly. * * The dispatch origin for this call must be _ROOT_. * * Parameters: * - `lost`: The "lost account" to be recovered. * - `rescuer`: The "rescuer account" which can call as the lost account. **/ setRecovered: AugmentedSubmittable<(lost: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, rescuer: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** * Allow a "friend" of a recoverable account to vouch for an active recovery * process for that account. * * The dispatch origin for this call must be _Signed_ and must be a "friend" * for the recoverable account. * * Parameters: * - `lost`: The lost account that you want to recover. * - `rescuer`: The account trying to rescue the lost account that you want to vouch for. * * The combination of these two parameters must point to an active recovery * process. **/ vouchRecovery: AugmentedSubmittable<(lost: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, rescuer: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; session: { /** * Removes any session key(s) of the function caller. * * This doesn't take effect until the next session. * * The dispatch origin of this function must be Signed and the account must be either be * convertible to a validator ID using the chain's typical addressing system (this usually * means being a controller account) or directly convertible into a validator ID (which * usually means being a stash account). * * ## Complexity * - `O(1)` in number of key types. Actual cost depends on the number of length of * `T::Keys::key_ids()` which is fixed. **/ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Sets the session key(s) of the function caller to `keys`. * Allows an account to set its session key prior to becoming a validator. * This doesn't take effect until the next session. * * The dispatch origin of this function must be signed. * * ## Complexity * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is * fixed. **/ setKeys: AugmentedSubmittable<(keys: LogionRuntimeSessionKeys | { aura?: any; } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic, [LogionRuntimeSessionKeys, Bytes]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; sudo: { /** * Permanently removes the sudo key. * * **This cannot be un-done.** **/ removeKey: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo * key. **/ setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** * Authenticates the sudo key and dispatches a function call with `Root` origin. **/ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call]>; /** * Authenticates the sudo key and dispatches a function call with `Signed` origin from * a given account. * * The dispatch origin for this call must be _Signed_. **/ sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Call]>; /** * Authenticates the sudo key and dispatches a function call with `Root` origin. * This function does not check the weight of the call, and instead allows the * Sudo user to specify the weight of the call. * * The dispatch origin for this call must be _Signed_. **/ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; 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. * * **NOTE:** We rely on the Root origin to provide us the number of subkeys under * the prefix we are removing to accurately calculate the weight of this function. **/ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Bytes, u32]>; /** * Kill some items from storage. **/ killStorage: AugmentedSubmittable<(keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** * Make some on-chain remark. * * Can be executed by every `origin`. **/ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Make some on-chain remark and emit event. **/ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Set the new runtime code. **/ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * 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! **/ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** * Set the number of pages in the WebAssembly environment's heap. **/ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; /** * Set some items of storage. **/ setStorage: AugmentedSubmittable<(items: Vec> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; timestamp: { /** * Set the current time. * * This call should be invoked exactly once per block. It will panic at the finalization * 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`]. * * 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. * * ## 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 * `on_finalize`) * - 1 event handler `on_timestamp_set`. Must be `O(1)`. **/ set: AugmentedSubmittable<(now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; utility: { /** * Send a call through an indexed pseudonym of the sender. * * Filter from origin are passed along. The call will be dispatched with an origin which * use the same filter as the origin of this call. * * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. * because you expect `proxy` to have been used prior in the call stack and you do not want * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. **/ asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u16, Call]>; /** * Send a batch of dispatch calls. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity * - O(C) where C is the number of calls to be batched. * * This will return `Ok` in all circumstances. To determine the success of the batch, an * event is deposited. If a call failed and the batch was interrupted, then the * `BatchInterrupted` event is deposited, along with the number of successful calls made * and the error of the failed call. If all were successful, then the `BatchCompleted` * event is deposited. **/ batch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** * Send a batch of dispatch calls and atomically execute them. * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity * - O(C) where C is the number of calls to be batched. **/ batchAll: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** * Dispatches a function call with a provided origin. * * The dispatch origin for this call must be _Root_. * * ## Complexity * - O(1). **/ dispatchAs: AugmentedSubmittable<(asOrigin: LogionRuntimeOriginCaller | { system: any; } | { Void: any; } | { PolkadotXcm: any; } | { CumulusXcm: any; } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [LogionRuntimeOriginCaller, Call]>; /** * Send a batch of dispatch calls. * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity * - O(C) where C is the number of calls to be batched. **/ forceBatch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** * Dispatch a function call with a specified weight. * * This function does not check the weight of the call, and instead allows the * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. **/ withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; vault: { /** * Approves a vault transfer. **/ approveCall: AugmentedSubmittable<(otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array, timepoint: PalletMultisigTimepoint | { height?: any; index?: any; } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Vec, Call, PalletMultisigTimepoint, SpWeightsWeightV2Weight]>; /** * Create a vault transfer. The creator must not be a legal officer. **/ requestCall: AugmentedSubmittable<(legalOfficers: Vec | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any; } | string | Uint8Array) => SubmittableExtrinsic, [Vec, U8aFixed, SpWeightsWeightV2Weight]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; verifiedRecovery: { /** * Create a recovery configuration for your account. The legal officers must all have closed their Identity LOC. **/ createRecovery: AugmentedSubmittable<(legalOfficers: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; vesting: { /** * Force remove a vesting schedule * * The dispatch origin for this call must be _Root_. * * - `target`: An account that has a vesting schedule * - `schedule_index`: The vesting schedule index that should be removed **/ forceRemoveVestingSchedule: AugmentedSubmittable<(target: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u32]>; /** * Force a vested transfer. * * The dispatch origin for this call must be _Root_. * * - `source`: The account whose funds should be transferred. * - `target`: The account that should be transferred the vested funds. * - `schedule`: The vesting schedule attached to the transfer. * * Emits `VestingCreated`. * * NOTE: This will unlock all schedules through the current block. * * ## Complexity * - `O(1)`. **/ forceVestedTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, target: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, schedule: PalletVestingVestingInfo | { locked?: any; perBlock?: any; startingBlock?: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, PalletVestingVestingInfo]>; /** * Merge two vesting schedules together, creating a new vesting schedule that unlocks over * the highest possible start and end blocks. If both schedules have already started the * current block will be used as the schedule start; with the caveat that if one schedule * is finished by the current block, the other will be treated as the new merged schedule, * unmodified. * * NOTE: If `schedule1_index == schedule2_index` this is a no-op. * NOTE: This will unlock all schedules through the current block prior to merging. * NOTE: If both schedules have ended by the current block, no new schedule will be created * and both will be removed. * * Merged schedule attributes: * - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block, * current_block)`. * - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`. * - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`. * * The dispatch origin for this call must be _Signed_. * * - `schedule1_index`: index of the first schedule to merge. * - `schedule2_index`: index of the second schedule to merge. **/ mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; /** * Unlock any vested funds of the sender account. * * The dispatch origin for this call must be _Signed_ and the sender must have funds still * locked under this pallet. * * Emits either `VestingCompleted` or `VestingUpdated`. * * ## Complexity * - `O(1)`. **/ vest: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Create a vested transfer. * * The dispatch origin for this call must be _Signed_. * * - `target`: The account receiving the vested funds. * - `schedule`: The vesting schedule attached to the transfer. * * Emits `VestingCreated`. * * NOTE: This will unlock all schedules through the current block. * * ## Complexity * - `O(1)`. **/ vestedTransfer: AugmentedSubmittable<(target: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array, schedule: PalletVestingVestingInfo | { locked?: any; perBlock?: any; startingBlock?: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletVestingVestingInfo]>; /** * Unlock any vested funds of a `target` account. * * The dispatch origin for this call must be _Signed_. * * - `target`: The account whose vested funds should be unlocked. Must have funds still * locked under this pallet. * * Emits either `VestingCompleted` or `VestingUpdated`. * * ## Complexity * - `O(1)`. **/ vestOther: AugmentedSubmittable<(target: MultiAddress | { Id: any; } | { Index: any; } | { Raw: any; } | { Address32: any; } | { Address20: any; } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; vote: { /** * Creates a new Vote. **/ createVoteForAllLegalOfficers: AugmentedSubmittable<(locId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Vote. **/ vote: AugmentedSubmittable<(voteId: Compact | AnyNumber | Uint8Array, voteYes: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, bool]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; xcmpQueue: { /** * Resumes all XCM executions for the XCMP queue. * * Note that this function doesn't change the status of the in/out bound channels. * * - `origin`: Must pass `ControllerOrigin`. **/ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. * * - `origin`: Must pass `ControllerOrigin`. **/ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Overwrites the number of pages which must be in the queue after which we drop any * further messages from the channel. * * - `origin`: Must pass `Root`. * - `new`: Desired value for `QueueConfigData.drop_threshold` **/ updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Overwrites the number of pages which the queue must be reduced to before it signals * that message sending may recommence after it has been suspended. * * - `origin`: Must pass `Root`. * - `new`: Desired value for `QueueConfigData.resume_threshold` **/ updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Overwrites the number of pages which must be in the queue for the other side to be * told to suspend their sending. * * - `origin`: Must pass `Root`. * - `new`: Desired value for `QueueConfigData.suspend_value` **/ updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; } }