1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';5import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';6import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill, Permill } from '@polkadot/types/interfaces/runtime';8import 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';910declare module '@polkadot/api-base/types/submittable' {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {12 balances: {13 /**14 * Exactly as `transfer`, except the origin must be root and the source account may be15 * specified.16 * # <weight>17 * - Same as transfer, but additional read and write because the source account is not18 * assumed to be in the overlay.19 * # </weight>20 **/21 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>]>;22 /**23 * Unreserve some balance from a user by force.24 * 25 * Can only be called by ROOT.26 **/27 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;28 /**29 * Set the balances of a given account.30 * 31 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will32 * also alter the total issuance of the system (`TotalIssuance`) appropriately.33 * If the new free or reserved balance is below the existential deposit,34 * it will reset the account nonce (`frame_system::AccountNonce`).35 * 36 * The dispatch origin for this call is `root`.37 **/38 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>]>;39 /**40 * Transfer some liquid free balance to another account.41 * 42 * `transfer` will set the `FreeBalance` of the sender and receiver.43 * If the sender's account is below the existential deposit as a result44 * of the transfer, the account will be reaped.45 * 46 * The dispatch origin for this call must be `Signed` by the transactor.47 * 48 * # <weight>49 * - Dependent on arguments but not critical, given proper implementations for input config50 * types. See related functions below.51 * - It contains a limited number of reads and writes internally and no complex52 * computation.53 * 54 * Related functions:55 * 56 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.57 * - Transferring balances to accounts that did not exist before will cause58 * `T::OnNewAccount::on_new_account` to be called.59 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.60 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check61 * that the transfer will not kill the origin account.62 * ---------------------------------63 * - Origin account is already in memory, so no DB operations for them.64 * # </weight>65 **/66 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>]>;67 /**68 * Transfer the entire transferable balance from the caller account.69 * 70 * NOTE: This function only attempts to transfer _transferable_ balances. This means that71 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be72 * transferred by this function. To ensure that this function results in a killed account,73 * you might need to prepare the account by removing any reference counters, storage74 * deposits, etc...75 * 76 * The dispatch origin of this call must be Signed.77 * 78 * - `dest`: The recipient of the transfer.79 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all80 * of the funds the account has, causing the sender account to be killed (false), or81 * transfer everything except at least the existential deposit, which will guarantee to82 * keep the sender account alive (true). # <weight>83 * - O(1). Just like transfer, but reading the user's transferable balance first.84 * #</weight>85 **/86 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;87 /**88 * Same as the [`transfer`] call, but with a check that the transfer will not kill the89 * origin account.90 * 91 * 99% of the time you want [`transfer`] instead.92 * 93 * [`transfer`]: struct.Pallet.html#method.transfer94 **/95 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>]>;96 /**97 * Generic tx98 **/99 [key: string]: SubmittableExtrinsicFunction<ApiType>;100 };101 charging: {102 /**103 * Generic tx104 **/105 [key: string]: SubmittableExtrinsicFunction<ApiType>;106 };107 cumulusXcm: {108 /**109 * Generic tx110 **/111 [key: string]: SubmittableExtrinsicFunction<ApiType>;112 };113 dmpQueue: {114 /**115 * Service a single overweight message.116 * 117 * - `origin`: Must pass `ExecuteOverweightOrigin`.118 * - `index`: The index of the overweight message to service.119 * - `weight_limit`: The amount of weight that message execution may take.120 * 121 * Errors:122 * - `Unknown`: Message of `index` is unknown.123 * - `OverLimit`: Message execution may use greater than `weight_limit`.124 * 125 * Events:126 * - `OverweightServiced`: On success.127 **/128 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;129 /**130 * Generic tx131 **/132 [key: string]: SubmittableExtrinsicFunction<ApiType>;133 };134 ethereum: {135 /**136 * Transact an Ethereum transaction.137 **/138 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;139 /**140 * Generic tx141 **/142 [key: string]: SubmittableExtrinsicFunction<ApiType>;143 };144 evm: {145 /**146 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.147 **/148 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 | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, 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>]>>]>;149 /**150 * Issue an EVM create operation. This is similar to a contract creation transaction in151 * Ethereum.152 **/153 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 | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, 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>]>>]>;154 /**155 * Issue an EVM create2 operation.156 **/157 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 | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, 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>]>>]>;158 /**159 * Withdraw balance from EVM into currency/balances pallet.160 **/161 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;162 /**163 * Generic tx164 **/165 [key: string]: SubmittableExtrinsicFunction<ApiType>;166 };167 evmMigration: {168 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;169 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;170 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;171 /**172 * Generic tx173 **/174 [key: string]: SubmittableExtrinsicFunction<ApiType>;175 };176 inflation: {177 /**178 * This method sets the inflation start date. Can be only called once.179 * Inflation start block can be backdated and will catch up. The method will create Treasury180 * account if it does not exist and perform the first inflation deposit.181 * 182 * # Permissions183 * 184 * * Root185 * 186 * # Arguments187 * 188 * * inflation_start_relay_block: The relay chain block at which inflation should start189 **/190 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;191 /**192 * Generic tx193 **/194 [key: string]: SubmittableExtrinsicFunction<ApiType>;195 };196 parachainSystem: {197 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;198 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;199 /**200 * Set the current validation data.201 * 202 * This should be invoked exactly once per block. It will panic at the finalization203 * phase if the call was not invoked.204 * 205 * The dispatch origin for this call must be `Inherent`206 * 207 * As a side effect, this function upgrades the current validation function208 * if the appropriate time has come.209 **/210 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;211 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;212 /**213 * Generic tx214 **/215 [key: string]: SubmittableExtrinsicFunction<ApiType>;216 };217 polkadotXcm: {218 /**219 * Execute an XCM message from a local, signed, origin.220 * 221 * An event is deposited indicating whether `msg` could be executed completely or only222 * partially.223 * 224 * No more than `max_weight` will be used in its attempted execution. If this is less than the225 * maximum amount of weight that the message could take to be executed, then no execution226 * attempt will be made.227 * 228 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully229 * to completion; only that *some* of it was executed.230 **/231 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;232 /**233 * Set a safe XCM version (the version that XCM should be encoded with if the most recent234 * version a destination can accept is unknown).235 * 236 * - `origin`: Must be Root.237 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.238 **/239 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;240 /**241 * Ask a location to notify us regarding their XCM version and any changes to it.242 * 243 * - `origin`: Must be Root.244 * - `location`: The location to which we should subscribe for XCM version notifications.245 **/246 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;247 /**248 * Require that a particular destination should no longer notify us regarding any XCM249 * version changes.250 * 251 * - `origin`: Must be Root.252 * - `location`: The location to which we are currently subscribed for XCM version253 * notifications which we no longer desire.254 **/255 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;256 /**257 * Extoll that a particular destination can be communicated with through a particular258 * version of XCM.259 * 260 * - `origin`: Must be Root.261 * - `location`: The destination that is being described.262 * - `xcm_version`: The latest version of XCM that `location` supports.263 **/264 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;265 /**266 * Transfer some assets from the local chain to the sovereign account of a destination267 * chain and forward a notification XCM.268 * 269 * Fee payment on the destination side is made from the asset in the `assets` vector of270 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight271 * is needed than `weight_limit`, then the operation will fail and the assets send may be272 * at risk.273 * 274 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.275 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send276 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.277 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be278 * an `AccountId32` value.279 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the280 * `dest` side.281 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay282 * fees.283 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.284 **/285 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]>;286 /**287 * Teleport some assets from the local chain to some destination chain.288 * 289 * Fee payment on the destination side is made from the asset in the `assets` vector of290 * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight291 * is needed than `weight_limit`, then the operation will fail and the assets send may be292 * at risk.293 * 294 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.295 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send296 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.297 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be298 * an `AccountId32` value.299 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the300 * `dest` side. May not be empty.301 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay302 * fees.303 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.304 **/305 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]>;306 /**307 * Transfer some assets from the local chain to the sovereign account of a destination308 * chain and forward a notification XCM.309 * 310 * Fee payment on the destination side is made from the asset in the `assets` vector of311 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,312 * with all fees taken as needed from the asset.313 * 314 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.315 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send316 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.317 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be318 * an `AccountId32` value.319 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the320 * `dest` side.321 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay322 * fees.323 **/324 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]>;325 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;326 /**327 * Teleport some assets from the local chain to some destination chain.328 * 329 * Fee payment on the destination side is made from the asset in the `assets` vector of330 * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,331 * with all fees taken as needed from the asset.332 * 333 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.334 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send335 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.336 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be337 * an `AccountId32` value.338 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the339 * `dest` side. May not be empty.340 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay341 * fees.342 **/343 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]>;344 /**345 * Generic tx346 **/347 [key: string]: SubmittableExtrinsicFunction<ApiType>;348 };349 rmrkCore: {350 /**351 * Accepts an NFT sent from another account to self or owned NFT352 * 353 * Parameters:354 * - `origin`: sender of the transaction355 * - `rmrk_collection_id`: collection id of the nft to be accepted356 * - `rmrk_nft_id`: nft id of the nft to be accepted357 * - `new_owner`: either origin's account ID or origin-owned NFT, whichever the NFT was358 * sent to359 **/360 acceptNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;361 /**362 * accept the addition of a new resource to an existing NFT363 **/364 acceptResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;365 /**366 * accept the removal of a resource of an existing NFT367 **/368 acceptResourceRemoval: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;369 /**370 * Create basic resource371 **/372 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]>;373 /**374 * Create composable resource375 **/376 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]>;377 /**378 * Create slot resource379 **/380 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]>;381 /**382 * burn nft383 **/384 burnNft: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, maxBurns: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;385 /**386 * Change the issuer of a collection387 * 388 * Parameters:389 * - `origin`: sender of the transaction390 * - `collection_id`: collection id of the nft to change issuer of391 * - `new_issuer`: Collection's new issuer392 **/393 changeCollectionIssuer: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newIssuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, MultiAddress]>;394 /**395 * Create a collection396 **/397 createCollection: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, max: Option<u32> | null | object | string | Uint8Array, symbol: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<u32>, Bytes]>;398 /**399 * destroy collection400 **/401 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;402 /**403 * lock collection404 **/405 lockCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;406 /**407 * Mints an NFT in the specified collection408 * Sets metadata and the royalty attribute409 * 410 * Parameters:411 * - `collection_id`: The class of the asset to be minted.412 * - `nft_id`: The nft value of the asset to be minted.413 * - `recipient`: Receiver of the royalty414 * - `royalty`: Permillage reward from each trade for the Recipient415 * - `metadata`: Arbitrary data about an nft, e.g. IPFS hash416 * - `transferable`: Ability to transfer this NFT417 **/418 mintNft: AugmentedSubmittable<(owner: Option<AccountId32> | null | object | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, recipient: Option<AccountId32> | null | object | string | Uint8Array, royaltyAmount: Option<Permill> | null | object | string | Uint8Array, metadata: Bytes | string | Uint8Array, transferable: bool | boolean | Uint8Array, resources: Option<Vec<RmrkTraitsResourceResourceTypes>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>, u32, Option<AccountId32>, Option<Permill>, Bytes, bool, Option<Vec<RmrkTraitsResourceResourceTypes>>]>;419 /**420 * Rejects an NFT sent from another account to self or owned NFT421 * 422 * Parameters:423 * - `origin`: sender of the transaction424 * - `rmrk_collection_id`: collection id of the nft to be accepted425 * - `rmrk_nft_id`: nft id of the nft to be accepted426 **/427 rejectNft: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;428 /**429 * remove resource430 **/431 removeResource: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, nftId: u32 | AnyNumber | Uint8Array, resourceId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;432 /**433 * Transfers a NFT from an Account or NFT A to another Account or NFT B434 * 435 * Parameters:436 * - `origin`: sender of the transaction437 * - `rmrk_collection_id`: collection id of the nft to be transferred438 * - `rmrk_nft_id`: nft id of the nft to be transferred439 * - `new_owner`: new owner of the nft which can be either an account or a NFT440 **/441 send: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, newOwner: RmrkTraitsNftAccountIdOrCollectionNftTuple | { AccountId: any } | { CollectionAndNftTuple: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, RmrkTraitsNftAccountIdOrCollectionNftTuple]>;442 /**443 * set a different order of resource priority444 **/445 setPriority: AugmentedSubmittable<(rmrkCollectionId: u32 | AnyNumber | Uint8Array, rmrkNftId: u32 | AnyNumber | Uint8Array, priorities: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<u32>]>;446 /**447 * set a custom value on an NFT448 **/449 setProperty: AugmentedSubmittable<(rmrkCollectionId: Compact<u32> | AnyNumber | Uint8Array, maybeNftId: Option<u32> | null | object | string | Uint8Array, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u32>, Bytes, Bytes]>;450 /**451 * Generic tx452 **/453 [key: string]: SubmittableExtrinsicFunction<ApiType>;454 };455 rmrkEquip: {456 /**457 * Creates a new Base.458 * Modeled after [base interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/base.md)459 * 460 * Parameters:461 * - origin: Caller, will be assigned as the issuer of the Base462 * - base_type: media type, e.g. "svg"463 * - symbol: arbitrary client-chosen symbol464 * - parts: array of Fixed and Slot parts composing the base, confined in length by465 * RmrkPartsLimit466 **/467 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>]>;468 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]>;469 /**470 * Adds a Theme to a Base.471 * Modeled after [themeadd interaction](https://github.com/rmrk-team/rmrk-spec/blob/master/standards/rmrk2.0.0/interactions/themeadd.md)472 * Themes are stored in the Themes storage473 * A Theme named "default" is required prior to adding other Themes.474 * 475 * Parameters:476 * - origin: The caller of the function, must be issuer of the base477 * - base_id: The Base containing the Theme to be updated478 * - theme: The Theme to add to the Base. A Theme has a name and properties, which are an479 * array of [key, value, inherit].480 * - key: arbitrary BoundedString, defined by client481 * - value: arbitrary BoundedString, defined by client482 * - inherit: optional bool483 **/484 themeAdd: AugmentedSubmittable<(baseId: u32 | AnyNumber | Uint8Array, theme: RmrkTraitsTheme | { name?: any; properties?: any; inherit?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, RmrkTraitsTheme]>;485 /**486 * Generic tx487 **/488 [key: string]: SubmittableExtrinsicFunction<ApiType>;489 };490 scheduler: {491 /**492 * Cancel a named scheduled task.493 **/494 cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;495 /**496 * Schedule a named task.497 **/498 scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;499 /**500 * Schedule a named task after a delay.501 * 502 * # <weight>503 * Same as [`schedule_named`](Self::schedule_named).504 * # </weight>505 **/506 scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | object | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | { Value: any } | { Hash: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, FrameSupportScheduleMaybeHashed]>;507 /**508 * Generic tx509 **/510 [key: string]: SubmittableExtrinsicFunction<ApiType>;511 };512 structure: {513 /**514 * Generic tx515 **/516 [key: string]: SubmittableExtrinsicFunction<ApiType>;517 };518 sudo: {519 /**520 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo521 * key.522 * 523 * The dispatch origin for this call must be _Signed_.524 * 525 * # <weight>526 * - O(1).527 * - Limited storage reads.528 * - One DB change.529 * # </weight>530 **/531 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;532 /**533 * Authenticates the sudo key and dispatches a function call with `Root` origin.534 * 535 * The dispatch origin for this call must be _Signed_.536 * 537 * # <weight>538 * - O(1).539 * - Limited storage reads.540 * - One DB write (event).541 * - Weight of derivative `call` execution + 10,000.542 * # </weight>543 **/544 sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;545 /**546 * Authenticates the sudo key and dispatches a function call with `Signed` origin from547 * a given account.548 * 549 * The dispatch origin for this call must be _Signed_.550 * 551 * # <weight>552 * - O(1).553 * - Limited storage reads.554 * - One DB write (event).555 * - Weight of derivative `call` execution + 10,000.556 * # </weight>557 **/558 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]>;559 /**560 * Authenticates the sudo key and dispatches a function call with `Root` origin.561 * This function does not check the weight of the call, and instead allows the562 * Sudo user to specify the weight of the call.563 * 564 * The dispatch origin for this call must be _Signed_.565 * 566 * # <weight>567 * - O(1).568 * - The weight of this call is defined by the caller.569 * # </weight>570 **/571 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;572 /**573 * Generic tx574 **/575 [key: string]: SubmittableExtrinsicFunction<ApiType>;576 };577 system: {578 /**579 * A dispatch that will fill the block weight up to the given ratio.580 **/581 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;582 /**583 * Kill all storage items with a key that starts with the given prefix.584 * 585 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under586 * the prefix we are removing to accurately calculate the weight of this function.587 **/588 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;589 /**590 * Kill some items from storage.591 **/592 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;593 /**594 * Make some on-chain remark.595 * 596 * # <weight>597 * - `O(1)`598 * # </weight>599 **/600 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;601 /**602 * Make some on-chain remark and emit event.603 **/604 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;605 /**606 * Set the new runtime code.607 * 608 * # <weight>609 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`610 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is611 * expensive).612 * - 1 storage write (codec `O(C)`).613 * - 1 digest item.614 * - 1 event.615 * The weight of this function is dependent on the runtime, but generally this is very616 * expensive. We will treat this as a full block.617 * # </weight>618 **/619 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;620 /**621 * Set the new runtime code without doing any checks of the given `code`.622 * 623 * # <weight>624 * - `O(C)` where `C` length of `code`625 * - 1 storage write (codec `O(C)`).626 * - 1 digest item.627 * - 1 event.628 * The weight of this function is dependent on the runtime. We will treat this as a full629 * block. # </weight>630 **/631 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;632 /**633 * Set the number of pages in the WebAssembly environment's heap.634 **/635 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;636 /**637 * Set some items of storage.638 **/639 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;640 /**641 * Generic tx642 **/643 [key: string]: SubmittableExtrinsicFunction<ApiType>;644 };645 timestamp: {646 /**647 * Set the current time.648 * 649 * This call should be invoked exactly once per block. It will panic at the finalization650 * phase, if this call hasn't been invoked by that time.651 * 652 * The timestamp should be greater than the previous one by the amount specified by653 * `MinimumPeriod`.654 * 655 * The dispatch origin for this call must be `Inherent`.656 * 657 * # <weight>658 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)659 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in660 * `on_finalize`)661 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.662 * # </weight>663 **/664 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;665 /**666 * Generic tx667 **/668 [key: string]: SubmittableExtrinsicFunction<ApiType>;669 };670 treasury: {671 /**672 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary673 * and the original deposit will be returned.674 * 675 * May only be called from `T::ApproveOrigin`.676 * 677 * # <weight>678 * - Complexity: O(1).679 * - DbReads: `Proposals`, `Approvals`680 * - DbWrite: `Approvals`681 * # </weight>682 **/683 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;684 /**685 * Put forward a suggestion for spending. A deposit proportional to the value686 * is reserved and slashed if the proposal is rejected. It is returned once the687 * proposal is awarded.688 * 689 * # <weight>690 * - Complexity: O(1)691 * - DbReads: `ProposalCount`, `origin account`692 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`693 * # </weight>694 **/695 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]>;696 /**697 * Reject a proposed spend. The original deposit will be slashed.698 * 699 * May only be called from `T::RejectOrigin`.700 * 701 * # <weight>702 * - Complexity: O(1)703 * - DbReads: `Proposals`, `rejected proposer account`704 * - DbWrites: `Proposals`, `rejected proposer account`705 * # </weight>706 **/707 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;708 /**709 * Force a previously approved proposal to be removed from the approval queue.710 * The original deposit will no longer be returned.711 * 712 * May only be called from `T::RejectOrigin`.713 * - `proposal_id`: The index of a proposal714 * 715 * # <weight>716 * - Complexity: O(A) where `A` is the number of approvals717 * - Db reads and writes: `Approvals`718 * # </weight>719 * 720 * Errors:721 * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,722 * i.e., the proposal has not been approved. This could also mean the proposal does not723 * exist altogether, thus there is no way it would have been approved in the first place.724 **/725 removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;726 /**727 * Generic tx728 **/729 [key: string]: SubmittableExtrinsicFunction<ApiType>;730 };731 unique: {732 /**733 * Adds an admin of the collection.734 * NFT Collection can be controlled by multiple admin addresses (some which can also be servers, for example). Admins can issue and burn NFTs, as well as add and remove other admins, but cannot change NFT or Collection ownership.735 * 736 * # Permissions737 * 738 * * Collection Owner739 * * Collection Admin740 * 741 * # Arguments742 * 743 * * collection_id - ID of the Collection to add admin for.744 * * new_admin - Address of new admin to add.745 **/746 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdmin: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;747 /**748 * Add an address to allow list.749 * 750 * # Permissions751 * 752 * * Collection Owner753 * * Collection Admin754 * 755 * # Arguments756 * 757 * * collection_id.758 * * address.759 **/760 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;761 /**762 * Set, change, or remove approved address to transfer the ownership of the NFT.763 * 764 * # Permissions765 * 766 * * Collection Owner767 * * Collection Admin768 * * Current NFT owner769 * 770 * # Arguments771 * 772 * * approved - Address that is approved to transfer this NFT or zero (if needed to remove approval).773 * * collection_id.774 * * item_id - ID of the item.775 **/776 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]>;777 /**778 * Destroy a concrete instance of NFT on behalf of the owner.779 * See also: [`approve`]780 * 781 * # Permissions782 * 783 * * Collection Owner.784 * * Collection Admin.785 * * Current NFT Owner.786 * 787 * # Arguments788 * 789 * * collection_id - ID of the collection.790 * * item_id - ID of NFT to burn.791 * * from - The owner of the item from whom it is taken away.792 **/793 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]>;794 /**795 * Destroy a concrete instance of NFT.796 * 797 * # Permissions798 * 799 * * Collection Owner800 * * Collection Admin801 * * Current NFT Owner802 * 803 * # Arguments804 * 805 * * collection_id - ID of the collection.806 * * item_id - ID of NFT to burn.807 **/808 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;809 /**810 * Change the owner of the collection.811 * 812 * # Permissions813 * 814 * * Collection Owner815 * 816 * # Arguments817 * 818 * * collection_id.819 * * new_owner.820 **/821 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;822 /**823 * Confirm own sponsorship of a collection.824 * 825 * # Permissions826 * 827 * * Sponsor-to-be828 * 829 * # Arguments830 * 831 * * collection_id.832 **/833 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;834 /**835 * This method creates a Collection of NFTs. Each Token may have multiple properties encoded as an array of bytes of certain length. The initial owner of the collection is set to the address that signed the transaction and can be changed later.836 * 837 * # Permissions838 * 839 * * Anyone.840 * 841 * # Arguments842 * 843 * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.844 * * collection_description - UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.845 * * token_prefix - UTF-8 string with token prefix.846 * * mode - [CollectionMode] collection type and type dependent data.847 **/848 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]>;849 /**850 * Create a collection with explicit parameters.851 * Prefer it to the deprecated [`created_collection`] method.852 * 853 * # Permissions854 * 855 * * Anyone.856 * 857 * # Arguments858 * 859 * * data: explicit create-collection data.860 **/861 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]>;862 /**863 * Create a concrete instance of NFT Collection created with CreateCollection method.864 * 865 * # Permissions866 * 867 * * Collection Owner868 * * Collection Admin869 * * Anyone if870 * * Allow List is enabled, and871 * * Address is added to allow list, and872 * * MintPermission is enabled (see SetMintPermission method)873 * 874 * # Arguments875 * 876 * * collection_id - ID of the collection.877 * * owner - Address, initial owner of the NFT.878 * * data - Token data to store on chain.879 **/880 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]>;881 /**882 * Create multiple items in a collection created with CreateCollection method.883 * 884 * # Permissions885 * 886 * * Collection Owner887 * * Collection Admin888 * * Anyone if889 * * Allow List is enabled, and890 * * Address is added to allow list, and891 * * MintPermission is enabled (see SetMintPermission method)892 * 893 * # Arguments894 * 895 * * collection_id - ID of the collection.896 * * owner - Address, initial owner of the NFT.897 * * items_data - Array items properties. Each property is an array of bytes itself, see [`create_item`].898 **/899 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>]>;900 /**901 * Create multiple items inside a collection with explicitly specified initial parameters.902 * 903 * # Permissions904 * 905 * * Collection Owner906 * * Collection Admin907 * * Anyone if908 * * Allow List is enabled, and909 * * Address is added to allow list, and910 * * MintPermission is enabled (see SetMintPermission method)911 * 912 * # Arguments913 * 914 * * collection_id - ID of the collection.915 * * data - Explicit item creation data.916 **/917 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;918 /**919 * Delete specified collection properties.920 * 921 * # Permissions922 * 923 * * Collection Owner924 * * Collection Admin925 * 926 * # Arguments927 * 928 * * collection_id.929 * * property_keys - Vector of keys of the properties to be deleted.930 **/931 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;932 /**933 * Delete specified token properties.934 * 935 * # Permissions936 * 937 * * Depends on collection's token property permissions and specified property mutability:938 * * Collection Owner939 * * Collection Admin940 * * Token Owner941 * 942 * # Arguments943 * 944 * * collection_id.945 * * token_id.946 * * property_keys - Vector of keys of the properties to be deleted.947 **/948 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;949 /**950 * Destroy the collection if no tokens exist within.951 * 952 * # Permissions953 * 954 * * Collection Owner955 * 956 * # Arguments957 * 958 * * collection_id - collection to destroy.959 **/960 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;961 /**962 * Remove admin address of the Collection. An admin address can remove itself. List of admins may become empty, in which case only Collection Owner will be able to add an Admin.963 * 964 * # Permissions965 * 966 * * Collection Owner967 * * Collection Admin968 * 969 * # Arguments970 * 971 * * collection_id - ID of the Collection to remove admin for.972 * * account_id - Address of admin to remove.973 **/974 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;975 /**976 * Switch back to pay-per-own-transaction model.977 * 978 * # Permissions979 * 980 * * Collection Owner981 * 982 * # Arguments983 * 984 * * collection_id.985 **/986 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;987 /**988 * Remove an address from allow list.989 * 990 * # Permissions991 * 992 * * Collection Owner993 * * Collection Admin994 * 995 * # Arguments996 * 997 * * collection_id.998 * * address.999 **/1000 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;1001 /**1002 * Re-partition a refungible token, while owning all of its parts.1003 * 1004 * # Permissions1005 * 1006 * * Token Owner (must own every part)1007 * 1008 * # Arguments1009 * 1010 * * collection_id.1011 * * token_id - ID of the RFT.1012 * * amount - New number of parts into which the token shall be partitioned.1013 **/1014 repartition: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;1015 /**1016 * Set specific limits of a collection. Empty, or None fields mean chain default.1017 * 1018 * # Permissions1019 * 1020 * * Collection Owner1021 * * Collection Admin1022 * 1023 * # Arguments1024 * 1025 * * collection_id.1026 * * new_limit - New limits of the collection. They will overwrite the current ones.1027 **/1028 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]>;1029 /**1030 * Set specific permissions of a collection. Empty, or None fields mean chain default.1031 * 1032 * # Permissions1033 * 1034 * * Collection Owner1035 * * Collection Admin1036 * 1037 * # Arguments1038 * 1039 * * collection_id.1040 * * new_permission - New permissions of the collection. They will overwrite the current ones.1041 **/1042 setCollectionPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newPermission: UpDataStructsCollectionPermissions | { access?: any; mintMode?: any; nesting?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionPermissions]>;1043 /**1044 * Add or change collection properties.1045 * 1046 * # Permissions1047 * 1048 * * Collection Owner1049 * * Collection Admin1050 * 1051 * # Arguments1052 * 1053 * * collection_id.1054 * * properties - Vector of key-value pairs stored as the collection's metadata. Keys support Latin letters, `-`, `_`, and `.` as symbols.1055 **/1056 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;1057 /**1058 * Set (invite) a new collection sponsor. If successful, confirmation from the sponsor-to-be will be pending.1059 * 1060 * # Permissions1061 * 1062 * * Collection Owner1063 * * Collection Admin1064 * 1065 * # Arguments1066 * 1067 * * collection_id.1068 * * new_sponsor.1069 **/1070 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;1071 /**1072 * Add or change token properties according to collection's permissions.1073 * 1074 * # Permissions1075 * 1076 * * Depends on collection's token property permissions and specified property mutability:1077 * * Collection Owner1078 * * Collection Admin1079 * * Token Owner1080 * 1081 * # Arguments1082 * 1083 * * collection_id.1084 * * token_id.1085 * * properties - Vector of key-value pairs stored as the token's metadata. Keys support Latin letters, `-`, `_`, and `.` as symbols.1086 **/1087 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>]>;1088 /**1089 * Add or change token property permissions of a collection.1090 * 1091 * # Permissions1092 * 1093 * * Collection Owner1094 * * Collection Admin1095 * 1096 * # Arguments1097 * 1098 * * collection_id.1099 * * property_permissions - Vector of permissions for property keys. Keys support Latin letters, `-`, `_`, and `.` as symbols.1100 **/1101 setTokenPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;1102 /**1103 * Set transfers_enabled value for particular collection.1104 * 1105 * # Permissions1106 * 1107 * * Collection Owner1108 * 1109 * # Arguments1110 * 1111 * * collection_id - ID of the collection.1112 * * value - New flag value.1113 **/1114 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;1115 /**1116 * Change ownership of the token.1117 * 1118 * # Permissions1119 * 1120 * * Collection Owner1121 * * Collection Admin1122 * * Current NFT owner1123 * 1124 * # Arguments1125 * 1126 * * recipient - Address of token recipient.1127 * 1128 * * collection_id.1129 * 1130 * * item_id - ID of the item1131 * * Non-Fungible Mode: Required.1132 * * Fungible Mode: Ignored.1133 * * Re-Fungible Mode: Required.1134 * 1135 * * value - Amount to transfer.1136 * * Non-Fungible Mode: Ignored1137 * * Fungible Mode: Must specify transferred amount1138 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)1139 **/1140 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]>;1141 /**1142 * Change ownership of a NFT on behalf of the owner. See Approve method for additional information. After this method executes, the approval is removed so that the approved address will not be able to transfer this NFT again from this owner.1143 * 1144 * # Permissions1145 * 1146 * * Collection Owner1147 * * Collection Admin1148 * * Current NFT owner1149 * * Address approved by current NFT owner1150 * 1151 * # Arguments1152 * 1153 * * from - Address that currently owns the token.1154 * * recipient - Address of the new token-owner-to-be.1155 * * collection_id.1156 * * item_id - ID of the item to be transferred.1157 * * value - Amount to transfer.1158 **/1159 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]>;1160 /**1161 * Generic tx1162 **/1163 [key: string]: SubmittableExtrinsicFunction<ApiType>;1164 };1165 vesting: {1166 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1167 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;1168 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>]>;1169 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]>;1170 /**1171 * Generic tx1172 **/1173 [key: string]: SubmittableExtrinsicFunction<ApiType>;1174 };1175 xcmpQueue: {1176 /**1177 * Resumes all XCM executions for the XCMP queue.1178 * 1179 * Note that this function doesn't change the status of the in/out bound channels.1180 * 1181 * - `origin`: Must pass `ControllerOrigin`.1182 **/1183 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1184 /**1185 * Services a single overweight XCM.1186 * 1187 * - `origin`: Must pass `ExecuteOverweightOrigin`.1188 * - `index`: The index of the overweight XCM to service1189 * - `weight_limit`: The amount of weight that XCM execution may take.1190 * 1191 * Errors:1192 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1193 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1194 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1195 * 1196 * Events:1197 * - `OverweightServiced`: On success.1198 **/1199 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1200 /**1201 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1202 * 1203 * - `origin`: Must pass `ControllerOrigin`.1204 **/1205 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1206 /**1207 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1208 * messages from the channel.1209 * 1210 * - `origin`: Must pass `Root`.1211 * - `new`: Desired value for `QueueConfigData.drop_threshold`1212 **/1213 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1214 /**1215 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1216 * message sending may recommence after it has been suspended.1217 * 1218 * - `origin`: Must pass `Root`.1219 * - `new`: Desired value for `QueueConfigData.resume_threshold`1220 **/1221 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1222 /**1223 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1224 * suspend their sending.1225 * 1226 * - `origin`: Must pass `Root`.1227 * - `new`: Desired value for `QueueConfigData.suspend_value`1228 **/1229 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1230 /**1231 * Overwrites the amount of remaining weight under which we stop processing messages.1232 * 1233 * - `origin`: Must pass `Root`.1234 * - `new`: Desired value for `QueueConfigData.threshold_weight`1235 **/1236 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1237 /**1238 * Overwrites the speed to which the available weight approaches the maximum weight.1239 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1240 * 1241 * - `origin`: Must pass `Root`.1242 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1243 **/1244 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1245 /**1246 * Overwrite the maximum amount of weight any individual message may consume.1247 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1248 * 1249 * - `origin`: Must pass `Root`.1250 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1251 **/1252 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1253 /**1254 * Generic tx1255 **/1256 [key: string]: SubmittableExtrinsicFunction<ApiType>;1257 };1258 } // AugmentedSubmittables1259} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-tx.ts68.4 KiBsourcehistory