From 83ff53e7a1ef1f399114f73ad2e52e9aafe13fcb Mon Sep 17 00:00:00 2001 From: Shunji Zhan Date: Sat, 9 Nov 2024 18:36:07 +0800 Subject: [PATCH] runtime 2270 (#63) --- package.json | 2 +- packages/api-derive/package.json | 2 +- packages/api/package.json | 2 +- packages/types/package.json | 6 +- .../src/interfaces/augment-api-consts.ts | 647 +--- .../src/interfaces/augment-api-errors.ts | 1296 +------ .../src/interfaces/augment-api-events.ts | 1107 ------ .../types/src/interfaces/augment-api-query.ts | 1186 +------ .../src/interfaces/augment-api-runtime.ts | 14 +- .../types/src/interfaces/augment-api-tx.ts | 3004 +---------------- .../types/src/interfaces/augment-types.ts | 72 +- packages/types/src/interfaces/lookup.ts | 582 ++-- packages/types/src/interfaces/registry.ts | 24 +- packages/types/src/interfaces/types-lookup.ts | 590 ++-- yarn.lock | 730 ++-- 15 files changed, 1074 insertions(+), 8190 deletions(-) diff --git a/package.json b/package.json index 9fb43c0..51abd63 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "publish": "yarn workspaces foreach -vit run publish:manual" }, "devDependencies": { - "@polkadot/api": "^12", + "@polkadot/api": "^14", "@types/eslint": "^8", "@types/node": "^20.4.9", "@typescript-eslint/eslint-plugin": "^6.5.0", diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 807bc02..7c4f1a6 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -26,7 +26,7 @@ "@acala-network/types": "6.1.3" }, "peerDependencies": { - "@polkadot/api": "^12" + "@polkadot/api": "^14" }, "devDependencies": { "typescript": "^5.0.4" diff --git a/packages/api/package.json b/packages/api/package.json index fc26c78..770c923 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -27,7 +27,7 @@ "@acala-network/types": "6.1.3" }, "peerDependencies": { - "@polkadot/api": "^12" + "@polkadot/api": "^14" }, "devDependencies": { "typescript": "^5.0.4" diff --git a/packages/types/package.json b/packages/types/package.json index 2014142..523c195 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -7,7 +7,7 @@ "type": "module", "scripts": { "generate": "npm run load:meta && npm run generate:defs && npm run generate:meta", - "load:meta": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9944 > metadata.json", + "load:meta": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' https://acala-rpc.aca-api.network > metadata.json", "generate:defs": "node --experimental-specifier-resolution=node --loader ts-node/esm ../../node_modules/.bin/polkadot-types-from-defs --package @acala-network/types/interfaces --endpoint ./metadata.json --input ./src/interfaces", "generate:meta": "node --experimental-specifier-resolution=node --loader ts-node/esm ../../node_modules/.bin/polkadot-types-from-chain --package @acala-network/types/interfaces --endpoint ./metadata.json --output ./src/interfaces", "build": "rm -rf dist && tsc --build tsconfig.cjs.json --verbose -f && yarn postBuild", @@ -34,10 +34,10 @@ } }, "peerDependencies": { - "@polkadot/api": "^12" + "@polkadot/api": "^14" }, "devDependencies": { - "@polkadot/typegen": "^12.2.1", + "@polkadot/typegen": "^14", "@types/node": "^20.4.9", "typescript": "^5.0.4" } diff --git a/packages/types/src/interfaces/augment-api-consts.ts b/packages/types/src/interfaces/augment-api-consts.ts index 0a729b7..cd90473 100644 --- a/packages/types/src/interfaces/augment-api-consts.ts +++ b/packages/types/src/interfaces/augment-api-consts.ts @@ -16,17 +16,8 @@ export type __AugmentedConst = AugmentedConst declare module '@polkadot/api-base/types/consts' { interface AugmentedConsts { acalaOracle: { - /** - * Maximum size the vector used for feed values - **/ maxFeedValues: u32 & AugmentedConst; - /** - * Maximum size of HasDispatched - **/ maxHasDispatchedSize: u32 & AugmentedConst; - /** - * The root operator account id, record all sudo feeds on this account. - **/ rootOperatorAccountId: AccountId32 & AugmentedConst; /** * Generic const @@ -34,13 +25,7 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; aggregatedDex: { - /** - * The alternative swap path joint list for DEX swap - **/ dexSwapJointList: Vec> & AugmentedConst; - /** - * The limit for length of swap path - **/ swapPathLimit: u32 & AugmentedConst; /** * Generic const @@ -48,9 +33,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; assetRegistry: { - /** - * The Currency ID for the staking currency - **/ stakingCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; /** * Generic const @@ -58,59 +40,27 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; auctionManager: { - /** - * When the total duration of the auction exceeds this soft cap, push - * the auction to end more faster - **/ auctionDurationSoftCap: u32 & AugmentedConst; - /** - * The extended time for the auction to end after each successful bid - **/ auctionTimeToClose: u32 & AugmentedConst; - /** - * The stable currency id - **/ getStableCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * The minimum increment size of each bid compared to the previous one - **/ minimumIncrementSize: u128 & AugmentedConst; - /** - * A configuration for base priority of unsigned transactions. - * - * This is exposed so that it can be tuned for particular runtime, when - * multiple modules send unsigned transactions. - **/ unsignedPriority: u64 & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; - balances: { + aura: { + slotDuration: u64 & AugmentedConst; /** - * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! - * - * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for - * this pallet. However, you do so at your own risk: this will open up a major DoS vector. - * In case you have multiple sources of provider references, you may also get unexpected - * behaviour if you set this to zero. - * - * Bottom line: Do yourself a favour and make it at least one! + * Generic const **/ + [key: string]: Codec; + }; + balances: { existentialDeposit: u128 & AugmentedConst; - /** - * The maximum number of individual freeze locks that can exist on an account at any time. - **/ maxFreezes: u32 & AugmentedConst; - /** - * The maximum number of locks that should exist on an account. - * Not strictly enforced, but used for weight estimation. - **/ maxLocks: u32 & AugmentedConst; - /** - * The maximum number of named reserves that can exist on an account. - **/ maxReserves: u32 & AugmentedConst; /** * Generic const @@ -118,46 +68,14 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; bounties: { - /** - * The amount held on deposit for placing a bounty proposal. - **/ bountyDepositBase: u128 & AugmentedConst; - /** - * The delay period for which a bounty beneficiary need to wait before claim the payout. - **/ bountyDepositPayoutDelay: u32 & AugmentedConst; - /** - * Bounty duration in blocks. - **/ bountyUpdatePeriod: u32 & AugmentedConst; - /** - * Minimum value for a bounty. - **/ bountyValueMinimum: u128 & AugmentedConst; - /** - * Maximum amount of funds that should be placed in a deposit for making a proposal. - **/ curatorDepositMax: Option & AugmentedConst; - /** - * Minimum amount of funds that should be placed in a deposit for making a proposal. - **/ curatorDepositMin: Option & AugmentedConst; - /** - * The curator deposit is calculated as a percentage of the curator fee. - * - * This deposit has optional upper and lower bounds with `CuratorDepositMax` and - * `CuratorDepositMin`. - **/ curatorDepositMultiplier: Permill & AugmentedConst; - /** - * The amount held on deposit per byte within the tip report reason or bounty description. - **/ dataDepositPerByte: u128 & AugmentedConst; - /** - * Maximum acceptable reason length. - * - * Benchmarks depend on this value, be sure to update weights file when changing this value - **/ maximumReasonLength: u32 & AugmentedConst; /** * Generic const @@ -165,43 +83,15 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; cdpEngine: { - /** - * The default debit exchange rate for all collateral types - **/ defaultDebitExchangeRate: u128 & AugmentedConst; - /** - * The default liquidation penalty rate when liquidate unsafe CDP - **/ defaultLiquidationPenalty: u128 & AugmentedConst; - /** - * The default liquidation ratio for all collateral types of CDP - **/ defaultLiquidationRatio: u128 & AugmentedConst; - /** - * Stablecoin currency id - **/ getStableCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; maxLiquidationContracts: u32 & AugmentedConst; - /** - * When settle collateral with smart contracts, the acceptable max slippage for the price - * from oracle. - **/ maxLiquidationContractSlippage: u128 & AugmentedConst; - /** - * When swap with DEX, the acceptable max slippage for the price from oracle. - **/ maxSwapSlippageCompareToOracle: u128 & AugmentedConst; - /** - * The minimum debit value to avoid debit dust - **/ minimumDebitValue: u128 & AugmentedConst; palletId: FrameSupportPalletId & AugmentedConst; - /** - * A configuration for base priority of unsigned transactions. - * - * This is exposed so that it can be tuned for particular runtime, when - * multiple modules send unsigned transactions. - **/ unsignedPriority: u64 & AugmentedConst; /** * Generic const @@ -209,20 +99,8 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; cdpTreasury: { - /** - * Stablecoin currency id - **/ getStableCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * The cap of lots number when create collateral auction on a - * liquidation or to create debit/surplus auction on block end. - * If set to 0, does not work. - **/ maxAuctionsCount: u32 & AugmentedConst; - /** - * The CDP treasury's module id, keep surplus and collateral assets - * from liquidation. - **/ palletId: FrameSupportPalletId & AugmentedConst; treasuryAccount: AccountId32 & AugmentedConst; /** @@ -231,37 +109,12 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; collatorSelection: { - /** - * Will be kicked if block is not produced in threshold. - **/ collatorKickThreshold: Permill & AugmentedConst; - /** - * The Kicked candidate cannot register candidate or withdraw bond until - * `KickPenaltySessionLength` ends. - **/ kickPenaltySessionLength: u32 & AugmentedConst; - /** - * Maximum number of candidates that we should have. This is used for benchmarking and is - * not enforced. - * - * This does not take into account the invulnerables. - **/ maxCandidates: u32 & AugmentedConst; - /** - * Maximum number of invulnerables. - **/ maxInvulnerables: u32 & AugmentedConst; - /** - * Minimum number of candidates. - **/ minCandidates: u32 & AugmentedConst; - /** - * Minimum reward to be distributed to the collators. - **/ minRewardDistributeAmount: u128 & AugmentedConst; - /** - * Account Identifier from which the internal Pot is generated. - **/ potId: FrameSupportPalletId & AugmentedConst; /** * Generic const @@ -269,13 +122,7 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; currencies: { - /** - * Used as temporary account for ERC20 token `withdraw` and `deposit`. - **/ erc20HoldingAccount: H160 & AugmentedConst; - /** - * The native currency id - **/ getNativeCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; /** * Generic const @@ -283,65 +130,17 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; democracy: { - /** - * Period in blocks where an external proposal may not be re-submitted after being vetoed. - **/ cooloffPeriod: u32 & AugmentedConst; - /** - * The period between a proposal being approved and enacted. - * - * It should generally be a little more than the unstake period to ensure that - * voting stakers have an opportunity to remove themselves from the system in the case - * where they are on the losing side of a vote. - **/ enactmentPeriod: u32 & AugmentedConst; - /** - * Minimum voting period allowed for a fast-track referendum. - **/ fastTrackVotingPeriod: u32 & AugmentedConst; - /** - * Indicator for whether an emergency origin is even allowed to happen. Some chains may - * want to set this permanently to `false`, others may want to condition it on things such - * as an upgrade having happened recently. - **/ instantAllowed: bool & AugmentedConst; - /** - * How often (in blocks) new public referenda are launched. - **/ launchPeriod: u32 & AugmentedConst; - /** - * The maximum number of items which can be blacklisted. - **/ maxBlacklisted: u32 & AugmentedConst; - /** - * The maximum number of deposits a public proposal may have at any time. - **/ maxDeposits: u32 & AugmentedConst; - /** - * The maximum number of public proposals that can exist at any time. - **/ maxProposals: u32 & AugmentedConst; - /** - * The maximum number of votes for an account. - * - * Also used to compute weight, an overly big value can - * lead to extrinsic with very big weight: see `delegate` for instance. - **/ maxVotes: u32 & AugmentedConst; - /** - * The minimum amount to be used as a deposit for a public referendum proposal. - **/ minimumDeposit: u128 & AugmentedConst; - /** - * The minimum period of vote locking. - * - * It should be no shorter than enactment period to ensure that in the case of an approval, - * those successful voters are locked into the consequences that their votes entail. - **/ voteLockingPeriod: u32 & AugmentedConst; - /** - * How often (in blocks) to check for new votes. - **/ votingPeriod: u32 & AugmentedConst; /** * Generic const @@ -349,25 +148,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; dex: { - /** - * The extended provisioning blocks since the `not_before` of provisioning. - **/ extendedProvisioningBlocks: u32 & AugmentedConst; - /** - * Trading fee rate - * The first item of the tuple is the numerator of the fee rate, second - * item is the denominator, fee_rate = numerator / denominator, - * use (u32, u32) over `Rate` type to minimize internal division - * operation. - **/ getExchangeFee: ITuple<[u32, u32]> & AugmentedConst; - /** - * The DEX's module id, keep all assets in DEX. - **/ palletId: FrameSupportPalletId & AugmentedConst; - /** - * The limit for length of trading path - **/ tradingPathLimit: u32 & AugmentedConst; /** * Generic const @@ -385,32 +168,12 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; evm: { - /** - * Deposit for the developer. - **/ developerDeposit: u128 & AugmentedConst; - /** - * The EVM address for creating system contract. - **/ networkContractSource: H160 & AugmentedConst; - /** - * Charge extra bytes for creating a contract, would be reserved until - * the contract deleted. - **/ newContractExtraBytes: u32 & AugmentedConst; - /** - * The fee for publishing the contract. - **/ publicationFee: u128 & AugmentedConst; - /** - * Storage required for per byte. - **/ storageDepositPerByte: u128 & AugmentedConst; treasuryAccount: AccountId32 & AugmentedConst; - /** - * Tx fee required for per gas. - * Provide to the client - **/ txFeePerGas: u128 & AugmentedConst; /** * Generic const @@ -418,9 +181,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; evmAccounts: { - /** - * Chain ID of EVM. - **/ chainId: u64 & AugmentedConst; /** * Generic const @@ -428,9 +188,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; financialCouncil: { - /** - * The maximum weight of a dispatch call that can be proposed and executed. - **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * Generic const @@ -438,9 +195,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; generalCouncil: { - /** - * The maximum weight of a dispatch call that can be proposed and executed. - **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * Generic const @@ -448,42 +202,15 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; homa: { - /** - * The index list of active Homa subaccounts. - * `active` means these subaccounts can continue do bond/unbond operations by Homa. - **/ activeSubAccountsIndexList: Vec & AugmentedConst; - /** - * Number of eras for unbonding is expired on relaychain. - **/ bondingDuration: u32 & AugmentedConst; - /** - * The default exchange rate for liquid currency to staking currency. - **/ defaultExchangeRate: u128 & AugmentedConst; - /** - * The currency id of the Liquid asset - **/ liquidCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * The staking amount of threshold to mint. - **/ mintThreshold: u128 & AugmentedConst; - /** - * The homa's module id. - **/ palletId: FrameSupportPalletId & AugmentedConst; - /** - * The liquid amount of threshold to redeem. - **/ + processRedeemRequestsLimit: u32 & AugmentedConst; redeemThreshold: u128 & AugmentedConst; - /** - * The currency id of the Staking asset - **/ stakingCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * Vault reward of Homa protocol - **/ treasuryAccount: AccountId32 & AugmentedConst; /** * Generic const @@ -491,9 +218,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; homaCouncil: { - /** - * The maximum weight of a dispatch call that can be proposed and executed. - **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * Generic const @@ -501,17 +225,8 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; homaValidatorList: { - /** - * The waiting eras when unbond token. - **/ bondingDuration: u32 & AugmentedConst; - /** - * The minimum amount of tokens that can be bonded to a validator. - **/ minBondAmount: u128 & AugmentedConst; - /** - * The minimum amount of insurance a validator needs. - **/ validatorInsuranceThreshold: u128 & AugmentedConst; /** * Generic const @@ -519,9 +234,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; honzon: { - /** - * Reserved amount per authorization. - **/ depositPerAuthorization: u128 & AugmentedConst; /** * Generic const @@ -529,15 +241,7 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; idleScheduler: { - /** - * Number of Relay Chain blocks skipped to disable `on_idle` dispatching scheduled tasks, - * this shuts down idle-scheduler when block production is slower than this number of - * relaychain blocks. - **/ disableBlockThreshold: u32 & AugmentedConst; - /** - * The minimum weight that should remain before idle tasks are dispatched. - **/ minimumWeightRemainInBlock: SpWeightsWeightV2Weight & AugmentedConst; /** * Generic const @@ -545,21 +249,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; incentives: { - /** - * The period to accumulate rewards - **/ accumulatePeriod: u32 & AugmentedConst; - /** - * The native currency for earning staking - **/ nativeCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * The module id, keep DexShare LP. - **/ palletId: FrameSupportPalletId & AugmentedConst; - /** - * The source account for native token rewards. - **/ rewardsSource: AccountId32 & AugmentedConst; /** * Generic const @@ -567,21 +259,8 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; liquidCrowdloan: { - /** - * The crowdloan vault account on relay chain. - **/ - crowdloanVault: AccountId32 & AugmentedConst; - /** - * Liquid crowdloan currency Id, i.e. LCDOT for Polkadot. - **/ liquidCrowdloanCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * Pallet Id for liquid crowdloan module. - **/ palletId: FrameSupportPalletId & AugmentedConst; - /** - * Relay chain currency Id, i.e. DOT for Polkadot. - **/ relayChainCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; /** * Generic const @@ -589,9 +268,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; loans: { - /** - * The loan's module id, keep all collaterals of CDPs. - **/ palletId: FrameSupportPalletId & AugmentedConst; /** * Generic const @@ -599,27 +275,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; messageQueue: { - /** - * The size of the page; this implies the maximum message size which can be sent. - * - * A good value depends on the expected message sizes, their weights, the weight that is - * available for processing them and the maximal needed message size. The maximal message - * size is slightly lower than this as defined by [`MaxMessageLenOf`]. - **/ heapSize: u32 & AugmentedConst; - /** - * The maximum number of stale pages (i.e. of overweight messages) allowed before culling - * can happen. Once there are more stale pages than this, then historical pages may be - * dropped, even if they contain unprocessed overweight messages. - **/ + idleMaxServiceWeight: Option & AugmentedConst; maxStale: u32 & AugmentedConst; - /** - * The amount of weight (if any) which should be provided to the message queue for - * servicing enqueued items. - * - * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually. - **/ serviceWeight: Option & AugmentedConst; /** * Generic const @@ -627,24 +285,8 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; multisig: { - /** - * The base amount of currency needed to reserve for creating a multisig execution or to - * store a dispatch call for later. - * - * This is held for an additional storage item whose value size is - * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is - * `32 + sizeof(AccountId)` bytes. - **/ depositBase: u128 & AugmentedConst; - /** - * The amount of currency needed per unit threshold when creating a multisig execution. - * - * This is held for adding 32 bytes more into a pre-existing storage value. - **/ depositFactor: u128 & AugmentedConst; - /** - * The maximum amount of signatories allowed in the multisig. - **/ maxSignatories: u32 & AugmentedConst; /** * Generic const @@ -652,25 +294,10 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; nft: { - /** - * The minimum balance to create class - **/ createClassDeposit: u128 & AugmentedConst; - /** - * The minimum balance to create token - **/ createTokenDeposit: u128 & AugmentedConst; - /** - * Deposit required for per byte. - **/ dataDepositPerByte: u128 & AugmentedConst; - /** - * Maximum number of bytes in attributes - **/ maxAttributesBytes: u32 & AugmentedConst; - /** - * The NFT's module id - **/ palletId: FrameSupportPalletId & AugmentedConst; /** * Generic const @@ -678,25 +305,10 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; nomineesElection: { - /** - * The waiting eras when unbond token. - **/ bondingDuration: u32 & AugmentedConst; - /** - * The maximum number of nominees when voted and picked up. - **/ maxNominateesCount: u32 & AugmentedConst; - /** - * The maximum number of simultaneous unbonding chunks that can exist. - **/ maxUnbondingChunks: u32 & AugmentedConst; - /** - * The minimum amount of tokens that can be bonded. - **/ minBond: u128 & AugmentedConst; - /** - * LockIdentifier for lock vote token. - **/ palletId: U8aFixed & AugmentedConst; /** * Generic const @@ -704,9 +316,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; parachainSystem: { - /** - * Returns the parachain ID we are running with. - **/ selfParaId: u32 & AugmentedConst; /** * Generic const @@ -714,26 +323,10 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; prices: { - /** - * The liquid currency id, it should be LDOT in Acala. - **/ getLiquidCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * The stable currency id, it should be AUSD in Acala. - **/ getStableCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * The staking currency id, it should be DOT in Acala. - **/ getStakingCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * The staking reward rate per relaychain block for StakingCurrency. - * In fact, the staking reward is not settled according to the block on relaychain. - **/ rewardRatePerRelaychainBlock: u128 & AugmentedConst; - /** - * The fixed prices of stable currency, it should be 1 USD in Acala. - **/ stableCurrencyFixedPrice: u128 & AugmentedConst; /** * Generic const @@ -741,42 +334,11 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; proxy: { - /** - * The base amount of currency needed to reserve for creating an announcement. - * - * This is held when a new storage item holding a `Balance` is created (typically 16 - * bytes). - **/ announcementDepositBase: u128 & AugmentedConst; - /** - * The amount of currency needed per announcement made. - * - * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) - * into a pre-existing storage value. - **/ announcementDepositFactor: u128 & AugmentedConst; - /** - * The maximum amount of time-delayed announcements that are allowed to be pending. - **/ maxPending: u32 & AugmentedConst; - /** - * The maximum amount of proxies allowed for a single account. - **/ maxProxies: u32 & AugmentedConst; - /** - * The base amount of currency needed to reserve for creating a proxy. - * - * This is held for an additional storage item whose value size is - * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. - **/ proxyDepositBase: u128 & AugmentedConst; - /** - * The amount of currency needed per proxy added. - * - * This is held for adding 32 bytes plus an instance of `ProxyType` more into a - * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take - * into account `32 + proxy_type.encode().len()` bytes of data. - **/ proxyDepositFactor: u128 & AugmentedConst; /** * Generic const @@ -784,17 +346,7 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; scheduler: { - /** - * The maximum weight that may be scheduled per block for any dispatchables. - **/ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** - * The maximum number of scheduled calls in the queue for a single block. - * - * NOTE: - * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a - * higher limit under `runtime-benchmarks` feature. - **/ maxScheduledPerBlock: u32 & AugmentedConst; /** * Generic const @@ -813,33 +365,11 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; system: { - /** - * Maximum number of block number to block hash mappings to keep (oldest pruned first). - **/ blockHashCount: u32 & AugmentedConst; - /** - * The maximum length of a block (in bytes). - **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; - /** - * Block & extrinsics weights: base values and limits. - **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; - /** - * The weight of runtime database operations the runtime can invoke. - **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; - /** - * The designated SS58 prefix of this chain. - * - * This replaces the "ss58Format" property declared in the chain spec. Reason is - * that the runtime should know about the prefix in order to make use of it as - * an identifier of the chain. - **/ ss58Prefix: u16 & AugmentedConst; - /** - * Get the chain's in-code version. - **/ version: SpVersionRuntimeVersion & AugmentedConst; /** * Generic const @@ -847,9 +377,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; technicalCommittee: { - /** - * The maximum weight of a dispatch call that can be proposed and executed. - **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * Generic const @@ -857,14 +384,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; timestamp: { - /** - * The minimum period between blocks. - * - * Be aware that this is different to the *expected* period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to - * determine a sensible block time. For example, in the Aura pallet it will be double this - * period on default settings. - **/ minimumPeriod: u64 & AugmentedConst; /** * Generic const @@ -872,31 +391,11 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; tips: { - /** - * The amount held on deposit per byte within the tip report reason or bounty description. - **/ dataDepositPerByte: u128 & AugmentedConst; - /** - * Maximum acceptable reason length. - * - * Benchmarks depend on this value, be sure to update weights file when changing this value - **/ maximumReasonLength: u32 & AugmentedConst; - /** - * The maximum amount for a single tip. - **/ maxTipAmount: u128 & AugmentedConst; - /** - * The period for which a tip remains open after is has achieved threshold tippers. - **/ tipCountdown: u32 & AugmentedConst; - /** - * The percent of the final tip which goes to the original reporter of the tip. - **/ tipFindersFee: Percent & AugmentedConst; - /** - * The non-zero amount held on deposit for placing a tip report. - **/ tipReportDepositBase: u128 & AugmentedConst; /** * Generic const @@ -905,9 +404,6 @@ declare module '@polkadot/api-base/types/consts' { }; tokens: { maxLocks: u32 & AugmentedConst; - /** - * The maximum number of named reserves that can exist on an account. - **/ maxReserves: u32 & AugmentedConst; /** * Generic const @@ -915,75 +411,17 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; transactionPayment: { - /** - * Alternative fee surplus if not payed with native asset. - **/ alternativeFeeSurplus: Percent & AugmentedConst; - /** - * Deposit for setting an Alternative fee swap - **/ alternativeFeeSwapDeposit: u128 & AugmentedConst; - /** - * Custom fee surplus if not payed with native asset. - **/ customFeeSurplus: Percent & AugmentedConst; - /** - * Default fee tokens used in tx fee pool. - **/ defaultFeeTokens: Vec & AugmentedConst; - /** - * When swap with DEX, the acceptable max slippage for the price from oracle. - **/ maxSwapSlippageCompareToOracle: u128 & AugmentedConst; - /** - * The maximum value of tips that affect the priority. - * Set the maximum value of tips to prevent affecting the unsigned extrinsic. - **/ maxTipsOfPriority: u128 & AugmentedConst; - /** - * Native currency id, the actual received currency type as fee for - * treasury. Should be ACA - **/ nativeCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; - /** - * A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their - * `priority` - * - * This value is multipled by the `final_fee` to obtain a "virtual tip" that is later - * added to a tip component in regular `priority` calculations. - * It means that a `Normal` transaction can front-run a similarly-sized `Operational` - * extrinsic (with no tip), by including a tip value greater than the virtual tip. - * - * ```rust,ignore - * // For `Normal` - * let priority = priority_calc(tip); - * - * // For `Operational` - * let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; - * let priority = priority_calc(tip + virtual_tip); - * ``` - * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` - * sent with the transaction. So, not only does the transaction get a priority bump based - * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` - * transactions. - **/ operationalFeeMultiplier: u64 & AugmentedConst; - /** - * PalletId used to derivate sub account. - **/ palletId: FrameSupportPalletId & AugmentedConst; - /** - * The step amount of tips required to effect transaction priority. - **/ tipPerWeightStep: u128 & AugmentedConst; - /** - * The limit for length of trading path - **/ tradingPathLimit: u32 & AugmentedConst; - /** - * Treasury account used to transfer balance to sub account of `PalletId`. - **/ treasuryAccount: AccountId32 & AugmentedConst; /** * Generic const @@ -991,40 +429,10 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; treasury: { - /** - * Percentage of spare funds (if any) that are burnt per spend period. - **/ burn: Permill & AugmentedConst; - /** - * The maximum number of approvals that can wait in the spending queue. - * - * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. - **/ maxApprovals: u32 & AugmentedConst; - /** - * The treasury's pallet id, used for deriving its sovereign account ID. - **/ palletId: FrameSupportPalletId & AugmentedConst; - /** - * The period during which an approved treasury spend has to be claimed. - **/ payoutPeriod: u32 & AugmentedConst; - /** - * Fraction of a proposal's value that should be bonded in order to place the proposal. - * An accepted proposal gets these back. A rejected proposal does not. - **/ - proposalBond: Permill & AugmentedConst; - /** - * Maximum amount of funds that should be placed in a deposit for making a proposal. - **/ - proposalBondMaximum: Option & AugmentedConst; - /** - * Minimum amount of funds that should be placed in a deposit for making a proposal. - **/ - proposalBondMinimum: u128 & AugmentedConst; - /** - * Period between successive spends. - **/ spendPeriod: u32 & AugmentedConst; /** * Generic const @@ -1032,9 +440,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; utility: { - /** - * The limit on the number of batched calls. - **/ batchedCallsLimit: u32 & AugmentedConst; /** * Generic const @@ -1042,9 +447,6 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; vesting: { - /** - * The minimum amount transferred to call `vested_transfer`. - **/ minVestedTransfer: u128 & AugmentedConst; /** * Generic const @@ -1052,21 +454,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; xcmInterface: { - /** - * The account of parachain on the relaychain. - **/ parachainAccount: AccountId32 & AugmentedConst; - /** - * Unbonding slashing spans for unbonding on the relaychain. - **/ relayChainUnbondingSlashingSpans: u32 & AugmentedConst; - /** - * Self parachain location. - **/ selfLocation: StagingXcmV4Location & AugmentedConst; - /** - * The currency id of the Staking asset - **/ stakingCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; /** * Generic const @@ -1074,34 +464,17 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; xcmpQueue: { - /** - * The maximum number of inbound XCMP channels that can be suspended simultaneously. - * - * Any further channel suspensions will fail and messages may get dropped without further - * notice. Choosing a high value (1000) is okay; the trade-off that is described in - * [`InboundXcmpSuspended`] still applies at that scale. - **/ + maxActiveOutboundChannels: u32 & AugmentedConst; maxInboundSuspended: u32 & AugmentedConst; + maxPageSize: u32 & AugmentedConst; /** * Generic const **/ [key: string]: Codec; }; xTokens: { - /** - * Base XCM weight. - * - * The actually weight for an XCM message is `T::BaseXcmWeight + - * T::Weigher::weight(&msg)`. - **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** - * The id of the RateLimiter. - **/ rateLimiterId: Null & AugmentedConst; - /** - * Self chain location. - **/ selfLocation: StagingXcmV4Location & AugmentedConst; /** * Generic const diff --git a/packages/types/src/interfaces/augment-api-errors.ts b/packages/types/src/interfaces/augment-api-errors.ts index 9ff0b1e..69d87bc 100644 --- a/packages/types/src/interfaces/augment-api-errors.ts +++ b/packages/types/src/interfaces/augment-api-errors.ts @@ -12,13 +12,7 @@ export type __AugmentedError = AugmentedError declare module '@polkadot/api-base/types/errors' { interface AugmentedErrors { acalaOracle: { - /** - * Feeder has already feeded at this block - **/ AlreadyFeeded: AugmentedError; - /** - * Sender does not have permission - **/ NoPermission: AugmentedError; /** * Generic error @@ -26,21 +20,9 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; aggregatedDex: { - /** - * Cannot swap. - **/ CannotSwap: AugmentedError; - /** - * The stable asset pool id of Taiga is invalid. - **/ InvalidPoolId: AugmentedError; - /** - * The SwapPath is invalid. - **/ InvalidSwapPath: AugmentedError; - /** - * The asset index of stable asset pool is invalid. - **/ InvalidTokenIndex: AugmentedError; /** * Generic error @@ -48,22 +30,9 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; assetRegistry: { - /** - * AssetId exists - **/ AssetIdExisted: AugmentedError; - /** - * AssetId not exists - **/ AssetIdNotExists: AugmentedError; - /** - * The given location could not be used (e.g. because it cannot be expressed in the - * desired version of XCM). - **/ BadLocation: AugmentedError; - /** - * Location existed - **/ LocationExisted: AugmentedError; /** * Generic error @@ -82,29 +51,11 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; auctionManager: { - /** - * The auction dose not exist - **/ AuctionNotExists: AugmentedError; - /** - * The collateral auction is in reverse stage now - **/ InReverseStage: AugmentedError; - /** - * Invalid input amount - **/ InvalidAmount: AugmentedError; - /** - * Bid price is invalid - **/ InvalidBidPrice: AugmentedError; - /** - * Feed price is invalid - **/ InvalidFeedPrice: AugmentedError; - /** - * Must after system shutdown - **/ MustAfterShutdown: AugmentedError; /** * Generic error @@ -112,33 +63,12 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; authority: { - /** - * Call is not authorized. - **/ CallNotAuthorized: AugmentedError; - /** - * Failed to cancel a task. - **/ FailedToCancel: AugmentedError; - /** - * Failed to delay a task. - **/ FailedToDelay: AugmentedError; - /** - * Failed to fast track a task. - **/ FailedToFastTrack: AugmentedError; - /** - * Failed to schedule a task. - **/ FailedToSchedule: AugmentedError; - /** - * Triggering the call is not permitted. - **/ TriggerCallNotPermitted: AugmentedError; - /** - * Call weight bound is wrong. - **/ WrongCallWeightBound: AugmentedError; /** * Generic error @@ -146,53 +76,17 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; balances: { - /** - * Beneficiary account must pre-exist. - **/ DeadAccount: AugmentedError; - /** - * The delta cannot be zero. - **/ DeltaZero: AugmentedError; - /** - * Value too low to create account due to existential deposit. - **/ ExistentialDeposit: AugmentedError; - /** - * A vesting schedule already exists for this account. - **/ ExistingVestingSchedule: AugmentedError; - /** - * Transfer/payment would kill account. - **/ Expendability: AugmentedError; - /** - * Balance too low to send value. - **/ InsufficientBalance: AugmentedError; - /** - * The issuance cannot be modified since it is already deactivated. - **/ IssuanceDeactivated: AugmentedError; - /** - * Account liquidity restrictions prevent withdrawal. - **/ LiquidityRestrictions: AugmentedError; - /** - * Number of freezes exceed `MaxFreezes`. - **/ TooManyFreezes: AugmentedError; - /** - * Number of holds exceed `VariantCountOf`. - **/ TooManyHolds: AugmentedError; - /** - * Number of named reserves exceed `MaxReserves`. - **/ TooManyReserves: AugmentedError; - /** - * Vesting balance too high to send value. - **/ VestingBalance: AugmentedError; /** * Generic error @@ -200,50 +94,16 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; bounties: { - /** - * The bounty cannot be closed because it has active child bounties. - **/ HasActiveChildBounty: AugmentedError; - /** - * Proposer's balance is too low. - **/ InsufficientProposersBalance: AugmentedError; - /** - * Invalid bounty fee. - **/ InvalidFee: AugmentedError; - /** - * No proposal or bounty at that index. - **/ InvalidIndex: AugmentedError; - /** - * Invalid bounty value. - **/ InvalidValue: AugmentedError; - /** - * A bounty payout is pending. - * To cancel the bounty, you must unassign and slash the curator. - **/ PendingPayout: AugmentedError; - /** - * The bounties cannot be claimed/closed because it's still in the countdown period. - **/ Premature: AugmentedError; - /** - * The reason given is just too big. - **/ ReasonTooBig: AugmentedError; - /** - * Require bounty curator. - **/ RequireCurator: AugmentedError; - /** - * Too many approvals are already queued. - **/ TooManyQueued: AugmentedError; - /** - * The bounty status is unexpected. - **/ UnexpectedStatus: AugmentedError; /** * Generic error @@ -251,83 +111,24 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; cdpEngine: { - /** - * System has already been shutdown - **/ AlreadyShutdown: AugmentedError; - /** - * The collateral ratio below the liquidation ratio - **/ BelowLiquidationRatio: AugmentedError; - /** - * The collateral ratio below the required collateral ratio - **/ BelowRequiredCollateralRatio: AugmentedError; - /** - * Remain collateral value in CDP below the dust amount. - * Withdraw all collateral or leave more than the minimum. - **/ CollateralAmountBelowMinimum: AugmentedError; - /** - * Collateral ERC20 contract not found. - **/ CollateralContractNotFound: AugmentedError; - /** - * Collateral in CDP is not enough - **/ CollateralNotEnough: AugmentedError; - /** - * convert debit value to debit balance failed - **/ ConvertDebitBalanceFailed: AugmentedError; - /** - * The total debit value of specific collateral type already exceed the - * hard cap - **/ ExceedDebitValueHardCap: AugmentedError; - /** - * Invalid collateral type - **/ InvalidCollateralType: AugmentedError; - /** - * Feed price is invalid - **/ InvalidFeedPrice: AugmentedError; - /** - * Invalid rate - **/ InvalidRate: AugmentedError; - /** - * Collateral liquidation failed. - **/ LiquidationFailed: AugmentedError; - /** - * Must after system shutdown - **/ MustAfterShutdown: AugmentedError; - /** - * The CDP must be safe status - **/ MustBeSafe: AugmentedError; - /** - * The CDP must be unsafe status - **/ MustBeUnsafe: AugmentedError; - /** - * No debit value in CDP so that it cannot be settled - **/ NoDebitValue: AugmentedError; - /** - * debit value decrement is not enough - **/ NotEnoughDebitDecrement: AugmentedError; - /** - * Remain debit value in CDP below the dust amount - **/ RemainDebitValueTooSmall: AugmentedError; - /** - * Exceeds `T::MaxLiquidationContracts`. - **/ TooManyLiquidationContracts: AugmentedError; /** * Generic error @@ -335,25 +136,10 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; cdpTreasury: { - /** - * Cannot use collateral to swap stable - **/ CannotSwap: AugmentedError; - /** - * The collateral amount of CDP treasury is not enough - **/ CollateralNotEnough: AugmentedError; - /** - * The debit pool of CDP treasury is not enough - **/ DebitPoolNotEnough: AugmentedError; - /** - * The currency id is not DexShare type - **/ NotDexShare: AugmentedError; - /** - * The surplus pool of CDP treasury is not enough - **/ SurplusPoolNotEnough: AugmentedError; /** * Generic error @@ -380,29 +166,11 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; currencies: { - /** - * Unable to convert the Amount type into Balance. - **/ AmountIntoBalanceFailed: AugmentedError; - /** - * Balance is too low. - **/ BalanceTooLow: AugmentedError; - /** - * Deposit result is not expected - **/ DepositFailed: AugmentedError; - /** - * Erc20 invalid operation - **/ Erc20InvalidOperation: AugmentedError; - /** - * EVM account not found - **/ EvmAccountNotFound: AugmentedError; - /** - * Real origin not found - **/ RealOriginNotFound: AugmentedError; /** * Generic error @@ -410,102 +178,29 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; democracy: { - /** - * Cannot cancel the same proposal twice - **/ AlreadyCanceled: AugmentedError; - /** - * The account is already delegating. - **/ AlreadyDelegating: AugmentedError; - /** - * Identity may not veto a proposal twice - **/ AlreadyVetoed: AugmentedError; - /** - * Proposal already made - **/ DuplicateProposal: AugmentedError; - /** - * The instant referendum origin is currently disallowed. - **/ InstantNotAllowed: AugmentedError; - /** - * Too high a balance was provided that the account cannot afford. - **/ InsufficientFunds: AugmentedError; - /** - * Invalid hash - **/ InvalidHash: AugmentedError; - /** - * Maximum number of votes reached. - **/ MaxVotesReached: AugmentedError; - /** - * No proposals waiting - **/ NoneWaiting: AugmentedError; - /** - * Delegation to oneself makes no sense. - **/ Nonsense: AugmentedError; - /** - * The actor has no permission to conduct the action. - **/ NoPermission: AugmentedError; - /** - * No external proposal - **/ NoProposal: AugmentedError; - /** - * The account is not currently delegating. - **/ NotDelegating: AugmentedError; - /** - * Next external proposal not simple majority - **/ NotSimpleMajority: AugmentedError; - /** - * The given account did not vote on the referendum. - **/ NotVoter: AugmentedError; - /** - * The preimage does not exist. - **/ PreimageNotExist: AugmentedError; - /** - * Proposal still blacklisted - **/ ProposalBlacklisted: AugmentedError; - /** - * Proposal does not exist - **/ ProposalMissing: AugmentedError; - /** - * Vote given for invalid referendum - **/ ReferendumInvalid: AugmentedError; - /** - * Maximum number of items reached. - **/ TooMany: AugmentedError; - /** - * Value too low - **/ ValueLow: AugmentedError; - /** - * The account currently has votes attached to it and the operation cannot succeed until - * these are removed, either through `unvote` or `reap_vote`. - **/ VotesExist: AugmentedError; - /** - * Voting period too low - **/ VotingPeriodLow: AugmentedError; - /** - * Invalid upper bound. - **/ WrongUpperBound: AugmentedError; /** * Generic error @@ -513,97 +208,28 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; dex: { - /** - * Trading pair is already Enabled - **/ AlreadyEnabled: AugmentedError; - /** - * The Asset unregistered. - **/ AssetUnregistered: AugmentedError; - /** - * Cannot swap - **/ CannotSwap: AugmentedError; - /** - * Supply amount is more than max_supply_amount - **/ ExcessiveSupplyAmount: AugmentedError; - /** - * Liquidity is not enough - **/ InsufficientLiquidity: AugmentedError; - /** - * Target amount is less to min_target_amount - **/ InsufficientTargetAmount: AugmentedError; - /** - * The increment of provision is invalid - **/ InvalidContributionIncrement: AugmentedError; - /** - * Invalid currency id - **/ InvalidCurrencyId: AugmentedError; - /** - * The increment of liquidity is invalid - **/ InvalidLiquidityIncrement: AugmentedError; - /** - * The trading path is invalid - **/ InvalidTradingPath: AugmentedError; - /** - * Invalid trading path length - **/ InvalidTradingPathLength: AugmentedError; - /** - * The swap dosen't meet the invariant check - **/ InvariantCheckFailed: AugmentedError; - /** - * Trading pair must be in Disabled status - **/ MustBeDisabled: AugmentedError; - /** - * Trading pair must be in Enabled status - **/ MustBeEnabled: AugmentedError; - /** - * Trading pair must be in Provisioning status - **/ MustBeProvisioning: AugmentedError; - /** - * This trading pair is not allowed to be listed - **/ NotAllowedList: AugmentedError; - /** - * Not allowed to refund provision - **/ NotAllowedRefund: AugmentedError; - /** - * Trading pair is still provisioning - **/ StillProvisioning: AugmentedError; - /** - * The liquidity withdrawn is unacceptable - **/ UnacceptableLiquidityWithdrawn: AugmentedError; - /** - * The share increment is unacceptable - **/ UnacceptableShareIncrement: AugmentedError; - /** - * The Provision is unqualified to be converted to `Enabled` - **/ UnqualifiedProvision: AugmentedError; - /** - * The supply amount is zero - **/ ZeroSupplyAmount: AugmentedError; - /** - * The target amount is zero - **/ ZeroTargetAmount: AugmentedError; /** * Generic error @@ -611,25 +237,10 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; dexOracle: { - /** - * Already enabled average price for this trading pair. - **/ AveragePriceAlreadyEnabled: AugmentedError; - /** - * The trading pair must be enabled average price. - **/ AveragePriceMustBeEnabled: AugmentedError; - /** - * The interval is zero. - **/ IntervalIsZero: AugmentedError; - /** - * The currency id is invalid. - **/ InvalidCurrencyId: AugmentedError; - /** - * The liquidity pool is invalid. - **/ InvalidPool: AugmentedError; /** * Generic error @@ -647,25 +258,10 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; emergencyShutdown: { - /** - * System has already been shutdown - **/ AlreadyShutdown: AugmentedError; - /** - * Final redemption is still not opened - **/ CanNotRefund: AugmentedError; - /** - * Exist potential surplus, means settlement has not been completed - **/ ExistPotentialSurplus: AugmentedError; - /** - * Exist unhandled debit, means settlement has not been completed - **/ ExistUnhandledDebit: AugmentedError; - /** - * Must after system shutdown - **/ MustAfterShutdown: AugmentedError; /** * Generic error @@ -673,73 +269,22 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; evm: { - /** - * Address not mapped - **/ AddressNotMapped: AugmentedError; - /** - * Contract cannot be killed due to reference count - **/ CannotKillContract: AugmentedError; - /** - * Charge fee failed - **/ ChargeFeeFailed: AugmentedError; - /** - * Charge storage failed - **/ ChargeStorageFailed: AugmentedError; - /** - * Contract already existed - **/ ContractAlreadyExisted: AugmentedError; - /** - * Contract already published - **/ ContractAlreadyPublished: AugmentedError; - /** - * Contract development is already enabled - **/ ContractDevelopmentAlreadyEnabled: AugmentedError; - /** - * Contract development is not enabled - **/ ContractDevelopmentNotEnabled: AugmentedError; - /** - * Contract exceeds max code size - **/ ContractExceedsMaxCodeSize: AugmentedError; - /** - * Contract not found - **/ ContractNotFound: AugmentedError; - /** - * Invalid decimals - **/ InvalidDecimals: AugmentedError; - /** - * No permission - **/ NoPermission: AugmentedError; - /** - * Caller is not externally owned account - **/ NotEOA: AugmentedError; - /** - * Storage usage exceeds storage limit - **/ OutOfStorage: AugmentedError; - /** - * Reserve storage failed - **/ ReserveStorageFailed: AugmentedError; - /** - * Strict call failed - **/ StrictCallFailed: AugmentedError; - /** - * Unreserve storage failed - **/ UnreserveStorageFailed: AugmentedError; /** * Generic error @@ -747,25 +292,10 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; evmAccounts: { - /** - * AccountId has mapped - **/ AccountIdHasMapped: AugmentedError; - /** - * Bad signature - **/ BadSignature: AugmentedError; - /** - * Eth address has mapped - **/ EthAddressHasMapped: AugmentedError; - /** - * Invalid signature - **/ InvalidSignature: AugmentedError; - /** - * Account ref count is not zero - **/ NonZeroRefCount: AugmentedError; /** * Generic error @@ -773,25 +303,10 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; evmBridge: { - /** - * Execution error - **/ ExecutionError: AugmentedError; - /** - * Execution failed - **/ ExecutionFail: AugmentedError; - /** - * Execution fatal - **/ ExecutionFatal: AugmentedError; - /** - * Execution reverted - **/ ExecutionRevert: AugmentedError; - /** - * Invalid return value - **/ InvalidReturnValue: AugmentedError; /** * Generic error @@ -799,49 +314,16 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; financialCouncil: { - /** - * Members are already initialized! - **/ AlreadyInitialized: AugmentedError; - /** - * Duplicate proposals not allowed - **/ DuplicateProposal: AugmentedError; - /** - * Duplicate vote ignored - **/ DuplicateVote: AugmentedError; - /** - * Account is not a member - **/ NotMember: AugmentedError; - /** - * Prime account is not a member - **/ PrimeAccountNotMember: AugmentedError; - /** - * Proposal must exist - **/ ProposalMissing: AugmentedError; - /** - * The close call was made too early, before the end of the voting. - **/ TooEarly: AugmentedError; - /** - * There can only be a maximum of `MaxProposals` active proposals. - **/ TooManyProposals: AugmentedError; - /** - * Mismatched index - **/ WrongIndex: AugmentedError; - /** - * The given length bound for the proposal was too low. - **/ WrongProposalLength: AugmentedError; - /** - * The given weight bound for the proposal was too low. - **/ WrongProposalWeight: AugmentedError; /** * Generic error @@ -849,17 +331,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; financialCouncilMembership: { - /** - * Already a member. - **/ AlreadyMember: AugmentedError; - /** - * Not a member. - **/ NotMember: AugmentedError; - /** - * Too many members. - **/ TooManyMembers: AugmentedError; /** * Generic error @@ -867,49 +340,16 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; generalCouncil: { - /** - * Members are already initialized! - **/ AlreadyInitialized: AugmentedError; - /** - * Duplicate proposals not allowed - **/ DuplicateProposal: AugmentedError; - /** - * Duplicate vote ignored - **/ DuplicateVote: AugmentedError; - /** - * Account is not a member - **/ NotMember: AugmentedError; - /** - * Prime account is not a member - **/ PrimeAccountNotMember: AugmentedError; - /** - * Proposal must exist - **/ ProposalMissing: AugmentedError; - /** - * The close call was made too early, before the end of the voting. - **/ TooEarly: AugmentedError; - /** - * There can only be a maximum of `MaxProposals` active proposals. - **/ TooManyProposals: AugmentedError; - /** - * Mismatched index - **/ WrongIndex: AugmentedError; - /** - * The given length bound for the proposal was too low. - **/ WrongProposalLength: AugmentedError; - /** - * The given weight bound for the proposal was too low. - **/ WrongProposalWeight: AugmentedError; /** * Generic error @@ -917,17 +357,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; generalCouncilMembership: { - /** - * Already a member. - **/ AlreadyMember: AugmentedError; - /** - * Not a member. - **/ NotMember: AugmentedError; - /** - * Too many members. - **/ TooManyMembers: AugmentedError; /** * Generic error @@ -935,38 +366,14 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; homa: { - /** - * The mint amount is below the threshold. - **/ BelowMintThreshold: AugmentedError; - /** - * The redeem amount to request is below the threshold. - **/ BelowRedeemThreshold: AugmentedError; - /** - * The fast match cannot be matched completely. - **/ CannotCompletelyFastMatch: AugmentedError; - /** - * The mint will cause staking currency of Homa exceed the soft cap. - **/ ExceededStakingCurrencySoftCap: AugmentedError; - /** - * Redeem request is not allowed to be fast matched. - **/ FastMatchIsNotAllowed: AugmentedError; - /** - * UnclaimedRedemption is not enough, this error is not expected. - **/ InsufficientUnclaimedRedemption: AugmentedError; - /** - * Invalid last era bumped block config - **/ InvalidLastEraBumpedBlock: AugmentedError; InvalidRate: AugmentedError; - /** - * The era index to bump is outdated, must be greater than RelayChainCurrentEra - **/ OutdatedEraIndex: AugmentedError; /** * Generic error @@ -974,49 +381,16 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; homaCouncil: { - /** - * Members are already initialized! - **/ AlreadyInitialized: AugmentedError; - /** - * Duplicate proposals not allowed - **/ DuplicateProposal: AugmentedError; - /** - * Duplicate vote ignored - **/ DuplicateVote: AugmentedError; - /** - * Account is not a member - **/ NotMember: AugmentedError; - /** - * Prime account is not a member - **/ PrimeAccountNotMember: AugmentedError; - /** - * Proposal must exist - **/ ProposalMissing: AugmentedError; - /** - * The close call was made too early, before the end of the voting. - **/ TooEarly: AugmentedError; - /** - * There can only be a maximum of `MaxProposals` active proposals. - **/ TooManyProposals: AugmentedError; - /** - * Mismatched index - **/ WrongIndex: AugmentedError; - /** - * The given length bound for the proposal was too low. - **/ WrongProposalLength: AugmentedError; - /** - * The given weight bound for the proposal was too low. - **/ WrongProposalWeight: AugmentedError; /** * Generic error @@ -1024,17 +398,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; homaCouncilMembership: { - /** - * Already a member. - **/ AlreadyMember: AugmentedError; - /** - * Not a member. - **/ NotMember: AugmentedError; - /** - * Too many members. - **/ TooManyMembers: AugmentedError; /** * Generic error @@ -1061,21 +426,9 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; incentives: { - /** - * Invalid currency id - **/ InvalidCurrencyId: AugmentedError; - /** - * Invalid pool id - **/ InvalidPoolId: AugmentedError; - /** - * Invalid rate - **/ InvalidRate: AugmentedError; - /** - * Share amount is not enough - **/ NotEnough: AugmentedError; /** * Generic error @@ -1090,47 +443,14 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; messageQueue: { - /** - * The message was already processed and cannot be processed again. - **/ AlreadyProcessed: AugmentedError; - /** - * There is temporarily not enough weight to continue servicing messages. - **/ InsufficientWeight: AugmentedError; - /** - * The referenced message could not be found. - **/ NoMessage: AugmentedError; - /** - * Page to be reaped does not exist. - **/ NoPage: AugmentedError; - /** - * Page is not reapable because it has items remaining to be processed and is not old - * enough. - **/ NotReapable: AugmentedError; - /** - * The message is queued for future execution. - **/ Queued: AugmentedError; - /** - * The queue is paused and no message can be executed from it. - * - * This can change at any time and may resolve in the future by re-trying. - **/ QueuePaused: AugmentedError; - /** - * Another call is in progress and needs to finish before this call can happen. - **/ RecursiveDisallowed: AugmentedError; - /** - * This message is temporarily unprocessable. - * - * Such errors are expected, but not guaranteed, to resolve themselves eventually through - * retrying. - **/ TemporarilyUnprocessable: AugmentedError; /** * Generic error @@ -1138,61 +458,19 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; multisig: { - /** - * Call is already approved by this signatory. - **/ AlreadyApproved: AugmentedError; - /** - * The data to be stored is already stored. - **/ AlreadyStored: AugmentedError; - /** - * The maximum weight information provided was too low. - **/ MaxWeightTooLow: AugmentedError; - /** - * Threshold must be 2 or greater. - **/ MinimumThreshold: AugmentedError; - /** - * Call doesn't need any (more) approvals. - **/ NoApprovalsNeeded: AugmentedError; - /** - * Multisig operation not found when attempting to cancel. - **/ NotFound: AugmentedError; - /** - * No timepoint was given, yet the multisig operation is already underway. - **/ NoTimepoint: AugmentedError; - /** - * Only the account that originally created the multisig is able to cancel it. - **/ NotOwner: AugmentedError; - /** - * The sender was contained in the other signatories; it shouldn't be. - **/ SenderInSignatories: AugmentedError; - /** - * The signatories were provided out of order; they should be ordered. - **/ SignatoriesOutOfOrder: AugmentedError; - /** - * There are too few signatories in the list. - **/ TooFewSignatories: AugmentedError; - /** - * There are too many signatories in the list. - **/ TooManySignatories: AugmentedError; - /** - * A timepoint was given, yet no multisig operation is underway. - **/ UnexpectedTimepoint: AugmentedError; - /** - * A different timepoint was given to the multisig operation that is underway. - **/ WrongTimepoint: AugmentedError; /** * Generic error @@ -1200,50 +478,16 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; nft: { - /** - * Attributes too large - **/ AttributesTooLarge: AugmentedError; - /** - * Can not destroy class - * Total issuance is not 0 - **/ CannotDestroyClass: AugmentedError; - /** - * ClassId not found - **/ ClassIdNotFound: AugmentedError; - /** - * Cannot perform mutable action - **/ Immutable: AugmentedError; - /** - * The given token ID is not correct - **/ IncorrectTokenId: AugmentedError; - /** - * Quantity is invalid. need >= 1 - **/ InvalidQuantity: AugmentedError; - /** - * Property of class don't support burn - **/ NonBurnable: AugmentedError; - /** - * Property of class don't support mint - **/ NonMintable: AugmentedError; - /** - * Property of class don't support transfer - **/ NonTransferable: AugmentedError; - /** - * The operator is not the owner of the token and has no permission - **/ NoPermission: AugmentedError; - /** - * TokenId not found - **/ TokenIdNotFound: AugmentedError; /** * Generic error @@ -1263,17 +507,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; operatorMembershipAcala: { - /** - * Already a member. - **/ AlreadyMember: AugmentedError; - /** - * Not a member. - **/ NotMember: AugmentedError; - /** - * Too many members. - **/ TooManyMembers: AugmentedError; /** * Generic error @@ -1281,34 +516,12 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; ormlNFT: { - /** - * Can not destroy class - * Total issuance is not 0 - **/ CannotDestroyClass: AugmentedError; - /** - * Class not found - **/ ClassNotFound: AugmentedError; - /** - * Failed because the Maximum amount of metadata was exceeded - **/ MaxMetadataExceeded: AugmentedError; - /** - * No available class ID - **/ NoAvailableClassId: AugmentedError; - /** - * No available token ID - **/ NoAvailableTokenId: AugmentedError; - /** - * The operator is not the owner of the token and has no permission - **/ NoPermission: AugmentedError; - /** - * Token(ClassId, TokenId) not found - **/ TokenNotFound: AugmentedError; /** * Generic error @@ -1316,20 +529,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; ormlXcm: { - /** - * The version of the `Versioned` value used is not able to be - * interpreted. - **/ BadVersion: AugmentedError; - /** - * The message and destination was recognized as being reachable but - * the operation could not be completed. - **/ SendFailure: AugmentedError; - /** - * The message and destination combination was not recognized as being - * reachable. - **/ Unreachable: AugmentedError; /** * Generic error @@ -1337,38 +538,13 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; parachainSystem: { - /** - * The inherent which supplies the host configuration did not run this block. - **/ HostConfigurationNotAvailable: AugmentedError; - /** - * No code upgrade has been authorized. - **/ NothingAuthorized: AugmentedError; - /** - * No validation function upgrade is currently scheduled. - **/ NotScheduled: AugmentedError; - /** - * Attempt to upgrade validation function while existing upgrade pending. - **/ OverlappingUpgrades: AugmentedError; - /** - * Polkadot currently prohibits this parachain from upgrading its validation function. - **/ ProhibitedByPolkadot: AugmentedError; - /** - * The supplied validation function has compiled into a blob larger than Polkadot is - * willing to run. - **/ TooBig: AugmentedError; - /** - * The given code upgrade has not been authorized. - **/ Unauthorized: AugmentedError; - /** - * The inherent which supplies the validation data did not run this block. - **/ ValidationDataNotAvailable: AugmentedError; /** * Generic error @@ -1382,108 +558,29 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; polkadotXcm: { - /** - * The given account is not an identifiable sovereign account for any location. - **/ AccountNotSovereign: AugmentedError; - /** - * The location is invalid since it already has a subscription from us. - **/ AlreadySubscribed: AugmentedError; - /** - * The given location could not be used (e.g. because it cannot be expressed in the - * desired version of XCM). - **/ BadLocation: AugmentedError; - /** - * The version of the `Versioned` value used is not able to be interpreted. - **/ BadVersion: AugmentedError; - /** - * Could not check-out the assets for teleportation to the destination chain. - **/ CannotCheckOutTeleport: AugmentedError; - /** - * Could not re-anchor the assets to declare the fees for the destination chain. - **/ CannotReanchor: AugmentedError; - /** - * The destination `Location` provided cannot be inverted. - **/ DestinationNotInvertible: AugmentedError; - /** - * The assets to be sent are empty. - **/ Empty: AugmentedError; - /** - * The operation required fees to be paid which the initiator could not meet. - **/ FeesNotMet: AugmentedError; - /** - * The message execution fails the filter. - **/ Filtered: AugmentedError; - /** - * The unlock operation cannot succeed because there are still consumers of the lock. - **/ InUse: AugmentedError; - /** - * Invalid non-concrete asset. - **/ - InvalidAssetNotConcrete: AugmentedError; - /** - * Invalid asset, reserve chain could not be determined for it. - **/ InvalidAssetUnknownReserve: AugmentedError; - /** - * Invalid asset, do not support remote asset reserves with different fees reserves. - **/ InvalidAssetUnsupportedReserve: AugmentedError; - /** - * Origin is invalid for sending. - **/ InvalidOrigin: AugmentedError; - /** - * Local XCM execution incomplete. - **/ LocalExecutionIncomplete: AugmentedError; - /** - * A remote lock with the corresponding data could not be found. - **/ LockNotFound: AugmentedError; - /** - * The owner does not own (all) of the asset that they wish to do the operation on. - **/ LowBalance: AugmentedError; - /** - * The referenced subscription could not be found. - **/ NoSubscription: AugmentedError; - /** - * There was some other issue (i.e. not to do with routing) in sending the message. - * Perhaps a lack of space for buffering the message. - **/ SendFailure: AugmentedError; - /** - * Too many assets have been attempted for transfer. - **/ TooManyAssets: AugmentedError; - /** - * The asset owner has too many locks on the asset. - **/ TooManyLocks: AugmentedError; - /** - * Too many assets with different reserve locations have been attempted for transfer. - **/ TooManyReserves: AugmentedError; - /** - * The desired destination was unreachable, generally because there is a no way of routing - * to it. - **/ Unreachable: AugmentedError; - /** - * The message's weight could not be determined. - **/ UnweighableMessage: AugmentedError; /** * Generic error @@ -1491,37 +588,14 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; preimage: { - /** - * Preimage has already been noted on-chain. - **/ AlreadyNoted: AugmentedError; - /** - * The user is not authorized to perform this action. - **/ + NoCost: AugmentedError; NotAuthorized: AugmentedError; - /** - * The preimage cannot be removed since it has not yet been noted. - **/ NotNoted: AugmentedError; - /** - * The preimage request cannot be removed since no outstanding requests exist. - **/ NotRequested: AugmentedError; - /** - * A preimage may not be removed when there are outstanding requests. - **/ Requested: AugmentedError; - /** - * Preimage is too large to store on-chain. - **/ TooBig: AugmentedError; - /** - * Too few hashes were requested to be upgraded (i.e. zero). - **/ TooFew: AugmentedError; - /** - * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. - **/ TooMany: AugmentedError; /** * Generic error @@ -1529,13 +603,7 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; prices: { - /** - * Failed to access price - **/ AccessPriceFailed: AugmentedError; - /** - * There's no locked price - **/ NoLockedPrice: AugmentedError; /** * Generic error @@ -1543,37 +611,13 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; proxy: { - /** - * Account is already a proxy. - **/ Duplicate: AugmentedError; - /** - * Call may not be made by proxy because it may escalate its privileges. - **/ NoPermission: AugmentedError; - /** - * Cannot add self as proxy. - **/ NoSelfProxy: AugmentedError; - /** - * Proxy registration not found. - **/ NotFound: AugmentedError; - /** - * Sender is not a proxy of the account to be proxied. - **/ NotProxy: AugmentedError; - /** - * There are too many proxies registered or too many announcements pending. - **/ TooMany: AugmentedError; - /** - * Announcement, if made at all, was made too recently. - **/ Unannounced: AugmentedError; - /** - * A call which is incompatible with the proxy type's filter was attempted. - **/ Unproxyable: AugmentedError; /** * Generic error @@ -1581,21 +625,9 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; rewards: { - /** - * Can split only less than share - **/ CanSplitOnlyLessThanShare: AugmentedError; - /** - * Pool does not exist - **/ PoolDoesNotExist: AugmentedError; - /** - * Share amount below minimal - **/ ShareBelowMinimal: AugmentedError; - /** - * Account does not have share - **/ ShareDoesNotExist: AugmentedError; /** * Generic error @@ -1603,25 +635,10 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; scheduler: { - /** - * Failed to schedule a call - **/ FailedToSchedule: AugmentedError; - /** - * Attempt to use a non-named function on a named task. - **/ Named: AugmentedError; - /** - * Cannot find the scheduled call. - **/ NotFound: AugmentedError; - /** - * Reschedule failed because it does not change scheduled time. - **/ RescheduleNoChange: AugmentedError; - /** - * Given target block number is in the past. - **/ TargetBlockNumberInPast: AugmentedError; /** * Generic error @@ -1629,25 +646,10 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; session: { - /** - * Registered duplicate key. - **/ DuplicatedKey: AugmentedError; - /** - * Invalid ownership proof. - **/ InvalidProof: AugmentedError; - /** - * Key setting account is not live, so it's impossible to associate keys. - **/ NoAccount: AugmentedError; - /** - * No associated validator ID for account. - **/ NoAssociatedValidatorId: AugmentedError; - /** - * No keys are associated with this account. - **/ NoKeys: AugmentedError; /** * Generic error @@ -1655,17 +657,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; sessionManager: { - /** - * Failed to estimate next session. - **/ EstimateNextSessionFailed: AugmentedError; - /** - * The duration is invalid. - **/ InvalidDuration: AugmentedError; - /** - * The session is invalid. - **/ InvalidSession: AugmentedError; /** * Generic error @@ -1690,9 +683,6 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; sudo: { - /** - * Sender must be the Sudo account. - **/ RequireSudo: AugmentedError; /** * Generic error @@ -1700,45 +690,14 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; system: { - /** - * The origin filter prevent the call to be dispatched. - **/ CallFiltered: AugmentedError; - /** - * Failed to extract the runtime version from the new runtime. - * - * Either calling `Core_version` or decoding `RuntimeVersion` failed. - **/ FailedToExtractRuntimeVersion: AugmentedError; - /** - * The name of specification does not match between the current runtime - * and the new runtime. - **/ InvalidSpecName: AugmentedError; - /** - * A multi-block migration is ongoing and prevents the current code from being replaced. - **/ MultiBlockMigrationsOngoing: AugmentedError; - /** - * Suicide called when the account has non-default composite data. - **/ NonDefaultComposite: AugmentedError; - /** - * There is a non-zero reference count preventing the account from being purged. - **/ NonZeroRefCount: AugmentedError; - /** - * No upgrade authorized. - **/ NothingAuthorized: AugmentedError; - /** - * The specification version is not allowed to decrease between the current runtime - * and the new runtime. - **/ SpecVersionNeedsToIncrease: AugmentedError; - /** - * The submitted code is not authorized. - **/ Unauthorized: AugmentedError; /** * Generic error @@ -1746,49 +705,16 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; technicalCommittee: { - /** - * Members are already initialized! - **/ AlreadyInitialized: AugmentedError; - /** - * Duplicate proposals not allowed - **/ DuplicateProposal: AugmentedError; - /** - * Duplicate vote ignored - **/ DuplicateVote: AugmentedError; - /** - * Account is not a member - **/ NotMember: AugmentedError; - /** - * Prime account is not a member - **/ PrimeAccountNotMember: AugmentedError; - /** - * Proposal must exist - **/ ProposalMissing: AugmentedError; - /** - * The close call was made too early, before the end of the voting. - **/ TooEarly: AugmentedError; - /** - * There can only be a maximum of `MaxProposals` active proposals. - **/ TooManyProposals: AugmentedError; - /** - * Mismatched index - **/ WrongIndex: AugmentedError; - /** - * The given length bound for the proposal was too low. - **/ WrongProposalLength: AugmentedError; - /** - * The given weight bound for the proposal was too low. - **/ WrongProposalWeight: AugmentedError; /** * Generic error @@ -1796,17 +722,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; technicalCommitteeMembership: { - /** - * Already a member. - **/ AlreadyMember: AugmentedError; - /** - * Not a member. - **/ NotMember: AugmentedError; - /** - * Too many members. - **/ TooManyMembers: AugmentedError; /** * Generic error @@ -1814,33 +731,12 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; tips: { - /** - * The tip was already found/started. - **/ AlreadyKnown: AugmentedError; - /** - * The tip given was too generous. - **/ MaxTipAmountExceeded: AugmentedError; - /** - * The account attempting to retract the tip is not the finder of the tip. - **/ NotFinder: AugmentedError; - /** - * The tip cannot be claimed/closed because it's still in the countdown period. - **/ Premature: AugmentedError; - /** - * The reason given is just too big. - **/ ReasonTooBig: AugmentedError; - /** - * The tip cannot be claimed/closed because there are not enough tippers yet. - **/ StillOpen: AugmentedError; - /** - * The tip hash is unknown. - **/ UnknownTip: AugmentedError; /** * Generic error @@ -1848,33 +744,12 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; tokens: { - /** - * Cannot convert Amount into Balance type - **/ AmountIntoBalanceFailed: AugmentedError; - /** - * The balance is too low - **/ BalanceTooLow: AugmentedError; - /** - * Beneficiary account must pre-exist - **/ DeadAccount: AugmentedError; - /** - * Value too low to create account due to existential deposit - **/ ExistentialDeposit: AugmentedError; - /** - * Transfer/payment would kill account - **/ KeepAlive: AugmentedError; - /** - * Failed because liquidity restrictions due to locking - **/ LiquidityRestrictions: AugmentedError; - /** - * Failed because the maximum locks was exceeded - **/ MaxLocksExceeded: AugmentedError; TooManyReserves: AugmentedError; /** @@ -1883,13 +758,7 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; transactionPause: { - /** - * can not pause - **/ CannotPause: AugmentedError; - /** - * invalid character encoding - **/ InvalidCharacter: AugmentedError; /** * Generic error @@ -1897,29 +766,11 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; transactionPayment: { - /** - * Charge fee pool is already exist - **/ ChargeFeePoolAlreadyExisted: AugmentedError; - /** - * Dex swap pool is not available now - **/ DexNotAvailable: AugmentedError; - /** - * The balance is invalid - **/ InvalidBalance: AugmentedError; - /** - * Can't find rate by the supply token - **/ InvalidRate: AugmentedError; - /** - * The swap path is invalid - **/ InvalidSwapPath: AugmentedError; - /** - * Can't find the token info in the charge fee pool - **/ InvalidToken: AugmentedError; /** * Generic error @@ -1927,54 +778,16 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; treasury: { - /** - * The payment has already been attempted. - **/ AlreadyAttempted: AugmentedError; - /** - * The spend is not yet eligible for payout. - **/ EarlyPayout: AugmentedError; - /** - * The balance of the asset kind is not convertible to the balance of the native asset. - **/ FailedToConvertBalance: AugmentedError; - /** - * The payment has neither failed nor succeeded yet. - **/ Inconclusive: AugmentedError; - /** - * The spend origin is valid but the amount it is allowed to spend is lower than the - * amount to be spent. - **/ InsufficientPermission: AugmentedError; - /** - * Proposer's balance is too low. - **/ - InsufficientProposersBalance: AugmentedError; - /** - * No proposal, bounty or spend at that index. - **/ InvalidIndex: AugmentedError; - /** - * The payout was not yet attempted/claimed. - **/ NotAttempted: AugmentedError; - /** - * There was some issue with the mechanism of payment. - **/ PayoutError: AugmentedError; - /** - * Proposal has not been approved. - **/ ProposalNotApproved: AugmentedError; - /** - * The spend has expired and cannot be claimed. - **/ SpendExpired: AugmentedError; - /** - * Too many approvals in the queue. - **/ TooManyApprovals: AugmentedError; /** * Generic error @@ -1982,17 +795,8 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; unknownTokens: { - /** - * The operation will cause balance to overflow. - **/ BalanceOverflow: AugmentedError; - /** - * The balance is too low. - **/ BalanceTooLow: AugmentedError; - /** - * Unhandled asset. - **/ UnhandledAsset: AugmentedError; /** * Generic error @@ -2000,9 +804,6 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; utility: { - /** - * Too many calls batched. - **/ TooManyCalls: AugmentedError; /** * Generic error @@ -2010,29 +811,11 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; vesting: { - /** - * The vested transfer amount is too low - **/ AmountLow: AugmentedError; - /** - * Insufficient amount of balance to lock - **/ InsufficientBalanceToLock: AugmentedError; - /** - * Failed because the maximum vesting schedules was exceeded - **/ MaxVestingSchedulesExceeded: AugmentedError; - /** - * This account have too many vesting schedules - **/ TooManyVestingSchedules: AugmentedError; - /** - * Vesting period is zero - **/ ZeroVestingPeriod: AugmentedError; - /** - * Number of vests is zero - **/ ZeroVestingPeriodCount: AugmentedError; /** * Generic error @@ -2040,9 +823,6 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; xcmInterface: { - /** - * The xcm operation have failed - **/ XcmFailed: AugmentedError; /** * Generic error @@ -2050,106 +830,36 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; xcmpQueue: { - /** - * The execution is already resumed. - **/ AlreadyResumed: AugmentedError; - /** - * The execution is already suspended. - **/ AlreadySuspended: AugmentedError; - /** - * Setting the queue config failed since one of its values was invalid. - **/ BadQueueConfig: AugmentedError; + TooBig: AugmentedError; + TooManyActiveOutboundChannels: AugmentedError; /** * Generic error **/ [key: string]: AugmentedError; }; xTokens: { - /** - * Asset has no reserve location. - **/ AssetHasNoReserve: AugmentedError; - /** - * The specified index does not exist in a Assets struct. - **/ AssetIndexNonExistent: AugmentedError; - /** - * The version of the `Versioned` value used is not able to be - * interpreted. - **/ BadVersion: AugmentedError; - /** - * Could not re-anchor the assets to declare the fees for the - * destination chain. - **/ CannotReanchor: AugmentedError; - /** - * The destination `Location` provided cannot be inverted. - **/ DestinationNotInvertible: AugmentedError; - /** - * We tried sending distinct asset and fee but they have different - * reserve chains. - **/ DistinctReserveForAssetAndFee: AugmentedError; - /** - * Fee is not enough. - **/ FeeNotEnough: AugmentedError; - /** - * Could not get ancestry of asset reserve location. - **/ InvalidAncestry: AugmentedError; - /** - * The Asset is invalid. - **/ InvalidAsset: AugmentedError; - /** - * Invalid transfer destination. - **/ InvalidDest: AugmentedError; - /** - * MinXcmFee not registered for certain reserve location - **/ MinXcmFeeNotDefined: AugmentedError; - /** - * Not cross-chain transfer. - **/ NotCrossChainTransfer: AugmentedError; - /** - * Currency is not cross-chain transferable. - **/ NotCrossChainTransferableCurrency: AugmentedError; - /** - * Not supported Location - **/ NotSupportedLocation: AugmentedError; - /** - * Asset transfer is limited by RateLimiter. - **/ RateLimited: AugmentedError; - /** - * The number of assets to be sent is over the maximum. - **/ TooManyAssetsBeingSent: AugmentedError; - /** - * The message's weight could not be determined. - **/ UnweighableMessage: AugmentedError; - /** - * XCM execution failed. - **/ XcmExecutionFailed: AugmentedError; - /** - * The transfering asset amount is zero. - **/ ZeroAmount: AugmentedError; - /** - * The fee is zero. - **/ ZeroFee: AugmentedError; /** * Generic error diff --git a/packages/types/src/interfaces/augment-api-events.ts b/packages/types/src/interfaces/augment-api-events.ts index 91ad1b9..ac27a2b 100644 --- a/packages/types/src/interfaces/augment-api-events.ts +++ b/packages/types/src/interfaces/augment-api-events.ts @@ -16,9 +16,6 @@ export type __AugmentedEvent = AugmentedEvent declare module '@polkadot/api-base/types/events' { interface AugmentedEvents { acalaOracle: { - /** - * New feed data is submitted. - **/ NewFeedData: AugmentedEvent>], { sender: AccountId32, values: Vec> }>; /** * Generic event @@ -26,21 +23,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; assetRegistry: { - /** - * The asset registered. - **/ AssetRegistered: AugmentedEvent; - /** - * The asset updated. - **/ AssetUpdated: AugmentedEvent; - /** - * The foreign asset registered. - **/ ForeignAssetRegistered: AugmentedEvent; - /** - * The foreign asset updated. - **/ ForeignAssetUpdated: AugmentedEvent; /** * Generic event @@ -48,9 +33,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; auction: { - /** - * A bid is placed - **/ Bid: AugmentedEvent; /** * Generic event @@ -58,25 +40,10 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; auctionManager: { - /** - * Active auction cancelled. - **/ CancelAuction: AugmentedEvent; - /** - * Collateral auction aborted. - **/ CollateralAuctionAborted: AugmentedEvent; - /** - * Collateral auction dealt. - **/ CollateralAuctionDealt: AugmentedEvent; - /** - * Dex take collateral auction. - **/ DEXTakeCollateralAuction: AugmentedEvent; - /** - * Collateral auction created. - **/ NewCollateralAuction: AugmentedEvent; /** * Generic event @@ -84,37 +51,13 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; authority: { - /** - * A call is authorized. - **/ AuthorizedCall: AugmentedEvent], { hash_: H256, caller: Option }>; - /** - * A scheduled call is cancelled. - **/ Cancelled: AugmentedEvent; - /** - * A scheduled call is delayed. - **/ Delayed: AugmentedEvent; - /** - * A call is dispatched. - **/ Dispatched: AugmentedEvent], { result: Result }>; - /** - * A scheduled call is fast tracked. - **/ FastTracked: AugmentedEvent; - /** - * An authorized call was removed. - **/ RemovedAuthorizedCall: AugmentedEvent; - /** - * A call is scheduled. - **/ Scheduled: AugmentedEvent; - /** - * An authorized call was triggered. - **/ TriggeredCallBy: AugmentedEvent; /** * Generic event @@ -122,95 +65,27 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; balances: { - /** - * A balance was set by root. - **/ BalanceSet: AugmentedEvent; - /** - * Some amount was burned from an account. - **/ Burned: AugmentedEvent; - /** - * Some amount was deposited (e.g. for transaction fees). - **/ Deposit: AugmentedEvent; - /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, - * resulting in an outright loss. - **/ DustLost: AugmentedEvent; - /** - * An account was created with some free balance. - **/ Endowed: AugmentedEvent; - /** - * Some balance was frozen. - **/ Frozen: AugmentedEvent; - /** - * Total issuance was increased by `amount`, creating a credit to be balanced. - **/ Issued: AugmentedEvent; - /** - * Some balance was locked. - **/ Locked: AugmentedEvent; - /** - * Some amount was minted into an account. - **/ Minted: AugmentedEvent; - /** - * Total issuance was decreased by `amount`, creating a debt to be balanced. - **/ Rescinded: AugmentedEvent; - /** - * Some balance was reserved (moved from free to reserved). - **/ Reserved: AugmentedEvent; - /** - * Some balance was moved from the reserve of the first account to the second account. - * Final argument indicates the destination balance type. - **/ ReserveRepatriated: AugmentedEvent; - /** - * Some amount was restored into an account. - **/ Restored: AugmentedEvent; - /** - * Some amount was removed from the account (e.g. for misbehavior). - **/ Slashed: AugmentedEvent; - /** - * Some amount was suspended from an account (it can be restored later). - **/ Suspended: AugmentedEvent; - /** - * Some balance was thawed. - **/ Thawed: AugmentedEvent; - /** - * The `TotalIssuance` was forcefully changed. - **/ TotalIssuanceForced: AugmentedEvent; - /** - * Transfer succeeded. - **/ Transfer: AugmentedEvent; - /** - * Some balance was unlocked. - **/ Unlocked: AugmentedEvent; - /** - * Some balance was unreserved (moved from reserved to free). - **/ Unreserved: AugmentedEvent; - /** - * An account was upgraded. - **/ Upgraded: AugmentedEvent; - /** - * Some amount was withdrawn from the account (e.g. for transaction fees). - **/ Withdraw: AugmentedEvent; /** * Generic event @@ -218,49 +93,16 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; bounties: { - /** - * A bounty is approved. - **/ BountyApproved: AugmentedEvent; - /** - * A bounty is awarded to a beneficiary. - **/ BountyAwarded: AugmentedEvent; - /** - * A bounty proposal is funded and became active. - **/ BountyBecameActive: AugmentedEvent; - /** - * A bounty is cancelled. - **/ BountyCanceled: AugmentedEvent; - /** - * A bounty is claimed by beneficiary. - **/ BountyClaimed: AugmentedEvent; - /** - * A bounty expiry is extended. - **/ BountyExtended: AugmentedEvent; - /** - * New bounty proposal. - **/ BountyProposed: AugmentedEvent; - /** - * A bounty proposal was rejected; funds were slashed. - **/ BountyRejected: AugmentedEvent; - /** - * A bounty curator is accepted. - **/ CuratorAccepted: AugmentedEvent; - /** - * A bounty curator is proposed. - **/ CuratorProposed: AugmentedEvent; - /** - * A bounty curator is unassigned. - **/ CuratorUnassigned: AugmentedEvent; /** * Generic event @@ -268,45 +110,15 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; cdpEngine: { - /** - * Directly close CDP has debit by handle debit with DEX. - **/ CloseCDPInDebitByDEX: AugmentedEvent; - /** - * The interest rate per sec for specific collateral type updated. - **/ InterestRatePerSecUpdated: AugmentedEvent], { collateralType: AcalaPrimitivesCurrencyCurrencyId, newInterestRatePerSec: Option }>; - /** - * Liquidate the unsafe CDP. - **/ LiquidateUnsafeCDP: AugmentedEvent; - /** - * A new liquidation contract is deregistered. - **/ LiquidationContractDeregistered: AugmentedEvent; - /** - * A new liquidation contract is registered. - **/ LiquidationContractRegistered: AugmentedEvent; - /** - * The liquidation penalty rate for specific collateral type updated. - **/ LiquidationPenaltyUpdated: AugmentedEvent], { collateralType: AcalaPrimitivesCurrencyCurrencyId, newLiquidationPenalty: Option }>; - /** - * The liquidation fee for specific collateral type updated. - **/ LiquidationRatioUpdated: AugmentedEvent], { collateralType: AcalaPrimitivesCurrencyCurrencyId, newLiquidationRatio: Option }>; - /** - * The hard cap of total debit value for specific collateral type updated. - **/ MaximumTotalDebitValueUpdated: AugmentedEvent; - /** - * The required collateral penalty rate for specific collateral type updated. - **/ RequiredCollateralRatioUpdated: AugmentedEvent], { collateralType: AcalaPrimitivesCurrencyCurrencyId, newRequiredCollateralRatio: Option }>; - /** - * Settle the CDP has debit. - **/ SettleCDPInDebit: AugmentedEvent; /** * Generic event @@ -314,14 +126,7 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; cdpTreasury: { - /** - * The buffer amount of debit pool that will not be offset by suplus pool updated. - **/ DebitOffsetBufferUpdated: AugmentedEvent; - /** - * The expected amount size for per lot collateral auction of specific collateral type - * updated. - **/ ExpectedCollateralAuctionSizeUpdated: AugmentedEvent; /** * Generic event @@ -329,25 +134,10 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; collatorSelection: { - /** - * A candidate was added. - **/ CandidateAdded: AugmentedEvent; - /** - * A candidate was removed. - **/ CandidateRemoved: AugmentedEvent; - /** - * Candidacy bond was updated. - **/ NewCandidacyBond: AugmentedEvent; - /** - * Desired candidates was updated. - **/ NewDesiredCandidates: AugmentedEvent; - /** - * Invulnurable was updated. - **/ NewInvulnerables: AugmentedEvent], { newInvulnerables: Vec }>; /** * Generic event @@ -355,20 +145,8 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; cumulusXcm: { - /** - * Downward message executed with the given outcome. - * \[ id, outcome \] - **/ ExecutedDownward: AugmentedEvent; - /** - * Downward message is invalid XCM. - * \[ id \] - **/ InvalidFormat: AugmentedEvent; - /** - * Downward message is unsupported version of XCM. - * \[ id \] - **/ UnsupportedVersion: AugmentedEvent; /** * Generic event @@ -376,21 +154,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; currencies: { - /** - * Deposited some balance into an account - **/ Deposited: AugmentedEvent; - /** - * Dust swept. - **/ DustSwept: AugmentedEvent; - /** - * Currency transfer success. - **/ Transferred: AugmentedEvent; - /** - * Withdrawn some balances from an account - **/ Withdrawn: AugmentedEvent; /** * Generic event @@ -398,73 +164,22 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; democracy: { - /** - * A proposal_hash has been blacklisted permanently. - **/ Blacklisted: AugmentedEvent; - /** - * A referendum has been cancelled. - **/ Cancelled: AugmentedEvent; - /** - * An account has delegated their vote to another account. - **/ Delegated: AugmentedEvent; - /** - * An external proposal has been tabled. - **/ ExternalTabled: AugmentedEvent; - /** - * Metadata for a proposal or a referendum has been cleared. - **/ MetadataCleared: AugmentedEvent; - /** - * Metadata for a proposal or a referendum has been set. - **/ MetadataSet: AugmentedEvent; - /** - * Metadata has been transferred to new owner. - **/ MetadataTransferred: AugmentedEvent; - /** - * A proposal has been rejected by referendum. - **/ NotPassed: AugmentedEvent; - /** - * A proposal has been approved by referendum. - **/ Passed: AugmentedEvent; - /** - * A proposal got canceled. - **/ ProposalCanceled: AugmentedEvent; - /** - * A motion has been proposed by a public account. - **/ Proposed: AugmentedEvent; - /** - * An account has secconded a proposal - **/ Seconded: AugmentedEvent; - /** - * A referendum has begun. - **/ Started: AugmentedEvent; - /** - * A public proposal has been tabled for referendum vote. - **/ Tabled: AugmentedEvent; - /** - * An account has cancelled a previous delegation operation. - **/ Undelegated: AugmentedEvent; - /** - * An external proposal has been vetoed. - **/ Vetoed: AugmentedEvent; - /** - * An account has voted in a referendum - **/ Voted: AugmentedEvent; /** * Generic event @@ -472,45 +187,15 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; dex: { - /** - * Add liquidity success. - **/ AddLiquidity: AugmentedEvent; - /** - * add provision success - **/ AddProvision: AugmentedEvent; - /** - * Disable trading pair. - **/ DisableTradingPair: AugmentedEvent; - /** - * Enable trading pair. - **/ EnableTradingPair: AugmentedEvent; - /** - * List provisioning trading pair. - **/ ListProvisioning: AugmentedEvent; - /** - * Provisioning trading pair aborted. - **/ ProvisioningAborted: AugmentedEvent; - /** - * Provisioning trading pair convert to Enabled. - **/ ProvisioningToEnabled: AugmentedEvent; - /** - * refund provision success - **/ RefundProvision: AugmentedEvent; - /** - * Remove liquidity from the trading pool success. - **/ RemoveLiquidity: AugmentedEvent; - /** - * Use supply currency to swap target currency. - **/ Swap: AugmentedEvent, liquidityChanges: Vec], { trader: AccountId32, path: Vec, liquidityChanges: Vec }>; /** * Generic event @@ -529,17 +214,8 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; emergencyShutdown: { - /** - * The final redemption opened. - **/ OpenRefund: AugmentedEvent; - /** - * Refund info. - **/ Refund: AugmentedEvent>], { who: AccountId32, stableCoinAmount: u128, refundList: Vec> }>; - /** - * Emergency shutdown occurs. - **/ Shutdown: AugmentedEvent; /** * Generic event @@ -547,46 +223,15 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; evm: { - /** - * Disabled contract development. - **/ ContractDevelopmentDisabled: AugmentedEvent; - /** - * Enabled contract development. - **/ ContractDevelopmentEnabled: AugmentedEvent; - /** - * Published contract. - **/ ContractPublished: AugmentedEvent; - /** - * Selfdestructed contract code. - **/ ContractSelfdestructed: AugmentedEvent; - /** - * Set contract code. - **/ ContractSetCode: AugmentedEvent; - /** - * A contract has been created at given - **/ Created: AugmentedEvent, usedGas: u64, usedStorage: i32], { from: H160, contract: H160, logs: Vec, usedGas: u64, usedStorage: i32 }>; - /** - * A contract was attempted to be created, but the execution failed. - **/ CreatedFailed: AugmentedEvent, usedGas: u64, usedStorage: i32], { from: H160, contract: H160, exitReason: EvmCoreErrorExitReason, logs: Vec, usedGas: u64, usedStorage: i32 }>; - /** - * A contract has been executed successfully with states applied. - **/ Executed: AugmentedEvent, usedGas: u64, usedStorage: i32], { from: H160, contract: H160, logs: Vec, usedGas: u64, usedStorage: i32 }>; - /** - * A contract has been executed with errors. States are reverted with - * only gas fees applied. - **/ ExecutedFailed: AugmentedEvent, usedGas: u64, usedStorage: i32], { from: H160, contract: H160, exitReason: EvmCoreErrorExitReason, output: Bytes, logs: Vec, usedGas: u64, usedStorage: i32 }>; - /** - * Transferred maintainer. - **/ TransferredMaintainer: AugmentedEvent; /** * Generic event @@ -594,10 +239,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; evmAccounts: { - /** - * Mapping between Substrate accounts and EVM accounts - * claim account. - **/ ClaimAccount: AugmentedEvent; /** * Generic event @@ -605,35 +246,12 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; financialCouncil: { - /** - * A motion was approved by the required threshold. - **/ Approved: AugmentedEvent; - /** - * A proposal was closed because its threshold was reached or after its duration was up. - **/ Closed: AugmentedEvent; - /** - * A motion was not approved by the required threshold. - **/ Disapproved: AugmentedEvent; - /** - * A motion was executed; result will be `Ok` if it returned without error. - **/ Executed: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A single member did some action; result will be `Ok` if it returned without error. - **/ MemberExecuted: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A motion (given hash) has been proposed (by given account) with a threshold (given - * `MemberCount`). - **/ Proposed: AugmentedEvent; - /** - * A motion (given hash) has been voted on by given account, leaving - * a tally (yes votes and no votes given respectively as `MemberCount`). - **/ Voted: AugmentedEvent; /** * Generic event @@ -641,29 +259,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; financialCouncilMembership: { - /** - * Phantom member, never used. - **/ Dummy: AugmentedEvent; - /** - * One of the members' keys changed. - **/ KeyChanged: AugmentedEvent; - /** - * The given member was added; see the transaction for who. - **/ MemberAdded: AugmentedEvent; - /** - * The given member was removed; see the transaction for who. - **/ MemberRemoved: AugmentedEvent; - /** - * The membership was reset; see the transaction for who the new set is. - **/ MembersReset: AugmentedEvent; - /** - * Two members were swapped; see the transaction for who. - **/ MembersSwapped: AugmentedEvent; /** * Generic event @@ -671,35 +271,12 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; generalCouncil: { - /** - * A motion was approved by the required threshold. - **/ Approved: AugmentedEvent; - /** - * A proposal was closed because its threshold was reached or after its duration was up. - **/ Closed: AugmentedEvent; - /** - * A motion was not approved by the required threshold. - **/ Disapproved: AugmentedEvent; - /** - * A motion was executed; result will be `Ok` if it returned without error. - **/ Executed: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A single member did some action; result will be `Ok` if it returned without error. - **/ MemberExecuted: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A motion (given hash) has been proposed (by given account) with a threshold (given - * `MemberCount`). - **/ Proposed: AugmentedEvent; - /** - * A motion (given hash) has been voted on by given account, leaving - * a tally (yes votes and no votes given respectively as `MemberCount`). - **/ Voted: AugmentedEvent; /** * Generic event @@ -707,29 +284,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; generalCouncilMembership: { - /** - * Phantom member, never used. - **/ Dummy: AugmentedEvent; - /** - * One of the members' keys changed. - **/ KeyChanged: AugmentedEvent; - /** - * The given member was added; see the transaction for who. - **/ MemberAdded: AugmentedEvent; - /** - * The given member was removed; see the transaction for who. - **/ MemberRemoved: AugmentedEvent; - /** - * The membership was reset; see the transaction for who the new set is. - **/ MembersReset: AugmentedEvent; - /** - * Two members were swapped; see the transaction for who. - **/ MembersSwapped: AugmentedEvent; /** * Generic event @@ -737,89 +296,26 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; homa: { - /** - * The frequency to bump era has been updated. - **/ BumpEraFrequencyUpdated: AugmentedEvent; - /** - * The commission rate has been updated. - **/ CommissionRateUpdated: AugmentedEvent; - /** - * The current era has been bumped. - **/ CurrentEraBumped: AugmentedEvent; - /** - * The current era has been reset. - **/ CurrentEraReset: AugmentedEvent; - /** - * The estimated reward rate per era of relaychain staking has been updated. - **/ EstimatedRewardRatePerEraUpdated: AugmentedEvent; - /** - * The fast match fee rate has been updated. - **/ FastMatchFeeRateUpdated: AugmentedEvent; - /** - * Transfer staking currency to sub account and bond on RelayChain - **/ HomaBondExtra: AugmentedEvent; - /** - * Nominate validators on RelayChain - **/ HomaNominate: AugmentedEvent], { subAccountIndex: u16, nominations: Vec }>; - /** - * Unbond staking currency of sub account on RelayChain - **/ HomaUnbond: AugmentedEvent; - /** - * Withdraw unbonded from RelayChain - **/ HomaWithdrawUnbonded: AugmentedEvent; - /** - * The relaychain block number of last era bumped updated. - **/ LastEraBumpedBlockUpdated: AugmentedEvent; - /** - * The bonded amount of subaccount's ledger has been reset. - **/ LedgerBondedReset: AugmentedEvent; - /** - * The unlocking of subaccount's ledger has been reset. - **/ LedgerUnlockingReset: AugmentedEvent], { subAccountIndex: u16, newUnlocking: Vec }>; - /** - * The minter use staking currency to mint liquid currency. - **/ Minted: AugmentedEvent; - /** - * The interval eras to nominate. - **/ NominateIntervalEraUpdated: AugmentedEvent; - /** - * Redeem request is redeemed partially or fully by fast match. - **/ RedeemedByFastMatch: AugmentedEvent; - /** - * Redeem request is redeemed by unbond on relaychain. - **/ RedeemedByUnbond: AugmentedEvent; - /** - * Redeem request has been cancelled. - **/ RedeemRequestCancelled: AugmentedEvent; - /** - * Request redeem. - **/ RequestedRedeem: AugmentedEvent; - /** - * The soft bonded cap of per sub account has been updated. - **/ SoftBondedCapPerSubAccountUpdated: AugmentedEvent; - /** - * The redeemer withdraw expired redemption. - **/ WithdrawRedemption: AugmentedEvent; /** * Generic event @@ -827,35 +323,12 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; homaCouncil: { - /** - * A motion was approved by the required threshold. - **/ Approved: AugmentedEvent; - /** - * A proposal was closed because its threshold was reached or after its duration was up. - **/ Closed: AugmentedEvent; - /** - * A motion was not approved by the required threshold. - **/ Disapproved: AugmentedEvent; - /** - * A motion was executed; result will be `Ok` if it returned without error. - **/ Executed: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A single member did some action; result will be `Ok` if it returned without error. - **/ MemberExecuted: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A motion (given hash) has been proposed (by given account) with a threshold (given - * `MemberCount`). - **/ Proposed: AugmentedEvent; - /** - * A motion (given hash) has been voted on by given account, leaving - * a tally (yes votes and no votes given respectively as `MemberCount`). - **/ Voted: AugmentedEvent; /** * Generic event @@ -863,29 +336,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; homaCouncilMembership: { - /** - * Phantom member, never used. - **/ Dummy: AugmentedEvent; - /** - * One of the members' keys changed. - **/ KeyChanged: AugmentedEvent; - /** - * The given member was added; see the transaction for who. - **/ MemberAdded: AugmentedEvent; - /** - * The given member was removed; see the transaction for who. - **/ MemberRemoved: AugmentedEvent; - /** - * The membership was reset; see the transaction for who the new set is. - **/ MembersReset: AugmentedEvent; - /** - * Two members were swapped; see the transaction for who. - **/ MembersSwapped: AugmentedEvent; /** * Generic event @@ -905,21 +360,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; honzon: { - /** - * Authorize someone to operate the loan of specific collateral. - **/ Authorization: AugmentedEvent; - /** - * Transfers debit between two CDPs - **/ TransferDebit: AugmentedEvent; - /** - * Cancel the authorization of specific collateral for someone. - **/ UnAuthorization: AugmentedEvent; - /** - * Cancel all authorization. - **/ UnAuthorizationAll: AugmentedEvent; /** * Generic event @@ -927,13 +370,7 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; idleScheduler: { - /** - * A task is added. - **/ TaskAdded: AugmentedEvent; - /** - * A task has been dispatched on_idle. - **/ TaskDispatched: AugmentedEvent], { taskId: u32, result: Result }>; /** * Generic event @@ -941,29 +378,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; incentives: { - /** - * Payout deduction currency updated. - **/ ClaimRewardDeductionCurrencyUpdated: AugmentedEvent], { pool: ModuleSupportIncentivesPoolId, currency: Option }>; - /** - * Payout deduction rate updated. - **/ ClaimRewardDeductionRateUpdated: AugmentedEvent; - /** - * Claim rewards. - **/ ClaimRewards: AugmentedEvent; - /** - * Deposit DEX share. - **/ DepositDexShare: AugmentedEvent; - /** - * Incentive reward amount updated. - **/ IncentiveRewardAmountUpdated: AugmentedEvent; - /** - * Withdraw DEX share. - **/ WithdrawDexShare: AugmentedEvent; /** * Generic event @@ -971,35 +390,16 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; liquidCrowdloan: { - /** - * The redeem currency id was updated. - **/ RedeemCurrencyIdUpdated: AugmentedEvent; - /** - * Liquid Crowdloan asset was redeemed. - **/ Redeemed: AugmentedEvent; - /** - * The transfer from relay chain crowdloan vault was requested. - **/ - TransferFromCrowdloanVaultRequested: AugmentedEvent; /** * Generic event **/ [key: string]: AugmentedEvent; }; loans: { - /** - * Confiscate CDP's collateral assets and eliminate its debit. - **/ ConfiscateCollateralAndDebit: AugmentedEvent; - /** - * Position updated. - **/ PositionUpdated: AugmentedEvent; - /** - * Transfer loan. - **/ TransferLoan: AugmentedEvent; /** * Generic event @@ -1007,21 +407,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; messageQueue: { - /** - * Message placed in overweight queue. - **/ OverweightEnqueued: AugmentedEvent; - /** - * This page was reaped. - **/ PageReaped: AugmentedEvent; - /** - * Message is processed. - **/ Processed: AugmentedEvent; - /** - * Message discarded due to an error in the `MessageProcessor` (usually a format error). - **/ ProcessingFailed: AugmentedEvent; /** * Generic event @@ -1029,21 +417,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; multisig: { - /** - * A multisig operation has been approved by someone. - **/ MultisigApproval: AugmentedEvent; - /** - * A multisig operation has been cancelled. - **/ MultisigCancelled: AugmentedEvent; - /** - * A multisig operation has been executed. - **/ MultisigExecuted: AugmentedEvent], { approving: AccountId32, timepoint: PalletMultisigTimepoint, multisig: AccountId32, callHash: U8aFixed, result: Result }>; - /** - * A new multisig operation has begun. - **/ NewMultisig: AugmentedEvent; /** * Generic event @@ -1051,29 +427,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; nft: { - /** - * Burned NFT token. - **/ BurnedToken: AugmentedEvent; - /** - * Burned NFT token with remark. - **/ BurnedTokenWithRemark: AugmentedEvent; - /** - * Created NFT class. - **/ CreatedClass: AugmentedEvent; - /** - * Destroyed NFT class. - **/ DestroyedClass: AugmentedEvent; - /** - * Minted NFT token. - **/ MintedToken: AugmentedEvent; - /** - * Transferred NFT token. - **/ TransferredToken: AugmentedEvent; /** * Generic event @@ -1093,29 +451,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; operatorMembershipAcala: { - /** - * Phantom member, never used. - **/ Dummy: AugmentedEvent; - /** - * One of the members' keys changed. - **/ KeyChanged: AugmentedEvent; - /** - * The given member was added; see the transaction for who. - **/ MemberAdded: AugmentedEvent; - /** - * The given member was removed; see the transaction for who. - **/ MemberRemoved: AugmentedEvent; - /** - * The membership was reset; see the transaction for who the new set is. - **/ MembersReset: AugmentedEvent; - /** - * Two members were swapped; see the transaction for who. - **/ MembersSwapped: AugmentedEvent; /** * Generic event @@ -1123,9 +463,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; ormlXcm: { - /** - * XCM message sent. \[to, message\] - **/ Sent: AugmentedEvent; /** * Generic event @@ -1133,29 +470,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; parachainSystem: { - /** - * Downward messages were processed using the given weight. - **/ DownwardMessagesProcessed: AugmentedEvent; - /** - * Some downward messages have been received and will be processed. - **/ DownwardMessagesReceived: AugmentedEvent; - /** - * An upward message was sent to the relay chain. - **/ UpwardMessageSent: AugmentedEvent], { messageHash: Option }>; - /** - * The validation function was applied as of the contained relay chain block number. - **/ ValidationFunctionApplied: AugmentedEvent; - /** - * The relay-chain aborted the upgrade process. - **/ ValidationFunctionDiscarded: AugmentedEvent; - /** - * The validation function has been scheduled to apply. - **/ ValidationFunctionStored: AugmentedEvent; /** * Generic event @@ -1163,9 +482,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; parameters: { - /** - * Parameter is updated - **/ Updated: AugmentedEvent; /** * Generic event @@ -1173,133 +489,29 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; polkadotXcm: { - /** - * Some assets have been claimed from an asset trap - **/ AssetsClaimed: AugmentedEvent; - /** - * Some assets have been placed in an asset trap. - **/ AssetsTrapped: AugmentedEvent; - /** - * Execution of an XCM message was attempted. - **/ Attempted: AugmentedEvent; - /** - * Fees were paid from a location for an operation (often for using `SendXcm`). - **/ FeesPaid: AugmentedEvent; - /** - * Expected query response has been received but the querier location of the response does - * not match the expected. The query remains registered for a later, valid, response to - * be received and acted upon. - **/ InvalidQuerier: AugmentedEvent], { origin: StagingXcmV4Location, queryId: u64, expectedQuerier: StagingXcmV4Location, maybeActualQuerier: Option }>; - /** - * Expected query response has been received but the expected querier location placed in - * storage by this runtime previously cannot be decoded. The query remains registered. - * - * This is unexpected (since a location placed in storage in a previously executing - * runtime should be readable prior to query timeout) and dangerous since the possibly - * valid response will be dropped. Manual governance intervention is probably going to be - * needed. - **/ InvalidQuerierVersion: AugmentedEvent; - /** - * Expected query response has been received but the origin location of the response does - * not match that expected. The query remains registered for a later, valid, response to - * be received and acted upon. - **/ InvalidResponder: AugmentedEvent], { origin: StagingXcmV4Location, queryId: u64, expectedLocation: Option }>; - /** - * Expected query response has been received but the expected origin location placed in - * storage by this runtime previously cannot be decoded. The query remains registered. - * - * This is unexpected (since a location placed in storage in a previously executing - * runtime should be readable prior to query timeout) and dangerous since the possibly - * valid response will be dropped. Manual governance intervention is probably going to be - * needed. - **/ InvalidResponderVersion: AugmentedEvent; - /** - * Query response has been received and query is removed. The registered notification has - * been dispatched and executed successfully. - **/ Notified: AugmentedEvent; - /** - * Query response has been received and query is removed. The dispatch was unable to be - * decoded into a `Call`; this might be due to dispatch function having a signature which - * is not `(origin, QueryId, Response)`. - **/ NotifyDecodeFailed: AugmentedEvent; - /** - * Query response has been received and query is removed. There was a general error with - * dispatching the notification call. - **/ NotifyDispatchError: AugmentedEvent; - /** - * Query response has been received and query is removed. The registered notification - * could not be dispatched because the dispatch weight is greater than the maximum weight - * originally budgeted by this runtime for the query result. - **/ NotifyOverweight: AugmentedEvent; - /** - * A given location which had a version change subscription was dropped owing to an error - * migrating the location to our new XCM format. - **/ NotifyTargetMigrationFail: AugmentedEvent; - /** - * A given location which had a version change subscription was dropped owing to an error - * sending the notification to it. - **/ NotifyTargetSendFail: AugmentedEvent; - /** - * Query response has been received and is ready for taking with `take_response`. There is - * no registered notification call. - **/ ResponseReady: AugmentedEvent; - /** - * Received query response has been read and removed. - **/ ResponseTaken: AugmentedEvent; - /** - * A XCM message was sent. - **/ Sent: AugmentedEvent; - /** - * The supported version of a location has been changed. This might be through an - * automatic notification or a manual intervention. - **/ SupportedVersionChanged: AugmentedEvent; - /** - * Query response received which does not match a registered query. This may be because a - * matching query was never registered, it may be because it is a duplicate response, or - * because the query timed out. - **/ UnexpectedResponse: AugmentedEvent; - /** - * An XCM version change notification message has been attempted to be sent. - * - * The cost of sending it (borne by the chain) is included. - **/ VersionChangeNotified: AugmentedEvent; - /** - * A XCM version migration finished. - **/ VersionMigrationFinished: AugmentedEvent; - /** - * We have requested that a remote chain send us XCM version change notifications. - **/ VersionNotifyRequested: AugmentedEvent; - /** - * A remote has requested XCM version change notification from us and we have honored it. - * A version information message is sent to them and its cost is included. - **/ VersionNotifyStarted: AugmentedEvent; - /** - * We have requested that a remote chain stops sending us XCM version change - * notifications. - **/ VersionNotifyUnrequested: AugmentedEvent; /** * Generic event @@ -1307,17 +519,8 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; preimage: { - /** - * A preimage has ben cleared. - **/ Cleared: AugmentedEvent; - /** - * A preimage has been noted. - **/ Noted: AugmentedEvent; - /** - * A preimage has been requested. - **/ Requested: AugmentedEvent; /** * Generic event @@ -1325,13 +528,7 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; prices: { - /** - * Lock price. - **/ LockPrice: AugmentedEvent; - /** - * Unlock price. - **/ UnlockPrice: AugmentedEvent; /** * Generic event @@ -1339,26 +536,10 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; proxy: { - /** - * An announcement was placed to make a call in the future. - **/ Announced: AugmentedEvent; - /** - * A proxy was added. - **/ ProxyAdded: AugmentedEvent; - /** - * A proxy was executed correctly, with the given. - **/ ProxyExecuted: AugmentedEvent], { result: Result }>; - /** - * A proxy was removed. - **/ ProxyRemoved: AugmentedEvent; - /** - * A pure account has been created by new proxy with given - * disambiguation index and proxy type. - **/ PureCreated: AugmentedEvent; /** * Generic event @@ -1366,42 +547,14 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; scheduler: { - /** - * The call for the provided hash was not found so the task has been aborted. - **/ CallUnavailable: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; - /** - * Canceled some task. - **/ Canceled: AugmentedEvent; - /** - * Dispatched some task. - **/ Dispatched: AugmentedEvent, id: Option, result: Result], { task: ITuple<[u32, u32]>, id: Option, result: Result }>; - /** - * The given task was unable to be renewed since the agenda is full at that block. - **/ PeriodicFailed: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; - /** - * The given task can never be executed since it is overweight. - **/ PermanentlyOverweight: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; - /** - * Cancel a retry configuration for some task. - **/ RetryCancelled: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; - /** - * The given task was unable to be retried since the agenda is full at that block or there - * was not enough weight to reschedule it. - **/ RetryFailed: AugmentedEvent, id: Option], { task: ITuple<[u32, u32]>, id: Option }>; - /** - * Set a retry configuration for some task. - **/ RetrySet: AugmentedEvent, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8 }>; - /** - * Scheduled some task. - **/ Scheduled: AugmentedEvent; /** * Generic event @@ -1409,10 +562,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; session: { - /** - * New session has happened. Note that the argument is the session index, not the - * block number as the type might suggest. - **/ NewSession: AugmentedEvent; /** * Generic event @@ -1420,9 +569,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; sessionManager: { - /** - * Scheduled session duration. - **/ ScheduledSessionDuration: AugmentedEvent; /** * Generic event @@ -1448,21 +594,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; sudo: { - /** - * The sudo key has been updated. - **/ KeyChanged: AugmentedEvent, new_: AccountId32], { old: Option, new_: AccountId32 }>; - /** - * The key was permanently removed. - **/ KeyRemoved: AugmentedEvent; - /** - * A sudo call just took place. - **/ Sudid: AugmentedEvent], { sudoResult: Result }>; - /** - * A [sudo_as](Pallet::sudo_as) call just took place. - **/ SudoAsDone: AugmentedEvent], { sudoResult: Result }>; /** * Generic event @@ -1470,33 +604,12 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; system: { - /** - * `:code` was updated. - **/ CodeUpdated: AugmentedEvent; - /** - * An extrinsic failed. - **/ ExtrinsicFailed: AugmentedEvent; - /** - * An extrinsic completed successfully. - **/ ExtrinsicSuccess: AugmentedEvent; - /** - * An account was reaped. - **/ KilledAccount: AugmentedEvent; - /** - * A new account was created. - **/ NewAccount: AugmentedEvent; - /** - * On on-chain remark happened. - **/ Remarked: AugmentedEvent; - /** - * An upgrade was authorized. - **/ UpgradeAuthorized: AugmentedEvent; /** * Generic event @@ -1504,35 +617,12 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; technicalCommittee: { - /** - * A motion was approved by the required threshold. - **/ Approved: AugmentedEvent; - /** - * A proposal was closed because its threshold was reached or after its duration was up. - **/ Closed: AugmentedEvent; - /** - * A motion was not approved by the required threshold. - **/ Disapproved: AugmentedEvent; - /** - * A motion was executed; result will be `Ok` if it returned without error. - **/ Executed: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A single member did some action; result will be `Ok` if it returned without error. - **/ MemberExecuted: AugmentedEvent], { proposalHash: H256, result: Result }>; - /** - * A motion (given hash) has been proposed (by given account) with a threshold (given - * `MemberCount`). - **/ Proposed: AugmentedEvent; - /** - * A motion (given hash) has been voted on by given account, leaving - * a tally (yes votes and no votes given respectively as `MemberCount`). - **/ Voted: AugmentedEvent; /** * Generic event @@ -1540,29 +630,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; technicalCommitteeMembership: { - /** - * Phantom member, never used. - **/ Dummy: AugmentedEvent; - /** - * One of the members' keys changed. - **/ KeyChanged: AugmentedEvent; - /** - * The given member was added; see the transaction for who. - **/ MemberAdded: AugmentedEvent; - /** - * The given member was removed; see the transaction for who. - **/ MemberRemoved: AugmentedEvent; - /** - * The membership was reset; see the transaction for who the new set is. - **/ MembersReset: AugmentedEvent; - /** - * Two members were swapped; see the transaction for who. - **/ MembersSwapped: AugmentedEvent; /** * Generic event @@ -1570,25 +642,10 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; tips: { - /** - * A new tip suggestion has been opened. - **/ NewTip: AugmentedEvent; - /** - * A tip suggestion has been closed. - **/ TipClosed: AugmentedEvent; - /** - * A tip suggestion has reached threshold and is closing. - **/ TipClosing: AugmentedEvent; - /** - * A tip suggestion has been retracted. - **/ TipRetracted: AugmentedEvent; - /** - * A tip suggestion has been slashed. - **/ TipSlashed: AugmentedEvent; /** * Generic event @@ -1596,69 +653,22 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; tokens: { - /** - * A balance was set by root. - **/ BalanceSet: AugmentedEvent; - /** - * Deposited some balance into an account - **/ Deposited: AugmentedEvent; - /** - * An account was removed whose balance was non-zero but below - * ExistentialDeposit, resulting in an outright loss. - **/ DustLost: AugmentedEvent; - /** - * An account was created with some free balance. - **/ Endowed: AugmentedEvent; Issued: AugmentedEvent; - /** - * Some free balance was locked. - **/ Locked: AugmentedEvent; - /** - * Some locked funds were unlocked - **/ LockRemoved: AugmentedEvent; - /** - * Some funds are locked - **/ LockSet: AugmentedEvent; Rescinded: AugmentedEvent; - /** - * Some balance was reserved (moved from free to reserved). - **/ Reserved: AugmentedEvent; - /** - * Some reserved balance was repatriated (moved from reserved to - * another account). - **/ ReserveRepatriated: AugmentedEvent; - /** - * Some balances were slashed (e.g. due to mis-behavior) - **/ Slashed: AugmentedEvent; - /** - * The total issuance of an currency has been set - **/ TotalIssuanceSet: AugmentedEvent; - /** - * Transfer succeeded. - **/ Transfer: AugmentedEvent; - /** - * Some locked balance was freed. - **/ Unlocked: AugmentedEvent; - /** - * Some balance was unreserved (moved from reserved to free). - **/ Unreserved: AugmentedEvent; - /** - * Some balances were withdrawn (e.g. pay for transaction fee) - **/ Withdrawn: AugmentedEvent; /** * Generic event @@ -1666,21 +676,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; transactionPause: { - /** - * Paused EVM precompile - **/ EvmPrecompilePaused: AugmentedEvent; - /** - * Unpaused EVM precompile - **/ EvmPrecompileUnpaused: AugmentedEvent; - /** - * Paused transaction - **/ TransactionPaused: AugmentedEvent; - /** - * Unpaused transaction - **/ TransactionUnpaused: AugmentedEvent; /** * Generic event @@ -1688,23 +686,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; transactionPayment: { - /** - * The charge fee pool is disabled - **/ ChargeFeePoolDisabled: AugmentedEvent; - /** - * The charge fee pool is enabled - **/ ChargeFeePoolEnabled: AugmentedEvent; - /** - * The charge fee pool is swapped - **/ ChargeFeePoolSwapped: AugmentedEvent; - /** - * A transaction `actual_fee`, of which `actual_tip` was added to the minimum inclusion - * fee, has been paid by `who`. `actual_surplus` indicate extra amount when paid by none - * native token. - **/ TransactionFeePaid: AugmentedEvent; /** * Generic event @@ -1712,62 +696,17 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; treasury: { - /** - * A new asset spend proposal has been approved. - **/ AssetSpendApproved: AugmentedEvent; - /** - * An approved spend was voided. - **/ AssetSpendVoided: AugmentedEvent; - /** - * Some funds have been allocated. - **/ Awarded: AugmentedEvent; - /** - * Some of our funds have been burnt. - **/ Burnt: AugmentedEvent; - /** - * Some funds have been deposited. - **/ Deposit: AugmentedEvent; - /** - * A payment happened. - **/ Paid: AugmentedEvent; - /** - * A payment failed and can be retried. - **/ PaymentFailed: AugmentedEvent; - /** - * New proposal. - **/ - Proposed: AugmentedEvent; - /** - * A proposal was rejected; funds were slashed. - **/ - Rejected: AugmentedEvent; - /** - * Spending has finished; this is the amount that rolls over until next spend. - **/ Rollover: AugmentedEvent; - /** - * A new spend proposal has been approved. - **/ SpendApproved: AugmentedEvent; - /** - * We have ended a spend period and will now allocate funds. - **/ Spending: AugmentedEvent; - /** - * A spend was processed and removed from the storage. It might have been successfully - * paid or it may have expired. - **/ SpendProcessed: AugmentedEvent; - /** - * The inactive funds of the pallet have been updated. - **/ UpdatedInactive: AugmentedEvent; /** * Generic event @@ -1775,13 +714,7 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; unknownTokens: { - /** - * Deposit success. - **/ Deposited: AugmentedEvent; - /** - * Withdraw success. - **/ Withdrawn: AugmentedEvent; /** * Generic event @@ -1789,30 +722,11 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; utility: { - /** - * Batch of dispatches completed fully with no error. - **/ BatchCompleted: AugmentedEvent; - /** - * Batch of dispatches completed but has errors. - **/ BatchCompletedWithErrors: AugmentedEvent; - /** - * Batch of dispatches did not complete fully. Index of first failing dispatch given, as - * well as the error. - **/ BatchInterrupted: AugmentedEvent; - /** - * A call was dispatched. - **/ DispatchedAs: AugmentedEvent], { result: Result }>; - /** - * A single item within a Batch of dispatches has completed with no error. - **/ ItemCompleted: AugmentedEvent; - /** - * A single item within a Batch of dispatches has completed with error. - **/ ItemFailed: AugmentedEvent; /** * Generic event @@ -1820,17 +734,8 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; vesting: { - /** - * Claimed vesting. - **/ Claimed: AugmentedEvent; - /** - * Added new vesting schedule. - **/ VestingScheduleAdded: AugmentedEvent; - /** - * Updated vesting schedules. - **/ VestingSchedulesUpdated: AugmentedEvent; /** * Generic event @@ -1838,13 +743,7 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; xcmInterface: { - /** - * Xcm dest weight has been updated. - **/ XcmDestWeightUpdated: AugmentedEvent; - /** - * Xcm dest weight has been updated. - **/ XcmFeeUpdated: AugmentedEvent; /** * Generic event @@ -1852,9 +751,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; xcmpQueue: { - /** - * An HRMP message was sent to a sibling parachain. - **/ XcmpMessageSent: AugmentedEvent; /** * Generic event @@ -1862,9 +758,6 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; xTokens: { - /** - * Transferred `Asset` with fee. - **/ TransferredAssets: AugmentedEvent; /** * Generic event diff --git a/packages/types/src/interfaces/augment-api-query.ts b/packages/types/src/interfaces/augment-api-query.ts index 360704f..4f5e142 100644 --- a/packages/types/src/interfaces/augment-api-query.ts +++ b/packages/types/src/interfaces/augment-api-query.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256 } from '@polkadot/types/interfaces/runtime'; -import type { AcalaPrimitivesBondingLedgerBondingLedger, AcalaPrimitivesCurrencyAssetIds, AcalaPrimitivesCurrencyAssetMetadata, AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesPosition, AcalaPrimitivesTradingPair, AcalaRuntimeRuntimeHoldReason, AcalaRuntimeRuntimeParametersKey, AcalaRuntimeRuntimeParametersValue, AcalaRuntimeScheduledTasks, AcalaRuntimeSessionKeys, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, ModuleAuctionManagerCollateralAuctionItem, ModuleCdpEngineRiskManagementParams, ModuleDexTradingPairStatus, ModuleEvmModuleAccountInfo, ModuleEvmModuleCodeInfo, ModuleHomaModuleStakingLedger, ModuleHomaValidatorListGuarantee, ModuleHomaValidatorListValidatorBacking, ModuleSupportDexAggregatedSwapPath, ModuleSupportIncentivesPoolId, ModuleTransactionPaymentModuleChargeFeeMethod, ModuleXcmInterfaceModuleXcmInterfaceOperation, NutsfinanceStableAssetStableAssetPoolInfo, OrmlNftClassInfo, OrmlNftTokenInfo, OrmlOracleModuleTimestampedValue, OrmlRewardsPoolInfo, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlTraitsAuctionAuctionInfo, OrmlUtilitiesOrderedSet, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTipsOpenTip, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV6AbridgedHostConfiguration, PolkadotPrimitivesV6PersistedValidationData, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, StagingXcmV4Location, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; +import type { AcalaPrimitivesBondingLedgerBondingLedger, AcalaPrimitivesCurrencyAssetIds, AcalaPrimitivesCurrencyAssetMetadata, AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesPosition, AcalaPrimitivesTradingPair, AcalaRuntimeRuntimeHoldReason, AcalaRuntimeRuntimeParametersKey, AcalaRuntimeRuntimeParametersValue, AcalaRuntimeScheduledTasks, AcalaRuntimeSessionKeys, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, ModuleAuctionManagerCollateralAuctionItem, ModuleCdpEngineRiskManagementParams, ModuleDexTradingPairStatus, ModuleEvmModuleAccountInfo, ModuleEvmModuleCodeInfo, ModuleHomaModuleStakingLedger, ModuleHomaValidatorListGuarantee, ModuleHomaValidatorListValidatorBacking, ModuleSupportDexAggregatedSwapPath, ModuleSupportIncentivesPoolId, ModuleTransactionPaymentModuleChargeFeeMethod, ModuleXcmInterfaceModuleXcmInterfaceOperation, NutsfinanceStableAssetStableAssetPoolInfo, OrmlNftClassInfo, OrmlNftTokenInfo, OrmlOracleModuleTimestampedValue, OrmlRewardsPoolInfo, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensReserveData, OrmlTraitsAuctionAuctionInfo, OrmlUtilitiesOrderedSet, OrmlVestingVestingSchedule, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletCollectiveVotes, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletTipsOpenTip, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV7AbridgedHostConfiguration, PolkadotPrimitivesV7PersistedValidationData, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, StagingXcmV4Instruction, StagingXcmV4Location, StagingXcmV4Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup'; import type { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; @@ -18,17 +18,8 @@ export type __QueryableStorageEntry = QueryableStorage declare module '@polkadot/api-base/types/storage' { interface AugmentedQueries { acalaOracle: { - /** - * If an oracle operator has fed a value in this block - **/ hasDispatched: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Raw values for each oracle operators - **/ rawValues: AugmentedQuery Observable>, [AccountId32, AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * Up to date combined value from Raw Values - **/ values: AugmentedQuery Observable>, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; /** * Generic query @@ -36,11 +27,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; aggregatedDex: { - /** - * The specific swap paths for AggregatedSwap do aggreated_swap to swap TokenA to TokenB - * - * AggregatedSwapPaths: Map: (token_a: CurrencyId, token_b: CurrencyId) => paths: Vec - **/ aggregatedSwapPaths: AugmentedQuery | [AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array]) => Observable>>, [ITuple<[AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>]> & QueryableStorageEntry]>; /** * Generic query @@ -48,41 +34,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; assetRegistry: { - /** - * The storages for AssetMetadatas. - * - * AssetMetadatas: map AssetIds => Option - **/ assetMetadatas: AugmentedQuery Observable>, [AcalaPrimitivesCurrencyAssetIds]> & QueryableStorageEntry; - /** - * The storages for EvmAddress. - * - * Erc20IdToAddress: map Erc20Id => Option - **/ erc20IdToAddress: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * The storages for Locations. - * - * ForeignAssetLocations: map ForeignAssetId => Option - **/ foreignAssetLocations: AugmentedQuery Observable>, [u16]> & QueryableStorageEntry; - /** - * The storages for CurrencyIds. - * - * LocationToCurrencyIds: map Location => Option - **/ locationToCurrencyIds: AugmentedQuery Observable>, [StagingXcmV3MultiLocation]> & QueryableStorageEntry; - /** - * Next available Foreign AssetId ID. - * - * NextForeignAssetId: ForeignAssetId - **/ nextForeignAssetId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Next available Stable AssetId ID. - * - * NextStableAssetId: StableAssetPoolId - **/ nextStableAssetId: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -90,17 +46,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; auction: { - /** - * Index auctions by end time. - **/ auctionEndTime: AugmentedQuery Observable>, [u32, u32]> & QueryableStorageEntry; - /** - * Stores on-going and future auctions. Closed auction are removed. - **/ auctions: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * Track the next auction ID. - **/ auctionsIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -108,24 +55,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; auctionManager: { - /** - * Mapping from auction id to collateral auction info - * - * CollateralAuctions: map AuctionId => Option - **/ collateralAuctions: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * Record of the total collateral amount of all active collateral auctions - * under specific collateral type CollateralType -> TotalAmount - * - * TotalCollateralInAuction: map CurrencyId => Balance - **/ totalCollateralInAuction: AugmentedQuery Observable, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * Record of total target sales of all active collateral auctions - * - * TotalTargetInAuction: Balance - **/ totalTargetInAuction: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -133,15 +64,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; aura: { - /** - * The current authority set. - **/ authorities: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The current slot of this block. - * - * This will be set in `on_initialize`. - **/ currentSlot: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -149,19 +72,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; auraExt: { - /** - * Serves as cache for the authorities. - * - * The authorities in AuRa are overwritten in `on_initialize` when we switch to a new session, - * but we require the old authorities to verify the seal when validating a PoV. This will - * always be updated to the latest AuRa authorities in `on_finalize`. - **/ authorities: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Current slot paired with a number of authored blocks. - * - * Updated on each block initialization. - **/ slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * Generic query @@ -177,9 +88,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; authorship: { - /** - * Author of current block. - **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -187,60 +95,15 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; balances: { - /** - * The Balances pallet example of storing the balance of an account. - * - * # Example - * - * ```nocompile - * impl pallet_balances::Config for Runtime { - * type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> - * } - * ``` - * - * You can also store the balance of an account in the `System` pallet. - * - * # Example - * - * ```nocompile - * impl pallet_balances::Config for Runtime { - * type AccountStore = System - * } - * ``` - * - * But this comes with tradeoffs, storing account balances in the system pallet stores - * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. - * NOTE: This is only used in the case that this pallet is used to store balances. - **/ account: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; - /** - * Freeze locks on account balances. - **/ - freezes: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * Holds on account balances. - **/ + freezes: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; holds: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * The total units of outstanding deactivated balance in the system. - **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Any liquidity locks on some account balances. - * NOTE: Should only be accessed when setting, changing and freeing a lock. - **/ locks: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * Named reserves on some account balances. - **/ reserves: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * The total units issued in the system. - **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -248,21 +111,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; bounties: { - /** - * Bounties that have been made. - **/ bounties: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * Bounty indices that have been approved but not yet funded. - **/ bountyApprovals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Number of bounty proposals that have been made. - **/ bountyCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The description of each bounty. - **/ bountyDescriptions: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * Generic query @@ -270,24 +121,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; cdpEngine: { - /** - * Mapping from valid collateral type to its risk management params - * - * CollateralParams: CurrencyId => Option - **/ collateralParams: AugmentedQuery Observable>, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * Mapping from collateral type to its exchange rate of debit units and - * debit value - * - * DebitExchangeRate: CurrencyId => Option - **/ debitExchangeRate: AugmentedQuery Observable>, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * Timestamp in seconds of the last interest accumulation - * - * LastAccumulationSecs: u64 - **/ lastAccumulationSecs: AugmentedQuery Observable, []> & QueryableStorageEntry; liquidationContracts: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -296,25 +131,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; cdpTreasury: { - /** - * The buffer amount of debit pool that will not be offset by surplus pool. - * - * DebitOffsetBuffer: Balance - **/ debitOffsetBuffer: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Current total debit value of system. It's not same as debit in CDP - * engine, it is the bad debt of the system. - * - * DebitPool: Balance - **/ debitPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The expected amount size for per lot collateral auction of specific - * collateral type. - * - * ExpectedCollateralAuctionSize: map CurrencyId => Balance - **/ expectedCollateralAuctionSize: AugmentedQuery Observable, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; /** * Generic query @@ -322,42 +140,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; collatorSelection: { - /** - * Fixed deposit bond for each candidate. - * - * CandidacyBond: Balance - **/ candidacyBond: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The (community, limited) collation candidates. - * - * Candidates: BTreeSet - **/ candidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Desired number of candidates. - * - * This should ideally always be less than [`Config::MaxCandidates`] for weights to be correct. - * DesiredCandidates: u32 - **/ desiredCandidates: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The invulnerable, fixed collators. - * - * Invulnerables: Vec - **/ invulnerables: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Mapping from the kicked candidate or the left candidate to session index. - * - * NonCandidates: map AccountId => SessionIndex - **/ nonCandidates: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; - /** - * Session points for each candidate. - * - * SessionPoints: map AccountId => u32 - **/ sessionPoints: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -365,71 +152,17 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; democracy: { - /** - * A record of who vetoed what. Maps proposal hash to a possible existent block number - * (until when it may not be resubmitted) and who vetoed it. - **/ blacklist: AugmentedQuery Observable]>>>, [H256]> & QueryableStorageEntry; - /** - * Record of all proposals that have been subject to emergency cancellation. - **/ cancellations: AugmentedQuery Observable, [H256]> & QueryableStorageEntry; - /** - * Those who have locked a deposit. - * - * TWOX-NOTE: Safe, as increasing integer keys are safe. - **/ depositOf: AugmentedQuery Observable, u128]>>>, [u32]> & QueryableStorageEntry; - /** - * True if the last referendum tabled was submitted externally. False if it was a public - * proposal. - **/ lastTabledWasExternal: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The lowest referendum index representing an unbaked referendum. Equal to - * `ReferendumCount` if there isn't a unbaked referendum. - **/ lowestUnbaked: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * General information concerning any proposal or referendum. - * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON - * dump or IPFS hash of a JSON file. - * - * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) - * large preimages. - **/ metadataOf: AugmentedQuery Observable>, [PalletDemocracyMetadataOwner]> & QueryableStorageEntry; - /** - * The referendum to be tabled whenever it would be valid to table an external proposal. - * This happens when a referendum needs to be tabled and one of two conditions are met: - * - `LastTabledWasExternal` is `false`; or - * - `PublicProps` is empty. - **/ nextExternal: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** - * The number of (public) proposals that have been made so far. - **/ publicPropCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The public proposals. Unsorted. The second item is the proposal. - **/ publicProps: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** - * The next free referendum index, aka the number of referenda started so far. - **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Information concerning any given referendum. - * - * TWOX-NOTE: SAFE as indexes are not under an attacker’s control. - **/ referendumInfoOf: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * All votes for a particular voter. We store the balance for the number of votes that we - * have recorded. The second item is the total amount of delegations, that will be added. - * - * TWOX-NOTE: SAFE as `AccountId`s are crypto hashes anyway. - **/ votingOf: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -437,30 +170,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; dex: { - /** - * Initial exchange rate, used to calculate the dex share amount for founders of provisioning - * - * InitialShareExchangeRates: map TradingPair => (ExchangeRate, ExchangeRate) - **/ initialShareExchangeRates: AugmentedQuery Observable>, [AcalaPrimitivesTradingPair]> & QueryableStorageEntry; - /** - * Liquidity pool for TradingPair. - * - * LiquidityPool: map TradingPair => (Balance, Balance) - **/ liquidityPool: AugmentedQuery Observable>, [AcalaPrimitivesTradingPair]> & QueryableStorageEntry; - /** - * Provision of TradingPair by AccountId. - * - * ProvisioningPool: double_map TradingPair, AccountId => (Balance, - * Balance) - **/ provisioningPool: AugmentedQuery Observable>, [AcalaPrimitivesTradingPair, AccountId32]> & QueryableStorageEntry; - /** - * Status for TradingPair. - * - * TradingPairStatuses: map TradingPair => TradingPairStatus - **/ tradingPairStatuses: AugmentedQuery Observable, [AcalaPrimitivesTradingPair]> & QueryableStorageEntry; /** * Generic query @@ -468,18 +180,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; dexOracle: { - /** - * Average prices for TradingPair. - * - * AveragePrices: map TradingPair => (AveragePrice0, AveragePrice1, LastCumulative0, - * LastCumulative1, LastUpdatePriceTimestamp, InteralToUpdatePrice) - **/ averagePrices: AugmentedQuery Observable>>, [AcalaPrimitivesTradingPair]> & QueryableStorageEntry; - /** - * Price cumulatives for TradingPair. - * - * Cumulatives: map TradingPair => (Cumulative0, Cumulative1, LastUpdateTimestamp) - **/ cumulatives: AugmentedQuery Observable>, [AcalaPrimitivesTradingPair]> & QueryableStorageEntry; /** * Generic query @@ -487,11 +188,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; earning: { - /** - * The earning bonding ledger. - * - * Ledger: map AccountId => Option - **/ ledger: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -499,17 +195,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; emergencyShutdown: { - /** - * Open final redemption flag - * - * CanRefund: bool - **/ canRefund: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Emergency shutdown flag - * - * IsShutdown: bool - **/ isShutdown: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -517,62 +203,14 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; evm: { - /** - * The EVM accounts info. - * - * Accounts: map EvmAddress => Option> - **/ accounts: AugmentedQuery Observable>, [H160]> & QueryableStorageEntry; - /** - * The storages for EVM contracts. - * - * AccountStorages: double_map EvmAddress, H256 => H256 - **/ accountStorages: AugmentedQuery Observable, [H160, H256]> & QueryableStorageEntry; - /** - * The EVM Chain ID. - * - * ChainId: u64 - **/ chainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The code info for EVM contracts. - * Key is Keccak256 hash of code. - * - * CodeInfos: H256 => Option - **/ codeInfos: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; - /** - * The code for EVM contracts. - * Key is Keccak256 hash of code. - * - * Codes: H256 => Vec - **/ codes: AugmentedQuery Observable, [H256]> & QueryableStorageEntry; - /** - * The storage usage for contracts. Including code size, extra bytes and total AccountStorages - * size. - * - * Accounts: map EvmAddress => u32 - **/ contractStorageSizes: AugmentedQuery Observable, [H160]> & QueryableStorageEntry; - /** - * Extrinsics origin for the current transaction. - * - * ExtrinsicOrigin: Option - **/ extrinsicOrigin: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Next available system contract address. - * - * NetworkContractIndex: u64 - **/ networkContractIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Xcm origin for the current transaction. - * - * XcmOrigin: Option> - **/ xcmOrigin: AugmentedQuery Observable>>, []> & QueryableStorageEntry; /** * Generic query @@ -580,17 +218,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; evmAccounts: { - /** - * The Substrate Account for EvmAddresses - * - * Accounts: map EvmAddress => Option - **/ accounts: AugmentedQuery Observable>, [H160]> & QueryableStorageEntry; - /** - * The EvmAddress for Substrate Accounts - * - * EvmAddresses: map AccountId => Option - **/ evmAddresses: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -598,29 +226,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; financialCouncil: { - /** - * The current members of the collective. This is stored sorted (just by value). - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The prime member that helps determine the default vote behavior in case of absentations. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Proposals so far. - **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Actual proposal for a given hash, if it's current. - **/ proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; - /** - * The hashes of the active proposals. - **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Votes on a given proposal, if it is ongoing. - **/ voting: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query @@ -628,13 +238,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; financialCouncilMembership: { - /** - * The current membership, stored as an ordered Vec. - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The current prime member, if one exists. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -642,29 +246,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; generalCouncil: { - /** - * The current members of the collective. This is stored sorted (just by value). - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The prime member that helps determine the default vote behavior in case of absentations. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Proposals so far. - **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Actual proposal for a given hash, if it's current. - **/ proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; - /** - * The hashes of the active proposals. - **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Votes on a given proposal, if it is ongoing. - **/ voting: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query @@ -672,13 +258,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; generalCouncilMembership: { - /** - * The current membership, stored as an ordered Vec. - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The current prime member, if one exists. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -686,101 +266,20 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; homa: { - /** - * The interval of relaychain block number of relaychain to bump local current era. - * - * LastEraBumpedRelayChainBlock: value: BlockNumberFor - **/ bumpEraFrequency: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The rate of Homa drawn from the staking reward as commission. - * The draw will be transfer to TreasuryAccount of Homa in liquid currency. - * - * CommissionRate: value: Rate - **/ commissionRate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The estimated staking reward rate per era on relaychain. - * - * EstimatedRewardRatePerEra: value: Rate - **/ estimatedRewardRatePerEra: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The fixed fee rate for redeem request is fast matched. - * - * FastMatchFeeRate: value: Rate - **/ fastMatchFeeRate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The relaychain block number of last era bumped. - * - * LastEraBumpedBlock: value: BlockNumberFor - **/ lastEraBumpedBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The interval of eras to nominate on relaychain. - * - * NominateIntervalEra: value: EraIndex - **/ nominateIntervalEra: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Requests to redeem staked currencies. - * - * RedeemRequests: Map: AccountId => Option<(liquid_amount: Balance, allow_fast_match: bool)> - **/ redeemRequests: AugmentedQuery Observable>>, [AccountId32]> & QueryableStorageEntry; - /** - * The current era of relaychain - * - * RelayChainCurrentEra : EraIndex - **/ relayChainCurrentEra: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The maximum amount of bonded staking currency for a single sub on relaychain to obtain the - * best staking rewards. - * - * SoftBondedCapPerSubAccount: value: Balance - **/ softBondedCapPerSubAccount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The staking ledger of Homa subaccounts. - * - * StakingLedgers map: u16 => Option - **/ stakingLedgers: AugmentedQuery Observable>, [u16]> & QueryableStorageEntry; - /** - * The total staking currency to bond on relaychain when new era, - * and that is available to be match fast redeem request. - * ToBondPool value: StakingCurrencyAmount - **/ toBondPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The total amount of staking currency bonded in the homa protocol - * - * TotalStakingBonded value: Balance - **/ totalStakingBonded: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The total amount of void liquid currency. It's will not be issued, - * used to avoid newly issued LDOT to obtain the incoming staking income from relaychain. - * And it is guaranteed that the current exchange rate between liquid currency and staking - * currency will not change. It will be reset to 0 at the beginning of the `rebalance` when new - * era starts. - * - * TotalVoidLiquid value: LiquidCurrencyAmount - **/ totalVoidLiquid: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The records of unbonding by AccountId. - * - * Unbondings: double_map AccountId, ExpireEraIndex => UnbondingStakingCurrencyAmount - **/ unbondings: AugmentedQuery Observable, [AccountId32, u32]> & QueryableStorageEntry; - /** - * The total unclaimed redemption. - * - * UnclaimedRedemption value: StakingCurrencyAmount - **/ unclaimedRedemption: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -788,29 +287,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; homaCouncil: { - /** - * The current members of the collective. This is stored sorted (just by value). - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The prime member that helps determine the default vote behavior in case of absentations. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Proposals so far. - **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Actual proposal for a given hash, if it's current. - **/ proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; - /** - * The hashes of the active proposals. - **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Votes on a given proposal, if it is ongoing. - **/ voting: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query @@ -818,13 +299,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; homaCouncilMembership: { - /** - * The current membership, stored as an ordered Vec. - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The current prime member, if one exists. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -832,23 +307,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; homaValidatorList: { - /** - * The slash guarantee deposits for relaychain validators. - * - * Guarantees: double_map RelayChainAccountId, AccountId => Option - **/ guarantees: AugmentedQuery Observable>, [AccountId32, AccountId32]> & QueryableStorageEntry; - /** - * Total deposits for users. - * - * TotalLockedByGuarantor: map AccountId => Option - **/ totalLockedByGuarantor: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * Total deposit for validators. - * - * ValidatorBackings: map RelayChainAccountId => Option - **/ validatorBackings: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -856,12 +316,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; honzon: { - /** - * The authorization relationship map from - * Authorizer -> (CollateralType, Authorizee) -> Authorized - * - * Authorization: double_map AccountId, (CurrencyId, T::AccountId) => Option - **/ authorization: AugmentedQuery | [AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, AccountId32 | string | Uint8Array]) => Observable>, [AccountId32, ITuple<[AcalaPrimitivesCurrencyCurrencyId, AccountId32]>]> & QueryableStorageEntry]>; /** * Generic query @@ -869,19 +323,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; idleScheduler: { - /** - * The task id used to index tasks. - **/ nextTaskId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * A temporary variable used to check if should skip dispatch schedule task or not. - **/ previousRelayBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The schedule tasks waiting to dispatch. After task is dispatched, it's removed. - * - * Tasks: map T::Index => Task - **/ tasks: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * Generic query @@ -889,29 +332,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; incentives: { - /** - * If specified, ClaimRewardDeductionRates only apply to this currency. - * - * ClaimRewardDeductionCurrency: map Pool => Option - **/ claimRewardDeductionCurrency: AugmentedQuery Observable>, [ModuleSupportIncentivesPoolId]> & QueryableStorageEntry; - /** - * Mapping from pool to its claim reward deduction rate. - * - * ClaimRewardDeductionRates: map Pool => DeductionRate - **/ claimRewardDeductionRates: AugmentedQuery Observable, [ModuleSupportIncentivesPoolId]> & QueryableStorageEntry; - /** - * Mapping from pool to its fixed incentive amounts of multi currencies per period. - * - * IncentiveRewardAmounts: double_map Pool, RewardCurrencyId => RewardAmountPerPeriod - **/ incentiveRewardAmounts: AugmentedQuery Observable, [ModuleSupportIncentivesPoolId, AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * The pending rewards amount, actual available rewards amount may be deducted - * - * PendingMultiRewards: double_map PoolId, AccountId => BTreeMap - **/ pendingMultiRewards: AugmentedQuery Observable>, [ModuleSupportIncentivesPoolId, AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -919,9 +342,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; liquidCrowdloan: { - /** - * The redeem currency id. - **/ redeemCurrencyId: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -929,19 +349,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; loans: { - /** - * The collateralized debit positions, map from - * Owner -> CollateralType -> Position - * - * Positions: double_map CurrencyId, AccountId => Position - **/ positions: AugmentedQuery Observable, [AcalaPrimitivesCurrencyCurrencyId, AccountId32]> & QueryableStorageEntry; - /** - * The total collateralized debit positions, map from - * CollateralType -> Position - * - * TotalPositions: CurrencyId => Position - **/ totalPositions: AugmentedQuery Observable, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; /** * Generic query @@ -949,17 +357,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; messageQueue: { - /** - * The index of the first and last (non-empty) pages. - **/ bookStateFor: AugmentedQuery Observable, [CumulusPrimitivesCoreAggregateMessageOrigin]> & QueryableStorageEntry; - /** - * The map of page indices to pages. - **/ pages: AugmentedQuery Observable>, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]> & QueryableStorageEntry; - /** - * The origin at which we should begin servicing. - **/ serviceHead: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -967,9 +366,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; multisig: { - /** - * The set of open multisig operations. - **/ multisigs: AugmentedQuery Observable>, [AccountId32, U8aFixed]> & QueryableStorageEntry; /** * Generic query @@ -977,29 +373,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; nomineesElection: { - /** - * The nomination bonding ledger. - * - * Ledger: map AccountId => BondingLedger - **/ ledger: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * The nominations for nominators. - * - * Nominations: map AccountId => Vec - **/ nominations: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * Reserved nominees. - * - * ReservedNominees: map u16 => Vec - **/ reservedNominees: AugmentedQuery Observable>, [u16]> & QueryableStorageEntry; - /** - * The total voting value for nominees. - * - * Votes: map NomineeId => Balance - **/ votes: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -1007,13 +383,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; operatorMembershipAcala: { - /** - * The current membership, stored as an ordered Vec. - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The current prime member, if one exists. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -1021,29 +391,10 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; ormlNFT: { - /** - * Store class info. - * - * Returns `None` if class info not set or removed. - **/ classes: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * Next available class ID. - **/ nextClassId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Next available token ID. - **/ nextTokenId: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * Store token info. - * - * Returns `None` if token info not set or removed. - **/ tokens: AugmentedQuery Observable>, [u32, u64]> & QueryableStorageEntry; - /** - * Token existence check by owner and class ID. - **/ tokensByOwner: AugmentedQuery Observable, [AccountId32, u32, u64]> & QueryableStorageEntry; /** * Generic query @@ -1058,178 +409,36 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; parachainSystem: { - /** - * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest HRMP watermark. Used for limiting the acceptance of new blocks with - * respect to relay chain constraints. - **/ aggregatedUnincludedSegment: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The number of HRMP messages we observed in `on_initialize` and thus used that number for - * announcing the weight of `on_initialize` and `on_finalize`. - **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * A custom head data that should be returned as result of `validate_block`. - * - * See `Pallet::set_custom_validation_head_data` for more information. - **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Were the validation data set to notify the relay chain? - **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The parachain host configuration that was obtained from the relay parent. - * - * This field is meant to be updated each block with the validation data inherent. Therefore, - * before processing of the inherent, e.g. in `on_initialize` this data may be stale. - * - * This data is also absent from the genesis. - **/ - hostConfiguration: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * HRMP messages that were sent in a block. - * - * This will be cleared in `on_initialize` of each new block. - **/ + hostConfiguration: AugmentedQuery Observable>, []> & QueryableStorageEntry; hrmpOutboundMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * HRMP watermark that was set in a block. - * - * This will be cleared in `on_initialize` of each new block. - **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The last downward message queue chain head we have observed. - * - * This value is loaded before and saved after processing inbound downward messages carried - * by the system inherent. - **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The message queue chain heads we have observed per each channel incoming channel. - * - * This value is loaded before and saved after processing inbound downward messages carried - * by the system inherent. - **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The relay chain block number associated with the last parachain block. - * - * This is updated in `on_finalize`. - **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Validation code that is set by the parachain and is to be communicated to collator and - * consequently the relay-chain. - * - * This will be cleared in `on_initialize` of each new block if no other pallet already set - * the value. - **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Upward messages that are still pending and not yet send to the relay chain. - **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * In case of a scheduled upgrade, this storage field contains the validation code to be - * applied. - * - * As soon as the relay chain gives us the go-ahead signal, we will overwrite the - * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process - * with the new validation code. This concludes the upgrade process. - **/ pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Number of downward messages processed in a block. - * - * This will be cleared in `on_initialize` of each new block. - **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The state proof for the last relay parent block. - * - * This field is meant to be updated each block with the validation data inherent. Therefore, - * before processing of the inherent, e.g. in `on_initialize` this data may be stale. - * - * This data is also absent from the genesis. - **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The snapshot of some state related to messaging relevant to the current parachain as per - * the relay parent. - * - * This field is meant to be updated each block with the validation data inherent. Therefore, - * before processing of the inherent, e.g. in `on_initialize` this data may be stale. - * - * This data is also absent from the genesis. - **/ relevantMessagingState: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The weight we reserve at the beginning of the block for processing DMP messages. This - * overrides the amount set in the Config trait. - **/ reservedDmpWeightOverride: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The weight we reserve at the beginning of the block for processing XCMP messages. This - * overrides the amount set in the Config trait. - **/ reservedXcmpWeightOverride: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Latest included block descendants the runtime accepted. In other words, these are - * ancestors of the currently executing block which have not been included in the observed - * relay-chain state. - * - * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured - * in the pallet. - **/ unincludedSegment: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Optional upgrade go-ahead signal from the relay-chain. - * - * This storage item is a mirror of the corresponding value for the current parachain from the - * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is - * set after the inherent. - **/ - upgradeGoAhead: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * An option which indicates if the relay-chain restricts signalling a validation code upgrade. - * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced - * candidate will be invalid. - * - * This storage item is a mirror of the corresponding value for the current parachain from the - * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is - * set after the inherent. - **/ - upgradeRestrictionSignal: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The factor to multiply the base delivery fee by for UMP. - **/ + upgradeGoAhead: AugmentedQuery Observable>, []> & QueryableStorageEntry; + upgradeRestrictionSignal: AugmentedQuery Observable>, []> & QueryableStorageEntry; upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Upward messages that were sent in a block. - * - * This will be cleared in `on_initialize` of each new block. - **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The [`PersistedValidationData`] set for this block. - * This value is expected to be set only once per block and it's never stored - * in the trie. - **/ - validationData: AugmentedQuery Observable>, []> & QueryableStorageEntry; + validationData: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query **/ [key: string]: QueryableStorageEntry; }; parameters: { - /** - * Stored parameters. - * - * map KeyOf => Option> - **/ parameters: AugmentedQuery Observable>, [AcalaRuntimeRuntimeParametersKey]> & QueryableStorageEntry; /** * Generic query @@ -1237,60 +446,19 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; polkadotXcm: { - /** - * The existing asset traps. - * - * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of - * times this pair has been trapped (usually just 1 if it exists at all). - **/ assetTraps: AugmentedQuery Observable, [H256]> & QueryableStorageEntry; - /** - * The current migration's stage, if any. - **/ currentMigration: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Fungible assets which we know are locked on this chain. - **/ lockedFungibles: AugmentedQuery Observable>>>, [AccountId32]> & QueryableStorageEntry; - /** - * The ongoing queries. - **/ queries: AugmentedQuery Observable>, [u64]> & QueryableStorageEntry; - /** - * The latest available query index. - **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Fungible assets which we know are locked on a remote chain. - **/ + recordedXcm: AugmentedQuery Observable>>, []> & QueryableStorageEntry; remoteLockedFungibles: AugmentedQuery Observable>, [u32, AccountId32, XcmVersionedAssetId]> & QueryableStorageEntry; - /** - * Default version to encode XCM when latest version of destination is unknown. If `None`, - * then the destinations whose XCM version is unknown are considered unreachable. - **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The Latest versions that we know various locations support. - **/ + shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; supportedVersion: AugmentedQuery Observable>, [u32, XcmVersionedLocation]> & QueryableStorageEntry; - /** - * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and - * the `u32` counter is the number of times that a send to the destination has been attempted, - * which is used as a prioritization. - **/ versionDiscoveryQueue: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** - * All locations that we have requested version notifications from. - **/ versionNotifiers: AugmentedQuery Observable>, [u32, XcmVersionedLocation]> & QueryableStorageEntry; - /** - * The target locations that are subscribed to our version changes, as well as the most recent - * of our versions we informed them of. - **/ versionNotifyTargets: AugmentedQuery Observable>>, [u32, XcmVersionedLocation]> & QueryableStorageEntry; - /** - * Global suspension state of the XCM executor. - **/ xcmExecutionSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -1299,13 +467,7 @@ declare module '@polkadot/api-base/types/storage' { }; preimage: { preimageFor: AugmentedQuery | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable>, [ITuple<[H256, u32]>]> & QueryableStorageEntry]>; - /** - * The request status of a given hash. - **/ requestStatusFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; - /** - * The request status of a given hash. - **/ statusFor: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query @@ -1313,11 +475,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; prices: { - /** - * Mapping from currency id to it's locked price - * - * map CurrencyId => Option - **/ lockedPrice: AugmentedQuery Observable>, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; /** * Generic query @@ -1325,14 +482,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; proxy: { - /** - * The announcements made by the proxy (key). - **/ announcements: AugmentedQuery Observable, u128]>>, [AccountId32]> & QueryableStorageEntry; - /** - * The set of account proxies. Maps the account which has delegated to the accounts - * which are being delegated to, together with the amount held on deposit. - **/ proxies: AugmentedQuery Observable, u128]>>, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -1340,18 +490,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; rewards: { - /** - * Record reward pool info. - * - * map PoolId => PoolInfo - **/ poolInfos: AugmentedQuery Observable, [ModuleSupportIncentivesPoolId]> & QueryableStorageEntry; - /** - * Record share amount, reward currency and withdrawn reward amount for - * specific `AccountId` under `PoolId`. - * - * double_map (PoolId, AccountId) => (Share, BTreeMap) - **/ sharesAndWithdrawnRewards: AugmentedQuery Observable]>>, [ModuleSupportIncentivesPoolId, AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -1359,21 +498,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; scheduler: { - /** - * Items to be executed, indexed by the block number that they should be executed on. - **/ agenda: AugmentedQuery Observable>>, [u32]> & QueryableStorageEntry; incompleteSince: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Lookup from a name to the block number and index of the task. - * - * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 - * identities. - **/ lookup: AugmentedQuery Observable>>, [U8aFixed]> & QueryableStorageEntry; - /** - * Retry configurations for items to be executed, indexed by task address. - **/ retries: AugmentedQuery | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable>, [ITuple<[u32, u32]>]> & QueryableStorageEntry]>; /** * Generic query @@ -1381,39 +508,12 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; session: { - /** - * Current index of the session. - **/ currentIndex: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Indices of disabled validators. - * - * The vec is always kept sorted so that we can find whether a given validator is - * disabled using binary search. It gets cleared when `on_session_ending` returns - * a new set of identities. - **/ disabledValidators: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The owner of a key. The key is the `KeyTypeId` + the encoded key. - **/ keyOwner: AugmentedQuery | [SpCoreCryptoKeyTypeId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable>, [ITuple<[SpCoreCryptoKeyTypeId, Bytes]>]> & QueryableStorageEntry]>; - /** - * The next session keys for a validator. - **/ nextKeys: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; - /** - * True if the underlying economic identities or weighting behind the validators - * has changed in the queued validator set. - **/ queuedChanged: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The queued keys for the next session. When the next session begins, these keys - * will be used to determine the validator's session keys. - **/ queuedKeys: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** - * The current set of validators. - **/ validators: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -1421,23 +521,8 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; sessionManager: { - /** - * The current session duration offset. - * - * DurationOffset: BlockNumberFor - **/ durationOffset: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The current session duration. - * - * SessionDuration: BlockNumberFor - **/ sessionDuration: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Mapping from block number to new session index and duration. - * - * SessionDurationChanges: map BlockNumber => (SessionIndex, SessionDuration) - **/ sessionDurationChanges: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * Generic query @@ -1453,9 +538,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; sudo: { - /** - * The `AccountId` of the sudo key. - **/ key: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -1463,93 +545,23 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; system: { - /** - * The full account information for a particular account ID. - **/ account: AugmentedQuery Observable, [AccountId32]> & QueryableStorageEntry; - /** - * Total length (in bytes) for all extrinsics put together, for the current block. - **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * `Some` if a code upgrade has been authorized. - **/ authorizedUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Map of block numbers to block hashes. - **/ blockHash: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * The current weight for the block. - **/ blockWeight: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Digest of the current block, also part of the block header. - **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The number of events in the `Events` list. - **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Events deposited for the current block. - * - * NOTE: The item is unbound and should therefore never be read on chain. - * It could otherwise inflate the PoV size of a block. - * - * Events have a large in-memory size. Box the events to not go out-of-memory - * just in case someone still reads them from within the runtime. - **/ events: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Mapping between a topic (represented by T::Hash) and a vector of indexes - * of events in the `>` list. - * - * All topic vectors have deterministic storage locations depending on the topic. This - * allows light-clients to leverage the changes trie storage tracking mechanism and - * in case of changes fetch the list of events of interest. - * - * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just - * the `EventIndex` then in case if the topic has the same contents on the next block - * no notification will be triggered thus the event might be lost. - **/ eventTopics: AugmentedQuery Observable>>, [H256]> & QueryableStorageEntry; - /** - * The execution phase of the block. - **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Total extrinsics count for the current block. - **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Extrinsics data for the current block (maps an extrinsic's index to its data). - **/ extrinsicData: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * Whether all inherents have been applied. - **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. - **/ lastRuntimeUpgrade: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The current block number being processed. Set by `execute_block`. - **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Hash of the previous block. - **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False - * (default) if not. - **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. - **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -1557,29 +569,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; technicalCommittee: { - /** - * The current members of the collective. This is stored sorted (just by value). - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The prime member that helps determine the default vote behavior in case of absentations. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Proposals so far. - **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Actual proposal for a given hash, if it's current. - **/ proposalOf: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; - /** - * The hashes of the active proposals. - **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * Votes on a given proposal, if it is ongoing. - **/ voting: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query @@ -1587,13 +581,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; technicalCommitteeMembership: { - /** - * The current membership, stored as an ordered Vec. - **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The current prime member, if one exists. - **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -1601,16 +589,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; timestamp: { - /** - * Whether the timestamp has been updated in this block. - * - * This value is updated to `true` upon successful submission of a timestamp by a node. - * It is then checked at the end of each block execution in the `on_finalize` hook. - **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The current time for the current block. - **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Generic query @@ -1618,16 +597,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; tips: { - /** - * Simple preimage lookup from the reason's hash to the original data. Again, has an - * insecure enumerable hash since the key is guaranteed to be the result of a secure hash. - **/ reasons: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; - /** - * TipsMap that are not yet completed. Keyed by the hash of `(reason, who)` from the value. - * This has the insecure enumerable hash function since the key itself is already - * guaranteed to be a secure hash. - **/ tips: AugmentedQuery Observable>, [H256]> & QueryableStorageEntry; /** * Generic query @@ -1635,27 +605,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; tokens: { - /** - * The balance of a token type under an account. - * - * NOTE: If the total is ever zero, decrease account ref account. - * - * NOTE: This is only used in the case that this module is used to store - * balances. - **/ accounts: AugmentedQuery Observable, [AccountId32, AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * Any liquidity locks of a token type under an account. - * NOTE: Should only be accessed when setting, changing and freeing a lock. - **/ locks: AugmentedQuery Observable>, [AccountId32, AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * Named reserves on some account balances. - **/ reserves: AugmentedQuery Observable>, [AccountId32, AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * The total issuance of a token type. - **/ totalIssuance: AugmentedQuery Observable, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; /** * Generic query @@ -1663,17 +615,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; transactionPause: { - /** - * The paused EVM precompile map - * - * map (PrecompileAddress) => Option<()> - **/ pausedEvmPrecompiles: AugmentedQuery Observable>, [H160]> & QueryableStorageEntry; - /** - * The paused transaction map - * - * map (PalletNameBytes, FunctionNameBytes) => Option<()> - **/ pausedTransactions: AugmentedQuery | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => Observable>, [ITuple<[Bytes, Bytes]>]> & QueryableStorageEntry]>; /** * Generic query @@ -1681,50 +623,12 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; transactionPayment: { - /** - * The alternative fee swap path of accounts. - * - * AlternativeFeeSwapPath: map AccountId => Option> - **/ alternativeFeeSwapPath: AugmentedQuery Observable>>, [AccountId32]> & QueryableStorageEntry; - /** - * The global fee swap path. - * The path includes `DefaultFeeTokens` trading path, and foreign asset trading path. - * - * GlobalFeeSwapPath: map CurrencyId => Option> - **/ globalFeeSwapPath: AugmentedQuery Observable>>, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * The next fee multiplier. - * - * NextFeeMultiplier: Multiplier - **/ nextFeeMultiplier: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * The override charge fee method. - * - * OverrideChargeFeeMethod: ChargeFeeMethod - **/ overrideChargeFeeMethod: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The size of fee pool in native token. During `initialize_pool` this amount of native token - * will be transferred from `TreasuryAccount` to sub account of `PalletId`. - * - * PoolSize: map CurrencyId => Balance - **/ poolSize: AugmentedQuery Observable, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * The balance threshold to trigger swap from dex, normally the value is gt ED of native asset. - * - * SwapBalanceThreshold: map CurrencyId => Balance - **/ swapBalanceThreshold: AugmentedQuery Observable, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - /** - * The exchange rate between the given currency and native token. - * This value is updated when upon swap from dex. - * - * TokenExchangeRate: map CurrencyId => Option - **/ tokenExchangeRate: AugmentedQuery Observable>, [AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; /** * Generic query @@ -1732,29 +636,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; treasury: { - /** - * Proposal indices that have been approved but not yet awarded. - **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The amount which has been reported as inactive to Currency. - **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Number of proposals that have been made. - **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Proposals that have been made. - **/ proposals: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; - /** - * The count of spends that have been made. - **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Spends that have been approved and being processed. - **/ spends: AugmentedQuery Observable>, [u32]> & QueryableStorageEntry; /** * Generic query @@ -1762,19 +648,7 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; unknownTokens: { - /** - * Abstract fungible balances under a given location and a abstract - * fungible id. - * - * double_map: who, asset_id => u128 - **/ abstractFungibleBalances: AugmentedQuery Observable, [StagingXcmV4Location, Bytes]> & QueryableStorageEntry; - /** - * Concrete fungible balances under a given location and a concrete - * fungible id. - * - * double_map: who, asset_id => u128 - **/ concreteFungibleBalances: AugmentedQuery Observable, [StagingXcmV4Location, StagingXcmV4Location]> & QueryableStorageEntry; /** * Generic query @@ -1782,11 +656,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; vesting: { - /** - * Vesting schedules of an account. - * - * VestingSchedules: map AccountId => Vec - **/ vestingSchedules: AugmentedQuery Observable>, [AccountId32]> & QueryableStorageEntry; /** * Generic query @@ -1794,12 +663,6 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; xcmInterface: { - /** - * The dest weight limit and fee for execution XCM msg sended by XcmInterface. Must be - * sufficient, otherwise the execution of XCM msg on relaychain will fail. - * - * XcmDestWeightAndFee: map: XcmInterfaceOperation => (Weight, Balance) - **/ xcmDestWeightAndFee: AugmentedQuery Observable>, [ModuleXcmInterfaceModuleXcmInterfaceOperation]> & QueryableStorageEntry; /** * Generic query @@ -1807,45 +670,12 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** - * The factor to multiply the base delivery fee by. - **/ deliveryFeeFactor: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; - /** - * The suspended inbound XCMP channels. All others are not suspended. - * - * This is a `StorageValue` instead of a `StorageMap` since we expect multiple reads per block - * to different keys with a one byte payload. The access to `BoundedBTreeSet` will be cached - * within the block and therefore only included once in the proof size. - * - * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof - * will be smaller. - **/ inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The messages outbound in a given XCMP channel. - **/ outboundXcmpMessages: AugmentedQuery Observable, [u32, u16]> & QueryableStorageEntry; - /** - * The non-empty XCMP channels in order of becoming non-empty, and the index of the first - * and last outbound message. If the two indices are equal, then it indicates an empty - * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater - * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in - * case of the need to send a high-priority signal message this block. - * The bool is true if there is a signal message waiting to be sent. - **/ outboundXcmpStatus: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** - * The configuration which controls the dynamics of the outbound queue. - **/ queueConfig: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. - **/ queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** - * Any signal messages waiting to be sent. - **/ signalMessages: AugmentedQuery Observable, [u32]> & QueryableStorageEntry; /** * Generic query diff --git a/packages/types/src/interfaces/augment-api-runtime.ts b/packages/types/src/interfaces/augment-api-runtime.ts index caa08bb..1aae345 100644 --- a/packages/types/src/interfaces/augment-api-runtime.ts +++ b/packages/types/src/interfaces/augment-api-runtime.ts @@ -6,7 +6,6 @@ import '@polkadot/api-base/types/calls'; import type { BlockLimits, CallInfo, CreateInfo } from '@acala-network/types/interfaces/evm'; -import type { TraceOutcome, TracerConfig } from '@acala-network/types/interfaces/runtime'; import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; import type { Bytes, Null, Option, Raw, Result, Vec, bool, u128, u32, u64 } from '@polkadot/types-codec'; import type { AnyNumber, ITuple } from '@polkadot/types-codec/types'; @@ -19,7 +18,7 @@ import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { AccountId, Balance, Block, ExtrinsicInclusionMode, H160, Header, Index, KeyTypeId, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime'; import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; -import type { ApplyExtrinsicResult, DispatchError, TransactionValidityError } from '@polkadot/types/interfaces/system'; +import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system'; import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; import type { EthereumTransactionAccessListItem } from '@polkadot/types/lookup'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; @@ -135,17 +134,6 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; - /** 0x09508987e5d0dcf4/1 */ - evmTraceApi: { - /** - * trace an evm extrinsic - **/ - traceExtrinsic: AugmentedCall Observable>>; - /** - * Generic call - **/ - [key: string]: DecoratedCallBase; - }; /** 0x37e397fc7c91f5e4/2 */ metadata: { /** diff --git a/packages/types/src/interfaces/augment-api-tx.ts b/packages/types/src/interfaces/augment-api-tx.ts index 28e12bc..1ecddc0 100644 --- a/packages/types/src/interfaces/augment-api-tx.ts +++ b/packages/types/src/interfaces/augment-api-tx.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE import type { BTreeMap, Bytes, Compact, Null, Option, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { AccountId32, Call, H160, H256, MultiAddress } from '@polkadot/types/interfaces/runtime'; -import type { AcalaPrimitivesAuthoritysOriginId, AcalaPrimitivesCurrencyAssetMetadata, AcalaPrimitivesCurrencyCurrencyId, AcalaRuntimeOriginCaller, AcalaRuntimeRuntimeParameters, AcalaRuntimeScheduledTasks, AcalaRuntimeSessionKeys, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionAccessListItem, EthereumTransactionTransactionAction, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, ModuleHomaModuleUnlockChunk, ModuleHomaValidatorListSlashInfo, ModuleSupportDexAggregatedSwapPath, ModuleSupportDexSwapLimit, ModuleSupportIncentivesPoolId, ModuleXcmInterfaceModuleXcmInterfaceOperation, OrmlTraitsChangeOption, OrmlTraitsChangeU128, OrmlVestingVestingSchedule, PalletBalancesAdjustmentDirection, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletMultisigTimepoint, RuntimeCommonProxyType, SpWeightsWeightV2Weight, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAsset, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { AcalaPrimitivesAuthoritysOriginId, AcalaPrimitivesCurrencyAssetMetadata, AcalaPrimitivesCurrencyCurrencyId, AcalaRuntimeOriginCaller, AcalaRuntimeRuntimeParameters, AcalaRuntimeScheduledTasks, AcalaRuntimeSessionKeys, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, EthereumTransactionAccessListItem, EthereumTransactionTransactionAction, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, ModuleHomaModuleUnlockChunk, ModuleHomaValidatorListSlashInfo, ModuleSupportDexAggregatedSwapPath, ModuleSupportDexSwapLimit, ModuleSupportIncentivesPoolId, ModuleXcmInterfaceModuleXcmInterfaceOperation, OrmlTraitsChangeOption, OrmlTraitsChangeU128, OrmlVestingVestingSchedule, PalletBalancesAdjustmentDirection, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletMultisigTimepoint, RuntimeCommonProxyType, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; @@ -18,11 +18,6 @@ export type __SubmittableExtrinsicFunction = Submittab declare module '@polkadot/api-base/types/submittable' { interface AugmentedSubmittables { acalaOracle: { - /** - * Feed the external value. - * - * Require authorized operator. - **/ feedValues: AugmentedSubmittable<(values: Vec> | ([AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** * Generic tx @@ -30,23 +25,8 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; aggregatedDex: { - /** - * Swap with aggregated DEX at exact supply amount. - * - * - `paths`: aggregated swap path. - * - `supply_amount`: exact supply amount. - * - `min_target_amount`: acceptable minimum target amount. - **/ swapWithExactSupply: AugmentedSubmittable<(paths: Vec | (ModuleSupportDexAggregatedSwapPath | { Dex: any } | { Taiga: any } | string | Uint8Array)[], supplyAmount: Compact | AnyNumber | Uint8Array, minTargetAmount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Compact, Compact]>; swapWithExactTarget: AugmentedSubmittable<(paths: Vec | (ModuleSupportDexAggregatedSwapPath | { Dex: any } | { Taiga: any } | string | Uint8Array)[], targetAmount: Compact | AnyNumber | Uint8Array, maxSupplyAmount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Compact, Compact]>; - /** - * Update the aggregated swap paths for AggregatedSwap to swap TokenA to TokenB. - * - * Requires `GovernanceOrigin` - * - * Parameters: - * - `updates`: Vec<((TokenA, TokenB), Option>)> - **/ updateAggregatedSwapPaths: AugmentedSubmittable<(updates: Vec, Option>]>> | ([ITuple<[AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]> | [AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array], Option> | null | Uint8Array | Vec | (ModuleSupportDexAggregatedSwapPath | { Dex: any } | { Taiga: any } | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [Vec, Option>]>>]>; /** * Generic tx @@ -68,12 +48,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; auction: { - /** - * Bid an auction. - * - * The dispatch origin for this call must be `Signed` by the - * transactor. - **/ bid: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, Compact]>; /** * Generic tx @@ -81,11 +55,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; auctionManager: { - /** - * Cancel active auction after system shutdown - * - * The dispatch origin of this call must be _None_. - **/ cancel: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx @@ -94,28 +63,12 @@ declare module '@polkadot/api-base/types/submittable' { }; authority: { authorizeCall: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, caller: Option | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic, [Call, Option]>; - /** - * Cancel a scheduled dispatchable. - **/ cancelScheduledDispatch: AugmentedSubmittable<(initialOrigin: AcalaRuntimeOriginCaller | { system: any } | { Void: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Authority: any } | { GeneralCouncil: any } | { FinancialCouncil: any } | { HomaCouncil: any } | { TechnicalCommittee: any } | string | Uint8Array, taskId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaRuntimeOriginCaller, u32]>; - /** - * Delay a scheduled dispatchable. - **/ delayScheduledDispatch: AugmentedSubmittable<(initialOrigin: AcalaRuntimeOriginCaller | { system: any } | { Void: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Authority: any } | { GeneralCouncil: any } | { FinancialCouncil: any } | { HomaCouncil: any } | { TechnicalCommittee: any } | string | Uint8Array, taskId: u32 | AnyNumber | Uint8Array, additionalDelay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaRuntimeOriginCaller, u32, u32]>; - /** - * Dispatch a dispatchable on behalf of other origin - **/ dispatchAs: AugmentedSubmittable<(asOrigin: AcalaPrimitivesAuthoritysOriginId | 'Root' | 'Treasury' | 'HonzonTreasury' | 'HomaTreasury' | 'TreasuryReserve' | number | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesAuthoritysOriginId, Call]>; - /** - * Fast track a scheduled dispatchable. - **/ fastTrackScheduledDispatch: AugmentedSubmittable<(initialOrigin: AcalaRuntimeOriginCaller | { system: any } | { Void: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Authority: any } | { GeneralCouncil: any } | { FinancialCouncil: any } | { HomaCouncil: any } | { TechnicalCommittee: any } | string | Uint8Array, taskId: u32 | AnyNumber | Uint8Array, when: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaRuntimeOriginCaller, u32, FrameSupportScheduleDispatchTime]>; removeAuthorizedCall: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Schedule a dispatchable to be dispatched at later block. - * This is the only way to dispatch a call with `DelayedOrigin`. - **/ - scheduleDispatch: AugmentedSubmittable<(when: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, withDelayedOrigin: bool | boolean | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportScheduleDispatchTime, u8, bool, Call]>; + scheduleDispatch: AugmentedSubmittable<(when: FrameSupportScheduleDispatchTime | { At: any } | { After: any } | string | Uint8Array, priority: u8 | AnyNumber | Uint8Array, withDelayedOrigin: bool | boolean | Uint8Array, call: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportScheduleDispatchTime, u8, bool, FrameSupportPreimagesBounded]>; triggerCall: AugmentedSubmittable<(hash: H256 | string | Uint8Array, callWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [H256, SpWeightsWeightV2Weight]>; /** * Generic tx @@ -123,78 +76,14 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; balances: { - /** - * Adjust the total issuance in a saturating way. - * - * Can only be called by root and always needs a positive `delta`. - * - * # Example - **/ + burn: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, bool]>; forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [PalletBalancesAdjustmentDirection, Compact]>; - /** - * Set the regular balance of a given account. - * - * The dispatch origin for this call is `root`. - **/ forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; - /** - * Exactly as `transfer_allow_death`, except the origin must be root and the source account - * may be specified. - **/ 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 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, Compact]>; - /** - * Unreserve some balance from a user by force. - * - * Can only be called by ROOT. - **/ forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u128]>; - /** - * Transfer the entire transferable balance from the caller account. - * - * NOTE: This function only attempts to transfer _transferable_ balances. This means that - * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be - * transferred by this function. To ensure that this function results in a killed account, - * you might need to prepare the account by removing any reference counters, storage - * deposits, etc... - * - * The dispatch origin of this call must be Signed. - * - * - `dest`: The recipient of the transfer. - * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all - * of the funds the account has, causing the sender account to be killed (false), or - * transfer everything except at least the existential deposit, which will guarantee to - * keep the sender account alive (true). - **/ transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic, [MultiAddress, bool]>; - /** - * Transfer some liquid free balance to another account. - * - * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. - * If the sender's account is below the existential deposit as a result - * of the transfer, the account will be reaped. - * - * The dispatch origin for this call must be `Signed` by the transactor. - **/ transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; - /** - * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not - * kill the origin account. - * - * 99% of the time you want [`transfer_allow_death`] instead. - * - * [`transfer_allow_death`]: struct.Pallet.html#method.transfer - **/ transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; - /** - * Upgrade a specified account. - * - * - `origin`: Must be `Signed`. - * - `who`: The account to be upgraded. - * - * This will waive the transaction fee if at least all but 10% of the accounts needed to - * be upgraded. (We let some not have to be upgraded just in order to allow for the - * possibililty of churn). - **/ upgradeAccounts: AugmentedSubmittable<(who: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; /** * Generic tx @@ -202,117 +91,14 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; bounties: { - /** - * Accept the curator role for a bounty. - * A deposit will be reserved from curator and refund upon successful payout. - * - * May only be called from the curator. - * - * ## Complexity - * - O(1). - **/ acceptCurator: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Approve a bounty proposal. At a later time, the bounty will be funded and become active - * and the original deposit will be returned. - * - * May only be called from `T::SpendOrigin`. - * - * ## Complexity - * - O(1). - **/ approveBounty: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Award bounty to a beneficiary account. The beneficiary will be able to claim the funds - * after a delay. - * - * The dispatch origin for this call must be the curator of this bounty. - * - * - `bounty_id`: Bounty ID to award. - * - `beneficiary`: The beneficiary account whom will receive the payout. - * - * ## Complexity - * - O(1). - **/ awardBounty: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; - /** - * Claim the payout from an awarded bounty after payout delay. - * - * The dispatch origin for this call must be the beneficiary of this bounty. - * - * - `bounty_id`: Bounty ID to claim. - * - * ## Complexity - * - O(1). - **/ claimBounty: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Cancel a proposed or active bounty. All the funds will be sent to treasury and - * the curator deposit will be unreserved if possible. - * - * Only `T::RejectOrigin` is able to cancel a bounty. - * - * - `bounty_id`: Bounty ID to cancel. - * - * ## Complexity - * - O(1). - **/ closeBounty: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Extend the expiry time of an active bounty. - * - * The dispatch origin for this call must be the curator of this bounty. - * - * - `bounty_id`: Bounty ID to extend. - * - `remark`: additional information. - * - * ## Complexity - * - O(1). - **/ extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Bytes]>; - /** - * Propose a new bounty. - * - * The dispatch origin for this call must be _Signed_. - * - * Payment: `TipReportDepositBase` will be reserved from the origin account, as well as - * `DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval, - * or slashed when rejected. - * - * - `curator`: The curator account whom will manage this bounty. - * - `fee`: The curator fee. - * - `value`: The total payment amount of this bounty, curator fee included. - * - `description`: The description of this bounty. - **/ proposeBounty: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Compact, Bytes]>; - /** - * Propose a curator to a funded bounty. - * - * May only be called from `T::SpendOrigin`. - * - * ## Complexity - * - O(1). - **/ proposeCurator: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array, curator: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, fee: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress, Compact]>; - /** - * Unassign curator from a bounty. - * - * This function can only be called by the `RejectOrigin` a signed origin. - * - * If this function is called by the `RejectOrigin`, we assume that the curator is - * malicious or inactive. As a result, we will slash the curator when possible. - * - * If the origin is the curator, we take this as a sign they are unable to do their job and - * they willingly give up. We could slash them, but for now we allow them to recover their - * deposit and exit without issue. (We may want to change this if it is abused.) - * - * Finally, the origin can be anyone if and only if the curator is "inactive". This allows - * anyone in the community to call out that a curator is not doing their due diligence, and - * we should pick a new curator. In this case the curator should also be slashed. - * - * ## Complexity - * - O(1). - **/ unassignCurator: AugmentedSubmittable<(bountyId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Generic tx @@ -321,41 +107,9 @@ declare module '@polkadot/api-base/types/submittable' { }; cdpEngine: { deregisterLiquidationContract: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; - /** - * Liquidate unsafe CDP - * - * The dispatch origin of this call must be _None_. - * - * - `currency_id`: CDP's collateral type. - * - `who`: CDP's owner. - **/ liquidate: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, MultiAddress]>; registerLiquidationContract: AugmentedSubmittable<(address: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; - /** - * Update parameters related to risk management of CDP under specific - * collateral type - * - * The dispatch origin of this call must be `UpdateOrigin`. - * - * - `currency_id`: collateral type. - * - `interest_rate_per_sec`: Interest rate per sec, `None` means do not update, - * - `liquidation_ratio`: liquidation ratio, `None` means do not update, `Some(None)` means - * update it to `None`. - * - `liquidation_penalty`: liquidation penalty, `None` means do not update, `Some(None)` - * means update it to `None`. - * - `required_collateral_ratio`: required collateral ratio, `None` means do not update, - * `Some(None)` means update it to `None`. - * - `maximum_total_debit_value`: maximum total debit value. - **/ setCollateralParams: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, interestRatePerSec: OrmlTraitsChangeOption | { NoChange: any } | { NewValue: any } | string | Uint8Array, liquidationRatio: OrmlTraitsChangeOption | { NoChange: any } | { NewValue: any } | string | Uint8Array, liquidationPenalty: OrmlTraitsChangeOption | { NoChange: any } | { NewValue: any } | string | Uint8Array, requiredCollateralRatio: OrmlTraitsChangeOption | { NoChange: any } | { NewValue: any } | string | Uint8Array, maximumTotalDebitValue: OrmlTraitsChangeU128 | { NoChange: any } | { NewValue: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, OrmlTraitsChangeOption, OrmlTraitsChangeOption, OrmlTraitsChangeOption, OrmlTraitsChangeOption, OrmlTraitsChangeU128]>; - /** - * Settle CDP has debit after system shutdown - * - * The dispatch origin of this call must be _None_. - * - * - `currency_id`: CDP's collateral type. - * - `who`: CDP's owner. - **/ settle: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, MultiAddress]>; /** * Generic tx @@ -363,44 +117,10 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; cdpTreasury: { - /** - * Auction the collateral not occupied by the auction. - * - * The dispatch origin of this call must be `UpdateOrigin`. - * - * - `currency_id`: collateral type - * - `amount`: collateral amount - * - `target`: target amount - * - `splited`: split collateral to multiple auction according to the config size - **/ auctionCollateral: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array, target: Compact | AnyNumber | Uint8Array, splited: bool | boolean | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, Compact, Compact, bool]>; - /** - * Swap the collateral not occupied by the auction to stable. - * - * The dispatch origin of this call must be `UpdateOrigin`. - * - * - `currency_id`: collateral type - * - `swap_limit`: target amount - **/ exchangeCollateralToStable: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, swapLimit: ModuleSupportDexSwapLimit | { ExactSupply: any } | { ExactTarget: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, ModuleSupportDexSwapLimit]>; extractSurplusToTreasury: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Update the debit offset buffer - * - * The dispatch origin of this call must be `UpdateOrigin`. - * - * - `amount`: the buffer amount of debit pool - **/ setDebitOffsetBuffer: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Update parameters related to collateral auction under specific - * collateral type - * - * The dispatch origin of this call must be `UpdateOrigin`. - * - * - `currency_id`: collateral type - * - `amount`: expected size of per lot collateral auction - **/ setExpectedCollateralAuctionSize: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, size: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, Compact]>; /** * Generic tx @@ -421,38 +141,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; currencies: { - /** - * Remove lock by lock_id - * - * The dispatch origin of this call must be _Root_. - **/ forceRemoveLock: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, lockId: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, AcalaPrimitivesCurrencyCurrencyId, U8aFixed]>; - /** - * Set lock by lock_id - * - * The dispatch origin of this call must be _Root_. - **/ forceSetLock: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array, lockId: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, AcalaPrimitivesCurrencyCurrencyId, Compact, U8aFixed]>; sweepDust: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, accounts: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, Vec]>; - /** - * Transfer some balance to another account under `currency_id`. - * - * The dispatch origin for this call must be `Signed` by the - * transactor. - **/ transfer: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, AcalaPrimitivesCurrencyCurrencyId, Compact]>; - /** - * Transfer some native currency to another account. - * - * The dispatch origin for this call must be `Signed` by the - * transactor. - **/ transferNativeCurrency: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Compact]>; - /** - * Update amount of account `who` under `currency_id`. - * - * The dispatch origin of this call must be _Root_. - **/ updateBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: i128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, AcalaPrimitivesCurrencyCurrencyId, i128]>; /** * Generic tx @@ -460,275 +153,24 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; democracy: { - /** - * Permanently place a proposal into the blacklist. This prevents it from ever being - * proposed again. - * - * If called on a queued public or external proposal, then this will result in it being - * removed. If the `ref_index` supplied is an active referendum with the proposal hash, - * then it will be cancelled. - * - * The dispatch origin of this call must be `BlacklistOrigin`. - * - * - `proposal_hash`: The proposal hash to blacklist permanently. - * - `ref_index`: An ongoing referendum whose hash is `proposal_hash`, which will be - * cancelled. - * - * Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a - * reasonable value). - **/ blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [H256, Option]>; - /** - * Remove a proposal. - * - * The dispatch origin of this call must be `CancelProposalOrigin`. - * - * - `prop_index`: The index of the proposal to cancel. - * - * Weight: `O(p)` where `p = PublicProps::::decode_len()` - **/ cancelProposal: AugmentedSubmittable<(propIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Remove a referendum. - * - * The dispatch origin of this call must be _Root_. - * - * - `ref_index`: The index of the referendum to cancel. - * - * # Weight: `O(1)`. - **/ cancelReferendum: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Clears all public proposals. - * - * The dispatch origin of this call must be _Root_. - * - * Weight: `O(1)`. - **/ clearPublicProposals: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Delegate the voting power (with some given conviction) of the sending account. - * - * The balance delegated is locked for as long as it's delegated, and thereafter for the - * time appropriate for the conviction's lock period. - * - * The dispatch origin of this call must be _Signed_, and the signing account must either: - * - be delegating already; or - * - have no voting activity (if there is, then it will need to be removed/consolidated - * through `reap_vote` or `unvote`). - * - * - `to`: The account whose voting the `target` account's voting power will follow. - * - `conviction`: The conviction that will be attached to the delegated votes. When the - * account is undelegated, the funds will be locked for the corresponding period. - * - `balance`: The amount of the account's balance to be used in delegating. This must not - * be more than the account's current balance. - * - * Emits `Delegated`. - * - * Weight: `O(R)` where R is the number of referendums the voter delegating to has - * voted on. Weight is charged as if maximum votes. - **/ delegate: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, conviction: PalletDemocracyConviction | 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x' | number | Uint8Array, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, PalletDemocracyConviction, u128]>; - /** - * Schedule an emergency cancellation of a referendum. Cannot happen twice to the same - * referendum. - * - * The dispatch origin of this call must be `CancellationOrigin`. - * - * -`ref_index`: The index of the referendum to cancel. - * - * Weight: `O(1)`. - **/ emergencyCancel: AugmentedSubmittable<(refIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Schedule a referendum to be tabled once it is legal to schedule an external - * referendum. - * - * The dispatch origin of this call must be `ExternalOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal. - **/ externalPropose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; - /** - * Schedule a negative-turnout-bias referendum to be tabled next once it is legal to - * schedule an external referendum. - * - * The dispatch of this call must be `ExternalDefaultOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal. - * - * Unlike `external_propose`, blacklisting has no effect on this and it may replace a - * pre-scheduled `external_propose` call. - * - * Weight: `O(1)` - **/ externalProposeDefault: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; - /** - * Schedule a majority-carries referendum to be tabled next once it is legal to schedule - * an external referendum. - * - * The dispatch of this call must be `ExternalMajorityOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal. - * - * Unlike `external_propose`, blacklisting has no effect on this and it may replace a - * pre-scheduled `external_propose` call. - * - * Weight: `O(1)` - **/ externalProposeMajority: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded]>; - /** - * Schedule the currently externally-proposed majority-carries referendum to be tabled - * immediately. If there is no externally-proposed referendum currently, or if there is one - * but it is not a majority-carries referendum then it fails. - * - * The dispatch of this call must be `FastTrackOrigin`. - * - * - `proposal_hash`: The hash of the current external proposal. - * - `voting_period`: The period that is allowed for voting on this proposal. Increased to - * Must be always greater than zero. - * For `FastTrackOrigin` must be equal or greater than `FastTrackVotingPeriod`. - * - `delay`: The number of block after voting has ended in approval and this should be - * enacted. This doesn't have a minimum amount. - * - * Emits `Started`. - * - * Weight: `O(1)` - **/ fastTrack: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, votingPeriod: u32 | AnyNumber | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, u32, u32]>; - /** - * Propose a sensitive action to be taken. - * - * The dispatch origin of this call must be _Signed_ and the sender must - * have funds to cover the deposit. - * - * - `proposal_hash`: The hash of the proposal preimage. - * - `value`: The amount of deposit (must be at least `MinimumDeposit`). - * - * Emits `Proposed`. - **/ propose: AugmentedSubmittable<(proposal: FrameSupportPreimagesBounded | { Legacy: any } | { Inline: any } | { Lookup: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [FrameSupportPreimagesBounded, Compact]>; - /** - * Remove a vote for a referendum. - * - * If the `target` is equal to the signer, then this function is exactly equivalent to - * `remove_vote`. If not equal to the signer, then the vote must have expired, - * either because the referendum was cancelled, because the voter lost the referendum or - * because the conviction period is over. - * - * The dispatch origin of this call must be _Signed_. - * - * - `target`: The account of the vote to be removed; this account must have voted for - * referendum `index`. - * - `index`: The index of referendum of the vote to be removed. - * - * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. - * Weight is calculated for the maximum number of vote. - **/ removeOtherVote: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u32]>; - /** - * Remove a vote for a referendum. - * - * If: - * - the referendum was cancelled, or - * - the referendum is ongoing, or - * - the referendum has ended such that - * - the vote of the account was in opposition to the result; or - * - there was no conviction to the account's vote; or - * - the account made a split vote - * ...then the vote is removed cleanly and a following call to `unlock` may result in more - * funds being available. - * - * If, however, the referendum has ended and: - * - it finished corresponding to the vote of the account, and - * - the account made a standard vote with conviction, and - * - the lock period of the conviction is not over - * ...then the lock will be aggregated into the overall account's lock, which may involve - * *overlocking* (where the two locks are combined into a single lock that is the maximum - * of both the amount locked and the time is it locked for). - * - * The dispatch origin of this call must be _Signed_, and the signer must have a vote - * registered for referendum `index`. - * - * - `index`: The index of referendum of the vote to be removed. - * - * Weight: `O(R + log R)` where R is the number of referenda that `target` has voted on. - * Weight is calculated for the maximum number of vote. - **/ removeVote: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Signals agreement with a particular proposal. - * - * The dispatch origin of this call must be _Signed_ and the sender - * must have funds to cover the deposit, equal to the original deposit. - * - * - `proposal`: The index of the proposal to second. - **/ second: AugmentedSubmittable<(proposal: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Set or clear a metadata of a proposal or a referendum. - * - * Parameters: - * - `origin`: Must correspond to the `MetadataOwner`. - * - `ExternalOrigin` for an external proposal with the `SuperMajorityApprove` - * threshold. - * - `ExternalDefaultOrigin` for an external proposal with the `SuperMajorityAgainst` - * threshold. - * - `ExternalMajorityOrigin` for an external proposal with the `SimpleMajority` - * threshold. - * - `Signed` by a creator for a public proposal. - * - `Signed` to clear a metadata for a finished referendum. - * - `Root` to set a metadata for an ongoing referendum. - * - `owner`: an identifier of a metadata owner. - * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. - **/ setMetadata: AugmentedSubmittable<(owner: PalletDemocracyMetadataOwner | { External: any } | { Proposal: any } | { Referendum: any } | string | Uint8Array, maybeHash: Option | null | Uint8Array | H256 | string) => SubmittableExtrinsic, [PalletDemocracyMetadataOwner, Option]>; - /** - * Undelegate the voting power of the sending account. - * - * Tokens may be unlocked following once an amount of time consistent with the lock period - * of the conviction with which the delegation was issued. - * - * The dispatch origin of this call must be _Signed_ and the signing account must be - * currently delegating. - * - * Emits `Undelegated`. - * - * Weight: `O(R)` where R is the number of referendums the voter delegating to has - * voted on. Weight is charged as if maximum votes. - **/ undelegate: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Unlock tokens that have an expired lock. - * - * The dispatch origin of this call must be _Signed_. - * - * - `target`: The account to remove the lock on. - * - * Weight: `O(R)` with R number of vote of target. - **/ unlock: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Veto and blacklist the external proposal hash. - * - * The dispatch origin of this call must be `VetoOrigin`. - * - * - `proposal_hash`: The preimage hash of the proposal to veto and blacklist. - * - * Emits `Vetoed`. - * - * Weight: `O(V + log(V))` where V is number of `existing vetoers` - **/ vetoExternal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Vote in a referendum. If `vote.is_aye()`, the vote is to enact the proposal; - * otherwise it is a vote to keep the status quo. - * - * The dispatch origin of this call must be _Signed_. - * - * - `ref_index`: The index of the referendum to vote for. - * - `vote`: The vote configuration. - **/ vote: AugmentedSubmittable<(refIndex: Compact | AnyNumber | Uint8Array, vote: PalletDemocracyVoteAccountVote | { Standard: any } | { Split: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, PalletDemocracyVoteAccountVote]>; /** * Generic tx @@ -736,104 +178,18 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; dex: { - /** - * Abort provision when it's don't meet the target and expired. - **/ abortProvisioning: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Add liquidity to Enabled trading pair. - * - Add provision success will record the provision, issue shares to caller in the initial - * exchange rate when trading pair convert to Enabled. - * - * - `currency_id_a`: currency id A. - * - `currency_id_b`: currency id B. - * - `max_amount_a`: maximum amount of currency_id_a is allowed to inject to liquidity - * pool. - * - `max_amount_b`: maximum amount of currency_id_b is allowed to inject to liquidity - * pool. - * - `min_share_increment`: minimum acceptable share amount. - * - `stake_increment_share`: indicates whether to stake increased dex share to earn - * incentives - **/ addLiquidity: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, maxAmountA: Compact | AnyNumber | Uint8Array, maxAmountB: Compact | AnyNumber | Uint8Array, minShareIncrement: Compact | AnyNumber | Uint8Array, stakeIncrementShare: bool | boolean | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, Compact, Compact, Compact, bool]>; - /** - * Add provision to Provisioning trading pair. - * If succeed, will record the provision, but shares issuing will happen after the - * trading pair convert to Enabled status. - * - * - `currency_id_a`: currency id A. - * - `currency_id_b`: currency id B. - * - `amount_a`: provision amount for currency_id_a. - * - `amount_b`: provision amount for currency_id_b. - **/ addProvision: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amountA: Compact | AnyNumber | Uint8Array, amountB: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, Compact, Compact]>; - /** - * Claim dex share for founders who have participated in trading pair provision. - * - * - `owner`: founder account. - * - `currency_id_a`: currency id A. - * - `currency_id_b`: currency id B. - **/ claimDexShare: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Disable a `Enabled` trading pair. - **/ disableTradingPair: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Enable a trading pair - * if the status of trading pair is `Disabled`, or `Provisioning` without any accumulated - * provision, enable it directly. - **/ enableTradingPair: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Enable a Provisioning trading pair if meet the condition. - **/ endProvisioning: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>; - /** - * List a new provisioning trading pair. - **/ listProvisioning: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, minContributionA: Compact | AnyNumber | Uint8Array, minContributionB: Compact | AnyNumber | Uint8Array, targetProvisionA: Compact | AnyNumber | Uint8Array, targetProvisionB: Compact | AnyNumber | Uint8Array, notBefore: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, Compact, Compact, Compact, Compact, Compact]>; - /** - * Refund provision if the provision has already aborted. - * - * - `owner`: founder account. - * - `currency_id_a`: currency id A. - * - `currency_id_b`: currency id B. - **/ refundProvision: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AccountId32, AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Remove liquidity from specific liquidity pool in the form of burning - * shares, and withdrawing currencies in trading pairs from liquidity - * pool in proportion, and withdraw liquidity incentive interest. - * - * - `currency_id_a`: currency id A. - * - `currency_id_b`: currency id B. - * - `remove_share`: liquidity amount to remove. - * - `min_withdrawn_a`: minimum acceptable withrawn for currency_id_a. - * - `min_withdrawn_b`: minimum acceptable withrawn for currency_id_b. - * - `by_unstake`: this flag indicates whether to withdraw share which is on incentives. - **/ removeLiquidity: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, removeShare: Compact | AnyNumber | Uint8Array, minWithdrawnA: Compact | AnyNumber | Uint8Array, minWithdrawnB: Compact | AnyNumber | Uint8Array, byUnstake: bool | boolean | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, Compact, Compact, Compact, bool]>; - /** - * Trading with DEX, swap with exact supply amount - * - * - `path`: trading path. - * - `supply_amount`: exact supply amount. - * - `min_target_amount`: acceptable minimum target amount. - **/ swapWithExactSupply: AugmentedSubmittable<(path: Vec | (AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array)[], supplyAmount: Compact | AnyNumber | Uint8Array, minTargetAmount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Compact, Compact]>; - /** - * Trading with DEX, swap with exact target amount - * - * - `path`: trading path. - * - `target_amount`: exact target amount. - * - `max_supply_amount`: acceptable maximum supply amount. - **/ swapWithExactTarget: AugmentedSubmittable<(path: Vec | (AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array)[], targetAmount: Compact | AnyNumber | Uint8Array, maxSupplyAmount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Compact, Compact]>; - /** - * List a new trading pair, trading pair will become Enabled status - * after provision process. - **/ updateProvisioningParameters: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, minContributionA: Compact | AnyNumber | Uint8Array, minContributionB: Compact | AnyNumber | Uint8Array, targetProvisionA: Compact | AnyNumber | Uint8Array, targetProvisionB: Compact | AnyNumber | Uint8Array, notBefore: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, Compact, Compact, Compact, Compact, Compact]>; /** * Generic tx @@ -841,34 +197,8 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; dexOracle: { - /** - * Disable average price for trading pair. - * - * Requires `UpdateOrigin` - * - * - `currency_id_a`: one currency_id that forms a trading pair - * - `currency_id_b`: another currency_id that forms a trading pair - **/ disableAveragePrice: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Enabled average price for trading pair. - * - * Requires `UpdateOrigin` - * - * - `currency_id_a`: one currency_id that forms a trading pair - * - `currency_id_b`: another currency_id that forms a trading pair - * - `interval`: the timestamp interval to update average price. - **/ enableAveragePrice: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, interval: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, u64]>; - /** - * Update the interval of the trading pair that enabled average price. - * - * Requires `UpdateOrigin` - * - * - `currency_id_a`: one currency_id that forms a trading pair - * - `currency_id_b`: another currency_id that forms a trading pair - * - `new_interval`: the new interval. - **/ updateAveragePriceInterval: AugmentedSubmittable<(currencyIdA: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, currencyIdB: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, newInterval: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, u64]>; /** * Generic tx @@ -876,33 +206,10 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; earning: { - /** - * Bond tokens by locking them up to `amount`. - * If user available balances is less than amount, then all the remaining balances will be - * locked. - **/ bond: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Rebond up to `amount` tokens from unbonding period. - * If unbonded amount is less than `amount`, then all the remaining unbonded tokens will be - * rebonded. - **/ rebond: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Start unbonding tokens up to `amount`. - * If bonded amount is less than `amount`, then all the remaining bonded tokens will start - * unbonding. Token will finish unbonding after `UnbondingPeriod` blocks. - **/ unbond: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Unbond up to `amount` tokens instantly by paying a `InstantUnstakeFee` fee. - * If bonded amount is less than `amount`, then all the remaining bonded tokens will be - * unbonded. This will not unbond tokens during unbonding period. - **/ unbondInstant: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Withdraw all unbonded tokens. - **/ withdrawUnbonded: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Generic tx @@ -910,23 +217,8 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; emergencyShutdown: { - /** - * Start emergency shutdown - * - * The dispatch origin of this call must be `ShutdownOrigin`. - **/ emergencyShutdown: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Open final redemption if settlement is completed. - * - * The dispatch origin of this call must be `ShutdownOrigin`. - **/ openCollateralRefund: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Refund a basket of remaining collateral assets to caller - * - * - `amount`: stable currency amount used to refund. - **/ refundCollaterals: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Generic tx @@ -934,129 +226,21 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** - * Issue an EVM call operation. This is similar to a message call - * transaction in Ethereum. - * - * - `target`: the contract address to call - * - `input`: the data supplied for the call - * - `value`: the amount sent for payable calls - * - `gas_limit`: the maximum gas the call can use - * - `storage_limit`: the total bytes the contract's storage can increase by - **/ call: AugmentedSubmittable<(target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [H160, Bytes, Compact, Compact, Compact, Vec]>; - /** - * Issue an EVM create operation. This is similar to a contract - * creation transaction in Ethereum. - * - * - `input`: the data supplied for the contract's constructor - * - `value`: the amount sent to the contract upon creation - * - `gas_limit`: the maximum gas the call can use - * - `storage_limit`: the total bytes the contract's storage can increase by - **/ create: AugmentedSubmittable<(input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Bytes, Compact, Compact, Compact, Vec]>; - /** - * Issue an EVM create2 operation. - * - * - `target`: the contract address to call - * - `input`: the data supplied for the contract's constructor - * - `salt`: used for generating the new contract's address - * - `value`: the amount sent for payable calls - * - `gas_limit`: the maximum gas the call can use - * - `storage_limit`: the total bytes the contract's storage can increase by - **/ create2: AugmentedSubmittable<(input: Bytes | string | Uint8Array, salt: H256 | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Bytes, H256, Compact, Compact, Compact, Vec]>; - /** - * Create mirrored NFT contract. The next available system contract - * address will be used as created contract address. - * - * - `input`: the data supplied for the contract's constructor - * - `value`: the amount sent for payable calls - * - `gas_limit`: the maximum gas the call can use - * - `storage_limit`: the total bytes the contract's storage can increase by - **/ createNftContract: AugmentedSubmittable<(input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Bytes, Compact, Compact, Compact, Vec]>; - /** - * Issue an EVM create operation. The address specified - * will be used as created contract address. - * - * - `target`: the address specified by the contract - * - `input`: the data supplied for the contract's constructor - * - `value`: the amount sent for payable calls - * - `gas_limit`: the maximum gas the call can use - * - `storage_limit`: the total bytes the contract's storage can increase by - **/ createPredeployContract: AugmentedSubmittable<(target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [H160, Bytes, Compact, Compact, Compact, Vec]>; - /** - * Mark the caller's address to disable contract development. - * This disallows the address to interact with non-published contracts. - **/ disableContractDevelopment: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Mark the caller's address to allow contract development. - * This allows the address to interact with non-published contracts. - **/ enableContractDevelopment: AugmentedSubmittable<() => SubmittableExtrinsic, []>; ethCall: AugmentedSubmittable<(action: EthereumTransactionTransactionAction | { Call: any } | { Create: any } | string | Uint8Array, input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[], validUntil: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [EthereumTransactionTransactionAction, Bytes, Compact, Compact, Compact, Vec, Compact]>; ethCallV2: AugmentedSubmittable<(action: EthereumTransactionTransactionAction | { Call: any } | { Create: any } | string | Uint8Array, input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasPrice: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [EthereumTransactionTransactionAction, Bytes, Compact, Compact, Compact, Vec]>; - /** - * Mark a given contract as published. - * - * - `contract`: The contract to mark as published, the caller must the contract's - * maintainer - **/ publishContract: AugmentedSubmittable<(contract: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; - /** - * Mark a given contract as published without paying the publication fee - * - * - `contract`: The contract to mark as published, the caller must be the contract's - * maintainer. - **/ publishFree: AugmentedSubmittable<(contract: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; - /** - * Issue an EVM call operation on a scheduled contract call, and - * refund the unused gas reserved when the call was scheduled. - * - * - `from`: the address the scheduled call originates from - * - `target`: the contract address to call - * - `input`: the data supplied for the call - * - `value`: the amount sent for payable calls - * - `gas_limit`: the maximum gas the call can use - * - `storage_limit`: the total bytes the contract's storage can increase by - **/ scheduledCall: AugmentedSubmittable<(from: H160 | string | Uint8Array, target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [H160, H160, Bytes, Compact, Compact, Compact, Vec]>; - /** - * Remove a contract at a given address. - * - * - `contract`: The contract to remove, must not be marked as published - **/ selfdestruct: AugmentedSubmittable<(contract: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160]>; - /** - * Set the code of a contract at a given address. - * - * - `contract`: The contract whose code is being set, must not be marked as published - * - `code`: The new ABI bundle for the contract - **/ setCode: AugmentedSubmittable<(contract: H160 | string | Uint8Array, code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [H160, Bytes]>; - /** - * Issue an EVM call operation in `Utility::batch_all`. This is same as the evm.call but - * returns error when it failed. The current evm.call always success and emit event to - * indicate it failed. - * - * - `target`: the contract address to call - * - `input`: the data supplied for the call - * - `value`: the amount sent for payable calls - * - `gas_limit`: the maximum gas the call can use - * - `storage_limit`: the total bytes the contract's storage can increase by - **/ strictCall: AugmentedSubmittable<(target: H160 | string | Uint8Array, input: Bytes | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, gasLimit: Compact | AnyNumber | Uint8Array, storageLimit: Compact | AnyNumber | Uint8Array, accessList: Vec | (EthereumTransactionAccessListItem | { address?: any; storageKeys?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [H160, Bytes, Compact, Compact, Compact, Vec]>; - /** - * Transfers Contract maintainership to a new EVM Address. - * - * - `contract`: the contract whose maintainership is being transferred, the caller must be - * the contract's maintainer - * - `new_maintainer`: the address of the new maintainer - **/ transferMaintainer: AugmentedSubmittable<(contract: H160 | string | Uint8Array, newMaintainer: H160 | string | Uint8Array) => SubmittableExtrinsic, [H160, H160]>; /** * Generic tx @@ -1064,19 +248,7 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; evmAccounts: { - /** - * Claim account mapping between Substrate accounts and EVM accounts. - * Ensure eth_address has not been mapped. - * - * - `eth_address`: The address to bind to the caller's account - * - `eth_signature`: A signature generated by the address to prove ownership - **/ claimAccount: AugmentedSubmittable<(ethAddress: H160 | string | Uint8Array, ethSignature: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [H160, U8aFixed]>; - /** - * Claim account mapping between Substrate accounts and a generated EVM - * address based off of those accounts. - * Ensure eth_address has not been mapped - **/ claimDefaultAccount: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Generic tx @@ -1084,113 +256,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; financialCouncil: { - /** - * Close a vote that is either approved, disapproved or whose voting period has ended. - * - * May be called by any signed account in order to finish voting and close the proposal. - * - * If called before the end of the voting period it will only close the vote if it is - * has enough votes to be approved or disapproved. - * - * If called after the end of the voting period abstentions are counted as rejections - * unless there is a prime member set and the prime member cast an approval. - * - * If the close operation completes successfully with disapproval, the transaction fee will - * be waived. Otherwise execution of the approved operation will be charged to the caller. - * - * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed - * proposal. - * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. - * - * ## Complexity - * - `O(B + M + P1 + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - `P1` is the complexity of `proposal` preimage. - * - `P2` is proposal-count (code-bounded) - **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; - /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current - * state. - * - * Must be called by the Root origin. - * - * Parameters: - * * `proposal_hash`: The hash of the proposal that should be disapproved. - * - * ## Complexity - * O(P) where P is the number of max proposals - **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Dispatch a proposal from a member using the `Member` origin. - * - * Origin must be a member of the collective. - * - * ## Complexity: - * - `O(B + M + P)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` members-count (code-bounded) - * - `P` complexity of dispatching `proposal` - **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; - /** - * Add a new proposal to either be voted on or executed directly. - * - * Requires the sender to be member. - * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) - * or put up for voting. - * - * ## Complexity - * - `O(B + M + P1)` or `O(B + M + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - branching is influenced by `threshold` where: - * - `P1` is proposal execution complexity (`threshold < 2`) - * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; - /** - * Set the collective's membership. - * - * - `new_members`: The new member list. Be nice to the chain and provide it sorted. - * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for - * weight estimation. - * - * The dispatch of this call must be `SetMembersOrigin`. - * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but - * the weight estimations rely on it to estimate dispatchable weight. - * - * # WARNING: - * - * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. - * Any call to `set_members` must be careful that the member set doesn't get out of sync - * with other logic managing the member set. - * - * ## Complexity: - * - `O(MP + N)` where: - * - `M` old-members-count (code- and governance-bounded) - * - `N` new-members-count (code- and governance-bounded) - * - `P` proposals-count (code-bounded) - **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; - /** - * Add an aye or nay vote for the sender to the given proposal. - * - * Requires the sender to be a member. - * - * Transaction fees will be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * ## Complexity - * - `O(M)` where `M` is members-count (code- and governance-bounded) - **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** * Generic tx @@ -1198,52 +268,12 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; financialCouncilMembership: { - /** - * Add a member `who` to the set. - * - * May only be called from `T::AddOrigin`. - **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out the sending member for some other key `new`. - * - * May only be called from `Signed` origin of a current member. - * - * Prime membership is passed from the origin account to `new`, if extant. - **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Remove the prime member if it exists. - * - * May only be called from `T::PrimeOrigin`. - **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Remove a member `who` from the set. - * - * May only be called from `T::RemoveOrigin`. - **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Change the membership to a new set, disregarding the existing membership. Be nice and - * pass `members` pre-sorted. - * - * May only be called from `T::ResetOrigin`. - **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Set the prime member. Must be a current member. - * - * May only be called from `T::PrimeOrigin`. - **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out one member `remove` for another `add`. - * - * May only be called from `T::SwapOrigin`. - * - * Prime membership is *not* passed from `remove` to `add`, if extant. - **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** * Generic tx @@ -1251,113 +281,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; generalCouncil: { - /** - * Close a vote that is either approved, disapproved or whose voting period has ended. - * - * May be called by any signed account in order to finish voting and close the proposal. - * - * If called before the end of the voting period it will only close the vote if it is - * has enough votes to be approved or disapproved. - * - * If called after the end of the voting period abstentions are counted as rejections - * unless there is a prime member set and the prime member cast an approval. - * - * If the close operation completes successfully with disapproval, the transaction fee will - * be waived. Otherwise execution of the approved operation will be charged to the caller. - * - * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed - * proposal. - * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. - * - * ## Complexity - * - `O(B + M + P1 + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - `P1` is the complexity of `proposal` preimage. - * - `P2` is proposal-count (code-bounded) - **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; - /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current - * state. - * - * Must be called by the Root origin. - * - * Parameters: - * * `proposal_hash`: The hash of the proposal that should be disapproved. - * - * ## Complexity - * O(P) where P is the number of max proposals - **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Dispatch a proposal from a member using the `Member` origin. - * - * Origin must be a member of the collective. - * - * ## Complexity: - * - `O(B + M + P)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` members-count (code-bounded) - * - `P` complexity of dispatching `proposal` - **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; - /** - * Add a new proposal to either be voted on or executed directly. - * - * Requires the sender to be member. - * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) - * or put up for voting. - * - * ## Complexity - * - `O(B + M + P1)` or `O(B + M + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - branching is influenced by `threshold` where: - * - `P1` is proposal execution complexity (`threshold < 2`) - * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; - /** - * Set the collective's membership. - * - * - `new_members`: The new member list. Be nice to the chain and provide it sorted. - * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for - * weight estimation. - * - * The dispatch of this call must be `SetMembersOrigin`. - * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but - * the weight estimations rely on it to estimate dispatchable weight. - * - * # WARNING: - * - * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. - * Any call to `set_members` must be careful that the member set doesn't get out of sync - * with other logic managing the member set. - * - * ## Complexity: - * - `O(MP + N)` where: - * - `M` old-members-count (code- and governance-bounded) - * - `N` new-members-count (code- and governance-bounded) - * - `P` proposals-count (code-bounded) - **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; - /** - * Add an aye or nay vote for the sender to the given proposal. - * - * Requires the sender to be a member. - * - * Transaction fees will be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * ## Complexity - * - `O(M)` where `M` is members-count (code- and governance-bounded) - **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** * Generic tx @@ -1365,52 +293,12 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; generalCouncilMembership: { - /** - * Add a member `who` to the set. - * - * May only be called from `T::AddOrigin`. - **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out the sending member for some other key `new`. - * - * May only be called from `Signed` origin of a current member. - * - * Prime membership is passed from the origin account to `new`, if extant. - **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Remove the prime member if it exists. - * - * May only be called from `T::PrimeOrigin`. - **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Remove a member `who` from the set. - * - * May only be called from `T::RemoveOrigin`. - **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Change the membership to a new set, disregarding the existing membership. Be nice and - * pass `members` pre-sorted. - * - * May only be called from `T::ResetOrigin`. - **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Set the prime member. Must be a current member. - * - * May only be called from `T::PrimeOrigin`. - **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out one member `remove` for another `add`. - * - * May only be called from `T::SwapOrigin`. - * - * Prime membership is *not* passed from `remove` to `add`, if extant. - **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** * Generic tx @@ -1418,93 +306,15 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; homa: { - /** - * Withdraw the expired redemption of specific redeemer by unbond. - * - * Parameters: - * - `redeemer`: redeemer. - **/ claimRedemption: AugmentedSubmittable<(redeemer: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; - /** - * Execute fast match for specific redeem requests. - * - * Parameters: - * - `redeemer_list`: The list of redeem requests to execute fast redeem. - **/ fastMatchRedeems: AugmentedSubmittable<(redeemerList: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Execute fast match for specific redeem requests, require completely matched. - * - * Parameters: - * - `redeemer_list`: The list of redeem requests to execute fast redeem. - **/ fastMatchRedeemsCompletely: AugmentedSubmittable<(redeemerList: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; forceBumpCurrentEra: AugmentedSubmittable<(bumpAmount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Mint liquid currency by put locking up amount of staking currency. - * - * Parameters: - * - `amount`: The amount of staking currency used to mint liquid currency. - **/ mint: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Build/Cancel/Overwrite a redeem request, use liquid currency to redeem staking currency. - * The redeem request will be executed in two ways: - * 1. Redeem by fast match: Homa use staking currency in ToBondPool to match redeem request - * in the current era, setting a higher fee_rate can increase the possibility of being fast - * matched. 2. Redeem by unbond on relaychain: if redeem request has not been fast matched - * in current era, Homa will unbond staking currency on relaychain when the next era - * bumped. So redeemer at least wait for the unbonding period + extra 1 era to get the - * redemption. - * - * Parameters: - * - `amount`: The amount of liquid currency to be requested redeemed into Staking - * currency. - * - `allow_fast_match`: allow the request to be fast matched, fast match will take a fixed - * rate as fee. - **/ requestRedeem: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, allowFastMatch: bool | boolean | Uint8Array) => SubmittableExtrinsic, [Compact, bool]>; - /** - * Reset the RelayChainCurrentEra. - * If there is a deviation of more than 1 EraIndex between current era of relaychain and - * current era on local, should reset era to current era of relaychain as soon as possible. - * At the same time, check whether the unlocking of ledgers should be updated. - * Requires `GovernanceOrigin` - * - * Parameters: - * - `era_index`: the latest era index of relaychain. - **/ resetCurrentEra: AugmentedSubmittable<(eraIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Reset the bonded and unbonding to local subaccounts ledger according to the ledger on - * relaychain. Requires `GovernanceOrigin` - * - * Parameters: - * - `updates`: update list of subaccount. - **/ resetLedgers: AugmentedSubmittable<(updates: Vec, Option>]>> | ([u16 | AnyNumber | Uint8Array, Option | null | Uint8Array | u128 | AnyNumber, Option> | null | Uint8Array | Vec | (ModuleHomaModuleUnlockChunk | { value?: any; era?: any } | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [Vec, Option>]>>]>; - /** - * Sets the params that control when to bump local current era. - * Requires `GovernanceOrigin` - * - * Parameters: - * - `fix_last_era_bumped_block`: fix the relaychain block number of last era bumped. - * - `frequency`: the frequency of block number on parachain. - **/ updateBumpEraParams: AugmentedSubmittable<(lastEraBumpedBlock: Option | null | Uint8Array | u32 | AnyNumber, frequency: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option, Option]>; - /** - * Sets the params of Homa. - * Requires `GovernanceOrigin` - * - * Parameters: - * - `soft_bonded_cap_per_sub_account`: soft cap of staking amount for a single nominator - * on relaychain to obtain the best staking rewards. - * - `estimated_reward_rate_per_era`: the estimated staking yield of each era on the - * current relay chain. - * - `commission_rate`: the rate to draw from estimated staking rewards as commission to - * HomaTreasury - * - `fast_match_fee_rate`: the fixed fee rate when redeem request is been fast matched. - **/ updateHomaParams: AugmentedSubmittable<(softBondedCapPerSubAccount: Option | null | Uint8Array | u128 | AnyNumber, estimatedRewardRatePerEra: Option | null | Uint8Array | u128 | AnyNumber, commissionRate: Option | null | Uint8Array | u128 | AnyNumber, fastMatchFeeRate: Option | null | Uint8Array | u128 | AnyNumber, nominateIntervalEra: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option, Option, Option, Option, Option]>; /** * Generic tx @@ -1512,113 +322,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; homaCouncil: { - /** - * Close a vote that is either approved, disapproved or whose voting period has ended. - * - * May be called by any signed account in order to finish voting and close the proposal. - * - * If called before the end of the voting period it will only close the vote if it is - * has enough votes to be approved or disapproved. - * - * If called after the end of the voting period abstentions are counted as rejections - * unless there is a prime member set and the prime member cast an approval. - * - * If the close operation completes successfully with disapproval, the transaction fee will - * be waived. Otherwise execution of the approved operation will be charged to the caller. - * - * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed - * proposal. - * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. - * - * ## Complexity - * - `O(B + M + P1 + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - `P1` is the complexity of `proposal` preimage. - * - `P2` is proposal-count (code-bounded) - **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; - /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current - * state. - * - * Must be called by the Root origin. - * - * Parameters: - * * `proposal_hash`: The hash of the proposal that should be disapproved. - * - * ## Complexity - * O(P) where P is the number of max proposals - **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Dispatch a proposal from a member using the `Member` origin. - * - * Origin must be a member of the collective. - * - * ## Complexity: - * - `O(B + M + P)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` members-count (code-bounded) - * - `P` complexity of dispatching `proposal` - **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; - /** - * Add a new proposal to either be voted on or executed directly. - * - * Requires the sender to be member. - * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) - * or put up for voting. - * - * ## Complexity - * - `O(B + M + P1)` or `O(B + M + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - branching is influenced by `threshold` where: - * - `P1` is proposal execution complexity (`threshold < 2`) - * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; - /** - * Set the collective's membership. - * - * - `new_members`: The new member list. Be nice to the chain and provide it sorted. - * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for - * weight estimation. - * - * The dispatch of this call must be `SetMembersOrigin`. - * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but - * the weight estimations rely on it to estimate dispatchable weight. - * - * # WARNING: - * - * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. - * Any call to `set_members` must be careful that the member set doesn't get out of sync - * with other logic managing the member set. - * - * ## Complexity: - * - `O(MP + N)` where: - * - `M` old-members-count (code- and governance-bounded) - * - `N` new-members-count (code- and governance-bounded) - * - `P` proposals-count (code-bounded) - **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; - /** - * Add an aye or nay vote for the sender to the given proposal. - * - * Requires the sender to be a member. - * - * Transaction fees will be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * ## Complexity - * - `O(M)` where `M` is members-count (code- and governance-bounded) - **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** * Generic tx @@ -1626,52 +334,12 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; homaCouncilMembership: { - /** - * Add a member `who` to the set. - * - * May only be called from `T::AddOrigin`. - **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out the sending member for some other key `new`. - * - * May only be called from `Signed` origin of a current member. - * - * Prime membership is passed from the origin account to `new`, if extant. - **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Remove the prime member if it exists. - * - * May only be called from `T::PrimeOrigin`. - **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Remove a member `who` from the set. - * - * May only be called from `T::RemoveOrigin`. - **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Change the membership to a new set, disregarding the existing membership. Be nice and - * pass `members` pre-sorted. - * - * May only be called from `T::ResetOrigin`. - **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Set the prime member. Must be a current member. - * - * May only be called from `T::PrimeOrigin`. - **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out one member `remove` for another `add`. - * - * May only be called from `T::SwapOrigin`. - * - * Prime membership is *not* passed from `remove` to `add`, if extant. - **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** * Generic tx @@ -1679,56 +347,12 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; homaValidatorList: { - /** - * Bond tokens to a validator on the relay chain. - * Ensures the amount to bond is greater than the minimum bond amount. - * - * - `validator`: the AccountId of a validator on the relay chain to bond to - * - `amount`: the number of tokens to bond to the given validator - **/ bond: AugmentedSubmittable<(validator: AccountId32 | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AccountId32, Compact]>; - /** - * Freezes validators on the relay chain if they are not already frozen. - * Ensures the caller can freeze validators. - * - * - `validators`: The AccountIds of the validators on the relay chain to freeze - **/ freeze: AugmentedSubmittable<(validators: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Rebond tokens to a validator on the relay chain. - * - * - `validator`: The AccountId of a validator on the relay chain to rebond to - * - `amount`: The amount of tokens to rebond to the given validator - **/ rebond: AugmentedSubmittable<(validator: AccountId32 | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AccountId32, Compact]>; - /** - * Slash validators on the relay chain. - * Ensures the caller can perform a slash. - * - * - `slashes`: The SlashInfos of the validators to be slashed - **/ slash: AugmentedSubmittable<(slashes: Vec | (ModuleHomaValidatorListSlashInfo | { validator?: any; relaychainTokenAmount?: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Unfreezes validators on the relay chain if they are frozen. - * Ensures the caller can perform a slash. - * - * - `validators`: The AccountIds of the validators on the relay chain to unfreeze - **/ thaw: AugmentedSubmittable<(validators: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Unbond tokens from a validator on the relay chain. - * Ensures the bonded amount is zero or greater than the minimum bond amount. - * - * - `validator`: the AccountId of a validator on the relay chain to unbond from - * - `amount`: the number of tokens to unbond from the given validator - **/ unbond: AugmentedSubmittable<(validator: AccountId32 | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AccountId32, Compact]>; - /** - * Withdraw the unbonded tokens from a validator on the relay chain. - * Ensures the validator is not frozen. - * - * - `validator`: The AccountId of a validator on the relay chain to withdraw from - **/ withdrawUnbonded: AugmentedSubmittable<(validator: AccountId32 | string | Uint8Array) => SubmittableExtrinsic, [AccountId32]>; /** * Generic tx @@ -1736,88 +360,15 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; honzon: { - /** - * Adjust the loans of `currency_id` by specific - * `collateral_adjustment` and `debit_adjustment` - * - * - `currency_id`: collateral currency id. - * - `collateral_adjustment`: signed amount, positive means to deposit collateral currency - * into CDP, negative means withdraw collateral currency from CDP. - * - `debit_adjustment`: signed amount, positive means to issue some amount of stablecoin - * to caller according to the debit adjustment, negative means caller will payback some - * amount of stablecoin to CDP according to the debit adjustment. - **/ adjustLoan: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, collateralAdjustment: i128 | AnyNumber | Uint8Array, debitAdjustment: i128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, i128, i128]>; - /** - * Adjust the loans of `currency_id` by specific - * `collateral_adjustment` and `debit_value_adjustment` - * - * - `currency_id`: collateral currency id. - * - `collateral_adjustment`: signed amount, positive means to deposit collateral currency - * into CDP, negative means withdraw collateral currency from CDP. - * - `debit_value_adjustment`: signed amount, positive means to issue some amount of - * stablecoin, negative means caller will payback some amount of stablecoin to CDP. - **/ adjustLoanByDebitValue: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, collateralAdjustment: i128 | AnyNumber | Uint8Array, debitValueAdjustment: i128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, i128, i128]>; - /** - * Authorize `to` to manipulate the loan under `currency_id` - * - * - `currency_id`: collateral currency id. - * - `to`: authorizee account - **/ authorize: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, MultiAddress]>; - /** - * Close caller's CDP which has debit but still in safe by use collateral to swap - * stable token on DEX for clearing debit. - * - * - `currency_id`: collateral currency id. - * - `max_collateral_amount`: the max collateral amount which is used to swap enough - * stable token to clear debit. - **/ closeLoanHasDebitByDex: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, maxCollateralAmount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, Compact]>; - /** - * Generate new debit in advance, buy collateral and deposit it into CDP. - * - * - `currency_id`: collateral currency id. - * - `increase_debit_value`: the specific increased debit value for CDP - * - `min_increase_collateral`: the minimal increased collateral amount for CDP - **/ expandPositionCollateral: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, increaseDebitValue: u128 | AnyNumber | Uint8Array, minIncreaseCollateral: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, u128, u128]>; - /** - * Sell the collateral locked in CDP to get stable coin to repay the debit. - * - * - `currency_id`: collateral currency id. - * - `decrease_collateral`: the specific decreased collateral amount for CDP - * - `min_decrease_debit_value`: the minimal decreased debit value for CDP - **/ shrinkPositionDebit: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, decreaseCollateral: u128 | AnyNumber | Uint8Array, minDecreaseDebitValue: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, u128, u128]>; - /** - * Transfers debit between two CDPs - * - * - `from_currency`: Currency id that debit is transferred from - * - `to_currency`: Currency id that debit is transferred to - * - `debit_transfer`: Debit transferred across two CDPs - **/ transferDebit: AugmentedSubmittable<(fromCurrency: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, toCurrency: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, debitTransfer: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyCurrencyId, u128]>; - /** - * Transfer the whole CDP of `from` under `currency_id` to caller's CDP - * under the same `currency_id`, caller must have the authorization of - * `from` for the specific collateral type - * - * - `currency_id`: collateral currency id. - * - `from`: authorizer account - **/ transferLoanFrom: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, from: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, MultiAddress]>; - /** - * Cancel the authorization for `to` under `currency_id` - * - * - `currency_id`: collateral currency id. - * - `to`: authorizee account - **/ unauthorize: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, MultiAddress]>; - /** - * Cancel all authorization of caller - **/ unauthorizeAll: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Generic tx @@ -1832,53 +383,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; incentives: { - /** - * Claim all available multi currencies rewards for specific PoolId. - * - * The dispatch origin of this call must be `Signed` by the transactor. - * - * - `pool_id`: pool type - **/ claimRewards: AugmentedSubmittable<(poolId: ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | { NomineesElection: any } | string | Uint8Array) => SubmittableExtrinsic, [ModuleSupportIncentivesPoolId]>; - /** - * Stake LP token to add shares of Pool::Dex - * - * The dispatch origin of this call must be `Signed` by the transactor. - * - * - `lp_currency_id`: LP token type - * - `amount`: amount to stake - **/ depositDexShare: AugmentedSubmittable<(lpCurrencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, Compact]>; - /** - * Update claim rewards deduction rates currency - * - * The dispatch origin of this call must be `UpdateOrigin`. - **/ updateClaimRewardDeductionCurrency: AugmentedSubmittable<(poolId: ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | { NomineesElection: any } | string | Uint8Array, currencyId: Option | null | Uint8Array | AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string) => SubmittableExtrinsic, [ModuleSupportIncentivesPoolId, Option]>; - /** - * Update claim rewards deduction rates for all rewards currencies of specific PoolId - * - * The dispatch origin of this call must be `UpdateOrigin`. - * - * - `updates`: Vec<(PoolId, DecutionRate>)> - **/ updateClaimRewardDeductionRates: AugmentedSubmittable<(updates: Vec> | ([ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | { NomineesElection: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; - /** - * Update incentive reward amount for specific PoolId - * - * The dispatch origin of this call must be `UpdateOrigin`. - * - * - `updates`: Vec<(PoolId, Vec<(RewardCurrencyId, FixedAmountPerPeriod)>)> - **/ updateIncentiveRewards: AugmentedSubmittable<(updates: Vec>]>> | ([ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | { NomineesElection: any } | string | Uint8Array, Vec> | ([AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[]])[]) => SubmittableExtrinsic, [Vec>]>>]>; - /** - * Unstake LP token to remove shares of Pool::Dex - * - * The dispatch origin of this call must be `Signed` by the transactor. - * - * - `lp_currency_id`: LP token type - * - `amount`: amount to unstake - **/ withdrawDexShare: AugmentedSubmittable<(lpCurrencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, Compact]>; /** * Generic tx @@ -1886,23 +395,8 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; liquidCrowdloan: { - /** - * Redeem liquid crowdloan currency for relay chain currency. - **/ redeem: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Set the redeem currency id. - * - * This call requires `GovernanceOrigin`. - **/ setRedeemCurrencyId: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Send an XCM message to cross-chain transfer DOT from relay chain crowdloan vault to - * liquid crowdloan module account. - * - * This call requires `GovernanceOrigin`. - **/ - transferFromCrowdloanVault: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Generic tx **/ @@ -1915,25 +409,7 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { - /** - * Execute an overweight message. - * - * Temporary processing errors will be propagated whereas permanent errors are treated - * as success condition. - * - * - `origin`: Must be `Signed`. - * - `message_origin`: The origin from which the message to be executed arrived. - * - `page`: The page in the queue in which the message to be executed is sitting. - * - `index`: The index into the queue of the message to be executed. - * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution - * of the message. - * - * Benchmark complexity considerations: O(index + weight_limit). - **/ executeOverweight: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any } | { Parent: any } | { Sibling: any } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight]>; - /** - * Remove a page which has no more messages remaining to be processed or is stale. - **/ reapPage: AugmentedSubmittable<(messageOrigin: CumulusPrimitivesCoreAggregateMessageOrigin | { Here: any } | { Parent: any } | { Sibling: any } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32]>; /** * Generic tx @@ -1941,119 +417,9 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; multisig: { - /** - * Register approval for a dispatch to be made from a deterministic composite account if - * approved by a total of `threshold - 1` of `other_signatories`. - * - * Payment: `DepositBase` will be reserved if this is the first approval, plus - * `threshold` times `DepositFactor`. It is returned once this dispatch happens or - * is cancelled. - * - * The dispatch origin for this call must be _Signed_. - * - * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this - * dispatch. May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is - * not the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. - * - `call_hash`: The hash of the call to be executed. - * - * NOTE: If this is the final approval, you will want to use `as_multi` instead. - * - * ## Complexity - * - `O(S)`. - * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of - * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. - * - One encode & hash, both of complexity `O(S)`. - * - Up to one binary search and insert (`O(logS + S)`). - * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. - * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit - * taken for its lifetime of `DepositBase + threshold * DepositFactor`. - **/ approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [u16, Vec, Option, U8aFixed, SpWeightsWeightV2Weight]>; - /** - * Register approval for a dispatch to be made from a deterministic composite account if - * approved by a total of `threshold - 1` of `other_signatories`. - * - * If there are enough, then dispatch the call. - * - * Payment: `DepositBase` will be reserved if this is the first approval, plus - * `threshold` times `DepositFactor`. It is returned once this dispatch happens or - * is cancelled. - * - * The dispatch origin for this call must be _Signed_. - * - * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this - * dispatch. May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is - * not the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. - * - `call`: The call to be executed. - * - * NOTE: Unless this is the final approval, you will generally want to use - * `approve_as_multi` instead, since it only requires a hash of the call. - * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise - * on success, result is `Ok` and the result from the interior call, if it was executed, - * may be found in the deposited `MultisigExecuted` event. - * - * ## Complexity - * - `O(S + Z + Call)`. - * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of - * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. - * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. - * - One encode & hash, both of complexity `O(S)`. - * - Up to one binary search and insert (`O(logS + S)`). - * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. - * - One event. - * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit - * taken for its lifetime of `DepositBase + threshold * DepositFactor`. - **/ asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [u16, Vec, Option, Call, SpWeightsWeightV2Weight]>; - /** - * Immediately dispatch a multi-signature call using a single approval from the caller. - * - * The dispatch origin for this call must be _Signed_. - * - * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. - * - `call`: The call to be executed. - * - * Result is equivalent to the dispatched result. - * - * ## Complexity - * O(Z + C) where Z is the length of the call and C its execution weight. - **/ asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Vec, Call]>; - /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously - * for this operation will be unreserved on success. - * - * The dispatch origin for this call must be _Signed_. - * - * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this - * dispatch. May not be empty. - * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. - * - `call_hash`: The hash of the call to be executed. - * - * ## Complexity - * - `O(S)`. - * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of - * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. - * - One encode & hash, both of complexity `O(S)`. - * - One event. - * - I/O: 1 read `O(S)`, one remove. - * - Storage: removes one item. - **/ cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed]>; /** * Generic tx @@ -2061,57 +427,12 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; nft: { - /** - * Burn NFT token - * - * - `token`: (class_id, token_id) - **/ burn: AugmentedSubmittable<(token: ITuple<[u32, u64]> | [u32 | AnyNumber | Uint8Array, u64 | AnyNumber | Uint8Array]) => SubmittableExtrinsic, [ITuple<[u32, u64]>]>; - /** - * Burn NFT token - * - * - `token`: (class_id, token_id) - * - `remark`: Vec - **/ burnWithRemark: AugmentedSubmittable<(token: ITuple<[u32, u64]> | [u32 | AnyNumber | Uint8Array, u64 | AnyNumber | Uint8Array], remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [ITuple<[u32, u64]>, Bytes]>; - /** - * Create NFT class, tokens belong to the class. - * - * - `metadata`: external metadata - * - `properties`: class property, include `Transferable` `Burnable` - **/ createClass: AugmentedSubmittable<(metadata: Bytes | string | Uint8Array, properties: u8 | AnyNumber | Uint8Array, attributes: BTreeMap) => SubmittableExtrinsic, [Bytes, u8, BTreeMap]>; - /** - * Destroy NFT class, remove dest from proxy, and send all the free - * balance to dest - * - * - `class_id`: The class ID to destroy - * - `dest`: The proxy account that will receive free balance - **/ destroyClass: AugmentedSubmittable<(classId: u32 | AnyNumber | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [u32, MultiAddress]>; - /** - * Mint NFT token - * - * - `to`: the token owner's account - * - `class_id`: token belong to the class id - * - `metadata`: external metadata - * - `quantity`: token quantity - **/ mint: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, classId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array, attributes: BTreeMap, quantity: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, u32, Bytes, BTreeMap, Compact]>; - /** - * Transfer NFT token to another account - * - * - `to`: the token owner's account - * - `token`: (class_id, token_id) - **/ transfer: AugmentedSubmittable<(to: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, token: ITuple<[u32, u64]> | [u32 | AnyNumber | Uint8Array, u64 | AnyNumber | Uint8Array]) => SubmittableExtrinsic, [MultiAddress, ITuple<[u32, u64]>]>; - /** - * Update NFT class properties. The current class properties must contains - * ClassPropertiesMutable. - * - * - `class_id`: The class ID to update - * - `properties`: The new properties - **/ updateClassProperties: AugmentedSubmittable<(classId: u32 | AnyNumber | Uint8Array, properties: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u8]>; /** * Generic tx @@ -2132,52 +453,12 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; operatorMembershipAcala: { - /** - * Add a member `who` to the set. - * - * May only be called from `T::AddOrigin`. - **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out the sending member for some other key `new`. - * - * May only be called from `Signed` origin of a current member. - * - * Prime membership is passed from the origin account to `new`, if extant. - **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Remove the prime member if it exists. - * - * May only be called from `T::PrimeOrigin`. - **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Remove a member `who` from the set. - * - * May only be called from `T::RemoveOrigin`. - **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Change the membership to a new set, disregarding the existing membership. Be nice and - * pass `members` pre-sorted. - * - * May only be called from `T::ResetOrigin`. - **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Set the prime member. Must be a current member. - * - * May only be called from `T::PrimeOrigin`. - **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out one member `remove` for another `add`. - * - * May only be called from `T::SwapOrigin`. - * - * Prime membership is *not* passed from `remove` to `add`, if extant. - **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** * Generic tx @@ -2185,9 +466,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; ormlXcm: { - /** - * Send an XCM message as parachain sovereign. - **/ sendAsSovereign: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedXcm]>; /** * Generic tx @@ -2195,40 +473,8 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, - * it cannot actually perform the verification. - * - * This call requires Root origin. - **/ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array, checkVersion: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, bool]>; - /** - * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. - * - * If the authorization required a version check, this call will ensure the spec name - * remains unchanged and that the spec version has increased. - * - * Note that this function will not apply the new `code`, but only attempt to schedule the - * upgrade with the Relay Chain. - * - * All origins are allowed. - **/ enactAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; - /** - * Set the current validation data. - * - * This should be invoked exactly once per block. It will panic at the finalization - * phase if the call was not invoked. - * - * The dispatch origin for this call must be `Inherent` - * - * As a side effect, this function upgrades the current validation function - * if the appropriate time has come. - **/ setValidationData: AugmentedSubmittable<(data: CumulusPrimitivesParachainInherentParachainInherentData | { validationData?: any; relayChainState?: any; downwardMessages?: any; horizontalMessages?: any } | string | Uint8Array) => SubmittableExtrinsic, [CumulusPrimitivesParachainInherentParachainInherentData]>; sudoSendUpwardMessage: AugmentedSubmittable<(message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; /** @@ -2237,9 +483,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; parameters: { - /** - * Set parameter - **/ setParameter: AugmentedSubmittable<(keyValue: AcalaRuntimeRuntimeParameters | { Earning: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaRuntimeRuntimeParameters]>; /** * Generic tx @@ -2247,251 +490,30 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { - /** - * Claims assets trapped on this pallet because of leftover assets during XCM execution. - * - * - `origin`: Anyone can call this extrinsic. - * - `assets`: The exact assets that were trapped. Use the version to specify what version - * was the latest when they were trapped. - * - `beneficiary`: The location/account where the claimed assets will be deposited. - **/ claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssets, XcmVersionedLocation]>; - /** - * Execute an XCM message from a local, signed, origin. - * - * An event is deposited indicating whether `msg` could be executed completely or only - * partially. - * - * No more than `max_weight` will be used in its attempted execution. If this is less than - * the maximum amount of weight that the message could take to be executed, then no - * execution attempt will be made. - **/ execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedXcm, SpWeightsWeightV2Weight]>; - /** - * Set a safe XCM version (the version that XCM should be encoded with if the most recent - * version a destination can accept is unknown). - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. - **/ forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Option]>; - /** - * Ask a location to notify us regarding their XCM version and any changes to it. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The location to which we should subscribe for XCM version notifications. - **/ forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation]>; - /** - * Set or unset the global suspension state of the XCM executor. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `suspended`: `true` to suspend, `false` to resume. - **/ forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool]>; - /** - * Require that a particular destination should no longer notify us regarding any XCM - * version changes. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The location to which we are currently subscribed for XCM version - * notifications which we no longer desire. - **/ forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation]>; - /** - * Extoll that a particular destination can be communicated with through a particular - * version of XCM. - * - * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The destination that is being described. - * - `xcm_version`: The latest version of XCM that `location` supports. - **/ forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [StagingXcmV4Location, u32]>; - /** - * Transfer some assets from the local chain to the destination chain through their local, - * destination or remote reserve. - * - * `assets` must have same reserve location and may not be teleportable to `dest`. - * - `assets` have local reserve: transfer assets to sovereign account of destination - * chain and forward a notification XCM to `dest` to mint and deposit reserve-based - * assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to - * `dest` chain to withdraw the reserve assets from this chain's sovereign account and - * deposit them to `beneficiary`. - * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` - * to mint and deposit reserve-based assets to `beneficiary`. - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight - * is needed than `weight_limit`, then the operation will fail and the assets send may be - * at risk. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, - * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from - * relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the - * fee on the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - **/ limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; - /** - * Teleport some assets from the local chain to some destination chain. - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight - * is needed than `weight_limit`, then the operation will fail and the assets send may be - * at risk. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, - * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from - * relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the - * fee on the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - **/ limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; - /** - * Transfer some assets from the local chain to the destination chain through their local, - * destination or remote reserve. - * - * `assets` must have same reserve location and may not be teleportable to `dest`. - * - `assets` have local reserve: transfer assets to sovereign account of destination - * chain and forward a notification XCM to `dest` to mint and deposit reserve-based - * assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to - * `dest` chain to withdraw the reserve assets from this chain's sovereign account and - * deposit them to `beneficiary`. - * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` - * to mint and deposit reserve-based assets to `beneficiary`. - * - * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, - * with all fees taken as needed from the asset. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, - * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from - * relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the - * fee on the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - **/ reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>; send: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedXcm]>; - /** - * Teleport some assets from the local chain to some destination chain. - * - * **This function is deprecated: Use `limited_teleport_assets` instead.** - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, - * with all fees taken as needed from the asset. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, - * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from - * relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the - * fee on the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - **/ teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>; - /** - * Transfer some assets from the local chain to the destination chain through their local, - * destination or remote reserve, or through teleports. - * - * Fee payment on the destination side is made from the asset in the `assets` vector of - * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for - * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the - * operation will fail and the assets sent may be at risk. - * - * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable - * to `dest`, no limitations imposed on `fees`. - * - for local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to - * `beneficiary`. - * - for destination reserve: burn local assets and forward a notification to `dest` chain - * to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. - * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves - * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint - * and deposit reserve-based assets to `beneficiary`. - * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport - * assets and deposit them to `beneficiary`. - * - * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, - * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send - * from relay to parachain. - * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the - * fee on the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay - * fees. - * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - **/ transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, beneficiary: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>; + transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | { Teleport: any } | { LocalReserve: any } | { DestinationReserve: any } | { RemoteReserve: any } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, weightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>; /** * Generic tx **/ [key: string]: SubmittableExtrinsicFunction; }; preimage: { - /** - * Ensure that the a bulk of pre-images is upgraded. - * - * The caller pays no fee if at least 90% of pre-images were successfully updated. - **/ ensureUpdated: AugmentedSubmittable<(hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Register a preimage on-chain. - * - * If the preimage was previously requested, no fees or deposits are taken for providing - * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. - **/ notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; - /** - * Request a preimage be uploaded to the chain without paying any fees or deposits. - * - * If the preimage requests has already been provided on-chain, we unreserve any deposit - * a user may have paid, and take the control of the preimage out of their hands. - **/ requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Clear an unrequested preimage from the runtime storage. - * - * If `len` is provided, then it will be a much cheaper operation. - * - * - `hash`: The hash of the preimage to be removed from the store. - * - `len`: The length of the preimage of `hash`. - **/ unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Clear a previously made request for a preimage. - * - * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. - **/ unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; /** * Generic tx @@ -2499,21 +521,7 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; prices: { - /** - * Lock the price and feed it to system. - * - * The dispatch origin of this call must be `LockOrigin`. - * - * - `currency_id`: currency type. - **/ lockPrice: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Unlock the price and get the price from `PriceProvider` again - * - * The dispatch origin of this call must be `LockOrigin`. - * - * - `currency_id`: currency type. - **/ unlockPrice: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId]>; /** * Generic tx @@ -2521,146 +529,15 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; proxy: { - /** - * Register a proxy account for the sender that is able to make calls on its behalf. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `proxy`: The account that the `caller` would like to make a proxy. - * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be - * zero. - **/ addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: RuntimeCommonProxyType | 'Any' | 'CancelProxy' | 'Governance' | 'Auction' | 'Swap' | 'Loan' | 'DexLiquidity' | 'StableAssetSwap' | 'StableAssetLiquidity' | 'Homa' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, RuntimeCommonProxyType, u32]>; - /** - * Publish the hash of a proxy-call that will be made in the future. - * - * This must be called some number of blocks before the corresponding `proxy` is attempted - * if the delay associated with the proxy relationship is greater than zero. - * - * No more than `MaxPending` announcements may be made at any one time. - * - * This will take a deposit of `AnnouncementDepositFactor` as well as - * `AnnouncementDepositBase` if there are no other pending announcements. - * - * The dispatch origin for this call must be _Signed_ and a proxy of `real`. - * - * Parameters: - * - `real`: The account that the proxy will make a call on behalf of. - * - `call_hash`: The hash of the call to be made by the `real` account. - **/ announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, H256]>; - /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and - * initialize it with a proxy of `proxy_type` for `origin` sender. - * - * Requires a `Signed` origin. - * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the - * new account. This will almost always be the most permissive `ProxyType` possible to - * allow for maximum flexibility. - * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be - * zero. - * - * Fails with `Duplicate` if this has already been called in this transaction, from the - * same sender, with the same parameters. - * - * Fails if there are insufficient funds to pay for deposit. - **/ createPure: AugmentedSubmittable<(proxyType: RuntimeCommonProxyType | 'Any' | 'CancelProxy' | 'Governance' | 'Auction' | 'Swap' | 'Loan' | 'DexLiquidity' | 'StableAssetSwap' | 'StableAssetLiquidity' | 'Homa' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [RuntimeCommonProxyType, u32, u16]>; - /** - * Removes a previously spawned pure proxy. - * - * WARNING: **All access to this account will be lost.** Any funds held in it will be - * inaccessible. - * - * Requires a `Signed` origin, and the sender account must have been created by a call to - * `pure` with corresponding parameters. - * - * - `spawner`: The account that originally called `pure` to create this account. - * - `index`: The disambiguation index originally passed to `pure`. Probably `0`. - * - `proxy_type`: The proxy type originally passed to `pure`. - * - `height`: The height of the chain when the call to `pure` was processed. - * - `ext_index`: The extrinsic index in which the call to `pure` was processed. - * - * Fails with `NoPermission` in case the caller is not a previously created pure - * account whose `pure` call has corresponding parameters. - **/ killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: RuntimeCommonProxyType | 'Any' | 'CancelProxy' | 'Governance' | 'Auction' | 'Swap' | 'Loan' | 'DexLiquidity' | 'StableAssetSwap' | 'StableAssetLiquidity' | 'Homa' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact | AnyNumber | Uint8Array, extIndex: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, RuntimeCommonProxyType, u16, Compact, Compact]>; - /** - * Dispatch the given `call` from an account that the sender is authorised for through - * `add_proxy`. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `real`: The account that the proxy will make a call on behalf of. - * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. - * - `call`: The call to be made by the `real` account. - **/ proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option | null | Uint8Array | RuntimeCommonProxyType | 'Any' | 'CancelProxy' | 'Governance' | 'Auction' | 'Swap' | 'Loan' | 'DexLiquidity' | 'StableAssetSwap' | 'StableAssetLiquidity' | 'Homa' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Option, Call]>; - /** - * Dispatch the given `call` from an account that the sender is authorized for through - * `add_proxy`. - * - * Removes any corresponding announcement(s). - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `real`: The account that the proxy will make a call on behalf of. - * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. - * - `call`: The call to be made by the `real` account. - **/ proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option | null | Uint8Array | RuntimeCommonProxyType | 'Any' | 'CancelProxy' | 'Governance' | 'Auction' | 'Swap' | 'Loan' | 'DexLiquidity' | 'StableAssetSwap' | 'StableAssetLiquidity' | 'Homa' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress, Option, Call]>; - /** - * Remove the given announcement of a delegate. - * - * May be called by a target (proxied) account to remove a call that one of their delegates - * (`delegate`) has announced they want to execute. The deposit is returned. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `delegate`: The account that previously announced the call. - * - `call_hash`: The hash of the call to be made. - **/ rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, H256]>; - /** - * Remove a given announcement. - * - * May be called by a proxy account to remove a call they previously announced and return - * the deposit. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `real`: The account that the proxy will make a call on behalf of. - * - `call_hash`: The hash of the call to be made by the `real` account. - **/ removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, H256]>; - /** - * Unregister all proxy accounts for the sender. - * - * The dispatch origin for this call must be _Signed_. - * - * WARNING: This may be called on accounts created by `pure`, however if done, then - * the unreserved fees will be inaccessible. **All access to this account will be lost.** - **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Unregister a proxy account for the sender. - * - * The dispatch origin for this call must be _Signed_. - * - * Parameters: - * - `proxy`: The account that the `caller` would like to remove as a proxy. - * - `proxy_type`: The permissions currently enabled for the removed proxy account. - **/ removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: RuntimeCommonProxyType | 'Any' | 'CancelProxy' | 'Governance' | 'Auction' | 'Swap' | 'Loan' | 'DexLiquidity' | 'StableAssetSwap' | 'StableAssetLiquidity' | 'Homa' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [MultiAddress, RuntimeCommonProxyType, u32]>; /** * Generic tx @@ -2668,67 +545,15 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** - * Cancel an anonymously scheduled task. - **/ cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32, u32]>; - /** - * Cancel a named scheduled task. - **/ cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed]>; - /** - * Removes the retry configuration of a task. - **/ cancelRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => SubmittableExtrinsic, [ITuple<[u32, u32]>]>; - /** - * Cancel the retry configuration of a named task. - **/ cancelRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed]>; - /** - * Anonymously schedule a task. - **/ schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u32, Option>, u8, Call]>; - /** - * Anonymously schedule a task after a delay. - **/ scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u32, Option>, u8, Call]>; - /** - * Schedule a named task. - **/ scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call]>; - /** - * Schedule a named task after a delay. - **/ scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call]>; - /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will - * be retried after `period` blocks, for a total amount of `retries` retries or until it - * succeeds. - * - * Tasks which need to be scheduled for a retry are still subject to weight metering and - * agenda space, same as a regular task. If a periodic task fails, it will be scheduled - * normally while the task is retrying. - * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic - * clones of the original task. Their retry configuration will be derived from the - * original task's configuration, but will have a lower value for `remaining` than the - * original `total_retries`. - **/ setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [ITuple<[u32, u32]>, u8, u32]>; - /** - * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until - * it succeeds. - * - * Tasks which need to be scheduled for a retry are still subject to weight metering and - * agenda space, same as a regular task. If a periodic task fails, it will be scheduled - * normally while the task is retrying. - * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic - * clones of the original task. Their retry configuration will be derived from the - * original task's configuration, but will have a lower value for `remaining` than the - * original `total_retries`. - **/ setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [U8aFixed, u8, u32]>; /** * Generic tx @@ -2736,32 +561,7 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; session: { - /** - * Removes any session key(s) of the function caller. - * - * This doesn't take effect until the next session. - * - * The dispatch origin of this function must be Signed and the account must be either be - * convertible to a validator ID using the chain's typical addressing system (this usually - * means being a controller account) or directly convertible into a validator ID (which - * usually means being a stash account). - * - * ## Complexity - * - `O(1)` in number of key types. Actual cost depends on the number of length of - * `T::Keys::key_ids()` which is fixed. - **/ purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Sets the session key(s) of the function caller to `keys`. - * Allows an account to set its session key prior to becoming a validator. - * This doesn't take effect until the next session. - * - * The dispatch origin of this function must be signed. - * - * ## Complexity - * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is - * fixed. - **/ setKeys: AugmentedSubmittable<(keys: AcalaRuntimeSessionKeys | { aura?: any } | string | Uint8Array, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic, [AcalaRuntimeSessionKeys, Bytes]>; /** * Generic tx @@ -2769,12 +569,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; sessionManager: { - /** - * Schedule a new session duration in the specified session index. - * - * - `start_session`: the session index that the new change become effective. - * - `duration`: new session duration. - **/ scheduleSessionDuration: AugmentedSubmittable<(startSession: Compact | AnyNumber | Uint8Array, duration: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Compact]>; /** * Generic tx @@ -2797,35 +591,10 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; sudo: { - /** - * Permanently removes the sudo key. - * - * **This cannot be un-done.** - **/ removeKey: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo - * key. - **/ setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. - **/ sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call]>; - /** - * Authenticates the sudo key and dispatches a function call with `Signed` origin from - * a given account. - * - * The dispatch origin for this call must be _Signed_. - **/ sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, Call]>; - /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. - * This function does not check the weight of the call, and instead allows the - * Sudo user to specify the weight of the call. - * - * The dispatch origin for this call must be _Signed_. - **/ sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; /** * Generic tx @@ -2833,75 +602,16 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; system: { - /** - * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. - * - * If the authorization required a version check, this call will ensure the spec name - * remains unchanged and that the spec version has increased. - * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply - * the new `code` in the same block or attempt to schedule the upgrade. - * - * All origins are allowed. - **/ applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * This call requires Root origin. - **/ authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied - * later. - * - * WARNING: This authorizes an upgrade that will take place without any safety checks, for - * example that the spec name remains the same and that the version number increases. Not - * recommended for normal use. Use `authorize_upgrade` instead. - * - * This call requires Root origin. - **/ authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Kill all storage items with a key that starts with the given prefix. - * - * **NOTE:** We rely on the Root origin to provide us the number of subkeys under - * the prefix we are removing to accurately calculate the weight of this function. - **/ killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Bytes, u32]>; - /** - * Kill some items from storage. - **/ killStorage: AugmentedSubmittable<(keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Make some on-chain remark. - * - * Can be executed by every `origin`. - **/ remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; - /** - * Make some on-chain remark and emit event. - **/ remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; - /** - * Set the new runtime code. - **/ setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; - /** - * Set the new runtime code without doing any checks of the given `code`. - * - * Note that runtime upgrades will not run if this is called with a not-increasing spec - * version! - **/ setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes]>; - /** - * Set the number of pages in the WebAssembly environment's heap. - **/ setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64]>; - /** - * Set some items of storage. - **/ setStorage: AugmentedSubmittable<(items: Vec> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; /** * Generic tx @@ -2909,113 +619,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; technicalCommittee: { - /** - * Close a vote that is either approved, disapproved or whose voting period has ended. - * - * May be called by any signed account in order to finish voting and close the proposal. - * - * If called before the end of the voting period it will only close the vote if it is - * has enough votes to be approved or disapproved. - * - * If called after the end of the voting period abstentions are counted as rejections - * unless there is a prime member set and the prime member cast an approval. - * - * If the close operation completes successfully with disapproval, the transaction fee will - * be waived. Otherwise execution of the approved operation will be charged to the caller. - * - * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed - * proposal. - * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. - * - * ## Complexity - * - `O(B + M + P1 + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - `P1` is the complexity of `proposal` preimage. - * - `P2` is proposal-count (code-bounded) - **/ close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact, SpWeightsWeightV2Weight, Compact]>; - /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current - * state. - * - * Must be called by the Root origin. - * - * Parameters: - * * `proposal_hash`: The hash of the proposal that should be disapproved. - * - * ## Complexity - * O(P) where P is the number of max proposals - **/ disapproveProposal: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Dispatch a proposal from a member using the `Member` origin. - * - * Origin must be a member of the collective. - * - * ## Complexity: - * - `O(B + M + P)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` members-count (code-bounded) - * - `P` complexity of dispatching `proposal` - **/ execute: AugmentedSubmittable<(proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Call, Compact]>; - /** - * Add a new proposal to either be voted on or executed directly. - * - * Requires the sender to be member. - * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) - * or put up for voting. - * - * ## Complexity - * - `O(B + M + P1)` or `O(B + M + P2)` where: - * - `B` is `proposal` size in bytes (length-fee-bounded) - * - `M` is members-count (code- and governance-bounded) - * - branching is influenced by `threshold` where: - * - `P1` is proposal execution complexity (`threshold < 2`) - * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - **/ propose: AugmentedSubmittable<(threshold: Compact | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact, Call, Compact]>; - /** - * Set the collective's membership. - * - * - `new_members`: The new member list. Be nice to the chain and provide it sorted. - * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for - * weight estimation. - * - * The dispatch of this call must be `SetMembersOrigin`. - * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but - * the weight estimations rely on it to estimate dispatchable weight. - * - * # WARNING: - * - * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. - * Any call to `set_members` must be careful that the member set doesn't get out of sync - * with other logic managing the member set. - * - * ## Complexity: - * - `O(MP + N)` where: - * - `M` old-members-count (code- and governance-bounded) - * - `N` new-members-count (code- and governance-bounded) - * - `P` proposals-count (code-bounded) - **/ setMembers: AugmentedSubmittable<(newMembers: Vec | (AccountId32 | string | Uint8Array)[], prime: Option | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Vec, Option, u32]>; - /** - * Add an aye or nay vote for the sender to the given proposal. - * - * Requires the sender to be a member. - * - * Transaction fees will be waived if the member is voting on any particular proposal - * for the first time and the call is successful. Subsequent vote changes will charge a - * fee. - * ## Complexity - * - `O(M)` where `M` is members-count (code- and governance-bounded) - **/ vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic, [H256, Compact, bool]>; /** * Generic tx @@ -3023,52 +631,12 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; technicalCommitteeMembership: { - /** - * Add a member `who` to the set. - * - * May only be called from `T::AddOrigin`. - **/ addMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out the sending member for some other key `new`. - * - * May only be called from `Signed` origin of a current member. - * - * Prime membership is passed from the origin account to `new`, if extant. - **/ changeKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Remove the prime member if it exists. - * - * May only be called from `T::PrimeOrigin`. - **/ clearPrime: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Remove a member `who` from the set. - * - * May only be called from `T::RemoveOrigin`. - **/ removeMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Change the membership to a new set, disregarding the existing membership. Be nice and - * pass `members` pre-sorted. - * - * May only be called from `T::ResetOrigin`. - **/ resetMembers: AugmentedSubmittable<(members: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Set the prime member. Must be a current member. - * - * May only be called from `T::PrimeOrigin`. - **/ setPrime: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress]>; - /** - * Swap out one member `remove` for another `add`. - * - * May only be called from `T::SwapOrigin`. - * - * Prime membership is *not* passed from `remove` to `add`, if extant. - **/ swapMember: AugmentedSubmittable<(remove: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, add: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [MultiAddress, MultiAddress]>; /** * Generic tx @@ -3076,27 +644,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; timestamp: { - /** - * Set the current time. - * - * This call should be invoked exactly once per block. It will panic at the finalization - * phase, if this call hasn't been invoked by that time. - * - * The timestamp should be greater than the previous one by the amount specified by - * [`Config::MinimumPeriod`]. - * - * The dispatch origin for this call must be _None_. - * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware - * that changing the complexity of this call could result exhausting the resources in a - * block to execute any other calls. - * - * ## Complexity - * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) - * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in - * `on_finalize`) - * - 1 event handler `on_timestamp_set`. Must be `O(1)`. - **/ set: AugmentedSubmittable<(now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; /** * Generic tx @@ -3104,118 +651,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; tips: { - /** - * Close and payout a tip. - * - * The dispatch origin for this call must be _Signed_. - * - * The tip identified by `hash` must have finished its countdown period. - * - * - `hash`: The identity of the open tip for which a tip value is declared. This is formed - * as the hash of the tuple of the original tip `reason` and the beneficiary account ID. - * - * ## Complexity - * - : `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`. `T` - * is charged as upper bound given by `ContainsLengthBound`. The actual cost depends on - * the implementation of `T::Tippers`. - **/ closeTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Report something `reason` that deserves a tip and claim any eventual the finder's fee. - * - * The dispatch origin for this call must be _Signed_. - * - * Payment: `TipReportDepositBase` will be reserved from the origin account, as well as - * `DataDepositPerByte` for each byte in `reason`. - * - * - `reason`: The reason for, or the thing that deserves, the tip; generally this will be - * a UTF-8-encoded URL. - * - `who`: The account which should be credited for the tip. - * - * Emits `NewTip` if successful. - * - * ## Complexity - * - `O(R)` where `R` length of `reason`. - * - encoding and hashing of 'reason' - **/ reportAwesome: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Bytes, MultiAddress]>; - /** - * Retract a prior tip-report from `report_awesome`, and cancel the process of tipping. - * - * If successful, the original deposit will be unreserved. - * - * The dispatch origin for this call must be _Signed_ and the tip identified by `hash` - * must have been reported by the signing account through `report_awesome` (and not - * through `tip_new`). - * - * - `hash`: The identity of the open tip for which a tip value is declared. This is formed - * as the hash of the tuple of the original tip `reason` and the beneficiary account ID. - * - * Emits `TipRetracted` if successful. - * - * ## Complexity - * - `O(1)` - * - Depends on the length of `T::Hash` which is fixed. - **/ retractTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Remove and slash an already-open tip. - * - * May only be called from `T::RejectOrigin`. - * - * As a result, the finder is slashed and the deposits are lost. - * - * Emits `TipSlashed` if successful. - * - * ## Complexity - * - O(1). - **/ slashTip: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256]>; - /** - * Declare a tip value for an already-open tip. - * - * The dispatch origin for this call must be _Signed_ and the signing account must be a - * member of the `Tippers` set. - * - * - `hash`: The identity of the open tip for which a tip value is declared. This is formed - * as the hash of the tuple of the hash of the original tip `reason` and the beneficiary - * account ID. - * - `tip_value`: The amount of tip that the sender would like to give. The median tip - * value of active tippers will be given to the `who`. - * - * Emits `TipClosing` if the threshold of tippers has been reached and the countdown period - * has started. - * - * ## Complexity - * - `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`, insert - * tip and check closing, `T` is charged as upper bound given by `ContainsLengthBound`. - * The actual cost depends on the implementation of `T::Tippers`. - * - * Actually weight could be lower as it depends on how many tips are in `OpenTip` but it - * is weighted as if almost full i.e of length `T-1`. - **/ tip: AugmentedSubmittable<(hash: H256 | string | Uint8Array, tipValue: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [H256, Compact]>; - /** - * Give a tip for something new; no finder's fee will be taken. - * - * The dispatch origin for this call must be _Signed_ and the signing account must be a - * member of the `Tippers` set. - * - * - `reason`: The reason for, or the thing that deserves, the tip; generally this will be - * a UTF-8-encoded URL. - * - `who`: The account which should be credited for the tip. - * - `tip_value`: The amount of tip that the sender would like to give. The median tip - * value of active tippers will be given to the `who`. - * - * Emits `NewTip` if successful. - * - * ## Complexity - * - `O(R + T)` where `R` length of `reason`, `T` is the number of tippers. - * - `O(T)`: decoding `Tipper` vec of length `T`. `T` is charged as upper bound given by - * `ContainsLengthBound`. The actual cost depends on the implementation of - * `T::Tippers`. - * - `O(R)`: hashing and encoding of reason of length `R` - **/ tipNew: AugmentedSubmittable<(reason: Bytes | string | Uint8Array, who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, tipValue: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Bytes, MultiAddress, Compact]>; /** * Generic tx @@ -3233,32 +673,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; transactionPayment: { - /** - * Disable charge fee pool. - **/ disableChargeFeePool: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId]>; - /** - * Enable and initialize charge fee pool. - **/ enableChargeFeePool: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, poolSize: u128 | AnyNumber | Uint8Array, swapThreshold: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, u128, u128]>; - /** - * Set fee swap path - **/ setAlternativeFeeSwapPath: AugmentedSubmittable<(feeSwapPath: Option> | null | Uint8Array | Vec | (AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array)[]) => SubmittableExtrinsic, [Option>]>; - /** - * Dapp wrap call, and user pay tx fee as provided aggregated swap path. this dispatch call - * should make sure the trading path is valid. - **/ withFeeAggregatedPath: AugmentedSubmittable<(feeAggregatedPath: Vec | (ModuleSupportDexAggregatedSwapPath | { Dex: any } | { Taiga: any } | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Vec, Call]>; - /** - * Dapp wrap call, and user pay tx fee as provided currency, this dispatch call should make - * sure the currency is exist in tx fee pool. - **/ withFeeCurrency: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, Call]>; - /** - * Dapp wrap call, and user pay tx fee as provided dex swap path. this dispatch call should - * make sure the trading path is valid. - **/ withFeePath: AugmentedSubmittable<(feeSwapPath: Vec | (AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Vec, Call]>; /** * Generic tx @@ -3266,198 +685,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; treasury: { - /** - * Approve a proposal. - * - * ## Dispatch Origin - * - * Must be [`Config::ApproveOrigin`]. - * - * ## Details - * - * At a later time, the proposal will be allocated to the beneficiary and the original - * deposit will be returned. - * - * ### Complexity - * - O(1). - * - * ## Events - * - * No events are emitted from this dispatch. - **/ - approveProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Check the status of the spend and remove it from the storage if processed. - * - * ## Dispatch Origin - * - * Must be signed. - * - * ## Details - * - * The status check is a prerequisite for retrying a failed payout. - * If a spend has either succeeded or expired, it is removed from the storage by this - * function. In such instances, transaction fees are refunded. - * - * ### Parameters - * - `index`: The spend index. - * - * ## Events - * - * Emits [`Event::PaymentFailed`] if the spend payout has failed. - * Emits [`Event::SpendProcessed`] if the spend payout has succeed. - **/ checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Claim a spend. - * - * ## Dispatch Origin - * - * Must be signed. - * - * ## Details - * - * Spends must be claimed within some temporal bounds. A spend may be claimed within one - * [`Config::PayoutPeriod`] from the `valid_from` block. - * In case of a payout failure, the spend status must be updated with the `check_status` - * dispatchable before retrying with the current function. - * - * ### Parameters - * - `index`: The spend index. - * - * ## Events - * - * Emits [`Event::Paid`] if successful. - **/ payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Put forward a suggestion for spending. - * - * ## Dispatch Origin - * - * Must be signed. - * - * ## Details - * A deposit proportional to the value is reserved and slashed if the proposal is rejected. - * It is returned once the proposal is awarded. - * - * ### Complexity - * - O(1) - * - * ## Events - * - * Emits [`Event::Proposed`] if successful. - **/ - proposeSpend: AugmentedSubmittable<(value: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; - /** - * Reject a proposed spend. - * - * ## Dispatch Origin - * - * Must be [`Config::RejectOrigin`]. - * - * ## Details - * The original deposit will be slashed. - * - * ### Complexity - * - O(1) - * - * ## Events - * - * Emits [`Event::Rejected`] if successful. - **/ - rejectProposal: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Force a previously approved proposal to be removed from the approval queue. - * - * ## Dispatch Origin - * - * Must be [`Config::RejectOrigin`]. - * - * ## Details - * - * The original deposit will no longer be returned. - * - * ### Parameters - * - `proposal_id`: The index of a proposal - * - * ### Complexity - * - O(A) where `A` is the number of approvals - * - * ### Errors - * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the - * approval queue, i.e., the proposal has not been approved. This could also mean the - * proposal does not exist altogether, thus there is no way it would have been approved - * in the first place. - **/ removeApproval: AugmentedSubmittable<(proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; - /** - * Propose and approve a spend of treasury funds. - * - * ## Dispatch Origin - * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least - * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted - * for assertion using the [`Config::BalanceConverter`]. - * - * ## Details - * - * Create an approved spend for transferring a specific `amount` of `asset_kind` to a - * designated beneficiary. The spend must be claimed using the `payout` dispatchable within - * the [`Config::PayoutPeriod`]. - * - * ### Parameters - * - `asset_kind`: An indicator of the specific asset class to be spent. - * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. - * - `beneficiary`: The beneficiary of the spend. - * - `valid_from`: The block number from which the spend can be claimed. It can refer to - * the past if the resulting spend has not yet expired according to the - * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after - * approval. - * - * ## Events - * - * Emits [`Event::AssetSpendApproved`] if successful. - **/ spend: AugmentedSubmittable<(assetKind: Null | null, amount: Compact | AnyNumber | Uint8Array, beneficiary: AccountId32 | string | Uint8Array, validFrom: Option | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic, [Null, Compact, AccountId32, Option]>; - /** - * Propose and approve a spend of treasury funds. - * - * ## Dispatch Origin - * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. - * - * ### Details - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the - * beneficiary. - * - * ### Parameters - * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. - * - `beneficiary`: The destination account for the transfer. - * - * ## Events - * - * Emits [`Event::SpendApproved`] if successful. - **/ spendLocal: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array, beneficiary: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic, [Compact, MultiAddress]>; - /** - * Void previously approved spend. - * - * ## Dispatch Origin - * - * Must be [`Config::RejectOrigin`]. - * - * ## Details - * - * A spend void is only possible if the payout has not been attempted yet. - * - * ### Parameters - * - `index`: The spend index. - * - * ## Events - * - * Emits [`Event::AssetSpendVoided`] if successful. - **/ voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx @@ -3465,92 +697,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; utility: { - /** - * Send a call through an indexed pseudonym of the sender. - * - * Filter from origin are passed along. The call will be dispatched with an origin which - * use the same filter as the origin of this call. - * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. - * because you expect `proxy` to have been used prior in the call stack and you do not want - * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` - * in the Multisig pallet instead. - * - * NOTE: Prior to version *12, this was called `as_limited_sub`. - * - * The dispatch origin for this call must be _Signed_. - **/ asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [u16, Call]>; - /** - * Send a batch of dispatch calls. - * - * May be called from any origin except `None`. - * - * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). - * - * If origin is root then the calls are dispatched without checking origin filter. (This - * includes bypassing `frame_system::Config::BaseCallFilter`). - * - * ## Complexity - * - O(C) where C is the number of calls to be batched. - * - * This will return `Ok` in all circumstances. To determine the success of the batch, an - * event is deposited. If a call failed and the batch was interrupted, then the - * `BatchInterrupted` event is deposited, along with the number of successful calls made - * and the error of the failed call. If all were successful, then the `BatchCompleted` - * event is deposited. - **/ batch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Send a batch of dispatch calls and atomically execute them. - * The whole transaction will rollback and fail if any of the calls failed. - * - * May be called from any origin except `None`. - * - * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). - * - * If origin is root then the calls are dispatched without checking origin filter. (This - * includes bypassing `frame_system::Config::BaseCallFilter`). - * - * ## Complexity - * - O(C) where C is the number of calls to be batched. - **/ batchAll: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Dispatches a function call with a provided origin. - * - * The dispatch origin for this call must be _Root_. - * - * ## Complexity - * - O(1). - **/ dispatchAs: AugmentedSubmittable<(asOrigin: AcalaRuntimeOriginCaller | { system: any } | { Void: any } | { PolkadotXcm: any } | { CumulusXcm: any } | { Authority: any } | { GeneralCouncil: any } | { FinancialCouncil: any } | { HomaCouncil: any } | { TechnicalCommittee: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [AcalaRuntimeOriginCaller, Call]>; - /** - * Send a batch of dispatch calls. - * Unlike `batch`, it allows errors and won't interrupt. - * - * May be called from any origin except `None`. - * - * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). - * - * If origin is root then the calls are dispatch without checking origin filter. (This - * includes bypassing `frame_system::Config::BaseCallFilter`). - * - * ## Complexity - * - O(C) where C is the number of calls to be batched. - **/ forceBatch: AugmentedSubmittable<(calls: Vec | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; - /** - * Dispatch a function call with a specified weight. - * - * This function does not check the weight of the call, and instead allows the - * Root origin to specify the weight of the call. - * - * The dispatch origin for this call must be _Root_. - **/ withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight]>; /** * Generic tx @@ -3568,12 +719,6 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; xcmInterface: { - /** - * Sets the xcm_dest_weight and fee for XCM operation of XcmInterface. - * - * Parameters: - * - `updates`: vec of tuple: (XcmInterfaceOperation, WeightChange, FeeChange). - **/ updateXcmDestWeightAndFee: AugmentedSubmittable<(updates: Vec, Option]>> | ([ModuleXcmInterfaceModuleXcmInterfaceOperation | { XtokensTransfer: any } | { HomaWithdrawUnbonded: any } | { HomaBondExtra: any } | { HomaUnbond: any } | { ParachainFee: any } | { ProxyReserveTransferAssets: any } | { HomaNominate: any } | string | Uint8Array, Option | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string, Option | null | Uint8Array | u128 | AnyNumber])[]) => SubmittableExtrinsic, [Vec, Option]>>]>; /** * Generic tx @@ -3581,43 +726,10 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; xcmpQueue: { - /** - * Resumes all XCM executions for the XCMP queue. - * - * Note that this function doesn't change the status of the in/out bound channels. - * - * - `origin`: Must pass `ControllerOrigin`. - **/ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. - * - * - `origin`: Must pass `ControllerOrigin`. - **/ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** - * Overwrites the number of pages which must be in the queue after which we drop any - * further messages from the channel. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.drop_threshold` - **/ updateDropThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Overwrites the number of pages which the queue must be reduced to before it signals - * that message sending may recommence after it has been suspended. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.resume_threshold` - **/ updateResumeThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; - /** - * Overwrites the number of pages which must be in the queue for the other side to be - * told to suspend their sending. - * - * - `origin`: Must pass `Root`. - * - `new`: Desired value for `QueueConfigData.suspend_value` - **/ updateSuspendThreshold: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32]>; /** * Generic tx @@ -3625,119 +737,11 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; xTokens: { - /** - * Transfer native currencies. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ transfer: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, u128, XcmVersionedLocation, XcmV3WeightLimit]>; - /** - * Transfer `Asset`. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ transferMultiasset: AugmentedSubmittable<(asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit]>; - /** - * Transfer several `Asset` specifying the item to be used as fee - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee_item` is index of the Assets that we want to use for - * payment - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ transferMultiassets: AugmentedSubmittable<(assets: XcmVersionedAssets | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAssets, u32, XcmVersionedLocation, XcmV3WeightLimit]>; - /** - * Transfer `Asset` specifying the fee and amount as separate. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee` is the Asset to be spent to pay for execution in - * destination chain. Both fee and amount will be subtracted form the - * callers balance For now we only accept fee and asset having the same - * `Location` id. - * - * If `fee` is not high enough to cover for the execution costs in the - * destination chain, then the assets will be trapped in the - * destination chain - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ transferMultiassetWithFee: AugmentedSubmittable<(asset: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, fee: XcmVersionedAsset | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [XcmVersionedAsset, XcmVersionedAsset, XcmVersionedLocation, XcmV3WeightLimit]>; - /** - * Transfer several currencies specifying the item to be used as fee - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee_item` is index of the currencies tuple that we want to use for - * payment - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ transferMulticurrencies: AugmentedSubmittable<(currencies: Vec> | ([AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[], feeItem: u32 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [Vec>, u32, XcmVersionedLocation, XcmV3WeightLimit]>; - /** - * Transfer native currencies specifying the fee and amount as - * separate. - * - * `dest_weight_limit` is the weight for XCM execution on the dest - * chain, and it would be charged from the transferred assets. If set - * below requirements, the execution may fail and assets wouldn't be - * received. - * - * `fee` is the amount to be spent to pay for execution in destination - * chain. Both fee and amount will be subtracted form the callers - * balance. - * - * If `fee` is not high enough to cover for the execution costs in the - * destination chain, then the assets will be trapped in the - * destination chain - * - * It's a no-op if any error on local XCM execution or message sending. - * Note sending assets out per se doesn't guarantee they would be - * received. Receiving depends on if the XCM message could be delivered - * by the network, and if the receiving chain would handle - * messages correctly. - **/ transferWithFee: AugmentedSubmittable<(currencyId: AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, fee: u128 | AnyNumber | Uint8Array, dest: XcmVersionedLocation | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, destWeightLimit: XcmV3WeightLimit | { Unlimited: any } | { Limited: any } | string | Uint8Array) => SubmittableExtrinsic, [AcalaPrimitivesCurrencyCurrencyId, u128, u128, XcmVersionedLocation, XcmV3WeightLimit]>; /** * Generic tx diff --git a/packages/types/src/interfaces/augment-types.ts b/packages/types/src/interfaces/augment-types.ts index f24c47b..180e3d9 100644 --- a/packages/types/src/interfaces/augment-types.ts +++ b/packages/types/src/interfaces/augment-types.ts @@ -48,10 +48,11 @@ import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot import type { CollationInfo, CollationInfoV1, ConfigData, MessageId, OverweightIndex, PageCounter, PageIndexData } from '@polkadot/types/interfaces/cumulus'; import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from '@polkadot/types/interfaces/democracy'; import type { BlockStats } from '@polkadot/types/interfaces/dev'; +import type { CallDryRunEffects, DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, XcmDryRunEffects } from '@polkadot/types/interfaces/dryRunApi'; import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from '@polkadot/types/interfaces/elections'; import type { CreatedBlock, ImportedAux } from '@polkadot/types/interfaces/engine'; import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAccount, EthAddress, EthBlock, EthBloom, EthCallRequest, EthFeeHistory, EthFilter, EthFilterAddress, EthFilterChanges, EthFilterTopic, EthFilterTopicEntry, EthFilterTopicInner, EthHeader, EthLog, EthReceipt, EthReceiptV0, EthReceiptV3, EthRichBlock, EthRichHeader, EthStorageProof, EthSubKind, EthSubParams, EthSubResult, EthSyncInfo, EthSyncStatus, EthTransaction, EthTransactionAction, EthTransactionCondition, EthTransactionRequest, EthTransactionSignature, EthTransactionStatus, EthWork, EthereumAccountId, EthereumAddress, EthereumLookupSource, EthereumSignature, LegacyTransaction, TransactionV0, TransactionV1, TransactionV2 } from '@polkadot/types/interfaces/eth'; -import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; +import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicPayloadV5, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicSignatureV5, ExtrinsicUnknown, ExtrinsicV4, ExtrinsicV5, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles'; import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder'; @@ -88,7 +89,7 @@ import type { TransactionSource, TransactionValidity, ValidTransaction } from '@ import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques'; import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility'; import type { VestingInfo } from '@polkadot/types/interfaces/vesting'; -import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm'; +import type { AssetIdV2, AssetIdV3, AssetIdV4, AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, AssetInstanceV3, AssetInstanceV4, BodyId, BodyIdV2, BodyIdV3, BodyPart, BodyPartV2, BodyPartV3, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, FungibilityV3, FungibilityV4, InboundStatus, InstructionV2, InstructionV3, InstructionV4, InteriorMultiLocation, InteriorMultiLocationV2, InteriorMultiLocationV3, Junction, JunctionV0, JunctionV1, JunctionV2, JunctionV3, JunctionV4, Junctions, JunctionsV1, JunctionsV2, JunctionsV3, JunctionsV4, MaxPalletNameLen, MaxPalletsInfo, MaybeErrorCodeV3, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetFilterV3, MultiAssetFilterV4, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssetV3, MultiAssetV4, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiAssetsV3, MultiAssetsV4, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, MultiLocationV3, MultiLocationV4, NetworkId, NetworkIdV2, NetworkIdV3, NetworkIdV4, OriginKindV0, OriginKindV1, OriginKindV2, OriginKindV3, OriginKindV4, OutboundStatus, Outcome, OutcomeV4, PalletInfoV3, PalletInfoV4, QueryId, QueryResponseInfoV3, QueryResponseInfoV4, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV3, ResponseV3Error, ResponseV3Result, ResponseV4, UncheckedFungibilityV4, VersionMigrationStage, VersionV3, VersionV4, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WeightLimitV3, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildFungibilityV3, WildFungibilityV4, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, WildMultiAssetV3, WildMultiAssetV4, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmErrorV3, XcmErrorV4, XcmOrderV0, XcmOrderV1, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmV3, XcmV4, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm'; import type { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi'; import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi'; @@ -145,10 +146,15 @@ declare module '@polkadot/types/types/registry' { AssetDestroyWitness: AssetDestroyWitness; AssetDetails: AssetDetails; AssetId: AssetId; + AssetIdV2: AssetIdV2; + AssetIdV3: AssetIdV3; + AssetIdV4: AssetIdV4; AssetInstance: AssetInstance; AssetInstanceV0: AssetInstanceV0; AssetInstanceV1: AssetInstanceV1; AssetInstanceV2: AssetInstanceV2; + AssetInstanceV3: AssetInstanceV3; + AssetInstanceV4: AssetInstanceV4; AssetMetadata: AssetMetadata; AssetOptions: AssetOptions; AssignmentId: AssignmentId; @@ -230,7 +236,11 @@ declare module '@polkadot/types/types/registry' { BlockV2: BlockV2; BlockWeights: BlockWeights; BodyId: BodyId; + BodyIdV2: BodyIdV2; + BodyIdV3: BodyIdV3; BodyPart: BodyPart; + BodyPartV2: BodyPartV2; + BodyPartV3: BodyPartV3; BondingLedger: BondingLedger; bool: bool; Bool: Bool; @@ -247,6 +257,7 @@ declare module '@polkadot/types/types/registry' { BufferedSessionChange: BufferedSessionChange; Bytes: Bytes; Call: Call; + CallDryRunEffects: CallDryRunEffects; CallHash: CallHash; CallHashOf: CallHashOf; CallIndex: CallIndex; @@ -429,6 +440,7 @@ declare module '@polkadot/types/types/registry' { DispatchResult: DispatchResult; DispatchResultOf: DispatchResultOf; DispatchResultTo198: DispatchResultTo198; + DispatchResultWithPostInfo: DispatchResultWithPostInfo; DisputeLocation: DisputeLocation; DisputeProof: DisputeProof; DisputeResult: DisputeResult; @@ -547,12 +559,15 @@ declare module '@polkadot/types/types/registry' { ExtrinsicPayload: ExtrinsicPayload; ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown; ExtrinsicPayloadV4: ExtrinsicPayloadV4; + ExtrinsicPayloadV5: ExtrinsicPayloadV5; ExtrinsicSignature: ExtrinsicSignature; ExtrinsicSignatureV4: ExtrinsicSignatureV4; + ExtrinsicSignatureV5: ExtrinsicSignatureV5; ExtrinsicStatus: ExtrinsicStatus; ExtrinsicsWeight: ExtrinsicsWeight; ExtrinsicUnknown: ExtrinsicUnknown; ExtrinsicV4: ExtrinsicV4; + ExtrinsicV5: ExtrinsicV5; f32: f32; F32: F32; f64: f64; @@ -588,6 +603,8 @@ declare module '@polkadot/types/types/registry' { FungibilityV0: FungibilityV0; FungibilityV1: FungibilityV1; FungibilityV2: FungibilityV2; + FungibilityV3: FungibilityV3; + FungibilityV4: FungibilityV4; FungiblesAccessError: FungiblesAccessError; Gas: Gas; GenesisBuildErr: GenesisBuildErr; @@ -676,8 +693,12 @@ declare module '@polkadot/types/types/registry' { InstantiateReturnValueOk: InstantiateReturnValueOk; InstantiateReturnValueTo267: InstantiateReturnValueTo267; InstructionV2: InstructionV2; + InstructionV3: InstructionV3; + InstructionV4: InstructionV4; InstructionWeights: InstructionWeights; InteriorMultiLocation: InteriorMultiLocation; + InteriorMultiLocationV2: InteriorMultiLocationV2; + InteriorMultiLocationV3: InteriorMultiLocationV3; InvalidDisputeStatementKind: InvalidDisputeStatementKind; InvalidTransaction: InvalidTransaction; isize: isize; @@ -687,9 +708,13 @@ declare module '@polkadot/types/types/registry' { Junctions: Junctions; JunctionsV1: JunctionsV1; JunctionsV2: JunctionsV2; + JunctionsV3: JunctionsV3; + JunctionsV4: JunctionsV4; JunctionV0: JunctionV0; JunctionV1: JunctionV1; JunctionV2: JunctionV2; + JunctionV3: JunctionV3; + JunctionV4: JunctionV4; Justification: Justification; JustificationNotification: JustificationNotification; Justifications: Justifications; @@ -718,6 +743,9 @@ declare module '@polkadot/types/types/registry' { LookupSource: LookupSource; LookupTarget: LookupTarget; LotteryConfig: LotteryConfig; + MaxPalletNameLen: MaxPalletNameLen; + MaxPalletsInfo: MaxPalletsInfo; + MaybeErrorCodeV3: MaybeErrorCodeV3; MaybeRandomness: MaybeRandomness; MaybeVrf: MaybeVrf; MemberCount: MemberCount; @@ -774,22 +802,33 @@ declare module '@polkadot/types/types/registry' { MultiAssetFilter: MultiAssetFilter; MultiAssetFilterV1: MultiAssetFilterV1; MultiAssetFilterV2: MultiAssetFilterV2; + MultiAssetFilterV3: MultiAssetFilterV3; + MultiAssetFilterV4: MultiAssetFilterV4; MultiAssets: MultiAssets; MultiAssetsV1: MultiAssetsV1; MultiAssetsV2: MultiAssetsV2; + MultiAssetsV3: MultiAssetsV3; + MultiAssetsV4: MultiAssetsV4; MultiAssetV0: MultiAssetV0; MultiAssetV1: MultiAssetV1; MultiAssetV2: MultiAssetV2; + MultiAssetV3: MultiAssetV3; + MultiAssetV4: MultiAssetV4; MultiDisputeStatementSet: MultiDisputeStatementSet; MultiLocation: MultiLocation; MultiLocationV0: MultiLocationV0; MultiLocationV1: MultiLocationV1; MultiLocationV2: MultiLocationV2; + MultiLocationV3: MultiLocationV3; + MultiLocationV4: MultiLocationV4; Multiplier: Multiplier; Multisig: Multisig; MultiSignature: MultiSignature; MultiSigner: MultiSigner; NetworkId: NetworkId; + NetworkIdV2: NetworkIdV2; + NetworkIdV3: NetworkIdV3; + NetworkIdV4: NetworkIdV4; NetworkState: NetworkState; NetworkStatePeerset: NetworkStatePeerset; NetworkStatePeersetInfo: NetworkStatePeersetInfo; @@ -843,6 +882,8 @@ declare module '@polkadot/types/types/registry' { OriginKindV0: OriginKindV0; OriginKindV1: OriginKindV1; OriginKindV2: OriginKindV2; + OriginKindV3: OriginKindV3; + OriginKindV4: OriginKindV4; OrmlCurrencyId: OrmlCurrencyId; OutboundHrmpChannelLimitations: OutboundHrmpChannelLimitations; OutboundHrmpMessage: OutboundHrmpMessage; @@ -851,6 +892,7 @@ declare module '@polkadot/types/types/registry' { OutboundPayload: OutboundPayload; OutboundStatus: OutboundStatus; Outcome: Outcome; + OutcomeV4: OutcomeV4; OuterEnums15: OuterEnums15; OverweightIndex: OverweightIndex; Owner: Owner; @@ -866,6 +908,8 @@ declare module '@polkadot/types/types/registry' { PalletEventMetadataLatest: PalletEventMetadataLatest; PalletEventMetadataV14: PalletEventMetadataV14; PalletId: PalletId; + PalletInfoV3: PalletInfoV3; + PalletInfoV4: PalletInfoV4; PalletMetadataLatest: PalletMetadataLatest; PalletMetadataV14: PalletMetadataV14; PalletMetadataV15: PalletMetadataV15; @@ -925,6 +969,7 @@ declare module '@polkadot/types/types/registry' { PortableType: PortableType; PortableTypeV14: PortableTypeV14; Position: Position; + PostDispatchInfo: PostDispatchInfo; Precommits: Precommits; PrefabWasmModule: PrefabWasmModule; PrefixedStorageKey: PrefixedStorageKey; @@ -948,6 +993,8 @@ declare module '@polkadot/types/types/registry' { PvfExecTimeoutKind: PvfExecTimeoutKind; PvfPrepTimeoutKind: PvfPrepTimeoutKind; QueryId: QueryId; + QueryResponseInfoV3: QueryResponseInfoV3; + QueryResponseInfoV4: QueryResponseInfoV4; QueryStatus: QueryStatus; QueueConfigData: QueueConfigData; QueuedParathread: QueuedParathread; @@ -1009,7 +1056,10 @@ declare module '@polkadot/types/types/registry' { ResponseV1: ResponseV1; ResponseV2: ResponseV2; ResponseV2Error: ResponseV2Error; - ResponseV2Result: ResponseV2Result; + ResponseV3: ResponseV3; + ResponseV3Error: ResponseV3Error; + ResponseV3Result: ResponseV3Result; + ResponseV4: ResponseV4; Retriable: Retriable; RewardDestination: RewardDestination; RewardPoint: RewardPoint; @@ -1265,6 +1315,7 @@ declare module '@polkadot/types/types/registry' { U8: U8; UnappliedSlash: UnappliedSlash; UnappliedSlashOther: UnappliedSlashOther; + UncheckedFungibilityV4: UncheckedFungibilityV4; UncleEntryItem: UncleEntryItem; UnknownTransaction: UnknownTransaction; UnlockChunk: UnlockChunk; @@ -1304,6 +1355,8 @@ declare module '@polkadot/types/types/registry' { VersionedResponse: VersionedResponse; VersionedXcm: VersionedXcm; VersionMigrationStage: VersionMigrationStage; + VersionV3: VersionV3; + VersionV4: VersionV4; VestingInfo: VestingInfo; VestingSchedule: VestingSchedule; Vote: Vote; @@ -1324,6 +1377,7 @@ declare module '@polkadot/types/types/registry' { VrfProof: VrfProof; Weight: Weight; WeightLimitV2: WeightLimitV2; + WeightLimitV3: WeightLimitV3; WeightMultiplier: WeightMultiplier; WeightPerClass: WeightPerClass; WeightV0: WeightV0; @@ -1333,9 +1387,13 @@ declare module '@polkadot/types/types/registry' { WildFungibilityV0: WildFungibilityV0; WildFungibilityV1: WildFungibilityV1; WildFungibilityV2: WildFungibilityV2; + WildFungibilityV3: WildFungibilityV3; + WildFungibilityV4: WildFungibilityV4; WildMultiAsset: WildMultiAsset; WildMultiAssetV1: WildMultiAssetV1; WildMultiAssetV2: WildMultiAssetV2; + WildMultiAssetV3: WildMultiAssetV3; + WildMultiAssetV4: WildMultiAssetV4; WinnersData: WinnersData; WinnersData10: WinnersData10; WinnersDataTuple: WinnersDataTuple; @@ -1346,14 +1404,16 @@ declare module '@polkadot/types/types/registry' { WithdrawReasons: WithdrawReasons; Xcm: Xcm; XcmAssetId: XcmAssetId; + XcmDryRunApiError: XcmDryRunApiError; + XcmDryRunEffects: XcmDryRunEffects; XcmError: XcmError; XcmErrorV0: XcmErrorV0; XcmErrorV1: XcmErrorV1; XcmErrorV2: XcmErrorV2; - XcmOrder: XcmOrder; + XcmErrorV3: XcmErrorV3; + XcmErrorV4: XcmErrorV4; XcmOrderV0: XcmOrderV0; XcmOrderV1: XcmOrderV1; - XcmOrderV2: XcmOrderV2; XcmOrigin: XcmOrigin; XcmOriginKind: XcmOriginKind; XcmPaymentApiError: XcmPaymentApiError; @@ -1361,6 +1421,8 @@ declare module '@polkadot/types/types/registry' { XcmV0: XcmV0; XcmV1: XcmV1; XcmV2: XcmV2; + XcmV3: XcmV3; + XcmV4: XcmV4; XcmVersion: XcmVersion; } // InterfaceTypes } // declare module diff --git a/packages/types/src/interfaces/lookup.ts b/packages/types/src/interfaces/lookup.ts index 4d79e1b..1535711 100644 --- a/packages/types/src/interfaces/lookup.ts +++ b/packages/types/src/interfaces/lookup.ts @@ -726,9 +726,6 @@ export default { **/ PalletTreasuryEvent: { _enum: { - Proposed: { - proposalIndex: 'u32', - }, Spending: { budgetRemaining: 'u128', }, @@ -737,10 +734,6 @@ export default { award: 'u128', account: 'AccountId32', }, - Rejected: { - proposalIndex: 'u32', - slashed: 'u128', - }, Burnt: { burntFunds: 'u128', }, @@ -1245,7 +1238,7 @@ export default { xcm: 'StagingXcmV4Xcm', }, Transact: { - originKind: 'XcmV2OriginKind', + originKind: 'XcmV3OriginKind', requireWeightAtMost: 'SpWeightsWeightV2Weight', call: 'XcmDoubleEncoded', }, @@ -1435,9 +1428,9 @@ export default { } }, /** - * Lookup110: xcm::v2::OriginKind + * Lookup110: xcm::v3::OriginKind **/ - XcmV2OriginKind: { + XcmV3OriginKind: { _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm'] }, /** @@ -1881,7 +1874,8 @@ export default { Corrupt: 'Null', Unsupported: 'Null', Overweight: 'SpWeightsWeightV2Weight', - Yield: 'Null' + Yield: 'Null', + StackLimitReached: 'Null' } }, /** @@ -2869,9 +2863,6 @@ export default { currencyId: 'AcalaPrimitivesCurrencyCurrencyId', amount: 'u128', }, - TransferFromCrowdloanVaultRequested: { - amount: 'u128', - }, RedeemCurrencyIdUpdated: { currencyId: 'AcalaPrimitivesCurrencyCurrencyId' } @@ -3604,7 +3595,11 @@ export default { }, force_adjust_total_issuance: { direction: 'PalletBalancesAdjustmentDirection', - delta: 'Compact' + delta: 'Compact', + }, + burn: { + value: 'Compact', + keepAlive: 'bool' } } }, @@ -3714,16 +3709,9 @@ export default { **/ PalletTreasuryCall: { _enum: { - propose_spend: { - value: 'Compact', - beneficiary: 'MultiAddress', - }, - reject_proposal: { - proposalId: 'Compact', - }, - approve_proposal: { - proposalId: 'Compact', - }, + __Unused0: 'Null', + __Unused1: 'Null', + __Unused2: 'Null', spend_local: { amount: 'Compact', beneficiary: 'MultiAddress', @@ -3877,13 +3865,9 @@ export default { /** * Lookup289: sp_consensus_aura::sr25519::app_sr25519::Public **/ - SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public', + SpConsensusAuraSr25519AppSr25519Public: '[u8;32]', /** - * Lookup290: sp_core::sr25519::Public - **/ - SpCoreSr25519Public: '[u8;32]', - /** - * Lookup291: module_session_manager::module::Call + * Lookup290: module_session_manager::module::Call **/ ModuleSessionManagerModuleCall: { _enum: { @@ -3894,7 +3878,7 @@ export default { } }, /** - * Lookup292: cumulus_pallet_xcmp_queue::pallet::Call + * Lookup291: cumulus_pallet_xcmp_queue::pallet::Call **/ CumulusPalletXcmpQueueCall: { _enum: { @@ -3922,7 +3906,7 @@ export default { } }, /** - * Lookup293: pallet_xcm::pallet::Call + * Lookup292: pallet_xcm::pallet::Call **/ PalletXcmCall: { _enum: { @@ -3985,12 +3969,21 @@ export default { }, claim_assets: { assets: 'XcmVersionedAssets', - beneficiary: 'XcmVersionedLocation' + beneficiary: 'XcmVersionedLocation', + }, + transfer_assets_using_type_and_then: { + dest: 'XcmVersionedLocation', + assets: 'XcmVersionedAssets', + assetsTransferType: 'StagingXcmExecutorAssetTransferTransferType', + remoteFeesId: 'XcmVersionedAssetId', + feesTransferType: 'StagingXcmExecutorAssetTransferTransferType', + customXcmOnDest: 'XcmVersionedXcm', + weightLimit: 'XcmV3WeightLimit' } } }, /** - * Lookup294: xcm::VersionedXcm + * Lookup293: xcm::VersionedXcm **/ XcmVersionedXcm: { _enum: { @@ -4002,11 +3995,11 @@ export default { } }, /** - * Lookup295: xcm::v2::Xcm + * Lookup294: xcm::v2::Xcm **/ XcmV2Xcm: 'Vec', /** - * Lookup297: xcm::v2::Instruction + * Lookup296: xcm::v2::Instruction **/ XcmV2Instruction: { _enum: { @@ -4104,7 +4097,7 @@ export default { } }, /** - * Lookup298: xcm::v2::Response + * Lookup297: xcm::v2::Response **/ XcmV2Response: { _enum: { @@ -4115,7 +4108,7 @@ export default { } }, /** - * Lookup301: xcm::v2::traits::Error + * Lookup300: xcm::v2::traits::Error **/ XcmV2TraitsError: { _enum: { @@ -4147,6 +4140,12 @@ export default { WeightNotComputable: 'Null' } }, + /** + * Lookup301: xcm::v2::OriginKind + **/ + XcmV2OriginKind: { + _enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm'] + }, /** * Lookup302: xcm::v2::multiasset::MultiAssetFilter **/ @@ -4211,7 +4210,7 @@ export default { xcm: 'XcmV3Xcm', }, Transact: { - originKind: 'XcmV2OriginKind', + originKind: 'XcmV3OriginKind', requireWeightAtMost: 'SpWeightsWeightV2Weight', call: 'XcmDoubleEncoded', }, @@ -4395,7 +4394,30 @@ export default { _enum: ['Fungible', 'NonFungible'] }, /** - * Lookup330: orml_xtokens::module::Call + * Lookup330: staging_xcm_executor::traits::asset_transfer::TransferType + **/ + StagingXcmExecutorAssetTransferTransferType: { + _enum: { + Teleport: 'Null', + LocalReserve: 'Null', + DestinationReserve: 'Null', + RemoteReserve: 'XcmVersionedLocation' + } + }, + /** + * Lookup331: xcm::VersionedAssetId + **/ + XcmVersionedAssetId: { + _enum: { + __Unused0: 'Null', + __Unused1: 'Null', + __Unused2: 'Null', + V3: 'XcmV3MultiassetAssetId', + V4: 'StagingXcmV4AssetAssetId' + } + }, + /** + * Lookup332: orml_xtokens::module::Call **/ OrmlXtokensModuleCall: { _enum: { @@ -4438,7 +4460,7 @@ export default { } }, /** - * Lookup331: xcm::VersionedAsset + * Lookup333: xcm::VersionedAsset **/ XcmVersionedAsset: { _enum: { @@ -4450,7 +4472,7 @@ export default { } }, /** - * Lookup332: orml_xcm::module::Call + * Lookup334: orml_xcm::module::Call **/ OrmlXcmModuleCall: { _enum: { @@ -4461,7 +4483,7 @@ export default { } }, /** - * Lookup333: pallet_message_queue::pallet::Call + * Lookup335: pallet_message_queue::pallet::Call **/ PalletMessageQueueCall: { _enum: { @@ -4478,7 +4500,7 @@ export default { } }, /** - * Lookup334: orml_authority::module::Call + * Lookup336: orml_authority::module::Call **/ OrmlAuthorityModuleCall: { _enum: { @@ -4490,7 +4512,7 @@ export default { when: 'FrameSupportScheduleDispatchTime', priority: 'u8', withDelayedOrigin: 'bool', - call: 'Call', + call: 'FrameSupportPreimagesBounded', }, fast_track_scheduled_dispatch: { initialOrigin: 'AcalaRuntimeOriginCaller', @@ -4527,13 +4549,13 @@ export default { } }, /** - * Lookup335: acala_primitives::AuthoritysOriginId + * Lookup337: acala_primitives::AuthoritysOriginId **/ AcalaPrimitivesAuthoritysOriginId: { _enum: ['Root', 'Treasury', 'HonzonTreasury', 'HomaTreasury', 'TreasuryReserve'] }, /** - * Lookup336: frame_support::traits::schedule::DispatchTime + * Lookup338: frame_support::traits::schedule::DispatchTime **/ FrameSupportScheduleDispatchTime: { _enum: { @@ -4542,7 +4564,7 @@ export default { } }, /** - * Lookup337: pallet_collective::pallet::Call + * Lookup339: pallet_collective::pallet::Call **/ PalletCollectiveCall: { _enum: { @@ -4578,7 +4600,7 @@ export default { } }, /** - * Lookup338: pallet_membership::pallet::Call + * Lookup340: pallet_membership::pallet::Call **/ PalletMembershipCall: { _enum: { @@ -4608,7 +4630,7 @@ export default { } }, /** - * Lookup345: pallet_democracy::pallet::Call + * Lookup347: pallet_democracy::pallet::Call **/ PalletDemocracyCall: { _enum: { @@ -4677,13 +4699,13 @@ export default { } }, /** - * Lookup346: pallet_democracy::conviction::Conviction + * Lookup348: pallet_democracy::conviction::Conviction **/ PalletDemocracyConviction: { _enum: ['None', 'Locked1x', 'Locked2x', 'Locked3x', 'Locked4x', 'Locked5x', 'Locked6x'] }, /** - * Lookup348: orml_oracle::module::Call + * Lookup350: orml_oracle::module::Call **/ OrmlOracleModuleCall: { _enum: { @@ -4693,7 +4715,7 @@ export default { } }, /** - * Lookup351: orml_auction::module::Call + * Lookup353: orml_auction::module::Call **/ OrmlAuctionModuleCall: { _enum: { @@ -4704,7 +4726,7 @@ export default { } }, /** - * Lookup352: orml_parameters::module::Call + * Lookup354: orml_parameters::module::Call **/ OrmlParametersModuleCall: { _enum: { @@ -4714,7 +4736,7 @@ export default { } }, /** - * Lookup353: module_prices::module::Call + * Lookup355: module_prices::module::Call **/ ModulePricesModuleCall: { _enum: { @@ -4727,7 +4749,7 @@ export default { } }, /** - * Lookup354: module_dex::module::Call + * Lookup356: module_dex::module::Call **/ ModuleDexModuleCall: { _enum: { @@ -4810,7 +4832,7 @@ export default { } }, /** - * Lookup355: module_dex_oracle::module::Call + * Lookup357: module_dex_oracle::module::Call **/ ModuleDexOracleModuleCall: { _enum: { @@ -4831,7 +4853,7 @@ export default { } }, /** - * Lookup356: module_aggregated_dex::module::Call + * Lookup358: module_aggregated_dex::module::Call **/ ModuleAggregatedDexModuleCall: { _enum: { @@ -4851,7 +4873,7 @@ export default { } }, /** - * Lookup361: module_earning::module::Call + * Lookup363: module_earning::module::Call **/ ModuleEarningModuleCall: { _enum: { @@ -4871,7 +4893,7 @@ export default { } }, /** - * Lookup362: module_auction_manager::module::Call + * Lookup364: module_auction_manager::module::Call **/ ModuleAuctionManagerModuleCall: { _enum: { @@ -4881,11 +4903,11 @@ export default { } }, /** - * Lookup363: module_loans::module::Call + * Lookup365: module_loans::module::Call **/ ModuleLoansModuleCall: 'Null', /** - * Lookup364: module_honzon::module::Call + * Lookup366: module_honzon::module::Call **/ ModuleHonzonModuleCall: { _enum: { @@ -4934,7 +4956,7 @@ export default { } }, /** - * Lookup365: module_cdp_treasury::module::Call + * Lookup367: module_cdp_treasury::module::Call **/ ModuleCdpTreasuryModuleCall: { _enum: { @@ -4964,7 +4986,7 @@ export default { } }, /** - * Lookup366: module_support::dex::SwapLimit + * Lookup368: module_support::dex::SwapLimit **/ ModuleSupportDexSwapLimit: { _enum: { @@ -4973,7 +4995,7 @@ export default { } }, /** - * Lookup367: module_cdp_engine::module::Call + * Lookup369: module_cdp_engine::module::Call **/ ModuleCdpEngineModuleCall: { _enum: { @@ -5002,7 +5024,7 @@ export default { } }, /** - * Lookup368: orml_traits::Change> + * Lookup370: orml_traits::Change> **/ OrmlTraitsChangeOption: { _enum: { @@ -5011,7 +5033,7 @@ export default { } }, /** - * Lookup369: orml_traits::Change + * Lookup371: orml_traits::Change **/ OrmlTraitsChangeU128: { _enum: { @@ -5020,7 +5042,7 @@ export default { } }, /** - * Lookup370: module_emergency_shutdown::module::Call + * Lookup372: module_emergency_shutdown::module::Call **/ ModuleEmergencyShutdownModuleCall: { _enum: { @@ -5032,7 +5054,7 @@ export default { } }, /** - * Lookup371: module_homa::module::Call + * Lookup373: module_homa::module::Call **/ ModuleHomaModuleCall: { _enum: { @@ -5075,7 +5097,7 @@ export default { } }, /** - * Lookup376: module_xcm_interface::module::Call + * Lookup378: module_xcm_interface::module::Call **/ ModuleXcmInterfaceModuleCall: { _enum: { @@ -5085,7 +5107,7 @@ export default { } }, /** - * Lookup379: module_homa_validator_list::module::Call + * Lookup381: module_homa_validator_list::module::Call **/ ModuleHomaValidatorListModuleCall: { _enum: { @@ -5116,14 +5138,14 @@ export default { } }, /** - * Lookup381: module_homa_validator_list::SlashInfo + * Lookup383: module_homa_validator_list::SlashInfo **/ ModuleHomaValidatorListSlashInfo: { validator: 'AccountId32', relaychainTokenAmount: 'u128' }, /** - * Lookup382: module_nominees_election::module::Call + * Lookup384: module_nominees_election::module::Call **/ ModuleNomineesElectionModuleCall: { _enum: { @@ -5147,7 +5169,7 @@ export default { } }, /** - * Lookup386: module_incentives::module::Call + * Lookup388: module_incentives::module::Call **/ ModuleIncentivesModuleCall: { _enum: { @@ -5175,7 +5197,7 @@ export default { } }, /** - * Lookup391: module_nft::module::Call + * Lookup393: module_nft::module::Call **/ ModuleNftModuleCall: { _enum: { @@ -5213,13 +5235,13 @@ export default { } }, /** - * Lookup393: acala_primitives::nft::ClassProperty + * Lookup395: acala_primitives::nft::ClassProperty **/ AcalaPrimitivesNftClassProperty: { _enum: ['__Unused0', 'Transferable', 'Burnable', '__Unused3', 'Mintable', '__Unused5', '__Unused6', '__Unused7', 'ClassPropertiesMutable'] }, /** - * Lookup396: module_asset_registry::module::Call + * Lookup398: module_asset_registry::module::Call **/ ModuleAssetRegistryModuleCall: { _enum: { @@ -5258,23 +5280,21 @@ export default { } }, /** - * Lookup397: module_liquid_crowdloan::module::Call + * Lookup399: module_liquid_crowdloan::module::Call **/ ModuleLiquidCrowdloanModuleCall: { _enum: { redeem: { amount: 'Compact', }, - transfer_from_crowdloan_vault: { - amount: 'Compact', - }, + __Unused1: 'Null', set_redeem_currency_id: { currencyId: 'AcalaPrimitivesCurrencyCurrencyId' } } }, /** - * Lookup398: module_evm::module::Call + * Lookup400: module_evm::module::Call **/ ModuleEvmModuleCall: { _enum: { @@ -5372,7 +5392,7 @@ export default { } }, /** - * Lookup399: ethereum::transaction::TransactionAction + * Lookup401: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -5381,14 +5401,14 @@ export default { } }, /** - * Lookup401: ethereum::transaction::AccessListItem + * Lookup403: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: 'H160', storageKeys: 'Vec' }, /** - * Lookup402: module_evm_accounts::module::Call + * Lookup404: module_evm_accounts::module::Call **/ ModuleEvmAccountsModuleCall: { _enum: { @@ -5400,7 +5420,7 @@ export default { } }, /** - * Lookup404: nutsfinance_stable_asset::pallet::Call + * Lookup406: nutsfinance_stable_asset::pallet::Call **/ NutsfinanceStableAssetCall: { _enum: { @@ -5465,7 +5485,7 @@ export default { } }, /** - * Lookup405: cumulus_pallet_parachain_system::pallet::Call + * Lookup407: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -5485,45 +5505,45 @@ export default { } }, /** - * Lookup406: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup408: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { - validationData: 'PolkadotPrimitivesV6PersistedValidationData', + validationData: 'PolkadotPrimitivesV7PersistedValidationData', relayChainState: 'SpTrieStorageProof', downwardMessages: 'Vec', horizontalMessages: 'BTreeMap>' }, /** - * Lookup407: polkadot_primitives::v6::PersistedValidationData + * Lookup409: polkadot_primitives::v7::PersistedValidationData **/ - PolkadotPrimitivesV6PersistedValidationData: { + PolkadotPrimitivesV7PersistedValidationData: { parentHead: 'Bytes', relayParentNumber: 'u32', relayParentStorageRoot: 'H256', maxPovSize: 'u32' }, /** - * Lookup409: sp_trie::storage_proof::StorageProof + * Lookup411: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: 'BTreeSet' }, /** - * Lookup412: polkadot_core_primitives::InboundDownwardMessage + * Lookup414: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: 'u32', msg: 'Bytes' }, /** - * Lookup415: polkadot_core_primitives::InboundHrmpMessage + * Lookup417: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: 'u32', data: 'Bytes' }, /** - * Lookup418: pallet_sudo::pallet::Call + * Lookup420: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -5548,11 +5568,11 @@ export default { } }, /** - * Lookup419: sp_runtime::traits::BlakeTwo256 + * Lookup421: sp_runtime::traits::BlakeTwo256 **/ SpRuntimeBlakeTwo256: 'Null', /** - * Lookup422: pallet_scheduler::RetryConfig + * Lookup424: pallet_scheduler::RetryConfig **/ PalletSchedulerRetryConfig: { totalRetries: 'u8', @@ -5560,19 +5580,19 @@ export default { period: 'u32' }, /** - * Lookup423: pallet_scheduler::pallet::Error + * Lookup425: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'] }, /** - * Lookup424: pallet_utility::pallet::Error + * Lookup426: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: ['TooManyCalls'] }, /** - * Lookup426: pallet_multisig::Multisig + * Lookup428: pallet_multisig::Multisig **/ PalletMultisigMultisig: { when: 'PalletMultisigTimepoint', @@ -5581,13 +5601,13 @@ export default { approvals: 'Vec' }, /** - * Lookup428: pallet_multisig::pallet::Error + * Lookup430: pallet_multisig::pallet::Error **/ PalletMultisigError: { _enum: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored'] }, /** - * Lookup431: pallet_proxy::ProxyDefinition + * Lookup433: pallet_proxy::ProxyDefinition **/ PalletProxyProxyDefinition: { delegate: 'AccountId32', @@ -5595,7 +5615,7 @@ export default { delay: 'u32' }, /** - * Lookup435: pallet_proxy::Announcement + * Lookup437: pallet_proxy::Announcement **/ PalletProxyAnnouncement: { real: 'AccountId32', @@ -5603,19 +5623,19 @@ export default { height: 'u32' }, /** - * Lookup437: pallet_proxy::pallet::Error + * Lookup439: pallet_proxy::pallet::Error **/ PalletProxyError: { _enum: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'] }, /** - * Lookup438: module_transaction_pause::module::Error + * Lookup440: module_transaction_pause::module::Error **/ ModuleTransactionPauseModuleError: { _enum: ['CannotPause', 'InvalidCharacter'] }, /** - * Lookup439: pallet_preimage::OldRequestStatus + * Lookup441: pallet_preimage::OldRequestStatus **/ PalletPreimageOldRequestStatus: { _enum: { @@ -5631,7 +5651,7 @@ export default { } }, /** - * Lookup442: pallet_preimage::RequestStatus> + * Lookup444: pallet_preimage::RequestStatus> **/ PalletPreimageRequestStatus: { _enum: { @@ -5647,13 +5667,13 @@ export default { } }, /** - * Lookup448: pallet_preimage::pallet::Error + * Lookup450: pallet_preimage::pallet::Error **/ PalletPreimageError: { - _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'] + _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew', 'NoCost'] }, /** - * Lookup450: pallet_balances::types::BalanceLock + * Lookup452: pallet_balances::types::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -5661,26 +5681,26 @@ export default { reasons: 'PalletBalancesReasons' }, /** - * Lookup451: pallet_balances::types::Reasons + * Lookup453: pallet_balances::types::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup454: pallet_balances::types::ReserveData + * Lookup456: pallet_balances::types::ReserveData **/ PalletBalancesReserveData: { id: 'AcalaPrimitivesReserveIdentifier', amount: 'u128' }, /** - * Lookup455: acala_primitives::ReserveIdentifier + * Lookup457: acala_primitives::ReserveIdentifier **/ AcalaPrimitivesReserveIdentifier: { _enum: ['CollatorSelection', 'EvmStorageDeposit', 'EvmDeveloperDeposit', 'Honzon', 'Nft', 'TransactionPayment', 'TransactionPaymentDeposit', 'Count'] }, /** - * Lookup459: acala_runtime::RuntimeHoldReason + * Lookup461: acala_runtime::RuntimeHoldReason **/ AcalaRuntimeRuntimeHoldReason: { _enum: { @@ -5696,33 +5716,33 @@ export default { } }, /** - * Lookup460: pallet_preimage::pallet::HoldReason + * Lookup462: pallet_preimage::pallet::HoldReason **/ PalletPreimageHoldReason: { _enum: ['Preimage'] }, /** - * Lookup463: pallet_balances::types::IdAmount + * Lookup465: frame_support::traits::tokens::misc::IdAmount **/ - PalletBalancesIdAmount: { + FrameSupportTokensMiscIdAmount: { id: 'Null', amount: 'u128' }, /** - * Lookup465: pallet_balances::pallet::Error + * Lookup467: pallet_balances::pallet::Error **/ PalletBalancesError: { _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'] }, /** - * Lookup468: orml_tokens::BalanceLock + * Lookup470: orml_tokens::BalanceLock **/ OrmlTokensBalanceLock: { id: '[u8;8]', amount: 'u128' }, /** - * Lookup470: orml_tokens::AccountData + * Lookup472: orml_tokens::AccountData **/ OrmlTokensAccountData: { free: 'u128', @@ -5730,32 +5750,32 @@ export default { frozen: 'u128' }, /** - * Lookup472: orml_tokens::ReserveData + * Lookup474: orml_tokens::ReserveData **/ OrmlTokensReserveData: { id: 'AcalaPrimitivesReserveIdentifier', amount: 'u128' }, /** - * Lookup474: orml_tokens::module::Error + * Lookup476: orml_tokens::module::Error **/ OrmlTokensModuleError: { _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup475: module_currencies::module::Error + * Lookup477: module_currencies::module::Error **/ ModuleCurrenciesModuleError: { _enum: ['AmountIntoBalanceFailed', 'BalanceTooLow', 'Erc20InvalidOperation', 'EvmAccountNotFound', 'RealOriginNotFound', 'DepositFailed'] }, /** - * Lookup477: orml_vesting::module::Error + * Lookup479: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup479: module_transaction_payment::module::ChargeFeeMethod + * Lookup481: module_transaction_payment::module::ChargeFeeMethod **/ ModuleTransactionPaymentModuleChargeFeeMethod: { _enum: { @@ -5764,17 +5784,17 @@ export default { } }, /** - * Lookup480: frame_support::PalletId + * Lookup482: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup482: module_transaction_payment::module::Error + * Lookup484: module_transaction_payment::module::Error **/ ModuleTransactionPaymentModuleError: { _enum: ['InvalidSwapPath', 'InvalidBalance', 'InvalidRate', 'InvalidToken', 'DexNotAvailable', 'ChargeFeePoolAlreadyExisted'] }, /** - * Lookup483: pallet_treasury::Proposal + * Lookup485: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -5783,7 +5803,7 @@ export default { bond: 'u128' }, /** - * Lookup486: pallet_treasury::SpendStatus + * Lookup488: pallet_treasury::SpendStatus **/ PalletTreasurySpendStatus: { assetKind: 'Null', @@ -5794,7 +5814,7 @@ export default { status: 'PalletTreasuryPaymentState' }, /** - * Lookup487: pallet_treasury::PaymentState + * Lookup489: pallet_treasury::PaymentState **/ PalletTreasuryPaymentState: { _enum: { @@ -5806,13 +5826,13 @@ export default { } }, /** - * Lookup488: pallet_treasury::pallet::Error + * Lookup490: pallet_treasury::pallet::Error **/ PalletTreasuryError: { - _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'] + _enum: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'] }, /** - * Lookup489: pallet_bounties::Bounty + * Lookup491: pallet_bounties::Bounty **/ PalletBountiesBounty: { proposer: 'AccountId32', @@ -5823,7 +5843,7 @@ export default { status: 'PalletBountiesBountyStatus' }, /** - * Lookup490: pallet_bounties::BountyStatus + * Lookup492: pallet_bounties::BountyStatus **/ PalletBountiesBountyStatus: { _enum: { @@ -5845,13 +5865,13 @@ export default { } }, /** - * Lookup492: pallet_bounties::pallet::Error + * Lookup494: pallet_bounties::pallet::Error **/ PalletBountiesError: { _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'ReasonTooBig', 'UnexpectedStatus', 'RequireCurator', 'InvalidValue', 'InvalidFee', 'PendingPayout', 'Premature', 'HasActiveChildBounty', 'TooManyQueued'] }, /** - * Lookup493: pallet_tips::OpenTip + * Lookup495: pallet_tips::OpenTip **/ PalletTipsOpenTip: { reason: 'H256', @@ -5863,35 +5883,35 @@ export default { findersFee: 'bool' }, /** - * Lookup495: pallet_tips::pallet::Error + * Lookup497: pallet_tips::pallet::Error **/ PalletTipsError: { _enum: ['ReasonTooBig', 'AlreadyKnown', 'UnknownTip', 'MaxTipAmountExceeded', 'NotFinder', 'StillOpen', 'Premature'] }, /** - * Lookup499: module_collator_selection::pallet::Error + * Lookup501: module_collator_selection::pallet::Error **/ ModuleCollatorSelectionError: { _enum: ['MaxCandidatesExceeded', 'BelowCandidatesMin', 'StillLocked', 'Unknown', 'Permission', 'AlreadyCandidate', 'NotCandidate', 'NotNonCandidate', 'NothingToWithdraw', 'RequireSessionKey', 'AlreadyInvulnerable', 'InvalidProof', 'MaxInvulnerablesExceeded'] }, /** - * Lookup503: sp_core::crypto::KeyTypeId + * Lookup505: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup504: pallet_session::pallet::Error + * Lookup506: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'] }, /** - * Lookup509: module_session_manager::module::Error + * Lookup511: module_session_manager::module::Error **/ ModuleSessionManagerModuleError: { _enum: ['InvalidSession', 'InvalidDuration', 'EstimateNextSessionFailed'] }, /** - * Lookup514: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup516: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -5901,13 +5921,13 @@ export default { lastIndex: 'u16' }, /** - * Lookup515: cumulus_pallet_xcmp_queue::OutboundState + * Lookup517: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup517: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup521: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -5915,13 +5935,13 @@ export default { resumeThreshold: 'u32' }, /** - * Lookup518: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup522: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { - _enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed'] + _enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'] }, /** - * Lookup519: pallet_xcm::pallet::QueryStatus + * Lookup523: pallet_xcm::pallet::QueryStatus **/ PalletXcmQueryStatus: { _enum: { @@ -5942,7 +5962,7 @@ export default { } }, /** - * Lookup523: xcm::VersionedResponse + * Lookup527: xcm::VersionedResponse **/ XcmVersionedResponse: { _enum: { @@ -5954,7 +5974,7 @@ export default { } }, /** - * Lookup529: pallet_xcm::pallet::VersionMigrationStage + * Lookup533: pallet_xcm::pallet::VersionMigrationStage **/ PalletXcmVersionMigrationStage: { _enum: { @@ -5965,19 +5985,7 @@ export default { } }, /** - * Lookup532: xcm::VersionedAssetId - **/ - XcmVersionedAssetId: { - _enum: { - __Unused0: 'Null', - __Unused1: 'Null', - __Unused2: 'Null', - V3: 'XcmV3MultiassetAssetId', - V4: 'StagingXcmV4AssetAssetId' - } - }, - /** - * Lookup533: pallet_xcm::pallet::RemoteLockedFungibleRecord + * Lookup536: pallet_xcm::pallet::RemoteLockedFungibleRecord **/ PalletXcmRemoteLockedFungibleRecord: { amount: 'u128', @@ -5986,31 +5994,31 @@ export default { consumers: 'Vec<(Null,u128)>' }, /** - * Lookup540: pallet_xcm::pallet::Error + * Lookup543: pallet_xcm::pallet::Error **/ PalletXcmError: { - _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', 'InvalidAssetNotConcrete', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete'] + _enum: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', '__Unused20', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete'] }, /** - * Lookup541: orml_xtokens::module::Error + * Lookup544: orml_xtokens::module::Error **/ OrmlXtokensModuleError: { _enum: ['AssetHasNoReserve', 'NotCrossChainTransfer', 'InvalidDest', 'NotCrossChainTransferableCurrency', 'UnweighableMessage', 'XcmExecutionFailed', 'CannotReanchor', 'InvalidAncestry', 'InvalidAsset', 'DestinationNotInvertible', 'BadVersion', 'DistinctReserveForAssetAndFee', 'ZeroFee', 'ZeroAmount', 'TooManyAssetsBeingSent', 'AssetIndexNonExistent', 'FeeNotEnough', 'NotSupportedLocation', 'MinXcmFeeNotDefined', 'RateLimited'] }, /** - * Lookup544: orml_unknown_tokens::module::Error + * Lookup547: orml_unknown_tokens::module::Error **/ OrmlUnknownTokensModuleError: { _enum: ['BalanceTooLow', 'BalanceOverflow', 'UnhandledAsset'] }, /** - * Lookup545: orml_xcm::module::Error + * Lookup548: orml_xcm::module::Error **/ OrmlXcmModuleError: { _enum: ['Unreachable', 'SendFailure', 'BadVersion'] }, /** - * Lookup546: pallet_message_queue::BookState + * Lookup549: pallet_message_queue::BookState **/ PalletMessageQueueBookState: { _alias: { @@ -6024,14 +6032,14 @@ export default { size_: 'u64' }, /** - * Lookup548: pallet_message_queue::Neighbours + * Lookup551: pallet_message_queue::Neighbours **/ PalletMessageQueueNeighbours: { prev: 'CumulusPrimitivesCoreAggregateMessageOrigin', next: 'CumulusPrimitivesCoreAggregateMessageOrigin' }, /** - * Lookup550: pallet_message_queue::Page + * Lookup553: pallet_message_queue::Page **/ PalletMessageQueuePage: { remaining: 'u32', @@ -6042,19 +6050,19 @@ export default { heap: 'Bytes' }, /** - * Lookup552: pallet_message_queue::pallet::Error + * Lookup555: pallet_message_queue::pallet::Error **/ PalletMessageQueueError: { _enum: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'] }, /** - * Lookup554: orml_authority::module::Error + * Lookup557: orml_authority::module::Error **/ OrmlAuthorityModuleError: { _enum: ['FailedToSchedule', 'FailedToCancel', 'FailedToFastTrack', 'FailedToDelay', 'CallNotAuthorized', 'TriggerCallNotPermitted', 'WrongCallWeightBound'] }, /** - * Lookup556: pallet_collective::Votes + * Lookup559: pallet_collective::Votes **/ PalletCollectiveVotes: { index: 'u32', @@ -6064,19 +6072,19 @@ export default { end: 'u32' }, /** - * Lookup557: pallet_collective::pallet::Error + * Lookup560: pallet_collective::pallet::Error **/ PalletCollectiveError: { _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember'] }, /** - * Lookup559: pallet_membership::pallet::Error + * Lookup562: pallet_membership::pallet::Error **/ PalletMembershipError: { _enum: ['AlreadyMember', 'NotMember', 'TooManyMembers'] }, /** - * Lookup570: pallet_democracy::types::ReferendumInfo, Balance> + * Lookup573: pallet_democracy::types::ReferendumInfo, Balance> **/ PalletDemocracyReferendumInfo: { _enum: { @@ -6088,7 +6096,7 @@ export default { } }, /** - * Lookup571: pallet_democracy::types::ReferendumStatus, Balance> + * Lookup574: pallet_democracy::types::ReferendumStatus, Balance> **/ PalletDemocracyReferendumStatus: { end: 'u32', @@ -6098,7 +6106,7 @@ export default { tally: 'PalletDemocracyTally' }, /** - * Lookup572: pallet_democracy::types::Tally + * Lookup575: pallet_democracy::types::Tally **/ PalletDemocracyTally: { ayes: 'u128', @@ -6106,7 +6114,7 @@ export default { turnout: 'u128' }, /** - * Lookup573: pallet_democracy::vote::Voting + * Lookup576: pallet_democracy::vote::Voting **/ PalletDemocracyVoteVoting: { _enum: { @@ -6125,41 +6133,41 @@ export default { } }, /** - * Lookup577: pallet_democracy::types::Delegations + * Lookup580: pallet_democracy::types::Delegations **/ PalletDemocracyDelegations: { votes: 'u128', capital: 'u128' }, /** - * Lookup578: pallet_democracy::vote::PriorLock + * Lookup581: pallet_democracy::vote::PriorLock **/ PalletDemocracyVotePriorLock: '(u32,u128)', /** - * Lookup581: pallet_democracy::pallet::Error + * Lookup584: pallet_democracy::pallet::Error **/ PalletDemocracyError: { _enum: ['ValueLow', 'ProposalMissing', 'AlreadyCanceled', 'DuplicateProposal', 'ProposalBlacklisted', 'NotSimpleMajority', 'InvalidHash', 'NoProposal', 'AlreadyVetoed', 'ReferendumInvalid', 'NoneWaiting', 'NotVoter', 'NoPermission', 'AlreadyDelegating', 'InsufficientFunds', 'NotDelegating', 'VotesExist', 'InstantNotAllowed', 'Nonsense', 'WrongUpperBound', 'MaxVotesReached', 'TooMany', 'VotingPeriodLow', 'PreimageNotExist'] }, /** - * Lookup582: orml_oracle::module::TimestampedValue + * Lookup585: orml_oracle::module::TimestampedValue **/ OrmlOracleModuleTimestampedValue: { value: 'u128', timestamp: 'u64' }, /** - * Lookup583: orml_utilities::ordered_set::OrderedSet + * Lookup586: orml_utilities::ordered_set::OrderedSet **/ OrmlUtilitiesOrderedSet: 'Vec', /** - * Lookup585: orml_oracle::module::Error + * Lookup588: orml_oracle::module::Error **/ OrmlOracleModuleError: { _enum: ['NoPermission', 'AlreadyFeeded'] }, /** - * Lookup588: orml_traits::auction::AuctionInfo + * Lookup591: orml_traits::auction::AuctionInfo **/ OrmlTraitsAuctionAuctionInfo: { bid: 'Option<(AccountId32,u128)>', @@ -6167,26 +6175,26 @@ export default { end: 'Option' }, /** - * Lookup589: orml_auction::module::Error + * Lookup592: orml_auction::module::Error **/ OrmlAuctionModuleError: { _enum: ['AuctionNotExist', 'AuctionNotStarted', 'BidNotAccepted', 'InvalidBidPrice', 'NoAvailableAuctionId'] }, /** - * Lookup590: orml_rewards::PoolInfo + * Lookup593: orml_rewards::PoolInfo **/ OrmlRewardsPoolInfo: { totalShares: 'u128', rewards: 'BTreeMap' }, /** - * Lookup598: orml_rewards::module::Error + * Lookup601: orml_rewards::module::Error **/ OrmlRewardsModuleError: { _enum: ['PoolDoesNotExist', 'ShareDoesNotExist', 'CanSplitOnlyLessThanShare', 'ShareBelowMinimal'] }, /** - * Lookup599: orml_nft::ClassInfo, bounded_collections::bounded_vec::BoundedVec> + * Lookup602: orml_nft::ClassInfo, bounded_collections::bounded_vec::BoundedVec> **/ OrmlNftClassInfo: { metadata: 'Bytes', @@ -6195,7 +6203,7 @@ export default { data: 'ModuleNftClassData' }, /** - * Lookup600: module_nft::ClassData + * Lookup603: module_nft::ClassData **/ ModuleNftClassData: { deposit: 'u128', @@ -6203,7 +6211,7 @@ export default { attributes: 'BTreeMap' }, /** - * Lookup602: orml_nft::TokenInfo, bounded_collections::bounded_vec::BoundedVec> + * Lookup605: orml_nft::TokenInfo, bounded_collections::bounded_vec::BoundedVec> **/ OrmlNftTokenInfo: { metadata: 'Bytes', @@ -6211,20 +6219,20 @@ export default { data: 'ModuleNftTokenData' }, /** - * Lookup603: module_nft::TokenData + * Lookup606: module_nft::TokenData **/ ModuleNftTokenData: { deposit: 'u128', attributes: 'BTreeMap' }, /** - * Lookup605: orml_nft::module::Error + * Lookup608: orml_nft::module::Error **/ OrmlNftModuleError: { _enum: ['NoAvailableClassId', 'NoAvailableTokenId', 'TokenNotFound', 'ClassNotFound', 'NoPermission', 'CannotDestroyClass', 'MaxMetadataExceeded'] }, /** - * Lookup606: acala_runtime::RuntimeParametersKey + * Lookup609: acala_runtime::RuntimeParametersKey **/ AcalaRuntimeRuntimeParametersKey: { _enum: { @@ -6232,13 +6240,13 @@ export default { } }, /** - * Lookup607: module_earning::ParametersKey + * Lookup610: module_earning::ParametersKey **/ ModuleEarningParametersKey: { _enum: ['InstantUnstakeFee'] }, /** - * Lookup608: acala_runtime::RuntimeParametersValue + * Lookup611: acala_runtime::RuntimeParametersValue **/ AcalaRuntimeRuntimeParametersValue: { _enum: { @@ -6246,7 +6254,7 @@ export default { } }, /** - * Lookup609: module_earning::ParametersValue + * Lookup612: module_earning::ParametersValue **/ ModuleEarningParametersValue: { _enum: { @@ -6254,17 +6262,17 @@ export default { } }, /** - * Lookup610: orml_parameters::module::Error + * Lookup613: orml_parameters::module::Error **/ OrmlParametersModuleError: 'Null', /** - * Lookup611: module_prices::module::Error + * Lookup614: module_prices::module::Error **/ ModulePricesModuleError: { _enum: ['AccessPriceFailed', 'NoLockedPrice'] }, /** - * Lookup612: module_dex::TradingPairStatus + * Lookup615: module_dex::TradingPairStatus **/ ModuleDexTradingPairStatus: { _enum: { @@ -6274,7 +6282,7 @@ export default { } }, /** - * Lookup613: module_dex::ProvisioningParameters + * Lookup616: module_dex::ProvisioningParameters **/ ModuleDexProvisioningParameters: { minContribution: '(u128,u128)', @@ -6283,25 +6291,25 @@ export default { notBefore: 'u32' }, /** - * Lookup616: module_dex::module::Error + * Lookup619: module_dex::module::Error **/ ModuleDexModuleError: { _enum: ['AlreadyEnabled', 'MustBeEnabled', 'MustBeProvisioning', 'MustBeDisabled', 'NotAllowedList', 'InvalidContributionIncrement', 'InvalidLiquidityIncrement', 'InvalidCurrencyId', 'InvalidTradingPathLength', 'InsufficientTargetAmount', 'ExcessiveSupplyAmount', 'InsufficientLiquidity', 'ZeroSupplyAmount', 'ZeroTargetAmount', 'UnacceptableShareIncrement', 'UnacceptableLiquidityWithdrawn', 'InvariantCheckFailed', 'UnqualifiedProvision', 'StillProvisioning', 'AssetUnregistered', 'InvalidTradingPath', 'NotAllowedRefund', 'CannotSwap'] }, /** - * Lookup621: module_dex_oracle::module::Error + * Lookup624: module_dex_oracle::module::Error **/ ModuleDexOracleModuleError: { _enum: ['AveragePriceAlreadyEnabled', 'AveragePriceMustBeEnabled', 'InvalidPool', 'InvalidCurrencyId', 'IntervalIsZero'] }, /** - * Lookup624: module_aggregated_dex::module::Error + * Lookup627: module_aggregated_dex::module::Error **/ ModuleAggregatedDexModuleError: { _enum: ['CannotSwap', 'InvalidPoolId', 'InvalidTokenIndex', 'InvalidSwapPath'] }, /** - * Lookup625: acala_primitives::bonding::ledger::BondingLedger + * Lookup628: acala_primitives::bonding::ledger::BondingLedger **/ AcalaPrimitivesBondingLedgerBondingLedger: { total: 'u128', @@ -6309,20 +6317,20 @@ export default { unlocking: 'Vec' }, /** - * Lookup627: acala_primitives::bonding::ledger::UnlockChunk + * Lookup630: acala_primitives::bonding::ledger::UnlockChunk **/ AcalaPrimitivesBondingLedgerUnlockChunk: { value: 'u128', unlockAt: 'u32' }, /** - * Lookup629: module_earning::module::Error + * Lookup632: module_earning::module::Error **/ ModuleEarningModuleError: { _enum: ['BelowMinBondThreshold', 'MaxUnlockChunksExceeded', 'NotBonded', 'NotAllowed'] }, /** - * Lookup630: module_auction_manager::CollateralAuctionItem + * Lookup633: module_auction_manager::CollateralAuctionItem **/ ModuleAuctionManagerCollateralAuctionItem: { refundRecipient: 'AccountId32', @@ -6333,38 +6341,38 @@ export default { startTime: 'u32' }, /** - * Lookup631: module_auction_manager::module::Error + * Lookup634: module_auction_manager::module::Error **/ ModuleAuctionManagerModuleError: { _enum: ['AuctionNotExists', 'InReverseStage', 'InvalidFeedPrice', 'MustAfterShutdown', 'InvalidBidPrice', 'InvalidAmount'] }, /** - * Lookup633: acala_primitives::Position + * Lookup636: acala_primitives::Position **/ AcalaPrimitivesPosition: { collateral: 'u128', debit: 'u128' }, /** - * Lookup634: module_loans::module::Error + * Lookup637: module_loans::module::Error **/ ModuleLoansModuleError: { _enum: ['AmountConvertFailed'] }, /** - * Lookup636: module_honzon::module::Error + * Lookup639: module_honzon::module::Error **/ ModuleHonzonModuleError: { _enum: ['NoPermission', 'AlreadyShutdown', 'AuthorizationNotExists', 'AlreadyAuthorized'] }, /** - * Lookup637: module_cdp_treasury::module::Error + * Lookup640: module_cdp_treasury::module::Error **/ ModuleCdpTreasuryModuleError: { _enum: ['CollateralNotEnough', 'SurplusPoolNotEnough', 'DebitPoolNotEnough', 'CannotSwap', 'NotDexShare'] }, /** - * Lookup638: module_cdp_engine::RiskManagementParams + * Lookup641: module_cdp_engine::RiskManagementParams **/ ModuleCdpEngineRiskManagementParams: { maximumTotalDebitValue: 'u128', @@ -6374,38 +6382,38 @@ export default { requiredCollateralRatio: 'Option' }, /** - * Lookup643: module_cdp_engine::module::Error + * Lookup646: module_cdp_engine::module::Error **/ ModuleCdpEngineModuleError: { _enum: ['ExceedDebitValueHardCap', 'BelowRequiredCollateralRatio', 'BelowLiquidationRatio', 'MustBeUnsafe', 'MustBeSafe', 'InvalidCollateralType', 'RemainDebitValueTooSmall', 'CollateralAmountBelowMinimum', 'InvalidFeedPrice', 'NoDebitValue', 'AlreadyShutdown', 'MustAfterShutdown', 'CollateralNotEnough', 'NotEnoughDebitDecrement', 'ConvertDebitBalanceFailed', 'LiquidationFailed', 'TooManyLiquidationContracts', 'CollateralContractNotFound', 'InvalidRate'] }, /** - * Lookup644: module_emergency_shutdown::module::Error + * Lookup647: module_emergency_shutdown::module::Error **/ ModuleEmergencyShutdownModuleError: { _enum: ['AlreadyShutdown', 'MustAfterShutdown', 'CanNotRefund', 'ExistPotentialSurplus', 'ExistUnhandledDebit'] }, /** - * Lookup645: module_homa::module::StakingLedger + * Lookup648: module_homa::module::StakingLedger **/ ModuleHomaModuleStakingLedger: { bonded: 'Compact', unlocking: 'Vec' }, /** - * Lookup649: module_homa::module::Error + * Lookup652: module_homa::module::Error **/ ModuleHomaModuleError: { _enum: ['BelowMintThreshold', 'BelowRedeemThreshold', 'ExceededStakingCurrencySoftCap', 'InsufficientUnclaimedRedemption', 'OutdatedEraIndex', 'FastMatchIsNotAllowed', 'CannotCompletelyFastMatch', 'InvalidRate', 'InvalidLastEraBumpedBlock'] }, /** - * Lookup651: module_xcm_interface::module::Error + * Lookup654: module_xcm_interface::module::Error **/ ModuleXcmInterfaceModuleError: { _enum: ['XcmFailed'] }, /** - * Lookup653: module_homa_validator_list::Guarantee + * Lookup656: module_homa_validator_list::Guarantee **/ ModuleHomaValidatorListGuarantee: { total: 'u128', @@ -6413,51 +6421,51 @@ export default { unbonding: 'Option<(u128,u32)>' }, /** - * Lookup656: module_homa_validator_list::ValidatorBacking + * Lookup659: module_homa_validator_list::ValidatorBacking **/ ModuleHomaValidatorListValidatorBacking: { totalInsurance: 'u128', isFrozen: 'bool' }, /** - * Lookup657: module_homa_validator_list::module::Error + * Lookup660: module_homa_validator_list::module::Error **/ ModuleHomaValidatorListModuleError: { _enum: ['BelowMinBondAmount', 'UnbondingExists', 'FrozenValidator'] }, /** - * Lookup660: module_nominees_election::module::Error + * Lookup663: module_nominees_election::module::Error **/ ModuleNomineesElectionModuleError: { _enum: ['BelowMinBondThreshold', 'InvalidTargetsLength', 'MaxUnlockChunksExceeded', 'InvalidNominee', 'NominateesCountExceeded', 'NotBonded'] }, /** - * Lookup662: module_incentives::module::Error + * Lookup665: module_incentives::module::Error **/ ModuleIncentivesModuleError: { _enum: ['NotEnough', 'InvalidCurrencyId', 'InvalidPoolId', 'InvalidRate'] }, /** - * Lookup663: module_nft::module::Error + * Lookup666: module_nft::module::Error **/ ModuleNftModuleError: { _enum: ['ClassIdNotFound', 'TokenIdNotFound', 'NoPermission', 'InvalidQuantity', 'NonTransferable', 'NonBurnable', 'NonMintable', 'CannotDestroyClass', 'Immutable', 'AttributesTooLarge', 'IncorrectTokenId'] }, /** - * Lookup664: module_asset_registry::module::Error + * Lookup667: module_asset_registry::module::Error **/ ModuleAssetRegistryModuleError: { _enum: ['BadLocation', 'LocationExisted', 'AssetIdNotExists', 'AssetIdExisted'] }, /** - * Lookup665: module_evm::module::AccountInfo + * Lookup668: module_evm::module::AccountInfo **/ ModuleEvmModuleAccountInfo: { nonce: 'u32', contractInfo: 'Option' }, /** - * Lookup667: module_evm::module::ContractInfo + * Lookup670: module_evm::module::ContractInfo **/ ModuleEvmModuleContractInfo: { codeHash: 'H256', @@ -6465,32 +6473,32 @@ export default { published: 'bool' }, /** - * Lookup670: module_evm::module::CodeInfo + * Lookup673: module_evm::module::CodeInfo **/ ModuleEvmModuleCodeInfo: { codeSize: 'u32', refCount: 'u32' }, /** - * Lookup671: module_evm::module::Error + * Lookup674: module_evm::module::Error **/ ModuleEvmModuleError: { _enum: ['AddressNotMapped', 'ContractNotFound', 'NoPermission', 'ContractDevelopmentNotEnabled', 'ContractDevelopmentAlreadyEnabled', 'ContractAlreadyPublished', 'ContractExceedsMaxCodeSize', 'ContractAlreadyExisted', 'OutOfStorage', 'ChargeFeeFailed', 'CannotKillContract', 'ReserveStorageFailed', 'UnreserveStorageFailed', 'ChargeStorageFailed', 'InvalidDecimals', 'StrictCallFailed', 'NotEOA'] }, /** - * Lookup672: module_evm_bridge::module::Error + * Lookup675: module_evm_bridge::module::Error **/ ModuleEvmBridgeModuleError: { _enum: ['ExecutionFail', 'ExecutionRevert', 'ExecutionFatal', 'ExecutionError', 'InvalidReturnValue'] }, /** - * Lookup673: module_evm_accounts::module::Error + * Lookup676: module_evm_accounts::module::Error **/ ModuleEvmAccountsModuleError: { _enum: ['AccountIdHasMapped', 'EthAddressHasMapped', 'BadSignature', 'InvalidSignature', 'NonZeroRefCount'] }, /** - * Lookup674: nutsfinance_stable_asset::StableAssetPoolInfo + * Lookup677: nutsfinance_stable_asset::StableAssetPoolInfo **/ NutsfinanceStableAssetStableAssetPoolInfo: { poolAsset: 'AcalaPrimitivesCurrencyCurrencyId', @@ -6511,21 +6519,21 @@ export default { precision: 'u128' }, /** - * Lookup675: nutsfinance_stable_asset::pallet::Error + * Lookup678: nutsfinance_stable_asset::pallet::Error **/ NutsfinanceStableAssetError: { _enum: ['InconsistentStorage', 'InvalidPoolAsset', 'ArgumentsMismatch', 'ArgumentsError', 'PoolNotFound', 'Math', 'InvalidPoolValue', 'MintUnderMin', 'SwapUnderMin', 'RedeemUnderMin', 'RedeemOverMax'] }, /** - * Lookup677: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + * Lookup680: cumulus_pallet_parachain_system::unincluded_segment::Ancestor **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', paraHeadHash: 'Option', - consumedGoAheadSignal: 'Option' + consumedGoAheadSignal: 'Option' }, /** - * Lookup678: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + * Lookup681: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: 'u32', @@ -6533,52 +6541,52 @@ export default { hrmpOutgoing: 'BTreeMap' }, /** - * Lookup680: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + * Lookup683: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: 'u32', totalBytes: 'u32' }, /** - * Lookup684: polkadot_primitives::v6::UpgradeGoAhead + * Lookup687: polkadot_primitives::v7::UpgradeGoAhead **/ - PolkadotPrimitivesV6UpgradeGoAhead: { + PolkadotPrimitivesV7UpgradeGoAhead: { _enum: ['Abort', 'GoAhead'] }, /** - * Lookup685: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + * Lookup688: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', hrmpWatermark: 'Option', - consumedGoAheadSignal: 'Option' + consumedGoAheadSignal: 'Option' }, /** - * Lookup687: polkadot_primitives::v6::UpgradeRestriction + * Lookup690: polkadot_primitives::v7::UpgradeRestriction **/ - PolkadotPrimitivesV6UpgradeRestriction: { + PolkadotPrimitivesV7UpgradeRestriction: { _enum: ['Present'] }, /** - * Lookup688: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + * Lookup691: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: 'H256', relayDispatchQueueRemainingCapacity: 'CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity', - ingressChannels: 'Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>', - egressChannels: 'Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>' + ingressChannels: 'Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>', + egressChannels: 'Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>' }, /** - * Lookup689: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + * Lookup692: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: 'u32', remainingSize: 'u32' }, /** - * Lookup692: polkadot_primitives::v6::AbridgedHrmpChannel + * Lookup695: polkadot_primitives::v7::AbridgedHrmpChannel **/ - PolkadotPrimitivesV6AbridgedHrmpChannel: { + PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: 'u32', maxTotalSize: 'u32', maxMessageSize: 'u32', @@ -6587,9 +6595,9 @@ export default { mqcHead: 'Option' }, /** - * Lookup693: polkadot_primitives::v6::AbridgedHostConfiguration + * Lookup696: polkadot_primitives::v7::AbridgedHostConfiguration **/ - PolkadotPrimitivesV6AbridgedHostConfiguration: { + PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: 'u32', maxHeadDataSize: 'u32', maxUpwardQueueCount: 'u32', @@ -6599,100 +6607,100 @@ export default { hrmpMaxMessageNumPerCandidate: 'u32', validationUpgradeCooldown: 'u32', validationUpgradeDelay: 'u32', - asyncBackingParams: 'PolkadotPrimitivesV6AsyncBackingAsyncBackingParams' + asyncBackingParams: 'PolkadotPrimitivesV7AsyncBackingAsyncBackingParams' }, /** - * Lookup694: polkadot_primitives::v6::async_backing::AsyncBackingParams + * Lookup697: polkadot_primitives::v7::async_backing::AsyncBackingParams **/ - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: { + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: 'u32', allowedAncestryLen: 'u32' }, /** - * Lookup700: polkadot_core_primitives::OutboundHrmpMessage + * Lookup703: polkadot_core_primitives::OutboundHrmpMessage **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: 'u32', data: 'Bytes' }, /** - * Lookup701: cumulus_pallet_parachain_system::pallet::Error + * Lookup704: cumulus_pallet_parachain_system::pallet::Error **/ CumulusPalletParachainSystemError: { _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup702: pallet_sudo::pallet::Error + * Lookup705: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup705: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + * Lookup708: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender **/ FrameSystemExtensionsCheckNonZeroSender: 'Null', /** - * Lookup706: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup709: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup707: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup710: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup708: frame_system::extensions::check_genesis::CheckGenesis + * Lookup711: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup711: runtime_common::check_nonce::CheckNonce + * Lookup714: runtime_common::check_nonce::CheckNonce **/ RuntimeCommonCheckNonce: { nonce: 'Compact' }, /** - * Lookup712: frame_system::extensions::check_weight::CheckWeight + * Lookup715: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup713: module_evm::SetEvmOrigin + * Lookup716: frame_metadata_hash_extension::CheckMetadataHash + **/ + FrameMetadataHashExtensionCheckMetadataHash: { + mode: 'FrameMetadataHashExtensionMode' + }, + /** + * Lookup717: frame_metadata_hash_extension::Mode + **/ + FrameMetadataHashExtensionMode: { + _enum: ['Disabled', 'Enabled'] + }, + /** + * Lookup718: module_evm::SetEvmOrigin **/ ModuleEvmSetEvmOrigin: 'Null', /** - * Lookup714: module_transaction_payment::ChargeTransactionPayment + * Lookup719: module_transaction_payment::ChargeTransactionPayment **/ ModuleTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup715: acala_runtime::StorageDepositPerByte + * Lookup720: acala_runtime::StorageDepositPerByte **/ AcalaRuntimeStorageDepositPerByte: 'Null', /** - * Lookup716: acala_runtime::TxFeePerGas + * Lookup721: acala_runtime::TxFeePerGas **/ AcalaRuntimeTxFeePerGas: 'Null', /** - * Lookup718: acala_primitives::signature::AcalaMultiSignature + * Lookup723: acala_primitives::signature::AcalaMultiSignature **/ AcalaPrimitivesSignatureAcalaMultiSignature: { _enum: { - Ed25519: 'SpCoreEd25519Signature', - Sr25519: 'SpCoreSr25519Signature', - Ecdsa: 'SpCoreEcdsaSignature', + Ed25519: '[u8;64]', + Sr25519: '[u8;64]', + Ecdsa: '[u8;65]', Ethereum: '[u8;65]', Eip1559: '[u8;65]', AcalaEip712: '[u8;65]', Eip2930: '[u8;65]' } - }, - /** - * Lookup719: sp_core::ed25519::Signature - **/ - SpCoreEd25519Signature: '[u8;64]', - /** - * Lookup721: sp_core::sr25519::Signature - **/ - SpCoreSr25519Signature: '[u8;64]', - /** - * Lookup722: sp_core::ecdsa::Signature - **/ - SpCoreEcdsaSignature: '[u8;65]' + } }; diff --git a/packages/types/src/interfaces/registry.ts b/packages/types/src/interfaces/registry.ts index 73e5398..14d5535 100644 --- a/packages/types/src/interfaces/registry.ts +++ b/packages/types/src/interfaces/registry.ts @@ -5,7 +5,7 @@ // this is required to allow for ambient/previous definitions import '@polkadot/types/types/registry'; -import type { AcalaPrimitivesAuthoritysOriginId, AcalaPrimitivesBondingLedgerBondingLedger, AcalaPrimitivesBondingLedgerUnlockChunk, AcalaPrimitivesCurrencyAssetIds, AcalaPrimitivesCurrencyAssetMetadata, AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyDexShare, AcalaPrimitivesCurrencyTokenSymbol, AcalaPrimitivesNftClassProperty, AcalaPrimitivesPosition, AcalaPrimitivesReserveIdentifier, AcalaPrimitivesSignatureAcalaMultiSignature, AcalaPrimitivesTradingPair, AcalaRuntimeOriginCaller, AcalaRuntimeRuntime, AcalaRuntimeRuntimeHoldReason, AcalaRuntimeRuntimeParameters, AcalaRuntimeRuntimeParametersKey, AcalaRuntimeRuntimeParametersValue, AcalaRuntimeScheduledTasks, AcalaRuntimeSessionKeys, AcalaRuntimeStorageDepositPerByte, AcalaRuntimeTxFeePerGas, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionAccessListItem, EthereumTransactionTransactionAction, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonZeroSender, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, ModuleAggregatedDexModuleCall, ModuleAggregatedDexModuleError, ModuleAssetRegistryModuleCall, ModuleAssetRegistryModuleError, ModuleAssetRegistryModuleEvent, ModuleAuctionManagerCollateralAuctionItem, ModuleAuctionManagerModuleCall, ModuleAuctionManagerModuleError, ModuleAuctionManagerModuleEvent, ModuleCdpEngineModuleCall, ModuleCdpEngineModuleError, ModuleCdpEngineModuleEvent, ModuleCdpEngineRiskManagementParams, ModuleCdpTreasuryModuleCall, ModuleCdpTreasuryModuleError, ModuleCdpTreasuryModuleEvent, ModuleCollatorSelectionCall, ModuleCollatorSelectionError, ModuleCollatorSelectionEvent, ModuleCurrenciesModuleCall, ModuleCurrenciesModuleError, ModuleCurrenciesModuleEvent, ModuleDexModuleCall, ModuleDexModuleError, ModuleDexModuleEvent, ModuleDexOracleModuleCall, ModuleDexOracleModuleError, ModuleDexProvisioningParameters, ModuleDexTradingPairStatus, ModuleEarningInstantUnstakeFee, ModuleEarningModuleCall, ModuleEarningModuleError, ModuleEarningModuleEvent, ModuleEarningParameters, ModuleEarningParametersKey, ModuleEarningParametersValue, ModuleEmergencyShutdownModuleCall, ModuleEmergencyShutdownModuleError, ModuleEmergencyShutdownModuleEvent, ModuleEvmAccountsModuleCall, ModuleEvmAccountsModuleError, ModuleEvmAccountsModuleEvent, ModuleEvmBridgeModuleError, ModuleEvmEvmTask, ModuleEvmModuleAccountInfo, ModuleEvmModuleCall, ModuleEvmModuleCodeInfo, ModuleEvmModuleContractInfo, ModuleEvmModuleError, ModuleEvmModuleEvent, ModuleEvmSetEvmOrigin, ModuleHomaModuleCall, ModuleHomaModuleError, ModuleHomaModuleEvent, ModuleHomaModuleStakingLedger, ModuleHomaModuleUnlockChunk, ModuleHomaValidatorListGuarantee, ModuleHomaValidatorListModuleCall, ModuleHomaValidatorListModuleError, ModuleHomaValidatorListModuleEvent, ModuleHomaValidatorListSlashInfo, ModuleHomaValidatorListValidatorBacking, ModuleHonzonModuleCall, ModuleHonzonModuleError, ModuleHonzonModuleEvent, ModuleIdleSchedulerModuleCall, ModuleIdleSchedulerModuleEvent, ModuleIncentivesModuleCall, ModuleIncentivesModuleError, ModuleIncentivesModuleEvent, ModuleLiquidCrowdloanModuleCall, ModuleLiquidCrowdloanModuleEvent, ModuleLoansModuleCall, ModuleLoansModuleError, ModuleLoansModuleEvent, ModuleNftClassData, ModuleNftModuleCall, ModuleNftModuleError, ModuleNftModuleEvent, ModuleNftTokenData, ModuleNomineesElectionModuleCall, ModuleNomineesElectionModuleError, ModuleNomineesElectionModuleEvent, ModulePricesModuleCall, ModulePricesModuleError, ModulePricesModuleEvent, ModuleSessionManagerModuleCall, ModuleSessionManagerModuleError, ModuleSessionManagerModuleEvent, ModuleSupportDexAggregatedSwapPath, ModuleSupportDexSwapLimit, ModuleSupportIncentivesPoolId, ModuleTransactionPauseModuleCall, ModuleTransactionPauseModuleError, ModuleTransactionPauseModuleEvent, ModuleTransactionPaymentChargeTransactionPayment, ModuleTransactionPaymentModuleCall, ModuleTransactionPaymentModuleChargeFeeMethod, ModuleTransactionPaymentModuleError, ModuleTransactionPaymentModuleEvent, ModuleXcmInterfaceModuleCall, ModuleXcmInterfaceModuleError, ModuleXcmInterfaceModuleEvent, ModuleXcmInterfaceModuleXcmInterfaceOperation, NutsfinanceStableAssetCall, NutsfinanceStableAssetError, NutsfinanceStableAssetEvent, NutsfinanceStableAssetStableAssetPoolInfo, OrmlAuctionModuleCall, OrmlAuctionModuleError, OrmlAuctionModuleEvent, OrmlAuthorityDelayedOrigin, OrmlAuthorityModuleCall, OrmlAuthorityModuleError, OrmlAuthorityModuleEvent, OrmlNftClassInfo, OrmlNftModuleError, OrmlNftTokenInfo, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlParametersModuleCall, OrmlParametersModuleError, OrmlParametersModuleEvent, OrmlRewardsModuleError, OrmlRewardsPoolInfo, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlTraitsAuctionAuctionInfo, OrmlTraitsChangeOption, OrmlTraitsChangeU128, OrmlUnknownTokensModuleError, OrmlUnknownTokensModuleEvent, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXcmModuleCall, OrmlXcmModuleError, OrmlXcmModuleEvent, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesIdAmount, PalletBalancesReasons, PalletBalancesReserveData, PalletBountiesBounty, PalletBountiesBountyStatus, PalletBountiesCall, PalletBountiesError, PalletBountiesEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletMultisigCall, PalletMultisigError, PalletMultisigEvent, PalletMultisigMultisig, PalletMultisigTimepoint, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyCall, PalletProxyError, PalletProxyEvent, PalletProxyProxyDefinition, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTipsCall, PalletTipsError, PalletTipsEvent, PalletTipsOpenTip, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV6AbridgedHostConfiguration, PolkadotPrimitivesV6AbridgedHrmpChannel, PolkadotPrimitivesV6AsyncBackingAsyncBackingParams, PolkadotPrimitivesV6PersistedValidationData, PolkadotPrimitivesV6UpgradeGoAhead, PolkadotPrimitivesV6UpgradeRestriction, RuntimeCommonCheckNonce, RuntimeCommonProxyType, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup'; +import type { AcalaPrimitivesAuthoritysOriginId, AcalaPrimitivesBondingLedgerBondingLedger, AcalaPrimitivesBondingLedgerUnlockChunk, AcalaPrimitivesCurrencyAssetIds, AcalaPrimitivesCurrencyAssetMetadata, AcalaPrimitivesCurrencyCurrencyId, AcalaPrimitivesCurrencyDexShare, AcalaPrimitivesCurrencyTokenSymbol, AcalaPrimitivesNftClassProperty, AcalaPrimitivesPosition, AcalaPrimitivesReserveIdentifier, AcalaPrimitivesSignatureAcalaMultiSignature, AcalaPrimitivesTradingPair, AcalaRuntimeOriginCaller, AcalaRuntimeRuntime, AcalaRuntimeRuntimeHoldReason, AcalaRuntimeRuntimeParameters, AcalaRuntimeRuntimeParametersKey, AcalaRuntimeRuntimeParametersValue, AcalaRuntimeScheduledTasks, AcalaRuntimeSessionKeys, AcalaRuntimeStorageDepositPerByte, AcalaRuntimeTxFeePerGas, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity, CumulusPalletParachainSystemUnincludedSegmentAncestor, CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate, CumulusPalletParachainSystemUnincludedSegmentSegmentTracker, CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth, CumulusPalletXcmEvent, CumulusPalletXcmOrigin, CumulusPalletXcmpQueueCall, CumulusPalletXcmpQueueError, CumulusPalletXcmpQueueEvent, CumulusPalletXcmpQueueOutboundChannelDetails, CumulusPalletXcmpQueueOutboundState, CumulusPalletXcmpQueueQueueConfigData, CumulusPrimitivesCoreAggregateMessageOrigin, CumulusPrimitivesParachainInherentParachainInherentData, EthereumLog, EthereumTransactionAccessListItem, EthereumTransactionTransactionAction, EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, FrameMetadataHashExtensionCheckMetadataHash, FrameMetadataHashExtensionMode, FrameSupportDispatchDispatchClass, FrameSupportDispatchDispatchInfo, FrameSupportDispatchPays, FrameSupportDispatchPerDispatchClassU32, FrameSupportDispatchPerDispatchClassWeight, FrameSupportDispatchPerDispatchClassWeightsPerClass, FrameSupportDispatchRawOrigin, FrameSupportMessagesProcessMessageError, FrameSupportPalletId, FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscBalanceStatus, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCall, FrameSystemCodeUpgradeAuthorization, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonZeroSender, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, ModuleAggregatedDexModuleCall, ModuleAggregatedDexModuleError, ModuleAssetRegistryModuleCall, ModuleAssetRegistryModuleError, ModuleAssetRegistryModuleEvent, ModuleAuctionManagerCollateralAuctionItem, ModuleAuctionManagerModuleCall, ModuleAuctionManagerModuleError, ModuleAuctionManagerModuleEvent, ModuleCdpEngineModuleCall, ModuleCdpEngineModuleError, ModuleCdpEngineModuleEvent, ModuleCdpEngineRiskManagementParams, ModuleCdpTreasuryModuleCall, ModuleCdpTreasuryModuleError, ModuleCdpTreasuryModuleEvent, ModuleCollatorSelectionCall, ModuleCollatorSelectionError, ModuleCollatorSelectionEvent, ModuleCurrenciesModuleCall, ModuleCurrenciesModuleError, ModuleCurrenciesModuleEvent, ModuleDexModuleCall, ModuleDexModuleError, ModuleDexModuleEvent, ModuleDexOracleModuleCall, ModuleDexOracleModuleError, ModuleDexProvisioningParameters, ModuleDexTradingPairStatus, ModuleEarningInstantUnstakeFee, ModuleEarningModuleCall, ModuleEarningModuleError, ModuleEarningModuleEvent, ModuleEarningParameters, ModuleEarningParametersKey, ModuleEarningParametersValue, ModuleEmergencyShutdownModuleCall, ModuleEmergencyShutdownModuleError, ModuleEmergencyShutdownModuleEvent, ModuleEvmAccountsModuleCall, ModuleEvmAccountsModuleError, ModuleEvmAccountsModuleEvent, ModuleEvmBridgeModuleError, ModuleEvmEvmTask, ModuleEvmModuleAccountInfo, ModuleEvmModuleCall, ModuleEvmModuleCodeInfo, ModuleEvmModuleContractInfo, ModuleEvmModuleError, ModuleEvmModuleEvent, ModuleEvmSetEvmOrigin, ModuleHomaModuleCall, ModuleHomaModuleError, ModuleHomaModuleEvent, ModuleHomaModuleStakingLedger, ModuleHomaModuleUnlockChunk, ModuleHomaValidatorListGuarantee, ModuleHomaValidatorListModuleCall, ModuleHomaValidatorListModuleError, ModuleHomaValidatorListModuleEvent, ModuleHomaValidatorListSlashInfo, ModuleHomaValidatorListValidatorBacking, ModuleHonzonModuleCall, ModuleHonzonModuleError, ModuleHonzonModuleEvent, ModuleIdleSchedulerModuleCall, ModuleIdleSchedulerModuleEvent, ModuleIncentivesModuleCall, ModuleIncentivesModuleError, ModuleIncentivesModuleEvent, ModuleLiquidCrowdloanModuleCall, ModuleLiquidCrowdloanModuleEvent, ModuleLoansModuleCall, ModuleLoansModuleError, ModuleLoansModuleEvent, ModuleNftClassData, ModuleNftModuleCall, ModuleNftModuleError, ModuleNftModuleEvent, ModuleNftTokenData, ModuleNomineesElectionModuleCall, ModuleNomineesElectionModuleError, ModuleNomineesElectionModuleEvent, ModulePricesModuleCall, ModulePricesModuleError, ModulePricesModuleEvent, ModuleSessionManagerModuleCall, ModuleSessionManagerModuleError, ModuleSessionManagerModuleEvent, ModuleSupportDexAggregatedSwapPath, ModuleSupportDexSwapLimit, ModuleSupportIncentivesPoolId, ModuleTransactionPauseModuleCall, ModuleTransactionPauseModuleError, ModuleTransactionPauseModuleEvent, ModuleTransactionPaymentChargeTransactionPayment, ModuleTransactionPaymentModuleCall, ModuleTransactionPaymentModuleChargeFeeMethod, ModuleTransactionPaymentModuleError, ModuleTransactionPaymentModuleEvent, ModuleXcmInterfaceModuleCall, ModuleXcmInterfaceModuleError, ModuleXcmInterfaceModuleEvent, ModuleXcmInterfaceModuleXcmInterfaceOperation, NutsfinanceStableAssetCall, NutsfinanceStableAssetError, NutsfinanceStableAssetEvent, NutsfinanceStableAssetStableAssetPoolInfo, OrmlAuctionModuleCall, OrmlAuctionModuleError, OrmlAuctionModuleEvent, OrmlAuthorityDelayedOrigin, OrmlAuthorityModuleCall, OrmlAuthorityModuleError, OrmlAuthorityModuleEvent, OrmlNftClassInfo, OrmlNftModuleError, OrmlNftTokenInfo, OrmlOracleModuleCall, OrmlOracleModuleError, OrmlOracleModuleEvent, OrmlOracleModuleTimestampedValue, OrmlParametersModuleCall, OrmlParametersModuleError, OrmlParametersModuleEvent, OrmlRewardsModuleError, OrmlRewardsPoolInfo, OrmlTokensAccountData, OrmlTokensBalanceLock, OrmlTokensModuleError, OrmlTokensModuleEvent, OrmlTokensReserveData, OrmlTraitsAuctionAuctionInfo, OrmlTraitsChangeOption, OrmlTraitsChangeU128, OrmlUnknownTokensModuleError, OrmlUnknownTokensModuleEvent, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, OrmlXcmModuleCall, OrmlXcmModuleError, OrmlXcmModuleEvent, OrmlXtokensModuleCall, OrmlXtokensModuleError, OrmlXtokensModuleEvent, PalletBalancesAccountData, PalletBalancesAdjustmentDirection, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReserveData, PalletBountiesBounty, PalletBountiesBountyStatus, PalletBountiesCall, PalletBountiesError, PalletBountiesEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMembershipCall, PalletMembershipError, PalletMembershipEvent, PalletMessageQueueBookState, PalletMessageQueueCall, PalletMessageQueueError, PalletMessageQueueEvent, PalletMessageQueueNeighbours, PalletMessageQueuePage, PalletMultisigCall, PalletMultisigError, PalletMultisigEvent, PalletMultisigMultisig, PalletMultisigTimepoint, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageHoldReason, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyCall, PalletProxyError, PalletProxyEvent, PalletProxyProxyDefinition, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTipsCall, PalletTipsError, PalletTipsEvent, PalletTipsOpenTip, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryPaymentState, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PalletXcmCall, PalletXcmError, PalletXcmEvent, PalletXcmOrigin, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV7AbridgedHostConfiguration, PolkadotPrimitivesV7AbridgedHrmpChannel, PolkadotPrimitivesV7AsyncBackingAsyncBackingParams, PolkadotPrimitivesV7PersistedValidationData, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, RuntimeCommonCheckNonce, RuntimeCommonProxyType, SpArithmeticArithmeticError, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreVoid, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeModuleError, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV3MultiLocation, StagingXcmV4Asset, StagingXcmV4AssetAssetFilter, StagingXcmV4AssetAssetId, StagingXcmV4AssetAssetInstance, StagingXcmV4AssetAssets, StagingXcmV4AssetFungibility, StagingXcmV4AssetWildAsset, StagingXcmV4AssetWildFungibility, StagingXcmV4Instruction, StagingXcmV4Junction, StagingXcmV4JunctionNetworkId, StagingXcmV4Junctions, StagingXcmV4Location, StagingXcmV4PalletInfo, StagingXcmV4QueryResponseInfo, StagingXcmV4Response, StagingXcmV4TraitsOutcome, StagingXcmV4Xcm, XcmDoubleEncoded, XcmV2BodyId, XcmV2BodyPart, XcmV2Instruction, XcmV2Junction, XcmV2MultiAsset, XcmV2MultiLocation, XcmV2MultiassetAssetId, XcmV2MultiassetAssetInstance, XcmV2MultiassetFungibility, XcmV2MultiassetMultiAssetFilter, XcmV2MultiassetMultiAssets, XcmV2MultiassetWildFungibility, XcmV2MultiassetWildMultiAsset, XcmV2MultilocationJunctions, XcmV2NetworkId, XcmV2OriginKind, XcmV2Response, XcmV2TraitsError, XcmV2WeightLimit, XcmV2Xcm, XcmV3Instruction, XcmV3Junction, XcmV3JunctionBodyId, XcmV3JunctionBodyPart, XcmV3JunctionNetworkId, XcmV3Junctions, XcmV3MaybeErrorCode, XcmV3MultiAsset, XcmV3MultiassetAssetId, XcmV3MultiassetAssetInstance, XcmV3MultiassetFungibility, XcmV3MultiassetMultiAssetFilter, XcmV3MultiassetMultiAssets, XcmV3MultiassetWildFungibility, XcmV3MultiassetWildMultiAsset, XcmV3OriginKind, XcmV3PalletInfo, XcmV3QueryResponseInfo, XcmV3Response, XcmV3TraitsError, XcmV3WeightLimit, XcmV3Xcm, XcmVersionedAsset, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, XcmVersionedXcm } from '@polkadot/types/lookup'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -59,6 +59,8 @@ declare module '@polkadot/types/types/registry' { EvmCoreErrorExitReason: EvmCoreErrorExitReason; EvmCoreErrorExitRevert: EvmCoreErrorExitRevert; EvmCoreErrorExitSucceed: EvmCoreErrorExitSucceed; + FrameMetadataHashExtensionCheckMetadataHash: FrameMetadataHashExtensionCheckMetadataHash; + FrameMetadataHashExtensionMode: FrameMetadataHashExtensionMode; FrameSupportDispatchDispatchClass: FrameSupportDispatchDispatchClass; FrameSupportDispatchDispatchInfo: FrameSupportDispatchDispatchInfo; FrameSupportDispatchPays: FrameSupportDispatchPays; @@ -71,6 +73,7 @@ declare module '@polkadot/types/types/registry' { FrameSupportPreimagesBounded: FrameSupportPreimagesBounded; FrameSupportScheduleDispatchTime: FrameSupportScheduleDispatchTime; FrameSupportTokensMiscBalanceStatus: FrameSupportTokensMiscBalanceStatus; + FrameSupportTokensMiscIdAmount: FrameSupportTokensMiscIdAmount; FrameSystemAccountInfo: FrameSystemAccountInfo; FrameSystemCall: FrameSystemCall; FrameSystemCodeUpgradeAuthorization: FrameSystemCodeUpgradeAuthorization; @@ -241,7 +244,6 @@ declare module '@polkadot/types/types/registry' { PalletBalancesCall: PalletBalancesCall; PalletBalancesError: PalletBalancesError; PalletBalancesEvent: PalletBalancesEvent; - PalletBalancesIdAmount: PalletBalancesIdAmount; PalletBalancesReasons: PalletBalancesReasons; PalletBalancesReserveData: PalletBalancesReserveData; PalletBountiesBounty: PalletBountiesBounty; @@ -327,21 +329,17 @@ declare module '@polkadot/types/types/registry' { PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage; PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage; PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage; - PolkadotPrimitivesV6AbridgedHostConfiguration: PolkadotPrimitivesV6AbridgedHostConfiguration; - PolkadotPrimitivesV6AbridgedHrmpChannel: PolkadotPrimitivesV6AbridgedHrmpChannel; - PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; - PolkadotPrimitivesV6PersistedValidationData: PolkadotPrimitivesV6PersistedValidationData; - PolkadotPrimitivesV6UpgradeGoAhead: PolkadotPrimitivesV6UpgradeGoAhead; - PolkadotPrimitivesV6UpgradeRestriction: PolkadotPrimitivesV6UpgradeRestriction; + PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration; + PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel; + PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; + PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData; + PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead; + PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction; RuntimeCommonCheckNonce: RuntimeCommonCheckNonce; RuntimeCommonProxyType: RuntimeCommonProxyType; SpArithmeticArithmeticError: SpArithmeticArithmeticError; SpConsensusAuraSr25519AppSr25519Public: SpConsensusAuraSr25519AppSr25519Public; SpCoreCryptoKeyTypeId: SpCoreCryptoKeyTypeId; - SpCoreEcdsaSignature: SpCoreEcdsaSignature; - SpCoreEd25519Signature: SpCoreEd25519Signature; - SpCoreSr25519Public: SpCoreSr25519Public; - SpCoreSr25519Signature: SpCoreSr25519Signature; SpCoreVoid: SpCoreVoid; SpRuntimeBlakeTwo256: SpRuntimeBlakeTwo256; SpRuntimeDigest: SpRuntimeDigest; @@ -354,6 +352,7 @@ declare module '@polkadot/types/types/registry' { SpVersionRuntimeVersion: SpVersionRuntimeVersion; SpWeightsRuntimeDbWeight: SpWeightsRuntimeDbWeight; SpWeightsWeightV2Weight: SpWeightsWeightV2Weight; + StagingXcmExecutorAssetTransferTransferType: StagingXcmExecutorAssetTransferTransferType; StagingXcmV3MultiLocation: StagingXcmV3MultiLocation; StagingXcmV4Asset: StagingXcmV4Asset; StagingXcmV4AssetAssetFilter: StagingXcmV4AssetAssetFilter; @@ -409,6 +408,7 @@ declare module '@polkadot/types/types/registry' { XcmV3MultiassetMultiAssets: XcmV3MultiassetMultiAssets; XcmV3MultiassetWildFungibility: XcmV3MultiassetWildFungibility; XcmV3MultiassetWildMultiAsset: XcmV3MultiassetWildMultiAsset; + XcmV3OriginKind: XcmV3OriginKind; XcmV3PalletInfo: XcmV3PalletInfo; XcmV3QueryResponseInfo: XcmV3QueryResponseInfo; XcmV3Response: XcmV3Response; diff --git a/packages/types/src/interfaces/types-lookup.ts b/packages/types/src/interfaces/types-lookup.ts index dd8db46..731fcbe 100644 --- a/packages/types/src/interfaces/types-lookup.ts +++ b/packages/types/src/interfaces/types-lookup.ts @@ -810,10 +810,6 @@ declare module '@polkadot/types/lookup' { /** @name PalletTreasuryEvent (63) */ interface PalletTreasuryEvent extends Enum { - readonly isProposed: boolean; - readonly asProposed: { - readonly proposalIndex: u32; - } & Struct; readonly isSpending: boolean; readonly asSpending: { readonly budgetRemaining: u128; @@ -824,11 +820,6 @@ declare module '@polkadot/types/lookup' { readonly award: u128; readonly account: AccountId32; } & Struct; - readonly isRejected: boolean; - readonly asRejected: { - readonly proposalIndex: u32; - readonly slashed: u128; - } & Struct; readonly isBurnt: boolean; readonly asBurnt: { readonly burntFunds: u128; @@ -879,7 +870,7 @@ declare module '@polkadot/types/lookup' { readonly asSpendProcessed: { readonly index: u32; } & Struct; - readonly type: 'Proposed' | 'Spending' | 'Awarded' | 'Rejected' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive' | 'AssetSpendApproved' | 'AssetSpendVoided' | 'Paid' | 'PaymentFailed' | 'SpendProcessed'; + readonly type: 'Spending' | 'Awarded' | 'Burnt' | 'Rollover' | 'Deposit' | 'SpendApproved' | 'UpdatedInactive' | 'AssetSpendApproved' | 'AssetSpendVoided' | 'Paid' | 'PaymentFailed' | 'SpendProcessed'; } /** @name PalletBountiesEvent (64) */ @@ -1391,7 +1382,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originKind: XcmV2OriginKind; + readonly originKind: XcmV3OriginKind; readonly requireWeightAtMost: SpWeightsWeightV2Weight; readonly call: XcmDoubleEncoded; } & Struct; @@ -1618,8 +1609,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Success' | 'Error' | 'TruncatedError'; } - /** @name XcmV2OriginKind (110) */ - interface XcmV2OriginKind extends Enum { + /** @name XcmV3OriginKind (110) */ + interface XcmV3OriginKind extends Enum { readonly isNative: boolean; readonly isSovereignAccount: boolean; readonly isSuperuser: boolean; @@ -2092,7 +2083,8 @@ declare module '@polkadot/types/lookup' { readonly isOverweight: boolean; readonly asOverweight: SpWeightsWeightV2Weight; readonly isYield: boolean; - readonly type: 'BadFormat' | 'Corrupt' | 'Unsupported' | 'Overweight' | 'Yield'; + readonly isStackLimitReached: boolean; + readonly type: 'BadFormat' | 'Corrupt' | 'Unsupported' | 'Overweight' | 'Yield' | 'StackLimitReached'; } /** @name OrmlAuthorityModuleEvent (151) */ @@ -3091,15 +3083,11 @@ declare module '@polkadot/types/lookup' { readonly currencyId: AcalaPrimitivesCurrencyCurrencyId; readonly amount: u128; } & Struct; - readonly isTransferFromCrowdloanVaultRequested: boolean; - readonly asTransferFromCrowdloanVaultRequested: { - readonly amount: u128; - } & Struct; readonly isRedeemCurrencyIdUpdated: boolean; readonly asRedeemCurrencyIdUpdated: { readonly currencyId: AcalaPrimitivesCurrencyCurrencyId; } & Struct; - readonly type: 'Redeemed' | 'TransferFromCrowdloanVaultRequested' | 'RedeemCurrencyIdUpdated'; + readonly type: 'Redeemed' | 'RedeemCurrencyIdUpdated'; } /** @name ModuleEvmModuleEvent (218) */ @@ -3866,7 +3854,12 @@ declare module '@polkadot/types/lookup' { readonly direction: PalletBalancesAdjustmentDirection; readonly delta: Compact; } & Struct; - readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance'; + readonly isBurn: boolean; + readonly asBurn: { + readonly value: Compact; + readonly keepAlive: bool; + } & Struct; + readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance' | 'Burn'; } /** @name PalletBalancesAdjustmentDirection (274) */ @@ -3981,19 +3974,6 @@ declare module '@polkadot/types/lookup' { /** @name PalletTreasuryCall (282) */ interface PalletTreasuryCall extends Enum { - readonly isProposeSpend: boolean; - readonly asProposeSpend: { - readonly value: Compact; - readonly beneficiary: MultiAddress; - } & Struct; - readonly isRejectProposal: boolean; - readonly asRejectProposal: { - readonly proposalId: Compact; - } & Struct; - readonly isApproveProposal: boolean; - readonly asApproveProposal: { - readonly proposalId: Compact; - } & Struct; readonly isSpendLocal: boolean; readonly asSpendLocal: { readonly amount: Compact; @@ -4022,7 +4002,7 @@ declare module '@polkadot/types/lookup' { readonly asVoidSpend: { readonly index: u32; } & Struct; - readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'SpendLocal' | 'RemoveApproval' | 'Spend' | 'Payout' | 'CheckStatus' | 'VoidSpend'; + readonly type: 'SpendLocal' | 'RemoveApproval' | 'Spend' | 'Payout' | 'CheckStatus' | 'VoidSpend'; } /** @name PalletBountiesCall (284) */ @@ -4145,12 +4125,9 @@ declare module '@polkadot/types/lookup' { } /** @name SpConsensusAuraSr25519AppSr25519Public (289) */ - interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {} + interface SpConsensusAuraSr25519AppSr25519Public extends U8aFixed {} - /** @name SpCoreSr25519Public (290) */ - interface SpCoreSr25519Public extends U8aFixed {} - - /** @name ModuleSessionManagerModuleCall (291) */ + /** @name ModuleSessionManagerModuleCall (290) */ interface ModuleSessionManagerModuleCall extends Enum { readonly isScheduleSessionDuration: boolean; readonly asScheduleSessionDuration: { @@ -4160,7 +4137,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ScheduleSessionDuration'; } - /** @name CumulusPalletXcmpQueueCall (292) */ + /** @name CumulusPalletXcmpQueueCall (291) */ interface CumulusPalletXcmpQueueCall extends Enum { readonly isSuspendXcmExecution: boolean; readonly isResumeXcmExecution: boolean; @@ -4179,7 +4156,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold'; } - /** @name PalletXcmCall (293) */ + /** @name PalletXcmCall (292) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -4255,10 +4232,20 @@ declare module '@polkadot/types/lookup' { readonly assets: XcmVersionedAssets; readonly beneficiary: XcmVersionedLocation; } & Struct; - readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension' | 'TransferAssets' | 'ClaimAssets'; + readonly isTransferAssetsUsingTypeAndThen: boolean; + readonly asTransferAssetsUsingTypeAndThen: { + readonly dest: XcmVersionedLocation; + readonly assets: XcmVersionedAssets; + readonly assetsTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly remoteFeesId: XcmVersionedAssetId; + readonly feesTransferType: StagingXcmExecutorAssetTransferTransferType; + readonly customXcmOnDest: XcmVersionedXcm; + readonly weightLimit: XcmV3WeightLimit; + } & Struct; + readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension' | 'TransferAssets' | 'ClaimAssets' | 'TransferAssetsUsingTypeAndThen'; } - /** @name XcmVersionedXcm (294) */ + /** @name XcmVersionedXcm (293) */ interface XcmVersionedXcm extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Xcm; @@ -4269,10 +4256,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'V2' | 'V3' | 'V4'; } - /** @name XcmV2Xcm (295) */ + /** @name XcmV2Xcm (294) */ interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (297) */ + /** @name XcmV2Instruction (296) */ interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; @@ -4392,7 +4379,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'WithdrawAsset' | 'ReserveAssetDeposited' | 'ReceiveTeleportedAsset' | 'QueryResponse' | 'TransferAsset' | 'TransferReserveAsset' | 'Transact' | 'HrmpNewChannelOpenRequest' | 'HrmpChannelAccepted' | 'HrmpChannelClosing' | 'ClearOrigin' | 'DescendOrigin' | 'ReportError' | 'DepositAsset' | 'DepositReserveAsset' | 'ExchangeAsset' | 'InitiateReserveWithdraw' | 'InitiateTeleport' | 'QueryHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion'; } - /** @name XcmV2Response (298) */ + /** @name XcmV2Response (297) */ interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4404,7 +4391,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; } - /** @name XcmV2TraitsError (301) */ + /** @name XcmV2TraitsError (300) */ interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4437,6 +4424,15 @@ declare module '@polkadot/types/lookup' { readonly type: 'Overflow' | 'Unimplemented' | 'UntrustedReserveLocation' | 'UntrustedTeleportLocation' | 'MultiLocationFull' | 'MultiLocationNotInvertible' | 'BadOrigin' | 'InvalidLocation' | 'AssetNotFound' | 'FailedToTransactAsset' | 'NotWithdrawable' | 'LocationCannotHold' | 'ExceedsMaxMessageSize' | 'DestinationUnsupported' | 'Transport' | 'Unroutable' | 'UnknownClaim' | 'FailedToDecode' | 'MaxWeightInvalid' | 'NotHoldingFees' | 'TooExpensive' | 'Trap' | 'UnhandledXcmVersion' | 'WeightLimitReached' | 'Barrier' | 'WeightNotComputable'; } + /** @name XcmV2OriginKind (301) */ + interface XcmV2OriginKind extends Enum { + readonly isNative: boolean; + readonly isSovereignAccount: boolean; + readonly isSuperuser: boolean; + readonly isXcm: boolean; + readonly type: 'Native' | 'SovereignAccount' | 'Superuser' | 'Xcm'; + } + /** @name XcmV2MultiassetMultiAssetFilter (302) */ interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; @@ -4503,7 +4499,7 @@ declare module '@polkadot/types/lookup' { } & Struct; readonly isTransact: boolean; readonly asTransact: { - readonly originKind: XcmV2OriginKind; + readonly originKind: XcmV3OriginKind; readonly requireWeightAtMost: SpWeightsWeightV2Weight; readonly call: XcmDoubleEncoded; } & Struct; @@ -4725,7 +4721,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fungible' | 'NonFungible'; } - /** @name OrmlXtokensModuleCall (330) */ + /** @name StagingXcmExecutorAssetTransferTransferType (330) */ + interface StagingXcmExecutorAssetTransferTransferType extends Enum { + readonly isTeleport: boolean; + readonly isLocalReserve: boolean; + readonly isDestinationReserve: boolean; + readonly isRemoteReserve: boolean; + readonly asRemoteReserve: XcmVersionedLocation; + readonly type: 'Teleport' | 'LocalReserve' | 'DestinationReserve' | 'RemoteReserve'; + } + + /** @name XcmVersionedAssetId (331) */ + interface XcmVersionedAssetId extends Enum { + readonly isV3: boolean; + readonly asV3: XcmV3MultiassetAssetId; + readonly isV4: boolean; + readonly asV4: StagingXcmV4AssetAssetId; + readonly type: 'V3' | 'V4'; + } + + /** @name OrmlXtokensModuleCall (332) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -4772,7 +4787,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } - /** @name XcmVersionedAsset (331) */ + /** @name XcmVersionedAsset (333) */ interface XcmVersionedAsset extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiAsset; @@ -4783,7 +4798,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V2' | 'V3' | 'V4'; } - /** @name OrmlXcmModuleCall (332) */ + /** @name OrmlXcmModuleCall (334) */ interface OrmlXcmModuleCall extends Enum { readonly isSendAsSovereign: boolean; readonly asSendAsSovereign: { @@ -4793,7 +4808,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SendAsSovereign'; } - /** @name PalletMessageQueueCall (333) */ + /** @name PalletMessageQueueCall (335) */ interface PalletMessageQueueCall extends Enum { readonly isReapPage: boolean; readonly asReapPage: { @@ -4810,7 +4825,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReapPage' | 'ExecuteOverweight'; } - /** @name OrmlAuthorityModuleCall (334) */ + /** @name OrmlAuthorityModuleCall (336) */ interface OrmlAuthorityModuleCall extends Enum { readonly isDispatchAs: boolean; readonly asDispatchAs: { @@ -4822,7 +4837,7 @@ declare module '@polkadot/types/lookup' { readonly when: FrameSupportScheduleDispatchTime; readonly priority: u8; readonly withDelayedOrigin: bool; - readonly call: Call; + readonly call: FrameSupportPreimagesBounded; } & Struct; readonly isFastTrackScheduledDispatch: boolean; readonly asFastTrackScheduledDispatch: { @@ -4858,7 +4873,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DispatchAs' | 'ScheduleDispatch' | 'FastTrackScheduledDispatch' | 'DelayScheduledDispatch' | 'CancelScheduledDispatch' | 'AuthorizeCall' | 'RemoveAuthorizedCall' | 'TriggerCall'; } - /** @name AcalaPrimitivesAuthoritysOriginId (335) */ + /** @name AcalaPrimitivesAuthoritysOriginId (337) */ interface AcalaPrimitivesAuthoritysOriginId extends Enum { readonly isRoot: boolean; readonly isTreasury: boolean; @@ -4868,7 +4883,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Treasury' | 'HonzonTreasury' | 'HomaTreasury' | 'TreasuryReserve'; } - /** @name FrameSupportScheduleDispatchTime (336) */ + /** @name FrameSupportScheduleDispatchTime (338) */ interface FrameSupportScheduleDispatchTime extends Enum { readonly isAt: boolean; readonly asAt: u32; @@ -4877,7 +4892,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'At' | 'After'; } - /** @name PalletCollectiveCall (337) */ + /** @name PalletCollectiveCall (339) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -4916,7 +4931,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetMembers' | 'Execute' | 'Propose' | 'Vote' | 'DisapproveProposal' | 'Close'; } - /** @name PalletMembershipCall (338) */ + /** @name PalletMembershipCall (340) */ interface PalletMembershipCall extends Enum { readonly isAddMember: boolean; readonly asAddMember: { @@ -4947,7 +4962,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AddMember' | 'RemoveMember' | 'SwapMember' | 'ResetMembers' | 'ChangeKey' | 'SetPrime' | 'ClearPrime'; } - /** @name PalletDemocracyCall (345) */ + /** @name PalletDemocracyCall (347) */ interface PalletDemocracyCall extends Enum { readonly isPropose: boolean; readonly asPropose: { @@ -5031,7 +5046,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Propose' | 'Second' | 'Vote' | 'EmergencyCancel' | 'ExternalPropose' | 'ExternalProposeMajority' | 'ExternalProposeDefault' | 'FastTrack' | 'VetoExternal' | 'CancelReferendum' | 'Delegate' | 'Undelegate' | 'ClearPublicProposals' | 'Unlock' | 'RemoveVote' | 'RemoveOtherVote' | 'Blacklist' | 'CancelProposal' | 'SetMetadata'; } - /** @name PalletDemocracyConviction (346) */ + /** @name PalletDemocracyConviction (348) */ interface PalletDemocracyConviction extends Enum { readonly isNone: boolean; readonly isLocked1x: boolean; @@ -5043,7 +5058,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x'; } - /** @name OrmlOracleModuleCall (348) */ + /** @name OrmlOracleModuleCall (350) */ interface OrmlOracleModuleCall extends Enum { readonly isFeedValues: boolean; readonly asFeedValues: { @@ -5052,7 +5067,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeedValues'; } - /** @name OrmlAuctionModuleCall (351) */ + /** @name OrmlAuctionModuleCall (353) */ interface OrmlAuctionModuleCall extends Enum { readonly isBid: boolean; readonly asBid: { @@ -5062,7 +5077,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Bid'; } - /** @name OrmlParametersModuleCall (352) */ + /** @name OrmlParametersModuleCall (354) */ interface OrmlParametersModuleCall extends Enum { readonly isSetParameter: boolean; readonly asSetParameter: { @@ -5071,7 +5086,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetParameter'; } - /** @name ModulePricesModuleCall (353) */ + /** @name ModulePricesModuleCall (355) */ interface ModulePricesModuleCall extends Enum { readonly isLockPrice: boolean; readonly asLockPrice: { @@ -5084,7 +5099,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'LockPrice' | 'UnlockPrice'; } - /** @name ModuleDexModuleCall (354) */ + /** @name ModuleDexModuleCall (356) */ interface ModuleDexModuleCall extends Enum { readonly isSwapWithExactSupply: boolean; readonly asSwapWithExactSupply: { @@ -5178,7 +5193,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SwapWithExactSupply' | 'SwapWithExactTarget' | 'AddLiquidity' | 'AddProvision' | 'ClaimDexShare' | 'RemoveLiquidity' | 'ListProvisioning' | 'UpdateProvisioningParameters' | 'EndProvisioning' | 'EnableTradingPair' | 'DisableTradingPair' | 'RefundProvision' | 'AbortProvisioning'; } - /** @name ModuleDexOracleModuleCall (355) */ + /** @name ModuleDexOracleModuleCall (357) */ interface ModuleDexOracleModuleCall extends Enum { readonly isEnableAveragePrice: boolean; readonly asEnableAveragePrice: { @@ -5200,7 +5215,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'EnableAveragePrice' | 'DisableAveragePrice' | 'UpdateAveragePriceInterval'; } - /** @name ModuleAggregatedDexModuleCall (356) */ + /** @name ModuleAggregatedDexModuleCall (358) */ interface ModuleAggregatedDexModuleCall extends Enum { readonly isSwapWithExactSupply: boolean; readonly asSwapWithExactSupply: { @@ -5221,7 +5236,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SwapWithExactSupply' | 'SwapWithExactTarget' | 'UpdateAggregatedSwapPaths'; } - /** @name ModuleEarningModuleCall (361) */ + /** @name ModuleEarningModuleCall (363) */ interface ModuleEarningModuleCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -5243,7 +5258,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Bond' | 'Unbond' | 'UnbondInstant' | 'Rebond' | 'WithdrawUnbonded'; } - /** @name ModuleAuctionManagerModuleCall (362) */ + /** @name ModuleAuctionManagerModuleCall (364) */ interface ModuleAuctionManagerModuleCall extends Enum { readonly isCancel: boolean; readonly asCancel: { @@ -5252,10 +5267,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Cancel'; } - /** @name ModuleLoansModuleCall (363) */ + /** @name ModuleLoansModuleCall (365) */ type ModuleLoansModuleCall = Null; - /** @name ModuleHonzonModuleCall (364) */ + /** @name ModuleHonzonModuleCall (366) */ interface ModuleHonzonModuleCall extends Enum { readonly isAdjustLoan: boolean; readonly asAdjustLoan: { @@ -5311,7 +5326,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AdjustLoan' | 'CloseLoanHasDebitByDex' | 'TransferLoanFrom' | 'Authorize' | 'Unauthorize' | 'UnauthorizeAll' | 'ExpandPositionCollateral' | 'ShrinkPositionDebit' | 'AdjustLoanByDebitValue' | 'TransferDebit'; } - /** @name ModuleCdpTreasuryModuleCall (365) */ + /** @name ModuleCdpTreasuryModuleCall (367) */ interface ModuleCdpTreasuryModuleCall extends Enum { readonly isExtractSurplusToTreasury: boolean; readonly asExtractSurplusToTreasury: { @@ -5341,7 +5356,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExtractSurplusToTreasury' | 'AuctionCollateral' | 'ExchangeCollateralToStable' | 'SetExpectedCollateralAuctionSize' | 'SetDebitOffsetBuffer'; } - /** @name ModuleSupportDexSwapLimit (366) */ + /** @name ModuleSupportDexSwapLimit (368) */ interface ModuleSupportDexSwapLimit extends Enum { readonly isExactSupply: boolean; readonly asExactSupply: ITuple<[u128, u128]>; @@ -5350,7 +5365,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExactSupply' | 'ExactTarget'; } - /** @name ModuleCdpEngineModuleCall (367) */ + /** @name ModuleCdpEngineModuleCall (369) */ interface ModuleCdpEngineModuleCall extends Enum { readonly isLiquidate: boolean; readonly asLiquidate: { @@ -5382,7 +5397,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Liquidate' | 'Settle' | 'SetCollateralParams' | 'RegisterLiquidationContract' | 'DeregisterLiquidationContract'; } - /** @name OrmlTraitsChangeOption (368) */ + /** @name OrmlTraitsChangeOption (370) */ interface OrmlTraitsChangeOption extends Enum { readonly isNoChange: boolean; readonly isNewValue: boolean; @@ -5390,7 +5405,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoChange' | 'NewValue'; } - /** @name OrmlTraitsChangeU128 (369) */ + /** @name OrmlTraitsChangeU128 (371) */ interface OrmlTraitsChangeU128 extends Enum { readonly isNoChange: boolean; readonly isNewValue: boolean; @@ -5398,7 +5413,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoChange' | 'NewValue'; } - /** @name ModuleEmergencyShutdownModuleCall (370) */ + /** @name ModuleEmergencyShutdownModuleCall (372) */ interface ModuleEmergencyShutdownModuleCall extends Enum { readonly isEmergencyShutdown: boolean; readonly isOpenCollateralRefund: boolean; @@ -5409,7 +5424,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'EmergencyShutdown' | 'OpenCollateralRefund' | 'RefundCollaterals'; } - /** @name ModuleHomaModuleCall (371) */ + /** @name ModuleHomaModuleCall (373) */ interface ModuleHomaModuleCall extends Enum { readonly isMint: boolean; readonly asMint: { @@ -5460,7 +5475,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Mint' | 'RequestRedeem' | 'FastMatchRedeems' | 'ClaimRedemption' | 'UpdateHomaParams' | 'UpdateBumpEraParams' | 'ResetLedgers' | 'ResetCurrentEra' | 'ForceBumpCurrentEra' | 'FastMatchRedeemsCompletely'; } - /** @name ModuleXcmInterfaceModuleCall (376) */ + /** @name ModuleXcmInterfaceModuleCall (378) */ interface ModuleXcmInterfaceModuleCall extends Enum { readonly isUpdateXcmDestWeightAndFee: boolean; readonly asUpdateXcmDestWeightAndFee: { @@ -5469,7 +5484,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'UpdateXcmDestWeightAndFee'; } - /** @name ModuleHomaValidatorListModuleCall (379) */ + /** @name ModuleHomaValidatorListModuleCall (381) */ interface ModuleHomaValidatorListModuleCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -5505,13 +5520,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Bond' | 'Unbond' | 'Rebond' | 'WithdrawUnbonded' | 'Freeze' | 'Thaw' | 'Slash'; } - /** @name ModuleHomaValidatorListSlashInfo (381) */ + /** @name ModuleHomaValidatorListSlashInfo (383) */ interface ModuleHomaValidatorListSlashInfo extends Struct { readonly validator: AccountId32; readonly relaychainTokenAmount: u128; } - /** @name ModuleNomineesElectionModuleCall (382) */ + /** @name ModuleNomineesElectionModuleCall (384) */ interface ModuleNomineesElectionModuleCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -5538,7 +5553,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Bond' | 'Unbond' | 'Rebond' | 'WithdrawUnbonded' | 'Nominate' | 'Chill' | 'ResetReservedNominees'; } - /** @name ModuleIncentivesModuleCall (386) */ + /** @name ModuleIncentivesModuleCall (388) */ interface ModuleIncentivesModuleCall extends Enum { readonly isDepositDexShare: boolean; readonly asDepositDexShare: { @@ -5570,7 +5585,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DepositDexShare' | 'WithdrawDexShare' | 'ClaimRewards' | 'UpdateIncentiveRewards' | 'UpdateClaimRewardDeductionRates' | 'UpdateClaimRewardDeductionCurrency'; } - /** @name ModuleNftModuleCall (391) */ + /** @name ModuleNftModuleCall (393) */ interface ModuleNftModuleCall extends Enum { readonly isCreateClass: boolean; readonly asCreateClass: { @@ -5613,7 +5628,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateClass' | 'Mint' | 'Transfer' | 'Burn' | 'BurnWithRemark' | 'DestroyClass' | 'UpdateClassProperties'; } - /** @name AcalaPrimitivesNftClassProperty (393) */ + /** @name AcalaPrimitivesNftClassProperty (395) */ interface AcalaPrimitivesNftClassProperty extends Enum { readonly isTransferable: boolean; readonly isBurnable: boolean; @@ -5622,7 +5637,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Transferable' | 'Burnable' | 'Mintable' | 'ClassPropertiesMutable'; } - /** @name ModuleAssetRegistryModuleCall (396) */ + /** @name ModuleAssetRegistryModuleCall (398) */ interface ModuleAssetRegistryModuleCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { @@ -5667,24 +5682,20 @@ declare module '@polkadot/types/lookup' { readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset' | 'RegisterStableAsset' | 'UpdateStableAsset' | 'RegisterErc20Asset' | 'UpdateErc20Asset' | 'RegisterNativeAsset' | 'UpdateNativeAsset'; } - /** @name ModuleLiquidCrowdloanModuleCall (397) */ + /** @name ModuleLiquidCrowdloanModuleCall (399) */ interface ModuleLiquidCrowdloanModuleCall extends Enum { readonly isRedeem: boolean; readonly asRedeem: { readonly amount: Compact; } & Struct; - readonly isTransferFromCrowdloanVault: boolean; - readonly asTransferFromCrowdloanVault: { - readonly amount: Compact; - } & Struct; readonly isSetRedeemCurrencyId: boolean; readonly asSetRedeemCurrencyId: { readonly currencyId: AcalaPrimitivesCurrencyCurrencyId; } & Struct; - readonly type: 'Redeem' | 'TransferFromCrowdloanVault' | 'SetRedeemCurrencyId'; + readonly type: 'Redeem' | 'SetRedeemCurrencyId'; } - /** @name ModuleEvmModuleCall (398) */ + /** @name ModuleEvmModuleCall (400) */ interface ModuleEvmModuleCall extends Enum { readonly isEthCall: boolean; readonly asEthCall: { @@ -5794,7 +5805,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'EthCall' | 'Call' | 'ScheduledCall' | 'Create' | 'Create2' | 'CreateNftContract' | 'CreatePredeployContract' | 'TransferMaintainer' | 'PublishContract' | 'PublishFree' | 'EnableContractDevelopment' | 'DisableContractDevelopment' | 'SetCode' | 'Selfdestruct' | 'StrictCall' | 'EthCallV2'; } - /** @name EthereumTransactionTransactionAction (399) */ + /** @name EthereumTransactionTransactionAction (401) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -5802,13 +5813,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Call' | 'Create'; } - /** @name EthereumTransactionAccessListItem (401) */ + /** @name EthereumTransactionAccessListItem (403) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name ModuleEvmAccountsModuleCall (402) */ + /** @name ModuleEvmAccountsModuleCall (404) */ interface ModuleEvmAccountsModuleCall extends Enum { readonly isClaimAccount: boolean; readonly asClaimAccount: { @@ -5819,7 +5830,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ClaimAccount' | 'ClaimDefaultAccount'; } - /** @name NutsfinanceStableAssetCall (404) */ + /** @name NutsfinanceStableAssetCall (406) */ interface NutsfinanceStableAssetCall extends Enum { readonly isCreatePool: boolean; readonly asCreatePool: { @@ -5891,7 +5902,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreatePool' | 'Mint' | 'Swap' | 'RedeemProportion' | 'RedeemSingle' | 'RedeemMulti' | 'ModifyA' | 'ModifyFees' | 'ModifyRecipients'; } - /** @name CumulusPalletParachainSystemCall (405) */ + /** @name CumulusPalletParachainSystemCall (407) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -5913,40 +5924,40 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade'; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (406) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (408) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { - readonly validationData: PolkadotPrimitivesV6PersistedValidationData; + readonly validationData: PolkadotPrimitivesV7PersistedValidationData; readonly relayChainState: SpTrieStorageProof; readonly downwardMessages: Vec; readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV6PersistedValidationData (407) */ - interface PolkadotPrimitivesV6PersistedValidationData extends Struct { + /** @name PolkadotPrimitivesV7PersistedValidationData (409) */ + interface PolkadotPrimitivesV7PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; readonly relayParentStorageRoot: H256; readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (409) */ + /** @name SpTrieStorageProof (411) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (412) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (414) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (415) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (417) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletSudoCall (418) */ + /** @name PalletSudoCall (420) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -5970,17 +5981,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey'; } - /** @name SpRuntimeBlakeTwo256 (419) */ + /** @name SpRuntimeBlakeTwo256 (421) */ type SpRuntimeBlakeTwo256 = Null; - /** @name PalletSchedulerRetryConfig (422) */ + /** @name PalletSchedulerRetryConfig (424) */ interface PalletSchedulerRetryConfig extends Struct { readonly totalRetries: u8; readonly remaining: u8; readonly period: u32; } - /** @name PalletSchedulerError (423) */ + /** @name PalletSchedulerError (425) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -5990,13 +6001,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange' | 'Named'; } - /** @name PalletUtilityError (424) */ + /** @name PalletUtilityError (426) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: 'TooManyCalls'; } - /** @name PalletMultisigMultisig (426) */ + /** @name PalletMultisigMultisig (428) */ interface PalletMultisigMultisig extends Struct { readonly when: PalletMultisigTimepoint; readonly deposit: u128; @@ -6004,7 +6015,7 @@ declare module '@polkadot/types/lookup' { readonly approvals: Vec; } - /** @name PalletMultisigError (428) */ + /** @name PalletMultisigError (430) */ interface PalletMultisigError extends Enum { readonly isMinimumThreshold: boolean; readonly isAlreadyApproved: boolean; @@ -6023,21 +6034,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored'; } - /** @name PalletProxyProxyDefinition (431) */ + /** @name PalletProxyProxyDefinition (433) */ interface PalletProxyProxyDefinition extends Struct { readonly delegate: AccountId32; readonly proxyType: RuntimeCommonProxyType; readonly delay: u32; } - /** @name PalletProxyAnnouncement (435) */ + /** @name PalletProxyAnnouncement (437) */ interface PalletProxyAnnouncement extends Struct { readonly real: AccountId32; readonly callHash: H256; readonly height: u32; } - /** @name PalletProxyError (437) */ + /** @name PalletProxyError (439) */ interface PalletProxyError extends Enum { readonly isTooMany: boolean; readonly isNotFound: boolean; @@ -6050,14 +6061,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy'; } - /** @name ModuleTransactionPauseModuleError (438) */ + /** @name ModuleTransactionPauseModuleError (440) */ interface ModuleTransactionPauseModuleError extends Enum { readonly isCannotPause: boolean; readonly isInvalidCharacter: boolean; readonly type: 'CannotPause' | 'InvalidCharacter'; } - /** @name PalletPreimageOldRequestStatus (439) */ + /** @name PalletPreimageOldRequestStatus (441) */ interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -6073,7 +6084,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageRequestStatus (442) */ + /** @name PalletPreimageRequestStatus (444) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -6089,7 +6100,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (448) */ + /** @name PalletPreimageError (450) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -6099,17 +6110,18 @@ declare module '@polkadot/types/lookup' { readonly isNotRequested: boolean; readonly isTooMany: boolean; readonly isTooFew: boolean; - readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested' | 'TooMany' | 'TooFew'; + readonly isNoCost: boolean; + readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested' | 'TooMany' | 'TooFew' | 'NoCost'; } - /** @name PalletBalancesBalanceLock (450) */ + /** @name PalletBalancesBalanceLock (452) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (451) */ + /** @name PalletBalancesReasons (453) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -6117,13 +6129,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (454) */ + /** @name PalletBalancesReserveData (456) */ interface PalletBalancesReserveData extends Struct { readonly id: AcalaPrimitivesReserveIdentifier; readonly amount: u128; } - /** @name AcalaPrimitivesReserveIdentifier (455) */ + /** @name AcalaPrimitivesReserveIdentifier (457) */ interface AcalaPrimitivesReserveIdentifier extends Enum { readonly isCollatorSelection: boolean; readonly isEvmStorageDeposit: boolean; @@ -6136,26 +6148,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollatorSelection' | 'EvmStorageDeposit' | 'EvmDeveloperDeposit' | 'Honzon' | 'Nft' | 'TransactionPayment' | 'TransactionPaymentDeposit' | 'Count'; } - /** @name AcalaRuntimeRuntimeHoldReason (459) */ + /** @name AcalaRuntimeRuntimeHoldReason (461) */ interface AcalaRuntimeRuntimeHoldReason extends Enum { readonly isPreimage: boolean; readonly asPreimage: PalletPreimageHoldReason; readonly type: 'Preimage'; } - /** @name PalletPreimageHoldReason (460) */ + /** @name PalletPreimageHoldReason (462) */ interface PalletPreimageHoldReason extends Enum { readonly isPreimage: boolean; readonly type: 'Preimage'; } - /** @name PalletBalancesIdAmount (463) */ - interface PalletBalancesIdAmount extends Struct { + /** @name FrameSupportTokensMiscIdAmount (465) */ + interface FrameSupportTokensMiscIdAmount extends Struct { readonly id: Null; readonly amount: u128; } - /** @name PalletBalancesError (465) */ + /** @name PalletBalancesError (467) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -6172,26 +6184,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero'; } - /** @name OrmlTokensBalanceLock (468) */ + /** @name OrmlTokensBalanceLock (470) */ interface OrmlTokensBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name OrmlTokensAccountData (470) */ + /** @name OrmlTokensAccountData (472) */ interface OrmlTokensAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly frozen: u128; } - /** @name OrmlTokensReserveData (472) */ + /** @name OrmlTokensReserveData (474) */ interface OrmlTokensReserveData extends Struct { readonly id: AcalaPrimitivesReserveIdentifier; readonly amount: u128; } - /** @name OrmlTokensModuleError (474) */ + /** @name OrmlTokensModuleError (476) */ interface OrmlTokensModuleError extends Enum { readonly isBalanceTooLow: boolean; readonly isAmountIntoBalanceFailed: boolean; @@ -6204,7 +6216,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves'; } - /** @name ModuleCurrenciesModuleError (475) */ + /** @name ModuleCurrenciesModuleError (477) */ interface ModuleCurrenciesModuleError extends Enum { readonly isAmountIntoBalanceFailed: boolean; readonly isBalanceTooLow: boolean; @@ -6215,7 +6227,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AmountIntoBalanceFailed' | 'BalanceTooLow' | 'Erc20InvalidOperation' | 'EvmAccountNotFound' | 'RealOriginNotFound' | 'DepositFailed'; } - /** @name OrmlVestingModuleError (477) */ + /** @name OrmlVestingModuleError (479) */ interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -6226,7 +6238,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name ModuleTransactionPaymentModuleChargeFeeMethod (479) */ + /** @name ModuleTransactionPaymentModuleChargeFeeMethod (481) */ interface ModuleTransactionPaymentModuleChargeFeeMethod extends Enum { readonly isFeeCurrency: boolean; readonly asFeeCurrency: AcalaPrimitivesCurrencyCurrencyId; @@ -6235,10 +6247,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeeCurrency' | 'FeeAggregatedPath'; } - /** @name FrameSupportPalletId (480) */ + /** @name FrameSupportPalletId (482) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name ModuleTransactionPaymentModuleError (482) */ + /** @name ModuleTransactionPaymentModuleError (484) */ interface ModuleTransactionPaymentModuleError extends Enum { readonly isInvalidSwapPath: boolean; readonly isInvalidBalance: boolean; @@ -6249,7 +6261,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSwapPath' | 'InvalidBalance' | 'InvalidRate' | 'InvalidToken' | 'DexNotAvailable' | 'ChargeFeePoolAlreadyExisted'; } - /** @name PalletTreasuryProposal (483) */ + /** @name PalletTreasuryProposal (485) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -6257,7 +6269,7 @@ declare module '@polkadot/types/lookup' { readonly bond: u128; } - /** @name PalletTreasurySpendStatus (486) */ + /** @name PalletTreasurySpendStatus (488) */ interface PalletTreasurySpendStatus extends Struct { readonly assetKind: Null; readonly amount: u128; @@ -6267,7 +6279,7 @@ declare module '@polkadot/types/lookup' { readonly status: PalletTreasuryPaymentState; } - /** @name PalletTreasuryPaymentState (487) */ + /** @name PalletTreasuryPaymentState (489) */ interface PalletTreasuryPaymentState extends Enum { readonly isPending: boolean; readonly isAttempted: boolean; @@ -6278,9 +6290,8 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Attempted' | 'Failed'; } - /** @name PalletTreasuryError (488) */ + /** @name PalletTreasuryError (490) */ interface PalletTreasuryError extends Enum { - readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; readonly isTooManyApprovals: boolean; readonly isInsufficientPermission: boolean; @@ -6292,10 +6303,10 @@ declare module '@polkadot/types/lookup' { readonly isPayoutError: boolean; readonly isNotAttempted: boolean; readonly isInconclusive: boolean; - readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved' | 'FailedToConvertBalance' | 'SpendExpired' | 'EarlyPayout' | 'AlreadyAttempted' | 'PayoutError' | 'NotAttempted' | 'Inconclusive'; + readonly type: 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved' | 'FailedToConvertBalance' | 'SpendExpired' | 'EarlyPayout' | 'AlreadyAttempted' | 'PayoutError' | 'NotAttempted' | 'Inconclusive'; } - /** @name PalletBountiesBounty (489) */ + /** @name PalletBountiesBounty (491) */ interface PalletBountiesBounty extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -6305,7 +6316,7 @@ declare module '@polkadot/types/lookup' { readonly status: PalletBountiesBountyStatus; } - /** @name PalletBountiesBountyStatus (490) */ + /** @name PalletBountiesBountyStatus (492) */ interface PalletBountiesBountyStatus extends Enum { readonly isProposed: boolean; readonly isApproved: boolean; @@ -6328,7 +6339,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Proposed' | 'Approved' | 'Funded' | 'CuratorProposed' | 'Active' | 'PendingPayout'; } - /** @name PalletBountiesError (492) */ + /** @name PalletBountiesError (494) */ interface PalletBountiesError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -6344,7 +6355,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'ReasonTooBig' | 'UnexpectedStatus' | 'RequireCurator' | 'InvalidValue' | 'InvalidFee' | 'PendingPayout' | 'Premature' | 'HasActiveChildBounty' | 'TooManyQueued'; } - /** @name PalletTipsOpenTip (493) */ + /** @name PalletTipsOpenTip (495) */ interface PalletTipsOpenTip extends Struct { readonly reason: H256; readonly who: AccountId32; @@ -6355,7 +6366,7 @@ declare module '@polkadot/types/lookup' { readonly findersFee: bool; } - /** @name PalletTipsError (495) */ + /** @name PalletTipsError (497) */ interface PalletTipsError extends Enum { readonly isReasonTooBig: boolean; readonly isAlreadyKnown: boolean; @@ -6367,7 +6378,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReasonTooBig' | 'AlreadyKnown' | 'UnknownTip' | 'MaxTipAmountExceeded' | 'NotFinder' | 'StillOpen' | 'Premature'; } - /** @name ModuleCollatorSelectionError (499) */ + /** @name ModuleCollatorSelectionError (501) */ interface ModuleCollatorSelectionError extends Enum { readonly isMaxCandidatesExceeded: boolean; readonly isBelowCandidatesMin: boolean; @@ -6385,10 +6396,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxCandidatesExceeded' | 'BelowCandidatesMin' | 'StillLocked' | 'Unknown' | 'Permission' | 'AlreadyCandidate' | 'NotCandidate' | 'NotNonCandidate' | 'NothingToWithdraw' | 'RequireSessionKey' | 'AlreadyInvulnerable' | 'InvalidProof' | 'MaxInvulnerablesExceeded'; } - /** @name SpCoreCryptoKeyTypeId (503) */ + /** @name SpCoreCryptoKeyTypeId (505) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (504) */ + /** @name PalletSessionError (506) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6398,7 +6409,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount'; } - /** @name ModuleSessionManagerModuleError (509) */ + /** @name ModuleSessionManagerModuleError (511) */ interface ModuleSessionManagerModuleError extends Enum { readonly isInvalidSession: boolean; readonly isInvalidDuration: boolean; @@ -6406,7 +6417,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSession' | 'InvalidDuration' | 'EstimateNextSessionFailed'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (514) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (516) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -6415,29 +6426,31 @@ declare module '@polkadot/types/lookup' { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (515) */ + /** @name CumulusPalletXcmpQueueOutboundState (517) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (517) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (521) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; } - /** @name CumulusPalletXcmpQueueError (518) */ + /** @name CumulusPalletXcmpQueueError (522) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isBadQueueConfig: boolean; readonly isAlreadySuspended: boolean; readonly isAlreadyResumed: boolean; - readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed'; + readonly isTooManyActiveOutboundChannels: boolean; + readonly isTooBig: boolean; + readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed' | 'TooManyActiveOutboundChannels' | 'TooBig'; } - /** @name PalletXcmQueryStatus (519) */ + /** @name PalletXcmQueryStatus (523) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { @@ -6459,7 +6472,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'VersionNotifier' | 'Ready'; } - /** @name XcmVersionedResponse (523) */ + /** @name XcmVersionedResponse (527) */ interface XcmVersionedResponse extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Response; @@ -6470,7 +6483,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V2' | 'V3' | 'V4'; } - /** @name PalletXcmVersionMigrationStage (529) */ + /** @name PalletXcmVersionMigrationStage (533) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -6480,16 +6493,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets'; } - /** @name XcmVersionedAssetId (532) */ - interface XcmVersionedAssetId extends Enum { - readonly isV3: boolean; - readonly asV3: XcmV3MultiassetAssetId; - readonly isV4: boolean; - readonly asV4: StagingXcmV4AssetAssetId; - readonly type: 'V3' | 'V4'; - } - - /** @name PalletXcmRemoteLockedFungibleRecord (533) */ + /** @name PalletXcmRemoteLockedFungibleRecord (536) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; readonly owner: XcmVersionedLocation; @@ -6497,7 +6501,7 @@ declare module '@polkadot/types/lookup' { readonly consumers: Vec>; } - /** @name PalletXcmError (540) */ + /** @name PalletXcmError (543) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -6519,15 +6523,14 @@ declare module '@polkadot/types/lookup' { readonly isFeesNotMet: boolean; readonly isLockNotFound: boolean; readonly isInUse: boolean; - readonly isInvalidAssetNotConcrete: boolean; readonly isInvalidAssetUnknownReserve: boolean; readonly isInvalidAssetUnsupportedReserve: boolean; readonly isTooManyReserves: boolean; readonly isLocalExecutionIncomplete: boolean; - readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'CannotCheckOutTeleport' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse' | 'InvalidAssetNotConcrete' | 'InvalidAssetUnknownReserve' | 'InvalidAssetUnsupportedReserve' | 'TooManyReserves' | 'LocalExecutionIncomplete'; + readonly type: 'Unreachable' | 'SendFailure' | 'Filtered' | 'UnweighableMessage' | 'DestinationNotInvertible' | 'Empty' | 'CannotReanchor' | 'TooManyAssets' | 'InvalidOrigin' | 'BadVersion' | 'BadLocation' | 'NoSubscription' | 'AlreadySubscribed' | 'CannotCheckOutTeleport' | 'LowBalance' | 'TooManyLocks' | 'AccountNotSovereign' | 'FeesNotMet' | 'LockNotFound' | 'InUse' | 'InvalidAssetUnknownReserve' | 'InvalidAssetUnsupportedReserve' | 'TooManyReserves' | 'LocalExecutionIncomplete'; } - /** @name OrmlXtokensModuleError (541) */ + /** @name OrmlXtokensModuleError (544) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -6552,7 +6555,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AssetHasNoReserve' | 'NotCrossChainTransfer' | 'InvalidDest' | 'NotCrossChainTransferableCurrency' | 'UnweighableMessage' | 'XcmExecutionFailed' | 'CannotReanchor' | 'InvalidAncestry' | 'InvalidAsset' | 'DestinationNotInvertible' | 'BadVersion' | 'DistinctReserveForAssetAndFee' | 'ZeroFee' | 'ZeroAmount' | 'TooManyAssetsBeingSent' | 'AssetIndexNonExistent' | 'FeeNotEnough' | 'NotSupportedLocation' | 'MinXcmFeeNotDefined' | 'RateLimited'; } - /** @name OrmlUnknownTokensModuleError (544) */ + /** @name OrmlUnknownTokensModuleError (547) */ interface OrmlUnknownTokensModuleError extends Enum { readonly isBalanceTooLow: boolean; readonly isBalanceOverflow: boolean; @@ -6560,7 +6563,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceTooLow' | 'BalanceOverflow' | 'UnhandledAsset'; } - /** @name OrmlXcmModuleError (545) */ + /** @name OrmlXcmModuleError (548) */ interface OrmlXcmModuleError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -6568,7 +6571,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unreachable' | 'SendFailure' | 'BadVersion'; } - /** @name PalletMessageQueueBookState (546) */ + /** @name PalletMessageQueueBookState (549) */ interface PalletMessageQueueBookState extends Struct { readonly begin: u32; readonly end: u32; @@ -6578,13 +6581,13 @@ declare module '@polkadot/types/lookup' { readonly size_: u64; } - /** @name PalletMessageQueueNeighbours (548) */ + /** @name PalletMessageQueueNeighbours (551) */ interface PalletMessageQueueNeighbours extends Struct { readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; } - /** @name PalletMessageQueuePage (550) */ + /** @name PalletMessageQueuePage (553) */ interface PalletMessageQueuePage extends Struct { readonly remaining: u32; readonly remainingSize: u32; @@ -6594,7 +6597,7 @@ declare module '@polkadot/types/lookup' { readonly heap: Bytes; } - /** @name PalletMessageQueueError (552) */ + /** @name PalletMessageQueueError (555) */ interface PalletMessageQueueError extends Enum { readonly isNotReapable: boolean; readonly isNoPage: boolean; @@ -6608,7 +6611,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotReapable' | 'NoPage' | 'NoMessage' | 'AlreadyProcessed' | 'Queued' | 'InsufficientWeight' | 'TemporarilyUnprocessable' | 'QueuePaused' | 'RecursiveDisallowed'; } - /** @name OrmlAuthorityModuleError (554) */ + /** @name OrmlAuthorityModuleError (557) */ interface OrmlAuthorityModuleError extends Enum { readonly isFailedToSchedule: boolean; readonly isFailedToCancel: boolean; @@ -6620,7 +6623,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'FailedToCancel' | 'FailedToFastTrack' | 'FailedToDelay' | 'CallNotAuthorized' | 'TriggerCallNotPermitted' | 'WrongCallWeightBound'; } - /** @name PalletCollectiveVotes (556) */ + /** @name PalletCollectiveVotes (559) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -6629,7 +6632,7 @@ declare module '@polkadot/types/lookup' { readonly end: u32; } - /** @name PalletCollectiveError (557) */ + /** @name PalletCollectiveError (560) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -6645,7 +6648,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength' | 'PrimeAccountNotMember'; } - /** @name PalletMembershipError (559) */ + /** @name PalletMembershipError (562) */ interface PalletMembershipError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -6653,7 +6656,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyMember' | 'NotMember' | 'TooManyMembers'; } - /** @name PalletDemocracyReferendumInfo (570) */ + /** @name PalletDemocracyReferendumInfo (573) */ interface PalletDemocracyReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletDemocracyReferendumStatus; @@ -6665,7 +6668,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Finished'; } - /** @name PalletDemocracyReferendumStatus (571) */ + /** @name PalletDemocracyReferendumStatus (574) */ interface PalletDemocracyReferendumStatus extends Struct { readonly end: u32; readonly proposal: FrameSupportPreimagesBounded; @@ -6674,14 +6677,14 @@ declare module '@polkadot/types/lookup' { readonly tally: PalletDemocracyTally; } - /** @name PalletDemocracyTally (572) */ + /** @name PalletDemocracyTally (575) */ interface PalletDemocracyTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly turnout: u128; } - /** @name PalletDemocracyVoteVoting (573) */ + /** @name PalletDemocracyVoteVoting (576) */ interface PalletDemocracyVoteVoting extends Enum { readonly isDirect: boolean; readonly asDirect: { @@ -6700,16 +6703,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Direct' | 'Delegating'; } - /** @name PalletDemocracyDelegations (577) */ + /** @name PalletDemocracyDelegations (580) */ interface PalletDemocracyDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletDemocracyVotePriorLock (578) */ + /** @name PalletDemocracyVotePriorLock (581) */ interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletDemocracyError (581) */ + /** @name PalletDemocracyError (584) */ interface PalletDemocracyError extends Enum { readonly isValueLow: boolean; readonly isProposalMissing: boolean; @@ -6738,30 +6741,30 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValueLow' | 'ProposalMissing' | 'AlreadyCanceled' | 'DuplicateProposal' | 'ProposalBlacklisted' | 'NotSimpleMajority' | 'InvalidHash' | 'NoProposal' | 'AlreadyVetoed' | 'ReferendumInvalid' | 'NoneWaiting' | 'NotVoter' | 'NoPermission' | 'AlreadyDelegating' | 'InsufficientFunds' | 'NotDelegating' | 'VotesExist' | 'InstantNotAllowed' | 'Nonsense' | 'WrongUpperBound' | 'MaxVotesReached' | 'TooMany' | 'VotingPeriodLow' | 'PreimageNotExist'; } - /** @name OrmlOracleModuleTimestampedValue (582) */ + /** @name OrmlOracleModuleTimestampedValue (585) */ interface OrmlOracleModuleTimestampedValue extends Struct { readonly value: u128; readonly timestamp: u64; } - /** @name OrmlUtilitiesOrderedSet (583) */ + /** @name OrmlUtilitiesOrderedSet (586) */ interface OrmlUtilitiesOrderedSet extends Vec {} - /** @name OrmlOracleModuleError (585) */ + /** @name OrmlOracleModuleError (588) */ interface OrmlOracleModuleError extends Enum { readonly isNoPermission: boolean; readonly isAlreadyFeeded: boolean; readonly type: 'NoPermission' | 'AlreadyFeeded'; } - /** @name OrmlTraitsAuctionAuctionInfo (588) */ + /** @name OrmlTraitsAuctionAuctionInfo (591) */ interface OrmlTraitsAuctionAuctionInfo extends Struct { readonly bid: Option>; readonly start: u32; readonly end: Option; } - /** @name OrmlAuctionModuleError (589) */ + /** @name OrmlAuctionModuleError (592) */ interface OrmlAuctionModuleError extends Enum { readonly isAuctionNotExist: boolean; readonly isAuctionNotStarted: boolean; @@ -6771,13 +6774,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'AuctionNotExist' | 'AuctionNotStarted' | 'BidNotAccepted' | 'InvalidBidPrice' | 'NoAvailableAuctionId'; } - /** @name OrmlRewardsPoolInfo (590) */ + /** @name OrmlRewardsPoolInfo (593) */ interface OrmlRewardsPoolInfo extends Struct { readonly totalShares: u128; readonly rewards: BTreeMap>; } - /** @name OrmlRewardsModuleError (598) */ + /** @name OrmlRewardsModuleError (601) */ interface OrmlRewardsModuleError extends Enum { readonly isPoolDoesNotExist: boolean; readonly isShareDoesNotExist: boolean; @@ -6786,7 +6789,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PoolDoesNotExist' | 'ShareDoesNotExist' | 'CanSplitOnlyLessThanShare' | 'ShareBelowMinimal'; } - /** @name OrmlNftClassInfo (599) */ + /** @name OrmlNftClassInfo (602) */ interface OrmlNftClassInfo extends Struct { readonly metadata: Bytes; readonly totalIssuance: u64; @@ -6794,27 +6797,27 @@ declare module '@polkadot/types/lookup' { readonly data: ModuleNftClassData; } - /** @name ModuleNftClassData (600) */ + /** @name ModuleNftClassData (603) */ interface ModuleNftClassData extends Struct { readonly deposit: u128; readonly properties: u8; readonly attributes: BTreeMap; } - /** @name OrmlNftTokenInfo (602) */ + /** @name OrmlNftTokenInfo (605) */ interface OrmlNftTokenInfo extends Struct { readonly metadata: Bytes; readonly owner: AccountId32; readonly data: ModuleNftTokenData; } - /** @name ModuleNftTokenData (603) */ + /** @name ModuleNftTokenData (606) */ interface ModuleNftTokenData extends Struct { readonly deposit: u128; readonly attributes: BTreeMap; } - /** @name OrmlNftModuleError (605) */ + /** @name OrmlNftModuleError (608) */ interface OrmlNftModuleError extends Enum { readonly isNoAvailableClassId: boolean; readonly isNoAvailableTokenId: boolean; @@ -6826,44 +6829,44 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoAvailableClassId' | 'NoAvailableTokenId' | 'TokenNotFound' | 'ClassNotFound' | 'NoPermission' | 'CannotDestroyClass' | 'MaxMetadataExceeded'; } - /** @name AcalaRuntimeRuntimeParametersKey (606) */ + /** @name AcalaRuntimeRuntimeParametersKey (609) */ interface AcalaRuntimeRuntimeParametersKey extends Enum { readonly isEarning: boolean; readonly asEarning: ModuleEarningParametersKey; readonly type: 'Earning'; } - /** @name ModuleEarningParametersKey (607) */ + /** @name ModuleEarningParametersKey (610) */ interface ModuleEarningParametersKey extends Enum { readonly isInstantUnstakeFee: boolean; readonly type: 'InstantUnstakeFee'; } - /** @name AcalaRuntimeRuntimeParametersValue (608) */ + /** @name AcalaRuntimeRuntimeParametersValue (611) */ interface AcalaRuntimeRuntimeParametersValue extends Enum { readonly isEarning: boolean; readonly asEarning: ModuleEarningParametersValue; readonly type: 'Earning'; } - /** @name ModuleEarningParametersValue (609) */ + /** @name ModuleEarningParametersValue (612) */ interface ModuleEarningParametersValue extends Enum { readonly isInstantUnstakeFee: boolean; readonly asInstantUnstakeFee: Permill; readonly type: 'InstantUnstakeFee'; } - /** @name OrmlParametersModuleError (610) */ + /** @name OrmlParametersModuleError (613) */ type OrmlParametersModuleError = Null; - /** @name ModulePricesModuleError (611) */ + /** @name ModulePricesModuleError (614) */ interface ModulePricesModuleError extends Enum { readonly isAccessPriceFailed: boolean; readonly isNoLockedPrice: boolean; readonly type: 'AccessPriceFailed' | 'NoLockedPrice'; } - /** @name ModuleDexTradingPairStatus (612) */ + /** @name ModuleDexTradingPairStatus (615) */ interface ModuleDexTradingPairStatus extends Enum { readonly isDisabled: boolean; readonly isProvisioning: boolean; @@ -6872,7 +6875,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Provisioning' | 'Enabled'; } - /** @name ModuleDexProvisioningParameters (613) */ + /** @name ModuleDexProvisioningParameters (616) */ interface ModuleDexProvisioningParameters extends Struct { readonly minContribution: ITuple<[u128, u128]>; readonly targetProvision: ITuple<[u128, u128]>; @@ -6880,7 +6883,7 @@ declare module '@polkadot/types/lookup' { readonly notBefore: u32; } - /** @name ModuleDexModuleError (616) */ + /** @name ModuleDexModuleError (619) */ interface ModuleDexModuleError extends Enum { readonly isAlreadyEnabled: boolean; readonly isMustBeEnabled: boolean; @@ -6908,7 +6911,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyEnabled' | 'MustBeEnabled' | 'MustBeProvisioning' | 'MustBeDisabled' | 'NotAllowedList' | 'InvalidContributionIncrement' | 'InvalidLiquidityIncrement' | 'InvalidCurrencyId' | 'InvalidTradingPathLength' | 'InsufficientTargetAmount' | 'ExcessiveSupplyAmount' | 'InsufficientLiquidity' | 'ZeroSupplyAmount' | 'ZeroTargetAmount' | 'UnacceptableShareIncrement' | 'UnacceptableLiquidityWithdrawn' | 'InvariantCheckFailed' | 'UnqualifiedProvision' | 'StillProvisioning' | 'AssetUnregistered' | 'InvalidTradingPath' | 'NotAllowedRefund' | 'CannotSwap'; } - /** @name ModuleDexOracleModuleError (621) */ + /** @name ModuleDexOracleModuleError (624) */ interface ModuleDexOracleModuleError extends Enum { readonly isAveragePriceAlreadyEnabled: boolean; readonly isAveragePriceMustBeEnabled: boolean; @@ -6918,7 +6921,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AveragePriceAlreadyEnabled' | 'AveragePriceMustBeEnabled' | 'InvalidPool' | 'InvalidCurrencyId' | 'IntervalIsZero'; } - /** @name ModuleAggregatedDexModuleError (624) */ + /** @name ModuleAggregatedDexModuleError (627) */ interface ModuleAggregatedDexModuleError extends Enum { readonly isCannotSwap: boolean; readonly isInvalidPoolId: boolean; @@ -6927,20 +6930,20 @@ declare module '@polkadot/types/lookup' { readonly type: 'CannotSwap' | 'InvalidPoolId' | 'InvalidTokenIndex' | 'InvalidSwapPath'; } - /** @name AcalaPrimitivesBondingLedgerBondingLedger (625) */ + /** @name AcalaPrimitivesBondingLedgerBondingLedger (628) */ interface AcalaPrimitivesBondingLedgerBondingLedger extends Struct { readonly total: u128; readonly active: u128; readonly unlocking: Vec; } - /** @name AcalaPrimitivesBondingLedgerUnlockChunk (627) */ + /** @name AcalaPrimitivesBondingLedgerUnlockChunk (630) */ interface AcalaPrimitivesBondingLedgerUnlockChunk extends Struct { readonly value: u128; readonly unlockAt: u32; } - /** @name ModuleEarningModuleError (629) */ + /** @name ModuleEarningModuleError (632) */ interface ModuleEarningModuleError extends Enum { readonly isBelowMinBondThreshold: boolean; readonly isMaxUnlockChunksExceeded: boolean; @@ -6949,7 +6952,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BelowMinBondThreshold' | 'MaxUnlockChunksExceeded' | 'NotBonded' | 'NotAllowed'; } - /** @name ModuleAuctionManagerCollateralAuctionItem (630) */ + /** @name ModuleAuctionManagerCollateralAuctionItem (633) */ interface ModuleAuctionManagerCollateralAuctionItem extends Struct { readonly refundRecipient: AccountId32; readonly currencyId: AcalaPrimitivesCurrencyCurrencyId; @@ -6959,7 +6962,7 @@ declare module '@polkadot/types/lookup' { readonly startTime: u32; } - /** @name ModuleAuctionManagerModuleError (631) */ + /** @name ModuleAuctionManagerModuleError (634) */ interface ModuleAuctionManagerModuleError extends Enum { readonly isAuctionNotExists: boolean; readonly isInReverseStage: boolean; @@ -6970,19 +6973,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'AuctionNotExists' | 'InReverseStage' | 'InvalidFeedPrice' | 'MustAfterShutdown' | 'InvalidBidPrice' | 'InvalidAmount'; } - /** @name AcalaPrimitivesPosition (633) */ + /** @name AcalaPrimitivesPosition (636) */ interface AcalaPrimitivesPosition extends Struct { readonly collateral: u128; readonly debit: u128; } - /** @name ModuleLoansModuleError (634) */ + /** @name ModuleLoansModuleError (637) */ interface ModuleLoansModuleError extends Enum { readonly isAmountConvertFailed: boolean; readonly type: 'AmountConvertFailed'; } - /** @name ModuleHonzonModuleError (636) */ + /** @name ModuleHonzonModuleError (639) */ interface ModuleHonzonModuleError extends Enum { readonly isNoPermission: boolean; readonly isAlreadyShutdown: boolean; @@ -6991,7 +6994,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoPermission' | 'AlreadyShutdown' | 'AuthorizationNotExists' | 'AlreadyAuthorized'; } - /** @name ModuleCdpTreasuryModuleError (637) */ + /** @name ModuleCdpTreasuryModuleError (640) */ interface ModuleCdpTreasuryModuleError extends Enum { readonly isCollateralNotEnough: boolean; readonly isSurplusPoolNotEnough: boolean; @@ -7001,7 +7004,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollateralNotEnough' | 'SurplusPoolNotEnough' | 'DebitPoolNotEnough' | 'CannotSwap' | 'NotDexShare'; } - /** @name ModuleCdpEngineRiskManagementParams (638) */ + /** @name ModuleCdpEngineRiskManagementParams (641) */ interface ModuleCdpEngineRiskManagementParams extends Struct { readonly maximumTotalDebitValue: u128; readonly interestRatePerSec: Option; @@ -7010,7 +7013,7 @@ declare module '@polkadot/types/lookup' { readonly requiredCollateralRatio: Option; } - /** @name ModuleCdpEngineModuleError (643) */ + /** @name ModuleCdpEngineModuleError (646) */ interface ModuleCdpEngineModuleError extends Enum { readonly isExceedDebitValueHardCap: boolean; readonly isBelowRequiredCollateralRatio: boolean; @@ -7034,7 +7037,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExceedDebitValueHardCap' | 'BelowRequiredCollateralRatio' | 'BelowLiquidationRatio' | 'MustBeUnsafe' | 'MustBeSafe' | 'InvalidCollateralType' | 'RemainDebitValueTooSmall' | 'CollateralAmountBelowMinimum' | 'InvalidFeedPrice' | 'NoDebitValue' | 'AlreadyShutdown' | 'MustAfterShutdown' | 'CollateralNotEnough' | 'NotEnoughDebitDecrement' | 'ConvertDebitBalanceFailed' | 'LiquidationFailed' | 'TooManyLiquidationContracts' | 'CollateralContractNotFound' | 'InvalidRate'; } - /** @name ModuleEmergencyShutdownModuleError (644) */ + /** @name ModuleEmergencyShutdownModuleError (647) */ interface ModuleEmergencyShutdownModuleError extends Enum { readonly isAlreadyShutdown: boolean; readonly isMustAfterShutdown: boolean; @@ -7044,13 +7047,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyShutdown' | 'MustAfterShutdown' | 'CanNotRefund' | 'ExistPotentialSurplus' | 'ExistUnhandledDebit'; } - /** @name ModuleHomaModuleStakingLedger (645) */ + /** @name ModuleHomaModuleStakingLedger (648) */ interface ModuleHomaModuleStakingLedger extends Struct { readonly bonded: Compact; readonly unlocking: Vec; } - /** @name ModuleHomaModuleError (649) */ + /** @name ModuleHomaModuleError (652) */ interface ModuleHomaModuleError extends Enum { readonly isBelowMintThreshold: boolean; readonly isBelowRedeemThreshold: boolean; @@ -7064,26 +7067,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'BelowMintThreshold' | 'BelowRedeemThreshold' | 'ExceededStakingCurrencySoftCap' | 'InsufficientUnclaimedRedemption' | 'OutdatedEraIndex' | 'FastMatchIsNotAllowed' | 'CannotCompletelyFastMatch' | 'InvalidRate' | 'InvalidLastEraBumpedBlock'; } - /** @name ModuleXcmInterfaceModuleError (651) */ + /** @name ModuleXcmInterfaceModuleError (654) */ interface ModuleXcmInterfaceModuleError extends Enum { readonly isXcmFailed: boolean; readonly type: 'XcmFailed'; } - /** @name ModuleHomaValidatorListGuarantee (653) */ + /** @name ModuleHomaValidatorListGuarantee (656) */ interface ModuleHomaValidatorListGuarantee extends Struct { readonly total: u128; readonly bonded: u128; readonly unbonding: Option>; } - /** @name ModuleHomaValidatorListValidatorBacking (656) */ + /** @name ModuleHomaValidatorListValidatorBacking (659) */ interface ModuleHomaValidatorListValidatorBacking extends Struct { readonly totalInsurance: u128; readonly isFrozen: bool; } - /** @name ModuleHomaValidatorListModuleError (657) */ + /** @name ModuleHomaValidatorListModuleError (660) */ interface ModuleHomaValidatorListModuleError extends Enum { readonly isBelowMinBondAmount: boolean; readonly isUnbondingExists: boolean; @@ -7091,7 +7094,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BelowMinBondAmount' | 'UnbondingExists' | 'FrozenValidator'; } - /** @name ModuleNomineesElectionModuleError (660) */ + /** @name ModuleNomineesElectionModuleError (663) */ interface ModuleNomineesElectionModuleError extends Enum { readonly isBelowMinBondThreshold: boolean; readonly isInvalidTargetsLength: boolean; @@ -7102,7 +7105,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BelowMinBondThreshold' | 'InvalidTargetsLength' | 'MaxUnlockChunksExceeded' | 'InvalidNominee' | 'NominateesCountExceeded' | 'NotBonded'; } - /** @name ModuleIncentivesModuleError (662) */ + /** @name ModuleIncentivesModuleError (665) */ interface ModuleIncentivesModuleError extends Enum { readonly isNotEnough: boolean; readonly isInvalidCurrencyId: boolean; @@ -7111,7 +7114,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotEnough' | 'InvalidCurrencyId' | 'InvalidPoolId' | 'InvalidRate'; } - /** @name ModuleNftModuleError (663) */ + /** @name ModuleNftModuleError (666) */ interface ModuleNftModuleError extends Enum { readonly isClassIdNotFound: boolean; readonly isTokenIdNotFound: boolean; @@ -7127,7 +7130,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ClassIdNotFound' | 'TokenIdNotFound' | 'NoPermission' | 'InvalidQuantity' | 'NonTransferable' | 'NonBurnable' | 'NonMintable' | 'CannotDestroyClass' | 'Immutable' | 'AttributesTooLarge' | 'IncorrectTokenId'; } - /** @name ModuleAssetRegistryModuleError (664) */ + /** @name ModuleAssetRegistryModuleError (667) */ interface ModuleAssetRegistryModuleError extends Enum { readonly isBadLocation: boolean; readonly isLocationExisted: boolean; @@ -7136,26 +7139,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'BadLocation' | 'LocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; } - /** @name ModuleEvmModuleAccountInfo (665) */ + /** @name ModuleEvmModuleAccountInfo (668) */ interface ModuleEvmModuleAccountInfo extends Struct { readonly nonce: u32; readonly contractInfo: Option; } - /** @name ModuleEvmModuleContractInfo (667) */ + /** @name ModuleEvmModuleContractInfo (670) */ interface ModuleEvmModuleContractInfo extends Struct { readonly codeHash: H256; readonly maintainer: H160; readonly published: bool; } - /** @name ModuleEvmModuleCodeInfo (670) */ + /** @name ModuleEvmModuleCodeInfo (673) */ interface ModuleEvmModuleCodeInfo extends Struct { readonly codeSize: u32; readonly refCount: u32; } - /** @name ModuleEvmModuleError (671) */ + /** @name ModuleEvmModuleError (674) */ interface ModuleEvmModuleError extends Enum { readonly isAddressNotMapped: boolean; readonly isContractNotFound: boolean; @@ -7177,7 +7180,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AddressNotMapped' | 'ContractNotFound' | 'NoPermission' | 'ContractDevelopmentNotEnabled' | 'ContractDevelopmentAlreadyEnabled' | 'ContractAlreadyPublished' | 'ContractExceedsMaxCodeSize' | 'ContractAlreadyExisted' | 'OutOfStorage' | 'ChargeFeeFailed' | 'CannotKillContract' | 'ReserveStorageFailed' | 'UnreserveStorageFailed' | 'ChargeStorageFailed' | 'InvalidDecimals' | 'StrictCallFailed' | 'NotEOA'; } - /** @name ModuleEvmBridgeModuleError (672) */ + /** @name ModuleEvmBridgeModuleError (675) */ interface ModuleEvmBridgeModuleError extends Enum { readonly isExecutionFail: boolean; readonly isExecutionRevert: boolean; @@ -7187,7 +7190,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExecutionFail' | 'ExecutionRevert' | 'ExecutionFatal' | 'ExecutionError' | 'InvalidReturnValue'; } - /** @name ModuleEvmAccountsModuleError (673) */ + /** @name ModuleEvmAccountsModuleError (676) */ interface ModuleEvmAccountsModuleError extends Enum { readonly isAccountIdHasMapped: boolean; readonly isEthAddressHasMapped: boolean; @@ -7197,7 +7200,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AccountIdHasMapped' | 'EthAddressHasMapped' | 'BadSignature' | 'InvalidSignature' | 'NonZeroRefCount'; } - /** @name NutsfinanceStableAssetStableAssetPoolInfo (674) */ + /** @name NutsfinanceStableAssetStableAssetPoolInfo (677) */ interface NutsfinanceStableAssetStableAssetPoolInfo extends Struct { readonly poolAsset: AcalaPrimitivesCurrencyCurrencyId; readonly assets: Vec; @@ -7217,7 +7220,7 @@ declare module '@polkadot/types/lookup' { readonly precision: u128; } - /** @name NutsfinanceStableAssetError (675) */ + /** @name NutsfinanceStableAssetError (678) */ interface NutsfinanceStableAssetError extends Enum { readonly isInconsistentStorage: boolean; readonly isInvalidPoolAsset: boolean; @@ -7233,62 +7236,62 @@ declare module '@polkadot/types/lookup' { readonly type: 'InconsistentStorage' | 'InvalidPoolAsset' | 'ArgumentsMismatch' | 'ArgumentsError' | 'PoolNotFound' | 'Math' | 'InvalidPoolValue' | 'MintUnderMin' | 'SwapUnderMin' | 'RedeemUnderMin' | 'RedeemOverMax'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (677) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (680) */ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (678) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (681) */ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { readonly umpMsgCount: u32; readonly umpTotalBytes: u32; readonly hrmpOutgoing: BTreeMap; } - /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (680) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (683) */ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { readonly msgCount: u32; readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV6UpgradeGoAhead (684) */ - interface PolkadotPrimitivesV6UpgradeGoAhead extends Enum { + /** @name PolkadotPrimitivesV7UpgradeGoAhead (687) */ + interface PolkadotPrimitivesV7UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: 'Abort' | 'GoAhead'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (685) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (688) */ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; - readonly consumedGoAheadSignal: Option; + readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV6UpgradeRestriction (687) */ - interface PolkadotPrimitivesV6UpgradeRestriction extends Enum { + /** @name PolkadotPrimitivesV7UpgradeRestriction (690) */ + interface PolkadotPrimitivesV7UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (688) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (691) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; - readonly ingressChannels: Vec>; - readonly egressChannels: Vec>; + readonly ingressChannels: Vec>; + readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (689) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (692) */ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV6AbridgedHrmpChannel (692) */ - interface PolkadotPrimitivesV6AbridgedHrmpChannel extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHrmpChannel (695) */ + interface PolkadotPrimitivesV7AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; readonly maxMessageSize: u32; @@ -7297,8 +7300,8 @@ declare module '@polkadot/types/lookup' { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV6AbridgedHostConfiguration (693) */ - interface PolkadotPrimitivesV6AbridgedHostConfiguration extends Struct { + /** @name PolkadotPrimitivesV7AbridgedHostConfiguration (696) */ + interface PolkadotPrimitivesV7AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; readonly maxUpwardQueueCount: u32; @@ -7308,22 +7311,22 @@ declare module '@polkadot/types/lookup' { readonly hrmpMaxMessageNumPerCandidate: u32; readonly validationUpgradeCooldown: u32; readonly validationUpgradeDelay: u32; - readonly asyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; + readonly asyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV6AsyncBackingAsyncBackingParams (694) */ - interface PolkadotPrimitivesV6AsyncBackingAsyncBackingParams extends Struct { + /** @name PolkadotPrimitivesV7AsyncBackingAsyncBackingParams (697) */ + interface PolkadotPrimitivesV7AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (700) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (703) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemError (701) */ + /** @name CumulusPalletParachainSystemError (704) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -7336,52 +7339,64 @@ declare module '@polkadot/types/lookup' { readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name PalletSudoError (702) */ + /** @name PalletSudoError (705) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name FrameSystemExtensionsCheckNonZeroSender (705) */ + /** @name FrameSystemExtensionsCheckNonZeroSender (708) */ type FrameSystemExtensionsCheckNonZeroSender = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (706) */ + /** @name FrameSystemExtensionsCheckSpecVersion (709) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (707) */ + /** @name FrameSystemExtensionsCheckTxVersion (710) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (708) */ + /** @name FrameSystemExtensionsCheckGenesis (711) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name RuntimeCommonCheckNonce (711) */ + /** @name RuntimeCommonCheckNonce (714) */ interface RuntimeCommonCheckNonce extends Struct { readonly nonce: Compact; } - /** @name FrameSystemExtensionsCheckWeight (712) */ + /** @name FrameSystemExtensionsCheckWeight (715) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name ModuleEvmSetEvmOrigin (713) */ + /** @name FrameMetadataHashExtensionCheckMetadataHash (716) */ + interface FrameMetadataHashExtensionCheckMetadataHash extends Struct { + readonly mode: FrameMetadataHashExtensionMode; + } + + /** @name FrameMetadataHashExtensionMode (717) */ + interface FrameMetadataHashExtensionMode extends Enum { + readonly isDisabled: boolean; + readonly isEnabled: boolean; + readonly type: 'Disabled' | 'Enabled'; + } + + /** @name ModuleEvmSetEvmOrigin (718) */ type ModuleEvmSetEvmOrigin = Null; - /** @name ModuleTransactionPaymentChargeTransactionPayment (714) */ + /** @name ModuleTransactionPaymentChargeTransactionPayment (719) */ interface ModuleTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name AcalaRuntimeStorageDepositPerByte (715) */ + /** @name AcalaRuntimeStorageDepositPerByte (720) */ type AcalaRuntimeStorageDepositPerByte = Null; - /** @name AcalaRuntimeTxFeePerGas (716) */ + /** @name AcalaRuntimeTxFeePerGas (721) */ type AcalaRuntimeTxFeePerGas = Null; - /** @name AcalaPrimitivesSignatureAcalaMultiSignature (718) */ + /** @name AcalaPrimitivesSignatureAcalaMultiSignature (723) */ interface AcalaPrimitivesSignatureAcalaMultiSignature extends Enum { readonly isEd25519: boolean; - readonly asEd25519: SpCoreEd25519Signature; + readonly asEd25519: U8aFixed; readonly isSr25519: boolean; - readonly asSr25519: SpCoreSr25519Signature; + readonly asSr25519: U8aFixed; readonly isEcdsa: boolean; - readonly asEcdsa: SpCoreEcdsaSignature; + readonly asEcdsa: U8aFixed; readonly isEthereum: boolean; readonly asEthereum: U8aFixed; readonly isEip1559: boolean; @@ -7393,13 +7408,4 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa' | 'Ethereum' | 'Eip1559' | 'AcalaEip712' | 'Eip2930'; } - /** @name SpCoreEd25519Signature (719) */ - interface SpCoreEd25519Signature extends U8aFixed {} - - /** @name SpCoreSr25519Signature (721) */ - interface SpCoreSr25519Signature extends U8aFixed {} - - /** @name SpCoreEcdsaSignature (722) */ - interface SpCoreEcdsaSignature extends U8aFixed {} - } // declare module diff --git a/yarn.lock b/yarn.lock index 0ec47f3..5805b9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,7 @@ __metadata: "@acala-network/types": 6.1.3 typescript: ^5.0.4 peerDependencies: - "@polkadot/api": ^12 + "@polkadot/api": ^14 languageName: unknown linkType: soft @@ -31,7 +31,7 @@ __metadata: "@acala-network/types": 6.1.3 typescript: ^5.0.4 peerDependencies: - "@polkadot/api": ^12 + "@polkadot/api": ^14 languageName: unknown linkType: soft @@ -39,11 +39,11 @@ __metadata: version: 0.0.0-use.local resolution: "@acala-network/types@workspace:packages/types" dependencies: - "@polkadot/typegen": ^12.2.1 + "@polkadot/typegen": ^14 "@types/node": ^20.4.9 typescript: ^5.0.4 peerDependencies: - "@polkadot/api": ^12 + "@polkadot/api": ^14 languageName: unknown linkType: soft @@ -190,235 +190,238 @@ __metadata: languageName: node linkType: hard -"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1": - version: 0.0.1 - resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1" - checksum: cf8daf52ff6d92f26c6027f13ef5fbef9e512626e0225bc8408b79002cfd34fc17c5f2d856beebcb01aa5f84c93ccc8272f9264dc8349b7f6cb63845b30119b5 +"@polkadot-api/json-rpc-provider-proxy@npm:^0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.1.0" + checksum: 3dcfa50dfa9c1b5654d97d818ae85042facfdf47b71c418f069d664eba149c6be10eb02a8e8de011ce8753a813e214fff195f45f55851b8cfc7f60138fe9dfb2 languageName: node linkType: hard -"@polkadot-api/json-rpc-provider@npm:0.0.1": +"@polkadot-api/json-rpc-provider@npm:0.0.1, @polkadot-api/json-rpc-provider@npm:^0.0.1": version: 0.0.1 resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1" checksum: 1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c languageName: node linkType: hard -"@polkadot-api/metadata-builders@npm:0.0.1": - version: 0.0.1 - resolution: "@polkadot-api/metadata-builders@npm:0.0.1" +"@polkadot-api/metadata-builders@npm:0.3.2": + version: 0.3.2 + resolution: "@polkadot-api/metadata-builders@npm:0.3.2" dependencies: - "@polkadot-api/substrate-bindings": 0.0.1 - "@polkadot-api/utils": 0.0.1 - checksum: 7cf69e583e64f0ea1b90b141d9f61c4b0ba445daf87d4eba25bfcaa629c95cf4bbe6d89f5263dc495189fae0795c45810a004a2a8fbf59ece01ae71e1e049f17 + "@polkadot-api/substrate-bindings": 0.6.0 + "@polkadot-api/utils": 0.1.0 + checksum: e37a664ac2582048a0dd0357b378349f2165eb2f0902f7bc3aa7ec7b84735cba2b4103d36169089671c422caab30af00467cf2866c1456fc668f57ff1c8d3b55 languageName: node linkType: hard -"@polkadot-api/observable-client@npm:0.1.0": - version: 0.1.0 - resolution: "@polkadot-api/observable-client@npm:0.1.0" +"@polkadot-api/observable-client@npm:^0.3.0": + version: 0.3.2 + resolution: "@polkadot-api/observable-client@npm:0.3.2" dependencies: - "@polkadot-api/metadata-builders": 0.0.1 - "@polkadot-api/substrate-bindings": 0.0.1 - "@polkadot-api/substrate-client": 0.0.1 - "@polkadot-api/utils": 0.0.1 + "@polkadot-api/metadata-builders": 0.3.2 + "@polkadot-api/substrate-bindings": 0.6.0 + "@polkadot-api/utils": 0.1.0 peerDependencies: + "@polkadot-api/substrate-client": 0.1.4 rxjs: ">=7.8.0" - checksum: 694ee405f40ce47eb8d23dd2fc68359a5016c54ac530893a76e772a2d6a1a7c09c3a11d772b7c196af4faa29e98a443849334b97c6bf91af616990b4c7834caa + checksum: a559a815c11fe29c5ce1d69e132bbfb451abd1de3fa2c701fa60777388c3730fb86acd7f6e3d9580ae50a148c742d4562aca90070c04c70fa9d45f9d5148b448 languageName: node linkType: hard -"@polkadot-api/substrate-bindings@npm:0.0.1": - version: 0.0.1 - resolution: "@polkadot-api/substrate-bindings@npm:0.0.1" +"@polkadot-api/substrate-bindings@npm:0.6.0": + version: 0.6.0 + resolution: "@polkadot-api/substrate-bindings@npm:0.6.0" dependencies: "@noble/hashes": ^1.3.1 - "@polkadot-api/utils": 0.0.1 + "@polkadot-api/utils": 0.1.0 "@scure/base": ^1.1.1 scale-ts: ^1.6.0 - checksum: fc49e49ffe749fc6fab49eee1d10d47fcd1fa3a9b6ca4e7bbde4e9741b9e062cd4e9271fd86a2525095ff36bf33b95d57c51efb88635bb60b2c77fa9e83b2cd6 + checksum: c752d52dbea2b332357652b5475297ee6fa2f1ab8adffa7bd697522df5a42a0c358aec6f558523fd6f38ab20ab54ed0bda284c0c0424d917c1c68ef435dde4a4 languageName: node linkType: hard -"@polkadot-api/substrate-client@npm:0.0.1": - version: 0.0.1 - resolution: "@polkadot-api/substrate-client@npm:0.0.1" - checksum: 13dc05f1fce0d00241b48d262d691a740c65b107800cdfdf8d800333e9b3950932ce50a88bf65810892e43103bf57d1541c71538e68aa27b9aba55b389835b91 +"@polkadot-api/substrate-client@npm:^0.1.2": + version: 0.1.4 + resolution: "@polkadot-api/substrate-client@npm:0.1.4" + dependencies: + "@polkadot-api/json-rpc-provider": 0.0.1 + "@polkadot-api/utils": 0.1.0 + checksum: b975bdf030523ea7620ef58b50ca1d258266656f040a95fa7875a59535a935b05d23d893090fc1216b0e119327b2df329a1aaca84c8893f5924b9536d2ed8473 languageName: node linkType: hard -"@polkadot-api/utils@npm:0.0.1": - version: 0.0.1 - resolution: "@polkadot-api/utils@npm:0.0.1" - checksum: 11e67019cbf6dd39997d772edf14296c1b156d7a59c7726ce117b438ee85a5e50e305514a2a93cba87fdce1380fcf045931f2fb959df3a43bb327e77ac876148 +"@polkadot-api/utils@npm:0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/utils@npm:0.1.0" + checksum: 55f39cf6949e54b763fc67e5132ae7d1095bf28f8413895dcec7e5778d9fe345b1ce9fe08f127c84f79fb9aedd51f045aa8ed84b2a72f4217047a91d2ecb4c27 languageName: node linkType: hard -"@polkadot/api-augment@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/api-augment@npm:12.2.1" +"@polkadot/api-augment@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/api-augment@npm:14.2.3" dependencies: - "@polkadot/api-base": 12.2.1 - "@polkadot/rpc-augment": 12.2.1 - "@polkadot/types": 12.2.1 - "@polkadot/types-augment": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.2 - checksum: 6db34541be0fbcfafd5446715cb12b2223b59f74e9fea0147c411b082d4057256172ef0ba570fa50d539a1ca5d583d02408778a549813104a2c4f6b2a7ba744a + "@polkadot/api-base": 14.2.3 + "@polkadot/rpc-augment": 14.2.3 + "@polkadot/types": 14.2.3 + "@polkadot/types-augment": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/util": ^13.2.2 + tslib: ^2.8.0 + checksum: 08cc50106982a941db5b5845f456e60d8434fabb5561267bbd682d6c53847b8f574755c872ed2e0855206248ef49171cf03fe520639dee768af1ba789e149f0a languageName: node linkType: hard -"@polkadot/api-base@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/api-base@npm:12.2.1" +"@polkadot/api-base@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/api-base@npm:14.2.3" dependencies: - "@polkadot/rpc-core": 12.2.1 - "@polkadot/types": 12.2.1 - "@polkadot/util": ^13.0.2 + "@polkadot/rpc-core": 14.2.3 + "@polkadot/types": 14.2.3 + "@polkadot/util": ^13.2.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 2faa213e9185e8686182323b4a5de222145131429aa8ddb728bf6833381b2906a76e99b6e53d4bd52009f1032be1c19362206c928f7f9779b7fe88443359a417 + tslib: ^2.8.0 + checksum: 3265ff40566ad902f8ed80348fbade0a8d45dafeb45e685860ae4f042c8847d6fd5581826cd32c8800b51ce7ee0299d0a1e12e0090115f566a1e30d1cfb0c20b languageName: node linkType: hard -"@polkadot/api-derive@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/api-derive@npm:12.2.1" +"@polkadot/api-derive@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/api-derive@npm:14.2.3" dependencies: - "@polkadot/api": 12.2.1 - "@polkadot/api-augment": 12.2.1 - "@polkadot/api-base": 12.2.1 - "@polkadot/rpc-core": 12.2.1 - "@polkadot/types": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 + "@polkadot/api": 14.2.3 + "@polkadot/api-augment": 14.2.3 + "@polkadot/api-base": 14.2.3 + "@polkadot/rpc-core": 14.2.3 + "@polkadot/types": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/util": ^13.2.2 + "@polkadot/util-crypto": ^13.2.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: e4937563175a57bf098883a9172f8b1026c80690a333025065e106d0284a9705da0f50694cf474449c6105cc693d3131639b93b1d70db2248583adf626df6c01 - languageName: node - linkType: hard - -"@polkadot/api@npm:12.2.1, @polkadot/api@npm:^12": - version: 12.2.1 - resolution: "@polkadot/api@npm:12.2.1" - dependencies: - "@polkadot/api-augment": 12.2.1 - "@polkadot/api-base": 12.2.1 - "@polkadot/api-derive": 12.2.1 - "@polkadot/keyring": ^13.0.2 - "@polkadot/rpc-augment": 12.2.1 - "@polkadot/rpc-core": 12.2.1 - "@polkadot/rpc-provider": 12.2.1 - "@polkadot/types": 12.2.1 - "@polkadot/types-augment": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/types-create": 12.2.1 - "@polkadot/types-known": 12.2.1 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 + tslib: ^2.8.0 + checksum: d6acd77c49f06e556a356c99da51ce8ca7149c7497cfb7c8d8d0350b629a50cedd1484d229070b4b7aef56c5ad53367d741c34935821a9b134a1a5d7eabd715b + languageName: node + linkType: hard + +"@polkadot/api@npm:14.2.3, @polkadot/api@npm:^14": + version: 14.2.3 + resolution: "@polkadot/api@npm:14.2.3" + dependencies: + "@polkadot/api-augment": 14.2.3 + "@polkadot/api-base": 14.2.3 + "@polkadot/api-derive": 14.2.3 + "@polkadot/keyring": ^13.2.2 + "@polkadot/rpc-augment": 14.2.3 + "@polkadot/rpc-core": 14.2.3 + "@polkadot/rpc-provider": 14.2.3 + "@polkadot/types": 14.2.3 + "@polkadot/types-augment": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/types-create": 14.2.3 + "@polkadot/types-known": 14.2.3 + "@polkadot/util": ^13.2.2 + "@polkadot/util-crypto": ^13.2.2 eventemitter3: ^5.0.1 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 758499b7cce7b8320f30561c976429c02232ed863ffd2f4a7737b11db604ec560d919e327ccec6c95a08ede17bbb4eeaca859f05d45ff64366fa00126887b9d4 + tslib: ^2.8.0 + checksum: 67c169cb637a7d47d7ee5bbf8d872bab63e1e1b9827bd4fd4af520abba8eb8b647f275d778306e7c9832c857fe6c7674cf232a9d117bdc94e428890836ab218d languageName: node linkType: hard -"@polkadot/keyring@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/keyring@npm:13.0.2" +"@polkadot/keyring@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/keyring@npm:13.2.2" dependencies: - "@polkadot/util": 13.0.2 - "@polkadot/util-crypto": 13.0.2 - tslib: ^2.6.2 + "@polkadot/util": 13.2.2 + "@polkadot/util-crypto": 13.2.2 + tslib: ^2.8.0 peerDependencies: - "@polkadot/util": 13.0.2 - "@polkadot/util-crypto": 13.0.2 - checksum: 334aaee396e3f624341ac87bbf9288b3ae0b7c5d8ef222741b802563b1ae88c47f2b8ec2a1989cd62403e1ae0261b4380218c5e112d8a44674cf432216f5c3bb + "@polkadot/util": 13.2.2 + "@polkadot/util-crypto": 13.2.2 + checksum: a71a2dd6ddf6c5fef3504d994c7f2359f205f51fccb045b6a6cd95232df6266af165e7fcb05adf9a8ff6021d7f9cd5ad6744ff8ceefaab0faeda0ed68c8c7b9c languageName: node linkType: hard -"@polkadot/networks@npm:13.0.2, @polkadot/networks@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/networks@npm:13.0.2" +"@polkadot/networks@npm:13.2.2, @polkadot/networks@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/networks@npm:13.2.2" dependencies: - "@polkadot/util": 13.0.2 - "@substrate/ss58-registry": ^1.46.0 - tslib: ^2.6.2 - checksum: 4bc02ae6a95c0bf770ab2ba99af59013665edf4e759a228148289859dcc171be61d93359f6846a5d248707eb215bcbf2ca69ae9f63eb1720caa38ceb3dab7587 + "@polkadot/util": 13.2.2 + "@substrate/ss58-registry": ^1.51.0 + tslib: ^2.8.0 + checksum: 9f12a399fb12f1e6e9b2b8d746f7b1819a2dae5c4cc5145567198460b823a0acc01222e81660e2a4ae0d33904f13c18c67701cdcab41cb713d2f856632e2c460 languageName: node linkType: hard -"@polkadot/rpc-augment@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/rpc-augment@npm:12.2.1" +"@polkadot/rpc-augment@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/rpc-augment@npm:14.2.3" dependencies: - "@polkadot/rpc-core": 12.2.1 - "@polkadot/types": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.2 - checksum: 6c135b9f8892fd6ccc89dc3e7d6f16c905fbc4fe254611fe0e9c33b26b48cbdafbbf31d4c6b75916b01dd9ea6aa1e9302446918b9ad719708da16505fc8373c4 + "@polkadot/rpc-core": 14.2.3 + "@polkadot/types": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/util": ^13.2.2 + tslib: ^2.8.0 + checksum: ccc48224fae386498ccf7097a2f0d0cd8543944c43781e0f437c9549415c69577474cd9ce75999feacb7b3d56f606e0e6224fe2eb3b6430fa72d1e75fcd1eba3 languageName: node linkType: hard -"@polkadot/rpc-core@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/rpc-core@npm:12.2.1" +"@polkadot/rpc-core@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/rpc-core@npm:14.2.3" dependencies: - "@polkadot/rpc-augment": 12.2.1 - "@polkadot/rpc-provider": 12.2.1 - "@polkadot/types": 12.2.1 - "@polkadot/util": ^13.0.2 + "@polkadot/rpc-augment": 14.2.3 + "@polkadot/rpc-provider": 14.2.3 + "@polkadot/types": 14.2.3 + "@polkadot/util": ^13.2.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: 8cc792752287e772ed892be664cab9bc4b006b9b723aeebab0c5a34da19009e7ffa1738aa7f2949e278ea9fff9b3acfa5131ec1b597796484b5aba7e701dbc53 + tslib: ^2.8.0 + checksum: a9e0c5948ce5be9687e6849eadd47ed8a3acc6c069aa00cd16b3ba675184bb17b150505bd2a8a6b30a425d9fd6f95d08ce944dba6a5f6b8c67665080c2c69589 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/rpc-provider@npm:12.2.1" +"@polkadot/rpc-provider@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/rpc-provider@npm:14.2.3" dependencies: - "@polkadot/keyring": ^13.0.2 - "@polkadot/types": 12.2.1 - "@polkadot/types-support": 12.2.1 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 - "@polkadot/x-fetch": ^13.0.2 - "@polkadot/x-global": ^13.0.2 - "@polkadot/x-ws": ^13.0.2 - "@substrate/connect": 0.8.10 + "@polkadot/keyring": ^13.2.2 + "@polkadot/types": 14.2.3 + "@polkadot/types-support": 14.2.3 + "@polkadot/util": ^13.2.2 + "@polkadot/util-crypto": ^13.2.2 + "@polkadot/x-fetch": ^13.2.2 + "@polkadot/x-global": ^13.2.2 + "@polkadot/x-ws": ^13.2.2 + "@substrate/connect": 0.8.11 eventemitter3: ^5.0.1 mock-socket: ^9.3.1 - nock: ^13.5.0 - tslib: ^2.6.2 + nock: ^13.5.5 + tslib: ^2.8.0 dependenciesMeta: "@substrate/connect": optional: true - checksum: abf57fce247956fb62d59e34289627fce100053de32103efafbe5fde2238d7ff746d03c02aff6105f7300b91147645fa50a91cf7e82d3f46cbaa4c7296b29bd1 - languageName: node - linkType: hard - -"@polkadot/typegen@npm:^12.2.1": - version: 12.2.1 - resolution: "@polkadot/typegen@npm:12.2.1" - dependencies: - "@polkadot/api": 12.2.1 - "@polkadot/api-augment": 12.2.1 - "@polkadot/rpc-augment": 12.2.1 - "@polkadot/rpc-provider": 12.2.1 - "@polkadot/types": 12.2.1 - "@polkadot/types-augment": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/types-create": 12.2.1 - "@polkadot/types-support": 12.2.1 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 - "@polkadot/x-ws": ^13.0.2 + checksum: d496cb1b43575a4f9d1722b0ae64e273401337da8b52da6009fbea0c26ead30b73efdcba4abbb7b63abe546d2d4fb6b54e3953464589a754508c9f92708ff0a4 + languageName: node + linkType: hard + +"@polkadot/typegen@npm:^14": + version: 14.2.3 + resolution: "@polkadot/typegen@npm:14.2.3" + dependencies: + "@polkadot/api": 14.2.3 + "@polkadot/api-augment": 14.2.3 + "@polkadot/rpc-augment": 14.2.3 + "@polkadot/rpc-provider": 14.2.3 + "@polkadot/types": 14.2.3 + "@polkadot/types-augment": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/types-create": 14.2.3 + "@polkadot/types-support": 14.2.3 + "@polkadot/util": ^13.2.2 + "@polkadot/util-crypto": ^13.2.2 + "@polkadot/x-ws": ^13.2.2 handlebars: ^4.7.8 - tslib: ^2.6.2 + tslib: ^2.8.0 yargs: ^17.7.2 bin: polkadot-types-chain-info: scripts/polkadot-types-chain-info.mjs @@ -426,280 +429,287 @@ __metadata: polkadot-types-from-defs: scripts/polkadot-types-from-defs.mjs polkadot-types-internal-interfaces: scripts/polkadot-types-internal-interfaces.mjs polkadot-types-internal-metadata: scripts/polkadot-types-internal-metadata.mjs - checksum: b5d5a414f9fb08d4f45699a3be15d3603993911bc6251cbbf2bf6a4c1213d40b311ed133f85717267aae302fdc35ecdfbf267688eb60f3b55abbb47604173aea + checksum: 57d5b0c4d1adde43ee07fbfe3d19b08c1040fc5b156860c65eb0919b8e95af9001b2545727970620a23db6fc916be26959731ce5b90086cbf512a9c51767d998 languageName: node linkType: hard -"@polkadot/types-augment@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/types-augment@npm:12.2.1" +"@polkadot/types-augment@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-augment@npm:14.2.3" dependencies: - "@polkadot/types": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.2 - checksum: 1481ef2051838c659f5d4cc0105343bd67dc9a14f2de9ba44ee32b9679eeb0475ae53721cac69358178f58b57fc8d07d167075886003b0f01d486be3568c9392 + "@polkadot/types": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/util": ^13.2.2 + tslib: ^2.8.0 + checksum: 5b4f0cd850335b16064a69722a6e8bd64efefc75ac8538fff6ba07f81203e596443aa7e5dd0cdfd033eed6d6ac596c64ba0111baf6b688fcbaaf0c1805afdee0 languageName: node linkType: hard -"@polkadot/types-codec@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/types-codec@npm:12.2.1" +"@polkadot/types-codec@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-codec@npm:14.2.3" dependencies: - "@polkadot/util": ^13.0.2 - "@polkadot/x-bigint": ^13.0.2 - tslib: ^2.6.2 - checksum: 6780dc0ffdd6a954ff6c50161b2dc0bc14840c4c58adcab7aef3d56cfa2bb58a9ee79ee5a972c0c430b5afb34200d2a7fdfa9911cf78d2333998e3ba45456caf + "@polkadot/util": ^13.2.2 + "@polkadot/x-bigint": ^13.2.2 + tslib: ^2.8.0 + checksum: 00d7367ad9bd3b48632ec74c2dc089decfd706b67429863bbc6d48355b928fe29af510c2e7efd64b21feacb7440577bc213f5b38def739481c4c5e7a906850a8 languageName: node linkType: hard -"@polkadot/types-create@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/types-create@npm:12.2.1" +"@polkadot/types-create@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-create@npm:14.2.3" dependencies: - "@polkadot/types-codec": 12.2.1 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.2 - checksum: c6d0058b70a0d23e50808432dd4243483a299a77cde6fc5ad70bee9dab924b99019c4a8e86ffed3f2e61fafffa7d803d1113cbf102f03c2a4e9110f6c8456e92 + "@polkadot/types-codec": 14.2.3 + "@polkadot/util": ^13.2.2 + tslib: ^2.8.0 + checksum: 0932a9f940752a2a3687f2119146891a7a3d22cf61a0e01679df75832d64a2116d25a2f50735248f4fc7ce15b89e7921cb763782a60c54519ad8772fd015506b languageName: node linkType: hard -"@polkadot/types-known@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/types-known@npm:12.2.1" +"@polkadot/types-known@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-known@npm:14.2.3" dependencies: - "@polkadot/networks": ^13.0.2 - "@polkadot/types": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/types-create": 12.2.1 - "@polkadot/util": ^13.0.2 - tslib: ^2.6.2 - checksum: cb711b3aacb1cee262d91cf28c59740256ba70e00aeff7580bce0c924be33d99fa15816ce1381796f7d1ea981467449f77f37ab39f08d082a740c285932658e8 + "@polkadot/networks": ^13.2.2 + "@polkadot/types": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/types-create": 14.2.3 + "@polkadot/util": ^13.2.2 + tslib: ^2.8.0 + checksum: a9f82d699a681abb17bbc480a4074d573ca9799d8ca633d7ef623fe3e218ac8288ca0825ee5eb463652583212eaccabcd6a450b1d8bcdf95029df33d112ad8ce languageName: node linkType: hard -"@polkadot/types-support@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/types-support@npm:12.2.1" +"@polkadot/types-support@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types-support@npm:14.2.3" dependencies: - "@polkadot/util": ^13.0.2 - tslib: ^2.6.2 - checksum: 7dcc139f94dd34a6f58d8ff170d5a5d89eae7ca231a8d13bab7afd5d4a8db18a59165a12c16629df78af1202099536078c37df278eb632b18075ccf3cbbfdeec + "@polkadot/util": ^13.2.2 + tslib: ^2.8.0 + checksum: 7c8a052560dac1c2e6f99b3694c45e0d1e8a9fea5937aaf3a32d22c8214ebecfea3125034721302cd3cd3b152995f5a4d60a1f459798333a0297b29ee6cd37a8 languageName: node linkType: hard -"@polkadot/types@npm:12.2.1": - version: 12.2.1 - resolution: "@polkadot/types@npm:12.2.1" +"@polkadot/types@npm:14.2.3": + version: 14.2.3 + resolution: "@polkadot/types@npm:14.2.3" dependencies: - "@polkadot/keyring": ^13.0.2 - "@polkadot/types-augment": 12.2.1 - "@polkadot/types-codec": 12.2.1 - "@polkadot/types-create": 12.2.1 - "@polkadot/util": ^13.0.2 - "@polkadot/util-crypto": ^13.0.2 + "@polkadot/keyring": ^13.2.2 + "@polkadot/types-augment": 14.2.3 + "@polkadot/types-codec": 14.2.3 + "@polkadot/types-create": 14.2.3 + "@polkadot/util": ^13.2.2 + "@polkadot/util-crypto": ^13.2.2 rxjs: ^7.8.1 - tslib: ^2.6.2 - checksum: be5be5d851dd63ac00fd42907d923d929cd6dca96f671284d34b9fabb75e7b987fa6be5cc74ebaae19cc541827e8b7e6f32e5b980cbf3dbb9b7404b1a0773d73 + tslib: ^2.8.0 + checksum: 3db20854a285f06bffa8011c0aca751315622e5ee333e47d59f2037e97ac049ffc232f4313f6047b3bf74e3a06fb0f489f76147178b0adfeeb518d23539b90fe languageName: node linkType: hard -"@polkadot/util-crypto@npm:13.0.2, @polkadot/util-crypto@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/util-crypto@npm:13.0.2" +"@polkadot/util-crypto@npm:13.2.2, @polkadot/util-crypto@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/util-crypto@npm:13.2.2" dependencies: "@noble/curves": ^1.3.0 "@noble/hashes": ^1.3.3 - "@polkadot/networks": 13.0.2 - "@polkadot/util": 13.0.2 - "@polkadot/wasm-crypto": ^7.3.2 - "@polkadot/wasm-util": ^7.3.2 - "@polkadot/x-bigint": 13.0.2 - "@polkadot/x-randomvalues": 13.0.2 - "@scure/base": ^1.1.5 - tslib: ^2.6.2 + "@polkadot/networks": 13.2.2 + "@polkadot/util": 13.2.2 + "@polkadot/wasm-crypto": ^7.4.1 + "@polkadot/wasm-util": ^7.4.1 + "@polkadot/x-bigint": 13.2.2 + "@polkadot/x-randomvalues": 13.2.2 + "@scure/base": ^1.1.7 + tslib: ^2.8.0 peerDependencies: - "@polkadot/util": 13.0.2 - checksum: 025bb2179d77b73dd8af775192627fe31e985e365fbecf38d7903a663aa11b703fa3f23fbb65e53d0a9710cc087e0cb9a113b0a660d8e9b36de21c36c1bc40d7 + "@polkadot/util": 13.2.2 + checksum: 8dbfd95f9b9134ff0320d461a86b374333854334f65b4ef1e31f2932866679544fd1502ddd7b568191f38f53df376e2401057682709a032e5b489b5bd7d754a4 languageName: node linkType: hard -"@polkadot/util@npm:13.0.2, @polkadot/util@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/util@npm:13.0.2" +"@polkadot/util@npm:13.2.2, @polkadot/util@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/util@npm:13.2.2" dependencies: - "@polkadot/x-bigint": 13.0.2 - "@polkadot/x-global": 13.0.2 - "@polkadot/x-textdecoder": 13.0.2 - "@polkadot/x-textencoder": 13.0.2 - "@types/bn.js": ^5.1.5 + "@polkadot/x-bigint": 13.2.2 + "@polkadot/x-global": 13.2.2 + "@polkadot/x-textdecoder": 13.2.2 + "@polkadot/x-textencoder": 13.2.2 + "@types/bn.js": ^5.1.6 bn.js: ^5.2.1 - tslib: ^2.6.2 - checksum: c7d71898395d2e9fb994ed53be10e9b44e9cb6f6bd502ce31a48848dda032a9e3f462a6039759798023425c6e17d5a7515784f0a8c0ab74c1a0a2691b0ef3660 + tslib: ^2.8.0 + checksum: 26150ecf09251c1d12f48587618ac33647d6a0d0e2f18eb459157b1c7c45b9f62ef65104d77732d2d9eab309c2d209a8d3a09c773c4542b8cd6536fa5d7fc578 languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-bridge@npm:7.3.2" +"@polkadot/wasm-bridge@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-bridge@npm:7.4.1" dependencies: - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 8c68b78cbd62347ebdf3fa66f2ffd1f7e883df71d770f5099ff652b083a79f1d7e9e7826a6acd8e986e9da0b07c0170a3f77b6a35726c6b24d856e3f8d08d201 + checksum: 2cb4389853764eccebbe37a36e583a240b06e20c726247173c3ff5d85e198544c17ebef302da2e40ccd67f4fdb81454ab01cfbfc2fb93b1b3553d5bcdf4fe1bc languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-asmjs@npm:7.3.2" +"@polkadot/wasm-crypto-asmjs@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.4.1" dependencies: - tslib: ^2.6.2 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" - checksum: 669ea001565301f9b1a8feecb0e301c854fc318e5605316b57be7e83d717e7ee8ac460001cd44b18075a3d028c32c4a605c0e0e2e95ae00865282321b009ed26 + checksum: 983c345b034723d1967349f446682f79c1ee02030895153fd4aa137cd00bbf8788ddfeb0825e2118ee5db2894707f4224d61eabe931c028d22d1f10e52a1acd8 languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-init@npm:7.3.2" +"@polkadot/wasm-crypto-init@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto-init@npm:7.4.1" dependencies: - "@polkadot/wasm-bridge": 7.3.2 - "@polkadot/wasm-crypto-asmjs": 7.3.2 - "@polkadot/wasm-crypto-wasm": 7.3.2 - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-bridge": 7.4.1 + "@polkadot/wasm-crypto-asmjs": 7.4.1 + "@polkadot/wasm-crypto-wasm": 7.4.1 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: af7bc62bba16f1fbbfd76601ecf18ed8f4dfc685807e2e89ef8e8d02f824d1a1ed1635e9c2448c6c12a9a183192b18943f9ce077d6b7781c4d43cdb5c45c9161 + checksum: fc697dc76d99b9597750abe3739da28ed3731b199eb8efc522bab03bca4fb9b34ece091ebd9bd26509d75a9785078724417754ac45e1fec4ed541b805fc75025 languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto-wasm@npm:7.3.2" +"@polkadot/wasm-crypto-wasm@npm:7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.4.1" dependencies: - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" - checksum: e112ea3d4f8858a95fdaad47341b422db3db3256b7e7d709d1c3e0bc4c4bbdf81028eaa556b688078b32ff15be33af093b903c680f54eb1552072afede621a6a + checksum: 303c53cdb5a9219f52827cb51bae8be3e897317280adea8a6507a5cbf3ad4b4bd62b5ca7ceba02f972dc0df1e36a4a169b9eaf863076a913c2a612e9c71742f4 languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-crypto@npm:7.3.2" +"@polkadot/wasm-crypto@npm:^7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-crypto@npm:7.4.1" dependencies: - "@polkadot/wasm-bridge": 7.3.2 - "@polkadot/wasm-crypto-asmjs": 7.3.2 - "@polkadot/wasm-crypto-init": 7.3.2 - "@polkadot/wasm-crypto-wasm": 7.3.2 - "@polkadot/wasm-util": 7.3.2 - tslib: ^2.6.2 + "@polkadot/wasm-bridge": 7.4.1 + "@polkadot/wasm-crypto-asmjs": 7.4.1 + "@polkadot/wasm-crypto-init": 7.4.1 + "@polkadot/wasm-crypto-wasm": 7.4.1 + "@polkadot/wasm-util": 7.4.1 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 574006cdcc3e76af28cc79102726a79fdcd765ca5b45cbc4807d70917d82131b59f50b5cc07bd165b2863ed131b8764fef74b00c68ba5ec30a21c04c72061f8f + checksum: c3c155ad08a3be5b3de22743a3e8f3658082150138e770d4604e55256671021fb9d2f191fc228b0a7893a1af1cfce21daa11f7300a8b4cf1037de01aad583dcf languageName: node linkType: hard -"@polkadot/wasm-util@npm:7.3.2, @polkadot/wasm-util@npm:^7.3.2": - version: 7.3.2 - resolution: "@polkadot/wasm-util@npm:7.3.2" +"@polkadot/wasm-util@npm:7.4.1, @polkadot/wasm-util@npm:^7.4.1": + version: 7.4.1 + resolution: "@polkadot/wasm-util@npm:7.4.1" dependencies: - tslib: ^2.6.2 + tslib: ^2.7.0 peerDependencies: "@polkadot/util": "*" - checksum: 44bd445043714aac6d184ce02d62fbdb97a117fd4d8bdbf3f2c1d14f6911a7d87ed6bb4682035eb757524ade995f7f4f8aaa07c8a194f761884ded25a6b383a9 + checksum: 16995482059ea7b3fa95ecb8bddd1465af64ca8b0b42b9942839fd0aa7bf556b7f4c914eb3bfe035d73ec5f1dc91f1b0b5d502bfb9d8b809d4399cd15b934e70 languageName: node linkType: hard -"@polkadot/x-bigint@npm:13.0.2, @polkadot/x-bigint@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/x-bigint@npm:13.0.2" +"@polkadot/x-bigint@npm:13.2.2, @polkadot/x-bigint@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-bigint@npm:13.2.2" dependencies: - "@polkadot/x-global": 13.0.2 - tslib: ^2.6.2 - checksum: a1c9d9ab3aa27f7a68a879c76cea38ca4757ae4802c6d2a7402dbfbf31468c4dd3c4f1e852e62c0a1bff18889fccac1ccbc38649bf96e9473948ea7d7c2899f3 + "@polkadot/x-global": 13.2.2 + tslib: ^2.8.0 + checksum: 983001a8b12ed3f4f226c7a58726fcb762c6bc93c451892fb8a998e6c22057cf6f35d909cd5435ca0baddebcdc389f0adae1f3106a5190b602e9d426eaaed884 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/x-fetch@npm:13.0.2" +"@polkadot/x-fetch@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-fetch@npm:13.2.2" dependencies: - "@polkadot/x-global": 13.0.2 + "@polkadot/x-global": 13.2.2 node-fetch: ^3.3.2 - tslib: ^2.6.2 - checksum: 459948a2b95601b0a39a7eb55277e80bd33e2df1ecab133dbe9823e020d3d5f2a64056911fc2072d0c328550c510e7e0ec45327b354530ae83306d536c616e29 + tslib: ^2.8.0 + checksum: 53d3e279cae86fe0b5ef929049fbec85b40c13e8c8de1601e68bd036090085e3edc964cf2cc1d7a9022ca4e15e6353b905b32d95d8b8ba760278de2e52fee67a languageName: node linkType: hard -"@polkadot/x-global@npm:13.0.2, @polkadot/x-global@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/x-global@npm:13.0.2" +"@polkadot/x-global@npm:13.2.2, @polkadot/x-global@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-global@npm:13.2.2" dependencies: - tslib: ^2.6.2 - checksum: b487bf2a15d77681efae5e928364526102cff48207a871662515c500404ae58d9d08df813fd675c8bf0a2744dbf4648db6a0fe927993e597e8391349295560c8 + tslib: ^2.8.0 + checksum: e779b89dc9aa2fcb56d82b7f98bf213abca90c0176c9e1c40931c3c98f5a4a95ceebc826024f479a897ac408323ed8de71735b2f5513a98a0c50afacbd48d9cb languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:13.0.2": - version: 13.0.2 - resolution: "@polkadot/x-randomvalues@npm:13.0.2" +"@polkadot/x-randomvalues@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-randomvalues@npm:13.2.2" dependencies: - "@polkadot/x-global": 13.0.2 - tslib: ^2.6.2 + "@polkadot/x-global": 13.2.2 + tslib: ^2.8.0 peerDependencies: - "@polkadot/util": 13.0.2 + "@polkadot/util": 13.2.2 "@polkadot/wasm-util": "*" - checksum: 3968ca273ccdc3055466a8bdeae64141ef20dd5451f7fc750eaef28465460e41d28cdd4eadedf3b4ca94024c9ebae023a8a04eb946b9fd17a1ff9c105ebfe39c + checksum: 7405e7a0e72cd47c5b7b3c8c68f816e3f01fc98443f2fa8f862bbf5b92067d0ea75ca50c838e5206614eec850be34f373bbc63e710530509defe68421645a66b languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:13.0.2": - version: 13.0.2 - resolution: "@polkadot/x-textdecoder@npm:13.0.2" +"@polkadot/x-textdecoder@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-textdecoder@npm:13.2.2" dependencies: - "@polkadot/x-global": 13.0.2 - tslib: ^2.6.2 - checksum: 586c970c66a014471b5354d41a55aa6dbeaa4aec041153d294205d7f86f93cfb6cb5c274b6ef38b0923b515b531bc8608fea7cdc6116c6dc61c370d892b207e4 + "@polkadot/x-global": 13.2.2 + tslib: ^2.8.0 + checksum: f311f8092dc07f979ed7d4299967b0055d6c258c6357e60c0ceda2a0f4defbdfbdd321ff442db258fde6a82425728e995cf2e08b92362fed6d0ee54e3098534f languageName: node linkType: hard -"@polkadot/x-textencoder@npm:13.0.2": - version: 13.0.2 - resolution: "@polkadot/x-textencoder@npm:13.0.2" +"@polkadot/x-textencoder@npm:13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-textencoder@npm:13.2.2" dependencies: - "@polkadot/x-global": 13.0.2 - tslib: ^2.6.2 - checksum: b2db5ab0fd94b8a13816f028f9fb52e0f00c43df4a727c01911902b5fc11bec476b02b92aee5a98adabf4696907e828752c6e0eb9bece79f0440675e4eb030c9 + "@polkadot/x-global": 13.2.2 + tslib: ^2.8.0 + checksum: dcc46246d15a5064bd29dc219805135368655f55c863343e5d5af20b51b87c18f7d9f67d015799eb9c33d3c7dd2107b2c324e411bb07555d38ad46cf0c023928 languageName: node linkType: hard -"@polkadot/x-ws@npm:^13.0.2": - version: 13.0.2 - resolution: "@polkadot/x-ws@npm:13.0.2" +"@polkadot/x-ws@npm:^13.2.2": + version: 13.2.2 + resolution: "@polkadot/x-ws@npm:13.2.2" dependencies: - "@polkadot/x-global": 13.0.2 - tslib: ^2.6.2 - ws: ^8.16.0 - checksum: c5aad76a3e121016dd740eddaf5601b2d98b7e568da51b6a0ffe4bced6dfb7373a15067d0c5c267e6daed40ea55014ef4b875c5eaf395c8b3fcd9e85047d2dd9 + "@polkadot/x-global": 13.2.2 + tslib: ^2.8.0 + ws: ^8.18.0 + checksum: b488d524ae12ff19d7bab28a5cbc8e58a0cfe44dc829f7d3bdc949936af566f2737500d3c0cd33e8434d5b389d26670ed0c856a3eb5dd3df3f5bd193e2396b2a languageName: node linkType: hard -"@scure/base@npm:^1.1.1, @scure/base@npm:^1.1.5": +"@scure/base@npm:^1.1.1": version: 1.1.7 resolution: "@scure/base@npm:1.1.7" checksum: d9084be9a2f27971df1684af9e40bb750e86f549345e1bb3227fb61673c0c83569c92c1cb0a4ddccb32650b39d3cd3c145603b926ba751c9bc60c27317549b20 languageName: node linkType: hard +"@scure/base@npm:^1.1.7": + version: 1.1.9 + resolution: "@scure/base@npm:1.1.9" + checksum: 120820a37dfe9dfe4cab2b7b7460552d08e67dee8057ed5354eb68d8e3440890ae983ce3bee957d2b45684950b454a2b6d71d5ee77c1fd3fddc022e2a510337f + languageName: node + linkType: hard + "@substrate/connect-extension-protocol@npm:^2.0.0": version: 2.0.0 resolution: "@substrate/connect-extension-protocol@npm:2.0.0" @@ -707,46 +717,46 @@ __metadata: languageName: node linkType: hard -"@substrate/connect-known-chains@npm:^1.1.4": - version: 1.1.9 - resolution: "@substrate/connect-known-chains@npm:1.1.9" - checksum: 26e2aaaf770993dbb826f03cb5175e0cc66383ad2a26898d3c4b6493cbd73b02d0c547dcbd1f808f8f0802cc2f84add11028cc565db638be449b0f00b60aa321 +"@substrate/connect-known-chains@npm:^1.1.5": + version: 1.7.0 + resolution: "@substrate/connect-known-chains@npm:1.7.0" + checksum: deb958c6fc6d6d21d5294860184c4493a416016384951c9aa5fb30a488d87eca604f26230362f0b22bcf263aeb721570fe5f099af33a150031b089a13422e564 languageName: node linkType: hard -"@substrate/connect@npm:0.8.10": - version: 0.8.10 - resolution: "@substrate/connect@npm:0.8.10" +"@substrate/connect@npm:0.8.11": + version: 0.8.11 + resolution: "@substrate/connect@npm:0.8.11" dependencies: "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.1.4 - "@substrate/light-client-extension-helpers": ^0.0.6 - smoldot: 2.0.22 - checksum: 2ed22ff5eefc547f9c3a7547f166b20c844372802cf406e6511844ed2f813b091f515611a720847e1b78848af1156d5cba403c9423c4ad32e4009daf014150bc + "@substrate/connect-known-chains": ^1.1.5 + "@substrate/light-client-extension-helpers": ^1.0.0 + smoldot: 2.0.26 + checksum: c7c915ef51c43258f928323b8197b20f8dc3c14f5a5369b320a209df0037bd49aa5fee849486872bee22f40fced8be169e23a600d36b6f254d7e9e80ac2e1c9c languageName: node linkType: hard -"@substrate/light-client-extension-helpers@npm:^0.0.6": - version: 0.0.6 - resolution: "@substrate/light-client-extension-helpers@npm:0.0.6" +"@substrate/light-client-extension-helpers@npm:^1.0.0": + version: 1.0.0 + resolution: "@substrate/light-client-extension-helpers@npm:1.0.0" dependencies: - "@polkadot-api/json-rpc-provider": 0.0.1 - "@polkadot-api/json-rpc-provider-proxy": 0.0.1 - "@polkadot-api/observable-client": 0.1.0 - "@polkadot-api/substrate-client": 0.0.1 + "@polkadot-api/json-rpc-provider": ^0.0.1 + "@polkadot-api/json-rpc-provider-proxy": ^0.1.0 + "@polkadot-api/observable-client": ^0.3.0 + "@polkadot-api/substrate-client": ^0.1.2 "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.1.4 + "@substrate/connect-known-chains": ^1.1.5 rxjs: ^7.8.1 peerDependencies: smoldot: 2.x - checksum: a0cc169e6edf56cdbfd839a32487e31ad0bcb4cc9d4d50bac632c16f95d6ebf54638b268c1f7b8e651482e201f38411139a90071bc91268a2c01e5b50f39f338 + checksum: 12b2180c1b5fa9884588e7e94c095ba6bdd4bc386ca54c2bd2d58e8b606b361b04636ae0536b1eb4a18398e31d191d5949e3b3ba9b3a01d6592f425fb671881c languageName: node linkType: hard -"@substrate/ss58-registry@npm:^1.46.0": - version: 1.49.0 - resolution: "@substrate/ss58-registry@npm:1.49.0" - checksum: 917437915d5ba98c46c650dce2fbe1f6a7bbcf2a6fa058df2a751743c774db37d6b5dacab4c2ce8bdf9d52275b2d325fcc63f6f08d37e5428fa133ff72e19c56 +"@substrate/ss58-registry@npm:^1.51.0": + version: 1.51.0 + resolution: "@substrate/ss58-registry@npm:1.51.0" + checksum: bfcba035e14648801f74802c76b195c22a86875cca89a577e21f5edd3e800578486f964a5117bad4b272f21695f8557fe713c3031c0c81269b76259470eb5a74 languageName: node linkType: hard @@ -778,12 +788,12 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.5": - version: 5.1.5 - resolution: "@types/bn.js@npm:5.1.5" +"@types/bn.js@npm:^5.1.6": + version: 5.1.6 + resolution: "@types/bn.js@npm:5.1.6" dependencies: "@types/node": "*" - checksum: c87b28c4af74545624f8a3dae5294b16aa190c222626e8d4b2e327b33b1a3f1eeb43e7a24d914a9774bca43d8cd6e1cb0325c1f4b3a244af6693a024e1d918e6 + checksum: 887411126d40e3d28aef2df8075cda2832db2b0e926bb4046039bbb026f2e3cfbcf1a3ce90bd935be0fcc039f8009e32026dfbb84a11c1f5d051cd7f8194ba23 languageName: node linkType: hard @@ -2362,14 +2372,14 @@ __metadata: languageName: node linkType: hard -"nock@npm:^13.5.0": - version: 13.5.4 - resolution: "nock@npm:13.5.4" +"nock@npm:^13.5.5": + version: 13.5.5 + resolution: "nock@npm:13.5.5" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 propagate: ^2.0.0 - checksum: d31f924e34c87ae985edfb7b5a56e8a4dcfc3a072334ceb6d686326581f93090b3e23492663a64ce61b8df4f365b113231d926bc300bcfe9e5eb309c3e4b8628 + checksum: 91947b683992096a694140714323f11493b8ad9961c172e3e574c4801131fea259755e95c48e7e01527c14209967c20f151ff03b6bf6700471f0f76fa4071d32 languageName: node linkType: hard @@ -2651,7 +2661,7 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/api": ^12 + "@polkadot/api": ^14 "@types/eslint": ^8 "@types/node": ^20.4.9 "@typescript-eslint/eslint-plugin": ^6.5.0 @@ -2767,12 +2777,12 @@ __metadata: languageName: node linkType: hard -"smoldot@npm:2.0.22": - version: 2.0.22 - resolution: "smoldot@npm:2.0.22" +"smoldot@npm:2.0.26": + version: 2.0.26 + resolution: "smoldot@npm:2.0.26" dependencies: ws: ^8.8.1 - checksum: 383bc6a5481190d64302fad56e9e4120a484885aee5543b268887de425708f04e8b3b3b69893333dfd9fd0e596f006afaa7c7ee5ff260c5d2be929c60302d385 + checksum: df1b27afae3ade7ee08947ca73f6e7afd450106b7ae4ff127ad7e71b7c20b01a2dc64135a07a7039aeeb23ad30fb549d7003c3131afa368f47125abf6837d919 languageName: node linkType: hard @@ -2955,10 +2965,10 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.6.2": - version: 2.6.3 - resolution: "tslib@npm:2.6.3" - checksum: 74fce0e100f1ebd95b8995fbbd0e6c91bdd8f4c35c00d4da62e285a3363aaa534de40a80db30ecfd388ed7c313c42d930ee0eaf108e8114214b180eec3dbe6f5 +"tslib@npm:^2.7.0, tslib@npm:^2.8.0": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: e4aba30e632b8c8902b47587fd13345e2827fa639e7c3121074d5ee0880723282411a8838f830b55100cbe4517672f84a2472667d355b81e8af165a55dc6203a languageName: node linkType: hard @@ -3171,7 +3181,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.16.0": +"ws@npm:^8.18.0": version: 8.18.0 resolution: "ws@npm:8.18.0" peerDependencies: