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, RmrkTraitsNftAccountIdOrCollectionNftTuple, RmrkTraitsPartEquippableList, RmrkTraitsPartPartType, RmrkTraitsResourceBasicResource, RmrkTraitsResourceComposableResource, RmrkTraitsResourceResourceTypes, RmrkTraitsResourceSlotResource, RmrkTraitsTheme, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCollectionPermissions, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, XcmV1MultiLocation, XcmV2WeightLimit, 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 balances: {21 /**22 * Exactly as `transfer`, except the origin must be root and the source account may be23 * specified.24 * # <weight>25 * - Same as transfer, but additional read and write because the source account is not26 * assumed to be in the overlay.27 * # </weight>28 **/29 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>]>;30 /**31 * Unreserve some balance from a user by force.32 * 33 * Can only be called by ROOT.34 **/35 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;36 /**37 * Set the balances of a given account.38 * 39 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will40 * also alter the total issuance of the system (`TotalIssuance`) appropriately.41 * If the new free or reserved balance is below the existential deposit,42 * it will reset the account nonce (`frame_system::AccountNonce`).43 * 44 * The dispatch origin for this call is `root`.45 **/46 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>]>;47 /**48 * Transfer some liquid free balance to another account.49 * 50 * `transfer` will set the `FreeBalance` of the sender and receiver.51 * If the sender's account is below the existential deposit as a result52 * of the transfer, the account will be reaped.53 * 54 * The dispatch origin for this call must be `Signed` by the transactor.55 * 56 * # <weight>57 * - Dependent on arguments but not critical, given proper implementations for input config58 * types. See related functions below.59 * - It contains a limited number of reads and writes internally and no complex60 * computation.61 * 62 * Related functions:63 * 64 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.65 * - Transferring balances to accounts that did not exist before will cause66 * `T::OnNewAccount::on_new_account` to be called.67 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.68 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check69 * that the transfer will not kill the origin account.70 * ---------------------------------71 * - Origin account is already in memory, so no DB operations for them.72 * # </weight>73 **/74 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>]>;75 /**76 * Transfer the entire transferable balance from the caller account.77 * 78 * NOTE: This function only attempts to transfer _transferable_ balances. This means that79 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be80 * transferred by this function. To ensure that this function results in a killed account,81 * you might need to prepare the account by removing any reference counters, storage82 * deposits, etc...83 * 84 * The dispatch origin of this call must be Signed.85 * 86 * - `dest`: The recipient of the transfer.87 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all88 * of the funds the account has, causing the sender account to be killed (false), or89 * transfer everything except at least the existential deposit, which will guarantee to90 * keep the sender account alive (true). # <weight>91 * - O(1). Just like transfer, but reading the user's transferable balance first.92 * #</weight>93 **/94 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;95 /**96 * Same as the [`transfer`] call, but with a check that the transfer will not kill the97 * origin account.98 * 99 * 99% of the time you want [`transfer`] instead.100 * 101 * [`transfer`]: struct.Pallet.html#method.transfer102 **/103 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>]>;104 /**105 * Generic tx106 **/107 [key: string]: SubmittableExtrinsicFunction<ApiType>;108 };109 charging: {110 /**111 * Generic tx112 **/113 [key: string]: SubmittableExtrinsicFunction<ApiType>;114 };115 configuration: {116 setMinGasPriceOverride: AugmentedSubmittable<(coeff: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>]>;117 setWeightToFeeCoefficientOverride: AugmentedSubmittable<(coeff: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;118 /**119 * Generic tx120 **/121 [key: string]: SubmittableExtrinsicFunction<ApiType>;122 };123 cumulusXcm: {124 /**125 * Generic tx126 **/127 [key: string]: SubmittableExtrinsicFunction<ApiType>;128 };129 dmpQueue: {130 /**131 * Service a single overweight message.132 * 133 * - `origin`: Must pass `ExecuteOverweightOrigin`.134 * - `index`: The index of the overweight message to service.135 * - `weight_limit`: The amount of weight that message execution may take.136 * 137 * Errors:138 * - `Unknown`: Message of `index` is unknown.139 * - `OverLimit`: Message execution may use greater than `weight_limit`.140 * 141 * Events:142 * - `OverweightServiced`: On success.143 **/144 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;145 /**146 * Generic tx147 **/148 [key: string]: SubmittableExtrinsicFunction<ApiType>;149 };150 ethereum: {151 /**152 * Transact an Ethereum transaction.153 **/154 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;155 /**156 * Generic tx157 **/158 [key: string]: SubmittableExtrinsicFunction<ApiType>;159 };160 evm: {161 /**162 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.163 **/164 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>]>>]>;165 /**166 * Issue an EVM create operation. This is similar to a contract creation transaction in167 * Ethereum.168 **/169 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>]>>]>;170 /**171 * Issue an EVM create2 operation.172 **/173 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>]>>]>;174 /**175 * Withdraw balance from EVM into currency/balances pallet.176 **/177 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;178 /**179 * Generic tx180 **/181 [key: string]: SubmittableExtrinsicFunction<ApiType>;182 };183 evmMigration: {184 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;185 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;186 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;187 /**188 * Generic tx189 **/190 [key: string]: SubmittableExtrinsicFunction<ApiType>;191 };192 inflation: {193 /**194 * This method sets the inflation start date. Can be only called once.195 * Inflation start block can be backdated and will catch up. The method will create Treasury196 * account if it does not exist and perform the first inflation deposit.197 * 198 * # Permissions199 * 200 * * Root201 * 202 * # Arguments203 * 204 * * inflation_start_relay_block: The relay chain block at which inflation should start205 **/206 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;207 /**208 * Generic tx209 **/210 [key: string]: SubmittableExtrinsicFunction<ApiType>;211 };212 parachainSystem: {213 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;214 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;215 /**216 * Set the current validation data.217 * 218 * This should be invoked exactly once per block. It will panic at the finalization219 * phase if the call was not invoked.220 * 221 * The dispatch origin for this call must be `Inherent`222 * 223 * As a side effect, this function upgrades the current validation function224 * if the appropriate time has come.225 **/226 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;227 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;228 /**229 * Generic tx230 **/231 [key: string]: SubmittableExtrinsicFunction<ApiType>;232 };233 polkadotXcm: {234 /**235 * Execute an XCM message from a local, signed, origin.236 * 237 * An event is deposited indicating whether `msg` could be executed completely or only238 * partially.239 * 240 * No more than `max_weight` will be used in its attempted execution. If this is less than the241 * maximum amount of weight that the message could take to be executed, then no execution242 * attempt will be made.243 * 244 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully245 * to completion; only that *some* of it was executed.246 **/247 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;248 /**249 * Set a safe XCM version (the version that XCM should be encoded with if the most recent250 * version a destination can accept is unknown).251 * 252 * - `origin`: Must be Root.253 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.254 **/255 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;256 /**257 * Ask a location to notify us regarding their XCM version and any changes to it.258 * 259 * - `origin`: Must be Root.260 * - `location`: The location to which we should subscribe for XCM version notifications.261 **/262 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;263 /**264 * Require that a particular destination should no longer notify us regarding any XCM265 * version changes.266 * 267 * - `origin`: Must be Root.268 * - `location`: The location to which we are currently subscribed for XCM version269 * notifications which we no longer desire.270 **/271 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;272 /**273 * Extoll that a particular destination can be communicated with through a particular274 * version of XCM.275 * 276 * - `origin`: Must be Root.277 * - `location`: The destination that is being described.278 * - `xcm_version`: The latest version of XCM that `location` supports.279 **/280 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;281 /**282 * Transfer some assets from the local chain to the sovereign account of a destination283 * chain and forward a notification XCM.284 * 285 * Fee payment on the destination side is made from the asset in the `assets` vector of286 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight287 * is needed than `weight_limit`, then the operation will fail and the assets send may be288 * at risk.289 * 290 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.291 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send292 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.293 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be294 * an `AccountId32` value.295 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the296 * `dest` side.297 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay298 * fees.299 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.300 **/301 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]>;302 /**303 * Teleport some assets from the local chain to some destination chain.304 * 305 * Fee payment on the destination side is made from the asset in the `assets` vector of306 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight307 * is needed than `weight_limit`, then the operation will fail and the assets send may be308 * at risk.309 * 310 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.311 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send312 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.313 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be314 * an `AccountId32` value.315 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the316 * `dest` side. May not be empty.317 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay318 * fees.319 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.320 **/321 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]>;322 /**323 * Transfer some assets from the local chain to the sovereign account of a destination324 * chain and forward a notification XCM.325 * 326 * Fee payment on the destination side is made from the asset in the `assets` vector of327 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,328 * with all fees taken as needed from the asset.329 * 330 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.331 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send332 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.333 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be334 * an `AccountId32` value.335 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the336 * `dest` side.337 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay338 * fees.339 **/340 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]>;341 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;342 /**343 * Teleport some assets from the local chain to some destination chain.344 * 345 * Fee payment on the destination side is made from the asset in the `assets` vector of346 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,347 * with all fees taken as needed from the asset.348 * 349 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.350 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send351 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.352 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be353 * an `AccountId32` value.354 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the355 * `dest` side. May not be empty.356 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay357 * fees.358 **/359 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]>;360 /**361 * Generic tx362 **/363 [key: string]: SubmittableExtrinsicFunction<ApiType>;364 };365 rmrkCore: {366 /**367 * Accept an NFT sent from another account to self or an owned NFT.368 * 369 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.370 * 371 * # Permissions:372 * - Token-owner-to-be373 * 374 * # Arguments:375 * - `origin`: sender of the transaction376 * - `rmrk_collection_id`: RMRK collection ID of the NFT to be accepted.377 * - `rmrk_nft_id`: ID of the NFT to be accepted.378 * - `new_owner`: Either the sender's account ID or a sender-owned NFT,379 * whichever the accepted NFT was sent to.380 **/381 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;382 /**383 * Accept the addition of a newly created pending resource to an existing NFT.384 * 385 * This transaction is needed when a resource is created and assigned to an NFT386 * by a non-owner, i.e. the collection issuer, with one of the387 * [`add_...` transactions](Pallet::add_basic_resource).388 * 389 * # Permissions:390 * - Token owner391 * 392 * # Arguments:393 * - `origin`: sender of the transaction394 * - `rmrk_collection_id`: RMRK collection ID of the NFT.395 * - `rmrk_nft_id`: ID of the NFT with a pending resource to be accepted.396 * - `resource_id`: ID of the newly created pending resource.397 * accept the addition of a new resource to an existing NFT398 **/399 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;400 /**401 * Accept the removal of a removal-pending resource from an NFT.402 * 403 * This transaction is needed when a non-owner, i.e. the collection issuer,404 * requests a [removal](`Pallet::remove_resource`) of a resource from an NFT.405 * 406 * # Permissions:407 * - Token owner408 * 409 * # Arguments:410 * - `origin`: sender of the transaction411 * - `rmrk_collection_id`: RMRK collection ID of the NFT.412 * - `rmrk_nft_id`: ID of the NFT with a resource to be removed.413 * - `resource_id`: ID of the removal-pending resource.414 **/415 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;416 /**417 * Create and set/propose a basic resource for an NFT.418 * 419 * A basic resource is the simplest, lacking a Base and anything that comes with it.420 * See RMRK docs for more information and examples.421 * 422 * # Permissions:423 * - Collection issuer - if not the token owner, adding the resource will warrant424 * the owner's [acceptance](Pallet::accept_resource).425 * 426 * # Arguments:427 * - `origin`: sender of the transaction428 * - `rmrk_collection_id`: RMRK collection ID of the NFT.429 * - `nft_id`: ID of the NFT to assign a resource to.430 * - `resource`: Data of the resource to be created.431 **/432 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]>;433 /**434 * Create and set/propose a composable resource for an NFT.435 * 436 * A composable resource links to a Base and has a subset of its Parts it is composed of.437 * See RMRK docs for more information and examples.438 * 439 * # Permissions:440 * - Collection issuer - if not the token owner, adding the resource will warrant441 * the owner's [acceptance](Pallet::accept_resource).442 * 443 * # Arguments:444 * - `origin`: sender of the transaction445 * - `rmrk_collection_id`: RMRK collection ID of the NFT.446 * - `nft_id`: ID of the NFT to assign a resource to.447 * - `resource`: Data of the resource to be created.448 **/449 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]>;450 /**451 * Create and set/propose a slot resource for an NFT.452 * 453 * A slot resource links to a Base and a slot ID in it which it can fit into.454 * See RMRK docs for more information and examples.455 * 456 * # Permissions:457 * - Collection issuer - if not the token owner, adding the resource will warrant458 * the owner's [acceptance](Pallet::accept_resource).459 * 460 * # Arguments:461 * - `origin`: sender of the transaction462 * - `rmrk_collection_id`: RMRK collection ID of the NFT.463 * - `nft_id`: ID of the NFT to assign a resource to.464 * - `resource`: Data of the resource to be created.465 **/466 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]>;467 /**468 * Burn an NFT, destroying it and its nested tokens up to the specified limit.469 * If the burning budget is exceeded, the transaction is reverted.470 * 471 * This is the way to burn a nested token as well.472 * 473 * For more information, see [`burn_recursively`](pallet_nonfungible::pallet::Pallet::burn_recursively).474 * 475 * # Permissions:476 * * Token owner477 * 478 * # Arguments:479 * - `origin`: sender of the transaction480 * - `collection_id`: RMRK ID of the collection in which the NFT to burn belongs to.481 * - `nft_id`: ID of the NFT to be destroyed.482 * - `max_burns`: Maximum number of tokens to burn, assuming nesting. The transaction483 * is reverted if there are more tokens to burn in the nesting tree than this number.484 * This is primarily a mechanism of transaction weight control.485 **/486 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;487 /**488 * Change the issuer of a collection. Analogous to Unique's collection's [`owner`](up_data_structs::Collection).489 * 490 * # Permissions:491 * * Collection issuer492 * 493 * # Arguments:494 * - `origin`: sender of the transaction495 * - `collection_id`: RMRK collection ID to change the issuer of.496 * - `new_issuer`: Collection's new issuer.497 **/498 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;499 /**500 * Create a new collection of NFTs.501 * 502 * # Permissions:503 * * Anyone - will be assigned as the issuer of the collection.504 * 505 * # Arguments:506 * - `origin`: sender of the transaction507 * - `metadata`: Metadata describing the collection, e.g. IPFS hash. Cannot be changed.508 * - `max`: Optional maximum number of tokens.509 * - `symbol`: UTF-8 string with token prefix, by which to represent the token in wallets and UIs.510 * Analogous to Unique's [`token_prefix`](up_data_structs::Collection). Cannot be changed.511 **/512 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | Uint8Array | u32 | AnyNumber, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;513 /**514 * Destroy a collection.515 * 516 * Only empty collections can be destroyed. If it has any tokens, they must be burned first.517 * 518 * # Permissions:519 * * Collection issuer520 * 521 * # Arguments:522 * - `origin`: sender of the transaction523 * - `collection_id`: RMRK ID of the collection to destroy.524 **/525 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;526 /**527 * "Lock" the collection and prevent new token creation. Cannot be undone.528 * 529 * # Permissions:530 * * Collection issuer531 * 532 * # Arguments:533 * - `origin`: sender of the transaction534 * - `collection_id`: RMRK ID of the collection to lock.535 **/536 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;537 /**538 * Mint an NFT in a specified collection.539 * 540 * # Permissions:541 * * Collection issuer542 * 543 * # Arguments:544 * - `origin`: sender of the transaction545 * - `owner`: Owner account of the NFT. If set to None, defaults to the sender (collection issuer).546 * - `collection_id`: RMRK collection ID for the NFT to be minted within. Cannot be changed.547 * - `recipient`: Receiver account of the royalty. Has no effect if the `royalty_amount` is not set. Cannot be changed.548 * - `royalty_amount`: Optional permillage reward from each trade for the `recipient`. Cannot be changed.549 * - `metadata`: Arbitrary data about an NFT, e.g. IPFS hash. Cannot be changed.550 * - `transferable`: Can this NFT be transferred? Cannot be changed.551 * - `resources`: Resource data to be added to the NFT immediately after minting.552 **/553 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>>]>;554 /**555 * Reject an NFT sent from another account to self or owned NFT.556 * The NFT in question will not be sent back and burnt instead.557 * 558 * The NFT in question must be pending, and, thus, be [sent](`Pallet::send`) first.559 * 560 * # Permissions:561 * - Token-owner-to-be-not562 * 563 * # Arguments:564 * - `origin`: sender of the transaction565 * - `rmrk_collection_id`: RMRK ID of the NFT to be rejected.566 * - `rmrk_nft_id`: ID of the NFT to be rejected.567 **/568 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;569 /**570 * Remove and erase a resource from an NFT.571 * 572 * If the sender does not own the NFT, then it will be pending confirmation,573 * and will have to be [accepted](Pallet::accept_resource_removal) by the token owner.574 * 575 * # Permissions576 * - Collection issuer577 * 578 * # Arguments579 * - `origin`: sender of the transaction580 * - `rmrk_collection_id`: RMRK ID of a collection to which the NFT making use of the resource belongs to.581 * - `nft_id`: ID of the NFT with a resource to be removed.582 * - `resource_id`: ID of the resource to be removed.583 **/584 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;585 /**586 * Transfer an NFT from an account/NFT A to another account/NFT B.587 * The token must be transferable. Nesting cannot occur deeper than the [`NESTING_BUDGET`].588 * 589 * If the target owner is an NFT owned by another account, then the NFT will enter590 * the pending state and will have to be accepted by the other account.591 * 592 * # Permissions:593 * - Token owner594 * 595 * # Arguments:596 * - `origin`: sender of the transaction597 * - `rmrk_collection_id`: RMRK ID of the collection of the NFT to be transferred.598 * - `rmrk_nft_id`: ID of the NFT to be transferred.599 * - `new_owner`: New owner of the nft which can be either an account or a NFT.600 **/601 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;602 /**603 * Set a different order of resource priorities for an NFT. Priorities can be used,604 * for example, for order of rendering.605 * 606 * Note that the priorities are not updated automatically, and are an empty vector607 * by default. There is no pre-set definition for the order to be particular,608 * it can be interpreted arbitrarily use-case by use-case.609 * 610 * # Permissions:611 * - Token owner612 * 613 * # Arguments:614 * - `origin`: sender of the transaction615 * - `rmrk_collection_id`: RMRK collection ID of the NFT.616 * - `rmrk_nft_id`: ID of the NFT to rearrange resource priorities for.617 * - `priorities`: Ordered vector of resource IDs.618 **/619 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;620 /**621 * Add or edit a custom user property, a key-value pair, describing the metadata622 * of a token or a collection, on either one of these.623 * 624 * Note that in this proxy implementation many details regarding RMRK are stored625 * as scoped properties prefixed with "rmrk:", normally inaccessible626 * to external transactions and RPCs.627 * 628 * # Permissions:629 * - Collection issuer - in case of collection property630 * - Token owner - in case of NFT property631 * 632 * # Arguments:633 * - `origin`: sender of the transaction634 * - `rmrk_collection_id`: RMRK collection ID.635 * - `maybe_nft_id`: Optional ID of the NFT. If left empty, then the property is set for the collection.636 * - `key`: Key of the custom property to be referenced by.637 * - `value`: Value of the custom property to be stored.638 **/639 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]>;640 /**641 * Generic tx642 **/643 [key: string]: SubmittableExtrinsicFunction<ApiType>;644 };645 rmrkEquip: {646 /**647 * Create a new Base.648 * 649 * Modeled after the [Base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)650 * 651 * # Permissions652 * - Anyone - will be assigned as the issuer of the Base.653 * 654 * # Arguments:655 * - `origin`: Caller, will be assigned as the issuer of the Base656 * - `base_type`: Arbitrary media type, e.g. "svg".657 * - `symbol`: Arbitrary client-chosen symbol.658 * - `parts`: Array of Fixed and Slot Parts composing the Base,659 * confined in length by [`RmrkPartsLimit`](up_data_structs::RmrkPartsLimit).660 **/661 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>]>;662 /**663 * Update the array of Collections allowed to be equipped to a Base's specified Slot Part.664 * 665 * Modeled after [equippable interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/equippable.md).666 * 667 * # Permissions:668 * - Base issuer669 * 670 * # Arguments:671 * - `origin`: sender of the transaction672 * - `base_id`: Base containing the Slot Part to be updated.673 * - `slot_id`: Slot Part whose Equippable List is being updated .674 * - `equippables`: List of equippables that will override the current Equippables list.675 **/676 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]>;677 /**678 * Add a Theme to a Base.679 * A Theme named "default" is required prior to adding other Themes.680 * 681 * Modeled after [Themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md).682 * 683 * # Permissions:684 * - Base issuer685 * 686 * # Arguments:687 * - `origin`: sender of the transaction688 * - `base_id`: Base ID containing the Theme to be updated.689 * - `theme`: Theme to add to the Base. A Theme has a name and properties, which are an690 * array of [key, value, inherit].691 * - `key`: Arbitrary BoundedString, defined by client.692 * - `value`: Arbitrary BoundedString, defined by client.693 * - `inherit`: Optional bool.694 **/695 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;696 /**697 * Generic tx698 **/699 [key: string]: SubmittableExtrinsicFunction<ApiType>;700 };701 scheduler: {702 /**703 * Cancel a named scheduled task.704 **/705 cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;706 /**707 * Schedule a named task.708 **/709 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]>;710 /**711 * Schedule a named task after a delay.712 * 713 * # <weight>714 * Same as [`schedule_named`](Self::schedule_named).715 * # </weight>716 **/717 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]>;718 /**719 * Generic tx720 **/721 [key: string]: SubmittableExtrinsicFunction<ApiType>;722 };723 structure: {724 /**725 * Generic tx726 **/727 [key: string]: SubmittableExtrinsicFunction<ApiType>;728 };729 sudo: {730 /**731 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo732 * key.733 * 734 * The dispatch origin for this call must be _Signed_.735 * 736 * # <weight>737 * - O(1).738 * - Limited storage reads.739 * - One DB change.740 * # </weight>741 **/742 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;743 /**744 * Authenticates the sudo key and dispatches a function call with `Root` origin.745 * 746 * The dispatch origin for this call must be _Signed_.747 * 748 * # <weight>749 * - O(1).750 * - Limited storage reads.751 * - One DB write (event).752 * - Weight of derivative `call` execution + 10,000.753 * # </weight>754 **/755 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;756 /**757 * Authenticates the sudo key and dispatches a function call with `Signed` origin from758 * a given account.759 * 760 * The dispatch origin for this call must be _Signed_.761 * 762 * # <weight>763 * - O(1).764 * - Limited storage reads.765 * - One DB write (event).766 * - Weight of derivative `call` execution + 10,000.767 * # </weight>768 **/769 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]>;770 /**771 * Authenticates the sudo key and dispatches a function call with `Root` origin.772 * This function does not check the weight of the call, and instead allows the773 * Sudo user to specify the weight of the call.774 * 775 * The dispatch origin for this call must be _Signed_.776 * 777 * # <weight>778 * - O(1).779 * - The weight of this call is defined by the caller.780 * # </weight>781 **/782 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;783 /**784 * Generic tx785 **/786 [key: string]: SubmittableExtrinsicFunction<ApiType>;787 };788 system: {789 /**790 * A dispatch that will fill the block weight up to the given ratio.791 **/792 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;793 /**794 * Kill all storage items with a key that starts with the given prefix.795 * 796 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under797 * the prefix we are removing to accurately calculate the weight of this function.798 **/799 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;800 /**801 * Kill some items from storage.802 **/803 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;804 /**805 * Make some on-chain remark.806 * 807 * # <weight>808 * - `O(1)`809 * # </weight>810 **/811 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;812 /**813 * Make some on-chain remark and emit event.814 **/815 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;816 /**817 * Set the new runtime code.818 * 819 * # <weight>820 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`821 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is822 * expensive).823 * - 1 storage write (codec `O(C)`).824 * - 1 digest item.825 * - 1 event.826 * The weight of this function is dependent on the runtime, but generally this is very827 * expensive. We will treat this as a full block.828 * # </weight>829 **/830 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;831 /**832 * Set the new runtime code without doing any checks of the given `code`.833 * 834 * # <weight>835 * - `O(C)` where `C` length of `code`836 * - 1 storage write (codec `O(C)`).837 * - 1 digest item.838 * - 1 event.839 * The weight of this function is dependent on the runtime. We will treat this as a full840 * block. # </weight>841 **/842 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;843 /**844 * Set the number of pages in the WebAssembly environment's heap.845 **/846 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;847 /**848 * Set some items of storage.849 **/850 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;851 /**852 * Generic tx853 **/854 [key: string]: SubmittableExtrinsicFunction<ApiType>;855 };856 timestamp: {857 /**858 * Set the current time.859 * 860 * This call should be invoked exactly once per block. It will panic at the finalization861 * phase, if this call hasn't been invoked by that time.862 * 863 * The timestamp should be greater than the previous one by the amount specified by864 * `MinimumPeriod`.865 * 866 * The dispatch origin for this call must be `Inherent`.867 * 868 * # <weight>869 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)870 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in871 * `on_finalize`)872 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.873 * # </weight>874 **/875 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;876 /**877 * Generic tx878 **/879 [key: string]: SubmittableExtrinsicFunction<ApiType>;880 };881 treasury: {882 /**883 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary884 * and the original deposit will be returned.885 * 886 * May only be called from `T::ApproveOrigin`.887 * 888 * # <weight>889 * - Complexity: O(1).890 * - DbReads: `Proposals`, `Approvals`891 * - DbWrite: `Approvals`892 * # </weight>893 **/894 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;895 /**896 * Put forward a suggestion for spending. A deposit proportional to the value897 * is reserved and slashed if the proposal is rejected. It is returned once the898 * proposal is awarded.899 * 900 * # <weight>901 * - Complexity: O(1)902 * - DbReads: `ProposalCount`, `origin account`903 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`904 * # </weight>905 **/906 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]>;907 /**908 * Reject a proposed spend. The original deposit will be slashed.909 * 910 * May only be called from `T::RejectOrigin`.911 * 912 * # <weight>913 * - Complexity: O(1)914 * - DbReads: `Proposals`, `rejected proposer account`915 * - DbWrites: `Proposals`, `rejected proposer account`916 * # </weight>917 **/918 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;919 /**920 * Force a previously approved proposal to be removed from the approval queue.921 * The original deposit will no longer be returned.922 * 923 * May only be called from `T::RejectOrigin`.924 * - `proposal_id`: The index of a proposal925 * 926 * # <weight>927 * - Complexity: O(A) where `A` is the number of approvals928 * - Db reads and writes: `Approvals`929 * # </weight>930 * 931 * Errors:932 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,933 * i.e., the proposal has not been approved. This could also mean the proposal does not934 * exist altogether, thus there is no way it would have been approved in the first place.935 **/936 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;937 /**938 * Propose and approve a spend of treasury funds.939 * 940 * - `origin`: Must be `SpendOrigin` with the `Success` value being at least `amount`.941 * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.942 * - `beneficiary`: The destination account for the transfer.943 * 944 * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the945 * beneficiary.946 **/947 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]>;948 /**949 * Generic tx950 **/951 [key: string]: SubmittableExtrinsicFunction<ApiType>;952 };953 unique: {954 /**955 * Add an admin to a collection.956 * 957 * NFT Collection can be controlled by multiple admin addresses958 * (some which can also be servers, for example). Admins can issue959 * and burn NFTs, as well as add and remove other admins,960 * but cannot change NFT or Collection ownership.961 * 962 * # Permissions963 * 964 * * Collection owner965 * * Collection admin966 * 967 * # Arguments968 * 969 * * `collection_id`: ID of the Collection to add an admin for.970 * * `new_admin`: Address of new admin to add.971 **/972 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;973 /**974 * Add an address to allow list.975 * 976 * # Permissions977 * 978 * * Collection owner979 * * Collection admin980 * 981 * # Arguments982 * 983 * * `collection_id`: ID of the modified collection.984 * * `address`: ID of the address to be added to the allowlist.985 **/986 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;987 /**988 * Allow a non-permissioned address to transfer or burn an item.989 * 990 * # Permissions991 * 992 * * Collection owner993 * * Collection admin994 * * Current item owner995 * 996 * # Arguments997 * 998 * * `spender`: Account to be approved to make specific transactions on non-owned tokens.999 * * `collection_id`: ID of the collection the item belongs to.1000 * * `item_id`: ID of the item transactions on which are now approved.1001 * * `amount`: Number of pieces of the item approved for a transaction (maximum of 1 for NFTs).1002 * Set to 0 to revoke the approval.1003 **/1004 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]>;1005 /**1006 * Destroy a token on behalf of the owner as a non-owner account.1007 * 1008 * See also: [`approve`][`Pallet::approve`].1009 * 1010 * After this method executes, one approval is removed from the total so that1011 * the approved address will not be able to transfer this item again from this owner.1012 * 1013 * # Permissions1014 * 1015 * * Collection owner1016 * * Collection admin1017 * * Current token owner1018 * * Address approved by current item owner1019 * 1020 * # Arguments1021 * 1022 * * `from`: The owner of the burning item.1023 * * `collection_id`: ID of the collection to which the item belongs.1024 * * `item_id`: ID of item to burn.1025 * * `value`: Number of pieces to burn.1026 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1027 * * Fungible Mode: The desired number of pieces to burn.1028 * * Re-Fungible Mode: The desired number of pieces to burn.1029 **/1030 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]>;1031 /**1032 * Destroy an item.1033 * 1034 * # Permissions1035 * 1036 * * Collection owner1037 * * Collection admin1038 * * Current item owner1039 * 1040 * # Arguments1041 * 1042 * * `collection_id`: ID of the collection to which the item belongs.1043 * * `item_id`: ID of item to burn.1044 * * `value`: Number of pieces of the item to destroy.1045 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1046 * * Fungible Mode: The desired number of pieces to burn.1047 * * Re-Fungible Mode: The desired number of pieces to burn.1048 **/1049 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1050 /**1051 * Change the owner of the collection.1052 * 1053 * # Permissions1054 * 1055 * * Collection owner1056 * 1057 * # Arguments1058 * 1059 * * `collection_id`: ID of the modified collection.1060 * * `new_owner`: ID of the account that will become the owner.1061 **/1062 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1063 /**1064 * Confirm own sponsorship of a collection, becoming the sponsor.1065 * 1066 * An invitation must be pending, see [`set_collection_sponsor`][`Pallet::set_collection_sponsor`].1067 * Sponsor can pay the fees of a transaction instead of the sender,1068 * but only within specified limits.1069 * 1070 * # Permissions1071 * 1072 * * Sponsor-to-be1073 * 1074 * # Arguments1075 * 1076 * * `collection_id`: ID of the collection with the pending sponsor.1077 **/1078 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1079 /**1080 * Create a collection of tokens.1081 * 1082 * Each Token may have multiple properties encoded as an array of bytes1083 * of certain length. The initial owner of the collection is set1084 * to the address that signed the transaction and can be changed later.1085 * 1086 * Prefer the more advanced [`create_collection_ex`][`Pallet::create_collection_ex`] instead.1087 * 1088 * # Permissions1089 * 1090 * * Anyone - becomes the owner of the new collection.1091 * 1092 * # Arguments1093 * 1094 * * `collection_name`: Wide-character string with collection name1095 * (limit [`MAX_COLLECTION_NAME_LENGTH`]).1096 * * `collection_description`: Wide-character string with collection description1097 * (limit [`MAX_COLLECTION_DESCRIPTION_LENGTH`]).1098 * * `token_prefix`: Byte string containing the token prefix to mark a collection1099 * to which a token belongs (limit [`MAX_TOKEN_PREFIX_LENGTH`]).1100 * * `mode`: Type of items stored in the collection and type dependent data.1101 **/1102 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]>;1103 /**1104 * Create a collection with explicit parameters.1105 * 1106 * Prefer it to the deprecated [`create_collection`][`Pallet::create_collection`] method.1107 * 1108 * # Permissions1109 * 1110 * * Anyone - becomes the owner of the new collection.1111 * 1112 * # Arguments1113 * 1114 * * `data`: Explicit data of a collection used for its creation.1115 **/1116 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]>;1117 /**1118 * Mint an item within a collection.1119 * 1120 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1121 * 1122 * # Permissions1123 * 1124 * * Collection owner1125 * * Collection admin1126 * * Anyone if1127 * * Allow List is enabled, and1128 * * Address is added to allow list, and1129 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1130 * 1131 * # Arguments1132 * 1133 * * `collection_id`: ID of the collection to which an item would belong.1134 * * `owner`: Address of the initial owner of the item.1135 * * `data`: Token data describing the item to store on chain.1136 **/1137 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]>;1138 /**1139 * Create multiple items within a collection.1140 * 1141 * A collection must exist first, see [`create_collection_ex`][`Pallet::create_collection_ex`].1142 * 1143 * # Permissions1144 * 1145 * * Collection owner1146 * * Collection admin1147 * * Anyone if1148 * * Allow List is enabled, and1149 * * Address is added to the allow list, and1150 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1151 * 1152 * # Arguments1153 * 1154 * * `collection_id`: ID of the collection to which the tokens would belong.1155 * * `owner`: Address of the initial owner of the tokens.1156 * * `items_data`: Vector of data describing each item to be created.1157 **/1158 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>]>;1159 /**1160 * Create multiple items within a collection with explicitly specified initial parameters.1161 * 1162 * # Permissions1163 * 1164 * * Collection owner1165 * * Collection admin1166 * * Anyone if1167 * * Allow List is enabled, and1168 * * Address is added to allow list, and1169 * * MintPermission is enabled (see [`set_collection_permissions`][`Pallet::set_collection_permissions`])1170 * 1171 * # Arguments1172 * 1173 * * `collection_id`: ID of the collection to which the tokens would belong.1174 * * `data`: Explicit item creation data.1175 **/1176 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;1177 /**1178 * Delete specified collection properties.1179 * 1180 * # Permissions1181 * 1182 * * Collection Owner1183 * * Collection Admin1184 * 1185 * # Arguments1186 * 1187 * * `collection_id`: ID of the modified collection.1188 * * `property_keys`: Vector of keys of the properties to be deleted.1189 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1190 **/1191 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;1192 /**1193 * Delete specified token properties. Currently properties only work with NFTs.1194 * 1195 * # Permissions1196 * 1197 * * Depends on collection's token property permissions and specified property mutability:1198 * * Collection owner1199 * * Collection admin1200 * * Token owner1201 * 1202 * # Arguments1203 * 1204 * * `collection_id`: ID of the collection to which the token belongs.1205 * * `token_id`: ID of the modified token.1206 * * `property_keys`: Vector of keys of the properties to be deleted.1207 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1208 **/1209 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;1210 /**1211 * Destroy a collection if no tokens exist within.1212 * 1213 * # Permissions1214 * 1215 * * Collection owner1216 * 1217 * # Arguments1218 * 1219 * * `collection_id`: Collection to destroy.1220 **/1221 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1222 /**1223 * Remove admin of a collection.1224 * 1225 * An admin address can remove itself. List of admins may become empty,1226 * in which case only Collection Owner will be able to add an Admin.1227 * 1228 * # Permissions1229 * 1230 * * Collection owner1231 * * Collection admin1232 * 1233 * # Arguments1234 * 1235 * * `collection_id`: ID of the collection to remove the admin for.1236 * * `account_id`: Address of the admin to remove.1237 **/1238 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1239 /**1240 * Remove a collection's a sponsor, making everyone pay for their own transactions.1241 * 1242 * # Permissions1243 * 1244 * * Collection owner1245 * 1246 * # Arguments1247 * 1248 * * `collection_id`: ID of the collection with the sponsor to remove.1249 **/1250 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1251 /**1252 * Remove an address from allow list.1253 * 1254 * # Permissions1255 * 1256 * * Collection owner1257 * * Collection admin1258 * 1259 * # Arguments1260 * 1261 * * `collection_id`: ID of the modified collection.1262 * * `address`: ID of the address to be removed from the allowlist.1263 **/1264 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1265 /**1266 * Re-partition a refungible token, while owning all of its parts/pieces.1267 * 1268 * # Permissions1269 * 1270 * * Token owner (must own every part)1271 * 1272 * # Arguments1273 * 1274 * * `collection_id`: ID of the collection the RFT belongs to.1275 * * `token_id`: ID of the RFT.1276 * * `amount`: New number of parts/pieces into which the token shall be partitioned.1277 **/1278 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1279 /**1280 * Set specific limits of a collection. Empty, or None fields mean chain default.1281 * 1282 * # Permissions1283 * 1284 * * Collection owner1285 * * Collection admin1286 * 1287 * # Arguments1288 * 1289 * * `collection_id`: ID of the modified collection.1290 * * `new_limit`: New limits of the collection. Fields that are not set (None)1291 * will not overwrite the old ones.1292 **/1293 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]>;1294 /**1295 * Set specific permissions of a collection. Empty, or None fields mean chain default.1296 * 1297 * # Permissions1298 * 1299 * * Collection owner1300 * * Collection admin1301 * 1302 * # Arguments1303 * 1304 * * `collection_id`: ID of the modified collection.1305 * * `new_permission`: New permissions of the collection. Fields that are not set (None)1306 * will not overwrite the old ones.1307 **/1308 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1309 /**1310 * Add or change collection properties.1311 * 1312 * # Permissions1313 * 1314 * * Collection owner1315 * * Collection admin1316 * 1317 * # Arguments1318 * 1319 * * `collection_id`: ID of the modified collection.1320 * * `properties`: Vector of key-value pairs stored as the collection's metadata.1321 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1322 **/1323 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1324 /**1325 * Set (invite) a new collection sponsor.1326 * 1327 * If successful, confirmation from the sponsor-to-be will be pending.1328 * 1329 * # Permissions1330 * 1331 * * Collection owner1332 * * Collection admin1333 * 1334 * # Arguments1335 * 1336 * * `collection_id`: ID of the modified collection.1337 * * `new_sponsor`: ID of the account of the sponsor-to-be.1338 **/1339 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1340 /**1341 * Add or change token properties according to collection's permissions.1342 * Currently properties only work with NFTs.1343 * 1344 * # Permissions1345 * 1346 * * Depends on collection's token property permissions and specified property mutability:1347 * * Collection owner1348 * * Collection admin1349 * * Token owner1350 * 1351 * See [`set_token_property_permissions`][`Pallet::set_token_property_permissions`].1352 * 1353 * # Arguments1354 * 1355 * * `collection_id: ID of the collection to which the token belongs.1356 * * `token_id`: ID of the modified token.1357 * * `properties`: Vector of key-value pairs stored as the token's metadata.1358 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1359 **/1360 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>]>;1361 /**1362 * Add or change token property permissions of a collection.1363 * 1364 * Without a permission for a particular key, a property with that key1365 * cannot be created in a token.1366 * 1367 * # Permissions1368 * 1369 * * Collection owner1370 * * Collection admin1371 * 1372 * # Arguments1373 * 1374 * * `collection_id`: ID of the modified collection.1375 * * `property_permissions`: Vector of permissions for property keys.1376 * Keys support Latin letters, `-`, `_`, and `.` as symbols.1377 **/1378 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1379 /**1380 * Completely allow or disallow transfers for a particular collection.1381 * 1382 * # Permissions1383 * 1384 * * Collection owner1385 * 1386 * # Arguments1387 * 1388 * * `collection_id`: ID of the collection.1389 * * `value`: New value of the flag, are transfers allowed?1390 **/1391 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1392 /**1393 * Change ownership of the token.1394 * 1395 * # Permissions1396 * 1397 * * Collection owner1398 * * Collection admin1399 * * Current token owner1400 * 1401 * # Arguments1402 * 1403 * * `recipient`: Address of token recipient.1404 * * `collection_id`: ID of the collection the item belongs to.1405 * * `item_id`: ID of the item.1406 * * Non-Fungible Mode: Required.1407 * * Fungible Mode: Ignored.1408 * * Re-Fungible Mode: Required.1409 * 1410 * * `value`: Amount to transfer.1411 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1412 * * Fungible Mode: The desired number of pieces to transfer.1413 * * Re-Fungible Mode: The desired number of pieces to transfer.1414 **/1415 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]>;1416 /**1417 * Change ownership of an item on behalf of the owner as a non-owner account.1418 * 1419 * See the [`approve`][`Pallet::approve`] method for additional information.1420 * 1421 * After this method executes, one approval is removed from the total so that1422 * the approved address will not be able to transfer this item again from this owner.1423 * 1424 * # Permissions1425 * 1426 * * Collection owner1427 * * Collection admin1428 * * Current item owner1429 * * Address approved by current item owner1430 * 1431 * # Arguments1432 * 1433 * * `from`: Address that currently owns the token.1434 * * `recipient`: Address of the new token-owner-to-be.1435 * * `collection_id`: ID of the collection the item.1436 * * `item_id`: ID of the item to be transferred.1437 * * `value`: Amount to transfer.1438 * * Non-Fungible Mode: An NFT is indivisible, there is always 1 corresponding to an ID.1439 * * Fungible Mode: The desired number of pieces to transfer.1440 * * Re-Fungible Mode: The desired number of pieces to transfer.1441 **/1442 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]>;1443 /**1444 * Generic tx1445 **/1446 [key: string]: SubmittableExtrinsicFunction<ApiType>;1447 };1448 vesting: {1449 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1450 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1451 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>]>;1452 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]>;1453 /**1454 * Generic tx1455 **/1456 [key: string]: SubmittableExtrinsicFunction<ApiType>;1457 };1458 xcmpQueue: {1459 /**1460 * Resumes all XCM executions for the XCMP queue.1461 * 1462 * Note that this function doesn't change the status of the in/out bound channels.1463 * 1464 * - `origin`: Must pass `ControllerOrigin`.1465 **/1466 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1467 /**1468 * Services a single overweight XCM.1469 * 1470 * - `origin`: Must pass `ExecuteOverweightOrigin`.1471 * - `index`: The index of the overweight XCM to service1472 * - `weight_limit`: The amount of weight that XCM execution may take.1473 * 1474 * Errors:1475 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1476 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1477 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1478 * 1479 * Events:1480 * - `OverweightServiced`: On success.1481 **/1482 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1483 /**1484 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1485 * 1486 * - `origin`: Must pass `ControllerOrigin`.1487 **/1488 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1489 /**1490 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1491 * messages from the channel.1492 * 1493 * - `origin`: Must pass `Root`.1494 * - `new`: Desired value for `QueueConfigData.drop_threshold`1495 **/1496 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1497 /**1498 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1499 * message sending may recommence after it has been suspended.1500 * 1501 * - `origin`: Must pass `Root`.1502 * - `new`: Desired value for `QueueConfigData.resume_threshold`1503 **/1504 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1505 /**1506 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1507 * suspend their sending.1508 * 1509 * - `origin`: Must pass `Root`.1510 * - `new`: Desired value for `QueueConfigData.suspend_value`1511 **/1512 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1513 /**1514 * Overwrites the amount of remaining weight under which we stop processing messages.1515 * 1516 * - `origin`: Must pass `Root`.1517 * - `new`: Desired value for `QueueConfigData.threshold_weight`1518 **/1519 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1520 /**1521 * Overwrites the speed to which the available weight approaches the maximum weight.1522 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1523 * 1524 * - `origin`: Must pass `Root`.1525 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1526 **/1527 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1528 /**1529 * Overwrite the maximum amount of weight any individual message may consume.1530 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1531 * 1532 * - `origin`: Must pass `Root`.1533 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1534 **/1535 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1536 /**1537 * Generic tx1538 **/1539 [key: string]: SubmittableExtrinsicFunction<ApiType>;1540 };1541 } // AugmentedSubmittables1542} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-tx.ts83.4 KiBsourcehistory