From 6313a92c9f16b6b7df7e891d3e7c32ab19e521f2 Mon Sep 17 00:00:00 2001 From: Shunji Zhan Date: Thu, 18 Jul 2024 17:29:51 +0800 Subject: [PATCH] update deps and traceApi types --- package.json | 2 +- packages/api-derive/package.json | 6 +- packages/api/package.json | 8 +- packages/types/package.json | 8 +- .../src/interfaces/augment-api-consts.ts | 654 ++++ .../src/interfaces/augment-api-errors.ts | 1312 +++++++ .../src/interfaces/augment-api-events.ts | 1133 ++++++ .../types/src/interfaces/augment-api-query.ts | 1222 ++++++- .../types/src/interfaces/augment-api-rpc.ts | 6 +- .../src/interfaces/augment-api-runtime.ts | 36 +- .../types/src/interfaces/augment-api-tx.ts | 3034 ++++++++++++++++- .../types/src/interfaces/augment-types.ts | 54 +- packages/types/src/interfaces/lookup.ts | 719 ++-- packages/types/src/interfaces/registry.ts | 11 +- .../src/interfaces/runtime/definitions.ts | 71 + .../types/src/interfaces/runtime/types.ts | 71 +- packages/types/src/interfaces/types-lookup.ts | 760 +++-- yarn.lock | 838 +++-- 18 files changed, 8972 insertions(+), 973 deletions(-) diff --git a/package.json b/package.json index 613fe49..9fb43c0 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "publish": "yarn workspaces foreach -vit run publish:manual" }, "devDependencies": { - "@polkadot/api": "^10.9.1", + "@polkadot/api": "^12", "@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 e0fe1b8..36a96cd 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/api-derive", - "version": "6.1.2", + "version": "6.1.3-0", "description": "Additional polkadot.js derives for Acala Network", "author": "Acala Developers ", "license": "Apache-2.0", @@ -23,10 +23,10 @@ "main": "./dist/index.js", "types": "./dist/index.d.ts", "dependencies": { - "@acala-network/types": "6.1.2" + "@acala-network/types": "6.1.3-0" }, "peerDependencies": { - "@polkadot/api": "^10.9.1" + "@polkadot/api": "^12" }, "devDependencies": { "typescript": "^5.0.4" diff --git a/packages/api/package.json b/packages/api/package.json index 2466d51..3016dbd 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/api", - "version": "6.1.2", + "version": "6.1.3-0", "description": "Acala JS API", "author": "Acala Developers ", "license": "Apache-2.0", @@ -23,11 +23,11 @@ "publish:manual": "npm publish --tolerate-republish --access public" }, "dependencies": { - "@acala-network/api-derive": "6.1.2", - "@acala-network/types": "6.1.2" + "@acala-network/api-derive": "6.1.3-0", + "@acala-network/types": "6.1.3-0" }, "peerDependencies": { - "@polkadot/api": "^10.9.1" + "@polkadot/api": "^12" }, "devDependencies": { "typescript": "^5.0.4" diff --git a/packages/types/package.json b/packages/types/package.json index 2840c09..aa4d2ee 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,13 +1,13 @@ { "name": "@acala-network/types", - "version": "6.1.2", + "version": "6.1.3-0", "description": "Acala types for @polkadot/api", "author": "Acala Developers ", "license": "Apache-2.0", "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\":[]}' https://acala-rpc.aca-api.network > metadata.json", + "load:meta": "curl -s -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9944 > 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": "^10.9.1" + "@polkadot/api": "^12" }, "devDependencies": { - "@polkadot/typegen": "^10.9.1", + "@polkadot/typegen": "^12.2.1", "@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 4ac72da..0a729b7 100644 --- a/packages/types/src/interfaces/augment-api-consts.ts +++ b/packages/types/src/interfaces/augment-api-consts.ts @@ -16,8 +16,17 @@ 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 @@ -25,7 +34,13 @@ 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 @@ -33,6 +48,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; assetRegistry: { + /** + * The Currency ID for the staking currency + **/ stakingCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; /** * Generic const @@ -40,10 +58,29 @@ 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 @@ -51,9 +88,29 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; balances: { + /** + * 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! + **/ 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 @@ -61,14 +118,46 @@ 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 @@ -76,15 +165,43 @@ 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 @@ -92,8 +209,20 @@ 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; /** @@ -102,12 +231,37 @@ 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 @@ -115,7 +269,13 @@ 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 @@ -123,17 +283,65 @@ 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 @@ -141,9 +349,25 @@ 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 @@ -161,12 +385,32 @@ 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 @@ -174,6 +418,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; evmAccounts: { + /** + * Chain ID of EVM. + **/ chainId: u64 & AugmentedConst; /** * Generic const @@ -181,6 +428,9 @@ 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 @@ -188,6 +438,9 @@ 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 @@ -195,14 +448,42 @@ 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. + **/ redeemThreshold: u128 & AugmentedConst; + /** + * The currency id of the Staking asset + **/ stakingCurrencyId: AcalaPrimitivesCurrencyCurrencyId & AugmentedConst; + /** + * Vault reward of Homa protocol + **/ treasuryAccount: AccountId32 & AugmentedConst; /** * Generic const @@ -210,13 +491,37 @@ 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 **/ [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 + **/ + [key: string]: Codec; + }; honzon: { + /** + * Reserved amount per authorization. + **/ depositPerAuthorization: u128 & AugmentedConst; /** * Generic const @@ -224,7 +529,15 @@ 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 @@ -232,9 +545,21 @@ 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 @@ -242,9 +567,21 @@ 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 @@ -252,6 +589,9 @@ 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 @@ -259,8 +599,27 @@ 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. + **/ 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 @@ -268,8 +627,24 @@ 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 @@ -277,17 +652,61 @@ 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 **/ [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 + **/ + [key: string]: Codec; + }; parachainSystem: { + /** + * Returns the parachain ID we are running with. + **/ selfParaId: u32 & AugmentedConst; /** * Generic const @@ -295,10 +714,26 @@ 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 @@ -306,11 +741,42 @@ 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 @@ -318,7 +784,17 @@ 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 @@ -337,11 +813,33 @@ 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 @@ -349,6 +847,9 @@ 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 @@ -356,6 +857,14 @@ 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 @@ -363,11 +872,31 @@ 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 @@ -376,6 +905,9 @@ 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 @@ -383,17 +915,75 @@ 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 @@ -401,13 +991,40 @@ 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 @@ -415,6 +1032,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; utility: { + /** + * The limit on the number of batched calls. + **/ batchedCallsLimit: u32 & AugmentedConst; /** * Generic const @@ -422,6 +1042,9 @@ declare module '@polkadot/api-base/types/consts' { [key: string]: Codec; }; vesting: { + /** + * The minimum amount transferred to call `vested_transfer`. + **/ minVestedTransfer: u128 & AugmentedConst; /** * Generic const @@ -429,9 +1052,21 @@ 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 @@ -439,6 +1074,13 @@ 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. + **/ maxInboundSuspended: u32 & AugmentedConst; /** * Generic const @@ -446,8 +1088,20 @@ declare module '@polkadot/api-base/types/consts' { [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 96181e1..9ff0b1e 100644 --- a/packages/types/src/interfaces/augment-api-errors.ts +++ b/packages/types/src/interfaces/augment-api-errors.ts @@ -12,7 +12,13 @@ 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 @@ -20,9 +26,21 @@ 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 @@ -30,9 +48,22 @@ 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 @@ -51,11 +82,29 @@ 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 @@ -63,12 +112,33 @@ 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 @@ -76,17 +146,53 @@ 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 @@ -94,16 +200,50 @@ 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 @@ -111,24 +251,83 @@ 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 @@ -136,10 +335,25 @@ 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 @@ -166,11 +380,29 @@ 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 @@ -178,29 +410,102 @@ 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 @@ -208,28 +513,97 @@ 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 @@ -237,10 +611,25 @@ 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 @@ -258,10 +647,25 @@ 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 @@ -269,22 +673,73 @@ 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 @@ -292,10 +747,25 @@ 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 @@ -303,10 +773,25 @@ 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 @@ -314,16 +799,49 @@ 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 @@ -331,8 +849,17 @@ 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 @@ -340,16 +867,49 @@ 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 @@ -357,8 +917,17 @@ 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 @@ -366,14 +935,38 @@ 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 @@ -381,16 +974,49 @@ 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 @@ -398,14 +1024,32 @@ 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 **/ [key: string]: AugmentedError; }; + homaValidatorList: { + BelowMinBondAmount: AugmentedError; + FrozenValidator: AugmentedError; + UnbondingExists: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; honzon: { AlreadyAuthorized: AugmentedError; AlreadyShutdown: AugmentedError; @@ -417,9 +1061,21 @@ 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 @@ -434,14 +1090,47 @@ 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 @@ -449,19 +1138,61 @@ 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 @@ -469,25 +1200,80 @@ 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 **/ [key: string]: AugmentedError; }; + nomineesElection: { + BelowMinBondThreshold: AugmentedError; + InvalidNominee: AugmentedError; + InvalidTargetsLength: AugmentedError; + MaxUnlockChunksExceeded: AugmentedError; + NominateesCountExceeded: AugmentedError; + NotBonded: AugmentedError; + /** + * Generic error + **/ + [key: string]: AugmentedError; + }; operatorMembershipAcala: { + /** + * Already a member. + **/ AlreadyMember: AugmentedError; + /** + * Not a member. + **/ NotMember: AugmentedError; + /** + * Too many members. + **/ TooManyMembers: AugmentedError; /** * Generic error @@ -495,12 +1281,34 @@ 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 @@ -508,8 +1316,20 @@ 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 @@ -517,13 +1337,38 @@ 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 @@ -537,30 +1382,108 @@ 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 @@ -568,13 +1491,37 @@ 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. + **/ 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 @@ -582,7 +1529,13 @@ 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 @@ -590,13 +1543,37 @@ 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 @@ -604,9 +1581,21 @@ 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 @@ -614,10 +1603,25 @@ 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 @@ -625,10 +1629,25 @@ 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 @@ -636,8 +1655,17 @@ 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 @@ -662,6 +1690,9 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; sudo: { + /** + * Sender must be the Sudo account. + **/ RequireSudo: AugmentedError; /** * Generic error @@ -669,14 +1700,45 @@ 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 @@ -684,16 +1746,49 @@ 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 @@ -701,8 +1796,17 @@ 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 @@ -710,12 +1814,33 @@ 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 @@ -723,12 +1848,33 @@ 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; /** @@ -737,7 +1883,13 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; transactionPause: { + /** + * can not pause + **/ CannotPause: AugmentedError; + /** + * invalid character encoding + **/ InvalidCharacter: AugmentedError; /** * Generic error @@ -745,11 +1897,29 @@ 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 @@ -757,17 +1927,54 @@ 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 @@ -775,8 +1982,17 @@ 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 @@ -784,6 +2000,9 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; utility: { + /** + * Too many calls batched. + **/ TooManyCalls: AugmentedError; /** * Generic error @@ -791,11 +2010,29 @@ 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 @@ -803,6 +2040,9 @@ declare module '@polkadot/api-base/types/errors' { [key: string]: AugmentedError; }; xcmInterface: { + /** + * The xcm operation have failed + **/ XcmFailed: AugmentedError; /** * Generic error @@ -810,8 +2050,17 @@ 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; /** * Generic error @@ -819,25 +2068,88 @@ declare module '@polkadot/api-base/types/errors' { [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 a91c798..91ad1b9 100644 --- a/packages/types/src/interfaces/augment-api-events.ts +++ b/packages/types/src/interfaces/augment-api-events.ts @@ -16,6 +16,9 @@ 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 @@ -23,9 +26,21 @@ 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 @@ -33,6 +48,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; auction: { + /** + * A bid is placed + **/ Bid: AugmentedEvent; /** * Generic event @@ -40,10 +58,25 @@ 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 @@ -51,13 +84,37 @@ 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 @@ -65,27 +122,95 @@ 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 @@ -93,16 +218,49 @@ 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 @@ -110,15 +268,45 @@ 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 @@ -126,7 +314,14 @@ 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 @@ -134,10 +329,25 @@ 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 @@ -145,8 +355,20 @@ 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 @@ -154,9 +376,21 @@ 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 @@ -164,22 +398,73 @@ 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 @@ -187,15 +472,45 @@ 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 @@ -214,8 +529,17 @@ 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 @@ -223,15 +547,46 @@ 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 @@ -239,6 +594,10 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; evmAccounts: { + /** + * Mapping between Substrate accounts and EVM accounts + * claim account. + **/ ClaimAccount: AugmentedEvent; /** * Generic event @@ -246,12 +605,35 @@ 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 @@ -259,11 +641,29 @@ 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 @@ -271,12 +671,35 @@ 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 @@ -284,11 +707,29 @@ 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 @@ -296,21 +737,89 @@ 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 @@ -318,12 +827,35 @@ 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 @@ -331,21 +863,63 @@ 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 **/ [key: string]: AugmentedEvent; }; + homaValidatorList: { + BondGuarantee: AugmentedEvent; + FreezeValidator: AugmentedEvent; + SlashGuarantee: AugmentedEvent; + ThawValidator: AugmentedEvent; + UnbondGuarantee: AugmentedEvent; + WithdrawnGuarantee: AugmentedEvent; + /** + * Generic event + **/ + [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 @@ -353,7 +927,13 @@ 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 @@ -361,11 +941,29 @@ 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 @@ -373,8 +971,17 @@ 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 @@ -382,8 +989,17 @@ declare module '@polkadot/api-base/types/events' { [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 @@ -391,9 +1007,21 @@ 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 @@ -401,9 +1029,21 @@ 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 @@ -411,23 +1051,71 @@ 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 **/ [key: string]: AugmentedEvent; }; + nomineesElection: { + Bond: AugmentedEvent; + Nominate: AugmentedEvent], { who: AccountId32, targets: Vec }>; + Rebond: AugmentedEvent; + ResetReservedNominees: AugmentedEvent], { groupIndex: u16, reservedNominees: Vec }>; + Unbond: AugmentedEvent; + WithdrawUnbonded: AugmentedEvent; + /** + * Generic event + **/ + [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 @@ -435,6 +1123,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; ormlXcm: { + /** + * XCM message sent. \[to, message\] + **/ Sent: AugmentedEvent; /** * Generic event @@ -442,11 +1133,29 @@ 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 @@ -454,6 +1163,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; parameters: { + /** + * Parameter is updated + **/ Updated: AugmentedEvent; /** * Generic event @@ -461,29 +1173,133 @@ 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 @@ -491,8 +1307,17 @@ 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 @@ -500,7 +1325,13 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; prices: { + /** + * Lock price. + **/ LockPrice: AugmentedEvent; + /** + * Unlock price. + **/ UnlockPrice: AugmentedEvent; /** * Generic event @@ -508,10 +1339,26 @@ 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 @@ -519,14 +1366,42 @@ 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 @@ -534,6 +1409,10 @@ 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 @@ -541,6 +1420,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; sessionManager: { + /** + * Scheduled session duration. + **/ ScheduledSessionDuration: AugmentedEvent; /** * Generic event @@ -566,9 +1448,21 @@ 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 @@ -576,12 +1470,33 @@ 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 @@ -589,12 +1504,35 @@ 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 @@ -602,11 +1540,29 @@ 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 @@ -614,10 +1570,25 @@ 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 @@ -625,22 +1596,69 @@ 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 @@ -648,9 +1666,21 @@ 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 @@ -658,9 +1688,23 @@ 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 @@ -668,19 +1712,62 @@ 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 @@ -688,7 +1775,13 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; unknownTokens: { + /** + * Deposit success. + **/ Deposited: AugmentedEvent; + /** + * Withdraw success. + **/ Withdrawn: AugmentedEvent; /** * Generic event @@ -696,11 +1789,30 @@ 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 @@ -708,8 +1820,17 @@ 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 @@ -717,7 +1838,13 @@ 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 @@ -725,6 +1852,9 @@ declare module '@polkadot/api-base/types/events' { [key: string]: AugmentedEvent; }; xcmpQueue: { + /** + * An HRMP message was sent to a sibling parachain. + **/ XcmpMessageSent: AugmentedEvent; /** * Generic event @@ -732,6 +1862,9 @@ 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 a08eb6f..360704f 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, 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, 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 { Observable } from '@polkadot/types/types'; export type __AugmentedQuery = AugmentedQuery unknown>; @@ -18,8 +18,17 @@ 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 @@ -27,6 +36,11 @@ 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 @@ -34,11 +48,41 @@ 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 @@ -46,8 +90,17 @@ 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 @@ -55,8 +108,24 @@ 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 @@ -64,7 +133,15 @@ 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 @@ -72,7 +149,19 @@ 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 @@ -88,6 +177,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; authorship: { + /** + * Author of current block. + **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -95,15 +187,60 @@ 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. + **/ 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 @@ -111,9 +248,21 @@ 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 @@ -121,8 +270,24 @@ 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; /** @@ -131,8 +296,25 @@ 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 @@ -140,11 +322,42 @@ 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 @@ -152,17 +365,71 @@ 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 @@ -170,9 +437,30 @@ 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 @@ -180,7 +468,18 @@ 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 @@ -188,6 +487,11 @@ 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 @@ -195,7 +499,17 @@ 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 @@ -203,14 +517,62 @@ 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 @@ -218,7 +580,17 @@ 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 @@ -226,11 +598,29 @@ 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 @@ -238,7 +628,13 @@ 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 @@ -246,11 +642,29 @@ 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 @@ -258,7 +672,13 @@ 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 @@ -266,19 +686,101 @@ 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 @@ -286,11 +788,29 @@ 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 @@ -298,14 +818,50 @@ 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 **/ [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 + **/ + [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 @@ -313,8 +869,19 @@ 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 @@ -322,24 +889,59 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; incentives: { - claimRewardDeductionCurrency: AugmentedQuery Observable>, [ModuleSupportIncentivesPoolId]> & QueryableStorageEntry; - claimRewardDeductionRates: AugmentedQuery Observable, [ModuleSupportIncentivesPoolId]> & QueryableStorageEntry; - incentiveRewardAmounts: AugmentedQuery Observable, [ModuleSupportIncentivesPoolId, AcalaPrimitivesCurrencyCurrencyId]> & QueryableStorageEntry; - pendingMultiRewards: AugmentedQuery Observable>, [ModuleSupportIncentivesPoolId, AccountId32]> & QueryableStorageEntry; /** - * Generic query + * If specified, ClaimRewardDeductionRates only apply to this currency. + * + * ClaimRewardDeductionCurrency: map Pool => Option **/ - [key: string]: QueryableStorageEntry; - }; - liquidCrowdloan: { - redeemCurrencyId: AugmentedQuery Observable>, []> & QueryableStorageEntry; + claimRewardDeductionCurrency: AugmentedQuery Observable>, [ModuleSupportIncentivesPoolId]> & QueryableStorageEntry; /** - * Generic query + * Mapping from pool to its claim reward deduction rate. + * + * ClaimRewardDeductionRates: map Pool => DeductionRate **/ - [key: string]: QueryableStorageEntry; + 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 + **/ + [key: string]: QueryableStorageEntry; + }; + liquidCrowdloan: { + /** + * The redeem currency id. + **/ + redeemCurrencyId: AugmentedQuery Observable>, []> & QueryableStorageEntry; + /** + * Generic query + **/ + [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 @@ -347,8 +949,17 @@ 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 @@ -356,14 +967,53 @@ 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 **/ [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 + **/ + [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 @@ -371,10 +1021,29 @@ 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 @@ -389,29 +1058,166 @@ 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. + **/ 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. + **/ 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; /** * Generic query @@ -419,6 +1225,11 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; parameters: { + /** + * Stored parameters. + * + * map KeyOf => Option> + **/ parameters: AugmentedQuery Observable>, [AcalaRuntimeRuntimeParametersKey]> & QueryableStorageEntry; /** * Generic query @@ -426,17 +1237,60 @@ 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. + **/ 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. + **/ 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 @@ -445,7 +1299,13 @@ 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 @@ -453,6 +1313,11 @@ 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 @@ -460,7 +1325,14 @@ 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 @@ -468,17 +1340,40 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; rewards: { - poolInfos: AugmentedQuery Observable, [ModuleSupportIncentivesPoolId]> & QueryableStorageEntry; - sharesAndWithdrawnRewards: AugmentedQuery Observable]>>, [ModuleSupportIncentivesPoolId, AccountId32]> & QueryableStorageEntry; + /** + * 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 **/ [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 @@ -486,12 +1381,39 @@ 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 @@ -499,8 +1421,23 @@ 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 @@ -516,6 +1453,9 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; sudo: { + /** + * The `AccountId` of the sudo key. + **/ key: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * Generic query @@ -523,23 +1463,93 @@ 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 @@ -547,11 +1557,29 @@ 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 @@ -559,7 +1587,13 @@ 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 @@ -567,7 +1601,16 @@ 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 @@ -575,7 +1618,16 @@ 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 @@ -583,9 +1635,27 @@ 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 @@ -593,7 +1663,17 @@ 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 @@ -601,12 +1681,50 @@ 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 @@ -614,11 +1732,29 @@ 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 @@ -626,7 +1762,19 @@ 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 @@ -634,6 +1782,11 @@ 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 @@ -641,19 +1794,58 @@ declare module '@polkadot/api-base/types/storage' { [key: string]: QueryableStorageEntry; }; xcmInterface: { - xcmDestWeightAndFee: AugmentedQuery Observable>, [ModuleXcmInterfaceModuleXcmInterfaceOperation]> & QueryableStorageEntry; + /** + * 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 **/ [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-rpc.ts b/packages/types/src/interfaces/augment-api-rpc.ts index 7b45769..4f0443a 100644 --- a/packages/types/src/interfaces/augment-api-rpc.ts +++ b/packages/types/src/interfaces/augment-api-rpc.ts @@ -16,7 +16,7 @@ import type { Bytes, HashMap, Json, Null, Option, Raw, Text, U256, U64, Vec, boo import type { AnyNumber, Codec } from '@polkadot/types-codec/types'; import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interfaces/author'; import type { EpochAuthorship } from '@polkadot/types/interfaces/babe'; -import type { BeefySignedCommitment } from '@polkadot/types/interfaces/beefy'; +import type { BeefyVersionedFinalityProof } from '@polkadot/types/interfaces/beefy'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { PrefixedStorageKey } from '@polkadot/types/interfaces/childstate'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; @@ -85,9 +85,9 @@ declare module '@polkadot/rpc-core/types/jsonrpc' { **/ getFinalizedHead: AugmentedRpc<() => Observable>; /** - * Returns the block most recently finalized by BEEFY, alongside side its justification. + * Returns the block most recently finalized by BEEFY, alongside its justification. **/ - subscribeJustifications: AugmentedRpc<() => Observable>; + subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { /** diff --git a/packages/types/src/interfaces/augment-api-runtime.ts b/packages/types/src/interfaces/augment-api-runtime.ts index fdf2b13..caa08bb 100644 --- a/packages/types/src/interfaces/augment-api-runtime.ts +++ b/packages/types/src/interfaces/augment-api-runtime.ts @@ -6,6 +6,7 @@ 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'; @@ -16,8 +17,9 @@ import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; -import type { AccountId, Balance, Block, H160, Header, Index, KeyTypeId, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime'; -import type { ApplyExtrinsicResult, DispatchError } from '@polkadot/types/interfaces/system'; +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 { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue'; import type { EthereumTransactionAccessListItem } from '@polkadot/types/lookup'; import type { IExtrinsic, Observable } from '@polkadot/types/types'; @@ -87,6 +89,25 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; + /** 0xdf6acb689907609b/5 */ + core: { + /** + * Execute the given block. + **/ + executeBlock: AugmentedCall Observable>; + /** + * Initialize a block with the given header. + **/ + initializeBlock: AugmentedCall Observable>; + /** + * Returns the version of the runtime. + **/ + version: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; /** 0xe3df3f2aa8a5cc57/2 */ evmRuntimeRPCApi: { /** @@ -114,6 +135,17 @@ 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 1767484..28e12bc 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, 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, StagingXcmV4Location, XcmV3WeightLimit, XcmVersionedAsset, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@polkadot/types/lookup'; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; export type __SubmittableExtrinsic = SubmittableExtrinsic; @@ -18,6 +18,11 @@ 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 @@ -25,8 +30,23 @@ 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 @@ -48,6 +68,12 @@ 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 @@ -55,6 +81,11 @@ 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 @@ -63,11 +94,27 @@ 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]>; triggerCall: AugmentedSubmittable<(hash: H256 | string | Uint8Array, callWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic, [H256, SpWeightsWeightV2Weight]>; /** @@ -76,13 +123,78 @@ 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 + **/ 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 @@ -90,14 +202,117 @@ 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 @@ -106,9 +321,41 @@ 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 @@ -116,10 +363,44 @@ 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 @@ -140,11 +421,38 @@ 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 @@ -152,24 +460,275 @@ 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 @@ -177,18 +736,104 @@ 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 @@ -196,8 +841,34 @@ 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 @@ -205,10 +876,33 @@ 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 @@ -216,8 +910,23 @@ 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 @@ -225,21 +934,129 @@ 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 @@ -247,7 +1064,19 @@ 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 @@ -255,11 +1084,113 @@ 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 @@ -267,12 +1198,52 @@ 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 @@ -280,11 +1251,113 @@ 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 @@ -292,12 +1365,52 @@ 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 @@ -305,27 +1418,207 @@ 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]>; - 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) => SubmittableExtrinsic, [Option, Option, 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 **/ [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 @@ -333,28 +1626,198 @@ 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 **/ [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 + **/ + [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 @@ -369,11 +1832,53 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; incentives: { - claimRewards: AugmentedSubmittable<(poolId: ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | string | Uint8Array) => SubmittableExtrinsic, [ModuleSupportIncentivesPoolId]>; + /** + * 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]>; - updateClaimRewardDeductionCurrency: AugmentedSubmittable<(poolId: ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | string | Uint8Array, currencyId: Option | null | Uint8Array | AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string) => SubmittableExtrinsic, [ModuleSupportIncentivesPoolId, Option]>; - updateClaimRewardDeductionRates: AugmentedSubmittable<(updates: Vec> | ([ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[]) => SubmittableExtrinsic, [Vec>]>; - updateIncentiveRewards: AugmentedSubmittable<(updates: Vec>]>> | ([ModuleSupportIncentivesPoolId | { Loans: any } | { Dex: any } | { Earning: any } | string | Uint8Array, Vec> | ([AcalaPrimitivesCurrencyCurrencyId | { Token: any } | { DexShare: any } | { Erc20: any } | { StableAssetPoolToken: any } | { LiquidCrowdloan: any } | { ForeignAsset: any } | string | Uint8Array, u128 | AnyNumber | Uint8Array])[]])[]) => SubmittableExtrinsic, [Vec>]>>]>; + /** + * 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 @@ -381,8 +1886,22 @@ 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 @@ -396,7 +1915,25 @@ 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 @@ -404,9 +1941,119 @@ 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 @@ -414,25 +2061,123 @@ 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 **/ [key: string]: SubmittableExtrinsicFunction; }; + nomineesElection: { + bond: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; + chill: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + nominate: AugmentedSubmittable<(targets: Vec | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec]>; + rebond: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; + resetReservedNominees: AugmentedSubmittable<(updates: Vec]>> | ([u16 | AnyNumber | Uint8Array, Vec | (AccountId32 | string | Uint8Array)[]])[]) => SubmittableExtrinsic, [Vec]>>]>; + unbond: AugmentedSubmittable<(amount: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact]>; + withdrawUnbonded: AugmentedSubmittable<() => SubmittableExtrinsic, []>; + /** + * Generic tx + **/ + [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 @@ -440,6 +2185,9 @@ 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 @@ -447,8 +2195,40 @@ 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]>; /** @@ -457,6 +2237,9 @@ 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 @@ -464,18 +2247,210 @@ 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]>; /** * Generic tx @@ -483,10 +2458,40 @@ declare module '@polkadot/api-base/types/submittable' { [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 @@ -494,7 +2499,21 @@ 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 @@ -502,15 +2521,146 @@ 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 @@ -518,15 +2668,67 @@ 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 @@ -534,7 +2736,32 @@ 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 @@ -542,6 +2769,12 @@ 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 @@ -564,10 +2797,35 @@ 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 @@ -575,16 +2833,75 @@ 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 @@ -592,11 +2909,113 @@ 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 @@ -604,12 +3023,52 @@ 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 @@ -617,6 +3076,27 @@ 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 @@ -624,11 +3104,118 @@ 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 @@ -646,11 +3233,32 @@ 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 @@ -658,14 +3266,198 @@ 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 @@ -673,11 +3465,92 @@ 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 @@ -695,17 +3568,56 @@ declare module '@polkadot/api-base/types/submittable' { [key: string]: SubmittableExtrinsicFunction; }; xcmInterface: { - updateXcmDestWeightAndFee: AugmentedSubmittable<(updates: Vec, Option]>> | ([ModuleXcmInterfaceModuleXcmInterfaceOperation | { XtokensTransfer: any } | { HomaWithdrawUnbonded: any } | { HomaBondExtra: any } | { HomaUnbond: any } | { ParachainFee: any } | { ProxyReserveTransferAssets: any } | string | Uint8Array, Option | null | Uint8Array | SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string, Option | null | Uint8Array | u128 | AnyNumber])[]) => SubmittableExtrinsic, [Vec, Option]>>]>; + /** + * 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 **/ [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 @@ -713,11 +3625,119 @@ 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 3a26bc7..60890a0 100644 --- a/packages/types/src/interfaces/augment-types.ts +++ b/packages/types/src/interfaces/augment-types.ts @@ -19,12 +19,13 @@ import type { Attributes, CID, ClassData, ClassIdOf, ClassInfoOf, NFTBalance, NF import type { BondingLedger, HomaUnlockChunk, NomineeId } from '@acala-network/types/interfaces/nomineesElection'; import type { AcalaAssetMetadata, AcalaDataProviderId, AirDropCurrencyId, Amount, AmountOf, AuctionId, AuctionIdOf, AuthoritysOriginId, ChainBridgeChainId, CurrencyId, CurrencyIdOf, DexShare, NumberOrHex, OrmlCurrencyId, TokenSymbol, TradingPair } from '@acala-network/types/interfaces/primitives'; import type { DestAddress, PublicKey } from '@acala-network/types/interfaces/renvmBridge'; -import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AsOriginId, AssetId, AtLeast64BitUnsigned, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, OracleKey, OracleValue, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, RelayChainBlockNumberOf, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StableAssetPoolId, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@acala-network/types/interfaces/runtime'; +import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AsOriginId, AssetId, AtLeast64BitUnsigned, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, CallTrace, CallType, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicInclusionMode, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, OpcodeConfig, OracleKey, OracleValue, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, RelayChainBlockNumberOf, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StableAssetPoolId, Step, StorageData, StorageInfo, StorageProof, TraceOutcome, TracerConfig, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@acala-network/types/interfaces/runtime'; import type { PoolTokenIndex } from '@acala-network/types/interfaces/stableAsset'; import type { BalanceInfo, ChangeRate, ChangeRatio, Ledger, Params, PolkadotAccountId, PolkadotAccountIdOf, StakingPoolPhase, SubAccountStatus } from '@acala-network/types/interfaces/stakingPool'; import type { ExchangeRate, Price, Rate, Ratio } from '@acala-network/types/interfaces/support'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; +import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion'; import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets'; import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations'; import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura'; @@ -32,7 +33,7 @@ import type { ExtrinsicOrHash, ExtrinsicStatus } from '@polkadot/types/interface import type { UncleEntryItem } from '@polkadot/types/interfaces/authorship'; import type { AllowedSlots, BabeAuthorityWeight, BabeBlockWeight, BabeEpochConfiguration, BabeEquivocationProof, BabeGenesisConfiguration, BabeGenesisConfigurationV1, BabeWeight, Epoch, EpochAuthorship, MaybeRandomness, MaybeVrf, NextConfigDescriptor, NextConfigDescriptorV1, OpaqueKeyOwnershipProof, Randomness, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondaryPlain, RawBabePreDigestSecondaryTo159, RawBabePreDigestSecondaryVRF, RawBabePreDigestTo159, SlotNumber, VrfData, VrfOutput, VrfProof } from '@polkadot/types/interfaces/babe'; import type { AccountData, BalanceLock, BalanceLockTo212, BalanceStatus, Reasons, ReserveData, ReserveIdentifier, VestingSchedule, WithdrawReasons } from '@polkadot/types/interfaces/balances'; -import type { BeefyAuthoritySet, BeefyCommitment, BeefyEquivocationProof, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, BeefyVoteMessage, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; +import type { BeefyAuthoritySet, BeefyCommitment, BeefyCompactSignedCommitment, BeefyEquivocationProof, BeefyId, BeefyNextAuthoritySet, BeefyPayload, BeefyPayloadId, BeefySignedCommitment, BeefyVersionedFinalityProof, BeefyVoteMessage, MmrRootHash, ValidatorSet, ValidatorSetId } from '@polkadot/types/interfaces/beefy'; import type { BenchmarkBatch, BenchmarkConfig, BenchmarkList, BenchmarkMetadata, BenchmarkParameter, BenchmarkResult } from '@polkadot/types/interfaces/benchmark'; import type { CheckInherentsResult, InherentData, InherentIdentifier } from '@polkadot/types/interfaces/blockbuilder'; import type { BridgeMessageId, BridgedBlockHash, BridgedBlockNumber, BridgedHeader, CallOrigin, ChainId, DeliveredMessages, DispatchFeePayment, InboundLaneData, InboundRelayer, InitializationData, LaneId, MessageData, MessageKey, MessageNonce, MessagesDeliveryProofOf, MessagesProofOf, OperatingMode, OutboundLaneData, OutboundMessageFee, OutboundPayload, Parameter, RelayerId, UnrewardedRelayer, UnrewardedRelayersState } from '@polkadot/types/interfaces/bridges'; @@ -42,7 +43,7 @@ import type { StatementKind } from '@polkadot/types/interfaces/claims'; import type { CollectiveOrigin, MemberCount, ProposalIndex, Votes, VotesTo230 } from '@polkadot/types/interfaces/collective'; import type { AuthorityId, RawVRFOutput } from '@polkadot/types/interfaces/consensus'; import type { AliveContractInfo, CodeHash, CodeSource, CodeUploadRequest, CodeUploadResult, CodeUploadResultValue, ContractCallFlags, ContractCallRequest, ContractExecResult, ContractExecResultOk, ContractExecResultResult, ContractExecResultSuccessTo255, ContractExecResultSuccessTo260, ContractExecResultTo255, ContractExecResultTo260, ContractExecResultTo267, ContractExecResultU64, ContractInfo, ContractInstantiateResult, ContractInstantiateResultTo267, ContractInstantiateResultTo299, ContractInstantiateResultU64, ContractReturnFlags, ContractStorageKey, DeletedContract, ExecReturnValue, Gas, HostFnWeights, HostFnWeightsTo264, InstantiateRequest, InstantiateRequestV1, InstantiateRequestV2, InstantiateReturnValue, InstantiateReturnValueOk, InstantiateReturnValueTo267, InstructionWeights, Limits, LimitsTo264, PrefabWasmModule, RentProjection, Schedule, ScheduleTo212, ScheduleTo258, ScheduleTo264, SeedOf, StorageDeposit, TombstoneContractInfo, TrieId } from '@polkadot/types/interfaces/contracts'; -import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractConstructorSpecV4, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEnvironmentV4, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMessageSpecV3, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; +import type { ContractConstructorSpecLatest, ContractConstructorSpecV0, ContractConstructorSpecV1, ContractConstructorSpecV2, ContractConstructorSpecV3, ContractConstructorSpecV4, ContractContractSpecV0, ContractContractSpecV1, ContractContractSpecV2, ContractContractSpecV3, ContractContractSpecV4, ContractContractSpecV5, ContractCryptoHasher, ContractDiscriminant, ContractDisplayName, ContractEnvironmentV4, ContractEventParamSpecLatest, ContractEventParamSpecV0, ContractEventParamSpecV2, ContractEventSpecLatest, ContractEventSpecV0, ContractEventSpecV1, ContractEventSpecV2, ContractEventSpecV3, ContractLayoutArray, ContractLayoutCell, ContractLayoutEnum, ContractLayoutHash, ContractLayoutHashingStrategy, ContractLayoutKey, ContractLayoutStruct, ContractLayoutStructField, ContractMessageParamSpecLatest, ContractMessageParamSpecV0, ContractMessageParamSpecV2, ContractMessageSpecLatest, ContractMessageSpecV0, ContractMessageSpecV1, ContractMessageSpecV2, ContractMessageSpecV3, ContractMetadata, ContractMetadataLatest, ContractMetadataV0, ContractMetadataV1, ContractMetadataV2, ContractMetadataV3, ContractMetadataV4, ContractMetadataV5, ContractProject, ContractProjectContract, ContractProjectInfo, ContractProjectSource, ContractProjectV0, ContractSelector, ContractStorageLayout, ContractTypeSpec } from '@polkadot/types/interfaces/contractsAbi'; import type { FundIndex, FundInfo, LastContribution, TrieIndex } from '@polkadot/types/interfaces/crowdloan'; 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'; @@ -53,18 +54,20 @@ import type { BlockV0, BlockV1, BlockV2, EIP1559Transaction, EIP2930Transaction, 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 { 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'; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; -import type { ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV15, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletMetadataV15, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, RuntimeApiMetadataLatest, RuntimeApiMetadataV15, RuntimeApiMethodMetadataV15, RuntimeApiMethodParamMetadataV15, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { CustomMetadata15, CustomValueMetadata15, ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, ExtrinsicMetadataV15, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV15, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, OuterEnums15, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletMetadataV15, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, RuntimeApiMetadataLatest, RuntimeApiMetadataV15, RuntimeApiMethodMetadataV15, RuntimeApiMethodParamMetadataV15, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { Mixnode, MixnodesErr, SessionPhase, SessionStatus } from '@polkadot/types/interfaces/mixnet'; import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrHash, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; import type { NftCollectionId, NftItemId } from '@polkadot/types/interfaces/nfts'; import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, ApprovalVotingParams, AssignmentId, AssignmentKind, AsyncBackingParams, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, BackingState, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, Constraints, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpLimitations, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, NodeFeatures, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpChannelLimitations, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment'; import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; @@ -77,6 +80,7 @@ import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, Membershi import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking'; import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; +import type { StatementStoreInvalidStatement, StatementStoreStatementSource, StatementStoreValidStatement } from '@polkadot/types/interfaces/statement'; import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; import type { Multiplier } from '@polkadot/types/interfaces/txpayment'; @@ -85,6 +89,8 @@ import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalan 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 { XcmPaymentApiError } from '@polkadot/types/interfaces/xcmPaymentApi'; +import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -130,6 +136,7 @@ declare module '@polkadot/types/types/registry' { ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6; ApprovalFlag: ApprovalFlag; Approvals: Approvals; + ApprovalVotingParams: ApprovalVotingParams; ArithmeticError: ArithmeticError; AsOriginId: AsOriginId; AssetApproval: AssetApproval; @@ -146,6 +153,7 @@ declare module '@polkadot/types/types/registry' { AssetOptions: AssetOptions; AssignmentId: AssignmentId; AssignmentKind: AssignmentKind; + AsyncBackingParams: AsyncBackingParams; AtLeast64BitUnsigned: AtLeast64BitUnsigned; AttestedCandidate: AttestedCandidate; Attributes: Attributes; @@ -173,6 +181,7 @@ declare module '@polkadot/types/types/registry' { BabeGenesisConfigurationV1: BabeGenesisConfigurationV1; BabeWeight: BabeWeight; BackedCandidate: BackedCandidate; + BackingState: BackingState; Balance: Balance; BalanceInfo: BalanceInfo; BalanceLock: BalanceLock; @@ -183,6 +192,7 @@ declare module '@polkadot/types/types/registry' { BalanceWrapper: BalanceWrapper; BeefyAuthoritySet: BeefyAuthoritySet; BeefyCommitment: BeefyCommitment; + BeefyCompactSignedCommitment: BeefyCompactSignedCommitment; BeefyEquivocationProof: BeefyEquivocationProof; BeefyId: BeefyId; BeefyKey: BeefyKey; @@ -190,6 +200,7 @@ declare module '@polkadot/types/types/registry' { BeefyPayload: BeefyPayload; BeefyPayloadId: BeefyPayloadId; BeefySignedCommitment: BeefySignedCommitment; + BeefyVersionedFinalityProof: BeefyVersionedFinalityProof; BeefyVoteMessage: BeefyVoteMessage; BenchmarkBatch: BenchmarkBatch; BenchmarkConfig: BenchmarkConfig; @@ -242,6 +253,8 @@ declare module '@polkadot/types/types/registry' { CallInfo: CallInfo; CallOrigin: CallOrigin; CallRequest: CallRequest; + CallTrace: CallTrace; + CallType: CallType; CandidateCommitments: CandidateCommitments; CandidateDescriptor: CandidateDescriptor; CandidateEvent: CandidateEvent; @@ -293,6 +306,7 @@ declare module '@polkadot/types/types/registry' { ConfigData: ConfigData; Consensus: Consensus; ConsensusEngineId: ConsensusEngineId; + Constraints: Constraints; ConsumedWeight: ConsumedWeight; ContractCallFlags: ContractCallFlags; ContractCallRequest: ContractCallRequest; @@ -307,6 +321,7 @@ declare module '@polkadot/types/types/registry' { ContractContractSpecV2: ContractContractSpecV2; ContractContractSpecV3: ContractContractSpecV3; ContractContractSpecV4: ContractContractSpecV4; + ContractContractSpecV5: ContractContractSpecV5; ContractCryptoHasher: ContractCryptoHasher; ContractDiscriminant: ContractDiscriminant; ContractDisplayName: ContractDisplayName; @@ -318,6 +333,7 @@ declare module '@polkadot/types/types/registry' { ContractEventSpecV0: ContractEventSpecV0; ContractEventSpecV1: ContractEventSpecV1; ContractEventSpecV2: ContractEventSpecV2; + ContractEventSpecV3: ContractEventSpecV3; ContractExecResult: ContractExecResult; ContractExecResultOk: ContractExecResultOk; ContractExecResultResult: ContractExecResultResult; @@ -355,6 +371,7 @@ declare module '@polkadot/types/types/registry' { ContractMetadataV2: ContractMetadataV2; ContractMetadataV3: ContractMetadataV3; ContractMetadataV4: ContractMetadataV4; + ContractMetadataV5: ContractMetadataV5; ContractProject: ContractProject; ContractProjectContract: ContractProjectContract; ContractProjectInfo: ContractProjectInfo; @@ -375,6 +392,8 @@ declare module '@polkadot/types/types/registry' { CreateInfo: CreateInfo; CurrencyId: CurrencyId; CurrencyIdOf: CurrencyIdOf; + CustomMetadata15: CustomMetadata15; + CustomValueMetadata15: CustomValueMetadata15; Data: Data; DebitAuctionItem: DebitAuctionItem; DeferredOffenceOf: DeferredOffenceOf; @@ -411,10 +430,12 @@ declare module '@polkadot/types/types/registry' { DispatchResultOf: DispatchResultOf; DispatchResultTo198: DispatchResultTo198; DisputeLocation: DisputeLocation; + DisputeProof: DisputeProof; DisputeResult: DisputeResult; DisputeState: DisputeState; DisputeStatement: DisputeStatement; DisputeStatementSet: DisputeStatementSet; + DisputesTimeSlot: DisputesTimeSlot; DoubleEncodedCall: DoubleEncodedCall; DoubleVoteReport: DoubleVoteReport; DownwardMessage: DownwardMessage; @@ -438,6 +459,7 @@ declare module '@polkadot/types/types/registry' { EraRewardPoints: EraRewardPoints; EraRewards: EraRewards; Erc20Info: Erc20Info; + Error: Error; ErrorMetadataLatest: ErrorMetadataLatest; ErrorMetadataV10: ErrorMetadataV10; ErrorMetadataV11: ErrorMetadataV11; @@ -514,11 +536,13 @@ declare module '@polkadot/types/types/registry' { ExtendedBalance: ExtendedBalance; Extrinsic: Extrinsic; ExtrinsicEra: ExtrinsicEra; + ExtrinsicInclusionMode: ExtrinsicInclusionMode; ExtrinsicMetadataLatest: ExtrinsicMetadataLatest; ExtrinsicMetadataV11: ExtrinsicMetadataV11; ExtrinsicMetadataV12: ExtrinsicMetadataV12; ExtrinsicMetadataV13: ExtrinsicMetadataV13; ExtrinsicMetadataV14: ExtrinsicMetadataV14; + ExtrinsicMetadataV15: ExtrinsicMetadataV15; ExtrinsicOrHash: ExtrinsicOrHash; ExtrinsicPayload: ExtrinsicPayload; ExtrinsicPayloadUnknown: ExtrinsicPayloadUnknown; @@ -566,6 +590,7 @@ declare module '@polkadot/types/types/registry' { FungibilityV2: FungibilityV2; FungiblesAccessError: FungiblesAccessError; Gas: Gas; + GenesisBuildErr: GenesisBuildErr; GiltBid: GiltBid; GlobalValidationData: GlobalValidationData; GlobalValidationSchedule: GlobalValidationSchedule; @@ -624,6 +649,7 @@ declare module '@polkadot/types/types/registry' { ImmortalEra: ImmortalEra; ImportedAux: ImportedAux; InboundDownwardMessage: InboundDownwardMessage; + InboundHrmpLimitations: InboundHrmpLimitations; InboundHrmpMessage: InboundHrmpMessage; InboundHrmpMessages: InboundHrmpMessages; InboundLaneData: InboundLaneData; @@ -714,6 +740,8 @@ declare module '@polkadot/types/types/registry' { MetadataV15: MetadataV15; MetadataV9: MetadataV9; MigrationStatusResult: MigrationStatusResult; + Mixnode: Mixnode; + MixnodesErr: MixnodesErr; MmrBatchProof: MmrBatchProof; MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf; MmrError: MmrError; @@ -772,6 +800,7 @@ declare module '@polkadot/types/types/registry' { NFTClassId: NFTClassId; NftCollectionId: NftCollectionId; NftItemId: NftItemId; + NodeFeatures: NodeFeatures; NodeRole: NodeRole; Nominations: Nominations; NominatorIndex: NominatorIndex; @@ -796,6 +825,7 @@ declare module '@polkadot/types/types/registry' { OpaqueNetworkState: OpaqueNetworkState; OpaquePeerId: OpaquePeerId; OpaqueTimeSlot: OpaqueTimeSlot; + OpcodeConfig: OpcodeConfig; OpenTip: OpenTip; OpenTipFinderTo225: OpenTipFinderTo225; OpenTipTip: OpenTipTip; @@ -812,12 +842,14 @@ declare module '@polkadot/types/types/registry' { OriginKindV1: OriginKindV1; OriginKindV2: OriginKindV2; OrmlCurrencyId: OrmlCurrencyId; + OutboundHrmpChannelLimitations: OutboundHrmpChannelLimitations; OutboundHrmpMessage: OutboundHrmpMessage; OutboundLaneData: OutboundLaneData; OutboundMessageFee: OutboundMessageFee; OutboundPayload: OutboundPayload; OutboundStatus: OutboundStatus; Outcome: Outcome; + OuterEnums15: OuterEnums15; OverweightIndex: OverweightIndex; Owner: Owner; PageCounter: PageCounter; @@ -864,6 +896,7 @@ declare module '@polkadot/types/types/registry' { PendingChange: PendingChange; PendingPause: PendingPause; PendingResume: PendingResume; + PendingSlashes: PendingSlashes; Perbill: Perbill; Percent: Percent; PerDispatchClassU32: PerDispatchClassU32; @@ -1031,6 +1064,8 @@ declare module '@polkadot/types/types/registry' { SessionKeys8B: SessionKeys8B; SessionKeys9: SessionKeys9; SessionKeys9B: SessionKeys9B; + SessionPhase: SessionPhase; + SessionStatus: SessionStatus; SetId: SetId; SetIndex: SetIndex; Si0Field: Si0Field; @@ -1093,6 +1128,7 @@ declare module '@polkadot/types/types/registry' { SiTypeParameter: SiTypeParameter; SiVariant: SiVariant; SlashInfo: SlashInfo; + SlashingOffenceKind: SlashingOffenceKind; SlashingSpans: SlashingSpans; SlashingSpansTo204: SlashingSpansTo204; SlashJournalEntry: SlashJournalEntry; @@ -1117,6 +1153,10 @@ declare module '@polkadot/types/types/registry' { StakingPoolPhase: StakingPoolPhase; Statement: Statement; StatementKind: StatementKind; + StatementStoreInvalidStatement: StatementStoreInvalidStatement; + StatementStoreStatementSource: StatementStoreStatementSource; + StatementStoreValidStatement: StatementStoreValidStatement; + Step: Step; StorageChangeSet: StorageChangeSet; StorageData: StorageData; StorageDeposit: StorageDeposit; @@ -1171,6 +1211,7 @@ declare module '@polkadot/types/types/registry' { Tally: Tally; TaskAddress: TaskAddress; TAssetBalance: TAssetBalance; + TAssetConversion: TAssetConversion; TAssetDepositBalance: TAssetDepositBalance; Text: Text; Timepoint: Timepoint; @@ -1183,6 +1224,8 @@ declare module '@polkadot/types/types/registry' { TombstoneContractInfo: TombstoneContractInfo; TraceBlockResponse: TraceBlockResponse; TraceError: TraceError; + TraceOutcome: TraceOutcome; + TracerConfig: TracerConfig; TradingPair: TradingPair; TradingPairProvisionParameters: TradingPairProvisionParameters; TradingPairStatus: TradingPairStatus; @@ -1309,6 +1352,7 @@ declare module '@polkadot/types/types/registry' { XcmOrderV2: XcmOrderV2; XcmOrigin: XcmOrigin; XcmOriginKind: XcmOriginKind; + XcmPaymentApiError: XcmPaymentApiError; XcmpMessageFormat: XcmpMessageFormat; XcmV0: XcmV0; XcmV1: XcmV1; diff --git a/packages/types/src/interfaces/lookup.ts b/packages/types/src/interfaces/lookup.ts index 2b87596..4d79e1b 100644 --- a/packages/types/src/interfaces/lookup.ts +++ b/packages/types/src/interfaces/lookup.ts @@ -2606,7 +2606,26 @@ export default { lastEraBumpedBlock: 'u32', }, BumpEraFrequencyUpdated: { - frequency: 'u32' + frequency: 'u32', + }, + NominateIntervalEraUpdated: { + eras: 'u32', + }, + HomaWithdrawUnbonded: { + subAccountIndex: 'u16', + amount: 'u128', + }, + HomaUnbond: { + subAccountIndex: 'u16', + amount: 'u128', + }, + HomaBondExtra: { + subAccountIndex: 'u16', + amount: 'u128', + }, + HomaNominate: { + subAccountIndex: 'u16', + nominations: 'Vec' } } }, @@ -2642,11 +2661,76 @@ export default { HomaBondExtra: 'Null', HomaUnbond: 'Null', ParachainFee: 'StagingXcmV4Location', - ProxyReserveTransferAssets: 'Null' + ProxyReserveTransferAssets: 'Null', + HomaNominate: 'Null' + } + }, + /** + * Lookup208: module_homa_validator_list::module::Event + **/ + ModuleHomaValidatorListModuleEvent: { + _enum: { + FreezeValidator: { + validator: 'AccountId32', + }, + ThawValidator: { + validator: 'AccountId32', + }, + BondGuarantee: { + who: 'AccountId32', + validator: 'AccountId32', + bond: 'u128', + }, + UnbondGuarantee: { + who: 'AccountId32', + validator: 'AccountId32', + bond: 'u128', + }, + WithdrawnGuarantee: { + who: 'AccountId32', + validator: 'AccountId32', + bond: 'u128', + }, + SlashGuarantee: { + who: 'AccountId32', + validator: 'AccountId32', + bond: 'u128' + } + } + }, + /** + * Lookup209: module_nominees_election::module::Event + **/ + ModuleNomineesElectionModuleEvent: { + _enum: { + Bond: { + who: 'AccountId32', + amount: 'u128', + }, + Unbond: { + who: 'AccountId32', + amount: 'u128', + }, + Rebond: { + who: 'AccountId32', + amount: 'u128', + }, + WithdrawUnbonded: { + who: 'AccountId32', + amount: 'u128', + }, + Nominate: { + who: 'AccountId32', + targets: 'Vec', + }, + ResetReservedNominees: { + groupIndex: 'u16', + reservedNominees: 'Vec' + } } }, /** - * Lookup208: module_incentives::module::Event + * Lookup210: module_incentives::module::Event **/ ModuleIncentivesModuleEvent: { _enum: { @@ -2683,17 +2767,18 @@ export default { } }, /** - * Lookup209: module_support::incentives::PoolId + * Lookup211: module_support::incentives::PoolId **/ ModuleSupportIncentivesPoolId: { _enum: { Loans: 'AcalaPrimitivesCurrencyCurrencyId', Dex: 'AcalaPrimitivesCurrencyCurrencyId', - Earning: 'AcalaPrimitivesCurrencyCurrencyId' + Earning: 'AcalaPrimitivesCurrencyCurrencyId', + NomineesElection: 'Null' } }, /** - * Lookup211: module_nft::module::Event + * Lookup213: module_nft::module::Event **/ ModuleNftModuleEvent: { _enum: { @@ -2731,7 +2816,7 @@ export default { } }, /** - * Lookup212: module_asset_registry::module::Event + * Lookup214: module_asset_registry::module::Event **/ ModuleAssetRegistryModuleEvent: { _enum: { @@ -2756,7 +2841,7 @@ export default { } }, /** - * Lookup213: acala_primitives::currency::AssetMetadata + * Lookup215: acala_primitives::currency::AssetMetadata **/ AcalaPrimitivesCurrencyAssetMetadata: { name: 'Bytes', @@ -2765,7 +2850,7 @@ export default { minimalBalance: 'u128' }, /** - * Lookup214: acala_primitives::currency::AssetIds + * Lookup216: acala_primitives::currency::AssetIds **/ AcalaPrimitivesCurrencyAssetIds: { _enum: { @@ -2776,7 +2861,7 @@ export default { } }, /** - * Lookup215: module_liquid_crowdloan::module::Event + * Lookup217: module_liquid_crowdloan::module::Event **/ ModuleLiquidCrowdloanModuleEvent: { _enum: { @@ -2793,7 +2878,7 @@ export default { } }, /** - * Lookup216: module_evm::module::Event + * Lookup218: module_evm::module::Event **/ ModuleEvmModuleEvent: { _enum: { @@ -2850,7 +2935,7 @@ export default { } }, /** - * Lookup218: ethereum::log::Log + * Lookup220: ethereum::log::Log **/ EthereumLog: { address: 'H160', @@ -2858,7 +2943,7 @@ export default { data: 'Bytes' }, /** - * Lookup221: evm_core::error::ExitReason + * Lookup223: evm_core::error::ExitReason **/ EvmCoreErrorExitReason: { _enum: { @@ -2869,13 +2954,13 @@ export default { } }, /** - * Lookup222: evm_core::error::ExitSucceed + * Lookup224: evm_core::error::ExitSucceed **/ EvmCoreErrorExitSucceed: { _enum: ['Stopped', 'Returned', 'Suicided'] }, /** - * Lookup223: evm_core::error::ExitError + * Lookup225: evm_core::error::ExitError **/ EvmCoreErrorExitError: { _enum: { @@ -2898,13 +2983,13 @@ export default { } }, /** - * Lookup227: evm_core::error::ExitRevert + * Lookup229: evm_core::error::ExitRevert **/ EvmCoreErrorExitRevert: { _enum: ['Reverted'] }, /** - * Lookup228: evm_core::error::ExitFatal + * Lookup230: evm_core::error::ExitFatal **/ EvmCoreErrorExitFatal: { _enum: { @@ -2915,7 +3000,7 @@ export default { } }, /** - * Lookup229: module_evm_accounts::module::Event + * Lookup231: module_evm_accounts::module::Event **/ ModuleEvmAccountsModuleEvent: { _enum: { @@ -2926,7 +3011,7 @@ export default { } }, /** - * Lookup230: nutsfinance_stable_asset::pallet::Event + * Lookup232: nutsfinance_stable_asset::pallet::Event **/ NutsfinanceStableAssetEvent: { _enum: { @@ -3035,7 +3120,7 @@ export default { } }, /** - * Lookup231: cumulus_pallet_parachain_system::pallet::Event + * Lookup233: cumulus_pallet_parachain_system::pallet::Event **/ CumulusPalletParachainSystemEvent: { _enum: { @@ -3057,7 +3142,7 @@ export default { } }, /** - * Lookup232: pallet_sudo::pallet::Event + * Lookup234: pallet_sudo::pallet::Event **/ PalletSudoEvent: { _enum: { @@ -3078,7 +3163,7 @@ export default { } }, /** - * Lookup233: frame_system::Phase + * Lookup235: frame_system::Phase **/ FrameSystemPhase: { _enum: { @@ -3088,21 +3173,21 @@ export default { } }, /** - * Lookup235: frame_system::LastRuntimeUpgradeInfo + * Lookup237: frame_system::LastRuntimeUpgradeInfo **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: 'Compact', specName: 'Text' }, /** - * Lookup236: frame_system::CodeUpgradeAuthorization + * Lookup238: frame_system::CodeUpgradeAuthorization **/ FrameSystemCodeUpgradeAuthorization: { codeHash: 'H256', checkVersion: 'bool' }, /** - * Lookup237: frame_system::pallet::Call + * Lookup239: frame_system::pallet::Call **/ FrameSystemCall: { _enum: { @@ -3147,7 +3232,7 @@ export default { } }, /** - * Lookup241: frame_system::limits::BlockWeights + * Lookup243: frame_system::limits::BlockWeights **/ FrameSystemLimitsBlockWeights: { baseBlock: 'SpWeightsWeightV2Weight', @@ -3155,7 +3240,7 @@ export default { perClass: 'FrameSupportDispatchPerDispatchClassWeightsPerClass' }, /** - * Lookup242: frame_support::dispatch::PerDispatchClass + * Lookup244: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: 'FrameSystemLimitsWeightsPerClass', @@ -3163,7 +3248,7 @@ export default { mandatory: 'FrameSystemLimitsWeightsPerClass' }, /** - * Lookup243: frame_system::limits::WeightsPerClass + * Lookup245: frame_system::limits::WeightsPerClass **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: 'SpWeightsWeightV2Weight', @@ -3172,13 +3257,13 @@ export default { reserved: 'Option' }, /** - * Lookup245: frame_system::limits::BlockLength + * Lookup247: frame_system::limits::BlockLength **/ FrameSystemLimitsBlockLength: { max: 'FrameSupportDispatchPerDispatchClassU32' }, /** - * Lookup246: frame_support::dispatch::PerDispatchClass + * Lookup248: frame_support::dispatch::PerDispatchClass **/ FrameSupportDispatchPerDispatchClassU32: { normal: 'u32', @@ -3186,14 +3271,14 @@ export default { mandatory: 'u32' }, /** - * Lookup247: sp_weights::RuntimeDbWeight + * Lookup249: sp_weights::RuntimeDbWeight **/ SpWeightsRuntimeDbWeight: { read: 'u64', write: 'u64' }, /** - * Lookup248: sp_version::RuntimeVersion + * Lookup250: sp_version::RuntimeVersion **/ SpVersionRuntimeVersion: { specName: 'Text', @@ -3206,13 +3291,13 @@ export default { stateVersion: 'u8' }, /** - * Lookup252: frame_system::pallet::Error + * Lookup254: frame_system::pallet::Error **/ FrameSystemError: { _enum: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup253: pallet_timestamp::pallet::Call + * Lookup255: pallet_timestamp::pallet::Call **/ PalletTimestampCall: { _enum: { @@ -3222,7 +3307,7 @@ export default { } }, /** - * Lookup256: pallet_scheduler::Scheduled, BlockNumber, acala_runtime::OriginCaller, sp_core::crypto::AccountId32> + * Lookup258: pallet_scheduler::Scheduled, BlockNumber, acala_runtime::OriginCaller, sp_core::crypto::AccountId32> **/ PalletSchedulerScheduled: { maybeId: 'Option<[u8;32]>', @@ -3232,7 +3317,7 @@ export default { origin: 'AcalaRuntimeOriginCaller' }, /** - * Lookup257: frame_support::traits::preimages::Bounded + * Lookup259: frame_support::traits::preimages::Bounded **/ FrameSupportPreimagesBounded: { _enum: { @@ -3253,7 +3338,7 @@ export default { } }, /** - * Lookup259: pallet_scheduler::pallet::Call + * Lookup261: pallet_scheduler::pallet::Call **/ PalletSchedulerCall: { _enum: { @@ -3309,7 +3394,7 @@ export default { } }, /** - * Lookup261: pallet_utility::pallet::Call + * Lookup263: pallet_utility::pallet::Call **/ PalletUtilityCall: { _enum: { @@ -3337,7 +3422,7 @@ export default { } }, /** - * Lookup263: pallet_multisig::pallet::Call + * Lookup265: pallet_multisig::pallet::Call **/ PalletMultisigCall: { _enum: { @@ -3368,7 +3453,7 @@ export default { } }, /** - * Lookup265: pallet_proxy::pallet::Call + * Lookup267: pallet_proxy::pallet::Call **/ PalletProxyCall: { _enum: { @@ -3421,7 +3506,7 @@ export default { } }, /** - * Lookup268: module_transaction_pause::module::Call + * Lookup270: module_transaction_pause::module::Call **/ ModuleTransactionPauseModuleCall: { _enum: { @@ -3442,7 +3527,7 @@ export default { } }, /** - * Lookup269: module_idle_scheduler::module::Call + * Lookup271: module_idle_scheduler::module::Call **/ ModuleIdleSchedulerModuleCall: { _enum: { @@ -3452,7 +3537,7 @@ export default { } }, /** - * Lookup270: pallet_preimage::pallet::Call + * Lookup272: pallet_preimage::pallet::Call **/ PalletPreimageCall: { _enum: { @@ -3483,7 +3568,7 @@ export default { } }, /** - * Lookup271: pallet_balances::pallet::Call + * Lookup273: pallet_balances::pallet::Call **/ PalletBalancesCall: { _enum: { @@ -3524,13 +3609,13 @@ export default { } }, /** - * Lookup272: pallet_balances::types::AdjustmentDirection + * Lookup274: pallet_balances::types::AdjustmentDirection **/ PalletBalancesAdjustmentDirection: { _enum: ['Increase', 'Decrease'] }, /** - * Lookup273: module_currencies::module::Call + * Lookup275: module_currencies::module::Call **/ ModuleCurrenciesModuleCall: { _enum: { @@ -3566,7 +3651,7 @@ export default { } }, /** - * Lookup274: orml_vesting::module::Call + * Lookup276: orml_vesting::module::Call **/ OrmlVestingModuleCall: { _enum: { @@ -3585,7 +3670,7 @@ export default { } }, /** - * Lookup276: module_transaction_payment::module::Call + * Lookup278: module_transaction_payment::module::Call **/ ModuleTransactionPaymentModuleCall: { _enum: { @@ -3616,7 +3701,7 @@ export default { } }, /** - * Lookup279: module_support::dex::AggregatedSwapPath + * Lookup281: module_support::dex::AggregatedSwapPath **/ ModuleSupportDexAggregatedSwapPath: { _enum: { @@ -3625,7 +3710,7 @@ export default { } }, /** - * Lookup280: pallet_treasury::pallet::Call + * Lookup282: pallet_treasury::pallet::Call **/ PalletTreasuryCall: { _enum: { @@ -3664,7 +3749,7 @@ export default { } }, /** - * Lookup282: pallet_bounties::pallet::Call + * Lookup284: pallet_bounties::pallet::Call **/ PalletBountiesCall: { _enum: { @@ -3703,7 +3788,7 @@ export default { } }, /** - * Lookup283: pallet_tips::pallet::Call + * Lookup285: pallet_tips::pallet::Call **/ PalletTipsCall: { _enum: { @@ -3744,7 +3829,7 @@ export default { } }, /** - * Lookup284: module_collator_selection::pallet::Call + * Lookup286: module_collator_selection::pallet::Call **/ ModuleCollatorSelectionCall: { _enum: { @@ -3769,7 +3854,7 @@ export default { } }, /** - * Lookup285: pallet_session::pallet::Call + * Lookup287: pallet_session::pallet::Call **/ PalletSessionCall: { _enum: { @@ -3784,21 +3869,21 @@ export default { } }, /** - * Lookup286: acala_runtime::SessionKeys + * Lookup288: acala_runtime::SessionKeys **/ AcalaRuntimeSessionKeys: { aura: 'SpConsensusAuraSr25519AppSr25519Public' }, /** - * Lookup287: sp_consensus_aura::sr25519::app_sr25519::Public + * Lookup289: sp_consensus_aura::sr25519::app_sr25519::Public **/ SpConsensusAuraSr25519AppSr25519Public: 'SpCoreSr25519Public', /** - * Lookup288: sp_core::sr25519::Public + * Lookup290: sp_core::sr25519::Public **/ SpCoreSr25519Public: '[u8;32]', /** - * Lookup289: module_session_manager::module::Call + * Lookup291: module_session_manager::module::Call **/ ModuleSessionManagerModuleCall: { _enum: { @@ -3809,7 +3894,7 @@ export default { } }, /** - * Lookup290: cumulus_pallet_xcmp_queue::pallet::Call + * Lookup292: cumulus_pallet_xcmp_queue::pallet::Call **/ CumulusPalletXcmpQueueCall: { _enum: { @@ -3837,7 +3922,7 @@ export default { } }, /** - * Lookup291: pallet_xcm::pallet::Call + * Lookup293: pallet_xcm::pallet::Call **/ PalletXcmCall: { _enum: { @@ -3905,7 +3990,7 @@ export default { } }, /** - * Lookup292: xcm::VersionedXcm + * Lookup294: xcm::VersionedXcm **/ XcmVersionedXcm: { _enum: { @@ -3917,11 +4002,11 @@ export default { } }, /** - * Lookup293: xcm::v2::Xcm + * Lookup295: xcm::v2::Xcm **/ XcmV2Xcm: 'Vec', /** - * Lookup295: xcm::v2::Instruction + * Lookup297: xcm::v2::Instruction **/ XcmV2Instruction: { _enum: { @@ -4019,7 +4104,7 @@ export default { } }, /** - * Lookup296: xcm::v2::Response + * Lookup298: xcm::v2::Response **/ XcmV2Response: { _enum: { @@ -4030,7 +4115,7 @@ export default { } }, /** - * Lookup299: xcm::v2::traits::Error + * Lookup301: xcm::v2::traits::Error **/ XcmV2TraitsError: { _enum: { @@ -4063,7 +4148,7 @@ export default { } }, /** - * Lookup300: xcm::v2::multiasset::MultiAssetFilter + * Lookup302: xcm::v2::multiasset::MultiAssetFilter **/ XcmV2MultiassetMultiAssetFilter: { _enum: { @@ -4072,7 +4157,7 @@ export default { } }, /** - * Lookup301: xcm::v2::multiasset::WildMultiAsset + * Lookup303: xcm::v2::multiasset::WildMultiAsset **/ XcmV2MultiassetWildMultiAsset: { _enum: { @@ -4084,13 +4169,13 @@ export default { } }, /** - * Lookup302: xcm::v2::multiasset::WildFungibility + * Lookup304: xcm::v2::multiasset::WildFungibility **/ XcmV2MultiassetWildFungibility: { _enum: ['Fungible', 'NonFungible'] }, /** - * Lookup303: xcm::v2::WeightLimit + * Lookup305: xcm::v2::WeightLimit **/ XcmV2WeightLimit: { _enum: { @@ -4099,11 +4184,11 @@ export default { } }, /** - * Lookup304: xcm::v3::Xcm + * Lookup306: xcm::v3::Xcm **/ XcmV3Xcm: 'Vec', /** - * Lookup306: xcm::v3::Instruction + * Lookup308: xcm::v3::Instruction **/ XcmV3Instruction: { _enum: { @@ -4245,7 +4330,7 @@ export default { } }, /** - * Lookup307: xcm::v3::Response + * Lookup309: xcm::v3::Response **/ XcmV3Response: { _enum: { @@ -4258,7 +4343,7 @@ export default { } }, /** - * Lookup309: xcm::v3::PalletInfo + * Lookup311: xcm::v3::PalletInfo **/ XcmV3PalletInfo: { index: 'Compact', @@ -4269,7 +4354,7 @@ export default { patch: 'Compact' }, /** - * Lookup313: xcm::v3::QueryResponseInfo + * Lookup315: xcm::v3::QueryResponseInfo **/ XcmV3QueryResponseInfo: { destination: 'StagingXcmV3MultiLocation', @@ -4277,7 +4362,7 @@ export default { maxWeight: 'SpWeightsWeightV2Weight' }, /** - * Lookup314: xcm::v3::multiasset::MultiAssetFilter + * Lookup316: xcm::v3::multiasset::MultiAssetFilter **/ XcmV3MultiassetMultiAssetFilter: { _enum: { @@ -4286,7 +4371,7 @@ export default { } }, /** - * Lookup315: xcm::v3::multiasset::WildMultiAsset + * Lookup317: xcm::v3::multiasset::WildMultiAsset **/ XcmV3MultiassetWildMultiAsset: { _enum: { @@ -4304,13 +4389,13 @@ export default { } }, /** - * Lookup316: xcm::v3::multiasset::WildFungibility + * Lookup318: xcm::v3::multiasset::WildFungibility **/ XcmV3MultiassetWildFungibility: { _enum: ['Fungible', 'NonFungible'] }, /** - * Lookup328: orml_xtokens::module::Call + * Lookup330: orml_xtokens::module::Call **/ OrmlXtokensModuleCall: { _enum: { @@ -4353,7 +4438,7 @@ export default { } }, /** - * Lookup329: xcm::VersionedAsset + * Lookup331: xcm::VersionedAsset **/ XcmVersionedAsset: { _enum: { @@ -4365,7 +4450,7 @@ export default { } }, /** - * Lookup330: orml_xcm::module::Call + * Lookup332: orml_xcm::module::Call **/ OrmlXcmModuleCall: { _enum: { @@ -4376,7 +4461,7 @@ export default { } }, /** - * Lookup331: pallet_message_queue::pallet::Call + * Lookup333: pallet_message_queue::pallet::Call **/ PalletMessageQueueCall: { _enum: { @@ -4393,7 +4478,7 @@ export default { } }, /** - * Lookup332: orml_authority::module::Call + * Lookup334: orml_authority::module::Call **/ OrmlAuthorityModuleCall: { _enum: { @@ -4442,13 +4527,13 @@ export default { } }, /** - * Lookup333: acala_primitives::AuthoritysOriginId + * Lookup335: acala_primitives::AuthoritysOriginId **/ AcalaPrimitivesAuthoritysOriginId: { _enum: ['Root', 'Treasury', 'HonzonTreasury', 'HomaTreasury', 'TreasuryReserve'] }, /** - * Lookup334: frame_support::traits::schedule::DispatchTime + * Lookup336: frame_support::traits::schedule::DispatchTime **/ FrameSupportScheduleDispatchTime: { _enum: { @@ -4457,7 +4542,7 @@ export default { } }, /** - * Lookup335: pallet_collective::pallet::Call + * Lookup337: pallet_collective::pallet::Call **/ PalletCollectiveCall: { _enum: { @@ -4493,7 +4578,7 @@ export default { } }, /** - * Lookup336: pallet_membership::pallet::Call + * Lookup338: pallet_membership::pallet::Call **/ PalletMembershipCall: { _enum: { @@ -4523,7 +4608,7 @@ export default { } }, /** - * Lookup343: pallet_democracy::pallet::Call + * Lookup345: pallet_democracy::pallet::Call **/ PalletDemocracyCall: { _enum: { @@ -4592,13 +4677,13 @@ export default { } }, /** - * Lookup344: pallet_democracy::conviction::Conviction + * Lookup346: pallet_democracy::conviction::Conviction **/ PalletDemocracyConviction: { _enum: ['None', 'Locked1x', 'Locked2x', 'Locked3x', 'Locked4x', 'Locked5x', 'Locked6x'] }, /** - * Lookup346: orml_oracle::module::Call + * Lookup348: orml_oracle::module::Call **/ OrmlOracleModuleCall: { _enum: { @@ -4608,7 +4693,7 @@ export default { } }, /** - * Lookup349: orml_auction::module::Call + * Lookup351: orml_auction::module::Call **/ OrmlAuctionModuleCall: { _enum: { @@ -4619,7 +4704,7 @@ export default { } }, /** - * Lookup350: orml_parameters::module::Call + * Lookup352: orml_parameters::module::Call **/ OrmlParametersModuleCall: { _enum: { @@ -4629,7 +4714,7 @@ export default { } }, /** - * Lookup351: module_prices::module::Call + * Lookup353: module_prices::module::Call **/ ModulePricesModuleCall: { _enum: { @@ -4642,7 +4727,7 @@ export default { } }, /** - * Lookup352: module_dex::module::Call + * Lookup354: module_dex::module::Call **/ ModuleDexModuleCall: { _enum: { @@ -4725,7 +4810,7 @@ export default { } }, /** - * Lookup353: module_dex_oracle::module::Call + * Lookup355: module_dex_oracle::module::Call **/ ModuleDexOracleModuleCall: { _enum: { @@ -4746,7 +4831,7 @@ export default { } }, /** - * Lookup354: module_aggregated_dex::module::Call + * Lookup356: module_aggregated_dex::module::Call **/ ModuleAggregatedDexModuleCall: { _enum: { @@ -4766,7 +4851,7 @@ export default { } }, /** - * Lookup359: module_earning::module::Call + * Lookup361: module_earning::module::Call **/ ModuleEarningModuleCall: { _enum: { @@ -4786,7 +4871,7 @@ export default { } }, /** - * Lookup360: module_auction_manager::module::Call + * Lookup362: module_auction_manager::module::Call **/ ModuleAuctionManagerModuleCall: { _enum: { @@ -4796,11 +4881,11 @@ export default { } }, /** - * Lookup361: module_loans::module::Call + * Lookup363: module_loans::module::Call **/ ModuleLoansModuleCall: 'Null', /** - * Lookup362: module_honzon::module::Call + * Lookup364: module_honzon::module::Call **/ ModuleHonzonModuleCall: { _enum: { @@ -4849,7 +4934,7 @@ export default { } }, /** - * Lookup363: module_cdp_treasury::module::Call + * Lookup365: module_cdp_treasury::module::Call **/ ModuleCdpTreasuryModuleCall: { _enum: { @@ -4879,7 +4964,7 @@ export default { } }, /** - * Lookup364: module_support::dex::SwapLimit + * Lookup366: module_support::dex::SwapLimit **/ ModuleSupportDexSwapLimit: { _enum: { @@ -4888,7 +4973,7 @@ export default { } }, /** - * Lookup365: module_cdp_engine::module::Call + * Lookup367: module_cdp_engine::module::Call **/ ModuleCdpEngineModuleCall: { _enum: { @@ -4917,7 +5002,7 @@ export default { } }, /** - * Lookup366: orml_traits::Change> + * Lookup368: orml_traits::Change> **/ OrmlTraitsChangeOption: { _enum: { @@ -4926,7 +5011,7 @@ export default { } }, /** - * Lookup367: orml_traits::Change + * Lookup369: orml_traits::Change **/ OrmlTraitsChangeU128: { _enum: { @@ -4935,7 +5020,7 @@ export default { } }, /** - * Lookup368: module_emergency_shutdown::module::Call + * Lookup370: module_emergency_shutdown::module::Call **/ ModuleEmergencyShutdownModuleCall: { _enum: { @@ -4947,7 +5032,7 @@ export default { } }, /** - * Lookup369: module_homa::module::Call + * Lookup371: module_homa::module::Call **/ ModuleHomaModuleCall: { _enum: { @@ -4969,6 +5054,7 @@ export default { estimatedRewardRatePerEra: 'Option', commissionRate: 'Option', fastMatchFeeRate: 'Option', + nominateIntervalEra: 'Option', }, update_bump_era_params: { lastEraBumpedBlock: 'Option', @@ -4989,7 +5075,7 @@ export default { } }, /** - * Lookup374: module_xcm_interface::module::Call + * Lookup376: module_xcm_interface::module::Call **/ ModuleXcmInterfaceModuleCall: { _enum: { @@ -4999,7 +5085,69 @@ export default { } }, /** - * Lookup377: module_incentives::module::Call + * Lookup379: module_homa_validator_list::module::Call + **/ + ModuleHomaValidatorListModuleCall: { + _enum: { + bond: { + validator: 'AccountId32', + amount: 'Compact', + }, + unbond: { + validator: 'AccountId32', + amount: 'Compact', + }, + rebond: { + validator: 'AccountId32', + amount: 'Compact', + }, + withdraw_unbonded: { + validator: 'AccountId32', + }, + freeze: { + validators: 'Vec', + }, + thaw: { + validators: 'Vec', + }, + slash: { + slashes: 'Vec' + } + } + }, + /** + * Lookup381: module_homa_validator_list::SlashInfo + **/ + ModuleHomaValidatorListSlashInfo: { + validator: 'AccountId32', + relaychainTokenAmount: 'u128' + }, + /** + * Lookup382: module_nominees_election::module::Call + **/ + ModuleNomineesElectionModuleCall: { + _enum: { + bond: { + amount: 'Compact', + }, + unbond: { + amount: 'Compact', + }, + rebond: { + amount: 'Compact', + }, + withdraw_unbonded: 'Null', + nominate: { + targets: 'Vec', + }, + chill: 'Null', + reset_reserved_nominees: { + updates: 'Vec<(u16,Vec)>' + } + } + }, + /** + * Lookup386: module_incentives::module::Call **/ ModuleIncentivesModuleCall: { _enum: { @@ -5027,7 +5175,7 @@ export default { } }, /** - * Lookup382: module_nft::module::Call + * Lookup391: module_nft::module::Call **/ ModuleNftModuleCall: { _enum: { @@ -5065,13 +5213,13 @@ export default { } }, /** - * Lookup384: acala_primitives::nft::ClassProperty + * Lookup393: acala_primitives::nft::ClassProperty **/ AcalaPrimitivesNftClassProperty: { _enum: ['__Unused0', 'Transferable', 'Burnable', '__Unused3', 'Mintable', '__Unused5', '__Unused6', '__Unused7', 'ClassPropertiesMutable'] }, /** - * Lookup387: module_asset_registry::module::Call + * Lookup396: module_asset_registry::module::Call **/ ModuleAssetRegistryModuleCall: { _enum: { @@ -5110,7 +5258,7 @@ export default { } }, /** - * Lookup388: module_liquid_crowdloan::module::Call + * Lookup397: module_liquid_crowdloan::module::Call **/ ModuleLiquidCrowdloanModuleCall: { _enum: { @@ -5126,7 +5274,7 @@ export default { } }, /** - * Lookup389: module_evm::module::Call + * Lookup398: module_evm::module::Call **/ ModuleEvmModuleCall: { _enum: { @@ -5224,7 +5372,7 @@ export default { } }, /** - * Lookup390: ethereum::transaction::TransactionAction + * Lookup399: ethereum::transaction::TransactionAction **/ EthereumTransactionTransactionAction: { _enum: { @@ -5233,14 +5381,14 @@ export default { } }, /** - * Lookup392: ethereum::transaction::AccessListItem + * Lookup401: ethereum::transaction::AccessListItem **/ EthereumTransactionAccessListItem: { address: 'H160', storageKeys: 'Vec' }, /** - * Lookup393: module_evm_accounts::module::Call + * Lookup402: module_evm_accounts::module::Call **/ ModuleEvmAccountsModuleCall: { _enum: { @@ -5252,7 +5400,7 @@ export default { } }, /** - * Lookup395: nutsfinance_stable_asset::pallet::Call + * Lookup404: nutsfinance_stable_asset::pallet::Call **/ NutsfinanceStableAssetCall: { _enum: { @@ -5317,7 +5465,7 @@ export default { } }, /** - * Lookup396: cumulus_pallet_parachain_system::pallet::Call + * Lookup405: cumulus_pallet_parachain_system::pallet::Call **/ CumulusPalletParachainSystemCall: { _enum: { @@ -5337,7 +5485,7 @@ export default { } }, /** - * Lookup397: cumulus_primitives_parachain_inherent::ParachainInherentData + * Lookup406: cumulus_primitives_parachain_inherent::ParachainInherentData **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: 'PolkadotPrimitivesV6PersistedValidationData', @@ -5346,7 +5494,7 @@ export default { horizontalMessages: 'BTreeMap>' }, /** - * Lookup398: polkadot_primitives::v6::PersistedValidationData + * Lookup407: polkadot_primitives::v6::PersistedValidationData **/ PolkadotPrimitivesV6PersistedValidationData: { parentHead: 'Bytes', @@ -5355,27 +5503,27 @@ export default { maxPovSize: 'u32' }, /** - * Lookup400: sp_trie::storage_proof::StorageProof + * Lookup409: sp_trie::storage_proof::StorageProof **/ SpTrieStorageProof: { trieNodes: 'BTreeSet' }, /** - * Lookup403: polkadot_core_primitives::InboundDownwardMessage + * Lookup412: polkadot_core_primitives::InboundDownwardMessage **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: 'u32', msg: 'Bytes' }, /** - * Lookup406: polkadot_core_primitives::InboundHrmpMessage + * Lookup415: polkadot_core_primitives::InboundHrmpMessage **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: 'u32', data: 'Bytes' }, /** - * Lookup409: pallet_sudo::pallet::Call + * Lookup418: pallet_sudo::pallet::Call **/ PalletSudoCall: { _enum: { @@ -5400,11 +5548,11 @@ export default { } }, /** - * Lookup410: sp_runtime::traits::BlakeTwo256 + * Lookup419: sp_runtime::traits::BlakeTwo256 **/ SpRuntimeBlakeTwo256: 'Null', /** - * Lookup413: pallet_scheduler::RetryConfig + * Lookup422: pallet_scheduler::RetryConfig **/ PalletSchedulerRetryConfig: { totalRetries: 'u8', @@ -5412,19 +5560,19 @@ export default { period: 'u32' }, /** - * Lookup414: pallet_scheduler::pallet::Error + * Lookup423: pallet_scheduler::pallet::Error **/ PalletSchedulerError: { _enum: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'] }, /** - * Lookup415: pallet_utility::pallet::Error + * Lookup424: pallet_utility::pallet::Error **/ PalletUtilityError: { _enum: ['TooManyCalls'] }, /** - * Lookup417: pallet_multisig::Multisig + * Lookup426: pallet_multisig::Multisig **/ PalletMultisigMultisig: { when: 'PalletMultisigTimepoint', @@ -5433,13 +5581,13 @@ export default { approvals: 'Vec' }, /** - * Lookup419: pallet_multisig::pallet::Error + * Lookup428: pallet_multisig::pallet::Error **/ PalletMultisigError: { _enum: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored'] }, /** - * Lookup422: pallet_proxy::ProxyDefinition + * Lookup431: pallet_proxy::ProxyDefinition **/ PalletProxyProxyDefinition: { delegate: 'AccountId32', @@ -5447,7 +5595,7 @@ export default { delay: 'u32' }, /** - * Lookup426: pallet_proxy::Announcement + * Lookup435: pallet_proxy::Announcement **/ PalletProxyAnnouncement: { real: 'AccountId32', @@ -5455,19 +5603,19 @@ export default { height: 'u32' }, /** - * Lookup428: pallet_proxy::pallet::Error + * Lookup437: pallet_proxy::pallet::Error **/ PalletProxyError: { _enum: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'] }, /** - * Lookup429: module_transaction_pause::module::Error + * Lookup438: module_transaction_pause::module::Error **/ ModuleTransactionPauseModuleError: { _enum: ['CannotPause', 'InvalidCharacter'] }, /** - * Lookup430: pallet_preimage::OldRequestStatus + * Lookup439: pallet_preimage::OldRequestStatus **/ PalletPreimageOldRequestStatus: { _enum: { @@ -5483,7 +5631,7 @@ export default { } }, /** - * Lookup433: pallet_preimage::RequestStatus> + * Lookup442: pallet_preimage::RequestStatus> **/ PalletPreimageRequestStatus: { _enum: { @@ -5499,13 +5647,13 @@ export default { } }, /** - * Lookup439: pallet_preimage::pallet::Error + * Lookup448: pallet_preimage::pallet::Error **/ PalletPreimageError: { _enum: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'] }, /** - * Lookup441: pallet_balances::types::BalanceLock + * Lookup450: pallet_balances::types::BalanceLock **/ PalletBalancesBalanceLock: { id: '[u8;8]', @@ -5513,26 +5661,26 @@ export default { reasons: 'PalletBalancesReasons' }, /** - * Lookup442: pallet_balances::types::Reasons + * Lookup451: pallet_balances::types::Reasons **/ PalletBalancesReasons: { _enum: ['Fee', 'Misc', 'All'] }, /** - * Lookup445: pallet_balances::types::ReserveData + * Lookup454: pallet_balances::types::ReserveData **/ PalletBalancesReserveData: { id: 'AcalaPrimitivesReserveIdentifier', amount: 'u128' }, /** - * Lookup446: acala_primitives::ReserveIdentifier + * Lookup455: acala_primitives::ReserveIdentifier **/ AcalaPrimitivesReserveIdentifier: { _enum: ['CollatorSelection', 'EvmStorageDeposit', 'EvmDeveloperDeposit', 'Honzon', 'Nft', 'TransactionPayment', 'TransactionPaymentDeposit', 'Count'] }, /** - * Lookup450: acala_runtime::RuntimeHoldReason + * Lookup459: acala_runtime::RuntimeHoldReason **/ AcalaRuntimeRuntimeHoldReason: { _enum: { @@ -5548,33 +5696,33 @@ export default { } }, /** - * Lookup451: pallet_preimage::pallet::HoldReason + * Lookup460: pallet_preimage::pallet::HoldReason **/ PalletPreimageHoldReason: { _enum: ['Preimage'] }, /** - * Lookup454: pallet_balances::types::IdAmount + * Lookup463: pallet_balances::types::IdAmount **/ PalletBalancesIdAmount: { id: 'Null', amount: 'u128' }, /** - * Lookup456: pallet_balances::pallet::Error + * Lookup465: pallet_balances::pallet::Error **/ PalletBalancesError: { _enum: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'] }, /** - * Lookup459: orml_tokens::BalanceLock + * Lookup468: orml_tokens::BalanceLock **/ OrmlTokensBalanceLock: { id: '[u8;8]', amount: 'u128' }, /** - * Lookup461: orml_tokens::AccountData + * Lookup470: orml_tokens::AccountData **/ OrmlTokensAccountData: { free: 'u128', @@ -5582,32 +5730,32 @@ export default { frozen: 'u128' }, /** - * Lookup463: orml_tokens::ReserveData + * Lookup472: orml_tokens::ReserveData **/ OrmlTokensReserveData: { id: 'AcalaPrimitivesReserveIdentifier', amount: 'u128' }, /** - * Lookup465: orml_tokens::module::Error + * Lookup474: orml_tokens::module::Error **/ OrmlTokensModuleError: { _enum: ['BalanceTooLow', 'AmountIntoBalanceFailed', 'LiquidityRestrictions', 'MaxLocksExceeded', 'KeepAlive', 'ExistentialDeposit', 'DeadAccount', 'TooManyReserves'] }, /** - * Lookup466: module_currencies::module::Error + * Lookup475: module_currencies::module::Error **/ ModuleCurrenciesModuleError: { _enum: ['AmountIntoBalanceFailed', 'BalanceTooLow', 'Erc20InvalidOperation', 'EvmAccountNotFound', 'RealOriginNotFound', 'DepositFailed'] }, /** - * Lookup468: orml_vesting::module::Error + * Lookup477: orml_vesting::module::Error **/ OrmlVestingModuleError: { _enum: ['ZeroVestingPeriod', 'ZeroVestingPeriodCount', 'InsufficientBalanceToLock', 'TooManyVestingSchedules', 'AmountLow', 'MaxVestingSchedulesExceeded'] }, /** - * Lookup470: module_transaction_payment::module::ChargeFeeMethod + * Lookup479: module_transaction_payment::module::ChargeFeeMethod **/ ModuleTransactionPaymentModuleChargeFeeMethod: { _enum: { @@ -5616,17 +5764,17 @@ export default { } }, /** - * Lookup471: frame_support::PalletId + * Lookup480: frame_support::PalletId **/ FrameSupportPalletId: '[u8;8]', /** - * Lookup473: module_transaction_payment::module::Error + * Lookup482: module_transaction_payment::module::Error **/ ModuleTransactionPaymentModuleError: { _enum: ['InvalidSwapPath', 'InvalidBalance', 'InvalidRate', 'InvalidToken', 'DexNotAvailable', 'ChargeFeePoolAlreadyExisted'] }, /** - * Lookup474: pallet_treasury::Proposal + * Lookup483: pallet_treasury::Proposal **/ PalletTreasuryProposal: { proposer: 'AccountId32', @@ -5635,7 +5783,7 @@ export default { bond: 'u128' }, /** - * Lookup477: pallet_treasury::SpendStatus + * Lookup486: pallet_treasury::SpendStatus **/ PalletTreasurySpendStatus: { assetKind: 'Null', @@ -5646,7 +5794,7 @@ export default { status: 'PalletTreasuryPaymentState' }, /** - * Lookup478: pallet_treasury::PaymentState + * Lookup487: pallet_treasury::PaymentState **/ PalletTreasuryPaymentState: { _enum: { @@ -5658,13 +5806,13 @@ export default { } }, /** - * Lookup479: pallet_treasury::pallet::Error + * Lookup488: pallet_treasury::pallet::Error **/ PalletTreasuryError: { _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'] }, /** - * Lookup480: pallet_bounties::Bounty + * Lookup489: pallet_bounties::Bounty **/ PalletBountiesBounty: { proposer: 'AccountId32', @@ -5675,7 +5823,7 @@ export default { status: 'PalletBountiesBountyStatus' }, /** - * Lookup481: pallet_bounties::BountyStatus + * Lookup490: pallet_bounties::BountyStatus **/ PalletBountiesBountyStatus: { _enum: { @@ -5697,13 +5845,13 @@ export default { } }, /** - * Lookup483: pallet_bounties::pallet::Error + * Lookup492: pallet_bounties::pallet::Error **/ PalletBountiesError: { _enum: ['InsufficientProposersBalance', 'InvalidIndex', 'ReasonTooBig', 'UnexpectedStatus', 'RequireCurator', 'InvalidValue', 'InvalidFee', 'PendingPayout', 'Premature', 'HasActiveChildBounty', 'TooManyQueued'] }, /** - * Lookup484: pallet_tips::OpenTip + * Lookup493: pallet_tips::OpenTip **/ PalletTipsOpenTip: { reason: 'H256', @@ -5715,35 +5863,35 @@ export default { findersFee: 'bool' }, /** - * Lookup486: pallet_tips::pallet::Error + * Lookup495: pallet_tips::pallet::Error **/ PalletTipsError: { _enum: ['ReasonTooBig', 'AlreadyKnown', 'UnknownTip', 'MaxTipAmountExceeded', 'NotFinder', 'StillOpen', 'Premature'] }, /** - * Lookup490: module_collator_selection::pallet::Error + * Lookup499: module_collator_selection::pallet::Error **/ ModuleCollatorSelectionError: { _enum: ['MaxCandidatesExceeded', 'BelowCandidatesMin', 'StillLocked', 'Unknown', 'Permission', 'AlreadyCandidate', 'NotCandidate', 'NotNonCandidate', 'NothingToWithdraw', 'RequireSessionKey', 'AlreadyInvulnerable', 'InvalidProof', 'MaxInvulnerablesExceeded'] }, /** - * Lookup494: sp_core::crypto::KeyTypeId + * Lookup503: sp_core::crypto::KeyTypeId **/ SpCoreCryptoKeyTypeId: '[u8;4]', /** - * Lookup495: pallet_session::pallet::Error + * Lookup504: pallet_session::pallet::Error **/ PalletSessionError: { _enum: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'] }, /** - * Lookup500: module_session_manager::module::Error + * Lookup509: module_session_manager::module::Error **/ ModuleSessionManagerModuleError: { _enum: ['InvalidSession', 'InvalidDuration', 'EstimateNextSessionFailed'] }, /** - * Lookup505: cumulus_pallet_xcmp_queue::OutboundChannelDetails + * Lookup514: cumulus_pallet_xcmp_queue::OutboundChannelDetails **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: 'u32', @@ -5753,13 +5901,13 @@ export default { lastIndex: 'u16' }, /** - * Lookup506: cumulus_pallet_xcmp_queue::OutboundState + * Lookup515: cumulus_pallet_xcmp_queue::OutboundState **/ CumulusPalletXcmpQueueOutboundState: { _enum: ['Ok', 'Suspended'] }, /** - * Lookup508: cumulus_pallet_xcmp_queue::QueueConfigData + * Lookup517: cumulus_pallet_xcmp_queue::QueueConfigData **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: 'u32', @@ -5767,13 +5915,13 @@ export default { resumeThreshold: 'u32' }, /** - * Lookup509: cumulus_pallet_xcmp_queue::pallet::Error + * Lookup518: cumulus_pallet_xcmp_queue::pallet::Error **/ CumulusPalletXcmpQueueError: { _enum: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed'] }, /** - * Lookup510: pallet_xcm::pallet::QueryStatus + * Lookup519: pallet_xcm::pallet::QueryStatus **/ PalletXcmQueryStatus: { _enum: { @@ -5794,7 +5942,7 @@ export default { } }, /** - * Lookup514: xcm::VersionedResponse + * Lookup523: xcm::VersionedResponse **/ XcmVersionedResponse: { _enum: { @@ -5806,7 +5954,7 @@ export default { } }, /** - * Lookup520: pallet_xcm::pallet::VersionMigrationStage + * Lookup529: pallet_xcm::pallet::VersionMigrationStage **/ PalletXcmVersionMigrationStage: { _enum: { @@ -5817,7 +5965,7 @@ export default { } }, /** - * Lookup523: xcm::VersionedAssetId + * Lookup532: xcm::VersionedAssetId **/ XcmVersionedAssetId: { _enum: { @@ -5829,7 +5977,7 @@ export default { } }, /** - * Lookup524: pallet_xcm::pallet::RemoteLockedFungibleRecord + * Lookup533: pallet_xcm::pallet::RemoteLockedFungibleRecord **/ PalletXcmRemoteLockedFungibleRecord: { amount: 'u128', @@ -5838,31 +5986,31 @@ export default { consumers: 'Vec<(Null,u128)>' }, /** - * Lookup531: pallet_xcm::pallet::Error + * Lookup540: 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'] }, /** - * Lookup532: orml_xtokens::module::Error + * Lookup541: 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'] }, /** - * Lookup535: orml_unknown_tokens::module::Error + * Lookup544: orml_unknown_tokens::module::Error **/ OrmlUnknownTokensModuleError: { _enum: ['BalanceTooLow', 'BalanceOverflow', 'UnhandledAsset'] }, /** - * Lookup536: orml_xcm::module::Error + * Lookup545: orml_xcm::module::Error **/ OrmlXcmModuleError: { _enum: ['Unreachable', 'SendFailure', 'BadVersion'] }, /** - * Lookup537: pallet_message_queue::BookState + * Lookup546: pallet_message_queue::BookState **/ PalletMessageQueueBookState: { _alias: { @@ -5876,14 +6024,14 @@ export default { size_: 'u64' }, /** - * Lookup539: pallet_message_queue::Neighbours + * Lookup548: pallet_message_queue::Neighbours **/ PalletMessageQueueNeighbours: { prev: 'CumulusPrimitivesCoreAggregateMessageOrigin', next: 'CumulusPrimitivesCoreAggregateMessageOrigin' }, /** - * Lookup541: pallet_message_queue::Page + * Lookup550: pallet_message_queue::Page **/ PalletMessageQueuePage: { remaining: 'u32', @@ -5894,19 +6042,19 @@ export default { heap: 'Bytes' }, /** - * Lookup543: pallet_message_queue::pallet::Error + * Lookup552: pallet_message_queue::pallet::Error **/ PalletMessageQueueError: { _enum: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'] }, /** - * Lookup545: orml_authority::module::Error + * Lookup554: orml_authority::module::Error **/ OrmlAuthorityModuleError: { _enum: ['FailedToSchedule', 'FailedToCancel', 'FailedToFastTrack', 'FailedToDelay', 'CallNotAuthorized', 'TriggerCallNotPermitted', 'WrongCallWeightBound'] }, /** - * Lookup547: pallet_collective::Votes + * Lookup556: pallet_collective::Votes **/ PalletCollectiveVotes: { index: 'u32', @@ -5916,19 +6064,19 @@ export default { end: 'u32' }, /** - * Lookup548: pallet_collective::pallet::Error + * Lookup557: pallet_collective::pallet::Error **/ PalletCollectiveError: { _enum: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember'] }, /** - * Lookup550: pallet_membership::pallet::Error + * Lookup559: pallet_membership::pallet::Error **/ PalletMembershipError: { _enum: ['AlreadyMember', 'NotMember', 'TooManyMembers'] }, /** - * Lookup561: pallet_democracy::types::ReferendumInfo, Balance> + * Lookup570: pallet_democracy::types::ReferendumInfo, Balance> **/ PalletDemocracyReferendumInfo: { _enum: { @@ -5940,7 +6088,7 @@ export default { } }, /** - * Lookup562: pallet_democracy::types::ReferendumStatus, Balance> + * Lookup571: pallet_democracy::types::ReferendumStatus, Balance> **/ PalletDemocracyReferendumStatus: { end: 'u32', @@ -5950,7 +6098,7 @@ export default { tally: 'PalletDemocracyTally' }, /** - * Lookup563: pallet_democracy::types::Tally + * Lookup572: pallet_democracy::types::Tally **/ PalletDemocracyTally: { ayes: 'u128', @@ -5958,7 +6106,7 @@ export default { turnout: 'u128' }, /** - * Lookup564: pallet_democracy::vote::Voting + * Lookup573: pallet_democracy::vote::Voting **/ PalletDemocracyVoteVoting: { _enum: { @@ -5977,41 +6125,41 @@ export default { } }, /** - * Lookup568: pallet_democracy::types::Delegations + * Lookup577: pallet_democracy::types::Delegations **/ PalletDemocracyDelegations: { votes: 'u128', capital: 'u128' }, /** - * Lookup569: pallet_democracy::vote::PriorLock + * Lookup578: pallet_democracy::vote::PriorLock **/ PalletDemocracyVotePriorLock: '(u32,u128)', /** - * Lookup572: pallet_democracy::pallet::Error + * Lookup581: 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'] }, /** - * Lookup573: orml_oracle::module::TimestampedValue + * Lookup582: orml_oracle::module::TimestampedValue **/ OrmlOracleModuleTimestampedValue: { value: 'u128', timestamp: 'u64' }, /** - * Lookup574: orml_utilities::ordered_set::OrderedSet + * Lookup583: orml_utilities::ordered_set::OrderedSet **/ OrmlUtilitiesOrderedSet: 'Vec', /** - * Lookup576: orml_oracle::module::Error + * Lookup585: orml_oracle::module::Error **/ OrmlOracleModuleError: { _enum: ['NoPermission', 'AlreadyFeeded'] }, /** - * Lookup579: orml_traits::auction::AuctionInfo + * Lookup588: orml_traits::auction::AuctionInfo **/ OrmlTraitsAuctionAuctionInfo: { bid: 'Option<(AccountId32,u128)>', @@ -6019,26 +6167,26 @@ export default { end: 'Option' }, /** - * Lookup580: orml_auction::module::Error + * Lookup589: orml_auction::module::Error **/ OrmlAuctionModuleError: { _enum: ['AuctionNotExist', 'AuctionNotStarted', 'BidNotAccepted', 'InvalidBidPrice', 'NoAvailableAuctionId'] }, /** - * Lookup581: orml_rewards::PoolInfo + * Lookup590: orml_rewards::PoolInfo **/ OrmlRewardsPoolInfo: { totalShares: 'u128', rewards: 'BTreeMap' }, /** - * Lookup589: orml_rewards::module::Error + * Lookup598: orml_rewards::module::Error **/ OrmlRewardsModuleError: { _enum: ['PoolDoesNotExist', 'ShareDoesNotExist', 'CanSplitOnlyLessThanShare', 'ShareBelowMinimal'] }, /** - * Lookup590: orml_nft::ClassInfo, bounded_collections::bounded_vec::BoundedVec> + * Lookup599: orml_nft::ClassInfo, bounded_collections::bounded_vec::BoundedVec> **/ OrmlNftClassInfo: { metadata: 'Bytes', @@ -6047,7 +6195,7 @@ export default { data: 'ModuleNftClassData' }, /** - * Lookup591: module_nft::ClassData + * Lookup600: module_nft::ClassData **/ ModuleNftClassData: { deposit: 'u128', @@ -6055,7 +6203,7 @@ export default { attributes: 'BTreeMap' }, /** - * Lookup593: orml_nft::TokenInfo, bounded_collections::bounded_vec::BoundedVec> + * Lookup602: orml_nft::TokenInfo, bounded_collections::bounded_vec::BoundedVec> **/ OrmlNftTokenInfo: { metadata: 'Bytes', @@ -6063,20 +6211,20 @@ export default { data: 'ModuleNftTokenData' }, /** - * Lookup594: module_nft::TokenData + * Lookup603: module_nft::TokenData **/ ModuleNftTokenData: { deposit: 'u128', attributes: 'BTreeMap' }, /** - * Lookup596: orml_nft::module::Error + * Lookup605: orml_nft::module::Error **/ OrmlNftModuleError: { _enum: ['NoAvailableClassId', 'NoAvailableTokenId', 'TokenNotFound', 'ClassNotFound', 'NoPermission', 'CannotDestroyClass', 'MaxMetadataExceeded'] }, /** - * Lookup597: acala_runtime::RuntimeParametersKey + * Lookup606: acala_runtime::RuntimeParametersKey **/ AcalaRuntimeRuntimeParametersKey: { _enum: { @@ -6084,13 +6232,13 @@ export default { } }, /** - * Lookup598: module_earning::ParametersKey + * Lookup607: module_earning::ParametersKey **/ ModuleEarningParametersKey: { _enum: ['InstantUnstakeFee'] }, /** - * Lookup599: acala_runtime::RuntimeParametersValue + * Lookup608: acala_runtime::RuntimeParametersValue **/ AcalaRuntimeRuntimeParametersValue: { _enum: { @@ -6098,7 +6246,7 @@ export default { } }, /** - * Lookup600: module_earning::ParametersValue + * Lookup609: module_earning::ParametersValue **/ ModuleEarningParametersValue: { _enum: { @@ -6106,17 +6254,17 @@ export default { } }, /** - * Lookup601: orml_parameters::module::Error + * Lookup610: orml_parameters::module::Error **/ OrmlParametersModuleError: 'Null', /** - * Lookup602: module_prices::module::Error + * Lookup611: module_prices::module::Error **/ ModulePricesModuleError: { _enum: ['AccessPriceFailed', 'NoLockedPrice'] }, /** - * Lookup603: module_dex::TradingPairStatus + * Lookup612: module_dex::TradingPairStatus **/ ModuleDexTradingPairStatus: { _enum: { @@ -6126,7 +6274,7 @@ export default { } }, /** - * Lookup604: module_dex::ProvisioningParameters + * Lookup613: module_dex::ProvisioningParameters **/ ModuleDexProvisioningParameters: { minContribution: '(u128,u128)', @@ -6135,25 +6283,25 @@ export default { notBefore: 'u32' }, /** - * Lookup607: module_dex::module::Error + * Lookup616: 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'] }, /** - * Lookup612: module_dex_oracle::module::Error + * Lookup621: module_dex_oracle::module::Error **/ ModuleDexOracleModuleError: { _enum: ['AveragePriceAlreadyEnabled', 'AveragePriceMustBeEnabled', 'InvalidPool', 'InvalidCurrencyId', 'IntervalIsZero'] }, /** - * Lookup615: module_aggregated_dex::module::Error + * Lookup624: module_aggregated_dex::module::Error **/ ModuleAggregatedDexModuleError: { _enum: ['CannotSwap', 'InvalidPoolId', 'InvalidTokenIndex', 'InvalidSwapPath'] }, /** - * Lookup616: acala_primitives::bonding::ledger::BondingLedger + * Lookup625: acala_primitives::bonding::ledger::BondingLedger **/ AcalaPrimitivesBondingLedgerBondingLedger: { total: 'u128', @@ -6161,20 +6309,20 @@ export default { unlocking: 'Vec' }, /** - * Lookup618: acala_primitives::bonding::ledger::UnlockChunk + * Lookup627: acala_primitives::bonding::ledger::UnlockChunk **/ AcalaPrimitivesBondingLedgerUnlockChunk: { value: 'u128', unlockAt: 'u32' }, /** - * Lookup620: module_earning::module::Error + * Lookup629: module_earning::module::Error **/ ModuleEarningModuleError: { _enum: ['BelowMinBondThreshold', 'MaxUnlockChunksExceeded', 'NotBonded', 'NotAllowed'] }, /** - * Lookup621: module_auction_manager::CollateralAuctionItem + * Lookup630: module_auction_manager::CollateralAuctionItem **/ ModuleAuctionManagerCollateralAuctionItem: { refundRecipient: 'AccountId32', @@ -6185,38 +6333,38 @@ export default { startTime: 'u32' }, /** - * Lookup622: module_auction_manager::module::Error + * Lookup631: module_auction_manager::module::Error **/ ModuleAuctionManagerModuleError: { _enum: ['AuctionNotExists', 'InReverseStage', 'InvalidFeedPrice', 'MustAfterShutdown', 'InvalidBidPrice', 'InvalidAmount'] }, /** - * Lookup624: acala_primitives::Position + * Lookup633: acala_primitives::Position **/ AcalaPrimitivesPosition: { collateral: 'u128', debit: 'u128' }, /** - * Lookup625: module_loans::module::Error + * Lookup634: module_loans::module::Error **/ ModuleLoansModuleError: { _enum: ['AmountConvertFailed'] }, /** - * Lookup627: module_honzon::module::Error + * Lookup636: module_honzon::module::Error **/ ModuleHonzonModuleError: { _enum: ['NoPermission', 'AlreadyShutdown', 'AuthorizationNotExists', 'AlreadyAuthorized'] }, /** - * Lookup628: module_cdp_treasury::module::Error + * Lookup637: module_cdp_treasury::module::Error **/ ModuleCdpTreasuryModuleError: { _enum: ['CollateralNotEnough', 'SurplusPoolNotEnough', 'DebitPoolNotEnough', 'CannotSwap', 'NotDexShare'] }, /** - * Lookup629: module_cdp_engine::RiskManagementParams + * Lookup638: module_cdp_engine::RiskManagementParams **/ ModuleCdpEngineRiskManagementParams: { maximumTotalDebitValue: 'u128', @@ -6226,63 +6374,90 @@ export default { requiredCollateralRatio: 'Option' }, /** - * Lookup634: module_cdp_engine::module::Error + * Lookup643: 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'] }, /** - * Lookup635: module_emergency_shutdown::module::Error + * Lookup644: module_emergency_shutdown::module::Error **/ ModuleEmergencyShutdownModuleError: { _enum: ['AlreadyShutdown', 'MustAfterShutdown', 'CanNotRefund', 'ExistPotentialSurplus', 'ExistUnhandledDebit'] }, /** - * Lookup636: module_homa::module::StakingLedger + * Lookup645: module_homa::module::StakingLedger **/ ModuleHomaModuleStakingLedger: { bonded: 'Compact', unlocking: 'Vec' }, /** - * Lookup640: module_homa::module::Error + * Lookup649: module_homa::module::Error **/ ModuleHomaModuleError: { _enum: ['BelowMintThreshold', 'BelowRedeemThreshold', 'ExceededStakingCurrencySoftCap', 'InsufficientUnclaimedRedemption', 'OutdatedEraIndex', 'FastMatchIsNotAllowed', 'CannotCompletelyFastMatch', 'InvalidRate', 'InvalidLastEraBumpedBlock'] }, /** - * Lookup642: module_xcm_interface::module::Error + * Lookup651: module_xcm_interface::module::Error **/ ModuleXcmInterfaceModuleError: { _enum: ['XcmFailed'] }, /** - * Lookup644: module_incentives::module::Error + * Lookup653: module_homa_validator_list::Guarantee + **/ + ModuleHomaValidatorListGuarantee: { + total: 'u128', + bonded: 'u128', + unbonding: 'Option<(u128,u32)>' + }, + /** + * Lookup656: module_homa_validator_list::ValidatorBacking + **/ + ModuleHomaValidatorListValidatorBacking: { + totalInsurance: 'u128', + isFrozen: 'bool' + }, + /** + * Lookup657: module_homa_validator_list::module::Error + **/ + ModuleHomaValidatorListModuleError: { + _enum: ['BelowMinBondAmount', 'UnbondingExists', 'FrozenValidator'] + }, + /** + * Lookup660: module_nominees_election::module::Error + **/ + ModuleNomineesElectionModuleError: { + _enum: ['BelowMinBondThreshold', 'InvalidTargetsLength', 'MaxUnlockChunksExceeded', 'InvalidNominee', 'NominateesCountExceeded', 'NotBonded'] + }, + /** + * Lookup662: module_incentives::module::Error **/ ModuleIncentivesModuleError: { _enum: ['NotEnough', 'InvalidCurrencyId', 'InvalidPoolId', 'InvalidRate'] }, /** - * Lookup645: module_nft::module::Error + * Lookup663: module_nft::module::Error **/ ModuleNftModuleError: { _enum: ['ClassIdNotFound', 'TokenIdNotFound', 'NoPermission', 'InvalidQuantity', 'NonTransferable', 'NonBurnable', 'NonMintable', 'CannotDestroyClass', 'Immutable', 'AttributesTooLarge', 'IncorrectTokenId'] }, /** - * Lookup646: module_asset_registry::module::Error + * Lookup664: module_asset_registry::module::Error **/ ModuleAssetRegistryModuleError: { _enum: ['BadLocation', 'LocationExisted', 'AssetIdNotExists', 'AssetIdExisted'] }, /** - * Lookup647: module_evm::module::AccountInfo + * Lookup665: module_evm::module::AccountInfo **/ ModuleEvmModuleAccountInfo: { nonce: 'u32', contractInfo: 'Option' }, /** - * Lookup649: module_evm::module::ContractInfo + * Lookup667: module_evm::module::ContractInfo **/ ModuleEvmModuleContractInfo: { codeHash: 'H256', @@ -6290,32 +6465,32 @@ export default { published: 'bool' }, /** - * Lookup652: module_evm::module::CodeInfo + * Lookup670: module_evm::module::CodeInfo **/ ModuleEvmModuleCodeInfo: { codeSize: 'u32', refCount: 'u32' }, /** - * Lookup653: module_evm::module::Error + * Lookup671: module_evm::module::Error **/ ModuleEvmModuleError: { _enum: ['AddressNotMapped', 'ContractNotFound', 'NoPermission', 'ContractDevelopmentNotEnabled', 'ContractDevelopmentAlreadyEnabled', 'ContractAlreadyPublished', 'ContractExceedsMaxCodeSize', 'ContractAlreadyExisted', 'OutOfStorage', 'ChargeFeeFailed', 'CannotKillContract', 'ReserveStorageFailed', 'UnreserveStorageFailed', 'ChargeStorageFailed', 'InvalidDecimals', 'StrictCallFailed', 'NotEOA'] }, /** - * Lookup654: module_evm_bridge::module::Error + * Lookup672: module_evm_bridge::module::Error **/ ModuleEvmBridgeModuleError: { _enum: ['ExecutionFail', 'ExecutionRevert', 'ExecutionFatal', 'ExecutionError', 'InvalidReturnValue'] }, /** - * Lookup655: module_evm_accounts::module::Error + * Lookup673: module_evm_accounts::module::Error **/ ModuleEvmAccountsModuleError: { _enum: ['AccountIdHasMapped', 'EthAddressHasMapped', 'BadSignature', 'InvalidSignature', 'NonZeroRefCount'] }, /** - * Lookup656: nutsfinance_stable_asset::StableAssetPoolInfo + * Lookup674: nutsfinance_stable_asset::StableAssetPoolInfo **/ NutsfinanceStableAssetStableAssetPoolInfo: { poolAsset: 'AcalaPrimitivesCurrencyCurrencyId', @@ -6336,13 +6511,13 @@ export default { precision: 'u128' }, /** - * Lookup657: nutsfinance_stable_asset::pallet::Error + * Lookup675: nutsfinance_stable_asset::pallet::Error **/ NutsfinanceStableAssetError: { _enum: ['InconsistentStorage', 'InvalidPoolAsset', 'ArgumentsMismatch', 'ArgumentsError', 'PoolNotFound', 'Math', 'InvalidPoolValue', 'MintUnderMin', 'SwapUnderMin', 'RedeemUnderMin', 'RedeemOverMax'] }, /** - * Lookup659: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + * Lookup677: cumulus_pallet_parachain_system::unincluded_segment::Ancestor **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', @@ -6350,7 +6525,7 @@ export default { consumedGoAheadSignal: 'Option' }, /** - * Lookup660: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + * Lookup678: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: 'u32', @@ -6358,20 +6533,20 @@ export default { hrmpOutgoing: 'BTreeMap' }, /** - * Lookup662: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + * Lookup680: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: 'u32', totalBytes: 'u32' }, /** - * Lookup666: polkadot_primitives::v6::UpgradeGoAhead + * Lookup684: polkadot_primitives::v6::UpgradeGoAhead **/ PolkadotPrimitivesV6UpgradeGoAhead: { _enum: ['Abort', 'GoAhead'] }, /** - * Lookup667: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + * Lookup685: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: 'CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth', @@ -6379,13 +6554,13 @@ export default { consumedGoAheadSignal: 'Option' }, /** - * Lookup669: polkadot_primitives::v6::UpgradeRestriction + * Lookup687: polkadot_primitives::v6::UpgradeRestriction **/ PolkadotPrimitivesV6UpgradeRestriction: { _enum: ['Present'] }, /** - * Lookup670: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + * Lookup688: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: 'H256', @@ -6394,14 +6569,14 @@ export default { egressChannels: 'Vec<(u32,PolkadotPrimitivesV6AbridgedHrmpChannel)>' }, /** - * Lookup671: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + * Lookup689: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: 'u32', remainingSize: 'u32' }, /** - * Lookup674: polkadot_primitives::v6::AbridgedHrmpChannel + * Lookup692: polkadot_primitives::v6::AbridgedHrmpChannel **/ PolkadotPrimitivesV6AbridgedHrmpChannel: { maxCapacity: 'u32', @@ -6412,7 +6587,7 @@ export default { mqcHead: 'Option' }, /** - * Lookup675: polkadot_primitives::v6::AbridgedHostConfiguration + * Lookup693: polkadot_primitives::v6::AbridgedHostConfiguration **/ PolkadotPrimitivesV6AbridgedHostConfiguration: { maxCodeSize: 'u32', @@ -6427,75 +6602,75 @@ export default { asyncBackingParams: 'PolkadotPrimitivesV6AsyncBackingAsyncBackingParams' }, /** - * Lookup676: polkadot_primitives::v6::async_backing::AsyncBackingParams + * Lookup694: polkadot_primitives::v6::async_backing::AsyncBackingParams **/ PolkadotPrimitivesV6AsyncBackingAsyncBackingParams: { maxCandidateDepth: 'u32', allowedAncestryLen: 'u32' }, /** - * Lookup682: polkadot_core_primitives::OutboundHrmpMessage + * Lookup700: polkadot_core_primitives::OutboundHrmpMessage **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: 'u32', data: 'Bytes' }, /** - * Lookup683: cumulus_pallet_parachain_system::pallet::Error + * Lookup701: cumulus_pallet_parachain_system::pallet::Error **/ CumulusPalletParachainSystemError: { _enum: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled', 'NothingAuthorized', 'Unauthorized'] }, /** - * Lookup684: pallet_sudo::pallet::Error + * Lookup702: pallet_sudo::pallet::Error **/ PalletSudoError: { _enum: ['RequireSudo'] }, /** - * Lookup687: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + * Lookup705: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender **/ FrameSystemExtensionsCheckNonZeroSender: 'Null', /** - * Lookup688: frame_system::extensions::check_spec_version::CheckSpecVersion + * Lookup706: frame_system::extensions::check_spec_version::CheckSpecVersion **/ FrameSystemExtensionsCheckSpecVersion: 'Null', /** - * Lookup689: frame_system::extensions::check_tx_version::CheckTxVersion + * Lookup707: frame_system::extensions::check_tx_version::CheckTxVersion **/ FrameSystemExtensionsCheckTxVersion: 'Null', /** - * Lookup690: frame_system::extensions::check_genesis::CheckGenesis + * Lookup708: frame_system::extensions::check_genesis::CheckGenesis **/ FrameSystemExtensionsCheckGenesis: 'Null', /** - * Lookup693: runtime_common::check_nonce::CheckNonce + * Lookup711: runtime_common::check_nonce::CheckNonce **/ RuntimeCommonCheckNonce: { nonce: 'Compact' }, /** - * Lookup694: frame_system::extensions::check_weight::CheckWeight + * Lookup712: frame_system::extensions::check_weight::CheckWeight **/ FrameSystemExtensionsCheckWeight: 'Null', /** - * Lookup695: module_evm::SetEvmOrigin + * Lookup713: module_evm::SetEvmOrigin **/ ModuleEvmSetEvmOrigin: 'Null', /** - * Lookup696: module_transaction_payment::ChargeTransactionPayment + * Lookup714: module_transaction_payment::ChargeTransactionPayment **/ ModuleTransactionPaymentChargeTransactionPayment: 'Compact', /** - * Lookup697: acala_runtime::StorageDepositPerByte + * Lookup715: acala_runtime::StorageDepositPerByte **/ AcalaRuntimeStorageDepositPerByte: 'Null', /** - * Lookup698: acala_runtime::TxFeePerGas + * Lookup716: acala_runtime::TxFeePerGas **/ AcalaRuntimeTxFeePerGas: 'Null', /** - * Lookup700: acala_primitives::signature::AcalaMultiSignature + * Lookup718: acala_primitives::signature::AcalaMultiSignature **/ AcalaPrimitivesSignatureAcalaMultiSignature: { _enum: { @@ -6509,15 +6684,15 @@ export default { } }, /** - * Lookup701: sp_core::ed25519::Signature + * Lookup719: sp_core::ed25519::Signature **/ SpCoreEd25519Signature: '[u8;64]', /** - * Lookup703: sp_core::sr25519::Signature + * Lookup721: sp_core::sr25519::Signature **/ SpCoreSr25519Signature: '[u8;64]', /** - * Lookup704: sp_core::ecdsa::Signature + * 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 14513da..73e5398 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, ModuleHonzonModuleCall, ModuleHonzonModuleError, ModuleHonzonModuleEvent, ModuleIdleSchedulerModuleCall, ModuleIdleSchedulerModuleEvent, ModuleIncentivesModuleCall, ModuleIncentivesModuleError, ModuleIncentivesModuleEvent, ModuleLiquidCrowdloanModuleCall, ModuleLiquidCrowdloanModuleEvent, ModuleLoansModuleCall, ModuleLoansModuleError, ModuleLoansModuleEvent, ModuleNftClassData, ModuleNftModuleCall, ModuleNftModuleError, ModuleNftModuleEvent, ModuleNftTokenData, 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, 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'; declare module '@polkadot/types/types/registry' { interface InterfaceTypes { @@ -143,6 +143,12 @@ declare module '@polkadot/types/types/registry' { ModuleHomaModuleEvent: ModuleHomaModuleEvent; ModuleHomaModuleStakingLedger: ModuleHomaModuleStakingLedger; ModuleHomaModuleUnlockChunk: ModuleHomaModuleUnlockChunk; + ModuleHomaValidatorListGuarantee: ModuleHomaValidatorListGuarantee; + ModuleHomaValidatorListModuleCall: ModuleHomaValidatorListModuleCall; + ModuleHomaValidatorListModuleError: ModuleHomaValidatorListModuleError; + ModuleHomaValidatorListModuleEvent: ModuleHomaValidatorListModuleEvent; + ModuleHomaValidatorListSlashInfo: ModuleHomaValidatorListSlashInfo; + ModuleHomaValidatorListValidatorBacking: ModuleHomaValidatorListValidatorBacking; ModuleHonzonModuleCall: ModuleHonzonModuleCall; ModuleHonzonModuleError: ModuleHonzonModuleError; ModuleHonzonModuleEvent: ModuleHonzonModuleEvent; @@ -161,6 +167,9 @@ declare module '@polkadot/types/types/registry' { ModuleNftModuleError: ModuleNftModuleError; ModuleNftModuleEvent: ModuleNftModuleEvent; ModuleNftTokenData: ModuleNftTokenData; + ModuleNomineesElectionModuleCall: ModuleNomineesElectionModuleCall; + ModuleNomineesElectionModuleError: ModuleNomineesElectionModuleError; + ModuleNomineesElectionModuleEvent: ModuleNomineesElectionModuleEvent; ModulePricesModuleCall: ModulePricesModuleCall; ModulePricesModuleError: ModulePricesModuleError; ModulePricesModuleEvent: ModulePricesModuleEvent; diff --git a/packages/types/src/interfaces/runtime/definitions.ts b/packages/types/src/interfaces/runtime/definitions.ts index a4e077e..a12071e 100644 --- a/packages/types/src/interfaces/runtime/definitions.ts +++ b/packages/types/src/interfaces/runtime/definitions.ts @@ -13,6 +13,56 @@ const acalaRuntimeDefs: Definitions = { AtLeast64BitUnsigned: 'u128', StableAssetPoolId: 'u32', RelayChainBlockNumberOf: 'RelayChainBlockNumber', + Step: { + op: 'u8', + pc: 'Compact', + depth: 'Compact', + gas: 'Compact', + stack: 'Vec', + memory: 'Option>', + }, + CallType: { + _enum: { + CALL: null, + CALLCODE: null, + STATICCALL: null, + DELEGATECALL: null, + CREATE: null, + SUICIDE: null, + }, + }, + CallTrace: { + type: 'CallType', + from: 'H160', + to: 'H160', + input: 'Bytes', + value: 'U256', + gas: 'Compact', + gasUsed: 'Compact', + output: 'Option', + error: 'Option', + revertReason: 'Option', + depth: 'Compact', + calls: 'Vec', + }, + TraceOutcome: { + _enum: { + Calls: 'Vec', + Steps: 'Vec', + }, + }, + OpcodeConfig: { + page: 'u32', + pageSize: 'u32', + disableStack: 'bool', + enableMemory: 'bool', + }, + TracerConfig: { + _enum: { + CallTracer: null, + OpcodeTracer: 'OpcodeConfig', + }, + }, }, runtime: { EVMRuntimeRPCApi: [ @@ -171,6 +221,27 @@ const acalaRuntimeDefs: Definitions = { }, }, ], + EVMTraceApi: [ + { + version: 1, + methods: { + trace_extrinsic: { + description: 'trace an evm extrinsic', + params: [ + { + name: 'extrinsic', + type: 'Block::Extrinsic', + }, + { + name: 'tracer_config', + type: 'primitives::evm::tracing::TracerConfig', + }, + ], + type: 'Result', + }, + }, + }, + ], }, }; diff --git a/packages/types/src/interfaces/runtime/types.ts b/packages/types/src/interfaces/runtime/types.ts index 30b414a..5304d0b 100644 --- a/packages/types/src/interfaces/runtime/types.ts +++ b/packages/types/src/interfaces/runtime/types.ts @@ -4,7 +4,7 @@ import type { AuthoritysOriginId, CurrencyId } from '@acala-network/types/interfaces/primitives'; import type { Price } from '@acala-network/types/interfaces/support'; import type { GenericAccountId32, GenericAccountId33, GenericAccountIndex, GenericBlock, GenericCall, GenericConsensusEngineId, GenericEthereumAccountId, GenericLookupSource, GenericMultiAddress, StorageKey } from '@polkadot/types'; -import type { Bytes, Compact, DoNotConstruct, Enum, Int, Null, Option, Struct, U8aFixed, UInt, Vec, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; +import type { Bytes, Compact, DoNotConstruct, Enum, Int, Null, Option, Struct, Text, U256, U8aFixed, UInt, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec'; import type { ITuple } from '@polkadot/types-codec/types'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { Signature } from '@polkadot/types/interfaces/extrinsics'; @@ -68,6 +68,33 @@ export interface CallHash extends Hash {} /** @name CallHashOf */ export interface CallHashOf extends CallHash {} +/** @name CallTrace */ +export interface CallTrace extends Struct { + readonly type: CallType; + readonly from: H160; + readonly to: H160; + readonly input: Bytes; + readonly value: U256; + readonly gas: Compact; + readonly gasUsed: Compact; + readonly output: Option; + readonly error: Option; + readonly revertReason: Option; + readonly depth: Compact; + readonly calls: Vec; +} + +/** @name CallType */ +export interface CallType extends Enum { + readonly isCall: boolean; + readonly isCallcode: boolean; + readonly isStaticcall: boolean; + readonly isDelegatecall: boolean; + readonly isCreate: boolean; + readonly isSuicide: boolean; + readonly type: 'Call' | 'Callcode' | 'Staticcall' | 'Delegatecall' | 'Create' | 'Suicide'; +} + /** @name ChangesTrieConfiguration */ export interface ChangesTrieConfiguration extends Struct { readonly digestInterval: u32; @@ -127,6 +154,13 @@ export interface DigestItem extends Enum { /** @name EncodedJustification */ export interface EncodedJustification extends Bytes {} +/** @name ExtrinsicInclusionMode */ +export interface ExtrinsicInclusionMode extends Enum { + readonly isAllExtrinsics: boolean; + readonly isOnlyInherents: boolean; + readonly type: 'AllExtrinsics' | 'OnlyInherents'; +} + /** @name ExtrinsicsWeight */ export interface ExtrinsicsWeight extends Struct { readonly normal: Weight; @@ -246,6 +280,14 @@ export interface MultiSigner extends Enum { /** @name OpaqueCall */ export interface OpaqueCall extends Bytes {} +/** @name OpcodeConfig */ +export interface OpcodeConfig extends Struct { + readonly page: u32; + readonly pageSize: u32; + readonly disableStack: bool; + readonly enableMemory: bool; +} + /** @name OracleKey */ export interface OracleKey extends CurrencyId {} @@ -377,6 +419,16 @@ export interface SlotDuration extends u64 {} /** @name StableAssetPoolId */ export interface StableAssetPoolId extends u32 {} +/** @name Step */ +export interface Step extends Struct { + readonly op: u8; + readonly pc: Compact; + readonly depth: Compact; + readonly gas: Compact; + readonly stack: Vec; + readonly memory: Option>; +} + /** @name StorageData */ export interface StorageData extends Bytes {} @@ -394,6 +446,23 @@ export interface StorageProof extends Struct { readonly trieNodes: Vec; } +/** @name TraceOutcome */ +export interface TraceOutcome extends Enum { + readonly isCalls: boolean; + readonly asCalls: Vec; + readonly isSteps: boolean; + readonly asSteps: Vec; + readonly type: 'Calls' | 'Steps'; +} + +/** @name TracerConfig */ +export interface TracerConfig extends Enum { + readonly isCallTracer: boolean; + readonly isOpcodeTracer: boolean; + readonly asOpcodeTracer: OpcodeConfig; + readonly type: 'CallTracer' | 'OpcodeTracer'; +} + /** @name TransactionInfo */ export interface TransactionInfo extends Struct { readonly chunkRoot: H256; diff --git a/packages/types/src/interfaces/types-lookup.ts b/packages/types/src/interfaces/types-lookup.ts index 7a817d9..dd8db46 100644 --- a/packages/types/src/interfaces/types-lookup.ts +++ b/packages/types/src/interfaces/types-lookup.ts @@ -1237,21 +1237,21 @@ declare module '@polkadot/types/lookup' { interface StagingXcmV4Junctions extends Enum { readonly isHere: boolean; readonly isX1: boolean; - readonly asX1: Vec; + readonly asX1: StagingXcmV4Junction; readonly isX2: boolean; - readonly asX2: Vec; + readonly asX2: StagingXcmV4Junction; readonly isX3: boolean; - readonly asX3: Vec; + readonly asX3: StagingXcmV4Junction; readonly isX4: boolean; - readonly asX4: Vec; + readonly asX4: StagingXcmV4Junction; readonly isX5: boolean; - readonly asX5: Vec; + readonly asX5: StagingXcmV4Junction; readonly isX6: boolean; - readonly asX6: Vec; + readonly asX6: StagingXcmV4Junction; readonly isX7: boolean; - readonly asX7: Vec; + readonly asX7: StagingXcmV4Junction; readonly isX8: boolean; - readonly asX8: Vec; + readonly asX8: StagingXcmV4Junction; readonly type: 'Here' | 'X1' | 'X2' | 'X3' | 'X4' | 'X5' | 'X6' | 'X7' | 'X8'; } @@ -2808,7 +2808,31 @@ declare module '@polkadot/types/lookup' { readonly asBumpEraFrequencyUpdated: { readonly frequency: u32; } & Struct; - readonly type: 'Minted' | 'RequestedRedeem' | 'RedeemRequestCancelled' | 'RedeemedByFastMatch' | 'RedeemedByUnbond' | 'WithdrawRedemption' | 'CurrentEraBumped' | 'CurrentEraReset' | 'LedgerBondedReset' | 'LedgerUnlockingReset' | 'SoftBondedCapPerSubAccountUpdated' | 'EstimatedRewardRatePerEraUpdated' | 'CommissionRateUpdated' | 'FastMatchFeeRateUpdated' | 'LastEraBumpedBlockUpdated' | 'BumpEraFrequencyUpdated'; + readonly isNominateIntervalEraUpdated: boolean; + readonly asNominateIntervalEraUpdated: { + readonly eras: u32; + } & Struct; + readonly isHomaWithdrawUnbonded: boolean; + readonly asHomaWithdrawUnbonded: { + readonly subAccountIndex: u16; + readonly amount: u128; + } & Struct; + readonly isHomaUnbond: boolean; + readonly asHomaUnbond: { + readonly subAccountIndex: u16; + readonly amount: u128; + } & Struct; + readonly isHomaBondExtra: boolean; + readonly asHomaBondExtra: { + readonly subAccountIndex: u16; + readonly amount: u128; + } & Struct; + readonly isHomaNominate: boolean; + readonly asHomaNominate: { + readonly subAccountIndex: u16; + readonly nominations: Vec; + } & Struct; + readonly type: 'Minted' | 'RequestedRedeem' | 'RedeemRequestCancelled' | 'RedeemedByFastMatch' | 'RedeemedByUnbond' | 'WithdrawRedemption' | 'CurrentEraBumped' | 'CurrentEraReset' | 'LedgerBondedReset' | 'LedgerUnlockingReset' | 'SoftBondedCapPerSubAccountUpdated' | 'EstimatedRewardRatePerEraUpdated' | 'CommissionRateUpdated' | 'FastMatchFeeRateUpdated' | 'LastEraBumpedBlockUpdated' | 'BumpEraFrequencyUpdated' | 'NominateIntervalEraUpdated' | 'HomaWithdrawUnbonded' | 'HomaUnbond' | 'HomaBondExtra' | 'HomaNominate'; } /** @name ModuleHomaModuleUnlockChunk (205) */ @@ -2841,10 +2865,83 @@ declare module '@polkadot/types/lookup' { readonly isParachainFee: boolean; readonly asParachainFee: StagingXcmV4Location; readonly isProxyReserveTransferAssets: boolean; - readonly type: 'XtokensTransfer' | 'HomaWithdrawUnbonded' | 'HomaBondExtra' | 'HomaUnbond' | 'ParachainFee' | 'ProxyReserveTransferAssets'; + readonly isHomaNominate: boolean; + readonly type: 'XtokensTransfer' | 'HomaWithdrawUnbonded' | 'HomaBondExtra' | 'HomaUnbond' | 'ParachainFee' | 'ProxyReserveTransferAssets' | 'HomaNominate'; } - /** @name ModuleIncentivesModuleEvent (208) */ + /** @name ModuleHomaValidatorListModuleEvent (208) */ + interface ModuleHomaValidatorListModuleEvent extends Enum { + readonly isFreezeValidator: boolean; + readonly asFreezeValidator: { + readonly validator: AccountId32; + } & Struct; + readonly isThawValidator: boolean; + readonly asThawValidator: { + readonly validator: AccountId32; + } & Struct; + readonly isBondGuarantee: boolean; + readonly asBondGuarantee: { + readonly who: AccountId32; + readonly validator: AccountId32; + readonly bond: u128; + } & Struct; + readonly isUnbondGuarantee: boolean; + readonly asUnbondGuarantee: { + readonly who: AccountId32; + readonly validator: AccountId32; + readonly bond: u128; + } & Struct; + readonly isWithdrawnGuarantee: boolean; + readonly asWithdrawnGuarantee: { + readonly who: AccountId32; + readonly validator: AccountId32; + readonly bond: u128; + } & Struct; + readonly isSlashGuarantee: boolean; + readonly asSlashGuarantee: { + readonly who: AccountId32; + readonly validator: AccountId32; + readonly bond: u128; + } & Struct; + readonly type: 'FreezeValidator' | 'ThawValidator' | 'BondGuarantee' | 'UnbondGuarantee' | 'WithdrawnGuarantee' | 'SlashGuarantee'; + } + + /** @name ModuleNomineesElectionModuleEvent (209) */ + interface ModuleNomineesElectionModuleEvent extends Enum { + readonly isBond: boolean; + readonly asBond: { + readonly who: AccountId32; + readonly amount: u128; + } & Struct; + readonly isUnbond: boolean; + readonly asUnbond: { + readonly who: AccountId32; + readonly amount: u128; + } & Struct; + readonly isRebond: boolean; + readonly asRebond: { + readonly who: AccountId32; + readonly amount: u128; + } & Struct; + readonly isWithdrawUnbonded: boolean; + readonly asWithdrawUnbonded: { + readonly who: AccountId32; + readonly amount: u128; + } & Struct; + readonly isNominate: boolean; + readonly asNominate: { + readonly who: AccountId32; + readonly targets: Vec; + } & Struct; + readonly isResetReservedNominees: boolean; + readonly asResetReservedNominees: { + readonly groupIndex: u16; + readonly reservedNominees: Vec; + } & Struct; + readonly type: 'Bond' | 'Unbond' | 'Rebond' | 'WithdrawUnbonded' | 'Nominate' | 'ResetReservedNominees'; + } + + /** @name ModuleIncentivesModuleEvent (210) */ interface ModuleIncentivesModuleEvent extends Enum { readonly isDepositDexShare: boolean; readonly asDepositDexShare: { @@ -2885,7 +2982,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DepositDexShare' | 'WithdrawDexShare' | 'ClaimRewards' | 'IncentiveRewardAmountUpdated' | 'ClaimRewardDeductionRateUpdated' | 'ClaimRewardDeductionCurrencyUpdated'; } - /** @name ModuleSupportIncentivesPoolId (209) */ + /** @name ModuleSupportIncentivesPoolId (211) */ interface ModuleSupportIncentivesPoolId extends Enum { readonly isLoans: boolean; readonly asLoans: AcalaPrimitivesCurrencyCurrencyId; @@ -2893,10 +2990,11 @@ declare module '@polkadot/types/lookup' { readonly asDex: AcalaPrimitivesCurrencyCurrencyId; readonly isEarning: boolean; readonly asEarning: AcalaPrimitivesCurrencyCurrencyId; - readonly type: 'Loans' | 'Dex' | 'Earning'; + readonly isNomineesElection: boolean; + readonly type: 'Loans' | 'Dex' | 'Earning' | 'NomineesElection'; } - /** @name ModuleNftModuleEvent (211) */ + /** @name ModuleNftModuleEvent (213) */ interface ModuleNftModuleEvent extends Enum { readonly isCreatedClass: boolean; readonly asCreatedClass: { @@ -2938,7 +3036,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreatedClass' | 'MintedToken' | 'TransferredToken' | 'BurnedToken' | 'BurnedTokenWithRemark' | 'DestroyedClass'; } - /** @name ModuleAssetRegistryModuleEvent (212) */ + /** @name ModuleAssetRegistryModuleEvent (214) */ interface ModuleAssetRegistryModuleEvent extends Enum { readonly isForeignAssetRegistered: boolean; readonly asForeignAssetRegistered: { @@ -2965,7 +3063,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ForeignAssetRegistered' | 'ForeignAssetUpdated' | 'AssetRegistered' | 'AssetUpdated'; } - /** @name AcalaPrimitivesCurrencyAssetMetadata (213) */ + /** @name AcalaPrimitivesCurrencyAssetMetadata (215) */ interface AcalaPrimitivesCurrencyAssetMetadata extends Struct { readonly name: Bytes; readonly symbol: Bytes; @@ -2973,7 +3071,7 @@ declare module '@polkadot/types/lookup' { readonly minimalBalance: u128; } - /** @name AcalaPrimitivesCurrencyAssetIds (214) */ + /** @name AcalaPrimitivesCurrencyAssetIds (216) */ interface AcalaPrimitivesCurrencyAssetIds extends Enum { readonly isErc20: boolean; readonly asErc20: H160; @@ -2986,7 +3084,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Erc20' | 'StableAssetId' | 'ForeignAssetId' | 'NativeAssetId'; } - /** @name ModuleLiquidCrowdloanModuleEvent (215) */ + /** @name ModuleLiquidCrowdloanModuleEvent (217) */ interface ModuleLiquidCrowdloanModuleEvent extends Enum { readonly isRedeemed: boolean; readonly asRedeemed: { @@ -3004,7 +3102,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Redeemed' | 'TransferFromCrowdloanVaultRequested' | 'RedeemCurrencyIdUpdated'; } - /** @name ModuleEvmModuleEvent (216) */ + /** @name ModuleEvmModuleEvent (218) */ interface ModuleEvmModuleEvent extends Enum { readonly isCreated: boolean; readonly asCreated: { @@ -3069,14 +3167,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'Created' | 'CreatedFailed' | 'Executed' | 'ExecutedFailed' | 'TransferredMaintainer' | 'ContractDevelopmentEnabled' | 'ContractDevelopmentDisabled' | 'ContractPublished' | 'ContractSetCode' | 'ContractSelfdestructed'; } - /** @name EthereumLog (218) */ + /** @name EthereumLog (220) */ interface EthereumLog extends Struct { readonly address: H160; readonly topics: Vec; readonly data: Bytes; } - /** @name EvmCoreErrorExitReason (221) */ + /** @name EvmCoreErrorExitReason (223) */ interface EvmCoreErrorExitReason extends Enum { readonly isSucceed: boolean; readonly asSucceed: EvmCoreErrorExitSucceed; @@ -3089,7 +3187,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Succeed' | 'Error' | 'Revert' | 'Fatal'; } - /** @name EvmCoreErrorExitSucceed (222) */ + /** @name EvmCoreErrorExitSucceed (224) */ interface EvmCoreErrorExitSucceed extends Enum { readonly isStopped: boolean; readonly isReturned: boolean; @@ -3097,7 +3195,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Stopped' | 'Returned' | 'Suicided'; } - /** @name EvmCoreErrorExitError (223) */ + /** @name EvmCoreErrorExitError (225) */ interface EvmCoreErrorExitError extends Enum { readonly isStackUnderflow: boolean; readonly isStackOverflow: boolean; @@ -3120,13 +3218,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'StackUnderflow' | 'StackOverflow' | 'InvalidJump' | 'InvalidRange' | 'DesignatedInvalid' | 'CallTooDeep' | 'CreateCollision' | 'CreateContractLimit' | 'OutOfOffset' | 'OutOfGas' | 'OutOfFund' | 'PcUnderflow' | 'CreateEmpty' | 'Other' | 'MaxNonce' | 'InvalidCode'; } - /** @name EvmCoreErrorExitRevert (227) */ + /** @name EvmCoreErrorExitRevert (229) */ interface EvmCoreErrorExitRevert extends Enum { readonly isReverted: boolean; readonly type: 'Reverted'; } - /** @name EvmCoreErrorExitFatal (228) */ + /** @name EvmCoreErrorExitFatal (230) */ interface EvmCoreErrorExitFatal extends Enum { readonly isNotSupported: boolean; readonly isUnhandledInterrupt: boolean; @@ -3137,7 +3235,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotSupported' | 'UnhandledInterrupt' | 'CallErrorAsFatal' | 'Other'; } - /** @name ModuleEvmAccountsModuleEvent (229) */ + /** @name ModuleEvmAccountsModuleEvent (231) */ interface ModuleEvmAccountsModuleEvent extends Enum { readonly isClaimAccount: boolean; readonly asClaimAccount: { @@ -3147,7 +3245,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ClaimAccount'; } - /** @name NutsfinanceStableAssetEvent (230) */ + /** @name NutsfinanceStableAssetEvent (232) */ interface NutsfinanceStableAssetEvent extends Enum { readonly isCreatePool: boolean; readonly asCreatePool: { @@ -3266,7 +3364,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreatePool' | 'Minted' | 'TokenSwapped' | 'RedeemedProportion' | 'RedeemedSingle' | 'RedeemedMulti' | 'BalanceUpdated' | 'YieldCollected' | 'FeeCollected' | 'AModified' | 'FeeModified' | 'RecipientModified'; } - /** @name CumulusPalletParachainSystemEvent (231) */ + /** @name CumulusPalletParachainSystemEvent (233) */ interface CumulusPalletParachainSystemEvent extends Enum { readonly isValidationFunctionStored: boolean; readonly isValidationFunctionApplied: boolean; @@ -3290,7 +3388,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ValidationFunctionStored' | 'ValidationFunctionApplied' | 'ValidationFunctionDiscarded' | 'DownwardMessagesReceived' | 'DownwardMessagesProcessed' | 'UpwardMessageSent'; } - /** @name PalletSudoEvent (232) */ + /** @name PalletSudoEvent (234) */ interface PalletSudoEvent extends Enum { readonly isSudid: boolean; readonly asSudid: { @@ -3309,7 +3407,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sudid' | 'KeyChanged' | 'KeyRemoved' | 'SudoAsDone'; } - /** @name FrameSystemPhase (233) */ + /** @name FrameSystemPhase (235) */ interface FrameSystemPhase extends Enum { readonly isApplyExtrinsic: boolean; readonly asApplyExtrinsic: u32; @@ -3318,19 +3416,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization'; } - /** @name FrameSystemLastRuntimeUpgradeInfo (235) */ + /** @name FrameSystemLastRuntimeUpgradeInfo (237) */ interface FrameSystemLastRuntimeUpgradeInfo extends Struct { readonly specVersion: Compact; readonly specName: Text; } - /** @name FrameSystemCodeUpgradeAuthorization (236) */ + /** @name FrameSystemCodeUpgradeAuthorization (238) */ interface FrameSystemCodeUpgradeAuthorization extends Struct { readonly codeHash: H256; readonly checkVersion: bool; } - /** @name FrameSystemCall (237) */ + /** @name FrameSystemCall (239) */ interface FrameSystemCall extends Enum { readonly isRemark: boolean; readonly asRemark: { @@ -3380,21 +3478,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'Remark' | 'SetHeapPages' | 'SetCode' | 'SetCodeWithoutChecks' | 'SetStorage' | 'KillStorage' | 'KillPrefix' | 'RemarkWithEvent' | 'AuthorizeUpgrade' | 'AuthorizeUpgradeWithoutChecks' | 'ApplyAuthorizedUpgrade'; } - /** @name FrameSystemLimitsBlockWeights (241) */ + /** @name FrameSystemLimitsBlockWeights (243) */ interface FrameSystemLimitsBlockWeights extends Struct { readonly baseBlock: SpWeightsWeightV2Weight; readonly maxBlock: SpWeightsWeightV2Weight; readonly perClass: FrameSupportDispatchPerDispatchClassWeightsPerClass; } - /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (242) */ + /** @name FrameSupportDispatchPerDispatchClassWeightsPerClass (244) */ interface FrameSupportDispatchPerDispatchClassWeightsPerClass extends Struct { readonly normal: FrameSystemLimitsWeightsPerClass; readonly operational: FrameSystemLimitsWeightsPerClass; readonly mandatory: FrameSystemLimitsWeightsPerClass; } - /** @name FrameSystemLimitsWeightsPerClass (243) */ + /** @name FrameSystemLimitsWeightsPerClass (245) */ interface FrameSystemLimitsWeightsPerClass extends Struct { readonly baseExtrinsic: SpWeightsWeightV2Weight; readonly maxExtrinsic: Option; @@ -3402,25 +3500,25 @@ declare module '@polkadot/types/lookup' { readonly reserved: Option; } - /** @name FrameSystemLimitsBlockLength (245) */ + /** @name FrameSystemLimitsBlockLength (247) */ interface FrameSystemLimitsBlockLength extends Struct { readonly max: FrameSupportDispatchPerDispatchClassU32; } - /** @name FrameSupportDispatchPerDispatchClassU32 (246) */ + /** @name FrameSupportDispatchPerDispatchClassU32 (248) */ interface FrameSupportDispatchPerDispatchClassU32 extends Struct { readonly normal: u32; readonly operational: u32; readonly mandatory: u32; } - /** @name SpWeightsRuntimeDbWeight (247) */ + /** @name SpWeightsRuntimeDbWeight (249) */ interface SpWeightsRuntimeDbWeight extends Struct { readonly read: u64; readonly write: u64; } - /** @name SpVersionRuntimeVersion (248) */ + /** @name SpVersionRuntimeVersion (250) */ interface SpVersionRuntimeVersion extends Struct { readonly specName: Text; readonly implName: Text; @@ -3432,7 +3530,7 @@ declare module '@polkadot/types/lookup' { readonly stateVersion: u8; } - /** @name FrameSystemError (252) */ + /** @name FrameSystemError (254) */ interface FrameSystemError extends Enum { readonly isInvalidSpecName: boolean; readonly isSpecVersionNeedsToIncrease: boolean; @@ -3446,7 +3544,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSpecName' | 'SpecVersionNeedsToIncrease' | 'FailedToExtractRuntimeVersion' | 'NonDefaultComposite' | 'NonZeroRefCount' | 'CallFiltered' | 'MultiBlockMigrationsOngoing' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name PalletTimestampCall (253) */ + /** @name PalletTimestampCall (255) */ interface PalletTimestampCall extends Enum { readonly isSet: boolean; readonly asSet: { @@ -3455,7 +3553,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Set'; } - /** @name PalletSchedulerScheduled (256) */ + /** @name PalletSchedulerScheduled (258) */ interface PalletSchedulerScheduled extends Struct { readonly maybeId: Option; readonly priority: u8; @@ -3464,7 +3562,7 @@ declare module '@polkadot/types/lookup' { readonly origin: AcalaRuntimeOriginCaller; } - /** @name FrameSupportPreimagesBounded (257) */ + /** @name FrameSupportPreimagesBounded (259) */ interface FrameSupportPreimagesBounded extends Enum { readonly isLegacy: boolean; readonly asLegacy: { @@ -3480,7 +3578,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Legacy' | 'Inline' | 'Lookup'; } - /** @name PalletSchedulerCall (259) */ + /** @name PalletSchedulerCall (261) */ interface PalletSchedulerCall extends Enum { readonly isSchedule: boolean; readonly asSchedule: { @@ -3544,7 +3642,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Schedule' | 'Cancel' | 'ScheduleNamed' | 'CancelNamed' | 'ScheduleAfter' | 'ScheduleNamedAfter' | 'SetRetry' | 'SetRetryNamed' | 'CancelRetry' | 'CancelRetryNamed'; } - /** @name PalletUtilityCall (261) */ + /** @name PalletUtilityCall (263) */ interface PalletUtilityCall extends Enum { readonly isBatch: boolean; readonly asBatch: { @@ -3576,7 +3674,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Batch' | 'AsDerivative' | 'BatchAll' | 'DispatchAs' | 'ForceBatch' | 'WithWeight'; } - /** @name PalletMultisigCall (263) */ + /** @name PalletMultisigCall (265) */ interface PalletMultisigCall extends Enum { readonly isAsMultiThreshold1: boolean; readonly asAsMultiThreshold1: { @@ -3609,7 +3707,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AsMultiThreshold1' | 'AsMulti' | 'ApproveAsMulti' | 'CancelAsMulti'; } - /** @name PalletProxyCall (265) */ + /** @name PalletProxyCall (267) */ interface PalletProxyCall extends Enum { readonly isProxy: boolean; readonly asProxy: { @@ -3669,7 +3767,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Proxy' | 'AddProxy' | 'RemoveProxy' | 'RemoveProxies' | 'CreatePure' | 'KillPure' | 'Announce' | 'RemoveAnnouncement' | 'RejectAnnouncement' | 'ProxyAnnounced'; } - /** @name ModuleTransactionPauseModuleCall (268) */ + /** @name ModuleTransactionPauseModuleCall (270) */ interface ModuleTransactionPauseModuleCall extends Enum { readonly isPauseTransaction: boolean; readonly asPauseTransaction: { @@ -3692,7 +3790,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PauseTransaction' | 'UnpauseTransaction' | 'PauseEvmPrecompile' | 'UnpauseEvmPrecompile'; } - /** @name ModuleIdleSchedulerModuleCall (269) */ + /** @name ModuleIdleSchedulerModuleCall (271) */ interface ModuleIdleSchedulerModuleCall extends Enum { readonly isScheduleTask: boolean; readonly asScheduleTask: { @@ -3701,7 +3799,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ScheduleTask'; } - /** @name PalletPreimageCall (270) */ + /** @name PalletPreimageCall (272) */ interface PalletPreimageCall extends Enum { readonly isNotePreimage: boolean; readonly asNotePreimage: { @@ -3726,7 +3824,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotePreimage' | 'UnnotePreimage' | 'RequestPreimage' | 'UnrequestPreimage' | 'EnsureUpdated'; } - /** @name PalletBalancesCall (271) */ + /** @name PalletBalancesCall (273) */ interface PalletBalancesCall extends Enum { readonly isTransferAllowDeath: boolean; readonly asTransferAllowDeath: { @@ -3771,14 +3869,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'TransferAllowDeath' | 'ForceTransfer' | 'TransferKeepAlive' | 'TransferAll' | 'ForceUnreserve' | 'UpgradeAccounts' | 'ForceSetBalance' | 'ForceAdjustTotalIssuance'; } - /** @name PalletBalancesAdjustmentDirection (272) */ + /** @name PalletBalancesAdjustmentDirection (274) */ interface PalletBalancesAdjustmentDirection extends Enum { readonly isIncrease: boolean; readonly isDecrease: boolean; readonly type: 'Increase' | 'Decrease'; } - /** @name ModuleCurrenciesModuleCall (273) */ + /** @name ModuleCurrenciesModuleCall (275) */ interface ModuleCurrenciesModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -3818,7 +3916,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Transfer' | 'TransferNativeCurrency' | 'UpdateBalance' | 'SweepDust' | 'ForceSetLock' | 'ForceRemoveLock'; } - /** @name OrmlVestingModuleCall (274) */ + /** @name OrmlVestingModuleCall (276) */ interface OrmlVestingModuleCall extends Enum { readonly isClaim: boolean; readonly isVestedTransfer: boolean; @@ -3838,7 +3936,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Claim' | 'VestedTransfer' | 'UpdateVestingSchedules' | 'ClaimFor'; } - /** @name ModuleTransactionPaymentModuleCall (276) */ + /** @name ModuleTransactionPaymentModuleCall (278) */ interface ModuleTransactionPaymentModuleCall extends Enum { readonly isSetAlternativeFeeSwapPath: boolean; readonly asSetAlternativeFeeSwapPath: { @@ -3872,7 +3970,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetAlternativeFeeSwapPath' | 'EnableChargeFeePool' | 'DisableChargeFeePool' | 'WithFeePath' | 'WithFeeCurrency' | 'WithFeeAggregatedPath'; } - /** @name ModuleSupportDexAggregatedSwapPath (279) */ + /** @name ModuleSupportDexAggregatedSwapPath (281) */ interface ModuleSupportDexAggregatedSwapPath extends Enum { readonly isDex: boolean; readonly asDex: Vec; @@ -3881,7 +3979,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Dex' | 'Taiga'; } - /** @name PalletTreasuryCall (280) */ + /** @name PalletTreasuryCall (282) */ interface PalletTreasuryCall extends Enum { readonly isProposeSpend: boolean; readonly asProposeSpend: { @@ -3927,7 +4025,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ProposeSpend' | 'RejectProposal' | 'ApproveProposal' | 'SpendLocal' | 'RemoveApproval' | 'Spend' | 'Payout' | 'CheckStatus' | 'VoidSpend'; } - /** @name PalletBountiesCall (282) */ + /** @name PalletBountiesCall (284) */ interface PalletBountiesCall extends Enum { readonly isProposeBounty: boolean; readonly asProposeBounty: { @@ -3973,7 +4071,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ProposeBounty' | 'ApproveBounty' | 'ProposeCurator' | 'UnassignCurator' | 'AcceptCurator' | 'AwardBounty' | 'ClaimBounty' | 'CloseBounty' | 'ExtendBountyExpiry'; } - /** @name PalletTipsCall (283) */ + /** @name PalletTipsCall (285) */ interface PalletTipsCall extends Enum { readonly isReportAwesome: boolean; readonly asReportAwesome: { @@ -4006,7 +4104,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReportAwesome' | 'RetractTip' | 'TipNew' | 'Tip' | 'CloseTip' | 'SlashTip'; } - /** @name ModuleCollatorSelectionCall (284) */ + /** @name ModuleCollatorSelectionCall (286) */ interface ModuleCollatorSelectionCall extends Enum { readonly isSetInvulnerables: boolean; readonly asSetInvulnerables: { @@ -4030,7 +4128,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetInvulnerables' | 'SetDesiredCandidates' | 'SetCandidacyBond' | 'RegisterAsCandidate' | 'RegisterCandidate' | 'LeaveIntent' | 'WithdrawBond'; } - /** @name PalletSessionCall (285) */ + /** @name PalletSessionCall (287) */ interface PalletSessionCall extends Enum { readonly isSetKeys: boolean; readonly asSetKeys: { @@ -4041,18 +4139,18 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetKeys' | 'PurgeKeys'; } - /** @name AcalaRuntimeSessionKeys (286) */ + /** @name AcalaRuntimeSessionKeys (288) */ interface AcalaRuntimeSessionKeys extends Struct { readonly aura: SpConsensusAuraSr25519AppSr25519Public; } - /** @name SpConsensusAuraSr25519AppSr25519Public (287) */ + /** @name SpConsensusAuraSr25519AppSr25519Public (289) */ interface SpConsensusAuraSr25519AppSr25519Public extends SpCoreSr25519Public {} - /** @name SpCoreSr25519Public (288) */ + /** @name SpCoreSr25519Public (290) */ interface SpCoreSr25519Public extends U8aFixed {} - /** @name ModuleSessionManagerModuleCall (289) */ + /** @name ModuleSessionManagerModuleCall (291) */ interface ModuleSessionManagerModuleCall extends Enum { readonly isScheduleSessionDuration: boolean; readonly asScheduleSessionDuration: { @@ -4062,7 +4160,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ScheduleSessionDuration'; } - /** @name CumulusPalletXcmpQueueCall (290) */ + /** @name CumulusPalletXcmpQueueCall (292) */ interface CumulusPalletXcmpQueueCall extends Enum { readonly isSuspendXcmExecution: boolean; readonly isResumeXcmExecution: boolean; @@ -4081,7 +4179,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SuspendXcmExecution' | 'ResumeXcmExecution' | 'UpdateSuspendThreshold' | 'UpdateDropThreshold' | 'UpdateResumeThreshold'; } - /** @name PalletXcmCall (291) */ + /** @name PalletXcmCall (293) */ interface PalletXcmCall extends Enum { readonly isSend: boolean; readonly asSend: { @@ -4160,7 +4258,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Send' | 'TeleportAssets' | 'ReserveTransferAssets' | 'Execute' | 'ForceXcmVersion' | 'ForceDefaultXcmVersion' | 'ForceSubscribeVersionNotify' | 'ForceUnsubscribeVersionNotify' | 'LimitedReserveTransferAssets' | 'LimitedTeleportAssets' | 'ForceSuspension' | 'TransferAssets' | 'ClaimAssets'; } - /** @name XcmVersionedXcm (292) */ + /** @name XcmVersionedXcm (294) */ interface XcmVersionedXcm extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Xcm; @@ -4171,10 +4269,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'V2' | 'V3' | 'V4'; } - /** @name XcmV2Xcm (293) */ + /** @name XcmV2Xcm (295) */ interface XcmV2Xcm extends Vec {} - /** @name XcmV2Instruction (295) */ + /** @name XcmV2Instruction (297) */ interface XcmV2Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV2MultiassetMultiAssets; @@ -4294,7 +4392,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 (296) */ + /** @name XcmV2Response (298) */ interface XcmV2Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4306,7 +4404,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version'; } - /** @name XcmV2TraitsError (299) */ + /** @name XcmV2TraitsError (301) */ interface XcmV2TraitsError extends Enum { readonly isOverflow: boolean; readonly isUnimplemented: boolean; @@ -4339,7 +4437,7 @@ 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 XcmV2MultiassetMultiAssetFilter (300) */ + /** @name XcmV2MultiassetMultiAssetFilter (302) */ interface XcmV2MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV2MultiassetMultiAssets; @@ -4348,7 +4446,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Definite' | 'Wild'; } - /** @name XcmV2MultiassetWildMultiAsset (301) */ + /** @name XcmV2MultiassetWildMultiAsset (303) */ interface XcmV2MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4359,14 +4457,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'All' | 'AllOf'; } - /** @name XcmV2MultiassetWildFungibility (302) */ + /** @name XcmV2MultiassetWildFungibility (304) */ interface XcmV2MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } - /** @name XcmV2WeightLimit (303) */ + /** @name XcmV2WeightLimit (305) */ interface XcmV2WeightLimit extends Enum { readonly isUnlimited: boolean; readonly isLimited: boolean; @@ -4374,10 +4472,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unlimited' | 'Limited'; } - /** @name XcmV3Xcm (304) */ + /** @name XcmV3Xcm (306) */ interface XcmV3Xcm extends Vec {} - /** @name XcmV3Instruction (306) */ + /** @name XcmV3Instruction (308) */ interface XcmV3Instruction extends Enum { readonly isWithdrawAsset: boolean; readonly asWithdrawAsset: XcmV3MultiassetMultiAssets; @@ -4559,7 +4657,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' | 'ReportHolding' | 'BuyExecution' | 'RefundSurplus' | 'SetErrorHandler' | 'SetAppendix' | 'ClearError' | 'ClaimAsset' | 'Trap' | 'SubscribeVersion' | 'UnsubscribeVersion' | 'BurnAsset' | 'ExpectAsset' | 'ExpectOrigin' | 'ExpectError' | 'ExpectTransactStatus' | 'QueryPallet' | 'ExpectPallet' | 'ReportTransactStatus' | 'ClearTransactStatus' | 'UniversalOrigin' | 'ExportMessage' | 'LockAsset' | 'UnlockAsset' | 'NoteUnlockable' | 'RequestUnlock' | 'SetFeesMode' | 'SetTopic' | 'ClearTopic' | 'AliasOrigin' | 'UnpaidExecution'; } - /** @name XcmV3Response (307) */ + /** @name XcmV3Response (309) */ interface XcmV3Response extends Enum { readonly isNull: boolean; readonly isAssets: boolean; @@ -4575,7 +4673,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Null' | 'Assets' | 'ExecutionResult' | 'Version' | 'PalletsInfo' | 'DispatchResult'; } - /** @name XcmV3PalletInfo (309) */ + /** @name XcmV3PalletInfo (311) */ interface XcmV3PalletInfo extends Struct { readonly index: Compact; readonly name: Bytes; @@ -4585,14 +4683,14 @@ declare module '@polkadot/types/lookup' { readonly patch: Compact; } - /** @name XcmV3QueryResponseInfo (313) */ + /** @name XcmV3QueryResponseInfo (315) */ interface XcmV3QueryResponseInfo extends Struct { readonly destination: StagingXcmV3MultiLocation; readonly queryId: Compact; readonly maxWeight: SpWeightsWeightV2Weight; } - /** @name XcmV3MultiassetMultiAssetFilter (314) */ + /** @name XcmV3MultiassetMultiAssetFilter (316) */ interface XcmV3MultiassetMultiAssetFilter extends Enum { readonly isDefinite: boolean; readonly asDefinite: XcmV3MultiassetMultiAssets; @@ -4601,7 +4699,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Definite' | 'Wild'; } - /** @name XcmV3MultiassetWildMultiAsset (315) */ + /** @name XcmV3MultiassetWildMultiAsset (317) */ interface XcmV3MultiassetWildMultiAsset extends Enum { readonly isAll: boolean; readonly isAllOf: boolean; @@ -4620,14 +4718,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'All' | 'AllOf' | 'AllCounted' | 'AllOfCounted'; } - /** @name XcmV3MultiassetWildFungibility (316) */ + /** @name XcmV3MultiassetWildFungibility (318) */ interface XcmV3MultiassetWildFungibility extends Enum { readonly isFungible: boolean; readonly isNonFungible: boolean; readonly type: 'Fungible' | 'NonFungible'; } - /** @name OrmlXtokensModuleCall (328) */ + /** @name OrmlXtokensModuleCall (330) */ interface OrmlXtokensModuleCall extends Enum { readonly isTransfer: boolean; readonly asTransfer: { @@ -4674,7 +4772,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Transfer' | 'TransferMultiasset' | 'TransferWithFee' | 'TransferMultiassetWithFee' | 'TransferMulticurrencies' | 'TransferMultiassets'; } - /** @name XcmVersionedAsset (329) */ + /** @name XcmVersionedAsset (331) */ interface XcmVersionedAsset extends Enum { readonly isV2: boolean; readonly asV2: XcmV2MultiAsset; @@ -4685,7 +4783,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V2' | 'V3' | 'V4'; } - /** @name OrmlXcmModuleCall (330) */ + /** @name OrmlXcmModuleCall (332) */ interface OrmlXcmModuleCall extends Enum { readonly isSendAsSovereign: boolean; readonly asSendAsSovereign: { @@ -4695,7 +4793,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SendAsSovereign'; } - /** @name PalletMessageQueueCall (331) */ + /** @name PalletMessageQueueCall (333) */ interface PalletMessageQueueCall extends Enum { readonly isReapPage: boolean; readonly asReapPage: { @@ -4712,7 +4810,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReapPage' | 'ExecuteOverweight'; } - /** @name OrmlAuthorityModuleCall (332) */ + /** @name OrmlAuthorityModuleCall (334) */ interface OrmlAuthorityModuleCall extends Enum { readonly isDispatchAs: boolean; readonly asDispatchAs: { @@ -4760,7 +4858,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DispatchAs' | 'ScheduleDispatch' | 'FastTrackScheduledDispatch' | 'DelayScheduledDispatch' | 'CancelScheduledDispatch' | 'AuthorizeCall' | 'RemoveAuthorizedCall' | 'TriggerCall'; } - /** @name AcalaPrimitivesAuthoritysOriginId (333) */ + /** @name AcalaPrimitivesAuthoritysOriginId (335) */ interface AcalaPrimitivesAuthoritysOriginId extends Enum { readonly isRoot: boolean; readonly isTreasury: boolean; @@ -4770,7 +4868,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Root' | 'Treasury' | 'HonzonTreasury' | 'HomaTreasury' | 'TreasuryReserve'; } - /** @name FrameSupportScheduleDispatchTime (334) */ + /** @name FrameSupportScheduleDispatchTime (336) */ interface FrameSupportScheduleDispatchTime extends Enum { readonly isAt: boolean; readonly asAt: u32; @@ -4779,7 +4877,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'At' | 'After'; } - /** @name PalletCollectiveCall (335) */ + /** @name PalletCollectiveCall (337) */ interface PalletCollectiveCall extends Enum { readonly isSetMembers: boolean; readonly asSetMembers: { @@ -4818,7 +4916,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetMembers' | 'Execute' | 'Propose' | 'Vote' | 'DisapproveProposal' | 'Close'; } - /** @name PalletMembershipCall (336) */ + /** @name PalletMembershipCall (338) */ interface PalletMembershipCall extends Enum { readonly isAddMember: boolean; readonly asAddMember: { @@ -4849,7 +4947,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AddMember' | 'RemoveMember' | 'SwapMember' | 'ResetMembers' | 'ChangeKey' | 'SetPrime' | 'ClearPrime'; } - /** @name PalletDemocracyCall (343) */ + /** @name PalletDemocracyCall (345) */ interface PalletDemocracyCall extends Enum { readonly isPropose: boolean; readonly asPropose: { @@ -4933,7 +5031,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 (344) */ + /** @name PalletDemocracyConviction (346) */ interface PalletDemocracyConviction extends Enum { readonly isNone: boolean; readonly isLocked1x: boolean; @@ -4945,7 +5043,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'None' | 'Locked1x' | 'Locked2x' | 'Locked3x' | 'Locked4x' | 'Locked5x' | 'Locked6x'; } - /** @name OrmlOracleModuleCall (346) */ + /** @name OrmlOracleModuleCall (348) */ interface OrmlOracleModuleCall extends Enum { readonly isFeedValues: boolean; readonly asFeedValues: { @@ -4954,7 +5052,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeedValues'; } - /** @name OrmlAuctionModuleCall (349) */ + /** @name OrmlAuctionModuleCall (351) */ interface OrmlAuctionModuleCall extends Enum { readonly isBid: boolean; readonly asBid: { @@ -4964,7 +5062,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Bid'; } - /** @name OrmlParametersModuleCall (350) */ + /** @name OrmlParametersModuleCall (352) */ interface OrmlParametersModuleCall extends Enum { readonly isSetParameter: boolean; readonly asSetParameter: { @@ -4973,7 +5071,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetParameter'; } - /** @name ModulePricesModuleCall (351) */ + /** @name ModulePricesModuleCall (353) */ interface ModulePricesModuleCall extends Enum { readonly isLockPrice: boolean; readonly asLockPrice: { @@ -4986,7 +5084,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'LockPrice' | 'UnlockPrice'; } - /** @name ModuleDexModuleCall (352) */ + /** @name ModuleDexModuleCall (354) */ interface ModuleDexModuleCall extends Enum { readonly isSwapWithExactSupply: boolean; readonly asSwapWithExactSupply: { @@ -5080,7 +5178,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SwapWithExactSupply' | 'SwapWithExactTarget' | 'AddLiquidity' | 'AddProvision' | 'ClaimDexShare' | 'RemoveLiquidity' | 'ListProvisioning' | 'UpdateProvisioningParameters' | 'EndProvisioning' | 'EnableTradingPair' | 'DisableTradingPair' | 'RefundProvision' | 'AbortProvisioning'; } - /** @name ModuleDexOracleModuleCall (353) */ + /** @name ModuleDexOracleModuleCall (355) */ interface ModuleDexOracleModuleCall extends Enum { readonly isEnableAveragePrice: boolean; readonly asEnableAveragePrice: { @@ -5102,7 +5200,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'EnableAveragePrice' | 'DisableAveragePrice' | 'UpdateAveragePriceInterval'; } - /** @name ModuleAggregatedDexModuleCall (354) */ + /** @name ModuleAggregatedDexModuleCall (356) */ interface ModuleAggregatedDexModuleCall extends Enum { readonly isSwapWithExactSupply: boolean; readonly asSwapWithExactSupply: { @@ -5123,7 +5221,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SwapWithExactSupply' | 'SwapWithExactTarget' | 'UpdateAggregatedSwapPaths'; } - /** @name ModuleEarningModuleCall (359) */ + /** @name ModuleEarningModuleCall (361) */ interface ModuleEarningModuleCall extends Enum { readonly isBond: boolean; readonly asBond: { @@ -5145,7 +5243,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Bond' | 'Unbond' | 'UnbondInstant' | 'Rebond' | 'WithdrawUnbonded'; } - /** @name ModuleAuctionManagerModuleCall (360) */ + /** @name ModuleAuctionManagerModuleCall (362) */ interface ModuleAuctionManagerModuleCall extends Enum { readonly isCancel: boolean; readonly asCancel: { @@ -5154,10 +5252,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'Cancel'; } - /** @name ModuleLoansModuleCall (361) */ + /** @name ModuleLoansModuleCall (363) */ type ModuleLoansModuleCall = Null; - /** @name ModuleHonzonModuleCall (362) */ + /** @name ModuleHonzonModuleCall (364) */ interface ModuleHonzonModuleCall extends Enum { readonly isAdjustLoan: boolean; readonly asAdjustLoan: { @@ -5213,7 +5311,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AdjustLoan' | 'CloseLoanHasDebitByDex' | 'TransferLoanFrom' | 'Authorize' | 'Unauthorize' | 'UnauthorizeAll' | 'ExpandPositionCollateral' | 'ShrinkPositionDebit' | 'AdjustLoanByDebitValue' | 'TransferDebit'; } - /** @name ModuleCdpTreasuryModuleCall (363) */ + /** @name ModuleCdpTreasuryModuleCall (365) */ interface ModuleCdpTreasuryModuleCall extends Enum { readonly isExtractSurplusToTreasury: boolean; readonly asExtractSurplusToTreasury: { @@ -5243,7 +5341,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExtractSurplusToTreasury' | 'AuctionCollateral' | 'ExchangeCollateralToStable' | 'SetExpectedCollateralAuctionSize' | 'SetDebitOffsetBuffer'; } - /** @name ModuleSupportDexSwapLimit (364) */ + /** @name ModuleSupportDexSwapLimit (366) */ interface ModuleSupportDexSwapLimit extends Enum { readonly isExactSupply: boolean; readonly asExactSupply: ITuple<[u128, u128]>; @@ -5252,7 +5350,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExactSupply' | 'ExactTarget'; } - /** @name ModuleCdpEngineModuleCall (365) */ + /** @name ModuleCdpEngineModuleCall (367) */ interface ModuleCdpEngineModuleCall extends Enum { readonly isLiquidate: boolean; readonly asLiquidate: { @@ -5284,7 +5382,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Liquidate' | 'Settle' | 'SetCollateralParams' | 'RegisterLiquidationContract' | 'DeregisterLiquidationContract'; } - /** @name OrmlTraitsChangeOption (366) */ + /** @name OrmlTraitsChangeOption (368) */ interface OrmlTraitsChangeOption extends Enum { readonly isNoChange: boolean; readonly isNewValue: boolean; @@ -5292,7 +5390,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoChange' | 'NewValue'; } - /** @name OrmlTraitsChangeU128 (367) */ + /** @name OrmlTraitsChangeU128 (369) */ interface OrmlTraitsChangeU128 extends Enum { readonly isNoChange: boolean; readonly isNewValue: boolean; @@ -5300,7 +5398,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoChange' | 'NewValue'; } - /** @name ModuleEmergencyShutdownModuleCall (368) */ + /** @name ModuleEmergencyShutdownModuleCall (370) */ interface ModuleEmergencyShutdownModuleCall extends Enum { readonly isEmergencyShutdown: boolean; readonly isOpenCollateralRefund: boolean; @@ -5311,7 +5409,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'EmergencyShutdown' | 'OpenCollateralRefund' | 'RefundCollaterals'; } - /** @name ModuleHomaModuleCall (369) */ + /** @name ModuleHomaModuleCall (371) */ interface ModuleHomaModuleCall extends Enum { readonly isMint: boolean; readonly asMint: { @@ -5336,6 +5434,7 @@ declare module '@polkadot/types/lookup' { readonly estimatedRewardRatePerEra: Option; readonly commissionRate: Option; readonly fastMatchFeeRate: Option; + readonly nominateIntervalEra: Option; } & Struct; readonly isUpdateBumpEraParams: boolean; readonly asUpdateBumpEraParams: { @@ -5361,7 +5460,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Mint' | 'RequestRedeem' | 'FastMatchRedeems' | 'ClaimRedemption' | 'UpdateHomaParams' | 'UpdateBumpEraParams' | 'ResetLedgers' | 'ResetCurrentEra' | 'ForceBumpCurrentEra' | 'FastMatchRedeemsCompletely'; } - /** @name ModuleXcmInterfaceModuleCall (374) */ + /** @name ModuleXcmInterfaceModuleCall (376) */ interface ModuleXcmInterfaceModuleCall extends Enum { readonly isUpdateXcmDestWeightAndFee: boolean; readonly asUpdateXcmDestWeightAndFee: { @@ -5370,7 +5469,76 @@ declare module '@polkadot/types/lookup' { readonly type: 'UpdateXcmDestWeightAndFee'; } - /** @name ModuleIncentivesModuleCall (377) */ + /** @name ModuleHomaValidatorListModuleCall (379) */ + interface ModuleHomaValidatorListModuleCall extends Enum { + readonly isBond: boolean; + readonly asBond: { + readonly validator: AccountId32; + readonly amount: Compact; + } & Struct; + readonly isUnbond: boolean; + readonly asUnbond: { + readonly validator: AccountId32; + readonly amount: Compact; + } & Struct; + readonly isRebond: boolean; + readonly asRebond: { + readonly validator: AccountId32; + readonly amount: Compact; + } & Struct; + readonly isWithdrawUnbonded: boolean; + readonly asWithdrawUnbonded: { + readonly validator: AccountId32; + } & Struct; + readonly isFreeze: boolean; + readonly asFreeze: { + readonly validators: Vec; + } & Struct; + readonly isThaw: boolean; + readonly asThaw: { + readonly validators: Vec; + } & Struct; + readonly isSlash: boolean; + readonly asSlash: { + readonly slashes: Vec; + } & Struct; + readonly type: 'Bond' | 'Unbond' | 'Rebond' | 'WithdrawUnbonded' | 'Freeze' | 'Thaw' | 'Slash'; + } + + /** @name ModuleHomaValidatorListSlashInfo (381) */ + interface ModuleHomaValidatorListSlashInfo extends Struct { + readonly validator: AccountId32; + readonly relaychainTokenAmount: u128; + } + + /** @name ModuleNomineesElectionModuleCall (382) */ + interface ModuleNomineesElectionModuleCall extends Enum { + readonly isBond: boolean; + readonly asBond: { + readonly amount: Compact; + } & Struct; + readonly isUnbond: boolean; + readonly asUnbond: { + readonly amount: Compact; + } & Struct; + readonly isRebond: boolean; + readonly asRebond: { + readonly amount: Compact; + } & Struct; + readonly isWithdrawUnbonded: boolean; + readonly isNominate: boolean; + readonly asNominate: { + readonly targets: Vec; + } & Struct; + readonly isChill: boolean; + readonly isResetReservedNominees: boolean; + readonly asResetReservedNominees: { + readonly updates: Vec]>>; + } & Struct; + readonly type: 'Bond' | 'Unbond' | 'Rebond' | 'WithdrawUnbonded' | 'Nominate' | 'Chill' | 'ResetReservedNominees'; + } + + /** @name ModuleIncentivesModuleCall (386) */ interface ModuleIncentivesModuleCall extends Enum { readonly isDepositDexShare: boolean; readonly asDepositDexShare: { @@ -5402,7 +5570,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'DepositDexShare' | 'WithdrawDexShare' | 'ClaimRewards' | 'UpdateIncentiveRewards' | 'UpdateClaimRewardDeductionRates' | 'UpdateClaimRewardDeductionCurrency'; } - /** @name ModuleNftModuleCall (382) */ + /** @name ModuleNftModuleCall (391) */ interface ModuleNftModuleCall extends Enum { readonly isCreateClass: boolean; readonly asCreateClass: { @@ -5445,7 +5613,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreateClass' | 'Mint' | 'Transfer' | 'Burn' | 'BurnWithRemark' | 'DestroyClass' | 'UpdateClassProperties'; } - /** @name AcalaPrimitivesNftClassProperty (384) */ + /** @name AcalaPrimitivesNftClassProperty (393) */ interface AcalaPrimitivesNftClassProperty extends Enum { readonly isTransferable: boolean; readonly isBurnable: boolean; @@ -5454,7 +5622,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Transferable' | 'Burnable' | 'Mintable' | 'ClassPropertiesMutable'; } - /** @name ModuleAssetRegistryModuleCall (387) */ + /** @name ModuleAssetRegistryModuleCall (396) */ interface ModuleAssetRegistryModuleCall extends Enum { readonly isRegisterForeignAsset: boolean; readonly asRegisterForeignAsset: { @@ -5499,7 +5667,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'RegisterForeignAsset' | 'UpdateForeignAsset' | 'RegisterStableAsset' | 'UpdateStableAsset' | 'RegisterErc20Asset' | 'UpdateErc20Asset' | 'RegisterNativeAsset' | 'UpdateNativeAsset'; } - /** @name ModuleLiquidCrowdloanModuleCall (388) */ + /** @name ModuleLiquidCrowdloanModuleCall (397) */ interface ModuleLiquidCrowdloanModuleCall extends Enum { readonly isRedeem: boolean; readonly asRedeem: { @@ -5516,7 +5684,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Redeem' | 'TransferFromCrowdloanVault' | 'SetRedeemCurrencyId'; } - /** @name ModuleEvmModuleCall (389) */ + /** @name ModuleEvmModuleCall (398) */ interface ModuleEvmModuleCall extends Enum { readonly isEthCall: boolean; readonly asEthCall: { @@ -5626,7 +5794,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 (390) */ + /** @name EthereumTransactionTransactionAction (399) */ interface EthereumTransactionTransactionAction extends Enum { readonly isCall: boolean; readonly asCall: H160; @@ -5634,13 +5802,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Call' | 'Create'; } - /** @name EthereumTransactionAccessListItem (392) */ + /** @name EthereumTransactionAccessListItem (401) */ interface EthereumTransactionAccessListItem extends Struct { readonly address: H160; readonly storageKeys: Vec; } - /** @name ModuleEvmAccountsModuleCall (393) */ + /** @name ModuleEvmAccountsModuleCall (402) */ interface ModuleEvmAccountsModuleCall extends Enum { readonly isClaimAccount: boolean; readonly asClaimAccount: { @@ -5651,7 +5819,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ClaimAccount' | 'ClaimDefaultAccount'; } - /** @name NutsfinanceStableAssetCall (395) */ + /** @name NutsfinanceStableAssetCall (404) */ interface NutsfinanceStableAssetCall extends Enum { readonly isCreatePool: boolean; readonly asCreatePool: { @@ -5723,7 +5891,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CreatePool' | 'Mint' | 'Swap' | 'RedeemProportion' | 'RedeemSingle' | 'RedeemMulti' | 'ModifyA' | 'ModifyFees' | 'ModifyRecipients'; } - /** @name CumulusPalletParachainSystemCall (396) */ + /** @name CumulusPalletParachainSystemCall (405) */ interface CumulusPalletParachainSystemCall extends Enum { readonly isSetValidationData: boolean; readonly asSetValidationData: { @@ -5745,7 +5913,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'SetValidationData' | 'SudoSendUpwardMessage' | 'AuthorizeUpgrade' | 'EnactAuthorizedUpgrade'; } - /** @name CumulusPrimitivesParachainInherentParachainInherentData (397) */ + /** @name CumulusPrimitivesParachainInherentParachainInherentData (406) */ interface CumulusPrimitivesParachainInherentParachainInherentData extends Struct { readonly validationData: PolkadotPrimitivesV6PersistedValidationData; readonly relayChainState: SpTrieStorageProof; @@ -5753,7 +5921,7 @@ declare module '@polkadot/types/lookup' { readonly horizontalMessages: BTreeMap>; } - /** @name PolkadotPrimitivesV6PersistedValidationData (398) */ + /** @name PolkadotPrimitivesV6PersistedValidationData (407) */ interface PolkadotPrimitivesV6PersistedValidationData extends Struct { readonly parentHead: Bytes; readonly relayParentNumber: u32; @@ -5761,24 +5929,24 @@ declare module '@polkadot/types/lookup' { readonly maxPovSize: u32; } - /** @name SpTrieStorageProof (400) */ + /** @name SpTrieStorageProof (409) */ interface SpTrieStorageProof extends Struct { readonly trieNodes: BTreeSet; } - /** @name PolkadotCorePrimitivesInboundDownwardMessage (403) */ + /** @name PolkadotCorePrimitivesInboundDownwardMessage (412) */ interface PolkadotCorePrimitivesInboundDownwardMessage extends Struct { readonly sentAt: u32; readonly msg: Bytes; } - /** @name PolkadotCorePrimitivesInboundHrmpMessage (406) */ + /** @name PolkadotCorePrimitivesInboundHrmpMessage (415) */ interface PolkadotCorePrimitivesInboundHrmpMessage extends Struct { readonly sentAt: u32; readonly data: Bytes; } - /** @name PalletSudoCall (409) */ + /** @name PalletSudoCall (418) */ interface PalletSudoCall extends Enum { readonly isSudo: boolean; readonly asSudo: { @@ -5802,17 +5970,17 @@ declare module '@polkadot/types/lookup' { readonly type: 'Sudo' | 'SudoUncheckedWeight' | 'SetKey' | 'SudoAs' | 'RemoveKey'; } - /** @name SpRuntimeBlakeTwo256 (410) */ + /** @name SpRuntimeBlakeTwo256 (419) */ type SpRuntimeBlakeTwo256 = Null; - /** @name PalletSchedulerRetryConfig (413) */ + /** @name PalletSchedulerRetryConfig (422) */ interface PalletSchedulerRetryConfig extends Struct { readonly totalRetries: u8; readonly remaining: u8; readonly period: u32; } - /** @name PalletSchedulerError (414) */ + /** @name PalletSchedulerError (423) */ interface PalletSchedulerError extends Enum { readonly isFailedToSchedule: boolean; readonly isNotFound: boolean; @@ -5822,13 +5990,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'NotFound' | 'TargetBlockNumberInPast' | 'RescheduleNoChange' | 'Named'; } - /** @name PalletUtilityError (415) */ + /** @name PalletUtilityError (424) */ interface PalletUtilityError extends Enum { readonly isTooManyCalls: boolean; readonly type: 'TooManyCalls'; } - /** @name PalletMultisigMultisig (417) */ + /** @name PalletMultisigMultisig (426) */ interface PalletMultisigMultisig extends Struct { readonly when: PalletMultisigTimepoint; readonly deposit: u128; @@ -5836,7 +6004,7 @@ declare module '@polkadot/types/lookup' { readonly approvals: Vec; } - /** @name PalletMultisigError (419) */ + /** @name PalletMultisigError (428) */ interface PalletMultisigError extends Enum { readonly isMinimumThreshold: boolean; readonly isAlreadyApproved: boolean; @@ -5855,21 +6023,21 @@ declare module '@polkadot/types/lookup' { readonly type: 'MinimumThreshold' | 'AlreadyApproved' | 'NoApprovalsNeeded' | 'TooFewSignatories' | 'TooManySignatories' | 'SignatoriesOutOfOrder' | 'SenderInSignatories' | 'NotFound' | 'NotOwner' | 'NoTimepoint' | 'WrongTimepoint' | 'UnexpectedTimepoint' | 'MaxWeightTooLow' | 'AlreadyStored'; } - /** @name PalletProxyProxyDefinition (422) */ + /** @name PalletProxyProxyDefinition (431) */ interface PalletProxyProxyDefinition extends Struct { readonly delegate: AccountId32; readonly proxyType: RuntimeCommonProxyType; readonly delay: u32; } - /** @name PalletProxyAnnouncement (426) */ + /** @name PalletProxyAnnouncement (435) */ interface PalletProxyAnnouncement extends Struct { readonly real: AccountId32; readonly callHash: H256; readonly height: u32; } - /** @name PalletProxyError (428) */ + /** @name PalletProxyError (437) */ interface PalletProxyError extends Enum { readonly isTooMany: boolean; readonly isNotFound: boolean; @@ -5882,14 +6050,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooMany' | 'NotFound' | 'NotProxy' | 'Unproxyable' | 'Duplicate' | 'NoPermission' | 'Unannounced' | 'NoSelfProxy'; } - /** @name ModuleTransactionPauseModuleError (429) */ + /** @name ModuleTransactionPauseModuleError (438) */ interface ModuleTransactionPauseModuleError extends Enum { readonly isCannotPause: boolean; readonly isInvalidCharacter: boolean; readonly type: 'CannotPause' | 'InvalidCharacter'; } - /** @name PalletPreimageOldRequestStatus (430) */ + /** @name PalletPreimageOldRequestStatus (439) */ interface PalletPreimageOldRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -5905,7 +6073,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageRequestStatus (433) */ + /** @name PalletPreimageRequestStatus (442) */ interface PalletPreimageRequestStatus extends Enum { readonly isUnrequested: boolean; readonly asUnrequested: { @@ -5921,7 +6089,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unrequested' | 'Requested'; } - /** @name PalletPreimageError (439) */ + /** @name PalletPreimageError (448) */ interface PalletPreimageError extends Enum { readonly isTooBig: boolean; readonly isAlreadyNoted: boolean; @@ -5934,14 +6102,14 @@ declare module '@polkadot/types/lookup' { readonly type: 'TooBig' | 'AlreadyNoted' | 'NotAuthorized' | 'NotNoted' | 'Requested' | 'NotRequested' | 'TooMany' | 'TooFew'; } - /** @name PalletBalancesBalanceLock (441) */ + /** @name PalletBalancesBalanceLock (450) */ interface PalletBalancesBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; readonly reasons: PalletBalancesReasons; } - /** @name PalletBalancesReasons (442) */ + /** @name PalletBalancesReasons (451) */ interface PalletBalancesReasons extends Enum { readonly isFee: boolean; readonly isMisc: boolean; @@ -5949,13 +6117,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Fee' | 'Misc' | 'All'; } - /** @name PalletBalancesReserveData (445) */ + /** @name PalletBalancesReserveData (454) */ interface PalletBalancesReserveData extends Struct { readonly id: AcalaPrimitivesReserveIdentifier; readonly amount: u128; } - /** @name AcalaPrimitivesReserveIdentifier (446) */ + /** @name AcalaPrimitivesReserveIdentifier (455) */ interface AcalaPrimitivesReserveIdentifier extends Enum { readonly isCollatorSelection: boolean; readonly isEvmStorageDeposit: boolean; @@ -5968,26 +6136,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollatorSelection' | 'EvmStorageDeposit' | 'EvmDeveloperDeposit' | 'Honzon' | 'Nft' | 'TransactionPayment' | 'TransactionPaymentDeposit' | 'Count'; } - /** @name AcalaRuntimeRuntimeHoldReason (450) */ + /** @name AcalaRuntimeRuntimeHoldReason (459) */ interface AcalaRuntimeRuntimeHoldReason extends Enum { readonly isPreimage: boolean; readonly asPreimage: PalletPreimageHoldReason; readonly type: 'Preimage'; } - /** @name PalletPreimageHoldReason (451) */ + /** @name PalletPreimageHoldReason (460) */ interface PalletPreimageHoldReason extends Enum { readonly isPreimage: boolean; readonly type: 'Preimage'; } - /** @name PalletBalancesIdAmount (454) */ + /** @name PalletBalancesIdAmount (463) */ interface PalletBalancesIdAmount extends Struct { readonly id: Null; readonly amount: u128; } - /** @name PalletBalancesError (456) */ + /** @name PalletBalancesError (465) */ interface PalletBalancesError extends Enum { readonly isVestingBalance: boolean; readonly isLiquidityRestrictions: boolean; @@ -6004,26 +6172,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero'; } - /** @name OrmlTokensBalanceLock (459) */ + /** @name OrmlTokensBalanceLock (468) */ interface OrmlTokensBalanceLock extends Struct { readonly id: U8aFixed; readonly amount: u128; } - /** @name OrmlTokensAccountData (461) */ + /** @name OrmlTokensAccountData (470) */ interface OrmlTokensAccountData extends Struct { readonly free: u128; readonly reserved: u128; readonly frozen: u128; } - /** @name OrmlTokensReserveData (463) */ + /** @name OrmlTokensReserveData (472) */ interface OrmlTokensReserveData extends Struct { readonly id: AcalaPrimitivesReserveIdentifier; readonly amount: u128; } - /** @name OrmlTokensModuleError (465) */ + /** @name OrmlTokensModuleError (474) */ interface OrmlTokensModuleError extends Enum { readonly isBalanceTooLow: boolean; readonly isAmountIntoBalanceFailed: boolean; @@ -6036,7 +6204,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceTooLow' | 'AmountIntoBalanceFailed' | 'LiquidityRestrictions' | 'MaxLocksExceeded' | 'KeepAlive' | 'ExistentialDeposit' | 'DeadAccount' | 'TooManyReserves'; } - /** @name ModuleCurrenciesModuleError (466) */ + /** @name ModuleCurrenciesModuleError (475) */ interface ModuleCurrenciesModuleError extends Enum { readonly isAmountIntoBalanceFailed: boolean; readonly isBalanceTooLow: boolean; @@ -6047,7 +6215,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AmountIntoBalanceFailed' | 'BalanceTooLow' | 'Erc20InvalidOperation' | 'EvmAccountNotFound' | 'RealOriginNotFound' | 'DepositFailed'; } - /** @name OrmlVestingModuleError (468) */ + /** @name OrmlVestingModuleError (477) */ interface OrmlVestingModuleError extends Enum { readonly isZeroVestingPeriod: boolean; readonly isZeroVestingPeriodCount: boolean; @@ -6058,7 +6226,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ZeroVestingPeriod' | 'ZeroVestingPeriodCount' | 'InsufficientBalanceToLock' | 'TooManyVestingSchedules' | 'AmountLow' | 'MaxVestingSchedulesExceeded'; } - /** @name ModuleTransactionPaymentModuleChargeFeeMethod (470) */ + /** @name ModuleTransactionPaymentModuleChargeFeeMethod (479) */ interface ModuleTransactionPaymentModuleChargeFeeMethod extends Enum { readonly isFeeCurrency: boolean; readonly asFeeCurrency: AcalaPrimitivesCurrencyCurrencyId; @@ -6067,10 +6235,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'FeeCurrency' | 'FeeAggregatedPath'; } - /** @name FrameSupportPalletId (471) */ + /** @name FrameSupportPalletId (480) */ interface FrameSupportPalletId extends U8aFixed {} - /** @name ModuleTransactionPaymentModuleError (473) */ + /** @name ModuleTransactionPaymentModuleError (482) */ interface ModuleTransactionPaymentModuleError extends Enum { readonly isInvalidSwapPath: boolean; readonly isInvalidBalance: boolean; @@ -6081,7 +6249,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSwapPath' | 'InvalidBalance' | 'InvalidRate' | 'InvalidToken' | 'DexNotAvailable' | 'ChargeFeePoolAlreadyExisted'; } - /** @name PalletTreasuryProposal (474) */ + /** @name PalletTreasuryProposal (483) */ interface PalletTreasuryProposal extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -6089,7 +6257,7 @@ declare module '@polkadot/types/lookup' { readonly bond: u128; } - /** @name PalletTreasurySpendStatus (477) */ + /** @name PalletTreasurySpendStatus (486) */ interface PalletTreasurySpendStatus extends Struct { readonly assetKind: Null; readonly amount: u128; @@ -6099,7 +6267,7 @@ declare module '@polkadot/types/lookup' { readonly status: PalletTreasuryPaymentState; } - /** @name PalletTreasuryPaymentState (478) */ + /** @name PalletTreasuryPaymentState (487) */ interface PalletTreasuryPaymentState extends Enum { readonly isPending: boolean; readonly isAttempted: boolean; @@ -6110,7 +6278,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'Attempted' | 'Failed'; } - /** @name PalletTreasuryError (479) */ + /** @name PalletTreasuryError (488) */ interface PalletTreasuryError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -6127,7 +6295,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'TooManyApprovals' | 'InsufficientPermission' | 'ProposalNotApproved' | 'FailedToConvertBalance' | 'SpendExpired' | 'EarlyPayout' | 'AlreadyAttempted' | 'PayoutError' | 'NotAttempted' | 'Inconclusive'; } - /** @name PalletBountiesBounty (480) */ + /** @name PalletBountiesBounty (489) */ interface PalletBountiesBounty extends Struct { readonly proposer: AccountId32; readonly value: u128; @@ -6137,7 +6305,7 @@ declare module '@polkadot/types/lookup' { readonly status: PalletBountiesBountyStatus; } - /** @name PalletBountiesBountyStatus (481) */ + /** @name PalletBountiesBountyStatus (490) */ interface PalletBountiesBountyStatus extends Enum { readonly isProposed: boolean; readonly isApproved: boolean; @@ -6160,7 +6328,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Proposed' | 'Approved' | 'Funded' | 'CuratorProposed' | 'Active' | 'PendingPayout'; } - /** @name PalletBountiesError (483) */ + /** @name PalletBountiesError (492) */ interface PalletBountiesError extends Enum { readonly isInsufficientProposersBalance: boolean; readonly isInvalidIndex: boolean; @@ -6176,7 +6344,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InsufficientProposersBalance' | 'InvalidIndex' | 'ReasonTooBig' | 'UnexpectedStatus' | 'RequireCurator' | 'InvalidValue' | 'InvalidFee' | 'PendingPayout' | 'Premature' | 'HasActiveChildBounty' | 'TooManyQueued'; } - /** @name PalletTipsOpenTip (484) */ + /** @name PalletTipsOpenTip (493) */ interface PalletTipsOpenTip extends Struct { readonly reason: H256; readonly who: AccountId32; @@ -6187,7 +6355,7 @@ declare module '@polkadot/types/lookup' { readonly findersFee: bool; } - /** @name PalletTipsError (486) */ + /** @name PalletTipsError (495) */ interface PalletTipsError extends Enum { readonly isReasonTooBig: boolean; readonly isAlreadyKnown: boolean; @@ -6199,7 +6367,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ReasonTooBig' | 'AlreadyKnown' | 'UnknownTip' | 'MaxTipAmountExceeded' | 'NotFinder' | 'StillOpen' | 'Premature'; } - /** @name ModuleCollatorSelectionError (490) */ + /** @name ModuleCollatorSelectionError (499) */ interface ModuleCollatorSelectionError extends Enum { readonly isMaxCandidatesExceeded: boolean; readonly isBelowCandidatesMin: boolean; @@ -6217,10 +6385,10 @@ declare module '@polkadot/types/lookup' { readonly type: 'MaxCandidatesExceeded' | 'BelowCandidatesMin' | 'StillLocked' | 'Unknown' | 'Permission' | 'AlreadyCandidate' | 'NotCandidate' | 'NotNonCandidate' | 'NothingToWithdraw' | 'RequireSessionKey' | 'AlreadyInvulnerable' | 'InvalidProof' | 'MaxInvulnerablesExceeded'; } - /** @name SpCoreCryptoKeyTypeId (494) */ + /** @name SpCoreCryptoKeyTypeId (503) */ interface SpCoreCryptoKeyTypeId extends U8aFixed {} - /** @name PalletSessionError (495) */ + /** @name PalletSessionError (504) */ interface PalletSessionError extends Enum { readonly isInvalidProof: boolean; readonly isNoAssociatedValidatorId: boolean; @@ -6230,7 +6398,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidProof' | 'NoAssociatedValidatorId' | 'DuplicatedKey' | 'NoKeys' | 'NoAccount'; } - /** @name ModuleSessionManagerModuleError (500) */ + /** @name ModuleSessionManagerModuleError (509) */ interface ModuleSessionManagerModuleError extends Enum { readonly isInvalidSession: boolean; readonly isInvalidDuration: boolean; @@ -6238,7 +6406,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'InvalidSession' | 'InvalidDuration' | 'EstimateNextSessionFailed'; } - /** @name CumulusPalletXcmpQueueOutboundChannelDetails (505) */ + /** @name CumulusPalletXcmpQueueOutboundChannelDetails (514) */ interface CumulusPalletXcmpQueueOutboundChannelDetails extends Struct { readonly recipient: u32; readonly state: CumulusPalletXcmpQueueOutboundState; @@ -6247,21 +6415,21 @@ declare module '@polkadot/types/lookup' { readonly lastIndex: u16; } - /** @name CumulusPalletXcmpQueueOutboundState (506) */ + /** @name CumulusPalletXcmpQueueOutboundState (515) */ interface CumulusPalletXcmpQueueOutboundState extends Enum { readonly isOk: boolean; readonly isSuspended: boolean; readonly type: 'Ok' | 'Suspended'; } - /** @name CumulusPalletXcmpQueueQueueConfigData (508) */ + /** @name CumulusPalletXcmpQueueQueueConfigData (517) */ interface CumulusPalletXcmpQueueQueueConfigData extends Struct { readonly suspendThreshold: u32; readonly dropThreshold: u32; readonly resumeThreshold: u32; } - /** @name CumulusPalletXcmpQueueError (509) */ + /** @name CumulusPalletXcmpQueueError (518) */ interface CumulusPalletXcmpQueueError extends Enum { readonly isBadQueueConfig: boolean; readonly isAlreadySuspended: boolean; @@ -6269,7 +6437,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BadQueueConfig' | 'AlreadySuspended' | 'AlreadyResumed'; } - /** @name PalletXcmQueryStatus (510) */ + /** @name PalletXcmQueryStatus (519) */ interface PalletXcmQueryStatus extends Enum { readonly isPending: boolean; readonly asPending: { @@ -6291,7 +6459,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Pending' | 'VersionNotifier' | 'Ready'; } - /** @name XcmVersionedResponse (514) */ + /** @name XcmVersionedResponse (523) */ interface XcmVersionedResponse extends Enum { readonly isV2: boolean; readonly asV2: XcmV2Response; @@ -6302,7 +6470,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V2' | 'V3' | 'V4'; } - /** @name PalletXcmVersionMigrationStage (520) */ + /** @name PalletXcmVersionMigrationStage (529) */ interface PalletXcmVersionMigrationStage extends Enum { readonly isMigrateSupportedVersion: boolean; readonly isMigrateVersionNotifiers: boolean; @@ -6312,7 +6480,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'MigrateSupportedVersion' | 'MigrateVersionNotifiers' | 'NotifyCurrentTargets' | 'MigrateAndNotifyOldTargets'; } - /** @name XcmVersionedAssetId (523) */ + /** @name XcmVersionedAssetId (532) */ interface XcmVersionedAssetId extends Enum { readonly isV3: boolean; readonly asV3: XcmV3MultiassetAssetId; @@ -6321,7 +6489,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'V3' | 'V4'; } - /** @name PalletXcmRemoteLockedFungibleRecord (524) */ + /** @name PalletXcmRemoteLockedFungibleRecord (533) */ interface PalletXcmRemoteLockedFungibleRecord extends Struct { readonly amount: u128; readonly owner: XcmVersionedLocation; @@ -6329,7 +6497,7 @@ declare module '@polkadot/types/lookup' { readonly consumers: Vec>; } - /** @name PalletXcmError (531) */ + /** @name PalletXcmError (540) */ interface PalletXcmError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -6359,7 +6527,7 @@ declare module '@polkadot/types/lookup' { 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'; } - /** @name OrmlXtokensModuleError (532) */ + /** @name OrmlXtokensModuleError (541) */ interface OrmlXtokensModuleError extends Enum { readonly isAssetHasNoReserve: boolean; readonly isNotCrossChainTransfer: boolean; @@ -6384,7 +6552,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 (535) */ + /** @name OrmlUnknownTokensModuleError (544) */ interface OrmlUnknownTokensModuleError extends Enum { readonly isBalanceTooLow: boolean; readonly isBalanceOverflow: boolean; @@ -6392,7 +6560,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BalanceTooLow' | 'BalanceOverflow' | 'UnhandledAsset'; } - /** @name OrmlXcmModuleError (536) */ + /** @name OrmlXcmModuleError (545) */ interface OrmlXcmModuleError extends Enum { readonly isUnreachable: boolean; readonly isSendFailure: boolean; @@ -6400,7 +6568,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Unreachable' | 'SendFailure' | 'BadVersion'; } - /** @name PalletMessageQueueBookState (537) */ + /** @name PalletMessageQueueBookState (546) */ interface PalletMessageQueueBookState extends Struct { readonly begin: u32; readonly end: u32; @@ -6410,13 +6578,13 @@ declare module '@polkadot/types/lookup' { readonly size_: u64; } - /** @name PalletMessageQueueNeighbours (539) */ + /** @name PalletMessageQueueNeighbours (548) */ interface PalletMessageQueueNeighbours extends Struct { readonly prev: CumulusPrimitivesCoreAggregateMessageOrigin; readonly next: CumulusPrimitivesCoreAggregateMessageOrigin; } - /** @name PalletMessageQueuePage (541) */ + /** @name PalletMessageQueuePage (550) */ interface PalletMessageQueuePage extends Struct { readonly remaining: u32; readonly remainingSize: u32; @@ -6426,7 +6594,7 @@ declare module '@polkadot/types/lookup' { readonly heap: Bytes; } - /** @name PalletMessageQueueError (543) */ + /** @name PalletMessageQueueError (552) */ interface PalletMessageQueueError extends Enum { readonly isNotReapable: boolean; readonly isNoPage: boolean; @@ -6440,7 +6608,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotReapable' | 'NoPage' | 'NoMessage' | 'AlreadyProcessed' | 'Queued' | 'InsufficientWeight' | 'TemporarilyUnprocessable' | 'QueuePaused' | 'RecursiveDisallowed'; } - /** @name OrmlAuthorityModuleError (545) */ + /** @name OrmlAuthorityModuleError (554) */ interface OrmlAuthorityModuleError extends Enum { readonly isFailedToSchedule: boolean; readonly isFailedToCancel: boolean; @@ -6452,7 +6620,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'FailedToSchedule' | 'FailedToCancel' | 'FailedToFastTrack' | 'FailedToDelay' | 'CallNotAuthorized' | 'TriggerCallNotPermitted' | 'WrongCallWeightBound'; } - /** @name PalletCollectiveVotes (547) */ + /** @name PalletCollectiveVotes (556) */ interface PalletCollectiveVotes extends Struct { readonly index: u32; readonly threshold: u32; @@ -6461,7 +6629,7 @@ declare module '@polkadot/types/lookup' { readonly end: u32; } - /** @name PalletCollectiveError (548) */ + /** @name PalletCollectiveError (557) */ interface PalletCollectiveError extends Enum { readonly isNotMember: boolean; readonly isDuplicateProposal: boolean; @@ -6477,7 +6645,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotMember' | 'DuplicateProposal' | 'ProposalMissing' | 'WrongIndex' | 'DuplicateVote' | 'AlreadyInitialized' | 'TooEarly' | 'TooManyProposals' | 'WrongProposalWeight' | 'WrongProposalLength' | 'PrimeAccountNotMember'; } - /** @name PalletMembershipError (550) */ + /** @name PalletMembershipError (559) */ interface PalletMembershipError extends Enum { readonly isAlreadyMember: boolean; readonly isNotMember: boolean; @@ -6485,7 +6653,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyMember' | 'NotMember' | 'TooManyMembers'; } - /** @name PalletDemocracyReferendumInfo (561) */ + /** @name PalletDemocracyReferendumInfo (570) */ interface PalletDemocracyReferendumInfo extends Enum { readonly isOngoing: boolean; readonly asOngoing: PalletDemocracyReferendumStatus; @@ -6497,7 +6665,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ongoing' | 'Finished'; } - /** @name PalletDemocracyReferendumStatus (562) */ + /** @name PalletDemocracyReferendumStatus (571) */ interface PalletDemocracyReferendumStatus extends Struct { readonly end: u32; readonly proposal: FrameSupportPreimagesBounded; @@ -6506,14 +6674,14 @@ declare module '@polkadot/types/lookup' { readonly tally: PalletDemocracyTally; } - /** @name PalletDemocracyTally (563) */ + /** @name PalletDemocracyTally (572) */ interface PalletDemocracyTally extends Struct { readonly ayes: u128; readonly nays: u128; readonly turnout: u128; } - /** @name PalletDemocracyVoteVoting (564) */ + /** @name PalletDemocracyVoteVoting (573) */ interface PalletDemocracyVoteVoting extends Enum { readonly isDirect: boolean; readonly asDirect: { @@ -6532,16 +6700,16 @@ declare module '@polkadot/types/lookup' { readonly type: 'Direct' | 'Delegating'; } - /** @name PalletDemocracyDelegations (568) */ + /** @name PalletDemocracyDelegations (577) */ interface PalletDemocracyDelegations extends Struct { readonly votes: u128; readonly capital: u128; } - /** @name PalletDemocracyVotePriorLock (569) */ + /** @name PalletDemocracyVotePriorLock (578) */ interface PalletDemocracyVotePriorLock extends ITuple<[u32, u128]> {} - /** @name PalletDemocracyError (572) */ + /** @name PalletDemocracyError (581) */ interface PalletDemocracyError extends Enum { readonly isValueLow: boolean; readonly isProposalMissing: boolean; @@ -6570,30 +6738,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 (573) */ + /** @name OrmlOracleModuleTimestampedValue (582) */ interface OrmlOracleModuleTimestampedValue extends Struct { readonly value: u128; readonly timestamp: u64; } - /** @name OrmlUtilitiesOrderedSet (574) */ + /** @name OrmlUtilitiesOrderedSet (583) */ interface OrmlUtilitiesOrderedSet extends Vec {} - /** @name OrmlOracleModuleError (576) */ + /** @name OrmlOracleModuleError (585) */ interface OrmlOracleModuleError extends Enum { readonly isNoPermission: boolean; readonly isAlreadyFeeded: boolean; readonly type: 'NoPermission' | 'AlreadyFeeded'; } - /** @name OrmlTraitsAuctionAuctionInfo (579) */ + /** @name OrmlTraitsAuctionAuctionInfo (588) */ interface OrmlTraitsAuctionAuctionInfo extends Struct { readonly bid: Option>; readonly start: u32; readonly end: Option; } - /** @name OrmlAuctionModuleError (580) */ + /** @name OrmlAuctionModuleError (589) */ interface OrmlAuctionModuleError extends Enum { readonly isAuctionNotExist: boolean; readonly isAuctionNotStarted: boolean; @@ -6603,13 +6771,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'AuctionNotExist' | 'AuctionNotStarted' | 'BidNotAccepted' | 'InvalidBidPrice' | 'NoAvailableAuctionId'; } - /** @name OrmlRewardsPoolInfo (581) */ + /** @name OrmlRewardsPoolInfo (590) */ interface OrmlRewardsPoolInfo extends Struct { readonly totalShares: u128; readonly rewards: BTreeMap>; } - /** @name OrmlRewardsModuleError (589) */ + /** @name OrmlRewardsModuleError (598) */ interface OrmlRewardsModuleError extends Enum { readonly isPoolDoesNotExist: boolean; readonly isShareDoesNotExist: boolean; @@ -6618,7 +6786,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'PoolDoesNotExist' | 'ShareDoesNotExist' | 'CanSplitOnlyLessThanShare' | 'ShareBelowMinimal'; } - /** @name OrmlNftClassInfo (590) */ + /** @name OrmlNftClassInfo (599) */ interface OrmlNftClassInfo extends Struct { readonly metadata: Bytes; readonly totalIssuance: u64; @@ -6626,27 +6794,27 @@ declare module '@polkadot/types/lookup' { readonly data: ModuleNftClassData; } - /** @name ModuleNftClassData (591) */ + /** @name ModuleNftClassData (600) */ interface ModuleNftClassData extends Struct { readonly deposit: u128; readonly properties: u8; readonly attributes: BTreeMap; } - /** @name OrmlNftTokenInfo (593) */ + /** @name OrmlNftTokenInfo (602) */ interface OrmlNftTokenInfo extends Struct { readonly metadata: Bytes; readonly owner: AccountId32; readonly data: ModuleNftTokenData; } - /** @name ModuleNftTokenData (594) */ + /** @name ModuleNftTokenData (603) */ interface ModuleNftTokenData extends Struct { readonly deposit: u128; readonly attributes: BTreeMap; } - /** @name OrmlNftModuleError (596) */ + /** @name OrmlNftModuleError (605) */ interface OrmlNftModuleError extends Enum { readonly isNoAvailableClassId: boolean; readonly isNoAvailableTokenId: boolean; @@ -6658,44 +6826,44 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoAvailableClassId' | 'NoAvailableTokenId' | 'TokenNotFound' | 'ClassNotFound' | 'NoPermission' | 'CannotDestroyClass' | 'MaxMetadataExceeded'; } - /** @name AcalaRuntimeRuntimeParametersKey (597) */ + /** @name AcalaRuntimeRuntimeParametersKey (606) */ interface AcalaRuntimeRuntimeParametersKey extends Enum { readonly isEarning: boolean; readonly asEarning: ModuleEarningParametersKey; readonly type: 'Earning'; } - /** @name ModuleEarningParametersKey (598) */ + /** @name ModuleEarningParametersKey (607) */ interface ModuleEarningParametersKey extends Enum { readonly isInstantUnstakeFee: boolean; readonly type: 'InstantUnstakeFee'; } - /** @name AcalaRuntimeRuntimeParametersValue (599) */ + /** @name AcalaRuntimeRuntimeParametersValue (608) */ interface AcalaRuntimeRuntimeParametersValue extends Enum { readonly isEarning: boolean; readonly asEarning: ModuleEarningParametersValue; readonly type: 'Earning'; } - /** @name ModuleEarningParametersValue (600) */ + /** @name ModuleEarningParametersValue (609) */ interface ModuleEarningParametersValue extends Enum { readonly isInstantUnstakeFee: boolean; readonly asInstantUnstakeFee: Permill; readonly type: 'InstantUnstakeFee'; } - /** @name OrmlParametersModuleError (601) */ + /** @name OrmlParametersModuleError (610) */ type OrmlParametersModuleError = Null; - /** @name ModulePricesModuleError (602) */ + /** @name ModulePricesModuleError (611) */ interface ModulePricesModuleError extends Enum { readonly isAccessPriceFailed: boolean; readonly isNoLockedPrice: boolean; readonly type: 'AccessPriceFailed' | 'NoLockedPrice'; } - /** @name ModuleDexTradingPairStatus (603) */ + /** @name ModuleDexTradingPairStatus (612) */ interface ModuleDexTradingPairStatus extends Enum { readonly isDisabled: boolean; readonly isProvisioning: boolean; @@ -6704,7 +6872,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'Disabled' | 'Provisioning' | 'Enabled'; } - /** @name ModuleDexProvisioningParameters (604) */ + /** @name ModuleDexProvisioningParameters (613) */ interface ModuleDexProvisioningParameters extends Struct { readonly minContribution: ITuple<[u128, u128]>; readonly targetProvision: ITuple<[u128, u128]>; @@ -6712,7 +6880,7 @@ declare module '@polkadot/types/lookup' { readonly notBefore: u32; } - /** @name ModuleDexModuleError (607) */ + /** @name ModuleDexModuleError (616) */ interface ModuleDexModuleError extends Enum { readonly isAlreadyEnabled: boolean; readonly isMustBeEnabled: boolean; @@ -6740,7 +6908,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 (612) */ + /** @name ModuleDexOracleModuleError (621) */ interface ModuleDexOracleModuleError extends Enum { readonly isAveragePriceAlreadyEnabled: boolean; readonly isAveragePriceMustBeEnabled: boolean; @@ -6750,7 +6918,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AveragePriceAlreadyEnabled' | 'AveragePriceMustBeEnabled' | 'InvalidPool' | 'InvalidCurrencyId' | 'IntervalIsZero'; } - /** @name ModuleAggregatedDexModuleError (615) */ + /** @name ModuleAggregatedDexModuleError (624) */ interface ModuleAggregatedDexModuleError extends Enum { readonly isCannotSwap: boolean; readonly isInvalidPoolId: boolean; @@ -6759,20 +6927,20 @@ declare module '@polkadot/types/lookup' { readonly type: 'CannotSwap' | 'InvalidPoolId' | 'InvalidTokenIndex' | 'InvalidSwapPath'; } - /** @name AcalaPrimitivesBondingLedgerBondingLedger (616) */ + /** @name AcalaPrimitivesBondingLedgerBondingLedger (625) */ interface AcalaPrimitivesBondingLedgerBondingLedger extends Struct { readonly total: u128; readonly active: u128; readonly unlocking: Vec; } - /** @name AcalaPrimitivesBondingLedgerUnlockChunk (618) */ + /** @name AcalaPrimitivesBondingLedgerUnlockChunk (627) */ interface AcalaPrimitivesBondingLedgerUnlockChunk extends Struct { readonly value: u128; readonly unlockAt: u32; } - /** @name ModuleEarningModuleError (620) */ + /** @name ModuleEarningModuleError (629) */ interface ModuleEarningModuleError extends Enum { readonly isBelowMinBondThreshold: boolean; readonly isMaxUnlockChunksExceeded: boolean; @@ -6781,7 +6949,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'BelowMinBondThreshold' | 'MaxUnlockChunksExceeded' | 'NotBonded' | 'NotAllowed'; } - /** @name ModuleAuctionManagerCollateralAuctionItem (621) */ + /** @name ModuleAuctionManagerCollateralAuctionItem (630) */ interface ModuleAuctionManagerCollateralAuctionItem extends Struct { readonly refundRecipient: AccountId32; readonly currencyId: AcalaPrimitivesCurrencyCurrencyId; @@ -6791,7 +6959,7 @@ declare module '@polkadot/types/lookup' { readonly startTime: u32; } - /** @name ModuleAuctionManagerModuleError (622) */ + /** @name ModuleAuctionManagerModuleError (631) */ interface ModuleAuctionManagerModuleError extends Enum { readonly isAuctionNotExists: boolean; readonly isInReverseStage: boolean; @@ -6802,19 +6970,19 @@ declare module '@polkadot/types/lookup' { readonly type: 'AuctionNotExists' | 'InReverseStage' | 'InvalidFeedPrice' | 'MustAfterShutdown' | 'InvalidBidPrice' | 'InvalidAmount'; } - /** @name AcalaPrimitivesPosition (624) */ + /** @name AcalaPrimitivesPosition (633) */ interface AcalaPrimitivesPosition extends Struct { readonly collateral: u128; readonly debit: u128; } - /** @name ModuleLoansModuleError (625) */ + /** @name ModuleLoansModuleError (634) */ interface ModuleLoansModuleError extends Enum { readonly isAmountConvertFailed: boolean; readonly type: 'AmountConvertFailed'; } - /** @name ModuleHonzonModuleError (627) */ + /** @name ModuleHonzonModuleError (636) */ interface ModuleHonzonModuleError extends Enum { readonly isNoPermission: boolean; readonly isAlreadyShutdown: boolean; @@ -6823,7 +6991,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NoPermission' | 'AlreadyShutdown' | 'AuthorizationNotExists' | 'AlreadyAuthorized'; } - /** @name ModuleCdpTreasuryModuleError (628) */ + /** @name ModuleCdpTreasuryModuleError (637) */ interface ModuleCdpTreasuryModuleError extends Enum { readonly isCollateralNotEnough: boolean; readonly isSurplusPoolNotEnough: boolean; @@ -6833,7 +7001,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'CollateralNotEnough' | 'SurplusPoolNotEnough' | 'DebitPoolNotEnough' | 'CannotSwap' | 'NotDexShare'; } - /** @name ModuleCdpEngineRiskManagementParams (629) */ + /** @name ModuleCdpEngineRiskManagementParams (638) */ interface ModuleCdpEngineRiskManagementParams extends Struct { readonly maximumTotalDebitValue: u128; readonly interestRatePerSec: Option; @@ -6842,7 +7010,7 @@ declare module '@polkadot/types/lookup' { readonly requiredCollateralRatio: Option; } - /** @name ModuleCdpEngineModuleError (634) */ + /** @name ModuleCdpEngineModuleError (643) */ interface ModuleCdpEngineModuleError extends Enum { readonly isExceedDebitValueHardCap: boolean; readonly isBelowRequiredCollateralRatio: boolean; @@ -6866,7 +7034,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 (635) */ + /** @name ModuleEmergencyShutdownModuleError (644) */ interface ModuleEmergencyShutdownModuleError extends Enum { readonly isAlreadyShutdown: boolean; readonly isMustAfterShutdown: boolean; @@ -6876,13 +7044,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'AlreadyShutdown' | 'MustAfterShutdown' | 'CanNotRefund' | 'ExistPotentialSurplus' | 'ExistUnhandledDebit'; } - /** @name ModuleHomaModuleStakingLedger (636) */ + /** @name ModuleHomaModuleStakingLedger (645) */ interface ModuleHomaModuleStakingLedger extends Struct { readonly bonded: Compact; readonly unlocking: Vec; } - /** @name ModuleHomaModuleError (640) */ + /** @name ModuleHomaModuleError (649) */ interface ModuleHomaModuleError extends Enum { readonly isBelowMintThreshold: boolean; readonly isBelowRedeemThreshold: boolean; @@ -6896,13 +7064,45 @@ declare module '@polkadot/types/lookup' { readonly type: 'BelowMintThreshold' | 'BelowRedeemThreshold' | 'ExceededStakingCurrencySoftCap' | 'InsufficientUnclaimedRedemption' | 'OutdatedEraIndex' | 'FastMatchIsNotAllowed' | 'CannotCompletelyFastMatch' | 'InvalidRate' | 'InvalidLastEraBumpedBlock'; } - /** @name ModuleXcmInterfaceModuleError (642) */ + /** @name ModuleXcmInterfaceModuleError (651) */ interface ModuleXcmInterfaceModuleError extends Enum { readonly isXcmFailed: boolean; readonly type: 'XcmFailed'; } - /** @name ModuleIncentivesModuleError (644) */ + /** @name ModuleHomaValidatorListGuarantee (653) */ + interface ModuleHomaValidatorListGuarantee extends Struct { + readonly total: u128; + readonly bonded: u128; + readonly unbonding: Option>; + } + + /** @name ModuleHomaValidatorListValidatorBacking (656) */ + interface ModuleHomaValidatorListValidatorBacking extends Struct { + readonly totalInsurance: u128; + readonly isFrozen: bool; + } + + /** @name ModuleHomaValidatorListModuleError (657) */ + interface ModuleHomaValidatorListModuleError extends Enum { + readonly isBelowMinBondAmount: boolean; + readonly isUnbondingExists: boolean; + readonly isFrozenValidator: boolean; + readonly type: 'BelowMinBondAmount' | 'UnbondingExists' | 'FrozenValidator'; + } + + /** @name ModuleNomineesElectionModuleError (660) */ + interface ModuleNomineesElectionModuleError extends Enum { + readonly isBelowMinBondThreshold: boolean; + readonly isInvalidTargetsLength: boolean; + readonly isMaxUnlockChunksExceeded: boolean; + readonly isInvalidNominee: boolean; + readonly isNominateesCountExceeded: boolean; + readonly isNotBonded: boolean; + readonly type: 'BelowMinBondThreshold' | 'InvalidTargetsLength' | 'MaxUnlockChunksExceeded' | 'InvalidNominee' | 'NominateesCountExceeded' | 'NotBonded'; + } + + /** @name ModuleIncentivesModuleError (662) */ interface ModuleIncentivesModuleError extends Enum { readonly isNotEnough: boolean; readonly isInvalidCurrencyId: boolean; @@ -6911,7 +7111,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'NotEnough' | 'InvalidCurrencyId' | 'InvalidPoolId' | 'InvalidRate'; } - /** @name ModuleNftModuleError (645) */ + /** @name ModuleNftModuleError (663) */ interface ModuleNftModuleError extends Enum { readonly isClassIdNotFound: boolean; readonly isTokenIdNotFound: boolean; @@ -6927,7 +7127,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ClassIdNotFound' | 'TokenIdNotFound' | 'NoPermission' | 'InvalidQuantity' | 'NonTransferable' | 'NonBurnable' | 'NonMintable' | 'CannotDestroyClass' | 'Immutable' | 'AttributesTooLarge' | 'IncorrectTokenId'; } - /** @name ModuleAssetRegistryModuleError (646) */ + /** @name ModuleAssetRegistryModuleError (664) */ interface ModuleAssetRegistryModuleError extends Enum { readonly isBadLocation: boolean; readonly isLocationExisted: boolean; @@ -6936,26 +7136,26 @@ declare module '@polkadot/types/lookup' { readonly type: 'BadLocation' | 'LocationExisted' | 'AssetIdNotExists' | 'AssetIdExisted'; } - /** @name ModuleEvmModuleAccountInfo (647) */ + /** @name ModuleEvmModuleAccountInfo (665) */ interface ModuleEvmModuleAccountInfo extends Struct { readonly nonce: u32; readonly contractInfo: Option; } - /** @name ModuleEvmModuleContractInfo (649) */ + /** @name ModuleEvmModuleContractInfo (667) */ interface ModuleEvmModuleContractInfo extends Struct { readonly codeHash: H256; readonly maintainer: H160; readonly published: bool; } - /** @name ModuleEvmModuleCodeInfo (652) */ + /** @name ModuleEvmModuleCodeInfo (670) */ interface ModuleEvmModuleCodeInfo extends Struct { readonly codeSize: u32; readonly refCount: u32; } - /** @name ModuleEvmModuleError (653) */ + /** @name ModuleEvmModuleError (671) */ interface ModuleEvmModuleError extends Enum { readonly isAddressNotMapped: boolean; readonly isContractNotFound: boolean; @@ -6977,7 +7177,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 (654) */ + /** @name ModuleEvmBridgeModuleError (672) */ interface ModuleEvmBridgeModuleError extends Enum { readonly isExecutionFail: boolean; readonly isExecutionRevert: boolean; @@ -6987,7 +7187,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'ExecutionFail' | 'ExecutionRevert' | 'ExecutionFatal' | 'ExecutionError' | 'InvalidReturnValue'; } - /** @name ModuleEvmAccountsModuleError (655) */ + /** @name ModuleEvmAccountsModuleError (673) */ interface ModuleEvmAccountsModuleError extends Enum { readonly isAccountIdHasMapped: boolean; readonly isEthAddressHasMapped: boolean; @@ -6997,7 +7197,7 @@ declare module '@polkadot/types/lookup' { readonly type: 'AccountIdHasMapped' | 'EthAddressHasMapped' | 'BadSignature' | 'InvalidSignature' | 'NonZeroRefCount'; } - /** @name NutsfinanceStableAssetStableAssetPoolInfo (656) */ + /** @name NutsfinanceStableAssetStableAssetPoolInfo (674) */ interface NutsfinanceStableAssetStableAssetPoolInfo extends Struct { readonly poolAsset: AcalaPrimitivesCurrencyCurrencyId; readonly assets: Vec; @@ -7017,7 +7217,7 @@ declare module '@polkadot/types/lookup' { readonly precision: u128; } - /** @name NutsfinanceStableAssetError (657) */ + /** @name NutsfinanceStableAssetError (675) */ interface NutsfinanceStableAssetError extends Enum { readonly isInconsistentStorage: boolean; readonly isInvalidPoolAsset: boolean; @@ -7033,47 +7233,47 @@ declare module '@polkadot/types/lookup' { readonly type: 'InconsistentStorage' | 'InvalidPoolAsset' | 'ArgumentsMismatch' | 'ArgumentsError' | 'PoolNotFound' | 'Math' | 'InvalidPoolValue' | 'MintUnderMin' | 'SwapUnderMin' | 'RedeemUnderMin' | 'RedeemOverMax'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (659) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentAncestor (677) */ interface CumulusPalletParachainSystemUnincludedSegmentAncestor extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly paraHeadHash: Option; readonly consumedGoAheadSignal: Option; } - /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (660) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth (678) */ interface CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth extends Struct { readonly umpMsgCount: u32; readonly umpTotalBytes: u32; readonly hrmpOutgoing: BTreeMap; } - /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (662) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate (680) */ interface CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate extends Struct { readonly msgCount: u32; readonly totalBytes: u32; } - /** @name PolkadotPrimitivesV6UpgradeGoAhead (666) */ + /** @name PolkadotPrimitivesV6UpgradeGoAhead (684) */ interface PolkadotPrimitivesV6UpgradeGoAhead extends Enum { readonly isAbort: boolean; readonly isGoAhead: boolean; readonly type: 'Abort' | 'GoAhead'; } - /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (667) */ + /** @name CumulusPalletParachainSystemUnincludedSegmentSegmentTracker (685) */ interface CumulusPalletParachainSystemUnincludedSegmentSegmentTracker extends Struct { readonly usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth; readonly hrmpWatermark: Option; readonly consumedGoAheadSignal: Option; } - /** @name PolkadotPrimitivesV6UpgradeRestriction (669) */ + /** @name PolkadotPrimitivesV6UpgradeRestriction (687) */ interface PolkadotPrimitivesV6UpgradeRestriction extends Enum { readonly isPresent: boolean; readonly type: 'Present'; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (670) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot (688) */ interface CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot extends Struct { readonly dmqMqcHead: H256; readonly relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity; @@ -7081,13 +7281,13 @@ declare module '@polkadot/types/lookup' { readonly egressChannels: Vec>; } - /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (671) */ + /** @name CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity (689) */ interface CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity extends Struct { readonly remainingCount: u32; readonly remainingSize: u32; } - /** @name PolkadotPrimitivesV6AbridgedHrmpChannel (674) */ + /** @name PolkadotPrimitivesV6AbridgedHrmpChannel (692) */ interface PolkadotPrimitivesV6AbridgedHrmpChannel extends Struct { readonly maxCapacity: u32; readonly maxTotalSize: u32; @@ -7097,7 +7297,7 @@ declare module '@polkadot/types/lookup' { readonly mqcHead: Option; } - /** @name PolkadotPrimitivesV6AbridgedHostConfiguration (675) */ + /** @name PolkadotPrimitivesV6AbridgedHostConfiguration (693) */ interface PolkadotPrimitivesV6AbridgedHostConfiguration extends Struct { readonly maxCodeSize: u32; readonly maxHeadDataSize: u32; @@ -7111,19 +7311,19 @@ declare module '@polkadot/types/lookup' { readonly asyncBackingParams: PolkadotPrimitivesV6AsyncBackingAsyncBackingParams; } - /** @name PolkadotPrimitivesV6AsyncBackingAsyncBackingParams (676) */ + /** @name PolkadotPrimitivesV6AsyncBackingAsyncBackingParams (694) */ interface PolkadotPrimitivesV6AsyncBackingAsyncBackingParams extends Struct { readonly maxCandidateDepth: u32; readonly allowedAncestryLen: u32; } - /** @name PolkadotCorePrimitivesOutboundHrmpMessage (682) */ + /** @name PolkadotCorePrimitivesOutboundHrmpMessage (700) */ interface PolkadotCorePrimitivesOutboundHrmpMessage extends Struct { readonly recipient: u32; readonly data: Bytes; } - /** @name CumulusPalletParachainSystemError (683) */ + /** @name CumulusPalletParachainSystemError (701) */ interface CumulusPalletParachainSystemError extends Enum { readonly isOverlappingUpgrades: boolean; readonly isProhibitedByPolkadot: boolean; @@ -7136,45 +7336,45 @@ declare module '@polkadot/types/lookup' { readonly type: 'OverlappingUpgrades' | 'ProhibitedByPolkadot' | 'TooBig' | 'ValidationDataNotAvailable' | 'HostConfigurationNotAvailable' | 'NotScheduled' | 'NothingAuthorized' | 'Unauthorized'; } - /** @name PalletSudoError (684) */ + /** @name PalletSudoError (702) */ interface PalletSudoError extends Enum { readonly isRequireSudo: boolean; readonly type: 'RequireSudo'; } - /** @name FrameSystemExtensionsCheckNonZeroSender (687) */ + /** @name FrameSystemExtensionsCheckNonZeroSender (705) */ type FrameSystemExtensionsCheckNonZeroSender = Null; - /** @name FrameSystemExtensionsCheckSpecVersion (688) */ + /** @name FrameSystemExtensionsCheckSpecVersion (706) */ type FrameSystemExtensionsCheckSpecVersion = Null; - /** @name FrameSystemExtensionsCheckTxVersion (689) */ + /** @name FrameSystemExtensionsCheckTxVersion (707) */ type FrameSystemExtensionsCheckTxVersion = Null; - /** @name FrameSystemExtensionsCheckGenesis (690) */ + /** @name FrameSystemExtensionsCheckGenesis (708) */ type FrameSystemExtensionsCheckGenesis = Null; - /** @name RuntimeCommonCheckNonce (693) */ + /** @name RuntimeCommonCheckNonce (711) */ interface RuntimeCommonCheckNonce extends Struct { readonly nonce: Compact; } - /** @name FrameSystemExtensionsCheckWeight (694) */ + /** @name FrameSystemExtensionsCheckWeight (712) */ type FrameSystemExtensionsCheckWeight = Null; - /** @name ModuleEvmSetEvmOrigin (695) */ + /** @name ModuleEvmSetEvmOrigin (713) */ type ModuleEvmSetEvmOrigin = Null; - /** @name ModuleTransactionPaymentChargeTransactionPayment (696) */ + /** @name ModuleTransactionPaymentChargeTransactionPayment (714) */ interface ModuleTransactionPaymentChargeTransactionPayment extends Compact {} - /** @name AcalaRuntimeStorageDepositPerByte (697) */ + /** @name AcalaRuntimeStorageDepositPerByte (715) */ type AcalaRuntimeStorageDepositPerByte = Null; - /** @name AcalaRuntimeTxFeePerGas (698) */ + /** @name AcalaRuntimeTxFeePerGas (716) */ type AcalaRuntimeTxFeePerGas = Null; - /** @name AcalaPrimitivesSignatureAcalaMultiSignature (700) */ + /** @name AcalaPrimitivesSignatureAcalaMultiSignature (718) */ interface AcalaPrimitivesSignatureAcalaMultiSignature extends Enum { readonly isEd25519: boolean; readonly asEd25519: SpCoreEd25519Signature; @@ -7193,13 +7393,13 @@ declare module '@polkadot/types/lookup' { readonly type: 'Ed25519' | 'Sr25519' | 'Ecdsa' | 'Ethereum' | 'Eip1559' | 'AcalaEip712' | 'Eip2930'; } - /** @name SpCoreEd25519Signature (701) */ + /** @name SpCoreEd25519Signature (719) */ interface SpCoreEd25519Signature extends U8aFixed {} - /** @name SpCoreSr25519Signature (703) */ + /** @name SpCoreSr25519Signature (721) */ interface SpCoreSr25519Signature extends U8aFixed {} - /** @name SpCoreEcdsaSignature (704) */ + /** @name SpCoreEcdsaSignature (722) */ interface SpCoreEcdsaSignature extends U8aFixed {} } // declare module diff --git a/yarn.lock b/yarn.lock index 2521f00..e417a0e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,7 @@ __metadata: "@acala-network/types": 6.1.2 typescript: ^5.0.4 peerDependencies: - "@polkadot/api": ^10.9.1 + "@polkadot/api": ^12 languageName: unknown linkType: soft @@ -31,7 +31,7 @@ __metadata: "@acala-network/types": 6.1.2 typescript: ^5.0.4 peerDependencies: - "@polkadot/api": ^10.9.1 + "@polkadot/api": ^12 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": ^10.9.1 + "@polkadot/typegen": ^12.2.1 "@types/node": ^20.4.9 typescript: ^5.0.4 peerDependencies: - "@polkadot/api": ^10.9.1 + "@polkadot/api": ^12 languageName: unknown linkType: soft @@ -147,19 +147,19 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:1.1.0": - version: 1.1.0 - resolution: "@noble/curves@npm:1.1.0" +"@noble/curves@npm:^1.3.0": + version: 1.4.2 + resolution: "@noble/curves@npm:1.4.2" dependencies: - "@noble/hashes": 1.3.1 - checksum: 2658cdd3f84f71079b4e3516c47559d22cf4b55c23ac8ee9d2b1f8e5b72916d9689e59820e0f9d9cb4a46a8423af5b56dc6bb7782405c88be06a015180508db5 + "@noble/hashes": 1.4.0 + checksum: c475a83c4263e2c970eaba728895b9b5d67e0ca880651e9c6e3efdc5f6a4f07ceb5b043bf71c399fc80fada0b8706e69d0772bffdd7b9de2483b988973a34cba languageName: node linkType: hard -"@noble/hashes@npm:1.3.1": - version: 1.3.1 - resolution: "@noble/hashes@npm:1.3.1" - checksum: 7fdefc0f7a0c1ec27acc6ff88841793e3f93ec4ce6b8a6a12bfc0dd70ae6b7c4c82fe305fdfeda1735d5ad4a9eebe761e6693b3d355689c559e91242f4bc95b1 +"@noble/hashes@npm:1.4.0, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:^1.3.3": + version: 1.4.0 + resolution: "@noble/hashes@npm:1.4.0" + checksum: 8ba816ae26c90764b8c42493eea383716396096c5f7ba6bea559993194f49d80a73c081f315f4c367e51bd2d5891700bcdfa816b421d24ab45b41cb03e4f3342 languageName: node linkType: hard @@ -190,171 +190,235 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/api-augment@npm:10.9.1" +"@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 + languageName: node + linkType: hard + +"@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" dependencies: - "@polkadot/api-base": 10.9.1 - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: b0aeed5ebf640c58a252a29a33f12d4c39d0dcdf10b875501012c3b4b05955ed8be85efbf75e17ad237a561e1171821979ffdddf7e6a64cb0806badb2752c190 + "@polkadot-api/substrate-bindings": 0.0.1 + "@polkadot-api/utils": 0.0.1 + checksum: 7cf69e583e64f0ea1b90b141d9f61c4b0ba445daf87d4eba25bfcaa629c95cf4bbe6d89f5263dc495189fae0795c45810a004a2a8fbf59ece01ae71e1e049f17 languageName: node linkType: hard -"@polkadot/api-base@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/api-base@npm:10.9.1" +"@polkadot-api/observable-client@npm:0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/observable-client@npm:0.1.0" dependencies: - "@polkadot/rpc-core": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/util": ^12.3.1 - rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: a761f4ade747a295c16b7e6f24c1bb93e1736aa7fa9f1cb3c651c84d02a99cc62658e83326fa339882423966a55bf0046b74a69a1a4e4567c8d6c1c4db4eb306 + "@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 + peerDependencies: + rxjs: ">=7.8.0" + checksum: 694ee405f40ce47eb8d23dd2fc68359a5016c54ac530893a76e772a2d6a1a7c09c3a11d772b7c196af4faa29e98a443849334b97c6bf91af616990b4c7834caa languageName: node linkType: hard -"@polkadot/api-derive@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/api-derive@npm:10.9.1" - dependencies: - "@polkadot/api": 10.9.1 - "@polkadot/api-augment": 10.9.1 - "@polkadot/api-base": 10.9.1 - "@polkadot/rpc-core": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 +"@polkadot-api/substrate-bindings@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-bindings@npm:0.0.1" + dependencies: + "@noble/hashes": ^1.3.1 + "@polkadot-api/utils": 0.0.1 + "@scure/base": ^1.1.1 + scale-ts: ^1.6.0 + checksum: fc49e49ffe749fc6fab49eee1d10d47fcd1fa3a9b6ca4e7bbde4e9741b9e062cd4e9271fd86a2525095ff36bf33b95d57c51efb88635bb60b2c77fa9e83b2cd6 + 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 + 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 + languageName: node + linkType: hard + +"@polkadot/api-augment@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/api-augment@npm:12.2.1" + 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 + languageName: node + linkType: hard + +"@polkadot/api-base@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/api-base@npm:12.2.1" + dependencies: + "@polkadot/rpc-core": 12.2.1 + "@polkadot/types": 12.2.1 + "@polkadot/util": ^13.0.2 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: 072a43bcc55787beb6c29afe0f011c03cdde3a9b6ac38d972d0b13ff93a1e14198d769a926edfd324c3947735dd8c8fcb7a61629409322230fd8559e7c17a1d7 + tslib: ^2.6.2 + checksum: 2faa213e9185e8686182323b4a5de222145131429aa8ddb728bf6833381b2906a76e99b6e53d4bd52009f1032be1c19362206c928f7f9779b7fe88443359a417 languageName: node linkType: hard -"@polkadot/api@npm:10.9.1, @polkadot/api@npm:^10.9.1": - version: 10.9.1 - resolution: "@polkadot/api@npm:10.9.1" - dependencies: - "@polkadot/api-augment": 10.9.1 - "@polkadot/api-base": 10.9.1 - "@polkadot/api-derive": 10.9.1 - "@polkadot/keyring": ^12.3.1 - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/rpc-core": 10.9.1 - "@polkadot/rpc-provider": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/types-known": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 +"@polkadot/api-derive@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/api-derive@npm:12.2.1" + 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 + 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 eventemitter3: ^5.0.1 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: 6b37d9bacf0599bb7c385ddefca929547299a6f1d242ce3215f8480672297c81ec30c251bc9aac3889c5956bd9ef3918d69364819861eec308f4aa347c08110d + tslib: ^2.6.2 + checksum: 758499b7cce7b8320f30561c976429c02232ed863ffd2f4a7737b11db604ec560d919e327ccec6c95a08ede17bbb4eeaca859f05d45ff64366fa00126887b9d4 languageName: node linkType: hard -"@polkadot/keyring@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/keyring@npm:12.3.2" +"@polkadot/keyring@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/keyring@npm:13.0.2" dependencies: - "@polkadot/util": 12.3.2 - "@polkadot/util-crypto": 12.3.2 - tslib: ^2.5.3 + "@polkadot/util": 13.0.2 + "@polkadot/util-crypto": 13.0.2 + tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.3.2 - "@polkadot/util-crypto": 12.3.2 - checksum: fa1238052ab6a93f4d97c0351e908ab866c128eb9089fe8829af4a4603be3d97dd964bb2b95c22248cfd120800bbc37aa93e03221ecca4f97c36818d452b44db + "@polkadot/util": 13.0.2 + "@polkadot/util-crypto": 13.0.2 + checksum: 334aaee396e3f624341ac87bbf9288b3ae0b7c5d8ef222741b802563b1ae88c47f2b8ec2a1989cd62403e1ae0261b4380218c5e112d8a44674cf432216f5c3bb languageName: node linkType: hard -"@polkadot/networks@npm:12.3.2, @polkadot/networks@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/networks@npm:12.3.2" +"@polkadot/networks@npm:13.0.2, @polkadot/networks@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/networks@npm:13.0.2" dependencies: - "@polkadot/util": 12.3.2 - "@substrate/ss58-registry": ^1.40.0 - tslib: ^2.5.3 - checksum: 54d5aa2a90b761a200bf0cf492f1c53cbbd555067f9486542997097640b0813e46675837e83225cee8ab4e816bcae12cdc046f07b5869930ab1e694b1e6e3cec + "@polkadot/util": 13.0.2 + "@substrate/ss58-registry": ^1.46.0 + tslib: ^2.6.2 + checksum: 4bc02ae6a95c0bf770ab2ba99af59013665edf4e759a228148289859dcc171be61d93359f6846a5d248707eb215bcbf2ca69ae9f63eb1720caa38ceb3dab7587 languageName: node linkType: hard -"@polkadot/rpc-augment@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/rpc-augment@npm:10.9.1" +"@polkadot/rpc-augment@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/rpc-augment@npm:12.2.1" dependencies: - "@polkadot/rpc-core": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: 4f7b090be6d88ef6a56679a80da856bf007994e2142e16fbac6030132789b5a2411421650935ed4b18334afca399edfc0387135731836c6d9f8420acf510f11b + "@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 languageName: node linkType: hard -"@polkadot/rpc-core@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/rpc-core@npm:10.9.1" +"@polkadot/rpc-core@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/rpc-core@npm:12.2.1" dependencies: - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/rpc-provider": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/util": ^12.3.1 + "@polkadot/rpc-augment": 12.2.1 + "@polkadot/rpc-provider": 12.2.1 + "@polkadot/types": 12.2.1 + "@polkadot/util": ^13.0.2 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: 538a207f5d321b4b18b0580da438598dd78e496dbc7069a776abcc39ede36903981ba2b9897eea73ecfe2f48a4d0cbd5b5cd738b3184f5c333709e6f4603f22a + tslib: ^2.6.2 + checksum: 8cc792752287e772ed892be664cab9bc4b006b9b723aeebab0c5a34da19009e7ffa1738aa7f2949e278ea9fff9b3acfa5131ec1b597796484b5aba7e701dbc53 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/rpc-provider@npm:10.9.1" - dependencies: - "@polkadot/keyring": ^12.3.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-support": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 - "@polkadot/x-fetch": ^12.3.1 - "@polkadot/x-global": ^12.3.1 - "@polkadot/x-ws": ^12.3.1 - "@substrate/connect": 0.7.26 +"@polkadot/rpc-provider@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/rpc-provider@npm:12.2.1" + 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 eventemitter3: ^5.0.1 - mock-socket: ^9.2.1 - nock: ^13.3.1 - tslib: ^2.5.3 + mock-socket: ^9.3.1 + nock: ^13.5.0 + tslib: ^2.6.2 dependenciesMeta: "@substrate/connect": optional: true - checksum: 4521ba64a1e69ed323910796a4598755e8101704aae3be33b6c363be4ebb9ea1a99ced17b8cd9fa3ab15abf5900e1055279f532f47b8472e8a143a299bfa046d - languageName: node - linkType: hard - -"@polkadot/typegen@npm:^10.9.1": - version: 10.9.1 - resolution: "@polkadot/typegen@npm:10.9.1" - dependencies: - "@polkadot/api": 10.9.1 - "@polkadot/api-augment": 10.9.1 - "@polkadot/rpc-augment": 10.9.1 - "@polkadot/rpc-provider": 10.9.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/types-support": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 - "@polkadot/x-ws": ^12.3.1 - handlebars: ^4.7.7 - tslib: ^2.5.3 + 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 + handlebars: ^4.7.8 + tslib: ^2.6.2 yargs: ^17.7.2 bin: polkadot-types-chain-info: scripts/polkadot-types-chain-info.mjs @@ -362,302 +426,327 @@ __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: e45e8cbf8a4361e8e5e271597fb2337664e537012d3c2d30b59a75d6932b41ee0a4301abfcdaacbcf7f8371acc6a48faa0c1a6a15e679783697a04ddcc228ca8 + checksum: b5d5a414f9fb08d4f45699a3be15d3603993911bc6251cbbf2bf6a4c1213d40b311ed133f85717267aae302fdc35ecdfbf267688eb60f3b55abbb47604173aea languageName: node linkType: hard -"@polkadot/types-augment@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-augment@npm:10.9.1" +"@polkadot/types-augment@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/types-augment@npm:12.2.1" dependencies: - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: d643f83ab0a9498267037d95b878fa4e3b0087882195c3bd609038e8c934a092d9c82f7164ac97989305805aabe0d9186736c50a372498c81c22b3d7f4cfcccb + "@polkadot/types": 12.2.1 + "@polkadot/types-codec": 12.2.1 + "@polkadot/util": ^13.0.2 + tslib: ^2.6.2 + checksum: 1481ef2051838c659f5d4cc0105343bd67dc9a14f2de9ba44ee32b9679eeb0475ae53721cac69358178f58b57fc8d07d167075886003b0f01d486be3568c9392 languageName: node linkType: hard -"@polkadot/types-codec@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-codec@npm:10.9.1" +"@polkadot/types-codec@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/types-codec@npm:12.2.1" dependencies: - "@polkadot/util": ^12.3.1 - "@polkadot/x-bigint": ^12.3.1 - tslib: ^2.5.3 - checksum: ac11b770fa4328f55daf6dd78fc8fc4d6906fb0d4b2bf92eaece58332c74f2b178d598a310a6dd068c72856acefddf5f7d23cac56991fa12f61d6853fb73d582 + "@polkadot/util": ^13.0.2 + "@polkadot/x-bigint": ^13.0.2 + tslib: ^2.6.2 + checksum: 6780dc0ffdd6a954ff6c50161b2dc0bc14840c4c58adcab7aef3d56cfa2bb58a9ee79ee5a972c0c430b5afb34200d2a7fdfa9911cf78d2333998e3ba45456caf languageName: node linkType: hard -"@polkadot/types-create@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-create@npm:10.9.1" +"@polkadot/types-create@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/types-create@npm:12.2.1" dependencies: - "@polkadot/types-codec": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: 43f8fbd70a7891d6b49f1edb00b4a918c21924f2c1e44eb81ef7c9327e1fcc7eac65dbc2a9d0e3ba49079fdddda5498115e47f5fd99ec2a91f79c7f305bf553a + "@polkadot/types-codec": 12.2.1 + "@polkadot/util": ^13.0.2 + tslib: ^2.6.2 + checksum: c6d0058b70a0d23e50808432dd4243483a299a77cde6fc5ad70bee9dab924b99019c4a8e86ffed3f2e61fafffa7d803d1113cbf102f03c2a4e9110f6c8456e92 languageName: node linkType: hard -"@polkadot/types-known@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-known@npm:10.9.1" +"@polkadot/types-known@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/types-known@npm:12.2.1" dependencies: - "@polkadot/networks": ^12.3.1 - "@polkadot/types": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: 8a3dd0dead1759112b9011c5ff47bf9fa0f5a00d0d5cba841d724494a9434a2f565fad8ab654ae8cc3949a10c28f3966034bfc23e493b7cc373d3532de508953 + "@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 languageName: node linkType: hard -"@polkadot/types-support@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types-support@npm:10.9.1" +"@polkadot/types-support@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/types-support@npm:12.2.1" dependencies: - "@polkadot/util": ^12.3.1 - tslib: ^2.5.3 - checksum: f5df33f215f529c33d4fd7ad7d6877a4567954488971c2986da416b6578ccb6d5c6eeadab4602abe0e3ce17373cdd6de0ce6f09529852b6e2fd6bc28b9183f9b + "@polkadot/util": ^13.0.2 + tslib: ^2.6.2 + checksum: 7dcc139f94dd34a6f58d8ff170d5a5d89eae7ca231a8d13bab7afd5d4a8db18a59165a12c16629df78af1202099536078c37df278eb632b18075ccf3cbbfdeec languageName: node linkType: hard -"@polkadot/types@npm:10.9.1": - version: 10.9.1 - resolution: "@polkadot/types@npm:10.9.1" - dependencies: - "@polkadot/keyring": ^12.3.1 - "@polkadot/types-augment": 10.9.1 - "@polkadot/types-codec": 10.9.1 - "@polkadot/types-create": 10.9.1 - "@polkadot/util": ^12.3.1 - "@polkadot/util-crypto": ^12.3.1 +"@polkadot/types@npm:12.2.1": + version: 12.2.1 + resolution: "@polkadot/types@npm:12.2.1" + 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 rxjs: ^7.8.1 - tslib: ^2.5.3 - checksum: c9b0873b52f33c5d7913bc1e474c67d797411ac592c10af987dfecfee7480aeda02b9fc100ff506bc8af704a7fc239162a8ec7eec580e2e7a62ac7f7b95f3900 + tslib: ^2.6.2 + checksum: be5be5d851dd63ac00fd42907d923d929cd6dca96f671284d34b9fabb75e7b987fa6be5cc74ebaae19cc541827e8b7e6f32e5b980cbf3dbb9b7404b1a0773d73 languageName: node linkType: hard -"@polkadot/util-crypto@npm:12.3.2, @polkadot/util-crypto@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/util-crypto@npm:12.3.2" +"@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" dependencies: - "@noble/curves": 1.1.0 - "@noble/hashes": 1.3.1 - "@polkadot/networks": 12.3.2 - "@polkadot/util": 12.3.2 - "@polkadot/wasm-crypto": ^7.2.1 - "@polkadot/wasm-util": ^7.2.1 - "@polkadot/x-bigint": 12.3.2 - "@polkadot/x-randomvalues": 12.3.2 - "@scure/base": 1.1.1 - tslib: ^2.5.3 + "@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 peerDependencies: - "@polkadot/util": 12.3.2 - checksum: 5c4053b4172ce138b4df5d61dc83905759fde6816ddf1d1aea7389bf4e9bba6d0a110e356eb9a3d76065393b787eb9797428966a1da36bb3b13567bdb67d5671 + "@polkadot/util": 13.0.2 + checksum: 025bb2179d77b73dd8af775192627fe31e985e365fbecf38d7903a663aa11b703fa3f23fbb65e53d0a9710cc087e0cb9a113b0a660d8e9b36de21c36c1bc40d7 languageName: node linkType: hard -"@polkadot/util@npm:12.3.2, @polkadot/util@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/util@npm:12.3.2" +"@polkadot/util@npm:13.0.2, @polkadot/util@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/util@npm:13.0.2" dependencies: - "@polkadot/x-bigint": 12.3.2 - "@polkadot/x-global": 12.3.2 - "@polkadot/x-textdecoder": 12.3.2 - "@polkadot/x-textencoder": 12.3.2 - "@types/bn.js": ^5.1.1 + "@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 bn.js: ^5.2.1 - tslib: ^2.5.3 - checksum: 53b5ac58bbae5d3aa867e0f1483fc0fd40e811919e573051225ab32e031ab81649be0f969ecb7c7a094c588f381d8ec1fa67160a65e3e2ef2180afe5677136cc + tslib: ^2.6.2 + checksum: c7d71898395d2e9fb994ed53be10e9b44e9cb6f6bd502ce31a48848dda032a9e3f462a6039759798023425c6e17d5a7515784f0a8c0ab74c1a0a2691b0ef3660 languageName: node linkType: hard -"@polkadot/wasm-bridge@npm:7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-bridge@npm:7.2.1" +"@polkadot/wasm-bridge@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-bridge@npm:7.3.2" dependencies: - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 6f4d255665f6c1552df9abcf8e99ee36b220c446c74e4da7ac21f3c578c3736695db41e816ef83226d98231c535df8daea6d2266c3090bdd8e7609fa87447de9 + checksum: 8c68b78cbd62347ebdf3fa66f2ffd1f7e883df71d770f5099ff652b083a79f1d7e9e7826a6acd8e986e9da0b07c0170a3f77b6a35726c6b24d856e3f8d08d201 languageName: node linkType: hard -"@polkadot/wasm-crypto-asmjs@npm:7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto-asmjs@npm:7.2.1" +"@polkadot/wasm-crypto-asmjs@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-asmjs@npm:7.3.2" dependencies: - tslib: ^2.5.0 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: 9d7f2ac6f73cc2ed390941a35426763c73e6f20374eb11ed60b880a6f716c2773cb1fe1cddb9416ab669c75b25b7d99be25c8c91886bb676d6faf9b4658f8fd7 + checksum: 669ea001565301f9b1a8feecb0e301c854fc318e5605316b57be7e83d717e7ee8ac460001cd44b18075a3d028c32c4a605c0e0e2e95ae00865282321b009ed26 languageName: node linkType: hard -"@polkadot/wasm-crypto-init@npm:7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto-init@npm:7.2.1" +"@polkadot/wasm-crypto-init@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-init@npm:7.3.2" dependencies: - "@polkadot/wasm-bridge": 7.2.1 - "@polkadot/wasm-crypto-asmjs": 7.2.1 - "@polkadot/wasm-crypto-wasm": 7.2.1 - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 + "@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 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: 97105a9e846e97d9d678526e5dd1b491cd71e705c759a8ace9e0e9a54aa045b2b512bdcdd524ea6684963b6cb0fc0a44043d2198bc680c893e1feaaf4d860e76 + checksum: af7bc62bba16f1fbbfd76601ecf18ed8f4dfc685807e2e89ef8e8d02f824d1a1ed1635e9c2448c6c12a9a183192b18943f9ce077d6b7781c4d43cdb5c45c9161 languageName: node linkType: hard -"@polkadot/wasm-crypto-wasm@npm:7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto-wasm@npm:7.2.1" +"@polkadot/wasm-crypto-wasm@npm:7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto-wasm@npm:7.3.2" dependencies: - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 + "@polkadot/wasm-util": 7.3.2 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: f000fab2fc682a4d4d2029b483701a64091b9be0d75df82f3337a48d65ffdac8d76c828f46810cb5aae6b9ec77bdf3963ae8b8668106ea9e5c0c19f57637655d + checksum: e112ea3d4f8858a95fdaad47341b422db3db3256b7e7d709d1c3e0bc4c4bbdf81028eaa556b688078b32ff15be33af093b903c680f54eb1552072afede621a6a languageName: node linkType: hard -"@polkadot/wasm-crypto@npm:^7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-crypto@npm:7.2.1" +"@polkadot/wasm-crypto@npm:^7.3.2": + version: 7.3.2 + resolution: "@polkadot/wasm-crypto@npm:7.3.2" dependencies: - "@polkadot/wasm-bridge": 7.2.1 - "@polkadot/wasm-crypto-asmjs": 7.2.1 - "@polkadot/wasm-crypto-init": 7.2.1 - "@polkadot/wasm-crypto-wasm": 7.2.1 - "@polkadot/wasm-util": 7.2.1 - tslib: ^2.5.0 + "@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 peerDependencies: "@polkadot/util": "*" "@polkadot/x-randomvalues": "*" - checksum: f42f2bc34cf76d1438893f72a233080196c9a95dd3c53444f582150c7f56b75c80b8b8b9b4a3d9015438a6f7438c6e40def46b1fe7ce3a367bcd280f2bf29c98 + checksum: 574006cdcc3e76af28cc79102726a79fdcd765ca5b45cbc4807d70917d82131b59f50b5cc07bd165b2863ed131b8764fef74b00c68ba5ec30a21c04c72061f8f languageName: node linkType: hard -"@polkadot/wasm-util@npm:7.2.1, @polkadot/wasm-util@npm:^7.2.1": - version: 7.2.1 - resolution: "@polkadot/wasm-util@npm:7.2.1" +"@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" dependencies: - tslib: ^2.5.0 + tslib: ^2.6.2 peerDependencies: "@polkadot/util": "*" - checksum: 8df30296664807c27b01d37a3e9f124fdc22aef61e633b1a538a7c533f485a2aa756c43e67aac8d0c8383273432783b78e5528c5bc1ffcf508e7faaa5009e618 + checksum: 44bd445043714aac6d184ce02d62fbdb97a117fd4d8bdbf3f2c1d14f6911a7d87ed6bb4682035eb757524ade995f7f4f8aaa07c8a194f761884ded25a6b383a9 languageName: node linkType: hard -"@polkadot/x-bigint@npm:12.3.2, @polkadot/x-bigint@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-bigint@npm:12.3.2" +"@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" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - checksum: 0c88e28f1072cd2e5bc0efa3b8ede13f1084c8d56bb78a91f031ee128e572a5f74faa99c22be64182950194647a2081899dcfaa7e7ab16bbb3f9b9761515eb85 + "@polkadot/x-global": 13.0.2 + tslib: ^2.6.2 + checksum: a1c9d9ab3aa27f7a68a879c76cea38ca4757ae4802c6d2a7402dbfbf31468c4dd3c4f1e852e62c0a1bff18889fccac1ccbc38649bf96e9473948ea7d7c2899f3 languageName: node linkType: hard -"@polkadot/x-fetch@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-fetch@npm:12.3.2" +"@polkadot/x-fetch@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-fetch@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.3.2 - node-fetch: ^3.3.1 - tslib: ^2.5.3 - checksum: 063bae74b5c197c5b2c603cc761aa830fe96a196d8cc0d9bc428670d1d0fa44d053d96b463783a9d989ec1032bda6397cb4f8772e65fed9d5f1089d04d7b54dc + "@polkadot/x-global": 13.0.2 + node-fetch: ^3.3.2 + tslib: ^2.6.2 + checksum: 459948a2b95601b0a39a7eb55277e80bd33e2df1ecab133dbe9823e020d3d5f2a64056911fc2072d0c328550c510e7e0ec45327b354530ae83306d536c616e29 languageName: node linkType: hard -"@polkadot/x-global@npm:12.3.2, @polkadot/x-global@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-global@npm:12.3.2" +"@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" dependencies: - tslib: ^2.5.3 - checksum: 85bd4a3e89bacdf8159fe505b875fad0ce8cfc5ba65377b14981166d973339a2fa3128582112af51dfecea4b68b0501a960056138110195b5bea69c3a8c88e11 + tslib: ^2.6.2 + checksum: b487bf2a15d77681efae5e928364526102cff48207a871662515c500404ae58d9d08df813fd675c8bf0a2744dbf4648db6a0fe927993e597e8391349295560c8 languageName: node linkType: hard -"@polkadot/x-randomvalues@npm:12.3.2": - version: 12.3.2 - resolution: "@polkadot/x-randomvalues@npm:12.3.2" +"@polkadot/x-randomvalues@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-randomvalues@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 + "@polkadot/x-global": 13.0.2 + tslib: ^2.6.2 peerDependencies: - "@polkadot/util": 12.3.2 + "@polkadot/util": 13.0.2 "@polkadot/wasm-util": "*" - checksum: 809e0429a0e6f285ad0e2bf0b7dbe1f8b05cc3aacb9f7d8593fd0702e2f23ef7e3aab861d1493528670712c03426b36aacecf43b6fc97cc4036ee1ae41fa04dc + checksum: 3968ca273ccdc3055466a8bdeae64141ef20dd5451f7fc750eaef28465460e41d28cdd4eadedf3b4ca94024c9ebae023a8a04eb946b9fd17a1ff9c105ebfe39c languageName: node linkType: hard -"@polkadot/x-textdecoder@npm:12.3.2": - version: 12.3.2 - resolution: "@polkadot/x-textdecoder@npm:12.3.2" +"@polkadot/x-textdecoder@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-textdecoder@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - checksum: d5b8810b325bad317e10f631f0d7c9c91e0db92ca37db7935e41569df8c926534aa4668a14b9b12d1d5263569239665bca8ad0089bf3b789a09dbf6f0303108f + "@polkadot/x-global": 13.0.2 + tslib: ^2.6.2 + checksum: 586c970c66a014471b5354d41a55aa6dbeaa4aec041153d294205d7f86f93cfb6cb5c274b6ef38b0923b515b531bc8608fea7cdc6116c6dc61c370d892b207e4 languageName: node linkType: hard -"@polkadot/x-textencoder@npm:12.3.2": - version: 12.3.2 - resolution: "@polkadot/x-textencoder@npm:12.3.2" +"@polkadot/x-textencoder@npm:13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-textencoder@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - checksum: c383fab93904f6c47f87b1b111a002542c701844c82a62ead6bbbd19f23b58f87ebd47ec8578de7ed18b45668b43491cc60e44c343b9d59e80696e5c9357e962 + "@polkadot/x-global": 13.0.2 + tslib: ^2.6.2 + checksum: b2db5ab0fd94b8a13816f028f9fb52e0f00c43df4a727c01911902b5fc11bec476b02b92aee5a98adabf4696907e828752c6e0eb9bece79f0440675e4eb030c9 languageName: node linkType: hard -"@polkadot/x-ws@npm:^12.3.1": - version: 12.3.2 - resolution: "@polkadot/x-ws@npm:12.3.2" +"@polkadot/x-ws@npm:^13.0.2": + version: 13.0.2 + resolution: "@polkadot/x-ws@npm:13.0.2" dependencies: - "@polkadot/x-global": 12.3.2 - tslib: ^2.5.3 - ws: ^8.13.0 - checksum: 7bb18ada56bb7d441c1392ec459959ff7cfc27fd57953898cb19682ea2fd323b68946102e4fe1c5eb1eb89fa62eb2d8ea7be03382ef9a473cd8c74d039b875d1 + "@polkadot/x-global": 13.0.2 + tslib: ^2.6.2 + ws: ^8.16.0 + checksum: c5aad76a3e121016dd740eddaf5601b2d98b7e568da51b6a0ffe4bced6dfb7373a15067d0c5c267e6daed40ea55014ef4b875c5eaf395c8b3fcd9e85047d2dd9 languageName: node linkType: hard -"@scure/base@npm:1.1.1": - version: 1.1.1 - resolution: "@scure/base@npm:1.1.1" - checksum: b4fc810b492693e7e8d0107313ac74c3646970c198bbe26d7332820886fa4f09441991023ec9aa3a2a51246b74409ab5ebae2e8ef148bbc253da79ac49130309 +"@scure/base@npm:^1.1.1, @scure/base@npm:^1.1.5": + version: 1.1.7 + resolution: "@scure/base@npm:1.1.7" + checksum: d9084be9a2f27971df1684af9e40bb750e86f549345e1bb3227fb61673c0c83569c92c1cb0a4ddccb32650b39d3cd3c145603b926ba751c9bc60c27317549b20 languageName: node linkType: hard -"@substrate/connect-extension-protocol@npm:^1.0.1": - version: 1.0.1 - resolution: "@substrate/connect-extension-protocol@npm:1.0.1" - checksum: 116dee587e81e832e14c25038bd849438c9493c6089aa6c1bf1760780d463880d44d362ed983d57ac3695368ac46f3c9df3dbaed92f36de89626c9735cecd1e4 +"@substrate/connect-extension-protocol@npm:^2.0.0": + version: 2.0.0 + resolution: "@substrate/connect-extension-protocol@npm:2.0.0" + checksum: a7c6ff3fefc0784f28b1d253514c1d2951684fe3d06392dfd70299fa2184fbe040d2bd6e0f113e30a1920920b649d43668aa4565847778ab3334c7e445e880cf languageName: node linkType: hard -"@substrate/connect@npm:0.7.26": - version: 0.7.26 - resolution: "@substrate/connect@npm:0.7.26" +"@substrate/connect-known-chains@npm:^1.1.4": + version: 1.1.9 + resolution: "@substrate/connect-known-chains@npm:1.1.9" + checksum: 26e2aaaf770993dbb826f03cb5175e0cc66383ad2a26898d3c4b6493cbd73b02d0c547dcbd1f808f8f0802cc2f84add11028cc565db638be449b0f00b60aa321 + languageName: node + linkType: hard + +"@substrate/connect@npm:0.8.10": + version: 0.8.10 + resolution: "@substrate/connect@npm:0.8.10" dependencies: - "@substrate/connect-extension-protocol": ^1.0.1 - eventemitter3: ^4.0.7 - smoldot: 1.0.4 - checksum: 3179d241f073318d5973deb61c9c8d9b89ae28909a594b6b9fbcdfffd030a70ba58e8428eaa9d72484810bad10c93de1ad9c440b878d0fcfaaf4559d2e6f4502 + "@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 languageName: node linkType: hard -"@substrate/ss58-registry@npm:^1.40.0": - version: 1.40.0 - resolution: "@substrate/ss58-registry@npm:1.40.0" - checksum: 474cb16b350e95fa7ca1020b70c6885c5c3d739472f506d175f24e9fd5a6d337d3c7e7a7fa44962199ed03fffb5d3b44b8af79a9811cb55ec34b3b75bb8e7f97 +"@substrate/light-client-extension-helpers@npm:^0.0.6": + version: 0.0.6 + resolution: "@substrate/light-client-extension-helpers@npm:0.0.6" + 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 + "@substrate/connect-extension-protocol": ^2.0.0 + "@substrate/connect-known-chains": ^1.1.4 + rxjs: ^7.8.1 + peerDependencies: + smoldot: 2.x + checksum: a0cc169e6edf56cdbfd839a32487e31ad0bcb4cc9d4d50bac632c16f95d6ebf54638b268c1f7b8e651482e201f38411139a90071bc91268a2c01e5b50f39f338 + 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 languageName: node linkType: hard @@ -689,12 +778,12 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.1": - version: 5.1.1 - resolution: "@types/bn.js@npm:5.1.1" +"@types/bn.js@npm:^5.1.5": + version: 5.1.5 + resolution: "@types/bn.js@npm:5.1.5" dependencies: "@types/node": "*" - checksum: e50ed2dd3abe997e047caf90e0352c71e54fc388679735217978b4ceb7e336e51477791b715f49fd77195ac26dd296c7bad08a3be9750e235f9b2e1edb1b51c2 + checksum: c87b28c4af74545624f8a3dae5294b16aa190c222626e8d4b2e327b33b1a3f1eeb43e7a24d914a9774bca43d8cd6e1cb0325c1f4b3a244af6693a024e1d918e6 languageName: node linkType: hard @@ -1520,13 +1609,6 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^4.0.7": - version: 4.0.7 - resolution: "eventemitter3@npm:4.0.7" - checksum: 1875311c42fcfe9c707b2712c32664a245629b42bb0a5a84439762dd0fd637fc54d078155ea83c2af9e0323c9ac13687e03cfba79b03af9f40c89b4960099374 - languageName: node - linkType: hard - "eventemitter3@npm:^5.0.1": version: 5.0.1 resolution: "eventemitter3@npm:5.0.1" @@ -1809,12 +1891,12 @@ __metadata: languageName: node linkType: hard -"handlebars@npm:^4.7.7": - version: 4.7.7 - resolution: "handlebars@npm:4.7.7" +"handlebars@npm:^4.7.8": + version: 4.7.8 + resolution: "handlebars@npm:4.7.8" dependencies: minimist: ^1.2.5 - neo-async: ^2.6.0 + neo-async: ^2.6.2 source-map: ^0.6.1 uglify-js: ^3.1.4 wordwrap: ^1.0.0 @@ -1823,7 +1905,7 @@ __metadata: optional: true bin: handlebars: bin/handlebars - checksum: 1e79a43f5e18d15742977cb987923eab3e2a8f44f2d9d340982bcb69e1735ed049226e534d7c1074eaddaf37e4fb4f471a8adb71cddd5bc8cf3f894241df5cee + checksum: 00e68bb5c183fd7b8b63322e6234b5ac8fbb960d712cb3f25587d559c2951d9642df83c04a1172c918c41bcfc81bfbd7a7718bbce93b893e0135fc99edea93ff languageName: node linkType: hard @@ -2196,13 +2278,6 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.21": - version: 4.17.21 - resolution: "lodash@npm:4.17.21" - checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 - languageName: node - linkType: hard - "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -2252,10 +2327,10 @@ __metadata: languageName: node linkType: hard -"mock-socket@npm:^9.2.1": - version: 9.2.1 - resolution: "mock-socket@npm:9.2.1" - checksum: daf07689563163dbcefbefe23b2a9784a75d0af31706f23ad535c6ab2abbcdefa2e91acddeb50a3c39009139e47a8f909cbb38e8137452193ccb9331637fee3e +"mock-socket@npm:^9.3.1": + version: 9.3.1 + resolution: "mock-socket@npm:9.3.1" + checksum: cb2dde4fc5dde280dd5ccb78eaaa223382ee16437f46b86558017655584ad08c22e733bde2dd5cc86927def506b6caeb0147e3167b9a62d70d5cf19d44103853 languageName: node linkType: hard @@ -2280,22 +2355,21 @@ __metadata: languageName: node linkType: hard -"neo-async@npm:^2.6.0": +"neo-async@npm:^2.6.2": version: 2.6.2 resolution: "neo-async@npm:2.6.2" checksum: deac9f8d00eda7b2e5cd1b2549e26e10a0faa70adaa6fdadca701cc55f49ee9018e427f424bac0c790b7c7e2d3068db97f3093f1093975f2acb8f8818b936ed9 languageName: node linkType: hard -"nock@npm:^13.3.1": - version: 13.3.1 - resolution: "nock@npm:13.3.1" +"nock@npm:^13.5.0": + version: 13.5.4 + resolution: "nock@npm:13.5.4" dependencies: debug: ^4.1.0 json-stringify-safe: ^5.0.1 - lodash: ^4.17.21 propagate: ^2.0.0 - checksum: 0f2a73e8432f6b5650656c53eef99f9e5bbde3df538dc2f07057edc4438cfc61a394c9d06dd82e60f6e86d42433f20f3c04364a1f088beee7bf03a24e3f0fdd0 + checksum: d31f924e34c87ae985edfb7b5a56e8a4dcfc3a072334ceb6d686326581f93090b3e23492663a64ce61b8df4f365b113231d926bc300bcfe9e5eb309c3e4b8628 languageName: node linkType: hard @@ -2306,14 +2380,14 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^3.3.1": - version: 3.3.1 - resolution: "node-fetch@npm:3.3.1" +"node-fetch@npm:^3.3.2": + version: 3.3.2 + resolution: "node-fetch@npm:3.3.2" dependencies: data-uri-to-buffer: ^4.0.0 fetch-blob: ^3.1.4 formdata-polyfill: ^4.0.10 - checksum: 62145fd3ba4770a76110bc31fdc0054ab2f5442b5ce96e9c4b39fc9e94a3d305560eec76e1165d9259eab866e02a8eecf9301062bb5dfc9f08a4d08b69d223dd + checksum: 06a04095a2ddf05b0830a0d5302699704d59bda3102894ea64c7b9d4c865ecdff2d90fd042df7f5bc40337266961cb6183dcc808ea4f3000d024f422b462da92 languageName: node linkType: hard @@ -2418,13 +2492,6 @@ __metadata: languageName: node linkType: hard -"pako@npm:^2.0.4": - version: 2.1.0 - resolution: "pako@npm:2.1.0" - checksum: 71666548644c9a4d056bcaba849ca6fd7242c6cf1af0646d3346f3079a1c7f4a66ffec6f7369ee0dc88f61926c10d6ab05da3e1fca44b83551839e89edd75a3e - languageName: node - linkType: hard - "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -2584,7 +2651,7 @@ __metadata: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/api": ^10.9.1 + "@polkadot/api": ^12 "@types/eslint": ^8 "@types/node": ^20.4.9 "@typescript-eslint/eslint-plugin": ^6.5.0 @@ -2639,6 +2706,13 @@ __metadata: languageName: node linkType: hard +"scale-ts@npm:^1.6.0": + version: 1.6.0 + resolution: "scale-ts@npm:1.6.0" + checksum: 2cd6d3e31ea78621fe2e068eedc3beb6a3cfc338c9033f04ec3e355b4b08e134febad655c54a80272a50737136a27436f9d14d6525b126e621a3b77524111056 + languageName: node + linkType: hard + "semver@npm:^6.3.1": version: 6.3.1 resolution: "semver@npm:6.3.1" @@ -2693,13 +2767,12 @@ __metadata: languageName: node linkType: hard -"smoldot@npm:1.0.4": - version: 1.0.4 - resolution: "smoldot@npm:1.0.4" +"smoldot@npm:2.0.22": + version: 2.0.22 + resolution: "smoldot@npm:2.0.22" dependencies: - pako: ^2.0.4 ws: ^8.8.1 - checksum: 81ecc38b98f7ac4dd093753e85956262608dca3c8a288c20a25fe1762a6afcdbe6f3622ea30a346df3f4145e0900ef0595e56e96e9e0de83c59f0649d1ab4786 + checksum: 383bc6a5481190d64302fad56e9e4120a484885aee5543b268887de425708f04e8b3b3b69893333dfd9fd0e596f006afaa7c7ee5ff260c5d2be929c60302d385 languageName: node linkType: hard @@ -2875,17 +2948,17 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.1.0, tslib@npm:^2.5.0": +"tslib@npm:^2.1.0": version: 2.5.0 resolution: "tslib@npm:2.5.0" checksum: ae3ed5f9ce29932d049908ebfdf21b3a003a85653a9a140d614da6b767a93ef94f460e52c3d787f0e4f383546981713f165037dc2274df212ea9f8a4541004e1 languageName: node linkType: hard -"tslib@npm:^2.5.3": - version: 2.6.1 - resolution: "tslib@npm:2.6.1" - checksum: b0d176d176487905b66ae4d5856647df50e37beea7571c53b8d10ba9222c074b81f1410fb91da13debaf2cbc970663609068bdebafa844ea9d69b146527c38fe +"tslib@npm:^2.6.2": + version: 2.6.3 + resolution: "tslib@npm:2.6.3" + checksum: 74fce0e100f1ebd95b8995fbbd0e6c91bdd8f4c35c00d4da62e285a3363aaa534de40a80db30ecfd388ed7c313c42d930ee0eaf108e8114214b180eec3dbe6f5 languageName: node linkType: hard @@ -3098,7 +3171,22 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.13.0, ws@npm:^8.8.1": +"ws@npm:^8.16.0": + version: 8.18.0 + resolution: "ws@npm:8.18.0" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 91d4d35bc99ff6df483bdf029b9ea4bfd7af1f16fc91231a96777a63d263e1eabf486e13a2353970efc534f9faa43bdbf9ee76525af22f4752cbc5ebda333975 + languageName: node + linkType: hard + +"ws@npm:^8.8.1": version: 8.13.0 resolution: "ws@npm:8.13.0" peerDependencies: