@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,505 @@
|
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
import type { GenericEthereumAccountId, GenericEthereumLookupSource } from '@pezkuwi/types';
|
|
5
|
+
import type { Bytes, Enum, Option, Struct, U256, U64, U8aFixed, Vec, bool, f64, u32, u64 } from '@pezkuwi/types-codec';
|
|
6
|
+
import type { BlockNumber, H160, H2048, H256, H512, H64 } from '@pezkuwi/types/interfaces/runtime';
|
|
7
|
+
|
|
8
|
+
/** @name BlockV0 */
|
|
9
|
+
export interface BlockV0 extends Struct {
|
|
10
|
+
readonly header: EthHeader;
|
|
11
|
+
readonly transactions: Vec<TransactionV0>;
|
|
12
|
+
readonly ommers: Vec<EthHeader>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** @name BlockV1 */
|
|
16
|
+
export interface BlockV1 extends Struct {
|
|
17
|
+
readonly header: EthHeader;
|
|
18
|
+
readonly transactions: Vec<TransactionV1>;
|
|
19
|
+
readonly ommers: Vec<EthHeader>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** @name BlockV2 */
|
|
23
|
+
export interface BlockV2 extends Struct {
|
|
24
|
+
readonly header: EthHeader;
|
|
25
|
+
readonly transactions: Vec<TransactionV2>;
|
|
26
|
+
readonly ommers: Vec<EthHeader>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** @name BlockV3 */
|
|
30
|
+
export interface BlockV3 extends Struct {
|
|
31
|
+
readonly header: EthHeader;
|
|
32
|
+
readonly transactions: Vec<TransactionV3>;
|
|
33
|
+
readonly ommers: Vec<EthHeader>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** @name EIP1559Transaction */
|
|
37
|
+
export interface EIP1559Transaction extends Struct {
|
|
38
|
+
readonly chainId: u64;
|
|
39
|
+
readonly nonce: U256;
|
|
40
|
+
readonly maxPriorityFeePerGas: U256;
|
|
41
|
+
readonly maxFeePerGas: U256;
|
|
42
|
+
readonly gasLimit: U256;
|
|
43
|
+
readonly action: EthTransactionAction;
|
|
44
|
+
readonly value: U256;
|
|
45
|
+
readonly input: Bytes;
|
|
46
|
+
readonly accessList: EthAccessList;
|
|
47
|
+
readonly signature: EthTransactionSignature;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** @name EIP2930Transaction */
|
|
51
|
+
export interface EIP2930Transaction extends Struct {
|
|
52
|
+
readonly chainId: u64;
|
|
53
|
+
readonly nonce: U256;
|
|
54
|
+
readonly gasPrice: U256;
|
|
55
|
+
readonly gasLimit: U256;
|
|
56
|
+
readonly action: EthTransactionAction;
|
|
57
|
+
readonly value: U256;
|
|
58
|
+
readonly input: Bytes;
|
|
59
|
+
readonly accessList: EthAccessList;
|
|
60
|
+
readonly signature: EthTransactionSignature;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** @name EIP7702Transaction */
|
|
64
|
+
export interface EIP7702Transaction extends Struct {
|
|
65
|
+
readonly chainId: u64;
|
|
66
|
+
readonly nonce: U256;
|
|
67
|
+
readonly maxPriorityFeePerGas: U256;
|
|
68
|
+
readonly maxFeePerGas: U256;
|
|
69
|
+
readonly gasLimit: U256;
|
|
70
|
+
readonly destination: EthTransactionAction;
|
|
71
|
+
readonly value: U256;
|
|
72
|
+
readonly data: Bytes;
|
|
73
|
+
readonly accessList: EthAccessList;
|
|
74
|
+
readonly authorizationList: EthAuthorizationList;
|
|
75
|
+
readonly signature: EthTransactionSignature;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** @name EthAccessList */
|
|
79
|
+
export interface EthAccessList extends Vec<EthAccessListItem> {}
|
|
80
|
+
|
|
81
|
+
/** @name EthAccessListItem */
|
|
82
|
+
export interface EthAccessListItem extends Struct {
|
|
83
|
+
readonly address: EthAddress;
|
|
84
|
+
readonly slots: Vec<H256>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** @name EthAccount */
|
|
88
|
+
export interface EthAccount extends Struct {
|
|
89
|
+
readonly address: EthAddress;
|
|
90
|
+
readonly balance: U256;
|
|
91
|
+
readonly nonce: U256;
|
|
92
|
+
readonly codeHash: H256;
|
|
93
|
+
readonly storageHash: H256;
|
|
94
|
+
readonly accountProof: Vec<Bytes>;
|
|
95
|
+
readonly storageProof: Vec<EthStorageProof>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** @name EthAddress */
|
|
99
|
+
export interface EthAddress extends H160 {}
|
|
100
|
+
|
|
101
|
+
/** @name EthAuthorizationList */
|
|
102
|
+
export interface EthAuthorizationList extends Vec<EthAuthorizationListItem> {}
|
|
103
|
+
|
|
104
|
+
/** @name EthAuthorizationListItem */
|
|
105
|
+
export interface EthAuthorizationListItem extends Struct {
|
|
106
|
+
readonly chainId: u64;
|
|
107
|
+
readonly address: H160;
|
|
108
|
+
readonly nonce: U256;
|
|
109
|
+
readonly signature: EthAuthorizationSignature;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** @name EthAuthorizationSignature */
|
|
113
|
+
export interface EthAuthorizationSignature extends Struct {
|
|
114
|
+
readonly oddYParity: bool;
|
|
115
|
+
readonly r: H256;
|
|
116
|
+
readonly s: H256;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/** @name EthBlock */
|
|
120
|
+
export interface EthBlock extends Struct {
|
|
121
|
+
readonly header: EthHeader;
|
|
122
|
+
readonly transactions: Vec<EthTransaction>;
|
|
123
|
+
readonly ommers: Vec<EthHeader>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** @name EthBloom */
|
|
127
|
+
export interface EthBloom extends H2048 {}
|
|
128
|
+
|
|
129
|
+
/** @name EthCallRequest */
|
|
130
|
+
export interface EthCallRequest extends Struct {
|
|
131
|
+
readonly from: Option<EthAddress>;
|
|
132
|
+
readonly to: Option<EthAddress>;
|
|
133
|
+
readonly gasPrice: Option<U256>;
|
|
134
|
+
readonly gas: Option<U256>;
|
|
135
|
+
readonly value: Option<U256>;
|
|
136
|
+
readonly data: Option<Bytes>;
|
|
137
|
+
readonly nonce: Option<U256>;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/** @name EthereumAccountId */
|
|
141
|
+
export interface EthereumAccountId extends GenericEthereumAccountId {}
|
|
142
|
+
|
|
143
|
+
/** @name EthereumAddress */
|
|
144
|
+
export interface EthereumAddress extends GenericEthereumAccountId {}
|
|
145
|
+
|
|
146
|
+
/** @name EthereumLookupSource */
|
|
147
|
+
export interface EthereumLookupSource extends GenericEthereumLookupSource {}
|
|
148
|
+
|
|
149
|
+
/** @name EthereumSignature */
|
|
150
|
+
export interface EthereumSignature extends U8aFixed {}
|
|
151
|
+
|
|
152
|
+
/** @name EthFeeHistory */
|
|
153
|
+
export interface EthFeeHistory extends Struct {
|
|
154
|
+
readonly oldestBlock: U256;
|
|
155
|
+
readonly baseFeePerGas: Vec<U256>;
|
|
156
|
+
readonly gasUsedRatio: Vec<f64>;
|
|
157
|
+
readonly reward: Option<Vec<Vec<U256>>>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** @name EthFilter */
|
|
161
|
+
export interface EthFilter extends Struct {
|
|
162
|
+
readonly fromBlock: Option<BlockNumber>;
|
|
163
|
+
readonly toBlock: Option<BlockNumber>;
|
|
164
|
+
readonly blockHash: Option<H256>;
|
|
165
|
+
readonly address: Option<EthFilterAddress>;
|
|
166
|
+
readonly topics: Option<EthFilterTopic>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/** @name EthFilterAddress */
|
|
170
|
+
export interface EthFilterAddress extends Enum {
|
|
171
|
+
readonly isSingle: boolean;
|
|
172
|
+
readonly asSingle: EthAddress;
|
|
173
|
+
readonly isMultiple: boolean;
|
|
174
|
+
readonly asMultiple: Vec<EthAddress>;
|
|
175
|
+
readonly isNull: boolean;
|
|
176
|
+
readonly type: 'Single' | 'Multiple' | 'Null';
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** @name EthFilterChanges */
|
|
180
|
+
export interface EthFilterChanges extends Enum {
|
|
181
|
+
readonly isLogs: boolean;
|
|
182
|
+
readonly asLogs: Vec<EthLog>;
|
|
183
|
+
readonly isHashes: boolean;
|
|
184
|
+
readonly asHashes: Vec<H256>;
|
|
185
|
+
readonly isEmpty: boolean;
|
|
186
|
+
readonly type: 'Logs' | 'Hashes' | 'Empty';
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/** @name EthFilterTopic */
|
|
190
|
+
export interface EthFilterTopic extends Enum {
|
|
191
|
+
readonly isSingle: boolean;
|
|
192
|
+
readonly asSingle: EthFilterTopicInner;
|
|
193
|
+
readonly isMultiple: boolean;
|
|
194
|
+
readonly asMultiple: Vec<EthFilterTopicInner>;
|
|
195
|
+
readonly isNull: boolean;
|
|
196
|
+
readonly type: 'Single' | 'Multiple' | 'Null';
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/** @name EthFilterTopicEntry */
|
|
200
|
+
export interface EthFilterTopicEntry extends Option<H256> {}
|
|
201
|
+
|
|
202
|
+
/** @name EthFilterTopicInner */
|
|
203
|
+
export interface EthFilterTopicInner extends Enum {
|
|
204
|
+
readonly isSingle: boolean;
|
|
205
|
+
readonly asSingle: EthFilterTopicEntry;
|
|
206
|
+
readonly isMultiple: boolean;
|
|
207
|
+
readonly asMultiple: Vec<EthFilterTopicEntry>;
|
|
208
|
+
readonly isNull: boolean;
|
|
209
|
+
readonly type: 'Single' | 'Multiple' | 'Null';
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/** @name EthHeader */
|
|
213
|
+
export interface EthHeader extends Struct {
|
|
214
|
+
readonly parentHash: H256;
|
|
215
|
+
readonly ommersHash: H256;
|
|
216
|
+
readonly beneficiary: EthAddress;
|
|
217
|
+
readonly stateRoot: H256;
|
|
218
|
+
readonly transactionsRoot: H256;
|
|
219
|
+
readonly receiptsRoot: H256;
|
|
220
|
+
readonly logsBloom: EthBloom;
|
|
221
|
+
readonly difficulty: U256;
|
|
222
|
+
readonly number: U256;
|
|
223
|
+
readonly gasLimit: U256;
|
|
224
|
+
readonly gasUsed: U256;
|
|
225
|
+
readonly timestamp: u64;
|
|
226
|
+
readonly extraData: Bytes;
|
|
227
|
+
readonly mixMash: H256;
|
|
228
|
+
readonly nonce: H64;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/** @name EthLegacyTransactionSignature */
|
|
232
|
+
export interface EthLegacyTransactionSignature extends Struct {
|
|
233
|
+
readonly v: u64;
|
|
234
|
+
readonly r: H256;
|
|
235
|
+
readonly s: H256;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/** @name EthLog */
|
|
239
|
+
export interface EthLog extends Struct {
|
|
240
|
+
readonly address: EthAddress;
|
|
241
|
+
readonly topics: Vec<H256>;
|
|
242
|
+
readonly data: Bytes;
|
|
243
|
+
readonly blockHash: Option<H256>;
|
|
244
|
+
readonly blockNumber: Option<U256>;
|
|
245
|
+
readonly transactionHash: Option<H256>;
|
|
246
|
+
readonly transactionIndex: Option<U256>;
|
|
247
|
+
readonly logIndex: Option<U256>;
|
|
248
|
+
readonly transactionLogIndex: Option<U256>;
|
|
249
|
+
readonly removed: bool;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/** @name EthReceipt */
|
|
253
|
+
export interface EthReceipt extends Struct {
|
|
254
|
+
readonly transactionHash: Option<H256>;
|
|
255
|
+
readonly transactionIndex: Option<U256>;
|
|
256
|
+
readonly blockHash: Option<H256>;
|
|
257
|
+
readonly from: Option<EthAddress>;
|
|
258
|
+
readonly to: Option<EthAddress>;
|
|
259
|
+
readonly blockNumber: Option<U256>;
|
|
260
|
+
readonly cumulativeGasUsed: U256;
|
|
261
|
+
readonly gasUsed: Option<U256>;
|
|
262
|
+
readonly contractAddress: Option<EthAddress>;
|
|
263
|
+
readonly logs: Vec<EthLog>;
|
|
264
|
+
readonly root: Option<H256>;
|
|
265
|
+
readonly logsBloom: EthBloom;
|
|
266
|
+
readonly statusCode: Option<U64>;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/** @name EthReceiptV0 */
|
|
270
|
+
export interface EthReceiptV0 extends EthReceipt {}
|
|
271
|
+
|
|
272
|
+
/** @name EthReceiptV3 */
|
|
273
|
+
export interface EthReceiptV3 extends EthReceipt {}
|
|
274
|
+
|
|
275
|
+
/** @name EthReceiptV4 */
|
|
276
|
+
export interface EthReceiptV4 extends EthReceipt {}
|
|
277
|
+
|
|
278
|
+
/** @name EthRichBlock */
|
|
279
|
+
export interface EthRichBlock extends Struct {
|
|
280
|
+
readonly blockHash: Option<H256>;
|
|
281
|
+
readonly parentHash: H256;
|
|
282
|
+
readonly sha3Uncles: H256;
|
|
283
|
+
readonly author: EthAddress;
|
|
284
|
+
readonly miner: EthAddress;
|
|
285
|
+
readonly stateRoot: H256;
|
|
286
|
+
readonly transactionsRoot: H256;
|
|
287
|
+
readonly receiptsRoot: H256;
|
|
288
|
+
readonly number: Option<U256>;
|
|
289
|
+
readonly gasUsed: U256;
|
|
290
|
+
readonly gasLimit: U256;
|
|
291
|
+
readonly extraData: Bytes;
|
|
292
|
+
readonly logsBloom: EthBloom;
|
|
293
|
+
readonly timestamp: U256;
|
|
294
|
+
readonly difficulty: U256;
|
|
295
|
+
readonly totalDifficulty: Option<U256>;
|
|
296
|
+
readonly sealFields: Vec<Bytes>;
|
|
297
|
+
readonly uncles: Vec<H256>;
|
|
298
|
+
readonly transactions: Vec<EthTransaction>;
|
|
299
|
+
readonly blockSize: Option<U256>;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/** @name EthRichHeader */
|
|
303
|
+
export interface EthRichHeader extends Struct {
|
|
304
|
+
readonly blockHash: Option<H256>;
|
|
305
|
+
readonly parentHash: H256;
|
|
306
|
+
readonly sha3Uncles: H256;
|
|
307
|
+
readonly author: EthAddress;
|
|
308
|
+
readonly miner: EthAddress;
|
|
309
|
+
readonly stateRoot: H256;
|
|
310
|
+
readonly transactionsRoot: H256;
|
|
311
|
+
readonly receiptsRoot: H256;
|
|
312
|
+
readonly number: Option<U256>;
|
|
313
|
+
readonly gasUsed: U256;
|
|
314
|
+
readonly gasLimit: U256;
|
|
315
|
+
readonly extraData: Bytes;
|
|
316
|
+
readonly logsBloom: EthBloom;
|
|
317
|
+
readonly timestamp: U256;
|
|
318
|
+
readonly difficulty: U256;
|
|
319
|
+
readonly sealFields: Vec<Bytes>;
|
|
320
|
+
readonly blockSize: Option<U256>;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/** @name EthStorageProof */
|
|
324
|
+
export interface EthStorageProof extends Struct {
|
|
325
|
+
readonly key: U256;
|
|
326
|
+
readonly value: U256;
|
|
327
|
+
readonly proof: Vec<Bytes>;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/** @name EthSubKind */
|
|
331
|
+
export interface EthSubKind extends Enum {
|
|
332
|
+
readonly isNewHeads: boolean;
|
|
333
|
+
readonly isLogs: boolean;
|
|
334
|
+
readonly isNewPendingTransactions: boolean;
|
|
335
|
+
readonly isSyncing: boolean;
|
|
336
|
+
readonly type: 'NewHeads' | 'Logs' | 'NewPendingTransactions' | 'Syncing';
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/** @name EthSubParams */
|
|
340
|
+
export interface EthSubParams extends Enum {
|
|
341
|
+
readonly isNone: boolean;
|
|
342
|
+
readonly isLogs: boolean;
|
|
343
|
+
readonly asLogs: EthFilter;
|
|
344
|
+
readonly type: 'None' | 'Logs';
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/** @name EthSubResult */
|
|
348
|
+
export interface EthSubResult extends Enum {
|
|
349
|
+
readonly isHeader: boolean;
|
|
350
|
+
readonly asHeader: EthRichHeader;
|
|
351
|
+
readonly isLog: boolean;
|
|
352
|
+
readonly asLog: EthLog;
|
|
353
|
+
readonly isTransactionHash: boolean;
|
|
354
|
+
readonly asTransactionHash: H256;
|
|
355
|
+
readonly isSyncState: boolean;
|
|
356
|
+
readonly asSyncState: EthSyncStatus;
|
|
357
|
+
readonly type: 'Header' | 'Log' | 'TransactionHash' | 'SyncState';
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** @name EthSyncInfo */
|
|
361
|
+
export interface EthSyncInfo extends Struct {
|
|
362
|
+
readonly startingBlock: U256;
|
|
363
|
+
readonly currentBlock: U256;
|
|
364
|
+
readonly highestBlock: U256;
|
|
365
|
+
readonly warpChunksAmount: Option<U256>;
|
|
366
|
+
readonly warpChunksProcessed: Option<U256>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/** @name EthSyncStatus */
|
|
370
|
+
export interface EthSyncStatus extends Enum {
|
|
371
|
+
readonly isInfo: boolean;
|
|
372
|
+
readonly asInfo: EthSyncInfo;
|
|
373
|
+
readonly isNone: boolean;
|
|
374
|
+
readonly type: 'Info' | 'None';
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/** @name EthTransaction */
|
|
378
|
+
export interface EthTransaction extends Struct {
|
|
379
|
+
readonly hash: H256;
|
|
380
|
+
readonly nonce: U256;
|
|
381
|
+
readonly blockHash: Option<H256>;
|
|
382
|
+
readonly blockNumber: Option<U256>;
|
|
383
|
+
readonly transactionIndex: Option<U256>;
|
|
384
|
+
readonly from: H160;
|
|
385
|
+
readonly to: Option<H160>;
|
|
386
|
+
readonly value: U256;
|
|
387
|
+
readonly gasPrice: Option<U256>;
|
|
388
|
+
readonly maxFeePerGas: Option<U256>;
|
|
389
|
+
readonly maxPriorityFeePerGas: Option<U256>;
|
|
390
|
+
readonly gas: U256;
|
|
391
|
+
readonly input: Bytes;
|
|
392
|
+
readonly creates: Option<H160>;
|
|
393
|
+
readonly raw: Bytes;
|
|
394
|
+
readonly publicKey: Option<H512>;
|
|
395
|
+
readonly chainId: Option<U64>;
|
|
396
|
+
readonly standardV: U256;
|
|
397
|
+
readonly v: U256;
|
|
398
|
+
readonly r: U256;
|
|
399
|
+
readonly s: U256;
|
|
400
|
+
readonly accessList: Option<Vec<EthAccessListItem>>;
|
|
401
|
+
readonly transactionType: Option<U256>;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/** @name EthTransactionAction */
|
|
405
|
+
export interface EthTransactionAction extends Enum {
|
|
406
|
+
readonly isCall: boolean;
|
|
407
|
+
readonly asCall: H160;
|
|
408
|
+
readonly isCreate: boolean;
|
|
409
|
+
readonly type: 'Call' | 'Create';
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/** @name EthTransactionCondition */
|
|
413
|
+
export interface EthTransactionCondition extends Enum {
|
|
414
|
+
readonly isBlock: boolean;
|
|
415
|
+
readonly asBlock: u64;
|
|
416
|
+
readonly isTime: boolean;
|
|
417
|
+
readonly asTime: u64;
|
|
418
|
+
readonly type: 'Block' | 'Time';
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/** @name EthTransactionRequest */
|
|
422
|
+
export interface EthTransactionRequest extends Struct {
|
|
423
|
+
readonly from: Option<EthAddress>;
|
|
424
|
+
readonly to: Option<EthAddress>;
|
|
425
|
+
readonly gasPrice: Option<U256>;
|
|
426
|
+
readonly gas: Option<U256>;
|
|
427
|
+
readonly value: Option<U256>;
|
|
428
|
+
readonly data: Option<Bytes>;
|
|
429
|
+
readonly nonce: Option<U256>;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/** @name EthTransactionSignature */
|
|
433
|
+
export interface EthTransactionSignature extends Struct {
|
|
434
|
+
readonly oddYParity: bool;
|
|
435
|
+
readonly r: H256;
|
|
436
|
+
readonly s: H256;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
/** @name EthTransactionStatus */
|
|
440
|
+
export interface EthTransactionStatus extends Struct {
|
|
441
|
+
readonly transactionHash: H256;
|
|
442
|
+
readonly transactionIndex: u32;
|
|
443
|
+
readonly from: EthAddress;
|
|
444
|
+
readonly to: Option<EthAddress>;
|
|
445
|
+
readonly contractAddress: Option<EthAddress>;
|
|
446
|
+
readonly logs: Vec<EthLog>;
|
|
447
|
+
readonly logsBloom: EthBloom;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/** @name EthWork */
|
|
451
|
+
export interface EthWork extends Struct {
|
|
452
|
+
readonly powHash: H256;
|
|
453
|
+
readonly seedHash: H256;
|
|
454
|
+
readonly target: H256;
|
|
455
|
+
readonly number: Option<u64>;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/** @name LegacyTransaction */
|
|
459
|
+
export interface LegacyTransaction extends Struct {
|
|
460
|
+
readonly nonce: U256;
|
|
461
|
+
readonly gasPrice: U256;
|
|
462
|
+
readonly gasLimit: U256;
|
|
463
|
+
readonly action: EthTransactionAction;
|
|
464
|
+
readonly value: U256;
|
|
465
|
+
readonly input: Bytes;
|
|
466
|
+
readonly signature: EthLegacyTransactionSignature;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/** @name TransactionV0 */
|
|
470
|
+
export interface TransactionV0 extends LegacyTransaction {}
|
|
471
|
+
|
|
472
|
+
/** @name TransactionV1 */
|
|
473
|
+
export interface TransactionV1 extends Enum {
|
|
474
|
+
readonly isLegacy: boolean;
|
|
475
|
+
readonly asLegacy: LegacyTransaction;
|
|
476
|
+
readonly isEip2930: boolean;
|
|
477
|
+
readonly asEip2930: EIP2930Transaction;
|
|
478
|
+
readonly type: 'Legacy' | 'Eip2930';
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/** @name TransactionV2 */
|
|
482
|
+
export interface TransactionV2 extends Enum {
|
|
483
|
+
readonly isLegacy: boolean;
|
|
484
|
+
readonly asLegacy: LegacyTransaction;
|
|
485
|
+
readonly isEip2930: boolean;
|
|
486
|
+
readonly asEip2930: EIP2930Transaction;
|
|
487
|
+
readonly isEip1559: boolean;
|
|
488
|
+
readonly asEip1559: EIP1559Transaction;
|
|
489
|
+
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559';
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/** @name TransactionV3 */
|
|
493
|
+
export interface TransactionV3 extends Enum {
|
|
494
|
+
readonly isLegacy: boolean;
|
|
495
|
+
readonly asLegacy: LegacyTransaction;
|
|
496
|
+
readonly isEip2930: boolean;
|
|
497
|
+
readonly asEip2930: EIP2930Transaction;
|
|
498
|
+
readonly isEip1559: boolean;
|
|
499
|
+
readonly asEip1559: EIP1559Transaction;
|
|
500
|
+
readonly isEip7702: boolean;
|
|
501
|
+
readonly asEip7702: EIP7702Transaction;
|
|
502
|
+
readonly type: 'Legacy' | 'Eip2930' | 'Eip1559' | 'Eip7702';
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export type PHANTOM_ETH = 'eth';
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// Copyright 2017-2025 @polkadot/types authors & contributors
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
// order important in structs... :)
|
|
5
|
+
/* eslint-disable sort-keys */
|
|
6
|
+
|
|
7
|
+
import type { Definitions } from '../../types/index.js';
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
rpc: {},
|
|
11
|
+
types: {
|
|
12
|
+
EvmAccount: {
|
|
13
|
+
nonce: 'u256',
|
|
14
|
+
balance: 'u256'
|
|
15
|
+
},
|
|
16
|
+
EvmCallInfo: {
|
|
17
|
+
exitReason: 'ExitReason',
|
|
18
|
+
value: 'Bytes',
|
|
19
|
+
usedGas: 'U256',
|
|
20
|
+
logs: 'Vec<EvmLog>'
|
|
21
|
+
},
|
|
22
|
+
EvmCreateInfo: {
|
|
23
|
+
exitReason: 'ExitReason',
|
|
24
|
+
value: 'H160',
|
|
25
|
+
usedGas: 'U256',
|
|
26
|
+
logs: 'Vec<EvmLog>'
|
|
27
|
+
},
|
|
28
|
+
EvmCallInfoV2: {
|
|
29
|
+
exitReason: 'ExitReason',
|
|
30
|
+
value: 'Bytes',
|
|
31
|
+
usedGas: 'U256',
|
|
32
|
+
weightInfo: 'Option<EvmWeightInfo>',
|
|
33
|
+
logs: 'Vec<EvmLog>'
|
|
34
|
+
},
|
|
35
|
+
EvmCreateInfoV2: {
|
|
36
|
+
exitReason: 'ExitReason',
|
|
37
|
+
value: 'H160',
|
|
38
|
+
usedGas: 'U256',
|
|
39
|
+
weightInfo: 'Option<EvmWeightInfo>',
|
|
40
|
+
logs: 'Vec<EvmLog>'
|
|
41
|
+
},
|
|
42
|
+
EvmLog: {
|
|
43
|
+
address: 'H160',
|
|
44
|
+
topics: 'Vec<H256>',
|
|
45
|
+
data: 'Bytes'
|
|
46
|
+
},
|
|
47
|
+
EvmVicinity: {
|
|
48
|
+
gasPrice: 'u256',
|
|
49
|
+
origin: 'H160'
|
|
50
|
+
},
|
|
51
|
+
EvmWeightInfo: {
|
|
52
|
+
refTimeLimit: 'Option<u64>',
|
|
53
|
+
proofSizeLimit: 'Option<u64>',
|
|
54
|
+
refTimeUsage: 'Option<u64>',
|
|
55
|
+
proofSizeUsage: 'Option<u64>'
|
|
56
|
+
|
|
57
|
+
},
|
|
58
|
+
ExitError: {
|
|
59
|
+
_enum: {
|
|
60
|
+
StackUnderflow: 'Null',
|
|
61
|
+
StackOverflow: 'Null',
|
|
62
|
+
InvalidJump: 'Null',
|
|
63
|
+
InvalidRange: 'Null',
|
|
64
|
+
DesignatedInvalid: 'Null',
|
|
65
|
+
CallTooDeep: 'Null',
|
|
66
|
+
CreateCollision: 'Null',
|
|
67
|
+
CreateContractLimit: 'Null',
|
|
68
|
+
OutOfOffset: 'Null',
|
|
69
|
+
OutOfGas: 'Null',
|
|
70
|
+
OutOfFund: 'Null',
|
|
71
|
+
PCUnderflow: 'Null',
|
|
72
|
+
CreateEmpty: 'Null',
|
|
73
|
+
Other: 'Text'
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
ExitFatal: {
|
|
77
|
+
_enum: {
|
|
78
|
+
NotSupported: 'Null',
|
|
79
|
+
UnhandledInterrupt: 'Null',
|
|
80
|
+
CallErrorAsFatal: 'ExitError',
|
|
81
|
+
Other: 'Text'
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
ExitReason: {
|
|
85
|
+
_enum: {
|
|
86
|
+
Succeed: 'ExitSucceed',
|
|
87
|
+
Error: 'ExitError',
|
|
88
|
+
Revert: 'ExitRevert',
|
|
89
|
+
Fatal: 'ExitFatal'
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
ExitRevert: {
|
|
93
|
+
_enum: ['Reverted']
|
|
94
|
+
},
|
|
95
|
+
ExitSucceed: {
|
|
96
|
+
_enum: ['Stopped', 'Returned', 'Suicided']
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
} as Definitions;
|