1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */34import type { ApiTypes } from '@polkadot/api-base/types';5import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';6import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';7import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';8import type { CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionTransactionV2, OrmlVestingVestingSchedule, PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateCollectionData, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';910declare module '@polkadot/api-base/types/submittable' {11 export interface AugmentedSubmittables<ApiType extends ApiTypes> {12 balances: {13 /**14 * Exactly as `transfer`, except the origin must be root and the source account may be15 * specified.16 * # <weight>17 * - Same as transfer, but additional read and write because the source account is not18 * assumed to be in the overlay.19 * # </weight>20 **/21 forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;22 /**23 * Unreserve some balance from a user by force.24 * 25 * Can only be called by ROOT.26 **/27 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;28 /**29 * Set the balances of a given account.30 * 31 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will32 * also alter the total issuance of the system (`TotalIssuance`) appropriately.33 * If the new free or reserved balance is below the existential deposit,34 * it will reset the account nonce (`frame_system::AccountNonce`).35 * 36 * The dispatch origin for this call is `root`.37 **/38 setBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, newReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;39 /**40 * Transfer some liquid free balance to another account.41 * 42 * `transfer` will set the `FreeBalance` of the sender and receiver.43 * If the sender's account is below the existential deposit as a result44 * of the transfer, the account will be reaped.45 * 46 * The dispatch origin for this call must be `Signed` by the transactor.47 * 48 * # <weight>49 * - Dependent on arguments but not critical, given proper implementations for input config50 * types. See related functions below.51 * - It contains a limited number of reads and writes internally and no complex52 * computation.53 * 54 * Related functions:55 * 56 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.57 * - Transferring balances to accounts that did not exist before will cause58 * `T::OnNewAccount::on_new_account` to be called.59 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.60 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check61 * that the transfer will not kill the origin account.62 * ---------------------------------63 * - Origin account is already in memory, so no DB operations for them.64 * # </weight>65 **/66 transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;67 /**68 * Transfer the entire transferable balance from the caller account.69 * 70 * NOTE: This function only attempts to transfer _transferable_ balances. This means that71 * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be72 * transferred by this function. To ensure that this function results in a killed account,73 * you might need to prepare the account by removing any reference counters, storage74 * deposits, etc...75 * 76 * The dispatch origin of this call must be Signed.77 * 78 * - `dest`: The recipient of the transfer.79 * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all80 * of the funds the account has, causing the sender account to be killed (false), or81 * transfer everything except at least the existential deposit, which will guarantee to82 * keep the sender account alive (true). # <weight>83 * - O(1). Just like transfer, but reading the user's transferable balance first.84 * #</weight>85 **/86 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;87 /**88 * Same as the [`transfer`] call, but with a check that the transfer will not kill the89 * origin account.90 * 91 * 99% of the time you want [`transfer`] instead.92 * 93 * [`transfer`]: struct.Pallet.html#method.transfer94 **/95 transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;96 /**97 * Generic tx98 **/99 [key: string]: SubmittableExtrinsicFunction<ApiType>;100 };101 charging: {102 /**103 * Generic tx104 **/105 [key: string]: SubmittableExtrinsicFunction<ApiType>;106 };107 cumulusXcm: {108 /**109 * Generic tx110 **/111 [key: string]: SubmittableExtrinsicFunction<ApiType>;112 };113 dmpQueue: {114 /**115 * Service a single overweight message.116 * 117 * - `origin`: Must pass `ExecuteOverweightOrigin`.118 * - `index`: The index of the overweight message to service.119 * - `weight_limit`: The amount of weight that message execution may take.120 * 121 * Errors:122 * - `Unknown`: Message of `index` is unknown.123 * - `OverLimit`: Message execution may use greater than `weight_limit`.124 * 125 * Events:126 * - `OverweightServiced`: On success.127 **/128 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;129 /**130 * Generic tx131 **/132 [key: string]: SubmittableExtrinsicFunction<ApiType>;133 };134 ethereum: {135 /**136 * Transact an Ethereum transaction.137 **/138 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;139 /**140 * Generic tx141 **/142 [key: string]: SubmittableExtrinsicFunction<ApiType>;143 };144 evm: {145 /**146 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.147 **/148 call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;149 /**150 * Issue an EVM create operation. This is similar to a contract creation transaction in151 * Ethereum.152 **/153 create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;154 /**155 * Issue an EVM create2 operation.156 **/157 create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, maxFeePerGas: U256 | AnyNumber | Uint8Array, maxPriorityFeePerGas: Option<U256> | null | object | string | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array, accessList: Vec<ITuple<[H160, Vec<H256>]>> | ([H160 | string | Uint8Array, Vec<H256> | (H256 | string | Uint8Array)[]])[]) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>, Option<U256>, Vec<ITuple<[H160, Vec<H256>]>>]>;158 /**159 * Withdraw balance from EVM into currency/balances pallet.160 **/161 withdraw: AugmentedSubmittable<(address: H160 | string | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, u128]>;162 /**163 * Generic tx164 **/165 [key: string]: SubmittableExtrinsicFunction<ApiType>;166 };167 evmMigration: {168 begin: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;169 finish: AugmentedSubmittable<(address: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes]>;170 setData: AugmentedSubmittable<(address: H160 | string | Uint8Array, data: Vec<ITuple<[H256, H256]>> | ([H256 | string | Uint8Array, H256 | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [H160, Vec<ITuple<[H256, H256]>>]>;171 /**172 * Generic tx173 **/174 [key: string]: SubmittableExtrinsicFunction<ApiType>;175 };176 inflation: {177 /**178 * This method sets the inflation start date. Can be only called once.179 * Inflation start block can be backdated and will catch up. The method will create Treasury180 * account if it does not exist and perform the first inflation deposit.181 * 182 * # Permissions183 * 184 * * Root185 * 186 * # Arguments187 * 188 * * inflation_start_relay_block: The relay chain block at which inflation should start189 **/190 startInflation: AugmentedSubmittable<(inflationStartRelayBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;191 /**192 * Generic tx193 **/194 [key: string]: SubmittableExtrinsicFunction<ApiType>;195 };196 parachainSystem: {197 authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;198 enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;199 /**200 * Set the current validation data.201 * 202 * This should be invoked exactly once per block. It will panic at the finalization203 * phase if the call was not invoked.204 * 205 * The dispatch origin for this call must be `Inherent`206 * 207 * As a side effect, this function upgrades the current validation function208 * if the appropriate time has come.209 **/210 setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [CumulusPrimitivesParachainInherentParachainInherentData]>;211 sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;212 /**213 * Generic tx214 **/215 [key: string]: SubmittableExtrinsicFunction<ApiType>;216 };217 polkadotXcm: {218 /**219 * Execute an XCM message from a local, signed, origin.220 * 221 * An event is deposited indicating whether `msg` could be executed completely or only222 * partially.223 * 224 * No more than `max_weight` will be used in its attempted execution. If this is less than the225 * maximum amount of weight that the message could take to be executed, then no execution226 * attempt will be made.227 * 228 * NOTE: A successful return to this does *not* imply that the `msg` was executed successfully229 * to completion; only that *some* of it was executed.230 **/231 execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, u64]>;232 /**233 * Set a safe XCM version (the version that XCM should be encoded with if the most recent234 * version a destination can accept is unknown).235 * 236 * - `origin`: Must be Root.237 * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.238 **/239 forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;240 /**241 * Ask a location to notify us regarding their XCM version and any changes to it.242 * 243 * - `origin`: Must be Root.244 * - `location`: The location to which we should subscribe for XCM version notifications.245 **/246 forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;247 /**248 * Require that a particular destination should no longer notify us regarding any XCM249 * version changes.250 * 251 * - `origin`: Must be Root.252 * - `location`: The location to which we are currently subscribed for XCM version253 * notifications which we no longer desire.254 **/255 forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation]>;256 /**257 * Extoll that a particular destination can be communicated with through a particular258 * version of XCM.259 * 260 * - `origin`: Must be Root.261 * - `location`: The destination that is being described.262 * - `xcm_version`: The latest version of XCM that `location` supports.263 **/264 forceXcmVersion: AugmentedSubmittable<(location: XcmV1MultiLocation | { parents?: any; interior?: any } | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;265 /**266 * Transfer some assets from the local chain to the sovereign account of a destination chain and forward267 * a notification XCM.268 * 269 * Fee payment on the destination side is made from the first asset listed in the `assets` vector.270 * 271 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.272 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send273 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.274 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be275 * an `AccountId32` value.276 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the277 * `dest` side.278 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay279 * fees.280 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.281 **/282 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]>;283 /**284 * Teleport some assets from the local chain to some destination chain.285 * 286 * Fee payment on the destination side is made from the first asset listed in the `assets` vector.287 * 288 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.289 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send290 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.291 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be292 * an `AccountId32` value.293 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the294 * `dest` side. May not be empty.295 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay296 * fees.297 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.298 **/299 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]>;300 /**301 * Transfer some assets from the local chain to the sovereign account of a destination chain and forward302 * a notification XCM.303 * 304 * Fee payment on the destination side is made from the first asset listed in the `assets` vector and305 * fee-weight is calculated locally and thus remote weights are assumed to be equal to306 * local weights.307 * 308 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.309 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send310 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.311 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be312 * an `AccountId32` value.313 * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the314 * `dest` side.315 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay316 * fees.317 **/318 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]>;319 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;320 /**321 * Teleport some assets from the local chain to some destination chain.322 * 323 * Fee payment on the destination side is made from the first asset listed in the `assets` vector and324 * fee-weight is calculated locally and thus remote weights are assumed to be equal to325 * local weights.326 * 327 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.328 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send329 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.330 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be331 * an `AccountId32` value.332 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the333 * `dest` side. May not be empty.334 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay335 * fees.336 **/337 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]>;338 /**339 * Generic tx340 **/341 [key: string]: SubmittableExtrinsicFunction<ApiType>;342 };343 sudo: {344 /**345 * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo346 * key.347 * 348 * The dispatch origin for this call must be _Signed_.349 * 350 * # <weight>351 * - O(1).352 * - Limited storage reads.353 * - One DB change.354 * # </weight>355 **/356 setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;357 /**358 * Authenticates the sudo key and dispatches a function call with `Root` origin.359 * 360 * The dispatch origin for this call must be _Signed_.361 * 362 * # <weight>363 * - O(1).364 * - Limited storage reads.365 * - One DB write (event).366 * - Weight of derivative `call` execution + 10,000.367 * # </weight>368 **/369 sudo: AugmentedSubmittable<(call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;370 /**371 * Authenticates the sudo key and dispatches a function call with `Signed` origin from372 * a given account.373 * 374 * The dispatch origin for this call must be _Signed_.375 * 376 * # <weight>377 * - O(1).378 * - Limited storage reads.379 * - One DB write (event).380 * - Weight of derivative `call` execution + 10,000.381 * # </weight>382 **/383 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;384 /**385 * Authenticates the sudo key and dispatches a function call with `Root` origin.386 * This function does not check the weight of the call, and instead allows the387 * Sudo user to specify the weight of the call.388 * 389 * The dispatch origin for this call must be _Signed_.390 * 391 * # <weight>392 * - O(1).393 * - The weight of this call is defined by the caller.394 * # </weight>395 **/396 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;397 /**398 * Generic tx399 **/400 [key: string]: SubmittableExtrinsicFunction<ApiType>;401 };402 system: {403 /**404 * A dispatch that will fill the block weight up to the given ratio.405 **/406 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;407 /**408 * Kill all storage items with a key that starts with the given prefix.409 * 410 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under411 * the prefix we are removing to accurately calculate the weight of this function.412 **/413 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;414 /**415 * Kill some items from storage.416 **/417 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;418 /**419 * Make some on-chain remark.420 * 421 * # <weight>422 * - `O(1)`423 * # </weight>424 **/425 remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;426 /**427 * Make some on-chain remark and emit event.428 * 429 * # <weight>430 * - `O(b)` where b is the length of the remark.431 * - 1 event.432 * # </weight>433 **/434 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;435 /**436 * Set the new runtime code.437 * 438 * # <weight>439 * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`440 * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is441 * expensive).442 * - 1 storage write (codec `O(C)`).443 * - 1 digest item.444 * - 1 event.445 * The weight of this function is dependent on the runtime, but generally this is very446 * expensive. We will treat this as a full block.447 * # </weight>448 **/449 setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;450 /**451 * Set the new runtime code without doing any checks of the given `code`.452 * 453 * # <weight>454 * - `O(C)` where `C` length of `code`455 * - 1 storage write (codec `O(C)`).456 * - 1 digest item.457 * - 1 event.458 * The weight of this function is dependent on the runtime. We will treat this as a full459 * block. # </weight>460 **/461 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;462 /**463 * Set the number of pages in the WebAssembly environment's heap.464 **/465 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;466 /**467 * Set some items of storage.468 **/469 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;470 /**471 * Generic tx472 **/473 [key: string]: SubmittableExtrinsicFunction<ApiType>;474 };475 timestamp: {476 /**477 * Set the current time.478 * 479 * This call should be invoked exactly once per block. It will panic at the finalization480 * phase, if this call hasn't been invoked by that time.481 * 482 * The timestamp should be greater than the previous one by the amount specified by483 * `MinimumPeriod`.484 * 485 * The dispatch origin for this call must be `Inherent`.486 * 487 * # <weight>488 * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)489 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in490 * `on_finalize`)491 * - 1 event handler `on_timestamp_set`. Must be `O(1)`.492 * # </weight>493 **/494 set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;495 /**496 * Generic tx497 **/498 [key: string]: SubmittableExtrinsicFunction<ApiType>;499 };500 treasury: {501 /**502 * Approve a proposal. At a later time, the proposal will be allocated to the beneficiary503 * and the original deposit will be returned.504 * 505 * May only be called from `T::ApproveOrigin`.506 * 507 * # <weight>508 * - Complexity: O(1).509 * - DbReads: `Proposals`, `Approvals`510 * - DbWrite: `Approvals`511 * # </weight>512 **/513 approveProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;514 /**515 * Put forward a suggestion for spending. A deposit proportional to the value516 * is reserved and slashed if the proposal is rejected. It is returned once the517 * proposal is awarded.518 * 519 * # <weight>520 * - Complexity: O(1)521 * - DbReads: `ProposalCount`, `origin account`522 * - DbWrites: `ProposalCount`, `Proposals`, `origin account`523 * # </weight>524 **/525 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]>;526 /**527 * Reject a proposed spend. The original deposit will be slashed.528 * 529 * May only be called from `T::RejectOrigin`.530 * 531 * # <weight>532 * - Complexity: O(1)533 * - DbReads: `Proposals`, `rejected proposer account`534 * - DbWrites: `Proposals`, `rejected proposer account`535 * # </weight>536 **/537 rejectProposal: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;538 /**539 * Generic tx540 **/541 [key: string]: SubmittableExtrinsicFunction<ApiType>;542 };543 unique: {544 /**545 * Adds an admin of the Collection.546 * 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.547 * 548 * # Permissions549 * 550 * * Collection Owner.551 * * Collection Admin.552 * 553 * # Arguments554 * 555 * * collection_id: ID of the Collection to add admin for.556 * 557 * * new_admin_id: Address of new admin to add.558 **/559 addCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newAdminId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;560 /**561 * Add an address to allow list.562 * 563 * # Permissions564 * 565 * * Collection Owner566 * * Collection Admin567 * 568 * # Arguments569 * 570 * * collection_id.571 * 572 * * address.573 **/574 addToAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;575 /**576 * Set, change, or remove approved address to transfer the ownership of the NFT.577 * 578 * # Permissions579 * 580 * * Collection Owner581 * * Collection Admin582 * * Current NFT owner583 * 584 * # Arguments585 * 586 * * approved: Address that is approved to transfer this NFT or zero (if needed to remove approval).587 * 588 * * collection_id.589 * 590 * * item_id: ID of the item.591 **/592 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]>;593 /**594 * Destroys a concrete instance of NFT on behalf of the owner595 * See also: [`approve`]596 * 597 * # Permissions598 * 599 * * Collection Owner.600 * * Collection Admin.601 * * Current NFT Owner.602 * 603 * # Arguments604 * 605 * * collection_id: ID of the collection.606 * 607 * * item_id: ID of NFT to burn.608 * 609 * * from: owner of item610 **/611 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]>;612 /**613 * Destroys a concrete instance of NFT.614 * 615 * # Permissions616 * 617 * * Collection Owner.618 * * Collection Admin.619 * * Current NFT Owner.620 * 621 * # Arguments622 * 623 * * collection_id: ID of the collection.624 * 625 * * item_id: ID of NFT to burn.626 **/627 burnItem: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, value: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u128]>;628 /**629 * Change the owner of the collection.630 * 631 * # Permissions632 * 633 * * Collection Owner.634 * 635 * # Arguments636 * 637 * * collection_id.638 * 639 * * new_owner.640 **/641 changeCollectionOwner: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newOwner: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;642 /**643 * # Permissions644 * 645 * * Sponsor.646 * 647 * # Arguments648 * 649 * * collection_id.650 **/651 confirmSponsorship: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;652 /**653 * 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.654 * 655 * # Permissions656 * 657 * * Anyone.658 * 659 * # Arguments660 * 661 * * collection_name: UTF-16 string with collection name (limit 64 characters), will be stored as zero-terminated.662 * 663 * * collection_description: UTF-16 string with collection description (limit 256 characters), will be stored as zero-terminated.664 * 665 * * token_prefix: UTF-8 string with token prefix.666 * 667 * * mode: [CollectionMode] collection type and type dependent data.668 **/669 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]>;670 /**671 * This method creates a collection672 * 673 * Prefer it to deprecated [`created_collection`] method674 **/675 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]>;676 /**677 * This method creates a concrete instance of NFT Collection created with CreateCollection method.678 * 679 * # Permissions680 * 681 * * Collection Owner.682 * * Collection Admin.683 * * Anyone if684 * * Allow List is enabled, and685 * * Address is added to allow list, and686 * * MintPermission is enabled (see SetMintPermission method)687 * 688 * # Arguments689 * 690 * * collection_id: ID of the collection.691 * 692 * * owner: Address, initial owner of the NFT.693 * 694 * * data: Token data to store on chain.695 **/696 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]>;697 /**698 * This method creates multiple items in a collection created with CreateCollection method.699 * 700 * # Permissions701 * 702 * * Collection Owner.703 * * Collection Admin.704 * * Anyone if705 * * Allow List is enabled, and706 * * Address is added to allow list, and707 * * MintPermission is enabled (see SetMintPermission method)708 * 709 * # Arguments710 * 711 * * collection_id: ID of the collection.712 * 713 * * itemsData: Array items properties. Each property is an array of bytes itself, see [create_item].714 * 715 * * owner: Address, initial owner of the NFT.716 **/717 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>]>;718 /**719 * **DANGEROUS**: Destroys collection and all NFTs within this collection. Users irrecoverably lose their assets and may lose real money.720 * 721 * # Permissions722 * 723 * * Collection Owner.724 * 725 * # Arguments726 * 727 * * collection_id: collection to destroy.728 **/729 destroyCollection: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;730 /**731 * 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.732 * 733 * # Permissions734 * 735 * * Collection Owner.736 * * Collection Admin.737 * 738 * # Arguments739 * 740 * * collection_id: ID of the Collection to remove admin for.741 * 742 * * account_id: Address of admin to remove.743 **/744 removeCollectionAdmin: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, accountId: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;745 /**746 * Switch back to pay-per-own-transaction model.747 * 748 * # Permissions749 * 750 * * Collection owner.751 * 752 * # Arguments753 * 754 * * collection_id.755 **/756 removeCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;757 /**758 * Remove an address from allow list.759 * 760 * # Permissions761 * 762 * * Collection Owner763 * * Collection Admin764 * 765 * # Arguments766 * 767 * * collection_id.768 * 769 * * address.770 **/771 removeFromAllowList: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, address: PalletCommonAccountBasicCrossAccountIdRepr | { Substrate: any } | { Ethereum: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;772 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]>;773 /**774 * # Permissions775 * 776 * * Collection Owner777 * 778 * # Arguments779 * 780 * * collection_id.781 * 782 * * new_sponsor.783 **/784 setCollectionSponsor: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, newSponsor: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, AccountId32]>;785 /**786 * Set const on-chain data schema.787 * 788 * # Permissions789 * 790 * * Collection Owner791 * * Collection Admin792 * 793 * # Arguments794 * 795 * * collection_id.796 * 797 * * schema: String representing the const on-chain data schema.798 **/799 setConstOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;800 /**801 * Set meta_update_permission value for particular collection802 * 803 * # Permissions804 * 805 * * Collection Owner.806 * 807 * # Arguments808 * 809 * * collection_id: ID of the collection.810 * 811 * * value: New flag value.812 **/813 setMetaUpdatePermissionFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: UpDataStructsMetaUpdatePermission | 'ItemOwner' | 'Admin' | 'None' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsMetaUpdatePermission]>;814 /**815 * Allows Anyone to create tokens if:816 * * Allow List is enabled, and817 * * Address is added to allow list, and818 * * This method was called with True parameter819 * 820 * # Permissions821 * * Collection Owner822 * 823 * # Arguments824 * 825 * * collection_id.826 * 827 * * mint_permission: Boolean parameter. If True, allows minting to Anyone with conditions above.828 **/829 setMintPermission: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mintPermission: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;830 /**831 * Set off-chain data schema.832 * 833 * # Permissions834 * 835 * * Collection Owner836 * * Collection Admin837 * 838 * # Arguments839 * 840 * * collection_id.841 * 842 * * schema: String representing the offchain data schema.843 **/844 setOffchainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;845 /**846 * Toggle between normal and allow list access for the methods with access for `Anyone`.847 * 848 * # Permissions849 * 850 * * Collection Owner.851 * 852 * # Arguments853 * 854 * * collection_id.855 * 856 * * mode: [AccessMode]857 **/858 setPublicAccessMode: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, mode: UpDataStructsAccessMode | 'Normal' | 'AllowList' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsAccessMode]>;859 /**860 * Set schema standard861 * ImageURL862 * Unique863 * 864 * # Permissions865 * 866 * * Collection Owner867 * * Collection Admin868 * 869 * # Arguments870 * 871 * * collection_id.872 * 873 * * schema: SchemaVersion: enum874 **/875 setSchemaVersion: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, version: UpDataStructsSchemaVersion | 'ImageURL' | 'Unique' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, UpDataStructsSchemaVersion]>;876 /**877 * Set transfers_enabled value for particular collection878 * 879 * # Permissions880 * 881 * * Collection Owner.882 * 883 * # Arguments884 * 885 * * collection_id: ID of the collection.886 * 887 * * value: New flag value.888 **/889 setTransfersEnabledFlag: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, bool]>;890 /**891 * Set off-chain data schema.892 * 893 * # Permissions894 * 895 * * Collection Owner896 * * Collection Admin897 * 898 * # Arguments899 * 900 * * collection_id.901 * 902 * * schema: String representing the offchain data schema.903 **/904 setVariableMetaData: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, itemId: u32 | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, Bytes]>;905 /**906 * Set variable on-chain data schema.907 * 908 * # Permissions909 * 910 * * Collection Owner911 * * Collection Admin912 * 913 * # Arguments914 * 915 * * collection_id.916 * 917 * * schema: String representing the variable on-chain data schema.918 **/919 setVariableOnChainSchema: AugmentedSubmittable<(collectionId: u32 | AnyNumber | Uint8Array, schema: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;920 /**921 * Change ownership of the token.922 * 923 * # Permissions924 * 925 * * Collection Owner926 * * Collection Admin927 * * Current NFT owner928 * 929 * # Arguments930 * 931 * * recipient: Address of token recipient.932 * 933 * * collection_id.934 * 935 * * item_id: ID of the item936 * * Non-Fungible Mode: Required.937 * * Fungible Mode: Ignored.938 * * Re-Fungible Mode: Required.939 * 940 * * value: Amount to transfer.941 * * Non-Fungible Mode: Ignored942 * * Fungible Mode: Must specify transferred amount943 * * Re-Fungible Mode: Must specify transferred portion (between 0 and 1)944 **/945 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]>;946 /**947 * 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.948 * 949 * # Permissions950 * * Collection Owner951 * * Collection Admin952 * * Current NFT owner953 * * Address approved by current NFT owner954 * 955 * # Arguments956 * 957 * * from: Address that owns token.958 * 959 * * recipient: Address of token recipient.960 * 961 * * collection_id.962 * 963 * * item_id: ID of the item.964 * 965 * * value: Amount to transfer.966 **/967 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]>;968 /**969 * Generic tx970 **/971 [key: string]: SubmittableExtrinsicFunction<ApiType>;972 };973 vesting: {974 claim: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;975 claimFor: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;976 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>]>;977 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]>;978 /**979 * Generic tx980 **/981 [key: string]: SubmittableExtrinsicFunction<ApiType>;982 };983 xcmpQueue: {984 /**985 * Services a single overweight XCM.986 * 987 * - `origin`: Must pass `ExecuteOverweightOrigin`.988 * - `index`: The index of the overweight XCM to service989 * - `weight_limit`: The amount of weight that XCM execution may take.990 * 991 * Errors:992 * - `BadOverweightIndex`: XCM under `index` is not found in the `Overweight` storage map.993 * - `BadXcm`: XCM under `index` cannot be properly decoded into a valid XCM format.994 * - `WeightOverLimit`: XCM execution may use greater `weight_limit`.995 * 996 * Events:997 * - `OverweightServiced`: On success.998 **/999 serviceOverweight: AugmentedSubmittable<(index: u64 | AnyNumber | Uint8Array, weightLimit: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, u64]>;1000 /**1001 * Generic tx1002 **/1003 [key: string]: SubmittableExtrinsicFunction<ApiType>;1004 };1005 } // AugmentedSubmittables1006} // declare moduledifftreelog
source
tests/src/interfaces/augment-api-tx.ts50.9 KiBsourcehistory