-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from logion-network/feature/upgrade-deps
chore: upgrade dependencies.
- Loading branch information
Showing
25 changed files
with
5,974 additions
and
1,456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
171 changes: 171 additions & 0 deletions
171
src/logion/lib/polkadot/interfaces/augment-api-consts.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit | ||
/* eslint-disable */ | ||
|
||
import type { ApiTypes } from '@polkadot/api-base/types'; | ||
import type { Vec, u16, u32, u8 } from '@polkadot/types-codec'; | ||
import type { Codec } from '@polkadot/types-codec/types'; | ||
import type { Balance, BalanceOf, BlockNumber, Moment, RuntimeDbWeight } from '@polkadot/types/interfaces/runtime'; | ||
import type { RuntimeVersion } from '@polkadot/types/interfaces/state'; | ||
import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; | ||
import type { BlockLength, BlockWeights } from '@polkadot/types/interfaces/system'; | ||
|
||
declare module '@polkadot/api-base/types/consts' { | ||
export interface AugmentedConsts<ApiType extends ApiTypes> { | ||
balances: { | ||
/** | ||
* The minimum amount required to keep an account open. | ||
**/ | ||
existentialDeposit: Balance & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[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. | ||
**/ | ||
depositBase: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* The amount of currency needed per unit threshold when creating a multisig execution. | ||
**/ | ||
depositFactor: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* The maximum amount of signatories allowed for a given multisig. | ||
**/ | ||
maxSignatories: u16 & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
nodeAuthorization: { | ||
/** | ||
* The maximum length in bytes of PeerId | ||
**/ | ||
maxPeerIdLength: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* The maximum number of authorized well known nodes | ||
**/ | ||
maxWellKnownNodes: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
proxy: { | ||
/** | ||
* `AnnouncementDepositBase` metadata shadow. | ||
**/ | ||
announcementDepositBase: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* `AnnouncementDepositFactor` metadata shadow. | ||
**/ | ||
announcementDepositFactor: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* `MaxPending` metadata shadow. | ||
**/ | ||
maxPending: u32 & AugmentedConst<ApiType>; | ||
/** | ||
* The maximum amount of proxies allowed for a single account. | ||
**/ | ||
maxProxies: u16 & AugmentedConst<ApiType>; | ||
/** | ||
* The base amount of currency needed to reserve for creating a proxy. | ||
**/ | ||
proxyDepositBase: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* The amount of currency needed per proxy added. | ||
**/ | ||
proxyDepositFactor: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
recovery: { | ||
/** | ||
* The base amount of currency needed to reserve for creating a recovery configuration. | ||
**/ | ||
configDepositBase: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* The amount of currency needed per additional user when creating a recovery configuration. | ||
**/ | ||
friendDepositFactor: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* The maximum amount of friends allowed in a recovery configuration. | ||
**/ | ||
maxFriends: u16 & AugmentedConst<ApiType>; | ||
/** | ||
* The base amount of currency needed to reserve for starting a recovery. | ||
**/ | ||
recoveryDeposit: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
system: { | ||
/** | ||
* Maximum number of block number to block hash mappings to keep (oldest pruned first). | ||
**/ | ||
blockHashCount: BlockNumber & AugmentedConst<ApiType>; | ||
/** | ||
* The maximum length of a block (in bytes). | ||
**/ | ||
blockLength: BlockLength & AugmentedConst<ApiType>; | ||
/** | ||
* Block & extrinsics weights: base values and limits. | ||
**/ | ||
blockWeights: BlockWeights & AugmentedConst<ApiType>; | ||
/** | ||
* The weight of runtime database operations the runtime can invoke. | ||
**/ | ||
dbWeight: RuntimeDbWeight & AugmentedConst<ApiType>; | ||
/** | ||
* The designated SS85 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: u8 & AugmentedConst<ApiType>; | ||
/** | ||
* Get the chain's current version. | ||
**/ | ||
version: RuntimeVersion & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
timestamp: { | ||
/** | ||
* The minimum period between blocks. Beware 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. e.g. For Aura, it will be double this | ||
* period on default settings. | ||
**/ | ||
minimumPeriod: Moment & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
transactionPayment: { | ||
/** | ||
* The fee to be paid for making a transaction; the per-byte portion. | ||
**/ | ||
transactionByteFee: BalanceOf & AugmentedConst<ApiType>; | ||
/** | ||
* The polynomial that is applied in order to derive fee from weight. | ||
**/ | ||
weightToFee: Vec<WeightToFeeCoefficient> & AugmentedConst<ApiType>; | ||
/** | ||
* Generic const | ||
**/ | ||
[key: string]: Codec; | ||
}; | ||
} // AugmentedConsts | ||
} // declare module |
Oops, something went wrong.