1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34// import type lookup before we augment - in some environments5// this is required to allow for ambient/previous definitions6import '@polkadot/api-base/types/submittable';78import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';9import type { Data } from '@polkadot/types';10import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';11import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';12import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime';13import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OpalRuntimeRuntimeCommonSessionKeys, OrmlVestingVestingSchedule, PalletConfigurationAppPromotionConfiguration, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletIdentityRegistration, SpRuntimeHeader, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';1415export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;16export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;17export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;1819declare module '@polkadot/api-base/types/submittable' {20 interface AugmentedSubmittables<ApiType extends ApiTypes> {21 appPromotion: {22 /**23 * Recalculates interest for the specified number of stakers.24 * If all stakers are not recalculated, the next call of the extrinsic25 * will continue the recalculation, from those stakers for whom this26 * was not perform in last call.27 * 28 * # Permissions29 * 30 * * Pallet admin31 * 32 * # Arguments33 * 34 * * `stakers_number`: the number of stakers for which recalculation will be performed35 **/36 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;37 /**38 * Sets an address as the the admin.39 * 40 * # Permissions41 * 42 * * Sudo43 * 44 * # Arguments45 * 46 * * `admin`: account of the new admin.47 **/48 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;49 /**50 * Sets the pallet to be the sponsor for the collection.51 * 52 * # Permissions53 * 54 * * Pallet admin55 * 56 * # Arguments57 * 58 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`59 **/60 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;61 /**62 * Sets the pallet to be the sponsor for the contract.63 * 64 * # Permissions65 * 66 * * Pallet admin67 * 68 * # Arguments69 * 70 * * `contract_id`: the contract address that will be sponsored by `pallet_id`71 **/72 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;73 /**74 * Stakes the amount of native tokens.75 * Sets `amount` to the locked state.76 * The maximum number of stakes for a staker is 10.77 * 78 * # Arguments79 * 80 * * `amount`: in native tokens.81 **/82 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;83 /**84 * Removes the pallet as the sponsor for the collection.85 * Returns [`NoPermission`][`Error::NoPermission`]86 * if the pallet wasn't the sponsor.87 * 88 * # Permissions89 * 90 * * Pallet admin91 * 92 * # Arguments93 * 94 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`95 **/96 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;97 /**98 * Removes the pallet as the sponsor for the contract.99 * Returns [`NoPermission`][`Error::NoPermission`]100 * if the pallet wasn't the sponsor.101 * 102 * # Permissions103 * 104 * * Pallet admin105 * 106 * # Arguments107 * 108 * * `contract_id`: the contract address that is sponsored by `pallet_id`109 **/110 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;111 /**112 * Unstakes all stakes.113 * After the end of `PendingInterval` this sum becomes completely114 * free for further use.115 **/116 unstakeAll: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;117 /**118 * Unstakes the amount of balance for the staker.119 * After the end of `PendingInterval` this sum becomes completely120 * free for further use.121 * 122 * # Arguments123 * 124 * * `staker`: staker account.125 * * `amount`: amount of unstaked funds.126 **/127 unstakePartial: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;128 /**129 * Generic tx130 **/131 [key: string]: SubmittableExtrinsicFunction<ApiType>;132 };133 authorship: {134 /**135 * Provide a set of uncles.136 **/137 setUncles: AugmentedSubmittable<(newUncles: Vec<SpRuntimeHeader> | (SpRuntimeHeader | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<SpRuntimeHeader>]>;138 /**139 * Generic tx140 **/141 [key: string]: SubmittableExtrinsicFunction<ApiType>;142 };143 balances: {144 /**145 * Exactly as `transfer`, except the origin must be root and the source account may be146 * specified.147 * # <weight>148 * - Same as transfer, but additional read and write because the source account is not149 * assumed to be in the overlay.150 * # </weight>151 **/152 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<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;153 /**154 * Unreserve some balance from a user by force.155 * 156 * Can only be called by ROOT.157 **/158 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;159 /**160 * Set the balances of a given account.161 * 162 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will163 * also alter the total issuance of the system (`TotalIssuance`) appropriately.164 * If the new free or reserved balance is below the existential deposit,165 * it will reset the account nonce (`frame_system::AccountNonce`).166 * 167 * The dispatch origin for this call is `root`.168 **/169 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;170 /**171 * Transfer some liquid free balance to another account.172 * 173 * `transfer` will set the `FreeBalance` of the sender and receiver.174 * If the sender's account is below the existential deposit as a result175 * of the transfer, the account will be reaped.176 * 177 * The dispatch origin for this call must be `Signed` by the transactor.178 * 179 * # <weight>180 * - Dependent on arguments but not critical, given proper implementations for input config181 * types. See related functions below.182 * - It contains a limited number of reads and writes internally and no complex183 * computation.184 * 185 * Related functions:186 * 187 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.188 * - Transferring balances to accounts that did not exist before will cause189 * `T::OnNewAccount::on_new_account` to be called.190 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.191 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check192 * that the transfer will not kill the origin account.193 * ---------------------------------194 * - Origin account is already in memory, so no DB operations for them.195 * # </weight>196 **/197 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;198 /**199 * Transfer the entire transferable balance from the caller account.200 * 201 * NOTE: This function only attempts to transfer _transferable_ balances. This means that202 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be203 * transferred by this function. To ensure that this function results in a killed account,204 * you might need to prepare the account by removing any reference counters, storage205 * deposits, etc...206 * 207 * The dispatch origin of this call must be Signed.208 * 209 * - `dest`: The recipient of the transfer.210 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all211 * of the funds the account has, causing the sender account to be killed (false), or212 * transfer everything except at least the existential deposit, which will guarantee to213 * keep the sender account alive (true). # <weight>214 * - O(1). Just like transfer, but reading the user's transferable balance first.215 * #</weight>216 **/217 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;218 /**219 * Same as the [`transfer`] call, but with a check that the transfer will not kill the220 * origin account.221 * 222 * 99% of the time you want [`transfer`] instead.223 * 224 * [`transfer`]: struct.Pallet.html#method.transfer225 **/226 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;227 /**228 * Generic tx229 **/230 [key: string]: SubmittableExtrinsicFunction<ApiType>;231 };232 charging: {233 /**234 * Generic tx235 **/236 [key: string]: SubmittableExtrinsicFunction<ApiType>;237 };238 collatorSelection: {239 /**240 * Add a collator to the list of invulnerable (fixed) collators.241 **/242 addInvulnerable: AugmentedSubmittable<(updated: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;243 /**244 * Force deregister `origin` as a collator candidate as a governing authority, and revoke its license.245 * Note that the collator can only leave on session change.246 * The `LicenseBond` will be unreserved and returned immediately.247 * 248 * This call is, of course, not applicable to `Invulnerable` collators.249 **/250 forceReleaseLicense: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;251 /**252 * Purchase a license on block collation for this account.253 * It does not make it a collator candidate, use `onboard` afterward. The account must254 * (a) already have registered session keys and (b) be able to reserve the `LicenseBond`.255 * 256 * This call is not available to `Invulnerable` collators.257 **/258 getLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;259 /**260 * Deregister `origin` as a collator candidate. Note that the collator can only leave on261 * session change. The license to `onboard` later at any other time will remain.262 **/263 offboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;264 /**265 * Register this account as a candidate for collators for next sessions.266 * The account must already hold a license, and cannot offboard immediately during a session.267 * 268 * This call is not available to `Invulnerable` collators.269 **/270 onboard: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;271 /**272 * Forfeit `origin`'s own license. The `LicenseBond` will be unreserved immediately.273 * 274 * This call is not available to `Invulnerable` collators.275 **/276 releaseLicense: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;277 /**278 * Remove a collator from the list of invulnerable (fixed) collators.279 **/280 removeInvulnerable: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;281 /**282 * Generic tx283 **/284 [key: string]: SubmittableExtrinsicFunction<ApiType>;285 };286 configuration: {287 setAppPromotionConfigurationOverride: AugmentedSubmittable<(configuration: PalletConfigurationAppPromotionConfiguration | { recalculationInterval?: any; pendingInterval?: any; intervalIncome?: any; maxStakersPerCalculation?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletConfigurationAppPromotionConfiguration]>;288 setCollatorSelectionDesiredCollators: AugmentedSubmittable<(max: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;289 setCollatorSelectionKickThreshold: AugmentedSubmittable<(threshold: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;290 setCollatorSelectionLicenseBond: AugmentedSubmittable<(amount: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>]>;291 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;292 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;293 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;294 /**295 * Generic tx296 **/297 [key: string]: SubmittableExtrinsicFunction<ApiType>;298 };299 cumulusXcm: {300 /**301 * Generic tx302 **/303 [key: string]: SubmittableExtrinsicFunction<ApiType>;304 };305 dmpQueue: {306 /**307 * Service a single overweight message.308 * 309 * - `origin`: Must pass `ExecuteOverweightOrigin`.310 * - `index`: The index of the overweight message to service.311 * - `weight_limit`: The amount of weight that message execution may take.312 * 313 * Errors:314 * - `Unknown`: Message of `index` is unknown.315 * - `OverLimit`: Message execution may use greater than `weight_limit`.316 * 317 * Events:318 * - `OverweightServiced`: On success.319 **/320 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;321 /**322 * Generic tx323 **/324 [key: string]: SubmittableExtrinsicFunction<ApiType>;325 };326 ethereum: {327 /**328 * Transact an Ethereum transaction.329 **/330 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;331 /**332 * Generic tx333 **/334 [key: string]: SubmittableExtrinsicFunction<ApiType>;335 };336 evm: {337 /**338 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.339 **/340 call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;341 /**342 * Issue an EVM create operation. This is similar to a contract creation transaction in343 * Ethereum.344 **/345 create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;346 /**347 * Issue an EVM create2 operation.348 **/349 create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | Uint8Array | U256 | AnyNumber, nonce: Option<U256> | null | Uint8Array | U256 | AnyNumber, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;350 /**351 * Withdraw balance from EVM into currency/balances pallet.352 **/353 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;354 /**355 * Generic tx356 **/357 [key: string]: SubmittableExtrinsicFunction<ApiType>;358 };359 evmMigration: {360 /**361 * Start contract migration, inserts contract stub at target address,362 * and marks account as pending, allowing to insert storage363 **/364 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;365 /**366 * Finish contract migration, allows it to be called.367 * It is not possible to alter contract storage via [`Self::set_data`]368 * after this call.369 **/370 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;371 /**372 * Create ethereum events attached to the fake transaction373 **/374 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;375 /**376 * Create substrate events377 **/378 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;379 /**380 * Remove remark compatibility data leftovers381 **/382 removeRmrkData: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;383 /**384 * Insert items into contract storage, this method can be called385 * multiple times386 **/387 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;388 /**389 * Generic tx390 **/391 [key: string]: SubmittableExtrinsicFunction<ApiType>;392 };393 foreignAssets: {394 registerForeignAsset: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;395 updateForeignAsset: AugmentedSubmittable<(foreignAssetId: u32 | AnyNumber | Uint8Array, location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, metadata: PalletForeignAssetsModuleAssetMetadata | { name?: any; symbol?: any; decimals?: any; minimalBalance?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, XcmVersionedMultiLocation, PalletForeignAssetsModuleAssetMetadata]>;396 /**397 * Generic tx398 **/399 [key: string]: SubmittableExtrinsicFunction<ApiType>;400 };401 identity: {402 /**403 * Add a registrar to the system.404 * 405 * The dispatch origin for this call must be `T::RegistrarOrigin`.406 * 407 * - `account`: the account of the registrar.408 * 409 * Emits `RegistrarAdded` if successful.410 * 411 * # <weight>412 * - `O(R)` where `R` registrar-count (governance-bounded and code-bounded).413 * - One storage mutation (codec `O(R)`).414 * - One event.415 * # </weight>416 **/417 addRegistrar: AugmentedSubmittable<(account: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;418 /**419 * Add the given account to the sender's subs.420 * 421 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated422 * to the sender.423 * 424 * The dispatch origin for this call must be _Signed_ and the sender must have a registered425 * sub identity of `sub`.426 **/427 addSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;428 /**429 * Cancel a previous request.430 * 431 * Payment: A previously reserved deposit is returned on success.432 * 433 * The dispatch origin for this call must be _Signed_ and the sender must have a434 * registered identity.435 * 436 * - `reg_index`: The index of the registrar whose judgement is no longer requested.437 * 438 * Emits `JudgementUnrequested` if successful.439 * 440 * # <weight>441 * - `O(R + X)`.442 * - One balance-reserve operation.443 * - One storage mutation `O(R + X)`.444 * - One event445 * # </weight>446 **/447 cancelRequest: AugmentedSubmittable<(regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;448 /**449 * Clear an account's identity info and all sub-accounts and return all deposits.450 * 451 * Payment: All reserved balances on the account are returned.452 * 453 * The dispatch origin for this call must be _Signed_ and the sender must have a registered454 * identity.455 * 456 * Emits `IdentityCleared` if successful.457 * 458 * # <weight>459 * - `O(R + S + X)`460 * - where `R` registrar-count (governance-bounded).461 * - where `S` subs-count (hard- and deposit-bounded).462 * - where `X` additional-field-count (deposit-bounded and code-bounded).463 * - One balance-unreserve operation.464 * - `2` storage reads and `S + 2` storage deletions.465 * - One event.466 * # </weight>467 **/468 clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;469 /**470 * Set identities to be associated with the provided accounts as force origin.471 * 472 * This is not meant to operate in tandem with the identity pallet as is,473 * and be instead used to keep identities made and verified externally,474 * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.475 **/476 forceInsertIdentities: AugmentedSubmittable<(identities: Vec<ITuple<[AccountId32, PalletIdentityRegistration]>> | ([AccountId32 | string | Uint8Array, PalletIdentityRegistration | { judgements?: any; deposit?: any; info?: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, PalletIdentityRegistration]>>]>;477 /**478 * Remove identities associated with the provided accounts as force origin.479 * 480 * This is not meant to operate in tandem with the identity pallet as is,481 * and be instead used to keep identities made and verified externally,482 * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.483 **/484 forceRemoveIdentities: AugmentedSubmittable<(identities: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;485 /**486 * Set sub-identities to be associated with the provided accounts as force origin.487 * 488 * This is not meant to operate in tandem with the identity pallet as is,489 * and be instead used to keep identities made and verified externally,490 * forbidden from interacting with an ordinary user, since it ignores any safety mechanism.491 **/492 forceSetSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>> | ([AccountId32 | string | Uint8Array, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]> | [u128 | AnyNumber | Uint8Array, Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]]])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, ITuple<[u128, Vec<ITuple<[AccountId32, Data]>>]>]>>]>;493 /**494 * Remove an account's identity and sub-account information and slash the deposits.495 * 496 * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by497 * `Slash`. Verification request deposits are not returned; they should be cancelled498 * manually using `cancel_request`.499 * 500 * The dispatch origin for this call must match `T::ForceOrigin`.501 * 502 * - `target`: the account whose identity the judgement is upon. This must be an account503 * with a registered identity.504 * 505 * Emits `IdentityKilled` if successful.506 * 507 * # <weight>508 * - `O(R + S + X)`.509 * - One balance-reserve operation.510 * - `S + 2` storage mutations.511 * - One event.512 * # </weight>513 **/514 killIdentity: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;515 /**516 * Provide a judgement for an account's identity.517 * 518 * The dispatch origin for this call must be _Signed_ and the sender must be the account519 * of the registrar whose index is `reg_index`.520 * 521 * - `reg_index`: the index of the registrar whose judgement is being made.522 * - `target`: the account whose identity the judgement is upon. This must be an account523 * with a registered identity.524 * - `judgement`: the judgement of the registrar of index `reg_index` about `target`.525 * - `identity`: The hash of the [`IdentityInfo`] for that the judgement is provided.526 * 527 * Emits `JudgementGiven` if successful.528 * 529 * # <weight>530 * - `O(R + X)`.531 * - One balance-transfer operation.532 * - Up to one account-lookup operation.533 * - Storage: 1 read `O(R)`, 1 mutate `O(R + X)`.534 * - One event.535 * # </weight>536 **/537 provideJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, judgement: PalletIdentityJudgement | { Unknown: any } | { FeePaid: any } | { Reasonable: any } | { KnownGood: any } | { OutOfDate: any } | { LowQuality: any } | { Erroneous: any } | string | Uint8Array, identity: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, PalletIdentityJudgement, H256]>;538 /**539 * Remove the sender as a sub-account.540 * 541 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated542 * to the sender (*not* the original depositor).543 * 544 * The dispatch origin for this call must be _Signed_ and the sender must have a registered545 * super-identity.546 * 547 * NOTE: This should not normally be used, but is provided in the case that the non-548 * controller of an account is maliciously registered as a sub-account.549 **/550 quitSub: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;551 /**552 * Remove the given account from the sender's subs.553 * 554 * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated555 * to the sender.556 * 557 * The dispatch origin for this call must be _Signed_ and the sender must have a registered558 * sub identity of `sub`.559 **/560 removeSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;561 /**562 * Alter the associated name of the given sub-account.563 * 564 * The dispatch origin for this call must be _Signed_ and the sender must have a registered565 * sub identity of `sub`.566 **/567 renameSub: AugmentedSubmittable<(sub: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, data: Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Data]>;568 /**569 * Request a judgement from a registrar.570 * 571 * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement572 * given.573 * 574 * The dispatch origin for this call must be _Signed_ and the sender must have a575 * registered identity.576 * 577 * - `reg_index`: The index of the registrar whose judgement is requested.578 * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as:579 * 580 * ```nocompile581 * Self::registrars().get(reg_index).unwrap().fee582 * ```583 * 584 * Emits `JudgementRequested` if successful.585 * 586 * # <weight>587 * - `O(R + X)`.588 * - One balance-reserve operation.589 * - Storage: 1 read `O(R)`, 1 mutate `O(X + R)`.590 * - One event.591 * # </weight>592 **/593 requestJudgement: AugmentedSubmittable<(regIndex: Compact<u32> | AnyNumber | Uint8Array, maxFee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;594 /**595 * Change the account associated with a registrar.596 * 597 * The dispatch origin for this call must be _Signed_ and the sender must be the account598 * of the registrar whose index is `index`.599 * 600 * - `index`: the index of the registrar whose fee is to be set.601 * - `new`: the new account ID.602 * 603 * # <weight>604 * - `O(R)`.605 * - One storage mutation `O(R)`.606 * - Benchmark: 8.823 + R * 0.32 µs (min squares analysis)607 * # </weight>608 **/609 setAccountId: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress]>;610 /**611 * Set the fee required for a judgement to be requested from a registrar.612 * 613 * The dispatch origin for this call must be _Signed_ and the sender must be the account614 * of the registrar whose index is `index`.615 * 616 * - `index`: the index of the registrar whose fee is to be set.617 * - `fee`: the new fee.618 * 619 * # <weight>620 * - `O(R)`.621 * - One storage mutation `O(R)`.622 * - Benchmark: 7.315 + R * 0.329 µs (min squares analysis)623 * # </weight>624 **/625 setFee: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>]>;626 /**627 * Set the field information for a registrar.628 * 629 * The dispatch origin for this call must be _Signed_ and the sender must be the account630 * of the registrar whose index is `index`.631 * 632 * - `index`: the index of the registrar whose fee is to be set.633 * - `fields`: the fields that the registrar concerns themselves with.634 * 635 * # <weight>636 * - `O(R)`.637 * - One storage mutation `O(R)`.638 * - Benchmark: 7.464 + R * 0.325 µs (min squares analysis)639 * # </weight>640 **/641 setFields: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, fields: PalletIdentityBitFlags) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PalletIdentityBitFlags]>;642 /**643 * Set an account's identity information and reserve the appropriate deposit.644 * 645 * If the account already has identity information, the deposit is taken as part payment646 * for the new deposit.647 * 648 * The dispatch origin for this call must be _Signed_.649 * 650 * - `info`: The identity information.651 * 652 * Emits `IdentitySet` if successful.653 * 654 * # <weight>655 * - `O(X + X' + R)`656 * - where `X` additional-field-count (deposit-bounded and code-bounded)657 * - where `R` judgements-count (registrar-count-bounded)658 * - One balance reserve operation.659 * - One storage mutation (codec-read `O(X' + R)`, codec-write `O(X + R)`).660 * - One event.661 * # </weight>662 **/663 setIdentity: AugmentedSubmittable<(info: PalletIdentityIdentityInfo | { additional?: any; display?: any; legal?: any; web?: any; riot?: any; email?: any; pgpFingerprint?: any; image?: any; twitter?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletIdentityIdentityInfo]>;664 /**665 * Set the sub-accounts of the sender.666 * 667 * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned668 * and an amount `SubAccountDeposit` will be reserved for each item in `subs`.669 * 670 * The dispatch origin for this call must be _Signed_ and the sender must have a registered671 * identity.672 * 673 * - `subs`: The identity's (new) sub-accounts.674 * 675 * # <weight>676 * - `O(P + S)`677 * - where `P` old-subs-count (hard- and deposit-bounded).678 * - where `S` subs-count (hard- and deposit-bounded).679 * - At most one balance operations.680 * - DB:681 * - `P + S` storage mutations (codec complexity `O(1)`)682 * - One storage read (codec complexity `O(P)`).683 * - One storage write (codec complexity `O(S)`).684 * - One storage-exists (`IdentityOf::contains_key`).685 * # </weight>686 **/687 setSubs: AugmentedSubmittable<(subs: Vec<ITuple<[AccountId32, Data]>> | ([AccountId32 | string | Uint8Array, Data | { None: any } | { Raw: any } | { BlakeTwo256: any } | { Sha256: any } | { Keccak256: any } | { ShaThree256: any } | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[AccountId32, Data]>>]>;688 /**689 * Generic tx690 **/691 [key: string]: SubmittableExtrinsicFunction<ApiType>;692 };693 inflation: {694 /**695 * This method sets the inflation start date. Can be only called once.696 * Inflation start block can be backdated and will catch up. The method will create Treasury697 * account if it does not exist and perform the first inflation deposit.698 * 699 * # Permissions700 * 701 * * Root702 * 703 * # Arguments704 * 705 * * inflation_start_relay_block: The relay chain block at which inflation should start706 **/707 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;708 /**709 * Generic tx710 **/711 [key: string]: SubmittableExtrinsicFunction<ApiType>;712 };713 maintenance: {714 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;715 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;716 executePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;717 /**718 * Generic tx719 **/720 [key: string]: SubmittableExtrinsicFunction<ApiType>;721 };722 parachainSystem: {723 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;724 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;725 /**726 * Set the current validation data.727 * 728 * This should be invoked exactly once per block. It will panic at the finalization729 * phase if the call was not invoked.730 * 731 * The dispatch origin for this call must be `Inherent`732 * 733 * As a side effect, this function upgrades the current validation function734 * if the appropriate time has come.735 **/736 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;737 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;738 /**739 * Generic tx740 **/741 [key: string]: SubmittableExtrinsicFunction<ApiType>;742 };743 polkadotXcm: {744 /**745 * Execute an XCM message from a local, signed, origin.746 * 747 * An event is deposited indicating whether `msg` could be executed completely or only748 * partially.749 * 750 * No more than `max_weight` will be used in its attempted execution. If this is less than the751 * maximum amount of weight that the message could take to be executed, then no execution752 * attempt will be made.753 * 754 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully755 * to completion; only that *some* of it was executed.756 **/757 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;758 /**759 * Set a safe XCM version (the version that XCM should be encoded with if the most recent760 * version a destination can accept is unknown).761 * 762 * - `origin`: Must be Root.763 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.764 **/765 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;766 /**767 * Ask a location to notify us regarding their XCM version and any changes to it.768 * 769 * - `origin`: Must be Root.770 * - `location`: The location to which we should subscribe for XCM version notifications.771 **/772 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;773 /**774 * Require that a particular destination should no longer notify us regarding any XCM775 * version changes.776 * 777 * - `origin`: Must be Root.778 * - `location`: The location to which we are currently subscribed for XCM version779 * notifications which we no longer desire.780 **/781 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;782 /**783 * Extoll that a particular destination can be communicated with through a particular784 * version of XCM.785 * 786 * - `origin`: Must be Root.787 * - `location`: The destination that is being described.788 * - `xcm_version`: The latest version of XCM that `location` supports.789 **/790 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;791 /**792 * Transfer some assets from the local chain to the sovereign account of a destination793 * chain and forward a notification XCM.794 * 795 * Fee payment on the destination side is made from the asset in the `assets` vector of796 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight797 * is needed than `weight_limit`, then the operation will fail and the assets send may be798 * at risk.799 * 800 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.801 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send802 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.803 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be804 * an `AccountId32` value.805 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the806 * `dest` side.807 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay808 * fees.809 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.810 **/811 limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;812 /**813 * Teleport some assets from the local chain to some destination chain.814 * 815 * Fee payment on the destination side is made from the asset in the `assets` vector of816 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight817 * is needed than `weight_limit`, then the operation will fail and the assets send may be818 * at risk.819 * 820 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.821 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send822 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.823 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be824 * an `AccountId32` value.825 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the826 * `dest` side. May not be empty.827 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay828 * fees.829 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.830 **/831 limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;832 /**833 * Transfer some assets from the local chain to the sovereign account of a destination834 * chain and forward a notification XCM.835 * 836 * Fee payment on the destination side is made from the asset in the `assets` vector of837 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,838 * with all fees taken as needed from the asset.839 * 840 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.841 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send842 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.843 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be844 * an `AccountId32` value.845 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the846 * `dest` side.847 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay848 * fees.849 **/850 reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;851 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;852 /**853 * Teleport some assets from the local chain to some destination chain.854 * 855 * Fee payment on the destination side is made from the asset in the `assets` vector of856 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,857 * with all fees taken as needed from the asset.858 * 859 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.860 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send861 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.862 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be863 * an `AccountId32` value.864 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the865 * `dest` side. May not be empty.866 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay867 * fees.868 **/869 teleportAssets: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, beneficiary: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32]>;870 /**871 * Generic tx872 **/873 [key: string]: SubmittableExtrinsicFunction<ApiType>;874 };875 preimage: {876 /**877 * Register a preimage on-chain.878 * 879 * If the preimage was previously requested, no fees or deposits are taken for providing880 * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.881 **/882 notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;883 /**884 * Request a preimage be uploaded to the chain without paying any fees or deposits.885 * 886 * If the preimage requests has already been provided on-chain, we unreserve any deposit887 * a user may have paid, and take the control of the preimage out of their hands.888 **/889 requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;890 /**891 * Clear an unrequested preimage from the runtime storage.892 * 893 * If `len` is provided, then it will be a much cheaper operation.894 * 895 * - `hash`: The hash of the preimage to be removed from the store.896 * - `len`: The length of the preimage of `hash`.897 **/898 unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;899 /**900 * Clear a previously made request for a preimage.901 * 902 * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.903 **/904 unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;905 /**906 * Generic tx907 **/908 [key: string]: SubmittableExtrinsicFunction<ApiType>;909 };910 session: {911 /**912 * Removes any session key(s) of the function caller.913 * 914 * This doesn't take effect until the next session.915 * 916 * The dispatch origin of this function must be Signed and the account must be either be917 * convertible to a validator ID using the chain's typical addressing system (this usually918 * means being a controller account) or directly convertible into a validator ID (which919 * usually means being a stash account).920 * 921 * # <weight>922 * - Complexity: `O(1)` in number of key types. Actual cost depends on the number of length923 * of `T::Keys::key_ids()` which is fixed.924 * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`925 * - DbWrites: `NextKeys`, `origin account`926 * - DbWrites per key id: `KeyOwner`927 * # </weight>928 **/929 purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;930 /**931 * Sets the session key(s) of the function caller to `keys`.932 * Allows an account to set its session key prior to becoming a validator.933 * This doesn't take effect until the next session.934 * 935 * The dispatch origin of this function must be signed.936 * 937 * # <weight>938 * - Complexity: `O(1)`. Actual cost depends on the number of length of939 * `T::Keys::key_ids()` which is fixed.940 * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`941 * - DbWrites: `origin account`, `NextKeys`942 * - DbReads per key id: `KeyOwner`943 * - DbWrites per key id: `KeyOwner`944 * # </weight>945 **/946 setKeys: AugmentedSubmittable<(keys: OpalRuntimeRuntimeCommonSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [OpalRuntimeRuntimeCommonSessionKeys, Bytes]>;947 /**948 * Generic tx949 **/950 [key: string]: SubmittableExtrinsicFunction<ApiType>;951 };952 structure: {953 /**954 * Generic tx955 **/956 [key: string]: SubmittableExtrinsicFunction<ApiType>;957 };958 sudo: {959 /**960 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo961 * key.962 * 963 * The dispatch origin for this call must be _Signed_.964 * 965 * # <weight>966 * - O(1).967 * - Limited storage reads.968 * - One DB change.969 * # </weight>970 **/971 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;972 /**973 * Authenticates the sudo key and dispatches a function call with `Root` origin.974 * 975 * The dispatch origin for this call must be _Signed_.976 * 977 * # <weight>978 * - O(1).979 * - Limited storage reads.980 * - One DB write (event).981 * - Weight of derivative `call` execution + 10,000.982 * # </weight>983 **/984 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;985 /**986 * Authenticates the sudo key and dispatches a function call with `Signed` origin from987 * a given account.988 * 989 * The dispatch origin for this call must be _Signed_.990 * 991 * # <weight>992 * - O(1).993 * - Limited storage reads.994 * - One DB write (event).995 * - Weight of derivative `call` execution + 10,000.996 * # </weight>997 **/998 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;999 /**1000 * Authenticates the sudo key and dispatches a function call with `Root` origin.1001 * This function does not check the weight of the call, and instead allows the1002 * Sudo user to specify the weight of the call.1003 * 1004 * The dispatch origin for this call must be _Signed_.1005 * 1006 * # <weight>1007 * - O(1).1008 * - The weight of this call is defined by the caller.1009 * # </weight>1010 **/1011 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;1012 /**1013 * Generic tx1014 **/1015 [key: string]: SubmittableExtrinsicFunction<ApiType>;1016 };1017 system: {1018 /**1019 * Kill all storage items with a key that starts with the given prefix.1020 * 1021 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under1022 * the prefix we are removing to accurately calculate the weight of this function.1023 **/1024 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;1025 /**1026 * Kill some items from storage.1027 **/1028 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;1029 /**1030 * Make some on-chain remark.1031 * 1032 * # <weight>1033 * - `O(1)`1034 * # </weight>1035 **/1036 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1037 /**1038 * Make some on-chain remark and emit event.1039 **/1040 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1041 /**1042 * Set the new runtime code.1043 * 1044 * # <weight>1045 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`1046 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is1047 * expensive).1048 * - 1 storage write (codec `O(C)`).1049 * - 1 digest item.1050 * - 1 event.1051 * The weight of this function is dependent on the runtime, but generally this is very1052 * expensive. We will treat this as a full block.1053 * # </weight>1054 **/1055 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1056 /**1057 * Set the new runtime code without doing any checks of the given `code`.1058 * 1059 * # <weight>1060 * - `O(C)` where `C` length of `code`1061 * - 1 storage write (codec `O(C)`).1062 * - 1 digest item.1063 * - 1 event.1064 * The weight of this function is dependent on the runtime. We will treat this as a full1065 * block. # </weight>1066 **/1067 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;1068 /**1069 * Set the number of pages in the WebAssembly environment's heap.1070 **/1071 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1072 /**1073 * Set some items of storage.1074 **/1075 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;1076 /**1077 * Generic tx1078 **/1079 [key: string]: SubmittableExtrinsicFunction<ApiType>;1080 };1081 testUtils: {1082 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;1083 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1084 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1085 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1086 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1087 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1088 /**1089 * Generic tx1090 **/1091 [key: string]: SubmittableExtrinsicFunction<ApiType>;1092 };1093 timestamp: {1094 /**1095 * Set the current time.1096 * 1097 * This call should be invoked exactly once per block. It will panic at the finalization1098 * phase, if this call hasn't been invoked by that time.1099 * 1100 * The timestamp should be greater than the previous one by the amount specified by1101 * `MinimumPeriod`.1102 * 1103 * The dispatch origin for this call must be `Inherent`.1104 * 1105 * # <weight>1106 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1107 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1108 * `on_finalize`)1109 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1110 * # </weight>1111 **/1112 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1113 /**1114 * Generic tx1115 **/1116 [key: string]: SubmittableExtrinsicFunction<ApiType>;1117 };1118 tokens: {1119 /**1120 * Exactly as `transfer`, except the origin must be root and the source1121 * account may be specified.1122 * 1123 * The dispatch origin for this call must be _Root_.1124 * 1125 * - `source`: The sender of the transfer.1126 * - `dest`: The recipient of the transfer.1127 * - `currency_id`: currency type.1128 * - `amount`: free balance amount to tranfer.1129 **/1130 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, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1131 /**1132 * Set the balances of a given account.1133 * 1134 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1135 * will also decrease the total issuance of the system1136 * (`TotalIssuance`). If the new free or reserved balance is below the1137 * existential deposit, it will reap the `AccountInfo`.1138 * 1139 * The dispatch origin for this call is `root`.1140 **/1141 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>, Compact<u128>]>;1142 /**1143 * Transfer some liquid free balance to another account.1144 * 1145 * `transfer` will set the `FreeBalance` of the sender and receiver.1146 * It will decrease the total issuance of the system by the1147 * `TransferFee`. If the sender's account is below the existential1148 * deposit as a result of the transfer, the account will be reaped.1149 * 1150 * The dispatch origin for this call must be `Signed` by the1151 * transactor.1152 * 1153 * - `dest`: The recipient of the transfer.1154 * - `currency_id`: currency type.1155 * - `amount`: free balance amount to tranfer.1156 **/1157 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1158 /**1159 * Transfer all remaining balance to the given account.1160 * 1161 * NOTE: This function only attempts to transfer _transferable_1162 * balances. This means that any locked, reserved, or existential1163 * deposits (when `keep_alive` is `true`), will not be transferred by1164 * this function. To ensure that this function results in a killed1165 * account, you might need to prepare the account by removing any1166 * reference counters, storage deposits, etc...1167 * 1168 * The dispatch origin for this call must be `Signed` by the1169 * transactor.1170 * 1171 * - `dest`: The recipient of the transfer.1172 * - `currency_id`: currency type.1173 * - `keep_alive`: A boolean to determine if the `transfer_all`1174 * operation should send all of the funds the account has, causing1175 * the sender account to be killed (false), or transfer everything1176 * except at least the existential deposit, which will guarantee to1177 * keep the sender account alive (true).1178 **/1179 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, bool]>;1180 /**1181 * Same as the [`transfer`] call, but with a check that the transfer1182 * will not kill the origin account.1183 * 1184 * 99% of the time you want [`transfer`] instead.1185 * 1186 * The dispatch origin for this call must be `Signed` by the1187 * transactor.1188 * 1189 * - `dest`: The recipient of the transfer.1190 * - `currency_id`: currency type.1191 * - `amount`: free balance amount to tranfer.1192 **/1193 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PalletForeignAssetsAssetIds, Compact<u128>]>;1194 /**1195 * Generic tx1196 **/1197 [key: string]: SubmittableExtrinsicFunction<ApiType>;1198 };1199 treasury: {1200 /**1201 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1202 * and the original deposit will be returned.1203 * 1204 * May only be called from `T::ApproveOrigin`.1205 * 1206 * # <weight>1207 * - Complexity: O(1).1208 * - DbReads: `Proposals`, `Approvals`1209 * - DbWrite: `Approvals`1210 * # </weight>1211 **/1212 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1213 /**1214 * Put forward a suggestion for spending. A deposit proportional to the value1215 * is reserved and slashed if the proposal is rejected. It is returned once the1216 * proposal is awarded.1217 * 1218 * # <weight>1219 * - Complexity: O(1)1220 * - DbReads: `ProposalCount`, `origin account`1221 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1222 * # </weight>1223 **/1224 proposeSpend: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1225 /**1226 * Reject a proposed spend. The original deposit will be slashed.1227 * 1228 * May only be called from `T::RejectOrigin`.1229 * 1230 * # <weight>1231 * - Complexity: O(1)1232 * - DbReads: `Proposals`, `rejected proposer account`1233 * - DbWrites: `Proposals`, `rejected proposer account`1234 * # </weight>1235 **/1236 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1237 /**1238 * Force a previously approved proposal to be removed from the approval queue.1239 * The original deposit will no longer be returned.1240 * 1241 * May only be called from `T::RejectOrigin`.1242 * - `proposal_id`: The index of a proposal1243 * 1244 * # <weight>1245 * - Complexity: O(A) where `A` is the number of approvals1246 * - Db reads and writes: `Approvals`1247 * # </weight>1248 * 1249 * Errors:1250 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1251 * i.e., the proposal has not been approved. This could also mean the proposal does not1252 * exist altogether, thus there is no way it would have been approved in the first place.1253 **/1254 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1255 /**1256 * Propose and approve a spend of treasury funds.1257 * 1258 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1259 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1260 * - `beneficiary`: The destination account for the transfer.1261 * 1262 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1263 * beneficiary.1264 **/1265 spend: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, MultiAddress]>;1266 /**1267 * Generic tx1268 **/1269 [key: string]: SubmittableExtrinsicFunction<ApiType>;1270 };1271 unique: {1272 /**1273 * Add an admin to a collection.1274 * 1275 * NFT Collection can be controlled by multiple admin addresses1276 * (some which can also be servers, for example). Admins can issue1277 * and burn NFTs, as well as add and remove other admins,1278 * but cannot change NFT or Collection ownership.1279 * 1280 * # Permissions1281 * 1282 * * Collection owner1283 * * Collection admin1284 * 1285 * # Arguments1286 * 1287 * * `collection_id`: ID of the Collection to add an admin for.1288 * * `new_admin`: Address of new admin to add.1289 **/1290 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1291 /**1292 * Add an address to allow list.1293 * 1294 * # Permissions1295 * 1296 * * Collection owner1297 * * Collection admin1298 * 1299 * # Arguments1300 * 1301 * * `collection_id`: ID of the modified collection.1302 * * `address`: ID of the address to be added to the allowlist.1303 **/1304 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1305 /**1306 * Allow a non-permissioned address to transfer or burn an item.1307 * 1308 * # Permissions1309 * 1310 * * Collection owner1311 * * Collection admin1312 * * Current item owner1313 * 1314 * # Arguments1315 * 1316 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1317 * * `collection_id`: ID of the collection the item belongs to.1318 * * `item_id`: ID of the item transactions on which are now approved.1319 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1320 * Set to 0 to revoke the approval.1321 **/1322 approve: AugmentedSubmittable<(spender: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1323 /**1324 * Allow a non-permissioned address to transfer or burn an item from owner's eth mirror.1325 * 1326 * # Permissions1327 * 1328 * * Collection owner1329 * * Collection admin1330 * * Current item owner1331 * 1332 * # Arguments1333 * 1334 * * `from`: Owner's account eth mirror1335 * * `to`: Account to be approved to make specific transactions on non-owned tokens.1336 * * `collection_id`: ID of the collection the item belongs to.1337 * * `item_id`: ID of the item transactions on which are now approved.1338 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1339 * Set to 0 to revoke the approval.1340 **/1341 approveFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, to: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1342 /**1343 * Destroy a token on behalf of the owner as a non-owner account.1344 * 1345 * See also: [`approve`][`Pallet::approve`].1346 * 1347 * After this method executes, one approval is removed from the total so that1348 * the approved address will not be able to transfer this item again from this owner.1349 * 1350 * # Permissions1351 * 1352 * * Collection owner1353 * * Collection admin1354 * * Current token owner1355 * * Address approved by current item owner1356 * 1357 * # Arguments1358 * 1359 * * `from`: The owner of the burning item.1360 * * `collection_id`: ID of the collection to which the item belongs.1361 * * `item_id`: ID of item to burn.1362 * * `value`: Number of pieces to burn.1363 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1364 * * Fungible Mode: The desired number of pieces to burn.1365 * * Re-Fungible Mode: The desired number of pieces to burn.1366 **/1367 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, u32, u128]>;1368 /**1369 * Destroy an item.1370 * 1371 * # Permissions1372 * 1373 * * Collection owner1374 * * Collection admin1375 * * Current item owner1376 * 1377 * # Arguments1378 * 1379 * * `collection_id`: ID of the collection to which the item belongs.1380 * * `item_id`: ID of item to burn.1381 * * `value`: Number of pieces of the item to destroy.1382 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1383 * * Fungible Mode: The desired number of pieces to burn.1384 * * Re-Fungible Mode: The desired number of pieces to burn.1385 **/1386 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1387 /**1388 * Change the owner of the collection.1389 * 1390 * # Permissions1391 * 1392 * * Collection owner1393 * 1394 * # Arguments1395 * 1396 * * `collection_id`: ID of the modified collection.1397 * * `new_owner`: ID of the account that will become the owner.1398 **/1399 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1400 /**1401 * Confirm own sponsorship of a collection, becoming the sponsor.1402 * 1403 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1404 * Sponsor can pay the fees of a transaction instead of the sender,1405 * but only within specified limits.1406 * 1407 * # Permissions1408 * 1409 * * Sponsor-to-be1410 * 1411 * # Arguments1412 * 1413 * * `collection_id`: ID of the collection with the pending sponsor.1414 **/1415 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1416 /**1417 * Create a collection of tokens.1418 * 1419 * Each Token may have multiple properties encoded as an array of bytes1420 * of certain length. The initial owner of the collection is set1421 * to the address that signed the transaction and can be changed later.1422 * 1423 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1424 * 1425 * # Permissions1426 * 1427 * * Anyone - becomes the owner of the new collection.1428 * 1429 * # Arguments1430 * 1431 * * `collection_name`: Wide-character string with collection name1432 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1433 * * `collection_description`: Wide-character string with collection description1434 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1435 * * `token_prefix`: Byte string containing the token prefix to mark a collection1436 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1437 * * `mode`: Type of items stored in the collection and type dependent data.1438 * 1439 * returns collection ID1440 * 1441 * Deprecated: `create_collection_ex` is more up-to-date and advanced, prefer it instead.1442 **/1443 createCollection: AugmentedSubmittable<(collectionName: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], collectionDescription: Vec<u16> | (u16 | AnyNumber | Uint8Array)[], tokenPrefix: Bytes | string | Uint8Array, mode: UpDataStructsCollectionMode | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<u16>, Vec<u16>, Bytes, UpDataStructsCollectionMode]>;1444 /**1445 * Create a collection with explicit parameters.1446 * 1447 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1448 * 1449 * # Permissions1450 * 1451 * * Anyone - becomes the owner of the new collection.1452 * 1453 * # Arguments1454 * 1455 * * `data`: Explicit data of a collection used for its creation.1456 **/1457 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; pendingSponsor?: any; limits?: any; permissions?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;1458 /**1459 * Mint an item within a collection.1460 * 1461 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1462 * 1463 * # Permissions1464 * 1465 * * Collection owner1466 * * Collection admin1467 * * Anyone if1468 * * Allow List is enabled, and1469 * * Address is added to allow list, and1470 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1471 * 1472 * # Arguments1473 * 1474 * * `collection_id`: ID of the collection to which an item would belong.1475 * * `owner`: Address of the initial owner of the item.1476 * * `data`: Token data describing the item to store on chain.1477 **/1478 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;1479 /**1480 * Create multiple items within a collection.1481 * 1482 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1483 * 1484 * # Permissions1485 * 1486 * * Collection owner1487 * * Collection admin1488 * * Anyone if1489 * * Allow List is enabled, and1490 * * Address is added to the allow list, and1491 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1492 * 1493 * # Arguments1494 * 1495 * * `collection_id`: ID of the collection to which the tokens would belong.1496 * * `owner`: Address of the initial owner of the tokens.1497 * * `items_data`: Vector of data describing each item to be created.1498 **/1499 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;1500 /**1501 * Create multiple items within a collection with explicitly specified initial parameters.1502 * 1503 * # Permissions1504 * 1505 * * Collection owner1506 * * Collection admin1507 * * Anyone if1508 * * Allow List is enabled, and1509 * * Address is added to allow list, and1510 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1511 * 1512 * # Arguments1513 * 1514 * * `collection_id`: ID of the collection to which the tokens would belong.1515 * * `data`: Explicit item creation data.1516 **/1517 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1518 /**1519 * Delete specified collection properties.1520 * 1521 * # Permissions1522 * 1523 * * Collection Owner1524 * * Collection Admin1525 * 1526 * # Arguments1527 * 1528 * * `collection_id`: ID of the modified collection.1529 * * `property_keys`: Vector of keys of the properties to be deleted.1530 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1531 **/1532 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1533 /**1534 * Delete specified token properties. Currently properties only work with NFTs.1535 * 1536 * # Permissions1537 * 1538 * * Depends on collection's token property permissions and specified property mutability:1539 * * Collection owner1540 * * Collection admin1541 * * Token owner1542 * 1543 * # Arguments1544 * 1545 * * `collection_id`: ID of the collection to which the token belongs.1546 * * `token_id`: ID of the modified token.1547 * * `property_keys`: Vector of keys of the properties to be deleted.1548 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1549 **/1550 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1551 /**1552 * Destroy a collection if no tokens exist within.1553 * 1554 * # Permissions1555 * 1556 * * Collection owner1557 * 1558 * # Arguments1559 * 1560 * * `collection_id`: Collection to destroy.1561 **/1562 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1563 /**1564 * Repairs a collection if the data was somehow corrupted.1565 * 1566 * # Arguments1567 * 1568 * * `collection_id`: ID of the collection to repair.1569 **/1570 forceRepairCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1571 /**1572 * Repairs a token if the data was somehow corrupted.1573 * 1574 * # Arguments1575 * 1576 * * `collection_id`: ID of the collection the item belongs to.1577 * * `item_id`: ID of the item.1578 **/1579 forceRepairItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;1580 /**1581 * Remove admin of a collection.1582 * 1583 * An admin address can remove itself. List of admins may become empty,1584 * in which case only Collection Owner will be able to add an Admin.1585 * 1586 * # Permissions1587 * 1588 * * Collection owner1589 * * Collection admin1590 * 1591 * # Arguments1592 * 1593 * * `collection_id`: ID of the collection to remove the admin for.1594 * * `account_id`: Address of the admin to remove.1595 **/1596 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1597 /**1598 * Remove a collection's a sponsor, making everyone pay for their own transactions.1599 * 1600 * # Permissions1601 * 1602 * * Collection owner1603 * 1604 * # Arguments1605 * 1606 * * `collection_id`: ID of the collection with the sponsor to remove.1607 **/1608 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1609 /**1610 * Remove an address from allow list.1611 * 1612 * # Permissions1613 * 1614 * * Collection owner1615 * * Collection admin1616 * 1617 * # Arguments1618 * 1619 * * `collection_id`: ID of the modified collection.1620 * * `address`: ID of the address to be removed from the allowlist.1621 **/1622 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1623 /**1624 * Re-partition a refungible token, while owning all of its parts/pieces.1625 * 1626 * # Permissions1627 * 1628 * * Token owner (must own every part)1629 * 1630 * # Arguments1631 * 1632 * * `collection_id`: ID of the collection the RFT belongs to.1633 * * `token_id`: ID of the RFT.1634 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1635 **/1636 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1637 /**1638 * Sets or unsets the approval of a given operator.1639 * 1640 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1641 * 1642 * # Arguments1643 * 1644 * * `owner`: Token owner1645 * * `operator`: Operator1646 * * `approve`: Should operator status be granted or revoked?1647 **/1648 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1649 /**1650 * Set specific limits of a collection. Empty, or None fields mean chain default.1651 * 1652 * # Permissions1653 * 1654 * * Collection owner1655 * * Collection admin1656 * 1657 * # Arguments1658 * 1659 * * `collection_id`: ID of the modified collection.1660 * * `new_limit`: New limits of the collection. Fields that are not set (None)1661 * will not overwrite the old ones.1662 **/1663 setCollectionLimits: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newLimit: UpDataStructsCollectionLimits | { accountTokenOwnershipLimit?: any; sponsoredDataSize?: any; sponsoredDataRateLimit?: any; tokenLimit?: any; sponsorTransferTimeout?: any; sponsorApproveTimeout?: any; ownerCanTransfer?: any; ownerCanDestroy?: any; transfersEnabled?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;1664 /**1665 * Set specific permissions of a collection. Empty, or None fields mean chain default.1666 * 1667 * # Permissions1668 * 1669 * * Collection owner1670 * * Collection admin1671 * 1672 * # Arguments1673 * 1674 * * `collection_id`: ID of the modified collection.1675 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1676 * will not overwrite the old ones.1677 **/1678 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1679 /**1680 * Add or change collection properties.1681 * 1682 * # Permissions1683 * 1684 * * Collection owner1685 * * Collection admin1686 * 1687 * # Arguments1688 * 1689 * * `collection_id`: ID of the modified collection.1690 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1691 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1692 **/1693 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1694 /**1695 * Set (invite) a new collection sponsor.1696 * 1697 * If successful, confirmation from the sponsor-to-be will be pending.1698 * 1699 * # Permissions1700 * 1701 * * Collection owner1702 * * Collection admin1703 * 1704 * # Arguments1705 * 1706 * * `collection_id`: ID of the modified collection.1707 * * `new_sponsor`: ID of the account of the sponsor-to-be.1708 **/1709 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1710 /**1711 * Add or change token properties according to collection's permissions.1712 * Currently properties only work with NFTs.1713 * 1714 * # Permissions1715 * 1716 * * Depends on collection's token property permissions and specified property mutability:1717 * * Collection owner1718 * * Collection admin1719 * * Token owner1720 * 1721 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1722 * 1723 * # Arguments1724 * 1725 * * `collection_id: ID of the collection to which the token belongs.1726 * * `token_id`: ID of the modified token.1727 * * `properties`: Vector of key-value pairs stored as the token's metadata.1728 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1729 **/1730 setTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<UpDataStructsProperty>]>;1731 /**1732 * Add or change token property permissions of a collection.1733 * 1734 * Without a permission for a particular key, a property with that key1735 * cannot be created in a token.1736 * 1737 * # Permissions1738 * 1739 * * Collection owner1740 * * Collection admin1741 * 1742 * # Arguments1743 * 1744 * * `collection_id`: ID of the modified collection.1745 * * `property_permissions`: Vector of permissions for property keys.1746 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1747 **/1748 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1749 /**1750 * Completely allow or disallow transfers for a particular collection.1751 * 1752 * # Permissions1753 * 1754 * * Collection owner1755 * 1756 * # Arguments1757 * 1758 * * `collection_id`: ID of the collection.1759 * * `value`: New value of the flag, are transfers allowed?1760 **/1761 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1762 /**1763 * Change ownership of the token.1764 * 1765 * # Permissions1766 * 1767 * * Collection owner1768 * * Collection admin1769 * * Current token owner1770 * 1771 * # Arguments1772 * 1773 * * `recipient`: Address of token recipient.1774 * * `collection_id`: ID of the collection the item belongs to.1775 * * `item_id`: ID of the item.1776 * * Non-Fungible Mode: Required.1777 * * Fungible Mode: Ignored.1778 * * Re-Fungible Mode: Required.1779 * 1780 * * `value`: Amount to transfer.1781 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1782 * * Fungible Mode: The desired number of pieces to transfer.1783 * * Re-Fungible Mode: The desired number of pieces to transfer.1784 **/1785 transfer: AugmentedSubmittable<(recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1786 /**1787 * Change ownership of an item on behalf of the owner as a non-owner account.1788 * 1789 * See the [`approve`][`Pallet::approve`] method for additional information.1790 * 1791 * After this method executes, one approval is removed from the total so that1792 * the approved address will not be able to transfer this item again from this owner.1793 * 1794 * # Permissions1795 * 1796 * * Collection owner1797 * * Collection admin1798 * * Current item owner1799 * * Address approved by current item owner1800 * 1801 * # Arguments1802 * 1803 * * `from`: Address that currently owns the token.1804 * * `recipient`: Address of the new token-owner-to-be.1805 * * `collection_id`: ID of the collection the item.1806 * * `item_id`: ID of the item to be transferred.1807 * * `value`: Amount to transfer.1808 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1809 * * Fungible Mode: The desired number of pieces to transfer.1810 * * Re-Fungible Mode: The desired number of pieces to transfer.1811 **/1812 transferFrom: AugmentedSubmittable<(from: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr, PalletEvmAccountBasicCrossAccountIdRepr, u32, u32, u128]>;1813 /**1814 * Generic tx1815 **/1816 [key: string]: SubmittableExtrinsicFunction<ApiType>;1817 };1818 vesting: {1819 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1820 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1821 updateVestingSchedules: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, vestingSchedules: Vec<OrmlVestingVestingSchedule> | (OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [MultiAddress, Vec<OrmlVestingVestingSchedule>]>;1822 vestedTransfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: OrmlVestingVestingSchedule | { start?: any; period?: any; periodCount?: any; perPeriod?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, OrmlVestingVestingSchedule]>;1823 /**1824 * Generic tx1825 **/1826 [key: string]: SubmittableExtrinsicFunction<ApiType>;1827 };1828 xcmpQueue: {1829 /**1830 * Resumes all XCM executions for the XCMP queue.1831 * 1832 * Note that this function doesn't change the status of the in/out bound channels.1833 * 1834 * - `origin`: Must pass `ControllerOrigin`.1835 **/1836 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1837 /**1838 * Services a single overweight XCM.1839 * 1840 * - `origin`: Must pass `ExecuteOverweightOrigin`.1841 * - `index`: The index of the overweight XCM to service1842 * - `weight_limit`: The amount of weight that XCM execution may take.1843 * 1844 * Errors:1845 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1846 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1847 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1848 * 1849 * Events:1850 * - `OverweightServiced`: On success.1851 **/1852 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1853 /**1854 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1855 * 1856 * - `origin`: Must pass `ControllerOrigin`.1857 **/1858 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1859 /**1860 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1861 * messages from the channel.1862 * 1863 * - `origin`: Must pass `Root`.1864 * - `new`: Desired value for `QueueConfigData.drop_threshold`1865 **/1866 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1867 /**1868 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1869 * message sending may recommence after it has been suspended.1870 * 1871 * - `origin`: Must pass `Root`.1872 * - `new`: Desired value for `QueueConfigData.resume_threshold`1873 **/1874 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1875 /**1876 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1877 * suspend their sending.1878 * 1879 * - `origin`: Must pass `Root`.1880 * - `new`: Desired value for `QueueConfigData.suspend_value`1881 **/1882 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1883 /**1884 * Overwrites the amount of remaining weight under which we stop processing messages.1885 * 1886 * - `origin`: Must pass `Root`.1887 * - `new`: Desired value for `QueueConfigData.threshold_weight`1888 **/1889 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1890 /**1891 * Overwrites the speed to which the available weight approaches the maximum weight.1892 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1893 * 1894 * - `origin`: Must pass `Root`.1895 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1896 **/1897 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1898 /**1899 * Overwrite the maximum amount of weight any individual message may consume.1900 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1901 * 1902 * - `origin`: Must pass `Root`.1903 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1904 **/1905 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1906 /**1907 * Generic tx1908 **/1909 [key: string]: SubmittableExtrinsicFunction<ApiType>;1910 };1911 xTokens: {1912 /**1913 * Transfer native currencies.1914 * 1915 * `dest_weight_limit` is the weight for XCM execution on the dest1916 * chain, and it would be charged from the transferred assets. If set1917 * below requirements, the execution may fail and assets wouldn't be1918 * received.1919 * 1920 * It's a no-op if any error on local XCM execution or message sending.1921 * Note sending assets out per se doesn't guarantee they would be1922 * received. Receiving depends on if the XCM message could be delivered1923 * by the network, and if the receiving chain would handle1924 * messages correctly.1925 **/1926 transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1927 /**1928 * Transfer `MultiAsset`.1929 * 1930 * `dest_weight_limit` is the weight for XCM execution on the dest1931 * chain, and it would be charged from the transferred assets. If set1932 * below requirements, the execution may fail and assets wouldn't be1933 * received.1934 * 1935 * It's a no-op if any error on local XCM execution or message sending.1936 * Note sending assets out per se doesn't guarantee they would be1937 * received. Receiving depends on if the XCM message could be delivered1938 * by the network, and if the receiving chain would handle1939 * messages correctly.1940 **/1941 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1942 /**1943 * Transfer several `MultiAsset` specifying the item to be used as fee1944 * 1945 * `dest_weight_limit` is the weight for XCM execution on the dest1946 * chain, and it would be charged from the transferred assets. If set1947 * below requirements, the execution may fail and assets wouldn't be1948 * received.1949 * 1950 * `fee_item` is index of the MultiAssets that we want to use for1951 * payment1952 * 1953 * It's a no-op if any error on local XCM execution or message sending.1954 * Note sending assets out per se doesn't guarantee they would be1955 * received. Receiving depends on if the XCM message could be delivered1956 * by the network, and if the receiving chain would handle1957 * messages correctly.1958 **/1959 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1960 /**1961 * Transfer `MultiAsset` specifying the fee and amount as separate.1962 * 1963 * `dest_weight_limit` is the weight for XCM execution on the dest1964 * chain, and it would be charged from the transferred assets. If set1965 * below requirements, the execution may fail and assets wouldn't be1966 * received.1967 * 1968 * `fee` is the multiasset to be spent to pay for execution in1969 * destination chain. Both fee and amount will be subtracted form the1970 * callers balance For now we only accept fee and asset having the same1971 * `MultiLocation` id.1972 * 1973 * If `fee` is not high enough to cover for the execution costs in the1974 * destination chain, then the assets will be trapped in the1975 * destination chain1976 * 1977 * It's a no-op if any error on local XCM execution or message sending.1978 * Note sending assets out per se doesn't guarantee they would be1979 * received. Receiving depends on if the XCM message could be delivered1980 * by the network, and if the receiving chain would handle1981 * messages correctly.1982 **/1983 transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, fee: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, XcmV2WeightLimit]>;1984 /**1985 * Transfer several currencies specifying the item to be used as fee1986 * 1987 * `dest_weight_limit` is the weight for XCM execution on the dest1988 * chain, and it would be charged from the transferred assets. If set1989 * below requirements, the execution may fail and assets wouldn't be1990 * received.1991 * 1992 * `fee_item` is index of the currencies tuple that we want to use for1993 * payment1994 * 1995 * It's a no-op if any error on local XCM execution or message sending.1996 * Note sending assets out per se doesn't guarantee they would be1997 * received. Receiving depends on if the XCM message could be delivered1998 * by the network, and if the receiving chain would handle1999 * messages correctly.2000 **/2001 transferMulticurrencies: AugmentedSubmittable<(currencies: Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>> | ([PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2002 /**2003 * Transfer native currencies specifying the fee and amount as2004 * separate.2005 * 2006 * `dest_weight_limit` is the weight for XCM execution on the dest2007 * chain, and it would be charged from the transferred assets. If set2008 * below requirements, the execution may fail and assets wouldn't be2009 * received.2010 * 2011 * `fee` is the amount to be spent to pay for execution in destination2012 * chain. Both fee and amount will be subtracted form the callers2013 * balance.2014 * 2015 * If `fee` is not high enough to cover for the execution costs in the2016 * destination chain, then the assets will be trapped in the2017 * destination chain2018 * 2019 * It's a no-op if any error on local XCM execution or message sending.2020 * Note sending assets out per se doesn't guarantee they would be2021 * received. Receiving depends on if the XCM message could be delivered2022 * by the network, and if the receiving chain would handle2023 * messages correctly.2024 **/2025 transferWithFee: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeightLimit: XcmV2WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, XcmV2WeightLimit]>;2026 /**2027 * Generic tx2028 **/2029 [key: string]: SubmittableExtrinsicFunction<ApiType>;2030 };2031 } // AugmentedSubmittables2032} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-tx.ts108.8 KiBsourcehistory