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 { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';10import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';11import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';12import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, SpWeightsWeightV2Weight, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAsset, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';1314export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;15export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;16export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;1718declare module '@polkadot/api-base/types/submittable' {19 interface AugmentedSubmittables<ApiType extends ApiTypes> {20 appPromotion: {21 /**22 * Recalculates interest for the specified number of stakers.23 * If all stakers are not recalculated, the next call of the extrinsic24 * will continue the recalculation, from those stakers for whom this25 * was not perform in last call.26 * 27 * # Permissions28 * 29 * * Pallet admin30 * 31 * # Arguments32 * 33 * * `stakers_number`: the number of stakers for which recalculation will be performed34 **/35 payoutStakers: AugmentedSubmittable<(stakersNumber: Option<u8> | null | Uint8Array | u8 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u8>]>;36 /**37 * Sets an address as the the admin.38 * 39 * # Permissions40 * 41 * * Sudo42 * 43 * # Arguments44 * 45 * * `admin`: account of the new admin.46 **/47 setAdminAddress: AugmentedSubmittable<(admin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEvmAccountBasicCrossAccountIdRepr]>;48 /**49 * Sets the pallet to be the sponsor for the collection.50 * 51 * # Permissions52 * 53 * * Pallet admin54 * 55 * # Arguments56 * 57 * * `collection_id`: ID of the collection that will be sponsored by `pallet_id`58 **/59 sponsorCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;60 /**61 * Sets the pallet to be the sponsor for the contract.62 * 63 * # Permissions64 * 65 * * Pallet admin66 * 67 * # Arguments68 * 69 * * `contract_id`: the contract address that will be sponsored by `pallet_id`70 **/71 sponsorContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;72 /**73 * Stakes the amount of native tokens.74 * Sets `amount` to the locked state.75 * The maximum number of stakes for a staker is 10.76 * 77 * # Arguments78 * 79 * * `amount`: in native tokens.80 **/81 stake: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;82 /**83 * Removes the pallet as the sponsor for the collection.84 * Returns [`NoPermission`][`Error::NoPermission`]85 * if the pallet wasn't the sponsor.86 * 87 * # Permissions88 * 89 * * Pallet admin90 * 91 * # Arguments92 * 93 * * `collection_id`: ID of the collection that is sponsored by `pallet_id`94 **/95 stopSponsoringCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;96 /**97 * Removes the pallet as the sponsor for the contract.98 * Returns [`NoPermission`][`Error::NoPermission`]99 * if the pallet wasn't the sponsor.100 * 101 * # Permissions102 * 103 * * Pallet admin104 * 105 * # Arguments106 * 107 * * `contract_id`: the contract address that is sponsored by `pallet_id`108 **/109 stopSponsoringContract: AugmentedSubmittable<(contractId: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;110 /**111 * Unstakes all stakes.112 * Moves the sum of all stakes to the `reserved` state.113 * After the end of `PendingInterval` this sum becomes completely114 * free for further use.115 **/116 unstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;117 /**118 * Generic tx119 **/120 [key: string]: SubmittableExtrinsicFunction<ApiType>;121 };122 balances: {123 /**124 * Exactly as `transfer`, except the origin must be root and the source account may be125 * specified.126 * # <weight>127 * - Same as transfer, but additional read and write because the source account is not128 * assumed to be in the overlay.129 * # </weight>130 **/131 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>]>;132 /**133 * Unreserve some balance from a user by force.134 * 135 * Can only be called by ROOT.136 **/137 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;138 /**139 * Set the balances of a given account.140 * 141 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will142 * also alter the total issuance of the system (`TotalIssuance`) appropriately.143 * If the new free or reserved balance is below the existential deposit,144 * it will reset the account nonce (`frame_system::AccountNonce`).145 * 146 * The dispatch origin for this call is `root`.147 **/148 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>]>;149 /**150 * Transfer some liquid free balance to another account.151 * 152 * `transfer` will set the `FreeBalance` of the sender and receiver.153 * If the sender's account is below the existential deposit as a result154 * of the transfer, the account will be reaped.155 * 156 * The dispatch origin for this call must be `Signed` by the transactor.157 * 158 * # <weight>159 * - Dependent on arguments but not critical, given proper implementations for input config160 * types. See related functions below.161 * - It contains a limited number of reads and writes internally and no complex162 * computation.163 * 164 * Related functions:165 * 166 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.167 * - Transferring balances to accounts that did not exist before will cause168 * `T::OnNewAccount::on_new_account` to be called.169 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.170 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check171 * that the transfer will not kill the origin account.172 * ---------------------------------173 * - Origin account is already in memory, so no DB operations for them.174 * # </weight>175 **/176 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>]>;177 /**178 * Transfer the entire transferable balance from the caller account.179 * 180 * NOTE: This function only attempts to transfer _transferable_ balances. This means that181 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be182 * transferred by this function. To ensure that this function results in a killed account,183 * you might need to prepare the account by removing any reference counters, storage184 * deposits, etc...185 * 186 * The dispatch origin of this call must be Signed.187 * 188 * - `dest`: The recipient of the transfer.189 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all190 * of the funds the account has, causing the sender account to be killed (false), or191 * transfer everything except at least the existential deposit, which will guarantee to192 * keep the sender account alive (true). # <weight>193 * - O(1). Just like transfer, but reading the user's transferable balance first.194 * #</weight>195 **/196 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;197 /**198 * Same as the [`transfer`] call, but with a check that the transfer will not kill the199 * origin account.200 * 201 * 99% of the time you want [`transfer`] instead.202 * 203 * [`transfer`]: struct.Pallet.html#method.transfer204 **/205 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>]>;206 /**207 * Generic tx208 **/209 [key: string]: SubmittableExtrinsicFunction<ApiType>;210 };211 charging: {212 /**213 * Generic tx214 **/215 [key: string]: SubmittableExtrinsicFunction<ApiType>;216 };217 configuration: {218 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;219 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;220 setXcmAllowedLocations: AugmentedSubmittable<(locations: Option<Vec<XcmV1MultiLocation>> | null | Uint8Array | Vec<XcmV1MultiLocation> | (XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<Vec<XcmV1MultiLocation>>]>;221 /**222 * Generic tx223 **/224 [key: string]: SubmittableExtrinsicFunction<ApiType>;225 };226 cumulusXcm: {227 /**228 * Generic tx229 **/230 [key: string]: SubmittableExtrinsicFunction<ApiType>;231 };232 dmpQueue: {233 /**234 * Service a single overweight message.235 * 236 * - `origin`: Must pass `ExecuteOverweightOrigin`.237 * - `index`: The index of the overweight message to service.238 * - `weight_limit`: The amount of weight that message execution may take.239 * 240 * Errors:241 * - `Unknown`: Message of `index` is unknown.242 * - `OverLimit`: Message execution may use greater than `weight_limit`.243 * 244 * Events:245 * - `OverweightServiced`: On success.246 **/247 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;248 /**249 * Generic tx250 **/251 [key: string]: SubmittableExtrinsicFunction<ApiType>;252 };253 ethereum: {254 /**255 * Transact an Ethereum transaction.256 **/257 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;258 /**259 * Generic tx260 **/261 [key: string]: SubmittableExtrinsicFunction<ApiType>;262 };263 evm: {264 /**265 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.266 **/267 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>]>>]>;268 /**269 * Issue an EVM create operation. This is similar to a contract creation transaction in270 * Ethereum.271 **/272 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>]>>]>;273 /**274 * Issue an EVM create2 operation.275 **/276 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>]>>]>;277 /**278 * Withdraw balance from EVM into currency/balances pallet.279 **/280 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;281 /**282 * Generic tx283 **/284 [key: string]: SubmittableExtrinsicFunction<ApiType>;285 };286 evmMigration: {287 /**288 * Start contract migration, inserts contract stub at target address,289 * and marks account as pending, allowing to insert storage290 **/291 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;292 /**293 * Finish contract migration, allows it to be called.294 * It is not possible to alter contract storage via [`Self::set_data`]295 * after this call.296 **/297 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;298 /**299 * Create ethereum events attached to the fake transaction300 **/301 insertEthLogs: AugmentedSubmittable<(logs: Vec<EthereumLog> | (EthereumLog | { address?: any; topics?: any; data?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<EthereumLog>]>;302 /**303 * Create substrate events304 **/305 insertEvents: AugmentedSubmittable<(events: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;306 /**307 * Insert items into contract storage, this method can be called308 * multiple times309 **/310 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;311 /**312 * Generic tx313 **/314 [key: string]: SubmittableExtrinsicFunction<ApiType>;315 };316 foreignAssets: {317 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]>;318 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]>;319 /**320 * Generic tx321 **/322 [key: string]: SubmittableExtrinsicFunction<ApiType>;323 };324 inflation: {325 /**326 * This method sets the inflation start date. Can be only called once.327 * Inflation start block can be backdated and will catch up. The method will create Treasury328 * account if it does not exist and perform the first inflation deposit.329 * 330 * # Permissions331 * 332 * * Root333 * 334 * # Arguments335 * 336 * * inflation_start_relay_block: The relay chain block at which inflation should start337 **/338 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;339 /**340 * Generic tx341 **/342 [key: string]: SubmittableExtrinsicFunction<ApiType>;343 };344 maintenance: {345 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;346 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;347 /**348 * Generic tx349 **/350 [key: string]: SubmittableExtrinsicFunction<ApiType>;351 };352 parachainSystem: {353 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;354 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;355 /**356 * Set the current validation data.357 * 358 * This should be invoked exactly once per block. It will panic at the finalization359 * phase if the call was not invoked.360 * 361 * The dispatch origin for this call must be `Inherent`362 * 363 * As a side effect, this function upgrades the current validation function364 * if the appropriate time has come.365 **/366 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;367 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;368 /**369 * Generic tx370 **/371 [key: string]: SubmittableExtrinsicFunction<ApiType>;372 };373 polkadotXcm: {374 /**375 * Execute an XCM message from a local, signed, origin.376 * 377 * An event is deposited indicating whether `msg` could be executed completely or only378 * partially.379 * 380 * No more than `max_weight` will be used in its attempted execution. If this is less than the381 * maximum amount of weight that the message could take to be executed, then no execution382 * attempt will be made.383 * 384 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully385 * to completion; only that *some* of it was executed.386 **/387 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;388 /**389 * Set a safe XCM version (the version that XCM should be encoded with if the most recent390 * version a destination can accept is unknown).391 * 392 * - `origin`: Must be Root.393 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.394 **/395 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;396 /**397 * Ask a location to notify us regarding their XCM version and any changes to it.398 * 399 * - `origin`: Must be Root.400 * - `location`: The location to which we should subscribe for XCM version notifications.401 **/402 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;403 /**404 * Require that a particular destination should no longer notify us regarding any XCM405 * version changes.406 * 407 * - `origin`: Must be Root.408 * - `location`: The location to which we are currently subscribed for XCM version409 * notifications which we no longer desire.410 **/411 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;412 /**413 * Extoll that a particular destination can be communicated with through a particular414 * version of XCM.415 * 416 * - `origin`: Must be Root.417 * - `location`: The destination that is being described.418 * - `xcm_version`: The latest version of XCM that `location` supports.419 **/420 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;421 /**422 * Transfer some assets from the local chain to the sovereign account of a destination423 * chain and forward a notification XCM.424 * 425 * Fee payment on the destination side is made from the asset in the `assets` vector of426 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight427 * is needed than `weight_limit`, then the operation will fail and the assets send may be428 * at risk.429 * 430 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.431 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send432 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.433 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be434 * an `AccountId32` value.435 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the436 * `dest` side.437 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay438 * fees.439 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.440 **/441 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]>;442 /**443 * Teleport some assets from the local chain to some destination chain.444 * 445 * Fee payment on the destination side is made from the asset in the `assets` vector of446 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight447 * is needed than `weight_limit`, then the operation will fail and the assets send may be448 * at risk.449 * 450 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.451 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send452 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.453 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be454 * an `AccountId32` value.455 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the456 * `dest` side. May not be empty.457 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay458 * fees.459 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.460 **/461 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]>;462 /**463 * Transfer some assets from the local chain to the sovereign account of a destination464 * chain and forward a notification XCM.465 * 466 * Fee payment on the destination side is made from the asset in the `assets` vector of467 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,468 * with all fees taken as needed from the asset.469 * 470 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.471 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send472 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.473 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be474 * an `AccountId32` value.475 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the476 * `dest` side.477 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay478 * fees.479 **/480 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]>;481 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;482 /**483 * Teleport some assets from the local chain to some destination chain.484 * 485 * Fee payment on the destination side is made from the asset in the `assets` vector of486 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,487 * with all fees taken as needed from the asset.488 * 489 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.490 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send491 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.492 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be493 * an `AccountId32` value.494 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the495 * `dest` side. May not be empty.496 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay497 * fees.498 **/499 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]>;500 /**501 * Generic tx502 **/503 [key: string]: SubmittableExtrinsicFunction<ApiType>;504 };505 rmrkCore: {506 /**507 * Accept an NFT sent from another account to self or an owned NFT.508 * 509 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.510 * 511 * # Permissions:512 * - Token-owner-to-be513 * 514 * # Arguments:515 * - `origin`: sender of the transaction516 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.517 * - `rmrk_nft_id`: ID of the NFT to be accepted.518 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,519 * whichever the accepted NFT was sent to.520 **/521 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;522 /**523 * Accept the addition of a newly created pending resource to an existing NFT.524 * 525 * This transaction is needed when a resource is created and assigned to an NFT526 * by a non-owner, i.e. the collection issuer, with one of the527 * [`add_...` transactions](Pallet::add_basic_resource).528 * 529 * # Permissions:530 * - Token owner531 * 532 * # Arguments:533 * - `origin`: sender of the transaction534 * - `rmrk_collection_id`: RMRK collection ID of the NFT.535 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.536 * - `resource_id`: ID of the newly created pending resource.537 * accept the addition of a new resource to an existing NFT538 **/539 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;540 /**541 * Accept the removal of a removal-pending resource from an NFT.542 * 543 * This transaction is needed when a non-owner, i.e. the collection issuer,544 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.545 * 546 * # Permissions:547 * - Token owner548 * 549 * # Arguments:550 * - `origin`: sender of the transaction551 * - `rmrk_collection_id`: RMRK collection ID of the NFT.552 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.553 * - `resource_id`: ID of the removal-pending resource.554 **/555 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;556 /**557 * Create and set/propose a basic resource for an NFT.558 * 559 * A basic resource is the simplest, lacking a Base and anything that comes with it.560 * See RMRK docs for more information and examples.561 * 562 * # Permissions:563 * - Collection issuer - if not the token owner, adding the resource will warrant564 * the owner's [acceptance](Pallet::accept_resource).565 * 566 * # Arguments:567 * - `origin`: sender of the transaction568 * - `rmrk_collection_id`: RMRK collection ID of the NFT.569 * - `nft_id`: ID of the NFT to assign a resource to.570 * - `resource`: Data of the resource to be created.571 **/572 addBasicResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceBasicResource | { src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceBasicResource]>;573 /**574 * Create and set/propose a composable resource for an NFT.575 * 576 * A composable resource links to a Base and has a subset of its Parts it is composed of.577 * See RMRK docs for more information and examples.578 * 579 * # Permissions:580 * - Collection issuer - if not the token owner, adding the resource will warrant581 * the owner's [acceptance](Pallet::accept_resource).582 * 583 * # Arguments:584 * - `origin`: sender of the transaction585 * - `rmrk_collection_id`: RMRK collection ID of the NFT.586 * - `nft_id`: ID of the NFT to assign a resource to.587 * - `resource`: Data of the resource to be created.588 **/589 addComposableResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceComposableResource | { parts?: any; base?: any; src?: any; metadata?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceComposableResource]>;590 /**591 * Create and set/propose a slot resource for an NFT.592 * 593 * A slot resource links to a Base and a slot ID in it which it can fit into.594 * See RMRK docs for more information and examples.595 * 596 * # Permissions:597 * - Collection issuer - if not the token owner, adding the resource will warrant598 * the owner's [acceptance](Pallet::accept_resource).599 * 600 * # Arguments:601 * - `origin`: sender of the transaction602 * - `rmrk_collection_id`: RMRK collection ID of the NFT.603 * - `nft_id`: ID of the NFT to assign a resource to.604 * - `resource`: Data of the resource to be created.605 **/606 addSlotResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resource: RmrkTraitsResourceSlotResource | { base?: any; src?: any; metadata?: any; slot?: any; license?: any; thumb?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsResourceSlotResource]>;607 /**608 * Burn an NFT, destroying it and its nested tokens up to the specified limit.609 * If the burning budget is exceeded, the transaction is reverted.610 * 611 * This is the way to burn a nested token as well.612 * 613 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).614 * 615 * # Permissions:616 * * Token owner617 * 618 * # Arguments:619 * - `origin`: sender of the transaction620 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.621 * - `nft_id`: ID of the NFT to be destroyed.622 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction623 * is reverted if there are more tokens to burn in the nesting tree than this number.624 * This is primarily a mechanism of transaction weight control.625 **/626 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;627 /**628 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).629 * 630 * # Permissions:631 * * Collection issuer632 * 633 * # Arguments:634 * - `origin`: sender of the transaction635 * - `collection_id`: RMRK collection ID to change the issuer of.636 * - `new_issuer`: Collection's new issuer.637 **/638 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;639 /**640 * Create a new collection of NFTs.641 * 642 * # Permissions:643 * * Anyone - will be assigned as the issuer of the collection.644 * 645 * # Arguments:646 * - `origin`: sender of the transaction647 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.648 * - `max`: Optional maximum number of tokens.649 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.650 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.651 **/652 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;653 /**654 * Destroy a collection.655 * 656 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.657 * 658 * # Permissions:659 * * Collection issuer660 * 661 * # Arguments:662 * - `origin`: sender of the transaction663 * - `collection_id`: RMRK ID of the collection to destroy.664 **/665 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;666 /**667 * "Lock" the collection and prevent new token creation. Cannot be undone.668 * 669 * # Permissions:670 * * Collection issuer671 * 672 * # Arguments:673 * - `origin`: sender of the transaction674 * - `collection_id`: RMRK ID of the collection to lock.675 **/676 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;677 /**678 * Mint an NFT in a specified collection.679 * 680 * # Permissions:681 * * Collection issuer682 * 683 * # Arguments:684 * - `origin`: sender of the transaction685 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).686 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.687 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.688 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.689 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.690 * - `transferable`: Can this NFT be transferred? Cannot be changed.691 * - `resources`: Resource data to be added to the NFT immediately after minting.692 **/693 mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | Uint8Array | AccountId32 | string, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | Uint8Array | AccountId32 | string, royaltyAmount: Option<Permill> | null | Uint8Array | Permill | AnyNumber, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | Uint8Array | Vec<RmrkTraitsResourceResourceTypes> | (RmrkTraitsResourceResourceTypes | { Basic: any } | { Composable: any } | { Slot: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;694 /**695 * Reject an NFT sent from another account to self or owned NFT.696 * The NFT in question will not be sent back and burnt instead.697 * 698 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.699 * 700 * # Permissions:701 * - Token-owner-to-be-not702 * 703 * # Arguments:704 * - `origin`: sender of the transaction705 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.706 * - `rmrk_nft_id`: ID of the NFT to be rejected.707 **/708 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;709 /**710 * Remove and erase a resource from an NFT.711 * 712 * If the sender does not own the NFT, then it will be pending confirmation,713 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.714 * 715 * # Permissions716 * - Collection issuer717 * 718 * # Arguments719 * - `origin`: sender of the transaction720 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.721 * - `nft_id`: ID of the NFT with a resource to be removed.722 * - `resource_id`: ID of the resource to be removed.723 **/724 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;725 /**726 * Transfer an NFT from an account/NFT A to another account/NFT B.727 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].728 * 729 * If the target owner is an NFT owned by another account, then the NFT will enter730 * the pending state and will have to be accepted by the other account.731 * 732 * # Permissions:733 * - Token owner734 * 735 * # Arguments:736 * - `origin`: sender of the transaction737 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.738 * - `rmrk_nft_id`: ID of the NFT to be transferred.739 * - `new_owner`: New owner of the nft which can be either an account or a NFT.740 **/741 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;742 /**743 * Set a different order of resource priorities for an NFT. Priorities can be used,744 * for example, for order of rendering.745 * 746 * Note that the priorities are not updated automatically, and are an empty vector747 * by default. There is no pre-set definition for the order to be particular,748 * it can be interpreted arbitrarily use-case by use-case.749 * 750 * # Permissions:751 * - Token owner752 * 753 * # Arguments:754 * - `origin`: sender of the transaction755 * - `rmrk_collection_id`: RMRK collection ID of the NFT.756 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.757 * - `priorities`: Ordered vector of resource IDs.758 **/759 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;760 /**761 * Add or edit a custom user property, a key-value pair, describing the metadata762 * of a token or a collection, on either one of these.763 * 764 * Note that in this proxy implementation many details regarding RMRK are stored765 * as scoped properties prefixed with "rmrk:", normally inaccessible766 * to external transactions and RPCs.767 * 768 * # Permissions:769 * - Collection issuer - in case of collection property770 * - Token owner - in case of NFT property771 * 772 * # Arguments:773 * - `origin`: sender of the transaction774 * - `rmrk_collection_id`: RMRK collection ID.775 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.776 * - `key`: Key of the custom property to be referenced by.777 * - `value`: Value of the custom property to be stored.778 **/779 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;780 /**781 * Generic tx782 **/783 [key: string]: SubmittableExtrinsicFunction<ApiType>;784 };785 rmrkEquip: {786 /**787 * Create a new Base.788 * 789 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)790 * 791 * # Permissions792 * - Anyone - will be assigned as the issuer of the Base.793 * 794 * # Arguments:795 * - `origin`: Caller, will be assigned as the issuer of the Base796 * - `base_type`: Arbitrary media type, e.g. "svg".797 * - `symbol`: Arbitrary client-chosen symbol.798 * - `parts`: Array of Fixed and Slot Parts composing the Base,799 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).800 **/801 createBase: AugmentedSubmittable<(baseType: Bytes | string | Uint8Array, symbol: Bytes | string | Uint8Array, parts: Vec<RmrkTraitsPartPartType> | (RmrkTraitsPartPartType | { FixedPart: any } | { SlotPart: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Bytes, Bytes, Vec<RmrkTraitsPartPartType>]>;802 /**803 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.804 * 805 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).806 * 807 * # Permissions:808 * - Base issuer809 * 810 * # Arguments:811 * - `origin`: sender of the transaction812 * - `base_id`: Base containing the Slot Part to be updated.813 * - `slot_id`: Slot Part whose Equippable List is being updated .814 * - `equippables`: List of equippables that will override the current Equippables list.815 **/816 equippable: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, slotId: u32 | AnyNumber | Uint8Array, equippables: RmrkTraitsPartEquippableList | { All: any } | { Empty: any } | { Custom: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsPartEquippableList]>;817 /**818 * Add a Theme to a Base.819 * A Theme named "default" is required prior to adding other Themes.820 * 821 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).822 * 823 * # Permissions:824 * - Base issuer825 * 826 * # Arguments:827 * - `origin`: sender of the transaction828 * - `base_id`: Base ID containing the Theme to be updated.829 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an830 * array of [key, value, inherit].831 * - `key`: Arbitrary BoundedString, defined by client.832 * - `value`: Arbitrary BoundedString, defined by client.833 * - `inherit`: Optional bool.834 **/835 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;836 /**837 * Generic tx838 **/839 [key: string]: SubmittableExtrinsicFunction<ApiType>;840 };841 structure: {842 /**843 * Generic tx844 **/845 [key: string]: SubmittableExtrinsicFunction<ApiType>;846 };847 sudo: {848 /**849 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo850 * key.851 * 852 * The dispatch origin for this call must be _Signed_.853 * 854 * # <weight>855 * - O(1).856 * - Limited storage reads.857 * - One DB change.858 * # </weight>859 **/860 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;861 /**862 * Authenticates the sudo key and dispatches a function call with `Root` origin.863 * 864 * The dispatch origin for this call must be _Signed_.865 * 866 * # <weight>867 * - O(1).868 * - Limited storage reads.869 * - One DB write (event).870 * - Weight of derivative `call` execution + 10,000.871 * # </weight>872 **/873 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;874 /**875 * Authenticates the sudo key and dispatches a function call with `Signed` origin from876 * a given account.877 * 878 * The dispatch origin for this call must be _Signed_.879 * 880 * # <weight>881 * - O(1).882 * - Limited storage reads.883 * - One DB write (event).884 * - Weight of derivative `call` execution + 10,000.885 * # </weight>886 **/887 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]>;888 /**889 * Authenticates the sudo key and dispatches a function call with `Root` origin.890 * This function does not check the weight of the call, and instead allows the891 * Sudo user to specify the weight of the call.892 * 893 * The dispatch origin for this call must be _Signed_.894 * 895 * # <weight>896 * - O(1).897 * - The weight of this call is defined by the caller.898 * # </weight>899 **/900 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;901 /**902 * Generic tx903 **/904 [key: string]: SubmittableExtrinsicFunction<ApiType>;905 };906 system: {907 /**908 * A dispatch that will fill the block weight up to the given ratio.909 **/910 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;911 /**912 * Kill all storage items with a key that starts with the given prefix.913 * 914 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under915 * the prefix we are removing to accurately calculate the weight of this function.916 **/917 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;918 /**919 * Kill some items from storage.920 **/921 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;922 /**923 * Make some on-chain remark.924 * 925 * # <weight>926 * - `O(1)`927 * # </weight>928 **/929 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;930 /**931 * Make some on-chain remark and emit event.932 **/933 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;934 /**935 * Set the new runtime code.936 * 937 * # <weight>938 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`939 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is940 * expensive).941 * - 1 storage write (codec `O(C)`).942 * - 1 digest item.943 * - 1 event.944 * The weight of this function is dependent on the runtime, but generally this is very945 * expensive. We will treat this as a full block.946 * # </weight>947 **/948 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;949 /**950 * Set the new runtime code without doing any checks of the given `code`.951 * 952 * # <weight>953 * - `O(C)` where `C` length of `code`954 * - 1 storage write (codec `O(C)`).955 * - 1 digest item.956 * - 1 event.957 * The weight of this function is dependent on the runtime. We will treat this as a full958 * block. # </weight>959 **/960 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;961 /**962 * Set the number of pages in the WebAssembly environment's heap.963 **/964 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;965 /**966 * Set some items of storage.967 **/968 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;969 /**970 * Generic tx971 **/972 [key: string]: SubmittableExtrinsicFunction<ApiType>;973 };974 testUtils: {975 batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;976 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;977 incTestValue: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;978 justTakeFee: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;979 setTestValue: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;980 setTestValueAndRollback: AugmentedSubmittable<(value: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;981 /**982 * Generic tx983 **/984 [key: string]: SubmittableExtrinsicFunction<ApiType>;985 };986 timestamp: {987 /**988 * Set the current time.989 * 990 * This call should be invoked exactly once per block. It will panic at the finalization991 * phase, if this call hasn't been invoked by that time.992 * 993 * The timestamp should be greater than the previous one by the amount specified by994 * `MinimumPeriod`.995 * 996 * The dispatch origin for this call must be `Inherent`.997 * 998 * # <weight>999 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)1000 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in1001 * `on_finalize`)1002 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.1003 * # </weight>1004 **/1005 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;1006 /**1007 * Generic tx1008 **/1009 [key: string]: SubmittableExtrinsicFunction<ApiType>;1010 };1011 tokens: {1012 /**1013 * Exactly as `transfer`, except the origin must be root and the source1014 * account may be specified.1015 * 1016 * The dispatch origin for this call must be _Root_.1017 * 1018 * - `source`: The sender of the transfer.1019 * - `dest`: The recipient of the transfer.1020 * - `currency_id`: currency type.1021 * - `amount`: free balance amount to tranfer.1022 **/1023 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>]>;1024 /**1025 * Set the balances of a given account.1026 * 1027 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1028 * will also decrease the total issuance of the system1029 * (`TotalIssuance`). If the new free or reserved balance is below the1030 * existential deposit, it will reap the `AccountInfo`.1031 * 1032 * The dispatch origin for this call is `root`.1033 **/1034 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>]>;1035 /**1036 * Transfer some liquid free balance to another account.1037 * 1038 * `transfer` will set the `FreeBalance` of the sender and receiver.1039 * It will decrease the total issuance of the system by the1040 * `TransferFee`. If the sender's account is below the existential1041 * deposit as a result of the transfer, the account will be reaped.1042 * 1043 * The dispatch origin for this call must be `Signed` by the1044 * transactor.1045 * 1046 * - `dest`: The recipient of the transfer.1047 * - `currency_id`: currency type.1048 * - `amount`: free balance amount to tranfer.1049 **/1050 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>]>;1051 /**1052 * Transfer all remaining balance to the given account.1053 * 1054 * NOTE: This function only attempts to transfer _transferable_1055 * balances. This means that any locked, reserved, or existential1056 * deposits (when `keep_alive` is `true`), will not be transferred by1057 * this function. To ensure that this function results in a killed1058 * account, you might need to prepare the account by removing any1059 * reference counters, storage deposits, etc...1060 * 1061 * The dispatch origin for this call must be `Signed` by the1062 * transactor.1063 * 1064 * - `dest`: The recipient of the transfer.1065 * - `currency_id`: currency type.1066 * - `keep_alive`: A boolean to determine if the `transfer_all`1067 * operation should send all of the funds the account has, causing1068 * the sender account to be killed (false), or transfer everything1069 * except at least the existential deposit, which will guarantee to1070 * keep the sender account alive (true).1071 **/1072 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]>;1073 /**1074 * Same as the [`transfer`] call, but with a check that the transfer1075 * will not kill the origin account.1076 * 1077 * 99% of the time you want [`transfer`] instead.1078 * 1079 * The dispatch origin for this call must be `Signed` by the1080 * transactor.1081 * 1082 * - `dest`: The recipient of the transfer.1083 * - `currency_id`: currency type.1084 * - `amount`: free balance amount to tranfer.1085 **/1086 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>]>;1087 /**1088 * Generic tx1089 **/1090 [key: string]: SubmittableExtrinsicFunction<ApiType>;1091 };1092 treasury: {1093 /**1094 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1095 * and the original deposit will be returned.1096 * 1097 * May only be called from `T::ApproveOrigin`.1098 * 1099 * # <weight>1100 * - Complexity: O(1).1101 * - DbReads: `Proposals`, `Approvals`1102 * - DbWrite: `Approvals`1103 * # </weight>1104 **/1105 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1106 /**1107 * Put forward a suggestion for spending. A deposit proportional to the value1108 * is reserved and slashed if the proposal is rejected. It is returned once the1109 * proposal is awarded.1110 * 1111 * # <weight>1112 * - Complexity: O(1)1113 * - DbReads: `ProposalCount`, `origin account`1114 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1115 * # </weight>1116 **/1117 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]>;1118 /**1119 * Reject a proposed spend. The original deposit will be slashed.1120 * 1121 * May only be called from `T::RejectOrigin`.1122 * 1123 * # <weight>1124 * - Complexity: O(1)1125 * - DbReads: `Proposals`, `rejected proposer account`1126 * - DbWrites: `Proposals`, `rejected proposer account`1127 * # </weight>1128 **/1129 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1130 /**1131 * Force a previously approved proposal to be removed from the approval queue.1132 * The original deposit will no longer be returned.1133 * 1134 * May only be called from `T::RejectOrigin`.1135 * - `proposal_id`: The index of a proposal1136 * 1137 * # <weight>1138 * - Complexity: O(A) where `A` is the number of approvals1139 * - Db reads and writes: `Approvals`1140 * # </weight>1141 * 1142 * Errors:1143 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1144 * i.e., the proposal has not been approved. This could also mean the proposal does not1145 * exist altogether, thus there is no way it would have been approved in the first place.1146 **/1147 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1148 /**1149 * Propose and approve a spend of treasury funds.1150 * 1151 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1152 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1153 * - `beneficiary`: The destination account for the transfer.1154 * 1155 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1156 * beneficiary.1157 **/1158 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]>;1159 /**1160 * Generic tx1161 **/1162 [key: string]: SubmittableExtrinsicFunction<ApiType>;1163 };1164 unique: {1165 /**1166 * Add an admin to a collection.1167 * 1168 * NFT Collection can be controlled by multiple admin addresses1169 * (some which can also be servers, for example). Admins can issue1170 * and burn NFTs, as well as add and remove other admins,1171 * but cannot change NFT or Collection ownership.1172 * 1173 * # Permissions1174 * 1175 * * Collection owner1176 * * Collection admin1177 * 1178 * # Arguments1179 * 1180 * * `collection_id`: ID of the Collection to add an admin for.1181 * * `new_admin`: Address of new admin to add.1182 **/1183 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1184 /**1185 * Add an address to allow list.1186 * 1187 * # Permissions1188 * 1189 * * Collection owner1190 * * Collection admin1191 * 1192 * # Arguments1193 * 1194 * * `collection_id`: ID of the modified collection.1195 * * `address`: ID of the address to be added to the allowlist.1196 **/1197 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1198 /**1199 * Allow a non-permissioned address to transfer or burn an item.1200 * 1201 * # Permissions1202 * 1203 * * Collection owner1204 * * Collection admin1205 * * Current item owner1206 * 1207 * # Arguments1208 * 1209 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1210 * * `collection_id`: ID of the collection the item belongs to.1211 * * `item_id`: ID of the item transactions on which are now approved.1212 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1213 * Set to 0 to revoke the approval.1214 **/1215 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]>;1216 /**1217 * Destroy a token on behalf of the owner as a non-owner account.1218 * 1219 * See also: [`approve`][`Pallet::approve`].1220 * 1221 * After this method executes, one approval is removed from the total so that1222 * the approved address will not be able to transfer this item again from this owner.1223 * 1224 * # Permissions1225 * 1226 * * Collection owner1227 * * Collection admin1228 * * Current token owner1229 * * Address approved by current item owner1230 * 1231 * # Arguments1232 * 1233 * * `from`: The owner of the burning item.1234 * * `collection_id`: ID of the collection to which the item belongs.1235 * * `item_id`: ID of item to burn.1236 * * `value`: Number of pieces to burn.1237 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1238 * * Fungible Mode: The desired number of pieces to burn.1239 * * Re-Fungible Mode: The desired number of pieces to burn.1240 **/1241 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]>;1242 /**1243 * Destroy an item.1244 * 1245 * # Permissions1246 * 1247 * * Collection owner1248 * * Collection admin1249 * * Current item owner1250 * 1251 * # Arguments1252 * 1253 * * `collection_id`: ID of the collection to which the item belongs.1254 * * `item_id`: ID of item to burn.1255 * * `value`: Number of pieces of the item to destroy.1256 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1257 * * Fungible Mode: The desired number of pieces to burn.1258 * * Re-Fungible Mode: The desired number of pieces to burn.1259 **/1260 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1261 /**1262 * Change the owner of the collection.1263 * 1264 * # Permissions1265 * 1266 * * Collection owner1267 * 1268 * # Arguments1269 * 1270 * * `collection_id`: ID of the modified collection.1271 * * `new_owner`: ID of the account that will become the owner.1272 **/1273 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1274 /**1275 * Confirm own sponsorship of a collection, becoming the sponsor.1276 * 1277 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1278 * Sponsor can pay the fees of a transaction instead of the sender,1279 * but only within specified limits.1280 * 1281 * # Permissions1282 * 1283 * * Sponsor-to-be1284 * 1285 * # Arguments1286 * 1287 * * `collection_id`: ID of the collection with the pending sponsor.1288 **/1289 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1290 /**1291 * Create a collection of tokens.1292 * 1293 * Each Token may have multiple properties encoded as an array of bytes1294 * of certain length. The initial owner of the collection is set1295 * to the address that signed the transaction and can be changed later.1296 * 1297 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1298 * 1299 * # Permissions1300 * 1301 * * Anyone - becomes the owner of the new collection.1302 * 1303 * # Arguments1304 * 1305 * * `collection_name`: Wide-character string with collection name1306 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1307 * * `collection_description`: Wide-character string with collection description1308 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1309 * * `token_prefix`: Byte string containing the token prefix to mark a collection1310 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1311 * * `mode`: Type of items stored in the collection and type dependent data.1312 **/1313 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]>;1314 /**1315 * Create a collection with explicit parameters.1316 * 1317 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1318 * 1319 * # Permissions1320 * 1321 * * Anyone - becomes the owner of the new collection.1322 * 1323 * # Arguments1324 * 1325 * * `data`: Explicit data of a collection used for its creation.1326 **/1327 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]>;1328 /**1329 * Mint an item within a collection.1330 * 1331 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1332 * 1333 * # Permissions1334 * 1335 * * Collection owner1336 * * Collection admin1337 * * Anyone if1338 * * Allow List is enabled, and1339 * * Address is added to allow list, and1340 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1341 * 1342 * # Arguments1343 * 1344 * * `collection_id`: ID of the collection to which an item would belong.1345 * * `owner`: Address of the initial owner of the item.1346 * * `data`: Token data describing the item to store on chain.1347 **/1348 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]>;1349 /**1350 * Create multiple items within a collection.1351 * 1352 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1353 * 1354 * # Permissions1355 * 1356 * * Collection owner1357 * * Collection admin1358 * * Anyone if1359 * * Allow List is enabled, and1360 * * Address is added to the allow list, and1361 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1362 * 1363 * # Arguments1364 * 1365 * * `collection_id`: ID of the collection to which the tokens would belong.1366 * * `owner`: Address of the initial owner of the tokens.1367 * * `items_data`: Vector of data describing each item to be created.1368 **/1369 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>]>;1370 /**1371 * Create multiple items within a collection with explicitly specified initial parameters.1372 * 1373 * # Permissions1374 * 1375 * * Collection owner1376 * * Collection admin1377 * * Anyone if1378 * * Allow List is enabled, and1379 * * Address is added to allow list, and1380 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1381 * 1382 * # Arguments1383 * 1384 * * `collection_id`: ID of the collection to which the tokens would belong.1385 * * `data`: Explicit item creation data.1386 **/1387 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1388 /**1389 * Delete specified collection properties.1390 * 1391 * # Permissions1392 * 1393 * * Collection Owner1394 * * Collection Admin1395 * 1396 * # Arguments1397 * 1398 * * `collection_id`: ID of the modified collection.1399 * * `property_keys`: Vector of keys of the properties to be deleted.1400 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1401 **/1402 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1403 /**1404 * Delete specified token properties. Currently properties only work with NFTs.1405 * 1406 * # Permissions1407 * 1408 * * Depends on collection's token property permissions and specified property mutability:1409 * * Collection owner1410 * * Collection admin1411 * * Token owner1412 * 1413 * # Arguments1414 * 1415 * * `collection_id`: ID of the collection to which the token belongs.1416 * * `token_id`: ID of the modified token.1417 * * `property_keys`: Vector of keys of the properties to be deleted.1418 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1419 **/1420 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1421 /**1422 * Destroy a collection if no tokens exist within.1423 * 1424 * # Permissions1425 * 1426 * * Collection owner1427 * 1428 * # Arguments1429 * 1430 * * `collection_id`: Collection to destroy.1431 **/1432 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1433 /**1434 * Remove admin of a collection.1435 * 1436 * An admin address can remove itself. List of admins may become empty,1437 * in which case only Collection Owner will be able to add an Admin.1438 * 1439 * # Permissions1440 * 1441 * * Collection owner1442 * * Collection admin1443 * 1444 * # Arguments1445 * 1446 * * `collection_id`: ID of the collection to remove the admin for.1447 * * `account_id`: Address of the admin to remove.1448 **/1449 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1450 /**1451 * Remove a collection's a sponsor, making everyone pay for their own transactions.1452 * 1453 * # Permissions1454 * 1455 * * Collection owner1456 * 1457 * # Arguments1458 * 1459 * * `collection_id`: ID of the collection with the sponsor to remove.1460 **/1461 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1462 /**1463 * Remove an address from allow list.1464 * 1465 * # Permissions1466 * 1467 * * Collection owner1468 * * Collection admin1469 * 1470 * # Arguments1471 * 1472 * * `collection_id`: ID of the modified collection.1473 * * `address`: ID of the address to be removed from the allowlist.1474 **/1475 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1476 /**1477 * Re-partition a refungible token, while owning all of its parts/pieces.1478 * 1479 * # Permissions1480 * 1481 * * Token owner (must own every part)1482 * 1483 * # Arguments1484 * 1485 * * `collection_id`: ID of the collection the RFT belongs to.1486 * * `token_id`: ID of the RFT.1487 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1488 **/1489 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1490 /**1491 * Sets or unsets the approval of a given operator.1492 * 1493 * The `operator` is allowed to transfer all tokens of the `owner` on their behalf.1494 * 1495 * # Arguments1496 * 1497 * * `owner`: Token owner1498 * * `operator`: Operator1499 * * `approve`: Should operator status be granted or revoked?1500 **/1501 setAllowanceForAll: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, operator: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr, bool]>;1502 /**1503 * Set specific limits of a collection. Empty, or None fields mean chain default.1504 * 1505 * # Permissions1506 * 1507 * * Collection owner1508 * * Collection admin1509 * 1510 * # Arguments1511 * 1512 * * `collection_id`: ID of the modified collection.1513 * * `new_limit`: New limits of the collection. Fields that are not set (None)1514 * will not overwrite the old ones.1515 **/1516 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]>;1517 /**1518 * Set specific permissions of a collection. Empty, or None fields mean chain default.1519 * 1520 * # Permissions1521 * 1522 * * Collection owner1523 * * Collection admin1524 * 1525 * # Arguments1526 * 1527 * * `collection_id`: ID of the modified collection.1528 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1529 * will not overwrite the old ones.1530 **/1531 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1532 /**1533 * Add or change collection properties.1534 * 1535 * # Permissions1536 * 1537 * * Collection owner1538 * * Collection admin1539 * 1540 * # Arguments1541 * 1542 * * `collection_id`: ID of the modified collection.1543 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1544 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1545 **/1546 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1547 /**1548 * Set (invite) a new collection sponsor.1549 * 1550 * If successful, confirmation from the sponsor-to-be will be pending.1551 * 1552 * # Permissions1553 * 1554 * * Collection owner1555 * * Collection admin1556 * 1557 * # Arguments1558 * 1559 * * `collection_id`: ID of the modified collection.1560 * * `new_sponsor`: ID of the account of the sponsor-to-be.1561 **/1562 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1563 /**1564 * Add or change token properties according to collection's permissions.1565 * Currently properties only work with NFTs.1566 * 1567 * # Permissions1568 * 1569 * * Depends on collection's token property permissions and specified property mutability:1570 * * Collection owner1571 * * Collection admin1572 * * Token owner1573 * 1574 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1575 * 1576 * # Arguments1577 * 1578 * * `collection_id: ID of the collection to which the token belongs.1579 * * `token_id`: ID of the modified token.1580 * * `properties`: Vector of key-value pairs stored as the token's metadata.1581 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1582 **/1583 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>]>;1584 /**1585 * Add or change token property permissions of a collection.1586 * 1587 * Without a permission for a particular key, a property with that key1588 * cannot be created in a token.1589 * 1590 * # Permissions1591 * 1592 * * Collection owner1593 * * Collection admin1594 * 1595 * # Arguments1596 * 1597 * * `collection_id`: ID of the modified collection.1598 * * `property_permissions`: Vector of permissions for property keys.1599 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1600 **/1601 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1602 /**1603 * Completely allow or disallow transfers for a particular collection.1604 * 1605 * # Permissions1606 * 1607 * * Collection owner1608 * 1609 * # Arguments1610 * 1611 * * `collection_id`: ID of the collection.1612 * * `value`: New value of the flag, are transfers allowed?1613 **/1614 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1615 /**1616 * Change ownership of the token.1617 * 1618 * # Permissions1619 * 1620 * * Collection owner1621 * * Collection admin1622 * * Current token owner1623 * 1624 * # Arguments1625 * 1626 * * `recipient`: Address of token recipient.1627 * * `collection_id`: ID of the collection the item belongs to.1628 * * `item_id`: ID of the item.1629 * * Non-Fungible Mode: Required.1630 * * Fungible Mode: Ignored.1631 * * Re-Fungible Mode: Required.1632 * 1633 * * `value`: Amount to transfer.1634 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1635 * * Fungible Mode: The desired number of pieces to transfer.1636 * * Re-Fungible Mode: The desired number of pieces to transfer.1637 **/1638 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]>;1639 /**1640 * Change ownership of an item on behalf of the owner as a non-owner account.1641 * 1642 * See the [`approve`][`Pallet::approve`] method for additional information.1643 * 1644 * After this method executes, one approval is removed from the total so that1645 * the approved address will not be able to transfer this item again from this owner.1646 * 1647 * # Permissions1648 * 1649 * * Collection owner1650 * * Collection admin1651 * * Current item owner1652 * * Address approved by current item owner1653 * 1654 * # Arguments1655 * 1656 * * `from`: Address that currently owns the token.1657 * * `recipient`: Address of the new token-owner-to-be.1658 * * `collection_id`: ID of the collection the item.1659 * * `item_id`: ID of the item to be transferred.1660 * * `value`: Amount to transfer.1661 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1662 * * Fungible Mode: The desired number of pieces to transfer.1663 * * Re-Fungible Mode: The desired number of pieces to transfer.1664 **/1665 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]>;1666 /**1667 * Generic tx1668 **/1669 [key: string]: SubmittableExtrinsicFunction<ApiType>;1670 };1671 vesting: {1672 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1673 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1674 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>]>;1675 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]>;1676 /**1677 * Generic tx1678 **/1679 [key: string]: SubmittableExtrinsicFunction<ApiType>;1680 };1681 xcmpQueue: {1682 /**1683 * Resumes all XCM executions for the XCMP queue.1684 * 1685 * Note that this function doesn't change the status of the in/out bound channels.1686 * 1687 * - `origin`: Must pass `ControllerOrigin`.1688 **/1689 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1690 /**1691 * Services a single overweight XCM.1692 * 1693 * - `origin`: Must pass `ExecuteOverweightOrigin`.1694 * - `index`: The index of the overweight XCM to service1695 * - `weight_limit`: The amount of weight that XCM execution may take.1696 * 1697 * Errors:1698 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1699 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1700 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1701 * 1702 * Events:1703 * - `OverweightServiced`: On success.1704 **/1705 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1706 /**1707 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1708 * 1709 * - `origin`: Must pass `ControllerOrigin`.1710 **/1711 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1712 /**1713 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1714 * messages from the channel.1715 * 1716 * - `origin`: Must pass `Root`.1717 * - `new`: Desired value for `QueueConfigData.drop_threshold`1718 **/1719 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1720 /**1721 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1722 * message sending may recommence after it has been suspended.1723 * 1724 * - `origin`: Must pass `Root`.1725 * - `new`: Desired value for `QueueConfigData.resume_threshold`1726 **/1727 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1728 /**1729 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1730 * suspend their sending.1731 * 1732 * - `origin`: Must pass `Root`.1733 * - `new`: Desired value for `QueueConfigData.suspend_value`1734 **/1735 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1736 /**1737 * Overwrites the amount of remaining weight under which we stop processing messages.1738 * 1739 * - `origin`: Must pass `Root`.1740 * - `new`: Desired value for `QueueConfigData.threshold_weight`1741 **/1742 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1743 /**1744 * Overwrites the speed to which the available weight approaches the maximum weight.1745 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1746 * 1747 * - `origin`: Must pass `Root`.1748 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1749 **/1750 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1751 /**1752 * Overwrite the maximum amount of weight any individual message may consume.1753 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1754 * 1755 * - `origin`: Must pass `Root`.1756 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1757 **/1758 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1759 /**1760 * Generic tx1761 **/1762 [key: string]: SubmittableExtrinsicFunction<ApiType>;1763 };1764 xTokens: {1765 /**1766 * Transfer native currencies.1767 * 1768 * `dest_weight_limit` is the weight for XCM execution on the dest1769 * chain, and it would be charged from the transferred assets. If set1770 * below requirements, the execution may fail and assets wouldn't be1771 * received.1772 * 1773 * It's a no-op if any error on local XCM execution or message sending.1774 * Note sending assets out per se doesn't guarantee they would be1775 * received. Receiving depends on if the XCM message could be delivered1776 * by the network, and if the receiving chain would handle1777 * messages correctly.1778 **/1779 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]>;1780 /**1781 * Transfer `MultiAsset`.1782 * 1783 * `dest_weight_limit` is the weight for XCM execution on the dest1784 * chain, and it would be charged from the transferred assets. If set1785 * below requirements, the execution may fail and assets wouldn't be1786 * received.1787 * 1788 * It's a no-op if any error on local XCM execution or message sending.1789 * Note sending assets out per se doesn't guarantee they would be1790 * received. Receiving depends on if the XCM message could be delivered1791 * by the network, and if the receiving chain would handle1792 * messages correctly.1793 **/1794 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]>;1795 /**1796 * Transfer several `MultiAsset` specifying the item to be used as fee1797 * 1798 * `dest_weight_limit` is the weight for XCM execution on the dest1799 * chain, and it would be charged from the transferred assets. If set1800 * below requirements, the execution may fail and assets wouldn't be1801 * received.1802 * 1803 * `fee_item` is index of the MultiAssets that we want to use for1804 * payment1805 * 1806 * It's a no-op if any error on local XCM execution or message sending.1807 * Note sending assets out per se doesn't guarantee they would be1808 * received. Receiving depends on if the XCM message could be delivered1809 * by the network, and if the receiving chain would handle1810 * messages correctly.1811 **/1812 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]>;1813 /**1814 * Transfer `MultiAsset` specifying the fee and amount as separate.1815 * 1816 * `dest_weight_limit` is the weight for XCM execution on the dest1817 * chain, and it would be charged from the transferred assets. If set1818 * below requirements, the execution may fail and assets wouldn't be1819 * received.1820 * 1821 * `fee` is the multiasset to be spent to pay for execution in1822 * destination chain. Both fee and amount will be subtracted form the1823 * callers balance For now we only accept fee and asset having the same1824 * `MultiLocation` id.1825 * 1826 * If `fee` is not high enough to cover for the execution costs in the1827 * destination chain, then the assets will be trapped in the1828 * destination chain1829 * 1830 * It's a no-op if any error on local XCM execution or message sending.1831 * Note sending assets out per se doesn't guarantee they would be1832 * received. Receiving depends on if the XCM message could be delivered1833 * by the network, and if the receiving chain would handle1834 * messages correctly.1835 **/1836 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]>;1837 /**1838 * Transfer several currencies specifying the item to be used as fee1839 * 1840 * `dest_weight_limit` is the weight for XCM execution on the dest1841 * chain, and it would be charged from the transferred assets. If set1842 * below requirements, the execution may fail and assets wouldn't be1843 * received.1844 * 1845 * `fee_item` is index of the currencies tuple that we want to use for1846 * payment1847 * 1848 * It's a no-op if any error on local XCM execution or message sending.1849 * Note sending assets out per se doesn't guarantee they would be1850 * received. Receiving depends on if the XCM message could be delivered1851 * by the network, and if the receiving chain would handle1852 * messages correctly.1853 **/1854 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]>;1855 /**1856 * Transfer native currencies specifying the fee and amount as1857 * separate.1858 * 1859 * `dest_weight_limit` is the weight for XCM execution on the dest1860 * chain, and it would be charged from the transferred assets. If set1861 * below requirements, the execution may fail and assets wouldn't be1862 * received.1863 * 1864 * `fee` is the amount to be spent to pay for execution in destination1865 * chain. Both fee and amount will be subtracted form the callers1866 * balance.1867 * 1868 * If `fee` is not high enough to cover for the execution costs in the1869 * destination chain, then the assets will be trapped in the1870 * destination chain1871 * 1872 * It's a no-op if any error on local XCM execution or message sending.1873 * Note sending assets out per se doesn't guarantee they would be1874 * received. Receiving depends on if the XCM message could be delivered1875 * by the network, and if the receiving chain would handle1876 * messages correctly.1877 **/1878 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]>;1879 /**1880 * Generic tx1881 **/1882 [key: string]: SubmittableExtrinsicFunction<ApiType>;1883 };1884 } // AugmentedSubmittables1885} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-tx.ts102.8 KiBsourcehistory