difftreelog
test upgrade evm.call arguments
in: master
7 files changed
tests/src/eth/payable.test.tsdiffbeforeafterboth34 GAS_ARGS.gas,34 GAS_ARGS.gas,35 await web3.eth.getGasPrice(),35 await web3.eth.getGasPrice(),36 null,36 null,37 null,38 [],37 );39 );38 const events = await submitTransactionAsync(alice, tx);40 const events = await submitTransactionAsync(alice, tx);39 const result = getGenericResult(events);41 const result = getGenericResult(events);tests/src/eth/util/helpers.tsdiffbeforeafterboth249 GAS_ARGS.gas,249 GAS_ARGS.gas,250 await web3.eth.getGasPrice(),250 await web3.eth.getGasPrice(),251 null,251 null,252 null,253 [],252 );254 );253 const events = await submitTransactionAsync(from, tx);255 const events = await submitTransactionAsync(from, tx);254 expect(events.some(({event: {section, method}}) => section == 'evm' && method == 'Executed')).to.be.true;256 expect(events.some(({event: {section, method}}) => section == 'evm' && method == 'Executed')).to.be.true;tests/src/interfaces/augment-api-consts.tsdiffbeforeafterboth2/* eslint-disable */2/* eslint-disable */334import type { ApiTypes } from '@polkadot/api/types';4import type { ApiTypes } from '@polkadot/api/types';5import type { Vec, u128, u16, u32, u64, u8 } from '@polkadot/types';5import type { Option, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types';6import type { Permill } from '@polkadot/types/interfaces/runtime';6import type { Permill } from '@polkadot/types/interfaces/runtime';7import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';7import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';8import type { Codec } from '@polkadot/types/types';8import type { Codec } from '@polkadot/types/types';36 [key: string]: Codec;36 [key: string]: Codec;37 };37 };38 inflation: {38 inflation: {39 /**40 * Number of blocks that pass between treasury balance updates due to inflation41 **/39 inflationBlockInterval: u32 & AugmentedConst<ApiType>;42 inflationBlockInterval: u32 & AugmentedConst<ApiType>;40 /**43 /**41 * Generic const44 * Generic const145 * An accepted proposal gets these back. A rejected proposal does not.148 * An accepted proposal gets these back. A rejected proposal does not.146 **/149 **/147 proposalBond: Permill & AugmentedConst<ApiType>;150 proposalBond: Permill & AugmentedConst<ApiType>;151 /**152 * Maximum amount of funds that should be placed in a deposit for making a proposal.153 **/154 proposalBondMaximum: Option<u128> & AugmentedConst<ApiType>;148 /**155 /**149 * Minimum amount of funds that should be placed in a deposit for making a proposal.156 * Minimum amount of funds that should be placed in a deposit for making a proposal.150 **/157 **/tests/src/interfaces/augment-api-errors.tsdiffbeforeafterboth60 * Tried to approve more than owned60 * Tried to approve more than owned61 **/61 **/62 CantApproveMoreThanOwned: AugmentedError<ApiType>;62 CantApproveMoreThanOwned: AugmentedError<ApiType>;63 /**63 /**64 * Exceeded max admin amount64 * Exceeded max admin count65 **/65 **/66 CollectionAdminAmountExceeded: AugmentedError<ApiType>;66 CollectionAdminCountExceeded: AugmentedError<ApiType>;67 /**67 /**68 * Collection description can not be longer than 255 char.68 * Collection description can not be longer than 255 char.69 **/69 **/227 /**227 /**228 * Tried to set data for fungible item228 * Tried to set data for fungible item229 **/229 **/230 FungibleItemsHaveData: AugmentedError<ApiType>;230 FungibleItemsDontHaveData: AugmentedError<ApiType>;231 /**231 /**232 * Not default id passed as TokenId argument232 * Not default id passed as TokenId argument233 **/233 **/380 [key: string]: AugmentedError<ApiType>;380 [key: string]: AugmentedError<ApiType>;381 };381 };382 system: {382 system: {383 /**384 * The origin filter prevent the call to be dispatched.385 **/386 CallFiltered: AugmentedError<ApiType>;383 /**387 /**384 * Failed to extract the runtime version from the new runtime.388 * Failed to extract the runtime version from the new runtime.385 * 389 * 484 [key: string]: AugmentedError<ApiType>;488 [key: string]: AugmentedError<ApiType>;485 };489 };486 xcmpQueue: {490 xcmpQueue: {491 /**492 * Bad overweight index.493 **/494 BadOverweightIndex: AugmentedError<ApiType>;487 /**495 /**488 * Bad XCM data.496 * Bad XCM data.489 **/497 **/496 * Failed to send XCM message.504 * Failed to send XCM message.497 **/505 **/498 FailedToSend: AugmentedError<ApiType>;506 FailedToSend: AugmentedError<ApiType>;507 /**508 * Provided weight is possibly not enough to execute the message.509 **/510 WeightOverLimit: AugmentedError<ApiType>;499 /**511 /**500 * Generic error512 * Generic error501 **/513 **/tests/src/interfaces/augment-api-events.tsdiffbeforeafterboth2/* eslint-disable */2/* eslint-disable */334import type { EthereumLog, EvmCoreErrorExitReason } from './ethereum';4import type { EthereumLog, EvmCoreErrorExitReason } from './ethereum';5import type { PalletCommonAccountBasicCrossAccountIdRepr } from './unique';5import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode } from './unique';6import type { ApiTypes } from '@polkadot/api/types';6import type { ApiTypes } from '@polkadot/api/types';7import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types';7import type { Null, Option, Result, U256, U8aFixed, u128, u32, u64, u8 } from '@polkadot/types';8import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';8import type { AccountId32, H160, H256 } from '@polkadot/types/interfaces/runtime';11declare module '@polkadot/api/types/events' {11declare module '@polkadot/api/types/events' {12 export interface AugmentedEvents<ApiType> {12 export interface AugmentedEvents<ApiType> {13 balances: {13 balances: {14 /**14 /**15 * A balance was set by root. \[who, free, reserved\]15 * A balance was set by root.16 **/16 **/17 BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;17 BalanceSet: AugmentedEvent<ApiType, [AccountId32, u128, u128]>;18 /**18 /**19 * Some amount was deposited into the account (e.g. for transaction fees). \[who,19 * Some amount was deposited (e.g. for transaction fees).20 * deposit\]20 **/21 **/22 Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;21 Deposit: AugmentedEvent<ApiType, [AccountId32, u128]>;23 /**22 /**24 * An account was removed whose balance was non-zero but below ExistentialDeposit,23 * An account was removed whose balance was non-zero but below ExistentialDeposit,25 * resulting in an outright loss. \[account, balance\]24 * resulting in an outright loss.26 **/25 **/27 DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;26 DustLost: AugmentedEvent<ApiType, [AccountId32, u128]>;28 /**27 /**29 * An account was created with some free balance. \[account, free_balance\]28 * An account was created with some free balance.30 **/29 **/31 Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;30 Endowed: AugmentedEvent<ApiType, [AccountId32, u128]>;32 /**31 /**33 * Some balance was reserved (moved from free to reserved). \[who, value\]32 * Some balance was reserved (moved from free to reserved).34 **/33 **/35 Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;34 Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;36 /**35 /**37 * Some balance was moved from the reserve of the first account to the second account.36 * Some balance was moved from the reserve of the first account to the second account.38 * Final argument indicates the destination balance type.37 * Final argument indicates the destination balance type.39 * \[from, to, balance, destination_status\]38 **/40 **/41 ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;39 ReserveRepatriated: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128, FrameSupportTokensMiscBalanceStatus]>;42 /**40 /**43 * Some amount was removed from the account (e.g. for misbehavior). \[who,41 * Some amount was removed from the account (e.g. for misbehavior).44 * amount_slashed\]42 **/45 **/46 Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;43 Slashed: AugmentedEvent<ApiType, [AccountId32, u128]>;47 /**44 /**48 * Transfer succeeded. \[from, to, value\]45 * Transfer succeeded.49 **/46 **/50 Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;47 Transfer: AugmentedEvent<ApiType, [AccountId32, AccountId32, u128]>;51 /**48 /**52 * Some balance was unreserved (moved from reserved to free). \[who, value\]49 * Some balance was unreserved (moved from reserved to free).53 **/50 **/54 Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;51 Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;55 /**52 /**56 * Some amount was withdrawn from the account (e.g. for transaction fees). \[who, value\]53 * Some amount was withdrawn from the account (e.g. for transaction fees).57 **/54 **/58 Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;55 Withdraw: AugmentedEvent<ApiType, [AccountId32, u128]>;59 /**56 /**60 * Generic event57 * Generic event86 * * account_id: Collection owner.83 * * account_id: Collection owner.87 **/84 **/88 CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;85 CollectionCreated: AugmentedEvent<ApiType, [u32, u8, AccountId32]>;86 /**87 * New collection was destroyed88 * 89 * # Arguments90 * 91 * * collection_id: Globally unique identifier of collection.92 **/93 CollectionDestroyed: AugmentedEvent<ApiType, [u32]>;89 /**94 /**90 * New item was created.95 * New item was created.91 * 96 * 287 * \[ origin location, id, expected location \]292 * \[ origin location, id, expected location \]288 **/293 **/289 InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;294 InvalidResponder: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64, Option<XcmV1MultiLocation>]>;290 /**295 /**291 * Expected query response has been received but the expected origin location placed in296 * Expected query response has been received but the expected origin location placed in292 * storate by this runtime previously cannot be decoded. The query remains registered.297 * storage by this runtime previously cannot be decoded. The query remains registered.293 * 298 * 294 * This is unexpected (since a location placed in storage in a previously executing299 * This is unexpected (since a location placed in storage in a previously executing295 * runtime should be readable prior to query timeout) and dangerous since the possibly300 * runtime should be readable prior to query timeout) and dangerous since the possibly296 * valid response will be dropped. Manual governance intervention is probably going to be301 * valid response will be dropped. Manual governance intervention is probably going to be297 * needed.302 * needed.298 * 303 * 299 * \[ origin location, id \]304 * \[ origin location, id \]300 **/305 **/301 InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;306 InvalidResponderVersion: AugmentedEvent<ApiType, [XcmV1MultiLocation, u64]>;302 /**307 /**303 * Query response has been received and query is removed. The registered notification has308 * Query response has been received and query is removed. The registered notification has389 [key: string]: AugmentedEvent<ApiType>;394 [key: string]: AugmentedEvent<ApiType>;390 };395 };391 sudo: {396 sudo: {392 /**397 /**393 * The \[sudoer\] just switched identity; the old key is supplied.398 * The \[sudoer\] just switched identity; the old key is supplied if one existed.394 **/399 **/395 KeyChanged: AugmentedEvent<ApiType, [AccountId32]>;400 KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;396 /**401 /**397 * A sudo just took place. \[result\]402 * A sudo just took place. \[result\]398 **/403 **/411 * `:code` was updated.416 * `:code` was updated.412 **/417 **/413 CodeUpdated: AugmentedEvent<ApiType, []>;418 CodeUpdated: AugmentedEvent<ApiType, []>;414 /**419 /**415 * An extrinsic failed. \[error, info\]420 * An extrinsic failed.416 **/421 **/417 ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;422 ExtrinsicFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError, FrameSupportWeightsDispatchInfo]>;418 /**423 /**419 * An extrinsic completed successfully. \[info\]424 * An extrinsic completed successfully.420 **/425 **/421 ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;426 ExtrinsicSuccess: AugmentedEvent<ApiType, [FrameSupportWeightsDispatchInfo]>;422 /**427 /**423 * An \[account\] was reaped.428 * An account was reaped.424 **/429 **/425 KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;430 KilledAccount: AugmentedEvent<ApiType, [AccountId32]>;426 /**431 /**427 * A new \[account\] was created.432 * A new account was created.428 **/433 **/429 NewAccount: AugmentedEvent<ApiType, [AccountId32]>;434 NewAccount: AugmentedEvent<ApiType, [AccountId32]>;430 /**435 /**431 * On on-chain remark happened. \[origin, remark_hash\]436 * On on-chain remark happened.432 **/437 **/433 Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;438 Remarked: AugmentedEvent<ApiType, [AccountId32, H256]>;434 /**439 /**435 * Generic event440 * Generic event436 **/441 **/437 [key: string]: AugmentedEvent<ApiType>;442 [key: string]: AugmentedEvent<ApiType>;438 };443 };439 treasury: {444 treasury: {440 /**445 /**441 * Some funds have been allocated. \[proposal_index, award, beneficiary\]446 * Some funds have been allocated.442 **/447 **/443 Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;448 Awarded: AugmentedEvent<ApiType, [u32, u128, AccountId32]>;444 /**449 /**445 * Some of our funds have been burnt. \[burn\]450 * Some of our funds have been burnt.446 **/451 **/447 Burnt: AugmentedEvent<ApiType, [u128]>;452 Burnt: AugmentedEvent<ApiType, [u128]>;448 /**453 /**449 * Some funds have been deposited. \[deposit\]454 * Some funds have been deposited.450 **/455 **/451 Deposit: AugmentedEvent<ApiType, [u128]>;456 Deposit: AugmentedEvent<ApiType, [u128]>;452 /**457 /**453 * New proposal. \[proposal_index\]458 * New proposal.454 **/459 **/455 Proposed: AugmentedEvent<ApiType, [u32]>;460 Proposed: AugmentedEvent<ApiType, [u32]>;456 /**461 /**457 * A proposal was rejected; funds were slashed. \[proposal_index, slashed\]462 * A proposal was rejected; funds were slashed.458 **/463 **/459 Rejected: AugmentedEvent<ApiType, [u32, u128]>;464 Rejected: AugmentedEvent<ApiType, [u32, u128]>;460 /**465 /**461 * Spending has finished; this is the amount that rolls over until next spend.466 * Spending has finished; this is the amount that rolls over until next spend.462 * \[budget_remaining\]467 **/463 **/464 Rollover: AugmentedEvent<ApiType, [u128]>;468 Rollover: AugmentedEvent<ApiType, [u128]>;465 /**469 /**466 * We have ended a spend period and will now allocate funds. \[budget_remaining\]470 * We have ended a spend period and will now allocate funds.467 **/471 **/468 Spending: AugmentedEvent<ApiType, [u128]>;472 Spending: AugmentedEvent<ApiType, [u128]>;469 /**473 /**470 * Generic event474 * Generic event471 **/475 **/472 [key: string]: AugmentedEvent<ApiType>;476 [key: string]: AugmentedEvent<ApiType>;473 };477 };478 unique: {479 /**480 * Address was add to allow list481 * 482 * # Arguments483 * 484 * * collection_id: Globally unique collection identifier.485 * 486 * * user: Address.487 **/488 AllowListAddressAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;489 /**490 * Address was remove from allow list491 * 492 * # Arguments493 * 494 * * collection_id: Globally unique collection identifier.495 * 496 * * user: Address.497 **/498 AllowListAddressRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;499 /**500 * Collection admin was added501 * 502 * # Arguments503 * 504 * * collection_id: Globally unique collection identifier.505 * 506 * * admin: Admin address.507 **/508 CollectionAdminAdded: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;509 /**510 * Collection admin was removed511 * 512 * # Arguments513 * 514 * * collection_id: Globally unique collection identifier.515 * 516 * * admin: Admin address.517 **/518 CollectionAdminRemoved: AugmentedEvent<ApiType, [u32, PalletCommonAccountBasicCrossAccountIdRepr]>;519 /**520 * Collection limits was set521 * 522 * # Arguments523 * 524 * * collection_id: Globally unique collection identifier.525 **/526 CollectionLimitSet: AugmentedEvent<ApiType, [u32]>;527 /**528 * Collection owned was change529 * 530 * # Arguments531 * 532 * * collection_id: Globally unique collection identifier.533 * 534 * * owner: New owner address.535 **/536 CollectionOwnedChanged: AugmentedEvent<ApiType, [u32, AccountId32]>;537 /**538 * Collection sponsor was removed539 * 540 * # Arguments541 * 542 * * collection_id: Globally unique collection identifier.543 **/544 CollectionSponsorRemoved: AugmentedEvent<ApiType, [u32]>;545 /**546 * Collection sponsor was set547 * 548 * # Arguments549 * 550 * * collection_id: Globally unique collection identifier.551 * 552 * * owner: New sponsor address.553 **/554 CollectionSponsorSet: AugmentedEvent<ApiType, [u32, AccountId32]>;555 /**556 * const on chain schema was set557 * 558 * # Arguments559 * 560 * * collection_id: Globally unique collection identifier.561 **/562 ConstOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;563 /**564 * Mint permission was set565 * 566 * # Arguments567 * 568 * * collection_id: Globally unique collection identifier.569 **/570 MintPermissionSet: AugmentedEvent<ApiType, [u32]>;571 /**572 * Offchain schema was set573 * 574 * # Arguments575 * 576 * * collection_id: Globally unique collection identifier.577 **/578 OffchainSchemaSet: AugmentedEvent<ApiType, [u32]>;579 /**580 * Public access mode was set581 * 582 * # Arguments583 * 584 * * collection_id: Globally unique collection identifier.585 * 586 * * mode: New access state.587 **/588 PublicAccessModeSet: AugmentedEvent<ApiType, [u32, UpDataStructsAccessMode]>;589 /**590 * Schema version was set591 * 592 * # Arguments593 * 594 * * collection_id: Globally unique collection identifier.595 **/596 SchemaVersionSet: AugmentedEvent<ApiType, [u32]>;597 /**598 * New sponsor was confirm599 * 600 * # Arguments601 * 602 * * collection_id: Globally unique collection identifier.603 * 604 * * sponsor: New sponsor address.605 **/606 SponsorshipConfirmed: AugmentedEvent<ApiType, [u32, AccountId32]>;607 /**608 * Variable on chain schema was set609 * 610 * # Arguments611 * 612 * * collection_id: Globally unique collection identifier.613 **/614 VariableOnChainSchemaSet: AugmentedEvent<ApiType, [u32]>;615 /**616 * Generic event617 **/618 [key: string]: AugmentedEvent<ApiType>;619 };474 vesting: {620 vesting: {475 /**621 /**476 * Claimed vesting. \[who, locked_amount\]622 * Claimed vesting.477 **/623 **/478 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;624 Claimed: AugmentedEvent<ApiType, [AccountId32, u128]>;479 /**625 /**480 * Added new vesting schedule. \[from, to, vesting_schedule\]626 * Added new vesting schedule.481 **/627 **/482 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;628 VestingScheduleAdded: AugmentedEvent<ApiType, [AccountId32, AccountId32, OrmlVestingVestingSchedule]>;483 /**629 /**484 * Updated vesting schedules. \[who\]630 * Updated vesting schedules.485 **/631 **/486 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;632 VestingSchedulesUpdated: AugmentedEvent<ApiType, [AccountId32]>;487 /**633 /**488 * Generic event634 * Generic event502 * Some XCM failed.648 * Some XCM failed.503 **/649 **/504 Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;650 Fail: AugmentedEvent<ApiType, [Option<H256>, XcmV2TraitsError]>;651 /**652 * An XCM exceeded the individual message weight budget.653 **/654 OverweightEnqueued: AugmentedEvent<ApiType, [u32, u32, u64, u64]>;655 /**656 * An XCM from the overweight queue was executed with the given actual weight used.657 **/658 OverweightServiced: AugmentedEvent<ApiType, [u64, u64]>;505 /**659 /**506 * Some XCM was executed ok.660 * Some XCM was executed ok.507 **/661 **/tests/src/interfaces/augment-api-query.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */2/* eslint-disable */334import type { EthereumBlock, EthereumReceipt, EthereumTransactionLegacyTransaction, FpRpcTransactionStatus } from './ethereum';4import type { EthereumBlock, FpRpcTransactionStatus } from './ethereum';5import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueInboundStatus, CumulusPalletXcmpQueueOutboundStatus, CumulusPalletXcmpQueueQueueConfigData, PolkadotParachainPrimitivesXcmpMessageFormat, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';5import type { CumulusPalletDmpQueueConfigData, CumulusPalletDmpQueuePageIndexData, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletXcmpQueueQueueConfigData, PolkadotPrimitivesV1AbridgedHostConfiguration, PolkadotPrimitivesV1PersistedValidationData } from './polkadot';6import type { PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';6import type { PalletCommonAccountBasicCrossAccountIdRepr, PalletNonfungibleItemData, PalletRefungibleItemData, UpDataStructsCollection, UpDataStructsCollectionStats } from './unique';7import type { ApiTypes } from '@polkadot/api/types';7import type { ApiTypes } from '@polkadot/api/types';8import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';8import type { BTreeMap, Bytes, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';105 /**105 /**106 * The current Ethereum receipts.106 * The current Ethereum receipts.107 **/107 **/108 currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceipt>>>, []> & QueryableStorageEntry<ApiType, []>;108 currentReceipts: AugmentedQuery<ApiType, () => Observable<Option<Vec<EthereumReceiptReceiptV3>>>, []> & QueryableStorageEntry<ApiType, []>;109 /**109 /**110 * The current transaction statuses.110 * The current transaction statuses.111 **/111 **/112 currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;112 currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;113 /**113 /**114 * Current building block's transactions and receipts.114 * Current building block's transactions and receipts.115 **/115 **/116 pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionLegacyTransaction, FpRpcTransactionStatus, EthereumReceipt]>>>, []> & QueryableStorageEntry<ApiType, []>;116 pending: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[EthereumTransactionTransactionV2, FpRpcTransactionStatus, EthereumReceiptReceiptV3]>>>, []> & QueryableStorageEntry<ApiType, []>;117 /**117 /**118 * Generic query118 * Generic query119 **/119 **/162 [key: string]: QueryableStorageEntry<ApiType>;162 [key: string]: QueryableStorageEntry<ApiType>;163 };163 };164 inflation: {164 inflation: {165 /**165 /**166 * Current block inflation166 * Current inflation for `InflationBlockInterval` number of blocks167 **/167 **/168 blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;168 blockInflation: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;169 /**170 * Next target (relay) block when inflation will be applied171 **/172 nextInflationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;173 /**174 * Next target (relay) block when inflation is recalculated175 **/176 nextRecalculationBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;177 /**178 * Relay block when inflation has started179 **/180 startBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;169 /**181 /**170 * starting year total issuance182 * starting year total issuance171 **/183 **/207 * The next authorized upgrade, if there is one.219 * The next authorized upgrade, if there is one.208 **/220 **/209 authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;221 authorizedUpgrade: AugmentedQuery<ApiType, () => Observable<Option<H256>>, []> & QueryableStorageEntry<ApiType, []>;222 /**223 * A custom head data that should be returned as result of `validate_block`.224 * 225 * See [`Pallet::set_custom_validation_head_data`] for more information.226 **/227 customValidationHeadData: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;210 /**228 /**211 * Were the validation data set to notify the relay chain?229 * Were the validation data set to notify the relay chain?212 **/230 **/353 /**371 /**354 * The `AccountId` of the sudo key.372 * The `AccountId` of the sudo key.355 **/373 **/356 key: AugmentedQuery<ApiType, () => Observable<AccountId32>, []> & QueryableStorageEntry<ApiType, []>;374 key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []> & QueryableStorageEntry<ApiType, []>;357 /**375 /**358 * Generic query376 * Generic query359 **/377 **/540 /**558 /**541 * Status of the inbound XCMP channels.559 * Status of the inbound XCMP channels.542 **/560 **/543 inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueInboundStatus, Vec<ITuple<[u32, PolkadotParachainPrimitivesXcmpMessageFormat]>>]>>>, []> & QueryableStorageEntry<ApiType, []>;561 inboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueInboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;544 /**562 /**545 * The messages outbound in a given XCMP channel.563 * The messages outbound in a given XCMP channel.546 **/564 **/553 * case of the need to send a high-priority signal message this block.571 * case of the need to send a high-priority signal message this block.554 * The bool is true if there is a signal message waiting to be sent.572 * The bool is true if there is a signal message waiting to be sent.555 **/573 **/556 outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, CumulusPalletXcmpQueueOutboundStatus, bool, u16, u16]>>>, []> & QueryableStorageEntry<ApiType, []>;574 outboundXcmpStatus: AugmentedQuery<ApiType, () => Observable<Vec<CumulusPalletXcmpQueueOutboundChannelDetails>>, []> & QueryableStorageEntry<ApiType, []>;575 /**576 * The messages that exceeded max individual message weight budget.577 * 578 * These message stay in this storage map until they are manually dispatched via579 * `service_overweight`.580 **/581 overweight: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u32, u32, Bytes]>>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;582 /**583 * The number of overweight messages ever recorded in `Overweight`. Also doubles as the next584 * available free overweight index.585 **/586 overweightCount: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;557 /**587 /**558 * The configuration which controls the dynamics of the outbound queue.588 * The configuration which controls the dynamics of the outbound queue.559 **/589 **/tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit1// Auto-generated via `yarn polkadot-types-from-chain`, do not edit2/* eslint-disable */2/* eslint-disable */334import type { EthereumTransactionLegacyTransaction } from './ethereum';5import type { CumulusPrimitivesParachainInherentParachainInherentData } from './polkadot';4import type { CumulusPrimitivesParachainInherentParachainInherentData } from './polkadot';6import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion } from './unique';5import type { PalletCommonAccountBasicCrossAccountIdRepr, UpDataStructsAccessMode, UpDataStructsCollectionLimits, UpDataStructsCollectionMode, UpDataStructsCreateItemData, UpDataStructsMetaUpdatePermission, UpDataStructsSchemaVersion } from './unique';7import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';6import type { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';8import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';7import type { Bytes, Compact, Option, U256, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types';9import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';8import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';10import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';9import type { AccountId32, Call, H160, H256, MultiAddress, Perbill } from '@polkadot/types/interfaces/runtime';11import type { SpCoreChangesTrieChangesTrieConfiguration, XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';10import type { XcmV1MultiLocation, XcmV2WeightLimit, XcmVersionedMultiAssets, XcmVersionedMultiLocation, XcmVersionedXcm } from '@polkadot/types/lookup';12import type { AnyNumber, ITuple } from '@polkadot/types/types';11import type { AnyNumber, ITuple } from '@polkadot/types/types';131214declare module '@polkadot/api/types/submittable' {13declare module '@polkadot/api/types/submittable' {29 * Can only be called by ROOT.28 * Can only be called by ROOT.30 **/29 **/31 forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;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]>;32 /**31 /**33 * Set the balances of a given account.32 * Set the balances of a given account.34 * 33 * 35 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will34 * This will alter `FreeBalance` and `ReservedBalance` in storage. it will36 * also decrease the total issuance of the system (`TotalIssuance`).35 * also alter the total issuance of the system (`TotalIssuance`) appropriately.37 * If the new free or reserved balance is below the existential deposit,36 * If the new free or reserved balance is below the existential deposit,38 * it will reset the account nonce (`frame_system::AccountNonce`).37 * it will reset the account nonce (`frame_system::AccountNonce`).39 * 38 * 40 * The dispatch origin for this call is `root`.39 * The dispatch origin for this call is `root`.41 * 40 **/42 * # <weight>43 * - Independent of the arguments.44 * - Contains a limited number of reads and writes.45 * ---------------------46 * - Base Weight:47 * - Creating: 27.56 µs48 * - Killing: 35.11 µs49 * - DB Weight: 1 Read, 1 Write to `who`50 * # </weight>51 **/52 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>]>;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>]>;53 /**42 /**54 * Transfer some liquid free balance to another account.43 * Transfer some liquid free balance to another account.55 * 44 * 56 * `transfer` will set the `FreeBalance` of the sender and receiver.45 * `transfer` will set the `FreeBalance` of the sender and receiver.57 * It will decrease the total issuance of the system by the `TransferFee`.46 * If the sender's account is below the existential deposit as a result58 * If the sender's account is below the existential deposit as a result47 * of the transfer, the account will be reaped.59 * of the transfer, the account will be reaped.48 * 60 * 49 * The dispatch origin for this call must be `Signed` by the transactor.61 * The dispatch origin for this call must be `Signed` by the transactor.50 * 62 * 51 * # <weight>63 * # <weight>52 * - Dependent on arguments but not critical, given proper implementations for input config64 * - Dependent on arguments but not critical, given proper implementations for input config53 * types. See related functions below.65 * types. See related functions below.54 * - It contains a limited number of reads and writes internally and no complex66 * - It contains a limited number of reads and writes internally and no complex55 * computation.67 * computation.56 * 68 * 57 * Related functions:69 * Related functions:58 * 70 * 59 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.71 * - `ensure_can_withdraw` is always called internally but has a bounded complexity.60 * - Transferring balances to accounts that did not exist before will cause72 * - Transferring balances to accounts that did not exist before will cause61 * `T::OnNewAccount::on_new_account` to be called.73 * `T::OnNewAccount::on_new_account` to be called.62 * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.74 * - 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 check75 * - `transfer_keep_alive` works the same way as `transfer`, but has an additional check64 * that the transfer will not kill the origin account.76 * that the transfer will not kill the origin account.65 * ---------------------------------77 * ---------------------------------78 * - Base Weight: 73.64 µs, worst case scenario (account created, account removed)79 * - DB Weight: 1 Read and 1 Write to destination account66 * - Origin account is already in memory, so no DB operations for them.80 * - Origin account is already in memory, so no DB operations for them.67 * # </weight>81 * # </weight>68 **/82 **/83 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>]>;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>]>;84 /**70 /**85 * Transfer the entire transferable balance from the caller account.71 * Transfer the entire transferable balance from the caller account.101 * #</weight>87 * #</weight>102 **/88 **/103 transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;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]>;104 /**90 /**105 * Same as the [`transfer`] call, but with a check that the transfer will not kill the91 * Same as the [`transfer`] call, but with a check that the transfer will not kill the106 * origin account.92 * origin account.107 * 93 * 108 * 99% of the time you want [`transfer`] instead.94 * 99% of the time you want [`transfer`] instead.109 * 95 * 110 * [`transfer`]: struct.Pallet.html#method.transfer96 * [`transfer`]: struct.Pallet.html#method.transfer111 * # <weight>97 **/112 * - Cheaper than transfer because account cannot be killed.113 * - Base Weight: 51.4 µs114 * - DB Weight: 1 Read and 1 Write to dest (sender is in overlay already)115 * #</weight>116 **/117 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>]>;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>]>;118 /**99 /**119 * Generic tx100 * Generic tx157 /**138 /**158 * Transact an Ethereum transaction.139 * Transact an Ethereum transaction.159 **/140 **/160 transact: AugmentedSubmittable<(transaction: EthereumTransactionLegacyTransaction | { nonce?: any; gasPrice?: any; gasLimit?: any; action?: any; value?: any; input?: any; signature?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionLegacyTransaction]>;141 transact: AugmentedSubmittable<(transaction: EthereumTransactionTransactionV2 | { Legacy: any } | { EIP2930: any } | { EIP1559: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [EthereumTransactionTransactionV2]>;161 /**142 /**162 * Generic tx143 * Generic tx163 **/144 **/167 /**148 /**168 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.149 * Issue an EVM call operation. This is similar to a message call transaction in Ethereum.169 **/150 **/170 call: AugmentedSubmittable<(source: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H160, Bytes, U256, u64, U256, Option<U256>]>;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>]>>]>;171 /**152 /**172 * Issue an EVM create operation. This is similar to a contract creation transaction in153 * Issue an EVM create operation. This is similar to a contract creation transaction in173 * Ethereum.154 * Ethereum.174 **/155 **/175 create: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, U256, u64, U256, Option<U256>]>;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>]>>]>;176 /**157 /**177 * Issue an EVM create2 operation.158 * Issue an EVM create2 operation.178 **/159 **/179 create2: AugmentedSubmittable<(source: H160 | string | Uint8Array, init: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: U256 | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, gasPrice: U256 | AnyNumber | Uint8Array, nonce: Option<U256> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, Bytes, H256, U256, u64, U256, Option<U256>]>;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>]>>]>;180 /**161 /**181 * Withdraw balance from EVM into currency/balances pallet.162 * Withdraw balance from EVM into currency/balances pallet.182 **/163 **/196 [key: string]: SubmittableExtrinsicFunction<ApiType>;177 [key: string]: SubmittableExtrinsicFunction<ApiType>;197 };178 };198 inflation: {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]>;199 /**194 /**200 * Generic tx195 * Generic tx201 **/196 **/288 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.283 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.289 **/284 **/290 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]>;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]>;291 /**286 /**292 * Teleport some assets from the local chain to some destination chain.287 * Teleport some assets from the local chain to some destination chain.293 * 288 * 294 * Fee payment on the destination side is made from the first asset listed in the `assets` vector.289 * Fee payment on the destination side is made from the first asset listed in the `assets` vector.295 * 290 * 296 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.291 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.297 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send292 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send298 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.293 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.299 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be294 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be300 * an `AccountId32` value.295 * an `AccountId32` value.301 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the296 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the302 * `dest` side. May not be empty.297 * `dest` side. May not be empty.303 * - `dest_weight`: Equal to the total weight on `dest` of the XCM message298 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay304 * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.299 * fees.305 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.300 * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.306 **/301 **/307 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]>;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]>;308 /**303 /**309 * Transfer some assets from the local chain to the sovereign account of a destination chain and forward304 * Transfer some assets from the local chain to the sovereign account of a destination chain and forward325 **/320 **/326 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]>;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]>;327 send: AugmentedSubmittable<(dest: XcmVersionedMultiLocation | { V0: any } | { V1: any } | string | Uint8Array, message: XcmVersionedXcm | { V0: any } | { V1: any } | { V2: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedXcm]>;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]>;328 /**323 /**329 * Teleport some assets from the local chain to some destination chain.324 * Teleport some assets from the local chain to some destination chain.330 * 325 * 331 * Fee payment on the destination side is made from the first asset listed in the `assets` vector and326 * Fee payment on the destination side is made from the first asset listed in the `assets` vector and332 * fee-weight is calculated locally and thus remote weights are assumed to be equal to327 * fee-weight is calculated locally and thus remote weights are assumed to be equal to333 * local weights.328 * local weights.334 * 329 * 335 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.330 * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.336 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send331 * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send337 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.332 * from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain.338 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be333 * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will generally be339 * an `AccountId32` value.334 * an `AccountId32` value.340 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the335 * - `assets`: The assets to be withdrawn. The first item should be the currency used to to pay the fee on the341 * `dest` side. May not be empty.336 * `dest` side. May not be empty.342 * - `dest_weight`: Equal to the total weight on `dest` of the XCM message337 * - `fee_asset_item`: The index into `assets` of the item which should be used to pay343 * `Teleport { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`.338 * fees.344 **/339 **/345 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]>;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]>;346 /**341 /**347 * Generic tx342 * Generic tx374 * - Weight of derivative `call` execution + 10,000.369 * - Weight of derivative `call` execution + 10,000.375 * # </weight>370 * # </weight>376 **/371 **/377 sudo: AugmentedSubmittable<(call: Call) => SubmittableExtrinsic<ApiType>, [Call]>;372 sudo: AugmentedSubmittable<(call: Call | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;378 /**373 /**379 * Authenticates the sudo key and dispatches a function call with `Signed` origin from374 * Authenticates the sudo key and dispatches a function call with `Signed` origin from380 * a given account.375 * a given account.388 * - Weight of derivative `call` execution + 10,000.383 * - Weight of derivative `call` execution + 10,000.389 * # </weight>384 * # </weight>390 **/385 **/391 sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, ) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;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]>;392 /**387 /**393 * Authenticates the sudo key and dispatches a function call with `Root` origin.388 * Authenticates the sudo key and dispatches a function call with `Root` origin.394 * This function does not check the weight of the call, and instead allows the389 * This function does not check the weight of the call, and instead allows the401 * - The weight of this call is defined by the caller.396 * - The weight of this call is defined by the caller.402 * # </weight>397 * # </weight>403 **/398 **/404 sudoUncheckedWeight: AugmentedSubmittable<(call: Call, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;399 sudoUncheckedWeight: AugmentedSubmittable<(call: Call | string | Uint8Array, weight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, u64]>;405 /**400 /**406 * Generic tx401 * Generic tx407 **/402 **/412 * A dispatch that will fill the block weight up to the given ratio.407 * A dispatch that will fill the block weight up to the given ratio.413 **/408 **/414 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;409 fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;415 /**410 /**416 * Kill all storage items with a key that starts with the given prefix.411 * Kill all storage items with a key that starts with the given prefix.417 * 412 * 418 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under413 * **NOTE:** We rely on the Root origin to provide us the number of subkeys under419 * the prefix we are removing to accurately calculate the weight of this function.414 * the prefix we are removing to accurately calculate the weight of this function.420 * 415 **/421 * # <weight>422 * - `O(P)` where `P` amount of keys with prefix `prefix`423 * - `P` storage deletions.424 * - Base Weight: 0.834 * P µs425 * - Writes: Number of subkeys + 1426 * # </weight>427 **/428 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;416 killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;429 /**417 /**430 * Kill some items from storage.418 * Kill some items from storage.431 * 419 **/432 * # <weight>433 * - `O(IK)` where `I` length of `keys` and `K` length of one key434 * - `I` storage deletions.435 * - Base Weight: .378 * i µs436 * - Writes: Number of items437 * # </weight>438 **/439 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;420 killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;440 /**421 /**441 * Make some on-chain remark.422 * Make some on-chain remark.454 * # </weight>435 * # </weight>455 **/436 **/456 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;437 remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;457 /**458 * Set the new changes trie configuration.459 * 460 * # <weight>461 * - `O(1)`462 * - 1 storage write or delete (codec `O(1)`).463 * - 1 call to `deposit_log`: Uses `append` API, so O(1)464 * - Base Weight: 7.218 µs465 * - DB Weight:466 * - Writes: Changes Trie, System Digest467 * # </weight>468 **/469 setChangesTrieConfig: AugmentedSubmittable<(changesTrieConfig: Option<SpCoreChangesTrieChangesTrieConfiguration> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<SpCoreChangesTrieChangesTrieConfiguration>]>;470 /**438 /**471 * Set the new runtime code.439 * Set the new runtime code.472 * 440 * 494 * block. # </weight>462 * block. # </weight>495 **/463 **/496 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;464 setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;497 /**465 /**498 * Set the number of pages in the WebAssembly environment's heap.466 * Set the number of pages in the WebAssembly environment's heap.499 * 467 **/500 * # <weight>501 * - `O(1)`502 * - 1 storage write.503 * - Base Weight: 1.405 µs504 * - 1 write to HEAP_PAGES505 * - 1 digest item506 * # </weight>507 **/508 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;468 setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;509 /**469 /**510 * Set some items of storage.470 * Set some items of storage.511 * 471 **/512 * # <weight>513 * - `O(I)` where `I` length of `items`514 * - `I` storage writes (`O(1)`).515 * - Base Weight: 0.568 * i µs516 * - Writes: Number of items517 * # </weight>518 **/519 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;472 setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;520 /**473 /**521 * Generic tx474 * Generic tx1025 [key: string]: SubmittableExtrinsicFunction<ApiType>;978 [key: string]: SubmittableExtrinsicFunction<ApiType>;1026 };979 };1027 xcmpQueue: {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]>;1028 /**997 /**1029 * Generic tx998 * Generic tx1030 **/999 **/