1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { CumulusPrimitivesParachainInherentParachainInherentData } from './polkadot';5import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion } from './unique';6import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';7import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';8import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';9import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';10import type { XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';11import type { AnyNumber, ITuple } from '@polkadot/types/types';1213declare module '@polkadot/api/types/submittable' {14 export interface AugmentedSubmittables<ApiType> {15 balances: {16 /**17 * Exactly as `transfer`, except the origin must be root and the source account may be18 * specified.19 * # <weight>20 * - Same as transfer, but additional read and write because the source account is not21 * assumed to be in the overlay.22 * # </weight>23 **/24 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>]>;25 /**26 * Unreserve some balance from a user by force.27 * 28 * Can only be called by ROOT.29 **/30 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;31 /**32 * Set the balances of a given account.33 * 34 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will35 * also alter the total issuance of the system (`TotalIssuance`) appropriately.36 * If the new free or reserved balance is below the existential deposit,37 * it will reset the account nonce (`frame_system::AccountNonce`).38 * 39 * The dispatch origin for this call is `root`.40 **/41 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>]>;42 /**43 * Transfer some liquid free balance to another account.44 * 45 * `transfer` will set the `FreeBalance` of the sender and receiver.46 * If the sender's account is below the existential deposit as a result47 * of the transfer, the account will be reaped.48 * 49 * The dispatch origin for this call must be `Signed` by the transactor.50 * 51 * # <weight>52 * - Dependent on arguments but not critical, given proper implementations for input config53 * types. See related functions below.54 * - It contains a limited number of reads and writes internally and no complex55 * computation.56 * 57 * Related functions:58 * 59 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.60 * - Transferring balances to accounts that did not exist before will cause61 * `T::OnNewAccount::on_new_account` to be called.62 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.63 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check64 * that the transfer will not kill the origin account.65 * ---------------------------------66 * - Origin account is already in memory, so no DB operations for them.67 * # </weight>68 **/69 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>]>;70 /**71 * Transfer the entire transferable balance from the caller account.72 * 73 * NOTE: This function only attempts to transfer _transferable_ balances. This means that74 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be75 * transferred by this function. To ensure that this function results in a killed account,76 * you might need to prepare the account by removing any reference counters, storage77 * deposits, etc...78 * 79 * The dispatch origin of this call must be Signed.80 * 81 * - `dest`: The recipient of the transfer.82 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all83 * of the funds the account has, causing the sender account to be killed (false), or84 * transfer everything except at least the existential deposit, which will guarantee to85 * keep the sender account alive (true). # <weight>86 * - O(1). Just like transfer, but reading the user's transferable balance first.87 * #</weight>88 **/89 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;90 /**91 * Same as the [`transfer`] call, but with a check that the transfer will not kill the92 * origin account.93 * 94 * 99% of the time you want [`transfer`] instead.95 * 96 * [`transfer`]: struct.Pallet.html#method.transfer97 **/98 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>]>;99 /**100 * Generic tx101 **/102 [key: string]: SubmittableExtrinsicFunction<ApiType>;103 };104 charging: {105 /**106 * Generic tx107 **/108 [key: string]: SubmittableExtrinsicFunction<ApiType>;109 };110 cumulusXcm: {111 /**112 * Generic tx113 **/114 [key: string]: SubmittableExtrinsicFunction<ApiType>;115 };116 dmpQueue: {117 /**118 * Service a single overweight message.119 * 120 * - `origin`: Must pass `ExecuteOverweightOrigin`.121 * - `index`: The index of the overweight message to service.122 * - `weight_limit`: The amount of weight that message execution may take.123 * 124 * Errors:125 * - `Unknown`: Message of `index` is unknown.126 * - `OverLimit`: Message execution may use greater than `weight_limit`.127 * 128 * Events:129 * - `OverweightServiced`: On success.130 **/131 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;132 /**133 * Generic tx134 **/135 [key: string]: SubmittableExtrinsicFunction<ApiType>;136 };137 ethereum: {138 /**139 * Transact an Ethereum transaction.140 **/141 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;142 /**143 * Generic tx144 **/145 [key: string]: SubmittableExtrinsicFunction<ApiType>;146 };147 evm: {148 /**149 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.150 **/151 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>]>>]>;152 /**153 * Issue an EVM create operation. This is similar to a contract creation transaction in154 * Ethereum.155 **/156 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>]>>]>;157 /**158 * Issue an EVM create2 operation.159 **/160 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>]>>]>;161 /**162 * Withdraw balance from EVM into currency/balances pallet.163 **/164 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;165 /**166 * Generic tx167 **/168 [key: string]: SubmittableExtrinsicFunction<ApiType>;169 };170 evmMigration: {171 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;172 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;173 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;174 /**175 * Generic tx176 **/177 [key: string]: SubmittableExtrinsicFunction<ApiType>;178 };179 inflation: {180 /**181 * This method sets the inflation start date. Can be only called once.182 * Inflation start block can be backdated and will catch up. The method will create Treasury183 * account if it does not exist and perform the first inflation deposit.184 * 185 * # Permissions186 * 187 * * Root188 * 189 * # Arguments190 * 191 * * inflation_start_relay_block: The relay chain block at which inflation should start192 **/193 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;194 /**195 * Generic tx196 **/197 [key: string]: SubmittableExtrinsicFunction<ApiType>;198 };199 parachainSystem: {200 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;201 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;202 /**203 * Set the current validation data.204 * 205 * This should be invoked exactly once per block. It will panic at the finalization206 * phase if the call was not invoked.207 * 208 * The dispatch origin for this call must be `Inherent`209 * 210 * As a side effect, this function upgrades the current validation function211 * if the appropriate time has come.212 **/213 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;214 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;215 /**216 * Generic tx217 **/218 [key: string]: SubmittableExtrinsicFunction<ApiType>;219 };220 polkadotXcm: {221 /**222 * Execute an XCM message from a local, signed, origin.223 * 224 * An event is deposited indicating whether `msg` could be executed completely or only225 * partially.226 * 227 * No more than `max_weight` will be used in its attempted execution. If this is less than the228 * maximum amount of weight that the message could take to be executed, then no execution229 * attempt will be made.230 * 231 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully232 * to completion; only that *some* of it was executed.233 **/234 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;235 /**236 * Set a safe XCM version (the version that XCM should be encoded with if the most recent237 * version a destination can accept is unknown).238 * 239 * - `origin`: Must be Root.240 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.241 **/242 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;243 /**244 * Ask a location to notify us regarding their XCM version and any changes to it.245 * 246 * - `origin`: Must be Root.247 * - `location`: The location to which we should subscribe for XCM version notifications.248 **/249 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;250 /**251 * Require that a particular destination should no longer notify us regarding any XCM252 * version changes.253 * 254 * - `origin`: Must be Root.255 * - `location`: The location to which we are currently subscribed for XCM version256 * notifications which we no longer desire.257 **/258 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;259 /**260 * Extoll that a particular destination can be communicated with through a particular261 * version of XCM.262 * 263 * - `origin`: Must be Root.264 * - `location`: The destination that is being described.265 * - `xcm_version`: The latest version of XCM that `location` supports.266 **/267 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;268 /**269 * Transfer some assets from the local chain to the sovereign account of a destination chain and forward270 * a notification XCM.271 * 272 * Fee payment on the destination side is made from the first asset listed in the `assets` vector.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 first asset listed in the `assets` vector.290 * 291 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.292 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send293 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.294 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be295 * an `AccountId32` value.296 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the297 * `dest` side. May not be empty.298 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay299 * fees.300 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.301 **/302 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]>;303 /**304 * Transfer some assets from the local chain to the sovereign account of a destination chain and forward305 * a notification XCM.306 * 307 * Fee payment on the destination side is made from the first asset listed in the `assets` vector and308 * fee-weight is calculated locally and thus remote weights are assumed to be equal to309 * local weights.310 * 311 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.312 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send313 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.314 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be315 * an `AccountId32` value.316 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the317 * `dest` side.318 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay319 * fees.320 **/321 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]>;322 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;323 /**324 * Teleport some assets from the local chain to some destination chain.325 * 326 * Fee payment on the destination side is made from the first asset listed in the `assets` vector and327 * fee-weight is calculated locally and thus remote weights are assumed to be equal to328 * local weights.329 * 330 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.331 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send332 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.333 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be334 * an `AccountId32` value.335 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the336 * `dest` side. May not be empty.337 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay338 * fees.339 **/340 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]>;341 /**342 * Generic tx343 **/344 [key: string]: SubmittableExtrinsicFunction<ApiType>;345 };346 sudo: {347 /**348 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo349 * key.350 * 351 * The dispatch origin for this call must be _Signed_.352 * 353 * # <weight>354 * - O(1).355 * - Limited storage reads.356 * - One DB change.357 * # </weight>358 **/359 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;360 /**361 * Authenticates the sudo key and dispatches a function call with `Root` origin.362 * 363 * The dispatch origin for this call must be _Signed_.364 * 365 * # <weight>366 * - O(1).367 * - Limited storage reads.368 * - One DB write (event).369 * - Weight of derivative `call` execution + 10,000.370 * # </weight>371 **/372 sudo: AugmentedSubmittable<(call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;373 /**374 * Authenticates the sudo key and dispatches a function call with `Signed` origin from375 * a given account.376 * 377 * The dispatch origin for this call must be _Signed_.378 * 379 * # <weight>380 * - O(1).381 * - Limited storage reads.382 * - One DB write (event).383 * - Weight of derivative `call` execution + 10,000.384 * # </weight>385 **/386 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;387 /**388 * Authenticates the sudo key and dispatches a function call with `Root` origin.389 * This function does not check the weight of the call, and instead allows the390 * Sudo user to specify the weight of the call.391 * 392 * The dispatch origin for this call must be _Signed_.393 * 394 * # <weight>395 * - O(1).396 * - The weight of this call is defined by the caller.397 * # </weight>398 **/399 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;400 /**401 * Generic tx402 **/403 [key: string]: SubmittableExtrinsicFunction<ApiType>;404 };405 system: {406 /**407 * A dispatch that will fill the block weight up to the given ratio.408 **/409 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;410 /**411 * Kill all storage items with a key that starts with the given prefix.412 * 413 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under414 * the prefix we are removing to accurately calculate the weight of this function.415 **/416 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;417 /**418 * Kill some items from storage.419 **/420 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;421 /**422 * Make some on-chain remark.423 * 424 * # <weight>425 * - `O(1)`426 * # </weight>427 **/428 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;429 /**430 * Make some on-chain remark and emit event.431 * 432 * # <weight>433 * - `O(b)` where b is the length of the remark.434 * - 1 event.435 * # </weight>436 **/437 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;438 /**439 * Set the new runtime code.440 * 441 * # <weight>442 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`443 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is444 * expensive).445 * - 1 storage write (codec `O(C)`).446 * - 1 digest item.447 * - 1 event.448 * The weight of this function is dependent on the runtime, but generally this is very449 * expensive. We will treat this as a full block.450 * # </weight>451 **/452 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;453 /**454 * Set the new runtime code without doing any checks of the given `code`.455 * 456 * # <weight>457 * - `O(C)` where `C` length of `code`458 * - 1 storage write (codec `O(C)`).459 * - 1 digest item.460 * - 1 event.461 * The weight of this function is dependent on the runtime. We will treat this as a full462 * block. # </weight>463 **/464 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;465 /**466 * Set the number of pages in the WebAssembly environment's heap.467 **/468 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;469 /**470 * Set some items of storage.471 **/472 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;473 /**474 * Generic tx475 **/476 [key: string]: SubmittableExtrinsicFunction<ApiType>;477 };478 timestamp: {479 /**480 * Set the current time.481 * 482 * This call should be invoked exactly once per block. It will panic at the finalization483 * phase, if this call hasn't been invoked by that time.484 * 485 * The timestamp should be greater than the previous one by the amount specified by486 * `MinimumPeriod`.487 * 488 * The dispatch origin for this call must be `Inherent`.489 * 490 * # <weight>491 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)492 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in493 * `on_finalize`)494 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.495 * # </weight>496 **/497 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;498 /**499 * Generic tx500 **/501 [key: string]: SubmittableExtrinsicFunction<ApiType>;502 };503 treasury: {504 /**505 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary506 * and the original deposit will be returned.507 * 508 * May only be called from `T::ApproveOrigin`.509 * 510 * # <weight>511 * - Complexity: O(1).512 * - DbReads: `Proposals`, `Approvals`513 * - DbWrite: `Approvals`514 * # </weight>515 **/516 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;517 /**518 * Put forward a suggestion for spending. A deposit proportional to the value519 * is reserved and slashed if the proposal is rejected. It is returned once the520 * proposal is awarded.521 * 522 * # <weight>523 * - Complexity: O(1)524 * - DbReads: `ProposalCount`, `origin account`525 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`526 * # </weight>527 **/528 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]>;529 /**530 * Reject a proposed spend. The original deposit will be slashed.531 * 532 * May only be called from `T::RejectOrigin`.533 * 534 * # <weight>535 * - Complexity: O(1)536 * - DbReads: `Proposals`, `rejected proposer account`537 * - DbWrites: `Proposals`, `rejected proposer account`538 * # </weight>539 **/540 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;541 /**542 * Generic tx543 **/544 [key: string]: SubmittableExtrinsicFunction<ApiType>;545 };546 unique: {547 /**548 * Adds an admin of the Collection.549 * 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.550 * 551 * # Permissions552 * 553 * * Collection Owner.554 * * Collection Admin.555 * 556 * # Arguments557 * 558 * * collection_id: ID of the Collection to add admin for.559 * 560 * * new_admin_id: Address of new admin to add.561 **/562 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;563 /**564 * Add an address to allow list.565 * 566 * # Permissions567 * 568 * * Collection Owner569 * * Collection Admin570 * 571 * # Arguments572 * 573 * * collection_id.574 * 575 * * address.576 **/577 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;578 /**579 * Set, change, or remove approved address to transfer the ownership of the NFT.580 * 581 * # Permissions582 * 583 * * Collection Owner584 * * Collection Admin585 * * Current NFT owner586 * 587 * # Arguments588 * 589 * * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).590 * 591 * * collection_id.592 * 593 * * item_id: ID of the item.594 **/595 approve: AugmentedSubmittable<(spender: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;596 /**597 * Destroys a concrete instance of NFT on behalf of the owner598 * See also: [`approve`]599 * 600 * # Permissions601 * 602 * * Collection Owner.603 * * Collection Admin.604 * * Current NFT Owner.605 * 606 * # Arguments607 * 608 * * collection_id: ID of the collection.609 * 610 * * item_id: ID of NFT to burn.611 * 612 * * from: owner of item613 **/614 burnFrom: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, u32, u128]>;615 /**616 * Destroys a concrete instance of NFT.617 * 618 * # Permissions619 * 620 * * Collection Owner.621 * * Collection Admin.622 * * Current NFT Owner.623 * 624 * # Arguments625 * 626 * * collection_id: ID of the collection.627 * 628 * * item_id: ID of NFT to burn.629 **/630 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;631 /**632 * Change the owner of the collection.633 * 634 * # Permissions635 * 636 * * Collection Owner.637 * 638 * # Arguments639 * 640 * * collection_id.641 * 642 * * new_owner.643 **/644 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;645 /**646 * # Permissions647 * 648 * * Sponsor.649 * 650 * # Arguments651 * 652 * * collection_id.653 **/654 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;655 /**656 * 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.657 * 658 * # Permissions659 * 660 * * Anyone.661 * 662 * # Arguments663 * 664 * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.665 * 666 * * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.667 * 668 * * token_prefix: UTF-8 string with token prefix.669 * 670 * * mode: [CollectionMode] collection type and type dependent data.671 **/672 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]>;673 /**674 * This method creates a collection675 * 676 * Prefer it to deprecated [`created_collection`] method677 **/678 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 } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [UpDataStructsCreateCollectionData]>;679 /**680 * This method creates a concrete instance of NFT Collection created with CreateCollection method.681 * 682 * # Permissions683 * 684 * * Collection Owner.685 * * Collection Admin.686 * * Anyone if687 * * Allow List is enabled, and688 * * Address is added to allow list, and689 * * MintPermission is enabled (see SetMintPermission method)690 * 691 * # Arguments692 * 693 * * collection_id: ID of the collection.694 * 695 * * owner: Address, initial owner of the NFT.696 * 697 * * data: Token data to store on chain.698 **/699 createItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, data: UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsCreateItemData]>;700 /**701 * This method creates multiple items in a collection created with CreateCollection method.702 * 703 * # Permissions704 * 705 * * Collection Owner.706 * * Collection Admin.707 * * Anyone if708 * * Allow List is enabled, and709 * * Address is added to allow list, and710 * * MintPermission is enabled (see SetMintPermission method)711 * 712 * # Arguments713 * 714 * * collection_id: ID of the collection.715 * 716 * * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].717 * 718 * * owner: Address, initial owner of the NFT.719 **/720 createMultipleItems: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, owner: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, itemsData: Vec<UpDataStructsCreateItemData> | (UpDataStructsCreateItemData | { NFT: any } | { Fungible: any } | { ReFungible: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr, Vec<UpDataStructsCreateItemData>]>;721 /**722 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.723 * 724 * # Permissions725 * 726 * * Collection Owner.727 * 728 * # Arguments729 * 730 * * collection_id: collection to destroy.731 **/732 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;733 /**734 * 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.735 * 736 * # Permissions737 * 738 * * Collection Owner.739 * * Collection Admin.740 * 741 * # Arguments742 * 743 * * collection_id: ID of the Collection to remove admin for.744 * 745 * * account_id: Address of admin to remove.746 **/747 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;748 /**749 * Switch back to pay-per-own-transaction model.750 * 751 * # Permissions752 * 753 * * Collection owner.754 * 755 * # Arguments756 * 757 * * collection_id.758 **/759 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;760 /**761 * Remove an address from allow list.762 * 763 * # Permissions764 * 765 * * Collection Owner766 * * Collection Admin767 * 768 * # Arguments769 * 770 * * collection_id.771 * 772 * * address.773 **/774 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;775 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]>;776 /**777 * # Permissions778 * 779 * * Collection Owner780 * 781 * # Arguments782 * 783 * * collection_id.784 * 785 * * new_sponsor.786 **/787 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;788 /**789 * Set const on-chain data schema.790 * 791 * # Permissions792 * 793 * * Collection Owner794 * * Collection Admin795 * 796 * # Arguments797 * 798 * * collection_id.799 * 800 * * schema: String representing the const on-chain data schema.801 **/802 setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;803 /**804 * Set meta_update_permission value for particular collection805 * 806 * # Permissions807 * 808 * * Collection Owner.809 * 810 * # Arguments811 * 812 * * collection_id: ID of the collection.813 * 814 * * value: New flag value.815 **/816 setMetaUpdatePermissionFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: UpDataStructsMetaUpdatePermission | 'ItemOwner' | 'Admin' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsMetaUpdatePermission]>;817 /**818 * Allows Anyone to create tokens if:819 * * Allow List is enabled, and820 * * Address is added to allow list, and821 * * This method was called with True parameter822 * 823 * # Permissions824 * * Collection Owner825 * 826 * # Arguments827 * 828 * * collection_id.829 * 830 * * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.831 **/832 setMintPermission: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mintPermission: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;833 /**834 * Set off-chain data schema.835 * 836 * # Permissions837 * 838 * * Collection Owner839 * * Collection Admin840 * 841 * # Arguments842 * 843 * * collection_id.844 * 845 * * schema: String representing the offchain data schema.846 **/847 setOffchainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;848 /**849 * Toggle between normal and allow list access for the methods with access for `Anyone`.850 * 851 * # Permissions852 * 853 * * Collection Owner.854 * 855 * # Arguments856 * 857 * * collection_id.858 * 859 * * mode: [AccessMode]860 **/861 setPublicAccessMode: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mode: UpDataStructsAccessMode | 'Normal' | 'AllowList' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsAccessMode]>;862 /**863 * Set schema standard864 * ImageURL865 * Unique866 * 867 * # Permissions868 * 869 * * Collection Owner870 * * Collection Admin871 * 872 * # Arguments873 * 874 * * collection_id.875 * 876 * * schema: SchemaVersion: enum877 **/878 setSchemaVersion: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, version: UpDataStructsSchemaVersion | 'ImageURL' | 'Unique' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsSchemaVersion]>;879 /**880 * Set transfers_enabled value for particular collection881 * 882 * # Permissions883 * 884 * * Collection Owner.885 * 886 * # Arguments887 * 888 * * collection_id: ID of the collection.889 * 890 * * value: New flag value.891 **/892 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;893 /**894 * Set off-chain data schema.895 * 896 * # Permissions897 * 898 * * Collection Owner899 * * Collection Admin900 * 901 * # Arguments902 * 903 * * collection_id.904 * 905 * * schema: String representing the offchain data schema.906 **/907 setVariableMetaData: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;908 /**909 * Set variable on-chain data schema.910 * 911 * # Permissions912 * 913 * * Collection Owner914 * * Collection Admin915 * 916 * # Arguments917 * 918 * * collection_id.919 * 920 * * schema: String representing the variable on-chain data schema.921 **/922 setVariableOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;923 /**924 * Change ownership of the token.925 * 926 * # Permissions927 * 928 * * Collection Owner929 * * Collection Admin930 * * Current NFT owner931 * 932 * # Arguments933 * 934 * * recipient: Address of token recipient.935 * 936 * * collection_id.937 * 938 * * item_id: ID of the item939 * * Non-Fungible Mode: Required.940 * * Fungible Mode: Ignored.941 * * Re-Fungible Mode: Required.942 * 943 * * value: Amount to transfer.944 * * Non-Fungible Mode: Ignored945 * * Fungible Mode: Must specify transferred amount946 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)947 **/948 transfer: AugmentedSubmittable<(recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;949 /**950 * 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.951 * 952 * # Permissions953 * * Collection Owner954 * * Collection Admin955 * * Current NFT owner956 * * Address approved by current NFT owner957 * 958 * # Arguments959 * 960 * * from: Address that owns token.961 * 962 * * recipient: Address of token recipient.963 * 964 * * collection_id.965 * 966 * * item_id: ID of the item.967 * 968 * * value: Amount to transfer.969 **/970 transferFrom: AugmentedSubmittable<(from: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, recipient: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array, collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCommonAccountBasicCrossAccountIdRepr, PalletCommonAccountBasicCrossAccountIdRepr, u32, u32, u128]>;971 /**972 * Generic tx973 **/974 [key: string]: SubmittableExtrinsicFunction<ApiType>;975 };976 vesting: {977 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;978 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;979 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>]>;980 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]>;981 /**982 * Generic tx983 **/984 [key: string]: SubmittableExtrinsicFunction<ApiType>;985 };986 xcmpQueue: {987 /**988 * Services a single overweight XCM.989 * 990 * - `origin`: Must pass `ExecuteOverweightOrigin`.991 * - `index`: The index of the overweight XCM to service992 * - `weight_limit`: The amount of weight that XCM execution may take.993 * 994 * Errors:995 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.996 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.997 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.998 * 999 * Events:1000 * - `OverweightServiced`: On success.1001 **/1002 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1003 /**1004 * Generic tx1005 **/1006 [key: string]: SubmittableExtrinsicFunction<ApiType>;1007 };1008 }10091010 export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {1011 (extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;1012 [key: string]: SubmittableModuleExtrinsics<ApiType>;1013 }1014}difftreelog
source
tests/src/interfaces/augment-api-tx.ts51.2 KiBsourcehistory