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, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletEvmAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsCreateItemExData, UpDataStructsMetaUpdatePermission, UpDataStructsProperty, UpDataStructsPropertyKeyPermission, UpDataStructsSchemaVersion, 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 structure: {350 /**351 * Generic tx352 **/353 [key: string]: SubmittableExtrinsicFunction<ApiType>;354 };355 sudo: {356 /**357 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo358 * key.359 * 360 * The dispatch origin for this call must be _Signed_.361 * 362 * # <weight>363 * - O(1).364 * - Limited storage reads.365 * - One DB change.366 * # </weight>367 **/368 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;369 /**370 * Authenticates the sudo key and dispatches a function call with `Root` origin.371 * 372 * The dispatch origin for this call must be _Signed_.373 * 374 * # <weight>375 * - O(1).376 * - Limited storage reads.377 * - One DB write (event).378 * - Weight of derivative `call` execution + 10,000.379 * # </weight>380 **/381 sudo: AugmentedSubmittable<(call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;382 /**383 * Authenticates the sudo key and dispatches a function call with `Signed` origin from384 * a given account.385 * 386 * The dispatch origin for this call must be _Signed_.387 * 388 * # <weight>389 * - O(1).390 * - Limited storage reads.391 * - One DB write (event).392 * - Weight of derivative `call` execution + 10,000.393 * # </weight>394 **/395 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;396 /**397 * Authenticates the sudo key and dispatches a function call with `Root` origin.398 * This function does not check the weight of the call, and instead allows the399 * Sudo user to specify the weight of the call.400 * 401 * The dispatch origin for this call must be _Signed_.402 * 403 * # <weight>404 * - O(1).405 * - The weight of this call is defined by the caller.406 * # </weight>407 **/408 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;409 /**410 * Generic tx411 **/412 [key: string]: SubmittableExtrinsicFunction<ApiType>;413 };414 system: {415 /**416 * A dispatch that will fill the block weight up to the given ratio.417 **/418 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;419 /**420 * Kill all storage items with a key that starts with the given prefix.421 * 422 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under423 * the prefix we are removing to accurately calculate the weight of this function.424 **/425 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;426 /**427 * Kill some items from storage.428 **/429 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;430 /**431 * Make some on-chain remark.432 * 433 * # <weight>434 * - `O(1)`435 * # </weight>436 **/437 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;438 /**439 * Make some on-chain remark and emit event.440 **/441 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;442 /**443 * Set the new runtime code.444 * 445 * # <weight>446 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`447 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is448 * expensive).449 * - 1 storage write (codec `O(C)`).450 * - 1 digest item.451 * - 1 event.452 * The weight of this function is dependent on the runtime, but generally this is very453 * expensive. We will treat this as a full block.454 * # </weight>455 **/456 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;457 /**458 * Set the new runtime code without doing any checks of the given `code`.459 * 460 * # <weight>461 * - `O(C)` where `C` length of `code`462 * - 1 storage write (codec `O(C)`).463 * - 1 digest item.464 * - 1 event.465 * The weight of this function is dependent on the runtime. We will treat this as a full466 * block. # </weight>467 **/468 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;469 /**470 * Set the number of pages in the WebAssembly environment's heap.471 **/472 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;473 /**474 * Set some items of storage.475 **/476 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;477 /**478 * Generic tx479 **/480 [key: string]: SubmittableExtrinsicFunction<ApiType>;481 };482 timestamp: {483 /**484 * Set the current time.485 * 486 * This call should be invoked exactly once per block. It will panic at the finalization487 * phase, if this call hasn't been invoked by that time.488 * 489 * The timestamp should be greater than the previous one by the amount specified by490 * `MinimumPeriod`.491 * 492 * The dispatch origin for this call must be `Inherent`.493 * 494 * # <weight>495 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)496 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in497 * `on_finalize`)498 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.499 * # </weight>500 **/501 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;502 /**503 * Generic tx504 **/505 [key: string]: SubmittableExtrinsicFunction<ApiType>;506 };507 treasury: {508 /**509 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary510 * and the original deposit will be returned.511 * 512 * May only be called from `T::ApproveOrigin`.513 * 514 * # <weight>515 * - Complexity: O(1).516 * - DbReads: `Proposals`, `Approvals`517 * - DbWrite: `Approvals`518 * # </weight>519 **/520 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;521 /**522 * Put forward a suggestion for spending. A deposit proportional to the value523 * is reserved and slashed if the proposal is rejected. It is returned once the524 * proposal is awarded.525 * 526 * # <weight>527 * - Complexity: O(1)528 * - DbReads: `ProposalCount`, `origin account`529 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`530 * # </weight>531 **/532 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]>;533 /**534 * Reject a proposed spend. The original deposit will be slashed.535 * 536 * May only be called from `T::RejectOrigin`.537 * 538 * # <weight>539 * - Complexity: O(1)540 * - DbReads: `Proposals`, `rejected proposer account`541 * - DbWrites: `Proposals`, `rejected proposer account`542 * # </weight>543 **/544 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;545 /**546 * Generic tx547 **/548 [key: string]: SubmittableExtrinsicFunction<ApiType>;549 };550 unique: {551 /**552 * Adds an admin of the Collection.553 * 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.554 * 555 * # Permissions556 * 557 * * Collection Owner.558 * * Collection Admin.559 * 560 * # Arguments561 * 562 * * collection_id: ID of the Collection to add admin for.563 * 564 * * new_admin_id: Address of new admin to add.565 **/566 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;567 /**568 * Add an address to allow list.569 * 570 * # Permissions571 * 572 * * Collection Owner573 * * Collection Admin574 * 575 * # Arguments576 * 577 * * collection_id.578 * 579 * * address.580 **/581 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;582 /**583 * Set, change, or remove approved address to transfer the ownership of the NFT.584 * 585 * # Permissions586 * 587 * * Collection Owner588 * * Collection Admin589 * * Current NFT owner590 * 591 * # Arguments592 * 593 * * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).594 * 595 * * collection_id.596 * 597 * * item_id: ID of the item.598 **/599 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]>;600 /**601 * Destroys a concrete instance of NFT on behalf of the owner602 * See also: [`approve`]603 * 604 * # Permissions605 * 606 * * Collection Owner.607 * * Collection Admin.608 * * Current NFT Owner.609 * 610 * # Arguments611 * 612 * * collection_id: ID of the collection.613 * 614 * * item_id: ID of NFT to burn.615 * 616 * * from: owner of item617 **/618 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]>;619 /**620 * Destroys a concrete instance of NFT.621 * 622 * # Permissions623 * 624 * * Collection Owner.625 * * Collection Admin.626 * * Current NFT Owner.627 * 628 * # Arguments629 * 630 * * collection_id: ID of the collection.631 * 632 * * item_id: ID of NFT to burn.633 **/634 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;635 /**636 * Change the owner of the collection.637 * 638 * # Permissions639 * 640 * * Collection Owner.641 * 642 * # Arguments643 * 644 * * collection_id.645 * 646 * * new_owner.647 **/648 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;649 /**650 * # Permissions651 * 652 * * Sponsor.653 * 654 * # Arguments655 * 656 * * collection_id.657 **/658 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;659 /**660 * 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.661 * 662 * # Permissions663 * 664 * * Anyone.665 * 666 * # Arguments667 * 668 * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.669 * 670 * * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.671 * 672 * * token_prefix: UTF-8 string with token prefix.673 * 674 * * mode: [CollectionMode] collection type and type dependent data.675 **/676 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]>;677 /**678 * This method creates a collection679 * 680 * Prefer it to deprecated [`created_collection`] method681 **/682 createCollectionEx: AugmentedSubmittable<(data: UpDataStructsCreateCollectionData | { mode?: any; access?: any; name?: any; description?: any; tokenPrefix?: any; offchainSchema?: any; schemaVersion?: any; pendingSponsor?: any; limits?: any; variableOnChainSchema?: any; constOnChainSchema?: any; metaUpdatePermission?: any; tokenPropertyPermissions?: any; properties?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;683 /**684 * This method creates a concrete instance of NFT Collection created with CreateCollection method.685 * 686 * # Permissions687 * 688 * * Collection Owner.689 * * Collection Admin.690 * * Anyone if691 * * Allow List is enabled, and692 * * Address is added to allow list, and693 * * MintPermission is enabled (see SetMintPermission method)694 * 695 * # Arguments696 * 697 * * collection_id: ID of the collection.698 * 699 * * owner: Address, initial owner of the NFT.700 * 701 * * data: Token data to store on chain.702 **/703 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]>;704 /**705 * This method creates multiple items in a collection created with CreateCollection method.706 * 707 * # Permissions708 * 709 * * Collection Owner.710 * * Collection Admin.711 * * Anyone if712 * * Allow List is enabled, and713 * * Address is added to allow list, and714 * * MintPermission is enabled (see SetMintPermission method)715 * 716 * # Arguments717 * 718 * * collection_id: ID of the collection.719 * 720 * * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].721 * 722 * * owner: Address, initial owner of the NFT.723 **/724 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>]>;725 createMultipleItemsEx: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, data: UpDataStructsCreateItemExData | { NFT: any } | { Fungible: any } | { RefungibleMultipleItems: any } | { RefungibleMultipleOwners: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCreateItemExData]>;726 deleteCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<Bytes>]>;727 deleteTokenProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, tokenId: u32 | AnyNumber | Uint8Array, propertyKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, u32, Vec<Bytes>]>;728 /**729 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.730 * 731 * # Permissions732 * 733 * * Collection Owner.734 * 735 * # Arguments736 * 737 * * collection_id: collection to destroy.738 **/739 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;740 /**741 * 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.742 * 743 * # Permissions744 * 745 * * Collection Owner.746 * * Collection Admin.747 * 748 * # Arguments749 * 750 * * collection_id: ID of the Collection to remove admin for.751 * 752 * * account_id: Address of admin to remove.753 **/754 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;755 /**756 * Switch back to pay-per-own-transaction model.757 * 758 * # Permissions759 * 760 * * Collection owner.761 * 762 * # Arguments763 * 764 * * collection_id.765 **/766 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;767 /**768 * Remove an address from allow list.769 * 770 * # Permissions771 * 772 * * Collection Owner773 * * Collection Admin774 * 775 * # Arguments776 * 777 * * collection_id.778 * 779 * * address.780 **/781 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletEvmAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletEvmAccountBasicCrossAccountIdRepr]>;782 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; nestingRule?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsCollectionLimits]>;783 setCollectionProperties: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, properties: Vec<UpDataStructsProperty> | (UpDataStructsProperty | { key?: any; value?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsProperty>]>;784 /**785 * # Permissions786 * 787 * * Collection Owner788 * 789 * # Arguments790 * 791 * * collection_id.792 * 793 * * new_sponsor.794 **/795 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;796 /**797 * Set const on-chain data schema.798 * 799 * # Permissions800 * 801 * * Collection Owner802 * * Collection Admin803 * 804 * # Arguments805 * 806 * * collection_id.807 * 808 * * schema: String representing the const on-chain data schema.809 **/810 setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;811 /**812 * Set meta_update_permission value for particular collection813 * 814 * # Permissions815 * 816 * * Collection Owner.817 * 818 * # Arguments819 * 820 * * collection_id: ID of the collection.821 * 822 * * value: New flag value.823 **/824 setMetaUpdatePermissionFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: UpDataStructsMetaUpdatePermission | 'ItemOwner' | 'Admin' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsMetaUpdatePermission]>;825 /**826 * Allows Anyone to create tokens if:827 * * Allow List is enabled, and828 * * Address is added to allow list, and829 * * This method was called with True parameter830 * 831 * # Permissions832 * * Collection Owner833 * 834 * # Arguments835 * 836 * * collection_id.837 * 838 * * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.839 **/840 setMintPermission: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mintPermission: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;841 /**842 * Set off-chain data schema.843 * 844 * # Permissions845 * 846 * * Collection Owner847 * * Collection Admin848 * 849 * # Arguments850 * 851 * * collection_id.852 * 853 * * schema: String representing the offchain data schema.854 **/855 setOffchainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;856 setPropertyPermissions: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, propertyPermissions: Vec<UpDataStructsPropertyKeyPermission> | (UpDataStructsPropertyKeyPermission | { key?: any; permission?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<UpDataStructsPropertyKeyPermission>]>;857 /**858 * Toggle between normal and allow list access for the methods with access for `Anyone`.859 * 860 * # Permissions861 * 862 * * Collection Owner.863 * 864 * # Arguments865 * 866 * * collection_id.867 * 868 * * mode: [AccessMode]869 **/870 setPublicAccessMode: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mode: UpDataStructsAccessMode | 'Normal' | 'AllowList' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsAccessMode]>;871 /**872 * Set schema standard873 * ImageURL874 * Unique875 * 876 * # Permissions877 * 878 * * Collection Owner879 * * Collection Admin880 * 881 * # Arguments882 * 883 * * collection_id.884 * 885 * * schema: SchemaVersion: enum886 **/887 setSchemaVersion: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, version: UpDataStructsSchemaVersion | 'ImageURL' | 'Unique' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsSchemaVersion]>;888 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>]>;889 /**890 * Set transfers_enabled value for particular collection891 * 892 * # Permissions893 * 894 * * Collection Owner.895 * 896 * # Arguments897 * 898 * * collection_id: ID of the collection.899 * 900 * * value: New flag value.901 **/902 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;903 /**904 * Set off-chain data schema.905 * 906 * # Permissions907 * 908 * * Collection Owner909 * * Collection Admin910 * 911 * # Arguments912 * 913 * * collection_id.914 * 915 * * schema: String representing the offchain data schema.916 **/917 setVariableMetaData: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;918 /**919 * Set variable on-chain data schema.920 * 921 * # Permissions922 * 923 * * Collection Owner924 * * Collection Admin925 * 926 * # Arguments927 * 928 * * collection_id.929 * 930 * * schema: String representing the variable on-chain data schema.931 **/932 setVariableOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;933 /**934 * Change ownership of the token.935 * 936 * # Permissions937 * 938 * * Collection Owner939 * * Collection Admin940 * * Current NFT owner941 * 942 * # Arguments943 * 944 * * recipient: Address of token recipient.945 * 946 * * collection_id.947 * 948 * * item_id: ID of the item949 * * Non-Fungible Mode: Required.950 * * Fungible Mode: Ignored.951 * * Re-Fungible Mode: Required.952 * 953 * * value: Amount to transfer.954 * * Non-Fungible Mode: Ignored955 * * Fungible Mode: Must specify transferred amount956 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)957 **/958 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]>;959 /**960 * 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.961 * 962 * # Permissions963 * * Collection Owner964 * * Collection Admin965 * * Current NFT owner966 * * Address approved by current NFT owner967 * 968 * # Arguments969 * 970 * * from: Address that owns token.971 * 972 * * recipient: Address of token recipient.973 * 974 * * collection_id.975 * 976 * * item_id: ID of the item.977 * 978 * * value: Amount to transfer.979 **/980 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]>;981 /**982 * Generic tx983 **/984 [key: string]: SubmittableExtrinsicFunction<ApiType>;985 };986 vesting: {987 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;988 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;989 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>]>;990 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]>;991 /**992 * Generic tx993 **/994 [key: string]: SubmittableExtrinsicFunction<ApiType>;995 };996 xcmpQueue: {997 /**998 * Resumes all XCM executions for the XCMP queue.999 * 1000 * Note that this function doesn't change the status of the in/out bound channels.1001 * 1002 * - `origin`: Must pass `ControllerOrigin`.1003 **/1004 resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1005 /**1006 * Services a single overweight XCM.1007 * 1008 * - `origin`: Must pass `ExecuteOverweightOrigin`.1009 * - `index`: The index of the overweight XCM to service1010 * - `weight_limit`: The amount of weight that XCM execution may take.1011 * 1012 * Errors:1013 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.1014 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.1015 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.1016 * 1017 * Events:1018 * - `OverweightServiced`: On success.1019 **/1020 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1021 /**1022 * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin.1023 * 1024 * - `origin`: Must pass `ControllerOrigin`.1025 **/1026 suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;1027 /**1028 * Overwrites the number of pages of messages which must be in the queue after which we drop any further1029 * messages from the channel.1030 * 1031 * - `origin`: Must pass `Root`.1032 * - `new`: Desired value for `QueueConfigData.drop_threshold`1033 **/1034 updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1035 /**1036 * Overwrites the number of pages of messages which the queue must be reduced to before it signals that1037 * message sending may recommence after it has been suspended.1038 * 1039 * - `origin`: Must pass `Root`.1040 * - `new`: Desired value for `QueueConfigData.resume_threshold`1041 **/1042 updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1043 /**1044 * Overwrites the number of pages of messages which must be in the queue for the other side to be told to1045 * suspend their sending.1046 * 1047 * - `origin`: Must pass `Root`.1048 * - `new`: Desired value for `QueueConfigData.suspend_value`1049 **/1050 updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;1051 /**1052 * Overwrites the amount of remaining weight under which we stop processing messages.1053 * 1054 * - `origin`: Must pass `Root`.1055 * - `new`: Desired value for `QueueConfigData.threshold_weight`1056 **/1057 updateThresholdWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1058 /**1059 * Overwrites the speed to which the available weight approaches the maximum weight.1060 * A lower number results in a faster progression. A value of 1 makes the entire weight available initially.1061 * 1062 * - `origin`: Must pass `Root`.1063 * - `new`: Desired value for `QueueConfigData.weight_restrict_decay`.1064 **/1065 updateWeightRestrictDecay: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1066 /**1067 * Overwrite the maximum amount of weight any individual message may consume.1068 * Messages above this weight go into the overweight queue and may only be serviced explicitly.1069 * 1070 * - `origin`: Must pass `Root`.1071 * - `new`: Desired value for `QueueConfigData.xcmp_max_individual_weight`.1072 **/1073 updateXcmpMaxIndividualWeight: AugmentedSubmittable<(updated: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;1074 /**1075 * Generic tx1076 **/1077 [key: string]: SubmittableExtrinsicFunction<ApiType>;1078 };1079 } // AugmentedSubmittables1080} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-tx.ts56.3 KiBsourcehistory