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, U8aFixed, 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, EthereumTransactionTransactionV2, FrameSupportScheduleMaybeHashed, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, PalletForeignAssetsAssetIds, PalletForeignAssetsModuleAssetMetadata, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, 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 /**221 * Generic tx222 **/223 [key: string]: SubmittableExtrinsicFunction<ApiType>;224 };225 cumulusXcm: {226 /**227 * Generic tx228 **/229 [key: string]: SubmittableExtrinsicFunction<ApiType>;230 };231 dmpQueue: {232 /**233 * Service a single overweight message.234 * 235 * - `origin`: Must pass `ExecuteOverweightOrigin`.236 * - `index`: The index of the overweight message to service.237 * - `weight_limit`: The amount of weight that message execution may take.238 * 239 * Errors:240 * - `Unknown`: Message of `index` is unknown.241 * - `OverLimit`: Message execution may use greater than `weight_limit`.242 * 243 * Events:244 * - `OverweightServiced`: On success.245 **/246 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;247 /**248 * Generic tx249 **/250 [key: string]: SubmittableExtrinsicFunction<ApiType>;251 };252 ethereum: {253 /**254 * Transact an Ethereum transaction.255 **/256 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;257 /**258 * Generic tx259 **/260 [key: string]: SubmittableExtrinsicFunction<ApiType>;261 };262 evm: {263 /**264 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.265 **/266 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>]>>]>;267 /**268 * Issue an EVM create operation. This is similar to a contract creation transaction in269 * Ethereum.270 **/271 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>]>>]>;272 /**273 * Issue an EVM create2 operation.274 **/275 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>]>>]>;276 /**277 * Withdraw balance from EVM into currency/balances pallet.278 **/279 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;280 /**281 * Generic tx282 **/283 [key: string]: SubmittableExtrinsicFunction<ApiType>;284 };285 evmMigration: {286 /**287 * Start contract migration, inserts contract stub at target address,288 * and marks account as pending, allowing to insert storage289 **/290 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;291 /**292 * Finish contract migration, allows it to be called.293 * It is not possible to alter contract storage via [`Self::set_data`]294 * after this call.295 **/296 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;297 /**298 * Insert items into contract storage, this method can be called299 * multiple times300 **/301 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;302 /**303 * Generic tx304 **/305 [key: string]: SubmittableExtrinsicFunction<ApiType>;306 };307 foreignAssets: {308 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]>;309 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]>;310 /**311 * Generic tx312 **/313 [key: string]: SubmittableExtrinsicFunction<ApiType>;314 };315 inflation: {316 /**317 * This method sets the inflation start date. Can be only called once.318 * Inflation start block can be backdated and will catch up. The method will create Treasury319 * account if it does not exist and perform the first inflation deposit.320 * 321 * # Permissions322 * 323 * * Root324 * 325 * # Arguments326 * 327 * * inflation_start_relay_block: The relay chain block at which inflation should start328 **/329 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;330 /**331 * Generic tx332 **/333 [key: string]: SubmittableExtrinsicFunction<ApiType>;334 };335 parachainSystem: {336 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;337 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;338 /**339 * Set the current validation data.340 * 341 * This should be invoked exactly once per block. It will panic at the finalization342 * phase if the call was not invoked.343 * 344 * The dispatch origin for this call must be `Inherent`345 * 346 * As a side effect, this function upgrades the current validation function347 * if the appropriate time has come.348 **/349 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;350 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;351 /**352 * Generic tx353 **/354 [key: string]: SubmittableExtrinsicFunction<ApiType>;355 };356 polkadotXcm: {357 /**358 * Execute an XCM message from a local, signed, origin.359 * 360 * An event is deposited indicating whether `msg` could be executed completely or only361 * partially.362 * 363 * No more than `max_weight` will be used in its attempted execution. If this is less than the364 * maximum amount of weight that the message could take to be executed, then no execution365 * attempt will be made.366 * 367 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully368 * to completion; only that *some* of it was executed.369 **/370 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;371 /**372 * Set a safe XCM version (the version that XCM should be encoded with if the most recent373 * version a destination can accept is unknown).374 * 375 * - `origin`: Must be Root.376 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.377 **/378 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;379 /**380 * Ask a location to notify us regarding their XCM version and any changes to it.381 * 382 * - `origin`: Must be Root.383 * - `location`: The location to which we should subscribe for XCM version notifications.384 **/385 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;386 /**387 * Require that a particular destination should no longer notify us regarding any XCM388 * version changes.389 * 390 * - `origin`: Must be Root.391 * - `location`: The location to which we are currently subscribed for XCM version392 * notifications which we no longer desire.393 **/394 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;395 /**396 * Extoll that a particular destination can be communicated with through a particular397 * version of XCM.398 * 399 * - `origin`: Must be Root.400 * - `location`: The destination that is being described.401 * - `xcm_version`: The latest version of XCM that `location` supports.402 **/403 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;404 /**405 * Transfer some assets from the local chain to the sovereign account of a destination406 * chain and forward a notification XCM.407 * 408 * Fee payment on the destination side is made from the asset in the `assets` vector of409 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight410 * is needed than `weight_limit`, then the operation will fail and the assets send may be411 * at risk.412 * 413 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.414 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send415 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.416 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be417 * an `AccountId32` value.418 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the419 * `dest` side.420 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay421 * fees.422 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.423 **/424 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]>;425 /**426 * Teleport some assets from the local chain to some destination chain.427 * 428 * Fee payment on the destination side is made from the asset in the `assets` vector of429 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight430 * is needed than `weight_limit`, then the operation will fail and the assets send may be431 * at risk.432 * 433 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.434 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send435 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.436 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be437 * an `AccountId32` value.438 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the439 * `dest` side. May not be empty.440 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay441 * fees.442 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.443 **/444 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]>;445 /**446 * Transfer some assets from the local chain to the sovereign account of a destination447 * chain and forward a notification XCM.448 * 449 * Fee payment on the destination side is made from the asset in the `assets` vector of450 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,451 * with all fees taken as needed from the asset.452 * 453 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.454 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send455 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.456 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be457 * an `AccountId32` value.458 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the459 * `dest` side.460 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay461 * fees.462 **/463 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]>;464 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;465 /**466 * Teleport some assets from the local chain to some destination chain.467 * 468 * Fee payment on the destination side is made from the asset in the `assets` vector of469 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,470 * with all fees taken as needed from the asset.471 * 472 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.473 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send474 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.475 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be476 * an `AccountId32` value.477 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the478 * `dest` side. May not be empty.479 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay480 * fees.481 **/482 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]>;483 /**484 * Generic tx485 **/486 [key: string]: SubmittableExtrinsicFunction<ApiType>;487 };488 rmrkCore: {489 /**490 * Accept an NFT sent from another account to self or an owned NFT.491 * 492 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.493 * 494 * # Permissions:495 * - Token-owner-to-be496 * 497 * # Arguments:498 * - `origin`: sender of the transaction499 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.500 * - `rmrk_nft_id`: ID of the NFT to be accepted.501 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,502 * whichever the accepted NFT was sent to.503 **/504 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;505 /**506 * Accept the addition of a newly created pending resource to an existing NFT.507 * 508 * This transaction is needed when a resource is created and assigned to an NFT509 * by a non-owner, i.e. the collection issuer, with one of the510 * [`add_...` transactions](Pallet::add_basic_resource).511 * 512 * # Permissions:513 * - Token owner514 * 515 * # Arguments:516 * - `origin`: sender of the transaction517 * - `rmrk_collection_id`: RMRK collection ID of the NFT.518 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.519 * - `resource_id`: ID of the newly created pending resource.520 * accept the addition of a new resource to an existing NFT521 **/522 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;523 /**524 * Accept the removal of a removal-pending resource from an NFT.525 * 526 * This transaction is needed when a non-owner, i.e. the collection issuer,527 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.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 resource to be removed.536 * - `resource_id`: ID of the removal-pending resource.537 **/538 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;539 /**540 * Create and set/propose a basic resource for an NFT.541 * 542 * A basic resource is the simplest, lacking a Base and anything that comes with it.543 * See RMRK docs for more information and examples.544 * 545 * # Permissions:546 * - Collection issuer - if not the token owner, adding the resource will warrant547 * the owner's [acceptance](Pallet::accept_resource).548 * 549 * # Arguments:550 * - `origin`: sender of the transaction551 * - `rmrk_collection_id`: RMRK collection ID of the NFT.552 * - `nft_id`: ID of the NFT to assign a resource to.553 * - `resource`: Data of the resource to be created.554 **/555 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]>;556 /**557 * Create and set/propose a composable resource for an NFT.558 * 559 * A composable resource links to a Base and has a subset of its Parts it is composed of.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 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]>;573 /**574 * Create and set/propose a slot resource for an NFT.575 * 576 * A slot resource links to a Base and a slot ID in it which it can fit into.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 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]>;590 /**591 * Burn an NFT, destroying it and its nested tokens up to the specified limit.592 * If the burning budget is exceeded, the transaction is reverted.593 * 594 * This is the way to burn a nested token as well.595 * 596 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).597 * 598 * # Permissions:599 * * Token owner600 * 601 * # Arguments:602 * - `origin`: sender of the transaction603 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.604 * - `nft_id`: ID of the NFT to be destroyed.605 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction606 * is reverted if there are more tokens to burn in the nesting tree than this number.607 * This is primarily a mechanism of transaction weight control.608 **/609 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;610 /**611 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).612 * 613 * # Permissions:614 * * Collection issuer615 * 616 * # Arguments:617 * - `origin`: sender of the transaction618 * - `collection_id`: RMRK collection ID to change the issuer of.619 * - `new_issuer`: Collection's new issuer.620 **/621 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;622 /**623 * Create a new collection of NFTs.624 * 625 * # Permissions:626 * * Anyone - will be assigned as the issuer of the collection.627 * 628 * # Arguments:629 * - `origin`: sender of the transaction630 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.631 * - `max`: Optional maximum number of tokens.632 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.633 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.634 **/635 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;636 /**637 * Destroy a collection.638 * 639 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.640 * 641 * # Permissions:642 * * Collection issuer643 * 644 * # Arguments:645 * - `origin`: sender of the transaction646 * - `collection_id`: RMRK ID of the collection to destroy.647 **/648 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;649 /**650 * "Lock" the collection and prevent new token creation. Cannot be undone.651 * 652 * # Permissions:653 * * Collection issuer654 * 655 * # Arguments:656 * - `origin`: sender of the transaction657 * - `collection_id`: RMRK ID of the collection to lock.658 **/659 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;660 /**661 * Mint an NFT in a specified collection.662 * 663 * # Permissions:664 * * Collection issuer665 * 666 * # Arguments:667 * - `origin`: sender of the transaction668 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).669 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.670 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.671 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.672 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.673 * - `transferable`: Can this NFT be transferred? Cannot be changed.674 * - `resources`: Resource data to be added to the NFT immediately after minting.675 **/676 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>>]>;677 /**678 * Reject an NFT sent from another account to self or owned NFT.679 * The NFT in question will not be sent back and burnt instead.680 * 681 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.682 * 683 * # Permissions:684 * - Token-owner-to-be-not685 * 686 * # Arguments:687 * - `origin`: sender of the transaction688 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.689 * - `rmrk_nft_id`: ID of the NFT to be rejected.690 **/691 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;692 /**693 * Remove and erase a resource from an NFT.694 * 695 * If the sender does not own the NFT, then it will be pending confirmation,696 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.697 * 698 * # Permissions699 * - Collection issuer700 * 701 * # Arguments702 * - `origin`: sender of the transaction703 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.704 * - `nft_id`: ID of the NFT with a resource to be removed.705 * - `resource_id`: ID of the resource to be removed.706 **/707 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;708 /**709 * Transfer an NFT from an account/NFT A to another account/NFT B.710 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].711 * 712 * If the target owner is an NFT owned by another account, then the NFT will enter713 * the pending state and will have to be accepted by the other account.714 * 715 * # Permissions:716 * - Token owner717 * 718 * # Arguments:719 * - `origin`: sender of the transaction720 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.721 * - `rmrk_nft_id`: ID of the NFT to be transferred.722 * - `new_owner`: New owner of the nft which can be either an account or a NFT.723 **/724 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;725 /**726 * Set a different order of resource priorities for an NFT. Priorities can be used,727 * for example, for order of rendering.728 * 729 * Note that the priorities are not updated automatically, and are an empty vector730 * by default. There is no pre-set definition for the order to be particular,731 * it can be interpreted arbitrarily use-case by use-case.732 * 733 * # Permissions:734 * - Token owner735 * 736 * # Arguments:737 * - `origin`: sender of the transaction738 * - `rmrk_collection_id`: RMRK collection ID of the NFT.739 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.740 * - `priorities`: Ordered vector of resource IDs.741 **/742 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;743 /**744 * Add or edit a custom user property, a key-value pair, describing the metadata745 * of a token or a collection, on either one of these.746 * 747 * Note that in this proxy implementation many details regarding RMRK are stored748 * as scoped properties prefixed with "rmrk:", normally inaccessible749 * to external transactions and RPCs.750 * 751 * # Permissions:752 * - Collection issuer - in case of collection property753 * - Token owner - in case of NFT property754 * 755 * # Arguments:756 * - `origin`: sender of the transaction757 * - `rmrk_collection_id`: RMRK collection ID.758 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.759 * - `key`: Key of the custom property to be referenced by.760 * - `value`: Value of the custom property to be stored.761 **/762 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]>;763 /**764 * Generic tx765 **/766 [key: string]: SubmittableExtrinsicFunction<ApiType>;767 };768 rmrkEquip: {769 /**770 * Create a new Base.771 * 772 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)773 * 774 * # Permissions775 * - Anyone - will be assigned as the issuer of the Base.776 * 777 * # Arguments:778 * - `origin`: Caller, will be assigned as the issuer of the Base779 * - `base_type`: Arbitrary media type, e.g. "svg".780 * - `symbol`: Arbitrary client-chosen symbol.781 * - `parts`: Array of Fixed and Slot Parts composing the Base,782 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).783 **/784 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>]>;785 /**786 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.787 * 788 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).789 * 790 * # Permissions:791 * - Base issuer792 * 793 * # Arguments:794 * - `origin`: sender of the transaction795 * - `base_id`: Base containing the Slot Part to be updated.796 * - `slot_id`: Slot Part whose Equippable List is being updated .797 * - `equippables`: List of equippables that will override the current Equippables list.798 **/799 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]>;800 /**801 * Add a Theme to a Base.802 * A Theme named "default" is required prior to adding other Themes.803 * 804 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).805 * 806 * # Permissions:807 * - Base issuer808 * 809 * # Arguments:810 * - `origin`: sender of the transaction811 * - `base_id`: Base ID containing the Theme to be updated.812 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an813 * array of [key, value, inherit].814 * - `key`: Arbitrary BoundedString, defined by client.815 * - `value`: Arbitrary BoundedString, defined by client.816 * - `inherit`: Optional bool.817 **/818 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;819 /**820 * Generic tx821 **/822 [key: string]: SubmittableExtrinsicFunction<ApiType>;823 };824 scheduler: {825 /**826 * Cancel a named scheduled task.827 **/828 cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;829 /**830 * Schedule a named task.831 **/832 scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;833 /**834 * Schedule a named task after a delay.835 * 836 * # <weight>837 * Same as [`schedule_named`](Self::schedule_named).838 * # </weight>839 **/840 scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;841 /**842 * Generic tx843 **/844 [key: string]: SubmittableExtrinsicFunction<ApiType>;845 };846 structure: {847 /**848 * Generic tx849 **/850 [key: string]: SubmittableExtrinsicFunction<ApiType>;851 };852 sudo: {853 /**854 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo855 * key.856 * 857 * The dispatch origin for this call must be _Signed_.858 * 859 * # <weight>860 * - O(1).861 * - Limited storage reads.862 * - One DB change.863 * # </weight>864 **/865 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;866 /**867 * Authenticates the sudo key and dispatches a function call with `Root` origin.868 * 869 * The dispatch origin for this call must be _Signed_.870 * 871 * # <weight>872 * - O(1).873 * - Limited storage reads.874 * - One DB write (event).875 * - Weight of derivative `call` execution + 10,000.876 * # </weight>877 **/878 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;879 /**880 * Authenticates the sudo key and dispatches a function call with `Signed` origin from881 * a given account.882 * 883 * The dispatch origin for this call must be _Signed_.884 * 885 * # <weight>886 * - O(1).887 * - Limited storage reads.888 * - One DB write (event).889 * - Weight of derivative `call` execution + 10,000.890 * # </weight>891 **/892 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]>;893 /**894 * Authenticates the sudo key and dispatches a function call with `Root` origin.895 * This function does not check the weight of the call, and instead allows the896 * Sudo user to specify the weight of the call.897 * 898 * The dispatch origin for this call must be _Signed_.899 * 900 * # <weight>901 * - O(1).902 * - The weight of this call is defined by the caller.903 * # </weight>904 **/905 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;906 /**907 * Generic tx908 **/909 [key: string]: SubmittableExtrinsicFunction<ApiType>;910 };911 system: {912 /**913 * A dispatch that will fill the block weight up to the given ratio.914 **/915 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;916 /**917 * Kill all storage items with a key that starts with the given prefix.918 * 919 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under920 * the prefix we are removing to accurately calculate the weight of this function.921 **/922 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;923 /**924 * Kill some items from storage.925 **/926 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;927 /**928 * Make some on-chain remark.929 * 930 * # <weight>931 * - `O(1)`932 * # </weight>933 **/934 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;935 /**936 * Make some on-chain remark and emit event.937 **/938 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;939 /**940 * Set the new runtime code.941 * 942 * # <weight>943 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`944 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is945 * expensive).946 * - 1 storage write (codec `O(C)`).947 * - 1 digest item.948 * - 1 event.949 * The weight of this function is dependent on the runtime, but generally this is very950 * expensive. We will treat this as a full block.951 * # </weight>952 **/953 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;954 /**955 * Set the new runtime code without doing any checks of the given `code`.956 * 957 * # <weight>958 * - `O(C)` where `C` length of `code`959 * - 1 storage write (codec `O(C)`).960 * - 1 digest item.961 * - 1 event.962 * The weight of this function is dependent on the runtime. We will treat this as a full963 * block. # </weight>964 **/965 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;966 /**967 * Set the number of pages in the WebAssembly environment's heap.968 **/969 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;970 /**971 * Set some items of storage.972 **/973 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;974 /**975 * Generic tx976 **/977 [key: string]: SubmittableExtrinsicFunction<ApiType>;978 };979 timestamp: {980 /**981 * Set the current time.982 * 983 * This call should be invoked exactly once per block. It will panic at the finalization984 * phase, if this call hasn't been invoked by that time.985 * 986 * The timestamp should be greater than the previous one by the amount specified by987 * `MinimumPeriod`.988 * 989 * The dispatch origin for this call must be `Inherent`.990 * 991 * # <weight>992 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)993 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in994 * `on_finalize`)995 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.996 * # </weight>997 **/998 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;999 /**1000 * Generic tx1001 **/1002 [key: string]: SubmittableExtrinsicFunction<ApiType>;1003 };1004 tokens: {1005 /**1006 * Exactly as `transfer`, except the origin must be root and the source1007 * account may be specified.1008 * 1009 * The dispatch origin for this call must be _Root_.1010 * 1011 * - `source`: The sender of the transfer.1012 * - `dest`: The recipient of the transfer.1013 * - `currency_id`: currency type.1014 * - `amount`: free balance amount to tranfer.1015 **/1016 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>]>;1017 /**1018 * Set the balances of a given account.1019 * 1020 * This will alter `FreeBalance` and `ReservedBalance` in storage. it1021 * will also decrease the total issuance of the system1022 * (`TotalIssuance`). If the new free or reserved balance is below the1023 * existential deposit, it will reap the `AccountInfo`.1024 * 1025 * The dispatch origin for this call is `root`.1026 **/1027 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>]>;1028 /**1029 * Transfer some liquid free balance to another account.1030 * 1031 * `transfer` will set the `FreeBalance` of the sender and receiver.1032 * It will decrease the total issuance of the system by the1033 * `TransferFee`. If the sender's account is below the existential1034 * deposit as a result of the transfer, the account will be reaped.1035 * 1036 * The dispatch origin for this call must be `Signed` by the1037 * transactor.1038 * 1039 * - `dest`: The recipient of the transfer.1040 * - `currency_id`: currency type.1041 * - `amount`: free balance amount to tranfer.1042 **/1043 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>]>;1044 /**1045 * Transfer all remaining balance to the given account.1046 * 1047 * NOTE: This function only attempts to transfer _transferable_1048 * balances. This means that any locked, reserved, or existential1049 * deposits (when `keep_alive` is `true`), will not be transferred by1050 * this function. To ensure that this function results in a killed1051 * account, you might need to prepare the account by removing any1052 * reference counters, storage deposits, etc...1053 * 1054 * The dispatch origin for this call must be `Signed` by the1055 * transactor.1056 * 1057 * - `dest`: The recipient of the transfer.1058 * - `currency_id`: currency type.1059 * - `keep_alive`: A boolean to determine if the `transfer_all`1060 * operation should send all of the funds the account has, causing1061 * the sender account to be killed (false), or transfer everything1062 * except at least the existential deposit, which will guarantee to1063 * keep the sender account alive (true).1064 **/1065 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]>;1066 /**1067 * Same as the [`transfer`] call, but with a check that the transfer1068 * will not kill the origin account.1069 * 1070 * 99% of the time you want [`transfer`] instead.1071 * 1072 * The dispatch origin for this call must be `Signed` by the1073 * transactor.1074 * 1075 * - `dest`: The recipient of the transfer.1076 * - `currency_id`: currency type.1077 * - `amount`: free balance amount to tranfer.1078 **/1079 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>]>;1080 /**1081 * Generic tx1082 **/1083 [key: string]: SubmittableExtrinsicFunction<ApiType>;1084 };1085 treasury: {1086 /**1087 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary1088 * and the original deposit will be returned.1089 * 1090 * May only be called from `T::ApproveOrigin`.1091 * 1092 * # <weight>1093 * - Complexity: O(1).1094 * - DbReads: `Proposals`, `Approvals`1095 * - DbWrite: `Approvals`1096 * # </weight>1097 **/1098 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1099 /**1100 * Put forward a suggestion for spending. A deposit proportional to the value1101 * is reserved and slashed if the proposal is rejected. It is returned once the1102 * proposal is awarded.1103 * 1104 * # <weight>1105 * - Complexity: O(1)1106 * - DbReads: `ProposalCount`, `origin account`1107 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`1108 * # </weight>1109 **/1110 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]>;1111 /**1112 * Reject a proposed spend. The original deposit will be slashed.1113 * 1114 * May only be called from `T::RejectOrigin`.1115 * 1116 * # <weight>1117 * - Complexity: O(1)1118 * - DbReads: `Proposals`, `rejected proposer account`1119 * - DbWrites: `Proposals`, `rejected proposer account`1120 * # </weight>1121 **/1122 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1123 /**1124 * Force a previously approved proposal to be removed from the approval queue.1125 * The original deposit will no longer be returned.1126 * 1127 * May only be called from `T::RejectOrigin`.1128 * - `proposal_id`: The index of a proposal1129 * 1130 * # <weight>1131 * - Complexity: O(A) where `A` is the number of approvals1132 * - Db reads and writes: `Approvals`1133 * # </weight>1134 * 1135 * Errors:1136 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,1137 * i.e., the proposal has not been approved. This could also mean the proposal does not1138 * exist altogether, thus there is no way it would have been approved in the first place.1139 **/1140 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;1141 /**1142 * Propose and approve a spend of treasury funds.1143 * 1144 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.1145 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.1146 * - `beneficiary`: The destination account for the transfer.1147 * 1148 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the1149 * beneficiary.1150 **/1151 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]>;1152 /**1153 * Generic tx1154 **/1155 [key: string]: SubmittableExtrinsicFunction<ApiType>;1156 };1157 unique: {1158 /**1159 * Add an admin to a collection.1160 * 1161 * NFT Collection can be controlled by multiple admin addresses1162 * (some which can also be servers, for example). Admins can issue1163 * and burn NFTs, as well as add and remove other admins,1164 * but cannot change NFT or Collection ownership.1165 * 1166 * # Permissions1167 * 1168 * * Collection owner1169 * * Collection admin1170 * 1171 * # Arguments1172 * 1173 * * `collection_id`: ID of the Collection to add an admin for.1174 * * `new_admin`: Address of new admin to add.1175 **/1176 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1177 /**1178 * Add an address to allow list.1179 * 1180 * # Permissions1181 * 1182 * * Collection owner1183 * * Collection admin1184 * 1185 * # Arguments1186 * 1187 * * `collection_id`: ID of the modified collection.1188 * * `address`: ID of the address to be added to the allowlist.1189 **/1190 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1191 /**1192 * Allow a non-permissioned address to transfer or burn an item.1193 * 1194 * # Permissions1195 * 1196 * * Collection owner1197 * * Collection admin1198 * * Current item owner1199 * 1200 * # Arguments1201 * 1202 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.1203 * * `collection_id`: ID of the collection the item belongs to.1204 * * `item_id`: ID of the item transactions on which are now approved.1205 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1206 * Set to 0 to revoke the approval.1207 **/1208 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]>;1209 /**1210 * Destroy a token on behalf of the owner as a non-owner account.1211 * 1212 * See also: [`approve`][`Pallet::approve`].1213 * 1214 * After this method executes, one approval is removed from the total so that1215 * the approved address will not be able to transfer this item again from this owner.1216 * 1217 * # Permissions1218 * 1219 * * Collection owner1220 * * Collection admin1221 * * Current token owner1222 * * Address approved by current item owner1223 * 1224 * # Arguments1225 * 1226 * * `from`: The owner of the burning item.1227 * * `collection_id`: ID of the collection to which the item belongs.1228 * * `item_id`: ID of item to burn.1229 * * `value`: Number of pieces to burn.1230 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1231 * * Fungible Mode: The desired number of pieces to burn.1232 * * Re-Fungible Mode: The desired number of pieces to burn.1233 **/1234 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]>;1235 /**1236 * Destroy an item.1237 * 1238 * # Permissions1239 * 1240 * * Collection owner1241 * * Collection admin1242 * * Current item owner1243 * 1244 * # Arguments1245 * 1246 * * `collection_id`: ID of the collection to which the item belongs.1247 * * `item_id`: ID of item to burn.1248 * * `value`: Number of pieces of the item to destroy.1249 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1250 * * Fungible Mode: The desired number of pieces to burn.1251 * * Re-Fungible Mode: The desired number of pieces to burn.1252 **/1253 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1254 /**1255 * Change the owner of the collection.1256 * 1257 * # Permissions1258 * 1259 * * Collection owner1260 * 1261 * # Arguments1262 * 1263 * * `collection_id`: ID of the modified collection.1264 * * `new_owner`: ID of the account that will become the owner.1265 **/1266 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1267 /**1268 * Confirm own sponsorship of a collection, becoming the sponsor.1269 * 1270 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1271 * Sponsor can pay the fees of a transaction instead of the sender,1272 * but only within specified limits.1273 * 1274 * # Permissions1275 * 1276 * * Sponsor-to-be1277 * 1278 * # Arguments1279 * 1280 * * `collection_id`: ID of the collection with the pending sponsor.1281 **/1282 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1283 /**1284 * Create a collection of tokens.1285 * 1286 * Each Token may have multiple properties encoded as an array of bytes1287 * of certain length. The initial owner of the collection is set1288 * to the address that signed the transaction and can be changed later.1289 * 1290 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1291 * 1292 * # Permissions1293 * 1294 * * Anyone - becomes the owner of the new collection.1295 * 1296 * # Arguments1297 * 1298 * * `collection_name`: Wide-character string with collection name1299 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1300 * * `collection_description`: Wide-character string with collection description1301 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1302 * * `token_prefix`: Byte string containing the token prefix to mark a collection1303 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1304 * * `mode`: Type of items stored in the collection and type dependent data.1305 **/1306 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]>;1307 /**1308 * Create a collection with explicit parameters.1309 * 1310 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1311 * 1312 * # Permissions1313 * 1314 * * Anyone - becomes the owner of the new collection.1315 * 1316 * # Arguments1317 * 1318 * * `data`: Explicit data of a collection used for its creation.1319 **/1320 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]>;1321 /**1322 * Mint an item within a collection.1323 * 1324 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1325 * 1326 * # Permissions1327 * 1328 * * Collection owner1329 * * Collection admin1330 * * Anyone if1331 * * Allow List is enabled, and1332 * * Address is added to allow list, and1333 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1334 * 1335 * # Arguments1336 * 1337 * * `collection_id`: ID of the collection to which an item would belong.1338 * * `owner`: Address of the initial owner of the item.1339 * * `data`: Token data describing the item to store on chain.1340 **/1341 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]>;1342 /**1343 * Create multiple items within a collection.1344 * 1345 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1346 * 1347 * # Permissions1348 * 1349 * * Collection owner1350 * * Collection admin1351 * * Anyone if1352 * * Allow List is enabled, and1353 * * Address is added to the allow list, and1354 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1355 * 1356 * # Arguments1357 * 1358 * * `collection_id`: ID of the collection to which the tokens would belong.1359 * * `owner`: Address of the initial owner of the tokens.1360 * * `items_data`: Vector of data describing each item to be created.1361 **/1362 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>]>;1363 /**1364 * Create multiple items within a collection with explicitly specified initial parameters.1365 * 1366 * # Permissions1367 * 1368 * * Collection owner1369 * * Collection admin1370 * * Anyone if1371 * * Allow List is enabled, and1372 * * Address is added to allow list, and1373 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1374 * 1375 * # Arguments1376 * 1377 * * `collection_id`: ID of the collection to which the tokens would belong.1378 * * `data`: Explicit item creation data.1379 **/1380 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1381 /**1382 * Delete specified collection properties.1383 * 1384 * # Permissions1385 * 1386 * * Collection Owner1387 * * Collection Admin1388 * 1389 * # Arguments1390 * 1391 * * `collection_id`: ID of the modified collection.1392 * * `property_keys`: Vector of keys of the properties to be deleted.1393 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1394 **/1395 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1396 /**1397 * Delete specified token properties. Currently properties only work with NFTs.1398 * 1399 * # Permissions1400 * 1401 * * Depends on collection's token property permissions and specified property mutability:1402 * * Collection owner1403 * * Collection admin1404 * * Token owner1405 * 1406 * # Arguments1407 * 1408 * * `collection_id`: ID of the collection to which the token belongs.1409 * * `token_id`: ID of the modified token.1410 * * `property_keys`: Vector of keys of the properties to be deleted.1411 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1412 **/1413 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1414 /**1415 * Destroy a collection if no tokens exist within.1416 * 1417 * # Permissions1418 * 1419 * * Collection owner1420 * 1421 * # Arguments1422 * 1423 * * `collection_id`: Collection to destroy.1424 **/1425 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1426 /**1427 * Remove admin of a collection.1428 * 1429 * An admin address can remove itself. List of admins may become empty,1430 * in which case only Collection Owner will be able to add an Admin.1431 * 1432 * # Permissions1433 * 1434 * * Collection owner1435 * * Collection admin1436 * 1437 * # Arguments1438 * 1439 * * `collection_id`: ID of the collection to remove the admin for.1440 * * `account_id`: Address of the admin to remove.1441 **/1442 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1443 /**1444 * Remove a collection's a sponsor, making everyone pay for their own transactions.1445 * 1446 * # Permissions1447 * 1448 * * Collection owner1449 * 1450 * # Arguments1451 * 1452 * * `collection_id`: ID of the collection with the sponsor to remove.1453 **/1454 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1455 /**1456 * Remove an address from allow list.1457 * 1458 * # Permissions1459 * 1460 * * Collection owner1461 * * Collection admin1462 * 1463 * # Arguments1464 * 1465 * * `collection_id`: ID of the modified collection.1466 * * `address`: ID of the address to be removed from the allowlist.1467 **/1468 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1469 /**1470 * Re-partition a refungible token, while owning all of its parts/pieces.1471 * 1472 * # Permissions1473 * 1474 * * Token owner (must own every part)1475 * 1476 * # Arguments1477 * 1478 * * `collection_id`: ID of the collection the RFT belongs to.1479 * * `token_id`: ID of the RFT.1480 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1481 **/1482 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1483 /**1484 * Set specific limits of a collection. Empty, or None fields mean chain default.1485 * 1486 * # Permissions1487 * 1488 * * Collection owner1489 * * Collection admin1490 * 1491 * # Arguments1492 * 1493 * * `collection_id`: ID of the modified collection.1494 * * `new_limit`: New limits of the collection. Fields that are not set (None)1495 * will not overwrite the old ones.1496 **/1497 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]>;1498 /**1499 * Set specific permissions of a collection. Empty, or None fields mean chain default.1500 * 1501 * # Permissions1502 * 1503 * * Collection owner1504 * * Collection admin1505 * 1506 * # Arguments1507 * 1508 * * `collection_id`: ID of the modified collection.1509 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1510 * will not overwrite the old ones.1511 **/1512 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1513 /**1514 * Add or change collection properties.1515 * 1516 * # Permissions1517 * 1518 * * Collection owner1519 * * Collection admin1520 * 1521 * # Arguments1522 * 1523 * * `collection_id`: ID of the modified collection.1524 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1525 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1526 **/1527 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1528 /**1529 * Set (invite) a new collection sponsor.1530 * 1531 * If successful, confirmation from the sponsor-to-be will be pending.1532 * 1533 * # Permissions1534 * 1535 * * Collection owner1536 * * Collection admin1537 * 1538 * # Arguments1539 * 1540 * * `collection_id`: ID of the modified collection.1541 * * `new_sponsor`: ID of the account of the sponsor-to-be.1542 **/1543 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1544 /**1545 * Add or change token properties according to collection's permissions.1546 * Currently properties only work with NFTs.1547 * 1548 * # Permissions1549 * 1550 * * Depends on collection's token property permissions and specified property mutability:1551 * * Collection owner1552 * * Collection admin1553 * * Token owner1554 * 1555 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1556 * 1557 * # Arguments1558 * 1559 * * `collection_id: ID of the collection to which the token belongs.1560 * * `token_id`: ID of the modified token.1561 * * `properties`: Vector of key-value pairs stored as the token's metadata.1562 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1563 **/1564 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>]>;1565 /**1566 * Add or change token property permissions of a collection.1567 * 1568 * Without a permission for a particular key, a property with that key1569 * cannot be created in a token.1570 * 1571 * # Permissions1572 * 1573 * * Collection owner1574 * * Collection admin1575 * 1576 * # Arguments1577 * 1578 * * `collection_id`: ID of the modified collection.1579 * * `property_permissions`: Vector of permissions for property keys.1580 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1581 **/1582 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1583 /**1584 * Completely allow or disallow transfers for a particular collection.1585 * 1586 * # Permissions1587 * 1588 * * Collection owner1589 * 1590 * # Arguments1591 * 1592 * * `collection_id`: ID of the collection.1593 * * `value`: New value of the flag, are transfers allowed?1594 **/1595 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1596 /**1597 * Change ownership of the token.1598 * 1599 * # Permissions1600 * 1601 * * Collection owner1602 * * Collection admin1603 * * Current token owner1604 * 1605 * # Arguments1606 * 1607 * * `recipient`: Address of token recipient.1608 * * `collection_id`: ID of the collection the item belongs to.1609 * * `item_id`: ID of the item.1610 * * Non-Fungible Mode: Required.1611 * * Fungible Mode: Ignored.1612 * * Re-Fungible Mode: Required.1613 * 1614 * * `value`: Amount to transfer.1615 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1616 * * Fungible Mode: The desired number of pieces to transfer.1617 * * Re-Fungible Mode: The desired number of pieces to transfer.1618 **/1619 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]>;1620 /**1621 * Change ownership of an item on behalf of the owner as a non-owner account.1622 * 1623 * See the [`approve`][`Pallet::approve`] method for additional information.1624 * 1625 * After this method executes, one approval is removed from the total so that1626 * the approved address will not be able to transfer this item again from this owner.1627 * 1628 * # Permissions1629 * 1630 * * Collection owner1631 * * Collection admin1632 * * Current item owner1633 * * Address approved by current item owner1634 * 1635 * # Arguments1636 * 1637 * * `from`: Address that currently owns the token.1638 * * `recipient`: Address of the new token-owner-to-be.1639 * * `collection_id`: ID of the collection the item.1640 * * `item_id`: ID of the item to be transferred.1641 * * `value`: Amount to transfer.1642 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1643 * * Fungible Mode: The desired number of pieces to transfer.1644 * * Re-Fungible Mode: The desired number of pieces to transfer.1645 **/1646 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]>;1647 /**1648 * Generic tx1649 **/1650 [key: string]: SubmittableExtrinsicFunction<ApiType>;1651 };1652 vesting: {1653 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1654 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1655 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>]>;1656 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]>;1657 /**1658 * Generic tx1659 **/1660 [key: string]: SubmittableExtrinsicFunction<ApiType>;1661 };1662 xcmpQueue: {1663 /**1664 * Resumes all XCM executions for the XCMP queue.1665 * 1666 * Note that this function doesn't change the status of the in/out bound channels.1667 * 1668 * - `origin`: Must pass `ControllerOrigin`.1669 **/1670 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1671 /**1672 * Services a single overweight XCM.1673 * 1674 * - `origin`: Must pass `ExecuteOverweightOrigin`.1675 * - `index`: The index of the overweight XCM to service1676 * - `weight_limit`: The amount of weight that XCM execution may take.1677 * 1678 * Errors:1679 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1680 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1681 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1682 * 1683 * Events:1684 * - `OverweightServiced`: On success.1685 **/1686 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1687 /**1688 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1689 * 1690 * - `origin`: Must pass `ControllerOrigin`.1691 **/1692 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1693 /**1694 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1695 * messages from the channel.1696 * 1697 * - `origin`: Must pass `Root`.1698 * - `new`: Desired value for `QueueConfigData.drop_threshold`1699 **/1700 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1701 /**1702 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1703 * message sending may recommence after it has been suspended.1704 * 1705 * - `origin`: Must pass `Root`.1706 * - `new`: Desired value for `QueueConfigData.resume_threshold`1707 **/1708 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1709 /**1710 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1711 * suspend their sending.1712 * 1713 * - `origin`: Must pass `Root`.1714 * - `new`: Desired value for `QueueConfigData.suspend_value`1715 **/1716 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1717 /**1718 * Overwrites the amount of remaining weight under which we stop processing messages.1719 * 1720 * - `origin`: Must pass `Root`.1721 * - `new`: Desired value for `QueueConfigData.threshold_weight`1722 **/1723 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1724 /**1725 * Overwrites the speed to which the available weight approaches the maximum weight.1726 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1727 * 1728 * - `origin`: Must pass `Root`.1729 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1730 **/1731 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1732 /**1733 * Overwrite the maximum amount of weight any individual message may consume.1734 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1735 * 1736 * - `origin`: Must pass `Root`.1737 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1738 **/1739 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1740 /**1741 * Generic tx1742 **/1743 [key: string]: SubmittableExtrinsicFunction<ApiType>;1744 };1745 xTokens: {1746 /**1747 * Transfer native currencies.1748 * 1749 * `dest_weight` is the weight for XCM execution on the dest chain, and1750 * it would be charged from the transferred assets. If set below1751 * requirements, the execution may fail and assets wouldn't be1752 * received.1753 * 1754 * It's a no-op if any error on local XCM execution or message sending.1755 * Note sending assets out per se doesn't guarantee they would be1756 * received. Receiving depends on if the XCM message could be delivered1757 * by the network, and if the receiving chain would handle1758 * messages correctly.1759 **/1760 transfer: AugmentedSubmittable<(currencyId: PalletForeignAssetsAssetIds | { ForeignAssetId: any } | { NativeAssetId: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, XcmVersionedMultiLocation, u64]>;1761 /**1762 * Transfer `MultiAsset`.1763 * 1764 * `dest_weight` is the weight for XCM execution on the dest chain, and1765 * it would be charged from the transferred assets. If set below1766 * requirements, the execution may fail and assets wouldn't be1767 * received.1768 * 1769 * It's a no-op if any error on local XCM execution or message sending.1770 * Note sending assets out per se doesn't guarantee they would be1771 * received. Receiving depends on if the XCM message could be delivered1772 * by the network, and if the receiving chain would handle1773 * messages correctly.1774 **/1775 transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedMultiAsset | { V0: any } | { V1: any } | string | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64]>;1776 /**1777 * Transfer several `MultiAsset` specifying the item to be used as fee1778 * 1779 * `dest_weight` is the weight for XCM execution on the dest chain, and1780 * it would be charged from the transferred assets. If set below1781 * requirements, the execution may fail and assets wouldn't be1782 * received.1783 * 1784 * `fee_item` is index of the MultiAssets that we want to use for1785 * payment1786 * 1787 * It's a no-op if any error on local XCM execution or message sending.1788 * Note sending assets out per se doesn't guarantee they would be1789 * received. Receiving depends on if the XCM message could be delivered1790 * by the network, and if the receiving chain would handle1791 * messages correctly.1792 **/1793 transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedMultiAssets | { V0: any } | { V1: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAssets, u32, XcmVersionedMultiLocation, u64]>;1794 /**1795 * Transfer `MultiAsset` specifying the fee and amount as separate.1796 * 1797 * `dest_weight` is the weight for XCM execution on the dest chain, and1798 * it would be charged from the transferred assets. If set below1799 * requirements, the execution may fail and assets wouldn't be1800 * received.1801 * 1802 * `fee` is the multiasset to be spent to pay for execution in1803 * destination chain. Both fee and amount will be subtracted form the1804 * callers balance For now we only accept fee and asset having the same1805 * `MultiLocation` id.1806 * 1807 * If `fee` is not high enough to cover for the execution costs in the1808 * destination chain, then the assets will be trapped in the1809 * destination chain1810 * 1811 * It's a no-op if any error on local XCM execution or message sending.1812 * Note sending assets out per se doesn't guarantee they would be1813 * received. Receiving depends on if the XCM message could be delivered1814 * by the network, and if the receiving chain would handle1815 * messages correctly.1816 **/1817 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, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiAsset, XcmVersionedMultiAsset, XcmVersionedMultiLocation, u64]>;1818 /**1819 * Transfer several currencies specifying the item to be used as fee1820 * 1821 * `dest_weight` is the weight for XCM execution on the dest chain, and1822 * it would be charged from the transferred assets. If set below1823 * requirements, the execution may fail and assets wouldn't be1824 * received.1825 * 1826 * `fee_item` is index of the currencies tuple that we want to use for1827 * payment1828 * 1829 * It's a no-op if any error on local XCM execution or message sending.1830 * Note sending assets out per se doesn't guarantee they would be1831 * received. Receiving depends on if the XCM message could be delivered1832 * by the network, and if the receiving chain would handle1833 * messages correctly.1834 **/1835 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, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PalletForeignAssetsAssetIds, u128]>>, u32, XcmVersionedMultiLocation, u64]>;1836 /**1837 * Transfer native currencies specifying the fee and amount as1838 * separate.1839 * 1840 * `dest_weight` is the weight for XCM execution on the dest chain, and1841 * it would be charged from the transferred assets. If set below1842 * requirements, the execution may fail and assets wouldn't be1843 * received.1844 * 1845 * `fee` is the amount to be spent to pay for execution in destination1846 * chain. Both fee and amount will be subtracted form the callers1847 * balance.1848 * 1849 * If `fee` is not high enough to cover for the execution costs in the1850 * destination chain, then the assets will be trapped in the1851 * destination chain1852 * 1853 * It's a no-op if any error on local XCM execution or message sending.1854 * Note sending assets out per se doesn't guarantee they would be1855 * received. Receiving depends on if the XCM message could be delivered1856 * by the network, and if the receiving chain would handle1857 * messages correctly.1858 **/1859 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, destWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletForeignAssetsAssetIds, u128, u128, XcmVersionedMultiLocation, u64]>;1860 /**1861 * Generic tx1862 **/1863 [key: string]: SubmittableExtrinsicFunction<ApiType>;1864 };1865 } // AugmentedSubmittables1866} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-tx.ts101.4 KiBsourcehistory