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, 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 concrete instance of NFT Collection created with CreateCollection method.675 * 676 * # Permissions677 * 678 * * Collection Owner.679 * * Collection Admin.680 * * Anyone if681 * * Allow List is enabled, and682 * * Address is added to allow list, and683 * * MintPermission is enabled (see SetMintPermission method)684 * 685 * # Arguments686 * 687 * * collection_id: ID of the collection.688 * 689 * * owner: Address, initial owner of the NFT.690 * 691 * * data: Token data to store on chain.692 **/693 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]>;694 /**695 * This method creates multiple items in a collection created with CreateCollection method.696 * 697 * # Permissions698 * 699 * * Collection Owner.700 * * Collection Admin.701 * * Anyone if702 * * Allow List is enabled, and703 * * Address is added to allow list, and704 * * MintPermission is enabled (see SetMintPermission method)705 * 706 * # Arguments707 * 708 * * collection_id: ID of the collection.709 * 710 * * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].711 * 712 * * owner: Address, initial owner of the NFT.713 **/714 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>]>;715 /**716 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.717 * 718 * # Permissions719 * 720 * * Collection Owner.721 * 722 * # Arguments723 * 724 * * collection_id: collection to destroy.725 **/726 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;727 /**728 * 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.729 * 730 * # Permissions731 * 732 * * Collection Owner.733 * * Collection Admin.734 * 735 * # Arguments736 * 737 * * collection_id: ID of the Collection to remove admin for.738 * 739 * * account_id: Address of admin to remove.740 **/741 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;742 /**743 * Switch back to pay-per-own-transaction model.744 * 745 * # Permissions746 * 747 * * Collection owner.748 * 749 * # Arguments750 * 751 * * collection_id.752 **/753 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;754 /**755 * Remove an address from allow list.756 * 757 * # Permissions758 * 759 * * Collection Owner760 * * Collection Admin761 * 762 * # Arguments763 * 764 * * collection_id.765 * 766 * * address.767 **/768 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;769 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]>;770 /**771 * # Permissions772 * 773 * * Collection Owner774 * 775 * # Arguments776 * 777 * * collection_id.778 * 779 * * new_sponsor.780 **/781 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;782 /**783 * Set const on-chain data schema.784 * 785 * # Permissions786 * 787 * * Collection Owner788 * * Collection Admin789 * 790 * # Arguments791 * 792 * * collection_id.793 * 794 * * schema: String representing the const on-chain data schema.795 **/796 setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;797 /**798 * Set meta_update_permission value for particular collection799 * 800 * # Permissions801 * 802 * * Collection Owner.803 * 804 * # Arguments805 * 806 * * collection_id: ID of the collection.807 * 808 * * value: New flag value.809 **/810 setMetaUpdatePermissionFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: UpDataStructsMetaUpdatePermission | 'ItemOwner' | 'Admin' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsMetaUpdatePermission]>;811 /**812 * Allows Anyone to create tokens if:813 * * Allow List is enabled, and814 * * Address is added to allow list, and815 * * This method was called with True parameter816 * 817 * # Permissions818 * * Collection Owner819 * 820 * # Arguments821 * 822 * * collection_id.823 * 824 * * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.825 **/826 setMintPermission: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mintPermission: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;827 /**828 * Set off-chain data schema.829 * 830 * # Permissions831 * 832 * * Collection Owner833 * * Collection Admin834 * 835 * # Arguments836 * 837 * * collection_id.838 * 839 * * schema: String representing the offchain data schema.840 **/841 setOffchainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;842 /**843 * Toggle between normal and allow list access for the methods with access for `Anyone`.844 * 845 * # Permissions846 * 847 * * Collection Owner.848 * 849 * # Arguments850 * 851 * * collection_id.852 * 853 * * mode: [AccessMode]854 **/855 setPublicAccessMode: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mode: UpDataStructsAccessMode | 'Normal' | 'AllowList' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsAccessMode]>;856 /**857 * Set schema standard858 * ImageURL859 * Unique860 * 861 * # Permissions862 * 863 * * Collection Owner864 * * Collection Admin865 * 866 * # Arguments867 * 868 * * collection_id.869 * 870 * * schema: SchemaVersion: enum871 **/872 setSchemaVersion: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, version: UpDataStructsSchemaVersion | 'ImageURL' | 'Unique' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsSchemaVersion]>;873 /**874 * Set transfers_enabled value for particular collection875 * 876 * # Permissions877 * 878 * * Collection Owner.879 * 880 * # Arguments881 * 882 * * collection_id: ID of the collection.883 * 884 * * value: New flag value.885 **/886 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;887 /**888 * Set off-chain data schema.889 * 890 * # Permissions891 * 892 * * Collection Owner893 * * Collection Admin894 * 895 * # Arguments896 * 897 * * collection_id.898 * 899 * * schema: String representing the offchain data schema.900 **/901 setVariableMetaData: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;902 /**903 * Set variable on-chain data schema.904 * 905 * # Permissions906 * 907 * * Collection Owner908 * * Collection Admin909 * 910 * # Arguments911 * 912 * * collection_id.913 * 914 * * schema: String representing the variable on-chain data schema.915 **/916 setVariableOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;917 /**918 * Change ownership of the token.919 * 920 * # Permissions921 * 922 * * Collection Owner923 * * Collection Admin924 * * Current NFT owner925 * 926 * # Arguments927 * 928 * * recipient: Address of token recipient.929 * 930 * * collection_id.931 * 932 * * item_id: ID of the item933 * * Non-Fungible Mode: Required.934 * * Fungible Mode: Ignored.935 * * Re-Fungible Mode: Required.936 * 937 * * value: Amount to transfer.938 * * Non-Fungible Mode: Ignored939 * * Fungible Mode: Must specify transferred amount940 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)941 **/942 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]>;943 /**944 * 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.945 * 946 * # Permissions947 * * Collection Owner948 * * Collection Admin949 * * Current NFT owner950 * * Address approved by current NFT owner951 * 952 * # Arguments953 * 954 * * from: Address that owns token.955 * 956 * * recipient: Address of token recipient.957 * 958 * * collection_id.959 * 960 * * item_id: ID of the item.961 * 962 * * value: Amount to transfer.963 **/964 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]>;965 /**966 * Generic tx967 **/968 [key: string]: SubmittableExtrinsicFunction<ApiType>;969 };970 vesting: {971 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;972 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;973 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>]>;974 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]>;975 /**976 * Generic tx977 **/978 [key: string]: SubmittableExtrinsicFunction<ApiType>;979 };980 xcmpQueue: {981 /**982 * Services a single overweight XCM.983 * 984 * - `origin`: Must pass `ExecuteOverweightOrigin`.985 * - `index`: The index of the overweight XCM to service986 * - `weight_limit`: The amount of weight that XCM execution may take.987 * 988 * Errors:989 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.990 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.991 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.992 * 993 * Events:994 * - `OverweightServiced`: On success.995 **/996 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;997 /**998 * Generic tx999 **/1000 [key: string]: SubmittableExtrinsicFunction<ApiType>;1001 };1002 }10031004 export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {1005 (extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;1006 [key: string]: SubmittableModuleExtrinsics<ApiType>;1007 }1008}difftreelog
source
tests/src/interfaces/augment-api-tx.ts50.6 KiBsourcehistory