@pezkuwi/types 16.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/build/bundle.d.ts +11 -0
- package/build/codec/index.d.ts +1 -0
- package/build/codec/types.d.ts +1 -0
- package/build/create/createClass.d.ts +3 -0
- package/build/create/createType.d.ts +9 -0
- package/build/create/index.d.ts +5 -0
- package/build/create/lazy.d.ts +7 -0
- package/build/create/registry.d.ts +74 -0
- package/build/create/types.d.ts +3 -0
- package/build/ethereum/AccountId.d.ts +36 -0
- package/build/ethereum/LookupSource.d.ts +41 -0
- package/build/ethereum/index.d.ts +2 -0
- package/build/extrinsic/Extrinsic.d.ts +166 -0
- package/build/extrinsic/ExtrinsicEra.d.ts +97 -0
- package/build/extrinsic/ExtrinsicPayload.d.ts +117 -0
- package/build/extrinsic/ExtrinsicPayloadUnknown.d.ts +11 -0
- package/build/extrinsic/ExtrinsicUnknown.d.ts +11 -0
- package/build/extrinsic/SignerPayload.d.ts +54 -0
- package/build/extrinsic/constants.d.ts +12 -0
- package/build/extrinsic/index.d.ts +8 -0
- package/build/extrinsic/signedExtensions/emptyCheck.d.ts +2 -0
- package/build/extrinsic/signedExtensions/index.d.ts +5 -0
- package/build/extrinsic/signedExtensions/polkadot.d.ts +2 -0
- package/build/extrinsic/signedExtensions/shell.d.ts +2 -0
- package/build/extrinsic/signedExtensions/statemint.d.ts +2 -0
- package/build/extrinsic/signedExtensions/substrate.d.ts +2 -0
- package/build/extrinsic/signedExtensions/types.d.ts +6 -0
- package/build/extrinsic/types.d.ts +17 -0
- package/build/extrinsic/util.d.ts +5 -0
- package/build/extrinsic/v4/Extrinsic.d.ts +49 -0
- package/build/extrinsic/v4/ExtrinsicPayload.d.ts +66 -0
- package/build/extrinsic/v4/ExtrinsicSignature.d.ts +85 -0
- package/build/extrinsic/v4/index.d.ts +3 -0
- package/build/extrinsic/v5/Extrinsic.d.ts +59 -0
- package/build/extrinsic/v5/ExtrinsicPayload.d.ts +67 -0
- package/build/extrinsic/v5/ExtrinsicSignature.d.ts +98 -0
- package/build/extrinsic/v5/GeneralExtrinsic.d.ts +85 -0
- package/build/extrinsic/v5/index.d.ts +4 -0
- package/build/generic/AccountId.d.ts +45 -0
- package/build/generic/AccountIndex.d.ts +39 -0
- package/build/generic/Block.d.ts +42 -0
- package/build/generic/Call.d.ts +69 -0
- package/build/generic/ChainProperties.d.ts +22 -0
- package/build/generic/ConsensusEngineId.d.ts +53 -0
- package/build/generic/Event.d.ts +76 -0
- package/build/generic/LookupSource.d.ts +45 -0
- package/build/generic/MultiAddress.d.ts +13 -0
- package/build/generic/Vote.d.ts +44 -0
- package/build/generic/index.d.ts +11 -0
- package/build/index.d.ts +2 -0
- package/build/index.types.d.ts +3 -0
- package/build/interfaces/alias.d.ts +5 -0
- package/build/interfaces/assetConversion/definitions.d.ts +3 -0
- package/build/interfaces/assetConversion/index.d.ts +1 -0
- package/build/interfaces/assetConversion/runtime.d.ts +2 -0
- package/build/interfaces/assetConversion/types.d.ts +6 -0
- package/build/interfaces/assets/definitions.d.ts +3 -0
- package/build/interfaces/assets/index.d.ts +1 -0
- package/build/interfaces/assets/runtime.d.ts +2 -0
- package/build/interfaces/assets/types.d.ts +54 -0
- package/build/interfaces/attestations/definitions.d.ts +3 -0
- package/build/interfaces/attestations/index.d.ts +1 -0
- package/build/interfaces/attestations/types.d.ts +22 -0
- package/build/interfaces/aura/definitions.d.ts +3 -0
- package/build/interfaces/aura/index.d.ts +1 -0
- package/build/interfaces/aura/runtime.d.ts +2 -0
- package/build/interfaces/aura/types.d.ts +6 -0
- package/build/interfaces/author/definitions.d.ts +3 -0
- package/build/interfaces/author/index.d.ts +1 -0
- package/build/interfaces/author/rpc.d.ts +2 -0
- package/build/interfaces/author/types.d.ts +31 -0
- package/build/interfaces/authorship/definitions.d.ts +3 -0
- package/build/interfaces/authorship/index.d.ts +1 -0
- package/build/interfaces/authorship/types.d.ts +12 -0
- package/build/interfaces/babe/definitions.d.ts +3 -0
- package/build/interfaces/babe/index.d.ts +1 -0
- package/build/interfaces/babe/rpc.d.ts +2 -0
- package/build/interfaces/babe/runtime.d.ts +2 -0
- package/build/interfaces/babe/types.d.ts +166 -0
- package/build/interfaces/balances/definitions.d.ts +3 -0
- package/build/interfaces/balances/index.d.ts +1 -0
- package/build/interfaces/balances/types.d.ts +58 -0
- package/build/interfaces/beefy/definitions.d.ts +3 -0
- package/build/interfaces/beefy/index.d.ts +1 -0
- package/build/interfaces/beefy/rpc.d.ts +2 -0
- package/build/interfaces/beefy/runtime.d.ts +2 -0
- package/build/interfaces/beefy/types.d.ts +74 -0
- package/build/interfaces/benchmark/definitions.d.ts +3 -0
- package/build/interfaces/benchmark/index.d.ts +1 -0
- package/build/interfaces/benchmark/runtime.d.ts +2 -0
- package/build/interfaces/benchmark/types.d.ts +71 -0
- package/build/interfaces/blockbuilder/definitions.d.ts +3 -0
- package/build/interfaces/blockbuilder/index.d.ts +1 -0
- package/build/interfaces/blockbuilder/runtime.d.ts +2 -0
- package/build/interfaces/blockbuilder/types.d.ts +15 -0
- package/build/interfaces/bridges/definitions.d.ts +3 -0
- package/build/interfaces/bridges/index.d.ts +1 -0
- package/build/interfaces/bridges/types.d.ts +129 -0
- package/build/interfaces/chain/definitions.d.ts +3 -0
- package/build/interfaces/chain/index.d.ts +1 -0
- package/build/interfaces/chain/rpc.d.ts +2 -0
- package/build/interfaces/chain/types.d.ts +5 -0
- package/build/interfaces/childstate/definitions.d.ts +3 -0
- package/build/interfaces/childstate/index.d.ts +1 -0
- package/build/interfaces/childstate/rpc.d.ts +2 -0
- package/build/interfaces/childstate/types.d.ts +5 -0
- package/build/interfaces/claims/definitions.d.ts +3 -0
- package/build/interfaces/claims/index.d.ts +1 -0
- package/build/interfaces/claims/types.d.ts +8 -0
- package/build/interfaces/collective/definitions.d.ts +3 -0
- package/build/interfaces/collective/index.d.ts +1 -0
- package/build/interfaces/collective/types.d.ts +33 -0
- package/build/interfaces/consensus/definitions.d.ts +3 -0
- package/build/interfaces/consensus/index.d.ts +1 -0
- package/build/interfaces/consensus/types.d.ts +9 -0
- package/build/interfaces/contracts/definitions.d.ts +3 -0
- package/build/interfaces/contracts/index.d.ts +1 -0
- package/build/interfaces/contracts/rpc.d.ts +2 -0
- package/build/interfaces/contracts/runtime.d.ts +2 -0
- package/build/interfaces/contracts/types.d.ts +490 -0
- package/build/interfaces/contractsAbi/definitions.d.ts +3 -0
- package/build/interfaces/contractsAbi/index.d.ts +1 -0
- package/build/interfaces/contractsAbi/types.d.ts +393 -0
- package/build/interfaces/crowdloan/definitions.d.ts +3 -0
- package/build/interfaces/crowdloan/index.d.ts +1 -0
- package/build/interfaces/crowdloan/types.d.ts +32 -0
- package/build/interfaces/cumulus/definitions.d.ts +3 -0
- package/build/interfaces/cumulus/index.d.ts +1 -0
- package/build/interfaces/cumulus/runtime.d.ts +2 -0
- package/build/interfaces/cumulus/types.d.ts +40 -0
- package/build/interfaces/definitions.d.ts +75 -0
- package/build/interfaces/democracy/definitions.d.ts +4 -0
- package/build/interfaces/democracy/index.d.ts +1 -0
- package/build/interfaces/democracy/types.d.ts +134 -0
- package/build/interfaces/dev/definitions.d.ts +3 -0
- package/build/interfaces/dev/index.d.ts +1 -0
- package/build/interfaces/dev/rpc.d.ts +2 -0
- package/build/interfaces/dev/types.d.ts +9 -0
- package/build/interfaces/discovery/definitions.d.ts +3 -0
- package/build/interfaces/discovery/index.d.ts +1 -0
- package/build/interfaces/discovery/runtime.d.ts +2 -0
- package/build/interfaces/discovery/types.d.ts +1 -0
- package/build/interfaces/dryRunApi/definitions.d.ts +3 -0
- package/build/interfaces/dryRunApi/index.d.ts +1 -0
- package/build/interfaces/dryRunApi/runtime.d.ts +2 -0
- package/build/interfaces/dryRunApi/types.d.ts +37 -0
- package/build/interfaces/elections/definitions.d.ts +3 -0
- package/build/interfaces/elections/index.d.ts +1 -0
- package/build/interfaces/elections/types.d.ts +44 -0
- package/build/interfaces/engine/definitions.d.ts +3 -0
- package/build/interfaces/engine/index.d.ts +1 -0
- package/build/interfaces/engine/rpc.d.ts +2 -0
- package/build/interfaces/engine/types.d.ts +17 -0
- package/build/interfaces/essentials.d.ts +3 -0
- package/build/interfaces/eth/definitions.d.ts +7 -0
- package/build/interfaces/eth/index.d.ts +1 -0
- package/build/interfaces/eth/rpc.d.ts +2 -0
- package/build/interfaces/eth/runtime.d.ts +2 -0
- package/build/interfaces/eth/types.d.ts +459 -0
- package/build/interfaces/evm/definitions.d.ts +3 -0
- package/build/interfaces/evm/index.d.ts +1 -0
- package/build/interfaces/evm/types.d.ts +109 -0
- package/build/interfaces/extrinsics/definitions.d.ts +3 -0
- package/build/interfaces/extrinsics/index.d.ts +1 -0
- package/build/interfaces/extrinsics/types.d.ts +77 -0
- package/build/interfaces/finality/definitions.d.ts +3 -0
- package/build/interfaces/finality/index.d.ts +1 -0
- package/build/interfaces/finality/runtime.d.ts +2 -0
- package/build/interfaces/finality/types.d.ts +1 -0
- package/build/interfaces/fungibles/definitions.d.ts +3 -0
- package/build/interfaces/fungibles/index.d.ts +1 -0
- package/build/interfaces/fungibles/runtime.d.ts +2 -0
- package/build/interfaces/fungibles/types.d.ts +8 -0
- package/build/interfaces/genericAsset/definitions.d.ts +3 -0
- package/build/interfaces/genericAsset/index.d.ts +1 -0
- package/build/interfaces/genericAsset/types.d.ts +30 -0
- package/build/interfaces/genesisBuilder/definitions.d.ts +3 -0
- package/build/interfaces/genesisBuilder/index.d.ts +1 -0
- package/build/interfaces/genesisBuilder/runtime.d.ts +2 -0
- package/build/interfaces/genesisBuilder/types.d.ts +5 -0
- package/build/interfaces/gilt/definitions.d.ts +3 -0
- package/build/interfaces/gilt/index.d.ts +1 -0
- package/build/interfaces/gilt/types.d.ts +25 -0
- package/build/interfaces/grandpa/definitions.d.ts +3 -0
- package/build/interfaces/grandpa/index.d.ts +1 -0
- package/build/interfaces/grandpa/rpc.d.ts +2 -0
- package/build/interfaces/grandpa/runtime.d.ts +2 -0
- package/build/interfaces/grandpa/types.d.ts +175 -0
- package/build/interfaces/identity/definitions.d.ts +3 -0
- package/build/interfaces/identity/index.d.ts +1 -0
- package/build/interfaces/identity/types.d.ts +78 -0
- package/build/interfaces/imOnline/definitions.d.ts +3 -0
- package/build/interfaces/imOnline/index.d.ts +1 -0
- package/build/interfaces/imOnline/types.d.ts +37 -0
- package/build/interfaces/index.d.ts +1 -0
- package/build/interfaces/jsonrpc.d.ts +3 -0
- package/build/interfaces/lottery/definitions.d.ts +3 -0
- package/build/interfaces/lottery/index.d.ts +1 -0
- package/build/interfaces/lottery/types.d.ts +15 -0
- package/build/interfaces/metadata/definitions.d.ts +5 -0
- package/build/interfaces/metadata/hashers.d.ts +9 -0
- package/build/interfaces/metadata/index.d.ts +1 -0
- package/build/interfaces/metadata/runtime.d.ts +2 -0
- package/build/interfaces/metadata/types.d.ts +771 -0
- package/build/interfaces/metadata/v10.d.ts +2 -0
- package/build/interfaces/metadata/v11.d.ts +2 -0
- package/build/interfaces/metadata/v12.d.ts +2 -0
- package/build/interfaces/metadata/v13.d.ts +2 -0
- package/build/interfaces/metadata/v14.d.ts +2 -0
- package/build/interfaces/metadata/v15.d.ts +2 -0
- package/build/interfaces/metadata/v16.d.ts +2 -0
- package/build/interfaces/metadata/v9.d.ts +2 -0
- package/build/interfaces/mixnet/definitions.d.ts +3 -0
- package/build/interfaces/mixnet/index.d.ts +1 -0
- package/build/interfaces/mixnet/runtime.d.ts +2 -0
- package/build/interfaces/mixnet/types.d.ts +30 -0
- package/build/interfaces/mmr/definitions.d.ts +3 -0
- package/build/interfaces/mmr/index.d.ts +1 -0
- package/build/interfaces/mmr/rpc.d.ts +2 -0
- package/build/interfaces/mmr/runtime.d.ts +2 -0
- package/build/interfaces/mmr/types.d.ts +54 -0
- package/build/interfaces/nfts/definitions.d.ts +3 -0
- package/build/interfaces/nfts/index.d.ts +1 -0
- package/build/interfaces/nfts/runtime.d.ts +2 -0
- package/build/interfaces/nfts/types.d.ts +8 -0
- package/build/interfaces/nimbus/definitions.d.ts +3 -0
- package/build/interfaces/nimbus/index.d.ts +1 -0
- package/build/interfaces/nimbus/runtime.d.ts +2 -0
- package/build/interfaces/nimbus/types.d.ts +1 -0
- package/build/interfaces/nompools/definitions.d.ts +3 -0
- package/build/interfaces/nompools/index.d.ts +1 -0
- package/build/interfaces/nompools/runtime.d.ts +2 -0
- package/build/interfaces/nompools/types.d.ts +11 -0
- package/build/interfaces/offchain/definitions.d.ts +3 -0
- package/build/interfaces/offchain/index.d.ts +1 -0
- package/build/interfaces/offchain/rpc.d.ts +2 -0
- package/build/interfaces/offchain/runtime.d.ts +2 -0
- package/build/interfaces/offchain/types.d.ts +8 -0
- package/build/interfaces/offences/definitions.d.ts +3 -0
- package/build/interfaces/offences/index.d.ts +1 -0
- package/build/interfaces/offences/types.d.ts +28 -0
- package/build/interfaces/ormlOracle/definitions.d.ts +3 -0
- package/build/interfaces/ormlOracle/index.d.ts +1 -0
- package/build/interfaces/ormlOracle/runtime.d.ts +2 -0
- package/build/interfaces/ormlOracle/types.d.ts +1 -0
- package/build/interfaces/ormlTokens/definitions.d.ts +3 -0
- package/build/interfaces/ormlTokens/index.d.ts +1 -0
- package/build/interfaces/ormlTokens/runtime.d.ts +2 -0
- package/build/interfaces/ormlTokens/types.d.ts +1 -0
- package/build/interfaces/parachains/definitions.d.ts +3 -0
- package/build/interfaces/parachains/hrmp.d.ts +25 -0
- package/build/interfaces/parachains/index.d.ts +1 -0
- package/build/interfaces/parachains/runtime.d.ts +2 -0
- package/build/interfaces/parachains/slots.d.ts +46 -0
- package/build/interfaces/parachains/types.d.ts +885 -0
- package/build/interfaces/payment/definitions.d.ts +3 -0
- package/build/interfaces/payment/index.d.ts +1 -0
- package/build/interfaces/payment/rpc.d.ts +2 -0
- package/build/interfaces/payment/runtime.d.ts +2 -0
- package/build/interfaces/payment/types.d.ts +32 -0
- package/build/interfaces/poll/definitions.d.ts +3 -0
- package/build/interfaces/poll/index.d.ts +1 -0
- package/build/interfaces/poll/types.d.ts +5 -0
- package/build/interfaces/pow/definitions.d.ts +3 -0
- package/build/interfaces/pow/index.d.ts +1 -0
- package/build/interfaces/pow/runtime.d.ts +2 -0
- package/build/interfaces/pow/types.d.ts +1 -0
- package/build/interfaces/proxy/definitions.d.ts +3 -0
- package/build/interfaces/proxy/index.d.ts +1 -0
- package/build/interfaces/proxy/types.d.ts +23 -0
- package/build/interfaces/purchase/definitions.d.ts +3 -0
- package/build/interfaces/purchase/index.d.ts +1 -0
- package/build/interfaces/purchase/types.d.ts +21 -0
- package/build/interfaces/recovery/definitions.d.ts +3 -0
- package/build/interfaces/recovery/index.d.ts +1 -0
- package/build/interfaces/recovery/types.d.ts +16 -0
- package/build/interfaces/rpc/definitions.d.ts +3 -0
- package/build/interfaces/rpc/index.d.ts +1 -0
- package/build/interfaces/rpc/rpc.d.ts +2 -0
- package/build/interfaces/rpc/types.d.ts +7 -0
- package/build/interfaces/runtime/definitions.d.ts +4 -0
- package/build/interfaces/runtime/index.d.ts +1 -0
- package/build/interfaces/runtime/runtime.d.ts +2 -0
- package/build/interfaces/runtime/types.d.ts +396 -0
- package/build/interfaces/scaleInfo/definitions.d.ts +3 -0
- package/build/interfaces/scaleInfo/index.d.ts +1 -0
- package/build/interfaces/scaleInfo/types.d.ts +238 -0
- package/build/interfaces/scaleInfo/v0.d.ts +2 -0
- package/build/interfaces/scaleInfo/v1.d.ts +8 -0
- package/build/interfaces/scheduler/definitions.d.ts +3 -0
- package/build/interfaces/scheduler/index.d.ts +1 -0
- package/build/interfaces/scheduler/types.d.ts +34 -0
- package/build/interfaces/session/definitions.d.ts +3 -0
- package/build/interfaces/session/index.d.ts +1 -0
- package/build/interfaces/session/runtime.d.ts +2 -0
- package/build/interfaces/session/types.d.ts +74 -0
- package/build/interfaces/society/definitions.d.ts +3 -0
- package/build/interfaces/society/index.d.ts +1 -0
- package/build/interfaces/society/types.d.ts +41 -0
- package/build/interfaces/staking/definitions.d.ts +3 -0
- package/build/interfaces/staking/index.d.ts +1 -0
- package/build/interfaces/staking/runtime.d.ts +2 -0
- package/build/interfaces/staking/types.d.ts +385 -0
- package/build/interfaces/state/definitions.d.ts +3 -0
- package/build/interfaces/state/index.d.ts +1 -0
- package/build/interfaces/state/rpc.d.ts +2 -0
- package/build/interfaces/state/types.d.ts +107 -0
- package/build/interfaces/statement/definitions.d.ts +3 -0
- package/build/interfaces/statement/index.d.ts +1 -0
- package/build/interfaces/statement/runtime.d.ts +2 -0
- package/build/interfaces/statement/types.d.ts +21 -0
- package/build/interfaces/support/definitions.d.ts +3 -0
- package/build/interfaces/support/index.d.ts +1 -0
- package/build/interfaces/support/types.d.ts +10 -0
- package/build/interfaces/syncstate/definitions.d.ts +3 -0
- package/build/interfaces/syncstate/index.d.ts +1 -0
- package/build/interfaces/syncstate/rpc.d.ts +2 -0
- package/build/interfaces/syncstate/types.d.ts +1 -0
- package/build/interfaces/system/definitions.d.ts +3 -0
- package/build/interfaces/system/index.d.ts +1 -0
- package/build/interfaces/system/rpc.d.ts +2 -0
- package/build/interfaces/system/runtime.d.ts +2 -0
- package/build/interfaces/system/types.d.ts +423 -0
- package/build/interfaces/treasury/definitions.d.ts +3 -0
- package/build/interfaces/treasury/index.d.ts +1 -0
- package/build/interfaces/treasury/types.d.ts +75 -0
- package/build/interfaces/txpayment/definitions.d.ts +3 -0
- package/build/interfaces/txpayment/index.d.ts +1 -0
- package/build/interfaces/txpayment/types.d.ts +5 -0
- package/build/interfaces/txqueue/definitions.d.ts +3 -0
- package/build/interfaces/txqueue/index.d.ts +1 -0
- package/build/interfaces/txqueue/runtime.d.ts +2 -0
- package/build/interfaces/txqueue/types.d.ts +26 -0
- package/build/interfaces/types.d.ts +78 -0
- package/build/interfaces/uniques/definitions.d.ts +3 -0
- package/build/interfaces/uniques/index.d.ts +1 -0
- package/build/interfaces/uniques/types.d.ts +53 -0
- package/build/interfaces/utility/definitions.d.ts +3 -0
- package/build/interfaces/utility/index.d.ts +1 -0
- package/build/interfaces/utility/types.d.ts +15 -0
- package/build/interfaces/vesting/definitions.d.ts +3 -0
- package/build/interfaces/vesting/index.d.ts +1 -0
- package/build/interfaces/vesting/types.d.ts +9 -0
- package/build/interfaces/xcm/definitions.d.ts +3 -0
- package/build/interfaces/xcm/index.d.ts +1 -0
- package/build/interfaces/xcm/types.d.ts +2436 -0
- package/build/interfaces/xcm/v0.d.ts +2 -0
- package/build/interfaces/xcm/v1.d.ts +2 -0
- package/build/interfaces/xcm/v2.d.ts +2 -0
- package/build/interfaces/xcm/v3.d.ts +2 -0
- package/build/interfaces/xcm/v4.d.ts +2 -0
- package/build/interfaces/xcm/v5.d.ts +2 -0
- package/build/interfaces/xcmPaymentApi/definitions.d.ts +3 -0
- package/build/interfaces/xcmPaymentApi/index.d.ts +1 -0
- package/build/interfaces/xcmPaymentApi/runtime.d.ts +2 -0
- package/build/interfaces/xcmPaymentApi/types.d.ts +11 -0
- package/build/interfaces/xcmRuntimeApi/definitions.d.ts +3 -0
- package/build/interfaces/xcmRuntimeApi/index.d.ts +1 -0
- package/build/interfaces/xcmRuntimeApi/runtime.d.ts +2 -0
- package/build/interfaces/xcmRuntimeApi/types.d.ts +8 -0
- package/build/lookup.d.ts +1 -0
- package/build/metadata/MagicNumber.d.ts +6 -0
- package/build/metadata/Metadata.d.ts +11 -0
- package/build/metadata/MetadataVersioned.d.ts +69 -0
- package/build/metadata/PortableRegistry/PortableRegistry.d.ts +48 -0
- package/build/metadata/PortableRegistry/index.d.ts +2 -0
- package/build/metadata/PortableRegistry/toV1.d.ts +3 -0
- package/build/metadata/decorate/constants/index.d.ts +5 -0
- package/build/metadata/decorate/errors/index.d.ts +16 -0
- package/build/metadata/decorate/events/index.d.ts +6 -0
- package/build/metadata/decorate/extrinsics/createUnchecked.d.ts +5 -0
- package/build/metadata/decorate/extrinsics/index.d.ts +9 -0
- package/build/metadata/decorate/index.d.ts +13 -0
- package/build/metadata/decorate/storage/createFunction.d.ts +31 -0
- package/build/metadata/decorate/storage/getHasher.d.ts +5 -0
- package/build/metadata/decorate/storage/getStorage.d.ts +4 -0
- package/build/metadata/decorate/storage/index.d.ts +5 -0
- package/build/metadata/decorate/storage/substrate.d.ts +5 -0
- package/build/metadata/decorate/storage/util.d.ts +14 -0
- package/build/metadata/decorate/types.d.ts +33 -0
- package/build/metadata/decorate/util.d.ts +8 -0
- package/build/metadata/index.d.ts +3 -0
- package/build/metadata/types.d.ts +5 -0
- package/build/metadata/util/extractTypes.d.ts +4 -0
- package/build/metadata/util/flattenUniq.d.ts +4 -0
- package/build/metadata/util/getSiName.d.ts +3 -0
- package/build/metadata/util/getUniqTypes.d.ts +4 -0
- package/build/metadata/util/index.d.ts +5 -0
- package/build/metadata/util/testUtil.d.ts +10 -0
- package/build/metadata/util/toCallsOnly.d.ts +4 -0
- package/build/metadata/util/types.d.ts +5 -0
- package/build/metadata/util/validateTypes.d.ts +3 -0
- package/build/metadata/v10/toV11.d.ts +4 -0
- package/build/metadata/v11/toV12.d.ts +6 -0
- package/build/metadata/v12/toV13.d.ts +6 -0
- package/build/metadata/v13/toV14.d.ts +18 -0
- package/build/metadata/v14/toV15.d.ts +7 -0
- package/build/metadata/v15/toV16.d.ts +7 -0
- package/build/metadata/v16/toLatest.d.ts +7 -0
- package/build/metadata/v9/toV10.d.ts +4 -0
- package/build/metadata/versions.d.ts +5 -0
- package/build/packageDetect.d.ts +1 -0
- package/build/packageInfo.d.ts +6 -0
- package/build/primitive/Data.d.ts +31 -0
- package/build/primitive/StorageKey.d.ts +53 -0
- package/build/primitive/index.d.ts +6 -0
- package/build/primitive/types.d.ts +17 -0
- package/build/types/augmentLookup.d.ts +15 -0
- package/build/types/augmentRegistry.d.ts +39 -0
- package/build/types/calls.d.ts +10 -0
- package/build/types/codec.d.ts +4 -0
- package/build/types/definitions.d.ts +108 -0
- package/build/types/detect.d.ts +42 -0
- package/build/types/events.d.ts +28 -0
- package/build/types/extrinsic.d.ts +220 -0
- package/build/types/index.d.ts +12 -0
- package/build/types/interfaces.d.ts +40 -0
- package/build/types/registry.d.ts +128 -0
- package/build/util/index.d.ts +1 -0
- package/build/util/storage.d.ts +7 -0
- package/package.json +37 -0
- package/src/bundle.ts +22 -0
- package/src/checkTypes.manual.ts +101 -0
- package/src/codec/index.ts +9 -0
- package/src/codec/types.ts +4 -0
- package/src/create/createClass.spec.ts +47 -0
- package/src/create/createClass.ts +11 -0
- package/src/create/createType.spec.ts +252 -0
- package/src/create/createType.ts +17 -0
- package/src/create/index.ts +11 -0
- package/src/create/lazy.ts +22 -0
- package/src/create/registry.spec.ts +186 -0
- package/src/create/registry.ts +639 -0
- package/src/create/types.ts +9 -0
- package/src/ethereum/AccountId.spec.ts +86 -0
- package/src/ethereum/AccountId.ts +76 -0
- package/src/ethereum/LookupSource.spec.ts +107 -0
- package/src/ethereum/LookupSource.ts +122 -0
- package/src/ethereum/index.ts +5 -0
- package/src/extrinsic/Extrinsic.spec.ts +111 -0
- package/src/extrinsic/Extrinsic.ts +461 -0
- package/src/extrinsic/ExtrinsicEra.spec.ts +87 -0
- package/src/extrinsic/ExtrinsicEra.ts +299 -0
- package/src/extrinsic/ExtrinsicPayload.spec.ts +116 -0
- package/src/extrinsic/ExtrinsicPayload.ts +223 -0
- package/src/extrinsic/ExtrinsicPayloadUnknown.ts +20 -0
- package/src/extrinsic/ExtrinsicUnknown.ts +22 -0
- package/src/extrinsic/SignerPayload.spec.ts +189 -0
- package/src/extrinsic/SignerPayload.ts +198 -0
- package/src/extrinsic/constants.ts +28 -0
- package/src/extrinsic/index.ts +14 -0
- package/src/extrinsic/signedExtensions/emptyCheck.ts +9 -0
- package/src/extrinsic/signedExtensions/index.ts +46 -0
- package/src/extrinsic/signedExtensions/polkadot.ts +15 -0
- package/src/extrinsic/signedExtensions/shell.ts +10 -0
- package/src/extrinsic/signedExtensions/statemint.ts +15 -0
- package/src/extrinsic/signedExtensions/substrate.ts +75 -0
- package/src/extrinsic/signedExtensions/types.ts +11 -0
- package/src/extrinsic/types.ts +25 -0
- package/src/extrinsic/util.ts +23 -0
- package/src/extrinsic/v4/Extrinsic.spec.ts +86 -0
- package/src/extrinsic/v4/Extrinsic.ts +108 -0
- package/src/extrinsic/v4/ExtrinsicPayload.spec.ts +74 -0
- package/src/extrinsic/v4/ExtrinsicPayload.ts +131 -0
- package/src/extrinsic/v4/ExtrinsicSignature.spec.ts +160 -0
- package/src/extrinsic/v4/ExtrinsicSignature.ts +229 -0
- package/src/extrinsic/v4/index.ts +6 -0
- package/src/extrinsic/v5/Extrinsic.spec.ts +74 -0
- package/src/extrinsic/v5/Extrinsic.ts +116 -0
- package/src/extrinsic/v5/ExtrinsicPayload.spec.ts +39 -0
- package/src/extrinsic/v5/ExtrinsicPayload.ts +115 -0
- package/src/extrinsic/v5/ExtrinsicSignature.spec.ts +105 -0
- package/src/extrinsic/v5/ExtrinsicSignature.ts +200 -0
- package/src/extrinsic/v5/GeneralExtrinsic.spec.ts +47 -0
- package/src/extrinsic/v5/GeneralExtrinsic.ts +208 -0
- package/src/extrinsic/v5/index.ts +7 -0
- package/src/generic/AccountId.spec.ts +179 -0
- package/src/generic/AccountId.ts +100 -0
- package/src/generic/AccountIndex.spec.ts +75 -0
- package/src/generic/AccountIndex.ts +129 -0
- package/src/generic/Block.spec.ts +49 -0
- package/src/generic/Block.ts +65 -0
- package/src/generic/Call.spec.ts +47 -0
- package/src/generic/Call.ts +244 -0
- package/src/generic/ChainProperties.spec.ts +95 -0
- package/src/generic/ChainProperties.ts +93 -0
- package/src/generic/ConsensusEngineId.spec.ts +23 -0
- package/src/generic/ConsensusEngineId.ts +131 -0
- package/src/generic/Event.ts +200 -0
- package/src/generic/LookupSource.spec.ts +123 -0
- package/src/generic/LookupSource.ts +141 -0
- package/src/generic/MultiAddress.spec.ts +52 -0
- package/src/generic/MultiAddress.ts +73 -0
- package/src/generic/Vote.spec.ts +167 -0
- package/src/generic/Vote.ts +133 -0
- package/src/generic/index.ts +17 -0
- package/src/index.spec.ts +78 -0
- package/src/index.ts +6 -0
- package/src/index.types.ts +6 -0
- package/src/interfaces/alias.spec.ts +50 -0
- package/src/interfaces/alias.ts +116 -0
- package/src/interfaces/assetConversion/definitions.ts +17 -0
- package/src/interfaces/assetConversion/index.ts +4 -0
- package/src/interfaces/assetConversion/runtime.ts +72 -0
- package/src/interfaces/assetConversion/types.ts +10 -0
- package/src/interfaces/assets/definitions.ts +57 -0
- package/src/interfaces/assets/index.ts +4 -0
- package/src/interfaces/assets/runtime.ts +24 -0
- package/src/interfaces/assets/types.ts +64 -0
- package/src/interfaces/attestations/definitions.ts +26 -0
- package/src/interfaces/attestations/index.ts +4 -0
- package/src/interfaces/attestations/types.ts +28 -0
- package/src/interfaces/aura/definitions.ts +19 -0
- package/src/interfaces/aura/index.ts +4 -0
- package/src/interfaces/aura/runtime.ts +24 -0
- package/src/interfaces/aura/types.ts +11 -0
- package/src/interfaces/author/ExtrinsicStatus.spec.ts +33 -0
- package/src/interfaces/author/definitions.ts +35 -0
- package/src/interfaces/author/index.ts +4 -0
- package/src/interfaces/author/rpc.ts +101 -0
- package/src/interfaces/author/types.ts +37 -0
- package/src/interfaces/authorship/definitions.ts +19 -0
- package/src/interfaces/authorship/index.ts +4 -0
- package/src/interfaces/authorship/types.ts +17 -0
- package/src/interfaces/babe/definitions.ts +134 -0
- package/src/interfaces/babe/index.ts +4 -0
- package/src/interfaces/babe/rpc.ts +13 -0
- package/src/interfaces/babe/runtime.ts +77 -0
- package/src/interfaces/babe/types.ts +187 -0
- package/src/interfaces/balances/definitions.ts +55 -0
- package/src/interfaces/balances/index.ts +4 -0
- package/src/interfaces/balances/types.ts +70 -0
- package/src/interfaces/beefy/definitions.ts +66 -0
- package/src/interfaces/beefy/index.ts +4 -0
- package/src/interfaces/beefy/rpc.ts +22 -0
- package/src/interfaces/beefy/runtime.ts +107 -0
- package/src/interfaces/beefy/types.ts +87 -0
- package/src/interfaces/benchmark/definitions.ts +52 -0
- package/src/interfaces/benchmark/index.ts +4 -0
- package/src/interfaces/benchmark/runtime.ts +34 -0
- package/src/interfaces/benchmark/types.ts +81 -0
- package/src/interfaces/blockbuilder/definitions.ts +25 -0
- package/src/interfaces/blockbuilder/index.ts +4 -0
- package/src/interfaces/blockbuilder/runtime.ts +124 -0
- package/src/interfaces/blockbuilder/types.ts +21 -0
- package/src/interfaces/bridges/definitions.ts +94 -0
- package/src/interfaces/bridges/index.ts +4 -0
- package/src/interfaces/bridges/types.ts +147 -0
- package/src/interfaces/chain/definitions.ts +16 -0
- package/src/interfaces/chain/index.ts +4 -0
- package/src/interfaces/chain/rpc.ts +82 -0
- package/src/interfaces/chain/types.ts +9 -0
- package/src/interfaces/childstate/definitions.ts +17 -0
- package/src/interfaces/childstate/index.ts +4 -0
- package/src/interfaces/childstate/rpc.ts +137 -0
- package/src/interfaces/childstate/types.ts +9 -0
- package/src/interfaces/claims/definitions.ts +16 -0
- package/src/interfaces/claims/index.ts +4 -0
- package/src/interfaces/claims/types.ts +13 -0
- package/src/interfaces/collective/definitions.ts +34 -0
- package/src/interfaces/collective/index.ts +4 -0
- package/src/interfaces/collective/types.ts +40 -0
- package/src/interfaces/consensus/definitions.ts +15 -0
- package/src/interfaces/consensus/index.ts +4 -0
- package/src/interfaces/consensus/types.ts +13 -0
- package/src/interfaces/contracts/definitions.ts +434 -0
- package/src/interfaces/contracts/index.ts +4 -0
- package/src/interfaces/contracts/rpc.ts +99 -0
- package/src/interfaces/contracts/runtime.ts +184 -0
- package/src/interfaces/contracts/types.ts +536 -0
- package/src/interfaces/contractsAbi/definitions.ts +351 -0
- package/src/interfaces/contractsAbi/index.ts +4 -0
- package/src/interfaces/contractsAbi/types.ts +446 -0
- package/src/interfaces/crowdloan/definitions.ts +34 -0
- package/src/interfaces/crowdloan/index.ts +4 -0
- package/src/interfaces/crowdloan/types.ts +38 -0
- package/src/interfaces/cumulus/definitions.ts +44 -0
- package/src/interfaces/cumulus/index.ts +4 -0
- package/src/interfaces/cumulus/runtime.ts +55 -0
- package/src/interfaces/cumulus/types.ts +48 -0
- package/src/interfaces/definitions.spec.ts +159 -0
- package/src/interfaces/definitions.ts +92 -0
- package/src/interfaces/democracy/definitions.ts +121 -0
- package/src/interfaces/democracy/index.ts +4 -0
- package/src/interfaces/democracy/types.ts +154 -0
- package/src/interfaces/dev/definitions.ts +21 -0
- package/src/interfaces/dev/index.ts +4 -0
- package/src/interfaces/dev/rpc.ts +19 -0
- package/src/interfaces/dev/types.ts +14 -0
- package/src/interfaces/discovery/definitions.ts +15 -0
- package/src/interfaces/discovery/index.ts +4 -0
- package/src/interfaces/discovery/runtime.ts +19 -0
- package/src/interfaces/discovery/types.ts +4 -0
- package/src/interfaces/dryRunApi/definitions.ts +38 -0
- package/src/interfaces/dryRunApi/index.ts +4 -0
- package/src/interfaces/dryRunApi/runtime.ts +79 -0
- package/src/interfaces/dryRunApi/types.ts +46 -0
- package/src/interfaces/elections/definitions.ts +42 -0
- package/src/interfaces/elections/index.ts +4 -0
- package/src/interfaces/elections/types.ts +52 -0
- package/src/interfaces/engine/definitions.ts +30 -0
- package/src/interfaces/engine/index.ts +4 -0
- package/src/interfaces/engine/rpc.ts +41 -0
- package/src/interfaces/engine/types.ts +23 -0
- package/src/interfaces/essentials.ts +6 -0
- package/src/interfaces/eth/definitions.ts +411 -0
- package/src/interfaces/eth/index.ts +4 -0
- package/src/interfaces/eth/rpc.ts +508 -0
- package/src/interfaces/eth/runtime.ts +355 -0
- package/src/interfaces/eth/types.ts +505 -0
- package/src/interfaces/evm/definitions.ts +99 -0
- package/src/interfaces/evm/index.ts +4 -0
- package/src/interfaces/evm/types.ts +126 -0
- package/src/interfaces/extrinsics/EdcsaSignature.spec.ts +35 -0
- package/src/interfaces/extrinsics/definitions.ts +45 -0
- package/src/interfaces/extrinsics/index.ts +4 -0
- package/src/interfaces/extrinsics/types.ts +82 -0
- package/src/interfaces/finality/definitions.ts +15 -0
- package/src/interfaces/finality/index.ts +4 -0
- package/src/interfaces/finality/runtime.ts +23 -0
- package/src/interfaces/finality/types.ts +4 -0
- package/src/interfaces/fungibles/definitions.ts +19 -0
- package/src/interfaces/fungibles/index.ts +4 -0
- package/src/interfaces/fungibles/runtime.ts +39 -0
- package/src/interfaces/fungibles/types.ts +13 -0
- package/src/interfaces/genericAsset/definitions.ts +34 -0
- package/src/interfaces/genericAsset/index.ts +4 -0
- package/src/interfaces/genericAsset/types.ts +38 -0
- package/src/interfaces/genesisBuilder/definitions.ts +14 -0
- package/src/interfaces/genesisBuilder/index.ts +4 -0
- package/src/interfaces/genesisBuilder/runtime.ts +29 -0
- package/src/interfaces/genesisBuilder/types.ts +9 -0
- package/src/interfaces/gilt/definitions.ts +30 -0
- package/src/interfaces/gilt/index.ts +4 -0
- package/src/interfaces/gilt/types.ts +32 -0
- package/src/interfaces/grandpa/ReportedRoundStates.spec.ts +20 -0
- package/src/interfaces/grandpa/definitions.ts +140 -0
- package/src/interfaces/grandpa/index.ts +4 -0
- package/src/interfaces/grandpa/rpc.ts +32 -0
- package/src/interfaces/grandpa/runtime.ts +60 -0
- package/src/interfaces/grandpa/types.ts +201 -0
- package/src/interfaces/identity/IdentityFields.spec.ts +34 -0
- package/src/interfaces/identity/Registration.spec.ts +36 -0
- package/src/interfaces/identity/definitions.ts +79 -0
- package/src/interfaces/identity/index.ts +4 -0
- package/src/interfaces/identity/types.ts +89 -0
- package/src/interfaces/imOnline/definitions.ts +34 -0
- package/src/interfaces/imOnline/index.ts +4 -0
- package/src/interfaces/imOnline/types.ts +44 -0
- package/src/interfaces/index.ts +4 -0
- package/src/interfaces/jsonrpc.ts +30 -0
- package/src/interfaces/lottery/definitions.ts +21 -0
- package/src/interfaces/lottery/index.ts +4 -0
- package/src/interfaces/lottery/types.ts +20 -0
- package/src/interfaces/metadata/definitions.ts +87 -0
- package/src/interfaces/metadata/hashers.ts +16 -0
- package/src/interfaces/metadata/index.ts +4 -0
- package/src/interfaces/metadata/runtime.ts +44 -0
- package/src/interfaces/metadata/types.ts +849 -0
- package/src/interfaces/metadata/v10.ts +67 -0
- package/src/interfaces/metadata/v11.ts +67 -0
- package/src/interfaces/metadata/v12.ts +35 -0
- package/src/interfaces/metadata/v13.ts +66 -0
- package/src/interfaces/metadata/v14.ts +102 -0
- package/src/interfaces/metadata/v15.ts +67 -0
- package/src/interfaces/metadata/v16.ts +168 -0
- package/src/interfaces/metadata/v9.ts +87 -0
- package/src/interfaces/mixnet/definitions.ts +33 -0
- package/src/interfaces/mixnet/index.ts +4 -0
- package/src/interfaces/mixnet/runtime.ts +43 -0
- package/src/interfaces/mixnet/types.ts +38 -0
- package/src/interfaces/mmr/definitions.ts +44 -0
- package/src/interfaces/mmr/index.ts +4 -0
- package/src/interfaces/mmr/rpc.ts +67 -0
- package/src/interfaces/mmr/runtime.ts +168 -0
- package/src/interfaces/mmr/types.ts +63 -0
- package/src/interfaces/nfts/definitions.ts +18 -0
- package/src/interfaces/nfts/index.ts +4 -0
- package/src/interfaces/nfts/runtime.ts +110 -0
- package/src/interfaces/nfts/types.ts +12 -0
- package/src/interfaces/nimbus/definitions.ts +15 -0
- package/src/interfaces/nimbus/index.ts +4 -0
- package/src/interfaces/nimbus/runtime.ts +77 -0
- package/src/interfaces/nimbus/types.ts +4 -0
- package/src/interfaces/nompools/definitions.ts +20 -0
- package/src/interfaces/nompools/index.ts +4 -0
- package/src/interfaces/nompools/runtime.ts +52 -0
- package/src/interfaces/nompools/types.ts +16 -0
- package/src/interfaces/offchain/definitions.spec.ts +21 -0
- package/src/interfaces/offchain/definitions.ts +23 -0
- package/src/interfaces/offchain/index.ts +4 -0
- package/src/interfaces/offchain/rpc.ts +56 -0
- package/src/interfaces/offchain/runtime.ts +39 -0
- package/src/interfaces/offchain/types.ts +13 -0
- package/src/interfaces/offences/definitions.ts +23 -0
- package/src/interfaces/offences/index.ts +4 -0
- package/src/interfaces/offences/types.ts +33 -0
- package/src/interfaces/ormlOracle/definitions.ts +15 -0
- package/src/interfaces/ormlOracle/index.ts +4 -0
- package/src/interfaces/ormlOracle/runtime.ts +48 -0
- package/src/interfaces/ormlOracle/types.ts +4 -0
- package/src/interfaces/ormlTokens/definitions.ts +15 -0
- package/src/interfaces/ormlTokens/index.ts +4 -0
- package/src/interfaces/ormlTokens/runtime.ts +30 -0
- package/src/interfaces/ormlTokens/types.ts +4 -0
- package/src/interfaces/parachains/SystemInherentData.spec.ts +29 -0
- package/src/interfaces/parachains/definitions.ts +571 -0
- package/src/interfaces/parachains/hrmp.ts +30 -0
- package/src/interfaces/parachains/index.ts +4 -0
- package/src/interfaces/parachains/runtime.ts +426 -0
- package/src/interfaces/parachains/slots.ts +59 -0
- package/src/interfaces/parachains/types.ts +984 -0
- package/src/interfaces/payment/definitions.ts +42 -0
- package/src/interfaces/payment/index.ts +4 -0
- package/src/interfaces/payment/rpc.ts +44 -0
- package/src/interfaces/payment/runtime.ts +186 -0
- package/src/interfaces/payment/types.ts +41 -0
- package/src/interfaces/poll/definitions.ts +14 -0
- package/src/interfaces/poll/index.ts +4 -0
- package/src/interfaces/poll/types.ts +9 -0
- package/src/interfaces/pow/definitions.ts +15 -0
- package/src/interfaces/pow/index.ts +4 -0
- package/src/interfaces/pow/runtime.ts +32 -0
- package/src/interfaces/pow/types.ts +4 -0
- package/src/interfaces/proxy/definitions.ts +26 -0
- package/src/interfaces/proxy/index.ts +4 -0
- package/src/interfaces/proxy/types.ts +30 -0
- package/src/interfaces/purchase/definitions.ts +23 -0
- package/src/interfaces/purchase/index.ts +4 -0
- package/src/interfaces/purchase/types.ts +27 -0
- package/src/interfaces/recovery/definitions.ts +24 -0
- package/src/interfaces/recovery/index.ts +4 -0
- package/src/interfaces/recovery/types.ts +22 -0
- package/src/interfaces/rpc/definitions.ts +19 -0
- package/src/interfaces/rpc/index.ts +4 -0
- package/src/interfaces/rpc/rpc.ts +12 -0
- package/src/interfaces/rpc/types.ts +12 -0
- package/src/interfaces/runtime/Digest.spec.ts +34 -0
- package/src/interfaces/runtime/Header.spec.ts +64 -0
- package/src/interfaces/runtime/KeyValue.spec.ts +41 -0
- package/src/interfaces/runtime/definitions.ts +236 -0
- package/src/interfaces/runtime/index.ts +4 -0
- package/src/interfaces/runtime/runtime.ts +117 -0
- package/src/interfaces/runtime/types.ts +422 -0
- package/src/interfaces/scaleInfo/definitions.ts +34 -0
- package/src/interfaces/scaleInfo/index.ts +4 -0
- package/src/interfaces/scaleInfo/types.ts +265 -0
- package/src/interfaces/scaleInfo/v0.ts +72 -0
- package/src/interfaces/scaleInfo/v1.ts +73 -0
- package/src/interfaces/scheduler/definitions.ts +31 -0
- package/src/interfaces/scheduler/index.ts +4 -0
- package/src/interfaces/scheduler/types.ts +40 -0
- package/src/interfaces/session/definitions.ts +55 -0
- package/src/interfaces/session/index.ts +4 -0
- package/src/interfaces/session/runtime.ts +34 -0
- package/src/interfaces/session/types.ts +79 -0
- package/src/interfaces/society/definitions.ts +36 -0
- package/src/interfaces/society/index.ts +4 -0
- package/src/interfaces/society/types.ts +50 -0
- package/src/interfaces/staking/CompactAssignments.spec.ts +207 -0
- package/src/interfaces/staking/Exposure.spec.ts +23 -0
- package/src/interfaces/staking/definitions.ts +311 -0
- package/src/interfaces/staking/index.ts +4 -0
- package/src/interfaces/staking/runtime.ts +24 -0
- package/src/interfaces/staking/types.ts +430 -0
- package/src/interfaces/state/KeyValueOption.spec.ts +19 -0
- package/src/interfaces/state/RuntimeVersion.spec.ts +42 -0
- package/src/interfaces/state/StorageChangeSet.spec.ts +49 -0
- package/src/interfaces/state/definitions.ts +95 -0
- package/src/interfaces/state/index.ts +4 -0
- package/src/interfaces/state/rpc.ts +416 -0
- package/src/interfaces/state/types.ts +124 -0
- package/src/interfaces/statement/definitions.ts +26 -0
- package/src/interfaces/statement/index.ts +4 -0
- package/src/interfaces/statement/runtime.ts +28 -0
- package/src/interfaces/statement/types.ts +28 -0
- package/src/interfaces/support/definitions.ts +19 -0
- package/src/interfaces/support/index.ts +4 -0
- package/src/interfaces/support/types.ts +15 -0
- package/src/interfaces/syncstate/definitions.ts +14 -0
- package/src/interfaces/syncstate/index.ts +4 -0
- package/src/interfaces/syncstate/rpc.ts +18 -0
- package/src/interfaces/syncstate/types.ts +4 -0
- package/src/interfaces/system/EventRecord.spec.ts +42 -0
- package/src/interfaces/system/definitions.ts +327 -0
- package/src/interfaces/system/index.ts +4 -0
- package/src/interfaces/system/rpc.ts +144 -0
- package/src/interfaces/system/runtime.ts +24 -0
- package/src/interfaces/system/types.ts +476 -0
- package/src/interfaces/treasury/definitions.ts +68 -0
- package/src/interfaces/treasury/index.ts +4 -0
- package/src/interfaces/treasury/types.ts +87 -0
- package/src/interfaces/txpayment/definitions.ts +11 -0
- package/src/interfaces/txpayment/index.ts +4 -0
- package/src/interfaces/txpayment/types.ts +9 -0
- package/src/interfaces/txqueue/definitions.ts +27 -0
- package/src/interfaces/txqueue/index.ts +4 -0
- package/src/interfaces/txqueue/runtime.ts +66 -0
- package/src/interfaces/txqueue/types.ts +33 -0
- package/src/interfaces/types.ts +82 -0
- package/src/interfaces/uniques/definitions.ts +50 -0
- package/src/interfaces/uniques/index.ts +4 -0
- package/src/interfaces/uniques/types.ts +62 -0
- package/src/interfaces/utility/definitions.ts +23 -0
- package/src/interfaces/utility/index.ts +4 -0
- package/src/interfaces/utility/types.ts +21 -0
- package/src/interfaces/vesting/definitions.ts +18 -0
- package/src/interfaces/vesting/index.ts +4 -0
- package/src/interfaces/vesting/types.ts +14 -0
- package/src/interfaces/xcm/definitions.ts +189 -0
- package/src/interfaces/xcm/index.ts +4 -0
- package/src/interfaces/xcm/types.ts +2546 -0
- package/src/interfaces/xcm/v0.ts +225 -0
- package/src/interfaces/xcm/v1.ts +224 -0
- package/src/interfaces/xcm/v2.ts +293 -0
- package/src/interfaces/xcm/v3.ts +386 -0
- package/src/interfaces/xcm/v4.ts +281 -0
- package/src/interfaces/xcm/v5.ts +314 -0
- package/src/interfaces/xcmPaymentApi/definitions.ts +25 -0
- package/src/interfaces/xcmPaymentApi/index.ts +4 -0
- package/src/interfaces/xcmPaymentApi/runtime.ts +48 -0
- package/src/interfaces/xcmPaymentApi/types.ts +16 -0
- package/src/interfaces/xcmRuntimeApi/definitions.ts +19 -0
- package/src/interfaces/xcmRuntimeApi/index.ts +4 -0
- package/src/interfaces/xcmRuntimeApi/runtime.ts +24 -0
- package/src/interfaces/xcmRuntimeApi/types.ts +13 -0
- package/src/lookup.ts +5 -0
- package/src/metadata/MagicNumber.spec.ts +29 -0
- package/src/metadata/MagicNumber.ts +18 -0
- package/src/metadata/Metadata.spec.ts +57 -0
- package/src/metadata/Metadata.ts +53 -0
- package/src/metadata/MetadataVersioned.ts +183 -0
- package/src/metadata/PortableRegistry/PortableRegistry.Range.spec.ts +58 -0
- package/src/metadata/PortableRegistry/PortableRegistry.ts +1095 -0
- package/src/metadata/PortableRegistry/index.ts +5 -0
- package/src/metadata/PortableRegistry/toV1.ts +130 -0
- package/src/metadata/README.md +10 -0
- package/src/metadata/decorate/constants/index.spec.ts +44 -0
- package/src/metadata/decorate/constants/index.ts +39 -0
- package/src/metadata/decorate/errors/index.spec.ts +47 -0
- package/src/metadata/decorate/errors/index.ts +58 -0
- package/src/metadata/decorate/events/index.spec.ts +52 -0
- package/src/metadata/decorate/events/index.ts +42 -0
- package/src/metadata/decorate/extrinsics/createUnchecked.ts +38 -0
- package/src/metadata/decorate/extrinsics/index.spec.ts +90 -0
- package/src/metadata/decorate/extrinsics/index.ts +66 -0
- package/src/metadata/decorate/index.spec.ts +57 -0
- package/src/metadata/decorate/index.ts +35 -0
- package/src/metadata/decorate/storage/createFunction.spec.ts +179 -0
- package/src/metadata/decorate/storage/createFunction.ts +258 -0
- package/src/metadata/decorate/storage/getHasher.spec.ts +30 -0
- package/src/metadata/decorate/storage/getHasher.ts +36 -0
- package/src/metadata/decorate/storage/getStorage.spec.ts +31 -0
- package/src/metadata/decorate/storage/getStorage.ts +20 -0
- package/src/metadata/decorate/storage/index.spec.ts +67 -0
- package/src/metadata/decorate/storage/index.ts +50 -0
- package/src/metadata/decorate/storage/substrate.spec.ts +36 -0
- package/src/metadata/decorate/storage/substrate.ts +56 -0
- package/src/metadata/decorate/storage/util.ts +101 -0
- package/src/metadata/decorate/types.ts +52 -0
- package/src/metadata/decorate/util.ts +20 -0
- package/src/metadata/index.ts +6 -0
- package/src/metadata/types.ts +9 -0
- package/src/metadata/util/extractTypes.ts +64 -0
- package/src/metadata/util/flattenUniq.spec.ts +20 -0
- package/src/metadata/util/flattenUniq.ts +19 -0
- package/src/metadata/util/getSiName.ts +11 -0
- package/src/metadata/util/getUniqTypes.ts +67 -0
- package/src/metadata/util/index.ts +8 -0
- package/src/metadata/util/testUtil.ts +217 -0
- package/src/metadata/util/toCallsOnly.spec.ts +46 -0
- package/src/metadata/util/toCallsOnly.ts +43 -0
- package/src/metadata/util/types.ts +9 -0
- package/src/metadata/util/validateTypes.ts +33 -0
- package/src/metadata/v10/Metadata.spec.ts +12 -0
- package/src/metadata/v10/toV11.ts +18 -0
- package/src/metadata/v11/Metadata.spec.ts +12 -0
- package/src/metadata/v11/toV12.ts +19 -0
- package/src/metadata/v12/Metadata.spec.ts +12 -0
- package/src/metadata/v12/toV13.ts +12 -0
- package/src/metadata/v13/Metadata.spec.ts +24 -0
- package/src/metadata/v13/toV14.ts +352 -0
- package/src/metadata/v14/Metadata.spec.ts +20 -0
- package/src/metadata/v14/toV15.ts +45 -0
- package/src/metadata/v15/Metadata.spec.ts +28 -0
- package/src/metadata/v15/toV16.ts +147 -0
- package/src/metadata/v16/Metadata.spec.ts +30 -0
- package/src/metadata/v16/toLatest.ts +13 -0
- package/src/metadata/v9/Metadata.spec.ts +12 -0
- package/src/metadata/v9/toV10.ts +62 -0
- package/src/metadata/versions.ts +17 -0
- package/src/mod.ts +4 -0
- package/src/packageDetect.ts +13 -0
- package/src/packageInfo.ts +6 -0
- package/src/primitive/Data.spec.ts +45 -0
- package/src/primitive/Data.ts +142 -0
- package/src/primitive/StorageKey.spec.ts +43 -0
- package/src/primitive/StorageKey.ts +251 -0
- package/src/primitive/index.ts +13 -0
- package/src/primitive/types.ts +22 -0
- package/src/types/augmentLookup.ts +23 -0
- package/src/types/augmentRegistry.ts +53 -0
- package/src/types/calls.ts +15 -0
- package/src/types/codec.ts +15 -0
- package/src/types/definitions.ts +119 -0
- package/src/types/detect.ts +148 -0
- package/src/types/events.ts +37 -0
- package/src/types/extrinsic.ts +262 -0
- package/src/types/index.ts +22 -0
- package/src/types/interfaces.ts +51 -0
- package/src/types/registry.ts +106 -0
- package/src/util/index.ts +4 -0
- package/src/util/storage.ts +24 -0
- package/tsconfig.build.json +17 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.spec.json +22 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import type { GenericChainProperties, GenericEvent } from '@pezkuwi/types';
|
|
2
|
+
import type { Bytes, Compact, Enum, HashMap, Option, Result, Struct, Text, U8aFixed, Vec, bool, i32, u32, u64, u8 } from '@pezkuwi/types-codec';
|
|
3
|
+
import type { ITuple } from '@pezkuwi/types-codec/types';
|
|
4
|
+
import type { AccountData } from '@pezkuwi/types/interfaces/balances';
|
|
5
|
+
import type { AccountId, BlockNumber, Digest, Hash, Index, Pays, Weight } from '@pezkuwi/types/interfaces/runtime';
|
|
6
|
+
/** @name AccountInfo */
|
|
7
|
+
export interface AccountInfo extends AccountInfoWithTripleRefCount {
|
|
8
|
+
}
|
|
9
|
+
/** @name AccountInfoWithDualRefCount */
|
|
10
|
+
export interface AccountInfoWithDualRefCount extends Struct {
|
|
11
|
+
readonly nonce: Index;
|
|
12
|
+
readonly consumers: RefCount;
|
|
13
|
+
readonly providers: RefCount;
|
|
14
|
+
readonly data: AccountData;
|
|
15
|
+
}
|
|
16
|
+
/** @name AccountInfoWithProviders */
|
|
17
|
+
export interface AccountInfoWithProviders extends AccountInfoWithDualRefCount {
|
|
18
|
+
}
|
|
19
|
+
/** @name AccountInfoWithRefCount */
|
|
20
|
+
export interface AccountInfoWithRefCount extends Struct {
|
|
21
|
+
readonly nonce: Index;
|
|
22
|
+
readonly refcount: RefCount;
|
|
23
|
+
readonly data: AccountData;
|
|
24
|
+
}
|
|
25
|
+
/** @name AccountInfoWithRefCountU8 */
|
|
26
|
+
export interface AccountInfoWithRefCountU8 extends Struct {
|
|
27
|
+
readonly nonce: Index;
|
|
28
|
+
readonly refcount: u8;
|
|
29
|
+
readonly data: AccountData;
|
|
30
|
+
}
|
|
31
|
+
/** @name AccountInfoWithTripleRefCount */
|
|
32
|
+
export interface AccountInfoWithTripleRefCount extends Struct {
|
|
33
|
+
readonly nonce: Index;
|
|
34
|
+
readonly consumers: RefCount;
|
|
35
|
+
readonly providers: RefCount;
|
|
36
|
+
readonly sufficients: RefCount;
|
|
37
|
+
readonly data: AccountData;
|
|
38
|
+
}
|
|
39
|
+
/** @name ApplyExtrinsicResult */
|
|
40
|
+
export interface ApplyExtrinsicResult extends Result<DispatchOutcome, TransactionValidityError> {
|
|
41
|
+
readonly isErr: boolean;
|
|
42
|
+
readonly asErr: TransactionValidityError;
|
|
43
|
+
readonly isOk: boolean;
|
|
44
|
+
readonly asOk: DispatchOutcome;
|
|
45
|
+
}
|
|
46
|
+
/** @name ApplyExtrinsicResultPre6 */
|
|
47
|
+
export interface ApplyExtrinsicResultPre6 extends Result<DispatchOutcomePre6, TransactionValidityError> {
|
|
48
|
+
readonly isErr: boolean;
|
|
49
|
+
readonly asErr: TransactionValidityError;
|
|
50
|
+
readonly isOk: boolean;
|
|
51
|
+
readonly asOk: DispatchOutcomePre6;
|
|
52
|
+
}
|
|
53
|
+
/** @name ArithmeticError */
|
|
54
|
+
export interface ArithmeticError extends Enum {
|
|
55
|
+
readonly isUnderflow: boolean;
|
|
56
|
+
readonly isOverflow: boolean;
|
|
57
|
+
readonly isDivisionByZero: boolean;
|
|
58
|
+
readonly type: 'Underflow' | 'Overflow' | 'DivisionByZero';
|
|
59
|
+
}
|
|
60
|
+
/** @name BlockLength */
|
|
61
|
+
export interface BlockLength extends Struct {
|
|
62
|
+
readonly max: PerDispatchClassU32;
|
|
63
|
+
}
|
|
64
|
+
/** @name BlockWeights */
|
|
65
|
+
export interface BlockWeights extends Struct {
|
|
66
|
+
readonly baseBlock: Weight;
|
|
67
|
+
readonly maxBlock: Weight;
|
|
68
|
+
readonly perClass: PerDispatchClassWeightsPerClass;
|
|
69
|
+
}
|
|
70
|
+
/** @name ChainProperties */
|
|
71
|
+
export interface ChainProperties extends GenericChainProperties {
|
|
72
|
+
}
|
|
73
|
+
/** @name ChainType */
|
|
74
|
+
export interface ChainType extends Enum {
|
|
75
|
+
readonly isDevelopment: boolean;
|
|
76
|
+
readonly isLocal: boolean;
|
|
77
|
+
readonly isLive: boolean;
|
|
78
|
+
readonly isCustom: boolean;
|
|
79
|
+
readonly asCustom: Text;
|
|
80
|
+
readonly type: 'Development' | 'Local' | 'Live' | 'Custom';
|
|
81
|
+
}
|
|
82
|
+
/** @name ConsumedWeight */
|
|
83
|
+
export interface ConsumedWeight extends PerDispatchClassWeight {
|
|
84
|
+
}
|
|
85
|
+
/** @name DigestOf */
|
|
86
|
+
export interface DigestOf extends Digest {
|
|
87
|
+
}
|
|
88
|
+
/** @name DispatchClass */
|
|
89
|
+
export interface DispatchClass extends Enum {
|
|
90
|
+
readonly isNormal: boolean;
|
|
91
|
+
readonly isOperational: boolean;
|
|
92
|
+
readonly isMandatory: boolean;
|
|
93
|
+
readonly type: 'Normal' | 'Operational' | 'Mandatory';
|
|
94
|
+
}
|
|
95
|
+
/** @name DispatchError */
|
|
96
|
+
export interface DispatchError extends Enum {
|
|
97
|
+
readonly isOther: boolean;
|
|
98
|
+
readonly isCannotLookup: boolean;
|
|
99
|
+
readonly isBadOrigin: boolean;
|
|
100
|
+
readonly isModule: boolean;
|
|
101
|
+
readonly asModule: DispatchErrorModule;
|
|
102
|
+
readonly isConsumerRemaining: boolean;
|
|
103
|
+
readonly isNoProviders: boolean;
|
|
104
|
+
readonly isTooManyConsumers: boolean;
|
|
105
|
+
readonly isToken: boolean;
|
|
106
|
+
readonly asToken: TokenError;
|
|
107
|
+
readonly isArithmetic: boolean;
|
|
108
|
+
readonly asArithmetic: ArithmeticError;
|
|
109
|
+
readonly isTransactional: boolean;
|
|
110
|
+
readonly asTransactional: TransactionalError;
|
|
111
|
+
readonly isExhausted: boolean;
|
|
112
|
+
readonly isCorruption: boolean;
|
|
113
|
+
readonly isUnavailable: boolean;
|
|
114
|
+
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional' | 'Exhausted' | 'Corruption' | 'Unavailable';
|
|
115
|
+
}
|
|
116
|
+
/** @name DispatchErrorModule */
|
|
117
|
+
export interface DispatchErrorModule extends DispatchErrorModuleU8a {
|
|
118
|
+
}
|
|
119
|
+
/** @name DispatchErrorModulePre6 */
|
|
120
|
+
export interface DispatchErrorModulePre6 extends DispatchErrorModuleU8 {
|
|
121
|
+
}
|
|
122
|
+
/** @name DispatchErrorModuleU8 */
|
|
123
|
+
export interface DispatchErrorModuleU8 extends Struct {
|
|
124
|
+
readonly index: u8;
|
|
125
|
+
readonly error: u8;
|
|
126
|
+
}
|
|
127
|
+
/** @name DispatchErrorModuleU8a */
|
|
128
|
+
export interface DispatchErrorModuleU8a extends Struct {
|
|
129
|
+
readonly index: u8;
|
|
130
|
+
readonly error: U8aFixed;
|
|
131
|
+
}
|
|
132
|
+
/** @name DispatchErrorPre6 */
|
|
133
|
+
export interface DispatchErrorPre6 extends Enum {
|
|
134
|
+
readonly isOther: boolean;
|
|
135
|
+
readonly isCannotLookup: boolean;
|
|
136
|
+
readonly isBadOrigin: boolean;
|
|
137
|
+
readonly isModule: boolean;
|
|
138
|
+
readonly asModule: DispatchErrorModulePre6;
|
|
139
|
+
readonly isConsumerRemaining: boolean;
|
|
140
|
+
readonly isNoProviders: boolean;
|
|
141
|
+
readonly isTooManyConsumers: boolean;
|
|
142
|
+
readonly isToken: boolean;
|
|
143
|
+
readonly asToken: TokenError;
|
|
144
|
+
readonly isArithmetic: boolean;
|
|
145
|
+
readonly asArithmetic: ArithmeticError;
|
|
146
|
+
readonly isTransactional: boolean;
|
|
147
|
+
readonly asTransactional: TransactionalError;
|
|
148
|
+
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'TooManyConsumers' | 'Token' | 'Arithmetic' | 'Transactional';
|
|
149
|
+
}
|
|
150
|
+
/** @name DispatchErrorPre6First */
|
|
151
|
+
export interface DispatchErrorPre6First extends Enum {
|
|
152
|
+
readonly isOther: boolean;
|
|
153
|
+
readonly isCannotLookup: boolean;
|
|
154
|
+
readonly isBadOrigin: boolean;
|
|
155
|
+
readonly isModule: boolean;
|
|
156
|
+
readonly asModule: DispatchErrorModulePre6;
|
|
157
|
+
readonly isConsumerRemaining: boolean;
|
|
158
|
+
readonly isNoProviders: boolean;
|
|
159
|
+
readonly isToken: boolean;
|
|
160
|
+
readonly asToken: TokenError;
|
|
161
|
+
readonly isArithmetic: boolean;
|
|
162
|
+
readonly asArithmetic: ArithmeticError;
|
|
163
|
+
readonly isTransactional: boolean;
|
|
164
|
+
readonly asTransactional: TransactionalError;
|
|
165
|
+
readonly type: 'Other' | 'CannotLookup' | 'BadOrigin' | 'Module' | 'ConsumerRemaining' | 'NoProviders' | 'Token' | 'Arithmetic' | 'Transactional';
|
|
166
|
+
}
|
|
167
|
+
/** @name DispatchErrorTo198 */
|
|
168
|
+
export interface DispatchErrorTo198 extends Struct {
|
|
169
|
+
readonly module: Option<u8>;
|
|
170
|
+
readonly error: u8;
|
|
171
|
+
}
|
|
172
|
+
/** @name DispatchInfo */
|
|
173
|
+
export interface DispatchInfo extends Struct {
|
|
174
|
+
readonly weight: Weight;
|
|
175
|
+
readonly class: DispatchClass;
|
|
176
|
+
readonly paysFee: Pays;
|
|
177
|
+
}
|
|
178
|
+
/** @name DispatchInfoTo190 */
|
|
179
|
+
export interface DispatchInfoTo190 extends Struct {
|
|
180
|
+
readonly weight: Weight;
|
|
181
|
+
readonly class: DispatchClass;
|
|
182
|
+
}
|
|
183
|
+
/** @name DispatchInfoTo244 */
|
|
184
|
+
export interface DispatchInfoTo244 extends Struct {
|
|
185
|
+
readonly weight: Weight;
|
|
186
|
+
readonly class: DispatchClass;
|
|
187
|
+
readonly paysFee: bool;
|
|
188
|
+
}
|
|
189
|
+
/** @name DispatchOutcome */
|
|
190
|
+
export interface DispatchOutcome extends Result<ITuple<[]>, DispatchError> {
|
|
191
|
+
readonly isErr: boolean;
|
|
192
|
+
readonly asErr: DispatchError;
|
|
193
|
+
readonly isOk: boolean;
|
|
194
|
+
readonly asOk: ITuple<[]>;
|
|
195
|
+
}
|
|
196
|
+
/** @name DispatchOutcomePre6 */
|
|
197
|
+
export interface DispatchOutcomePre6 extends Result<ITuple<[]>, DispatchErrorPre6> {
|
|
198
|
+
readonly isErr: boolean;
|
|
199
|
+
readonly asErr: DispatchErrorPre6;
|
|
200
|
+
readonly isOk: boolean;
|
|
201
|
+
readonly asOk: ITuple<[]>;
|
|
202
|
+
}
|
|
203
|
+
/** @name DispatchResult */
|
|
204
|
+
export interface DispatchResult extends Result<ITuple<[]>, DispatchError> {
|
|
205
|
+
readonly isErr: boolean;
|
|
206
|
+
readonly asErr: DispatchError;
|
|
207
|
+
readonly isOk: boolean;
|
|
208
|
+
readonly asOk: ITuple<[]>;
|
|
209
|
+
}
|
|
210
|
+
/** @name DispatchResultOf */
|
|
211
|
+
export interface DispatchResultOf extends DispatchResult {
|
|
212
|
+
}
|
|
213
|
+
/** @name DispatchResultTo198 */
|
|
214
|
+
export interface DispatchResultTo198 extends Result<ITuple<[]>, Text> {
|
|
215
|
+
readonly isErr: boolean;
|
|
216
|
+
readonly asErr: Text;
|
|
217
|
+
readonly isOk: boolean;
|
|
218
|
+
readonly asOk: ITuple<[]>;
|
|
219
|
+
}
|
|
220
|
+
/** @name Event */
|
|
221
|
+
export interface Event extends GenericEvent {
|
|
222
|
+
}
|
|
223
|
+
/** @name EventId */
|
|
224
|
+
export interface EventId extends U8aFixed {
|
|
225
|
+
}
|
|
226
|
+
/** @name EventIndex */
|
|
227
|
+
export interface EventIndex extends u32 {
|
|
228
|
+
}
|
|
229
|
+
/** @name EventRecord */
|
|
230
|
+
export interface EventRecord extends Struct {
|
|
231
|
+
readonly phase: Phase;
|
|
232
|
+
readonly event: Event;
|
|
233
|
+
readonly topics: Vec<Hash>;
|
|
234
|
+
}
|
|
235
|
+
/** @name Health */
|
|
236
|
+
export interface Health extends Struct {
|
|
237
|
+
readonly peers: u64;
|
|
238
|
+
readonly isSyncing: bool;
|
|
239
|
+
readonly shouldHavePeers: bool;
|
|
240
|
+
}
|
|
241
|
+
/** @name InvalidTransaction */
|
|
242
|
+
export interface InvalidTransaction extends Enum {
|
|
243
|
+
readonly isCall: boolean;
|
|
244
|
+
readonly isPayment: boolean;
|
|
245
|
+
readonly isFuture: boolean;
|
|
246
|
+
readonly isStale: boolean;
|
|
247
|
+
readonly isBadProof: boolean;
|
|
248
|
+
readonly isAncientBirthBlock: boolean;
|
|
249
|
+
readonly isExhaustsResources: boolean;
|
|
250
|
+
readonly isCustom: boolean;
|
|
251
|
+
readonly asCustom: u8;
|
|
252
|
+
readonly isBadMandatory: boolean;
|
|
253
|
+
readonly isMandatoryDispatch: boolean;
|
|
254
|
+
readonly isBadSigner: boolean;
|
|
255
|
+
readonly type: 'Call' | 'Payment' | 'Future' | 'Stale' | 'BadProof' | 'AncientBirthBlock' | 'ExhaustsResources' | 'Custom' | 'BadMandatory' | 'MandatoryDispatch' | 'BadSigner';
|
|
256
|
+
}
|
|
257
|
+
/** @name Key */
|
|
258
|
+
export interface Key extends Bytes {
|
|
259
|
+
}
|
|
260
|
+
/** @name LastRuntimeUpgradeInfo */
|
|
261
|
+
export interface LastRuntimeUpgradeInfo extends Struct {
|
|
262
|
+
readonly specVersion: Compact<u32>;
|
|
263
|
+
readonly specName: Text;
|
|
264
|
+
}
|
|
265
|
+
/** @name NetworkState */
|
|
266
|
+
export interface NetworkState extends Struct {
|
|
267
|
+
readonly peerId: Text;
|
|
268
|
+
readonly listenedAddresses: Vec<Text>;
|
|
269
|
+
readonly externalAddresses: Vec<Text>;
|
|
270
|
+
readonly connectedPeers: HashMap<Text, Peer>;
|
|
271
|
+
readonly notConnectedPeers: HashMap<Text, NotConnectedPeer>;
|
|
272
|
+
readonly averageDownloadPerSec: u64;
|
|
273
|
+
readonly averageUploadPerSec: u64;
|
|
274
|
+
readonly peerset: NetworkStatePeerset;
|
|
275
|
+
}
|
|
276
|
+
/** @name NetworkStatePeerset */
|
|
277
|
+
export interface NetworkStatePeerset extends Struct {
|
|
278
|
+
readonly messageQueue: u64;
|
|
279
|
+
readonly nodes: HashMap<Text, NetworkStatePeersetInfo>;
|
|
280
|
+
}
|
|
281
|
+
/** @name NetworkStatePeersetInfo */
|
|
282
|
+
export interface NetworkStatePeersetInfo extends Struct {
|
|
283
|
+
readonly connected: bool;
|
|
284
|
+
readonly reputation: i32;
|
|
285
|
+
}
|
|
286
|
+
/** @name NodeRole */
|
|
287
|
+
export interface NodeRole extends Enum {
|
|
288
|
+
readonly isFull: boolean;
|
|
289
|
+
readonly isLightClient: boolean;
|
|
290
|
+
readonly isAuthority: boolean;
|
|
291
|
+
readonly isUnknownRole: boolean;
|
|
292
|
+
readonly asUnknownRole: u8;
|
|
293
|
+
readonly type: 'Full' | 'LightClient' | 'Authority' | 'UnknownRole';
|
|
294
|
+
}
|
|
295
|
+
/** @name NotConnectedPeer */
|
|
296
|
+
export interface NotConnectedPeer extends Struct {
|
|
297
|
+
readonly knownAddresses: Vec<Text>;
|
|
298
|
+
readonly latestPingTime: Option<PeerPing>;
|
|
299
|
+
readonly versionString: Option<Text>;
|
|
300
|
+
}
|
|
301
|
+
/** @name Peer */
|
|
302
|
+
export interface Peer extends Struct {
|
|
303
|
+
readonly enabled: bool;
|
|
304
|
+
readonly endpoint: PeerEndpoint;
|
|
305
|
+
readonly knownAddresses: Vec<Text>;
|
|
306
|
+
readonly latestPingTime: PeerPing;
|
|
307
|
+
readonly open: bool;
|
|
308
|
+
readonly versionString: Text;
|
|
309
|
+
}
|
|
310
|
+
/** @name PeerEndpoint */
|
|
311
|
+
export interface PeerEndpoint extends Struct {
|
|
312
|
+
readonly listening: PeerEndpointAddr;
|
|
313
|
+
}
|
|
314
|
+
/** @name PeerEndpointAddr */
|
|
315
|
+
export interface PeerEndpointAddr extends Struct {
|
|
316
|
+
readonly localAddr: Text;
|
|
317
|
+
readonly sendBackAddr: Text;
|
|
318
|
+
}
|
|
319
|
+
/** @name PeerInfo */
|
|
320
|
+
export interface PeerInfo extends Struct {
|
|
321
|
+
readonly peerId: Text;
|
|
322
|
+
readonly roles: Text;
|
|
323
|
+
readonly protocolVersion: u32;
|
|
324
|
+
readonly bestHash: Hash;
|
|
325
|
+
readonly bestNumber: BlockNumber;
|
|
326
|
+
}
|
|
327
|
+
/** @name PeerPing */
|
|
328
|
+
export interface PeerPing extends Struct {
|
|
329
|
+
readonly nanos: u64;
|
|
330
|
+
readonly secs: u64;
|
|
331
|
+
}
|
|
332
|
+
/** @name PerDispatchClassU32 */
|
|
333
|
+
export interface PerDispatchClassU32 extends Struct {
|
|
334
|
+
readonly normal: u32;
|
|
335
|
+
readonly operational: u32;
|
|
336
|
+
readonly mandatory: u32;
|
|
337
|
+
}
|
|
338
|
+
/** @name PerDispatchClassWeight */
|
|
339
|
+
export interface PerDispatchClassWeight extends Struct {
|
|
340
|
+
readonly normal: Weight;
|
|
341
|
+
readonly operational: Weight;
|
|
342
|
+
readonly mandatory: Weight;
|
|
343
|
+
}
|
|
344
|
+
/** @name PerDispatchClassWeightsPerClass */
|
|
345
|
+
export interface PerDispatchClassWeightsPerClass extends Struct {
|
|
346
|
+
readonly normal: WeightPerClass;
|
|
347
|
+
readonly operational: WeightPerClass;
|
|
348
|
+
readonly mandatory: WeightPerClass;
|
|
349
|
+
}
|
|
350
|
+
/** @name Phase */
|
|
351
|
+
export interface Phase extends Enum {
|
|
352
|
+
readonly isApplyExtrinsic: boolean;
|
|
353
|
+
readonly asApplyExtrinsic: u32;
|
|
354
|
+
readonly isFinalization: boolean;
|
|
355
|
+
readonly isInitialization: boolean;
|
|
356
|
+
readonly type: 'ApplyExtrinsic' | 'Finalization' | 'Initialization';
|
|
357
|
+
}
|
|
358
|
+
/** @name RawOrigin */
|
|
359
|
+
export interface RawOrigin extends Enum {
|
|
360
|
+
readonly isRoot: boolean;
|
|
361
|
+
readonly isSigned: boolean;
|
|
362
|
+
readonly asSigned: AccountId;
|
|
363
|
+
readonly isNone: boolean;
|
|
364
|
+
readonly type: 'Root' | 'Signed' | 'None';
|
|
365
|
+
}
|
|
366
|
+
/** @name RefCount */
|
|
367
|
+
export interface RefCount extends u32 {
|
|
368
|
+
}
|
|
369
|
+
/** @name RefCountTo259 */
|
|
370
|
+
export interface RefCountTo259 extends u8 {
|
|
371
|
+
}
|
|
372
|
+
/** @name SyncState */
|
|
373
|
+
export interface SyncState extends Struct {
|
|
374
|
+
readonly startingBlock: BlockNumber;
|
|
375
|
+
readonly currentBlock: BlockNumber;
|
|
376
|
+
readonly highestBlock: Option<BlockNumber>;
|
|
377
|
+
}
|
|
378
|
+
/** @name SystemOrigin */
|
|
379
|
+
export interface SystemOrigin extends RawOrigin {
|
|
380
|
+
}
|
|
381
|
+
/** @name TokenError */
|
|
382
|
+
export interface TokenError extends Enum {
|
|
383
|
+
readonly isNoFunds: boolean;
|
|
384
|
+
readonly isWouldDie: boolean;
|
|
385
|
+
readonly isBelowMinimum: boolean;
|
|
386
|
+
readonly isCannotCreate: boolean;
|
|
387
|
+
readonly isUnknownAsset: boolean;
|
|
388
|
+
readonly isFrozen: boolean;
|
|
389
|
+
readonly isUnsupported: boolean;
|
|
390
|
+
readonly isUnderflow: boolean;
|
|
391
|
+
readonly isOverflow: boolean;
|
|
392
|
+
readonly type: 'NoFunds' | 'WouldDie' | 'BelowMinimum' | 'CannotCreate' | 'UnknownAsset' | 'Frozen' | 'Unsupported' | 'Underflow' | 'Overflow';
|
|
393
|
+
}
|
|
394
|
+
/** @name TransactionalError */
|
|
395
|
+
export interface TransactionalError extends Enum {
|
|
396
|
+
readonly isLimitReached: boolean;
|
|
397
|
+
readonly isNoLayer: boolean;
|
|
398
|
+
readonly type: 'LimitReached' | 'NoLayer';
|
|
399
|
+
}
|
|
400
|
+
/** @name TransactionValidityError */
|
|
401
|
+
export interface TransactionValidityError extends Enum {
|
|
402
|
+
readonly isInvalid: boolean;
|
|
403
|
+
readonly asInvalid: InvalidTransaction;
|
|
404
|
+
readonly isUnknown: boolean;
|
|
405
|
+
readonly asUnknown: UnknownTransaction;
|
|
406
|
+
readonly type: 'Invalid' | 'Unknown';
|
|
407
|
+
}
|
|
408
|
+
/** @name UnknownTransaction */
|
|
409
|
+
export interface UnknownTransaction extends Enum {
|
|
410
|
+
readonly isCannotLookup: boolean;
|
|
411
|
+
readonly isNoUnsignedValidator: boolean;
|
|
412
|
+
readonly isCustom: boolean;
|
|
413
|
+
readonly asCustom: u8;
|
|
414
|
+
readonly type: 'CannotLookup' | 'NoUnsignedValidator' | 'Custom';
|
|
415
|
+
}
|
|
416
|
+
/** @name WeightPerClass */
|
|
417
|
+
export interface WeightPerClass extends Struct {
|
|
418
|
+
readonly baseExtrinsic: Weight;
|
|
419
|
+
readonly maxExtrinsic: Option<Weight>;
|
|
420
|
+
readonly maxTotal: Option<Weight>;
|
|
421
|
+
readonly reserved: Option<Weight>;
|
|
422
|
+
}
|
|
423
|
+
export type PHANTOM_SYSTEM = 'system';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types.js';
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { Enum, Option, Struct, Vec, bool, u32 } from '@pezkuwi/types-codec';
|
|
2
|
+
import type { ITuple } from '@pezkuwi/types-codec/types';
|
|
3
|
+
import type { AccountId, Balance, BlockNumber, Hash } from '@pezkuwi/types/interfaces/runtime';
|
|
4
|
+
/** @name Bounty */
|
|
5
|
+
export interface Bounty extends Struct {
|
|
6
|
+
readonly proposer: AccountId;
|
|
7
|
+
readonly value: Balance;
|
|
8
|
+
readonly fee: Balance;
|
|
9
|
+
readonly curatorDeposit: Balance;
|
|
10
|
+
readonly bond: Balance;
|
|
11
|
+
readonly status: BountyStatus;
|
|
12
|
+
}
|
|
13
|
+
/** @name BountyIndex */
|
|
14
|
+
export interface BountyIndex extends u32 {
|
|
15
|
+
}
|
|
16
|
+
/** @name BountyStatus */
|
|
17
|
+
export interface BountyStatus extends Enum {
|
|
18
|
+
readonly isProposed: boolean;
|
|
19
|
+
readonly isApproved: boolean;
|
|
20
|
+
readonly isFunded: boolean;
|
|
21
|
+
readonly isCuratorProposed: boolean;
|
|
22
|
+
readonly asCuratorProposed: BountyStatusCuratorProposed;
|
|
23
|
+
readonly isActive: boolean;
|
|
24
|
+
readonly asActive: BountyStatusActive;
|
|
25
|
+
readonly isPendingPayout: boolean;
|
|
26
|
+
readonly asPendingPayout: BountyStatusPendingPayout;
|
|
27
|
+
readonly type: 'Proposed' | 'Approved' | 'Funded' | 'CuratorProposed' | 'Active' | 'PendingPayout';
|
|
28
|
+
}
|
|
29
|
+
/** @name BountyStatusActive */
|
|
30
|
+
export interface BountyStatusActive extends Struct {
|
|
31
|
+
readonly curator: AccountId;
|
|
32
|
+
readonly updateDue: BlockNumber;
|
|
33
|
+
}
|
|
34
|
+
/** @name BountyStatusCuratorProposed */
|
|
35
|
+
export interface BountyStatusCuratorProposed extends Struct {
|
|
36
|
+
readonly curator: AccountId;
|
|
37
|
+
}
|
|
38
|
+
/** @name BountyStatusPendingPayout */
|
|
39
|
+
export interface BountyStatusPendingPayout extends Struct {
|
|
40
|
+
readonly curator: AccountId;
|
|
41
|
+
readonly beneficiary: AccountId;
|
|
42
|
+
readonly unlockAt: BlockNumber;
|
|
43
|
+
}
|
|
44
|
+
/** @name OpenTip */
|
|
45
|
+
export interface OpenTip extends Struct {
|
|
46
|
+
readonly reason: Hash;
|
|
47
|
+
readonly who: AccountId;
|
|
48
|
+
readonly finder: AccountId;
|
|
49
|
+
readonly deposit: Balance;
|
|
50
|
+
readonly closes: Option<BlockNumber>;
|
|
51
|
+
readonly tips: Vec<OpenTipTip>;
|
|
52
|
+
readonly findersFee: bool;
|
|
53
|
+
}
|
|
54
|
+
/** @name OpenTipFinderTo225 */
|
|
55
|
+
export interface OpenTipFinderTo225 extends ITuple<[AccountId, Balance]> {
|
|
56
|
+
}
|
|
57
|
+
/** @name OpenTipTip */
|
|
58
|
+
export interface OpenTipTip extends ITuple<[AccountId, Balance]> {
|
|
59
|
+
}
|
|
60
|
+
/** @name OpenTipTo225 */
|
|
61
|
+
export interface OpenTipTo225 extends Struct {
|
|
62
|
+
readonly reason: Hash;
|
|
63
|
+
readonly who: AccountId;
|
|
64
|
+
readonly finder: Option<OpenTipFinderTo225>;
|
|
65
|
+
readonly closes: Option<BlockNumber>;
|
|
66
|
+
readonly tips: Vec<OpenTipTip>;
|
|
67
|
+
}
|
|
68
|
+
/** @name TreasuryProposal */
|
|
69
|
+
export interface TreasuryProposal extends Struct {
|
|
70
|
+
readonly proposer: AccountId;
|
|
71
|
+
readonly value: Balance;
|
|
72
|
+
readonly beneficiary: AccountId;
|
|
73
|
+
readonly bond: Balance;
|
|
74
|
+
}
|
|
75
|
+
export type PHANTOM_TREASURY = 'treasury';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types.js';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Enum, Result, Struct, Vec, bool } from '@pezkuwi/types-codec';
|
|
2
|
+
import type { TransactionLongevity, TransactionPriority, TransactionTag } from '@pezkuwi/types/interfaces/runtime';
|
|
3
|
+
import type { TransactionValidityError } from '@pezkuwi/types/interfaces/system';
|
|
4
|
+
/** @name TransactionSource */
|
|
5
|
+
export interface TransactionSource extends Enum {
|
|
6
|
+
readonly isInBlock: boolean;
|
|
7
|
+
readonly isLocal: boolean;
|
|
8
|
+
readonly isExternal: boolean;
|
|
9
|
+
readonly type: 'InBlock' | 'Local' | 'External';
|
|
10
|
+
}
|
|
11
|
+
/** @name TransactionValidity */
|
|
12
|
+
export interface TransactionValidity extends Result<ValidTransaction, TransactionValidityError> {
|
|
13
|
+
readonly isErr: boolean;
|
|
14
|
+
readonly asErr: TransactionValidityError;
|
|
15
|
+
readonly isOk: boolean;
|
|
16
|
+
readonly asOk: ValidTransaction;
|
|
17
|
+
}
|
|
18
|
+
/** @name ValidTransaction */
|
|
19
|
+
export interface ValidTransaction extends Struct {
|
|
20
|
+
readonly priority: TransactionPriority;
|
|
21
|
+
readonly requires: Vec<TransactionTag>;
|
|
22
|
+
readonly provides: Vec<TransactionTag>;
|
|
23
|
+
readonly longevity: TransactionLongevity;
|
|
24
|
+
readonly propagate: bool;
|
|
25
|
+
}
|
|
26
|
+
export type PHANTOM_TXQUEUE = 'txqueue';
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export * from './assetConversion/types.js';
|
|
2
|
+
export * from './assets/types.js';
|
|
3
|
+
export * from './attestations/types.js';
|
|
4
|
+
export * from './aura/types.js';
|
|
5
|
+
export * from './author/types.js';
|
|
6
|
+
export * from './authorship/types.js';
|
|
7
|
+
export * from './babe/types.js';
|
|
8
|
+
export * from './balances/types.js';
|
|
9
|
+
export * from './beefy/types.js';
|
|
10
|
+
export * from './benchmark/types.js';
|
|
11
|
+
export * from './blockbuilder/types.js';
|
|
12
|
+
export * from './bridges/types.js';
|
|
13
|
+
export * from './chain/types.js';
|
|
14
|
+
export * from './childstate/types.js';
|
|
15
|
+
export * from './claims/types.js';
|
|
16
|
+
export * from './collective/types.js';
|
|
17
|
+
export * from './consensus/types.js';
|
|
18
|
+
export * from './contracts/types.js';
|
|
19
|
+
export * from './contractsAbi/types.js';
|
|
20
|
+
export * from './crowdloan/types.js';
|
|
21
|
+
export * from './cumulus/types.js';
|
|
22
|
+
export * from './democracy/types.js';
|
|
23
|
+
export * from './dev/types.js';
|
|
24
|
+
export * from './discovery/types.js';
|
|
25
|
+
export * from './dryRunApi/types.js';
|
|
26
|
+
export * from './elections/types.js';
|
|
27
|
+
export * from './engine/types.js';
|
|
28
|
+
export * from './eth/types.js';
|
|
29
|
+
export * from './evm/types.js';
|
|
30
|
+
export * from './extrinsics/types.js';
|
|
31
|
+
export * from './finality/types.js';
|
|
32
|
+
export * from './fungibles/types.js';
|
|
33
|
+
export * from './genericAsset/types.js';
|
|
34
|
+
export * from './genesisBuilder/types.js';
|
|
35
|
+
export * from './gilt/types.js';
|
|
36
|
+
export * from './grandpa/types.js';
|
|
37
|
+
export * from './identity/types.js';
|
|
38
|
+
export * from './imOnline/types.js';
|
|
39
|
+
export * from './lottery/types.js';
|
|
40
|
+
export * from './metadata/types.js';
|
|
41
|
+
export * from './mixnet/types.js';
|
|
42
|
+
export * from './mmr/types.js';
|
|
43
|
+
export * from './nfts/types.js';
|
|
44
|
+
export * from './nimbus/types.js';
|
|
45
|
+
export * from './nompools/types.js';
|
|
46
|
+
export * from './offchain/types.js';
|
|
47
|
+
export * from './offences/types.js';
|
|
48
|
+
export * from './ormlOracle/types.js';
|
|
49
|
+
export * from './ormlTokens/types.js';
|
|
50
|
+
export * from './parachains/types.js';
|
|
51
|
+
export * from './payment/types.js';
|
|
52
|
+
export * from './poll/types.js';
|
|
53
|
+
export * from './pow/types.js';
|
|
54
|
+
export * from './proxy/types.js';
|
|
55
|
+
export * from './purchase/types.js';
|
|
56
|
+
export * from './recovery/types.js';
|
|
57
|
+
export * from './rpc/types.js';
|
|
58
|
+
export * from './runtime/types.js';
|
|
59
|
+
export * from './scaleInfo/types.js';
|
|
60
|
+
export * from './scheduler/types.js';
|
|
61
|
+
export * from './session/types.js';
|
|
62
|
+
export * from './society/types.js';
|
|
63
|
+
export * from './staking/types.js';
|
|
64
|
+
export * from './state/types.js';
|
|
65
|
+
export * from './statement/types.js';
|
|
66
|
+
export * from './support/types.js';
|
|
67
|
+
export * from './syncstate/types.js';
|
|
68
|
+
export * from './system/types.js';
|
|
69
|
+
export * from './treasury/types.js';
|
|
70
|
+
export * from './txpayment/types.js';
|
|
71
|
+
export * from './txqueue/types.js';
|
|
72
|
+
export * from './uniques/types.js';
|
|
73
|
+
export * from './utility/types.js';
|
|
74
|
+
export * from './vesting/types.js';
|
|
75
|
+
export * from './xcm/types.js';
|
|
76
|
+
export * from './xcmPaymentApi/types.js';
|
|
77
|
+
export * from './xcmRuntimeApi/types.js';
|
|
78
|
+
export type PHANTOM_GENERATED = 'generated';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types.js';
|