@moonbeam-network/xcm-utils
Version:
Moonbeam XCM utilities
1 lines • 1.16 MB
Source Map (JSON)
{"version":3,"sources":["../src/format/address.ts","../src/format/asset.ts","../src/numbers/decimals.ts","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/hashers.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v9.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v10.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v11.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v12.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v13.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/scaleInfo/v1.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v14.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v15.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/v16.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/metadata/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/runtime/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/runtime/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/scaleInfo/v0.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/scaleInfo/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/assetConversion/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/assetConversion/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/assets/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/assets/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/aura/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/aura/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/authorship/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/babe/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/babe/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/babe/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/balances/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/beefy/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/beefy/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/beefy/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/benchmark/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/benchmark/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/blockbuilder/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/blockbuilder/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/collective/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/consensus/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/contracts/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/contracts/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/contracts/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/democracy/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/dev/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/dev/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/discovery/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/discovery/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/elections/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/engine/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/engine/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/evm/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/extrinsics/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/fungibles/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/fungibles/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/genericAsset/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/genesisBuilder/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/genesisBuilder/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/gilt/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/grandpa/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/grandpa/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/grandpa/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/identity/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/imOnline/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/lottery/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/mixnet/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/mixnet/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/mmr/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/mmr/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/mmr/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/nfts/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/nfts/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/nompools/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/nompools/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/offences/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/pow/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/pow/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/proxy/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/recovery/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/scheduler/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/session/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/session/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/society/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/staking/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/staking/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/statement/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/statement/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/support/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/syncstate/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/syncstate/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/system/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/system/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/system/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/treasury/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/txpayment/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/txqueue/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/txqueue/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/uniques/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/utility/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/vesting/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/attestations/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/bridges/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/claims/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/crowdloan/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/cumulus/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/cumulus/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/finality/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/finality/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/parachains/hrmp.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/parachains/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/parachains/slots.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/parachains/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/poll/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/purchase/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/dryRunApi/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/dryRunApi/definitions.js","../../../node_modules/.pnpm/@polkadot+types-create@16.5.6/node_modules/@polkadot/types-create/types/types.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/abstract/Array.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/compareArray.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/util.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/abstract/Base.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/abstract/Int.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Compact.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/compareMap.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/compareSet.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/decodeU8a.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/sanitize.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/sortValues.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/toConstructors.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/utils/typesToMap.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/DoNotConstruct.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Enum.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Null.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Int.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Option.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Result.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Tuple.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/UInt.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/Vec.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/base/VecFixed.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/BitVec.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/native/Raw.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/Map.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/native/Struct.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/BTreeMap.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/BTreeSet.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/Bytes.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/HashMap.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/OptionBool.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/native/Bool.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/Range.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/RangeInclusive.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/native/Text.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/Type.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/U8aFixed.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/WrapperKeepOpaque.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/extended/WrapperOpaque.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/native/Float.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/native/Json.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/native/Set.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/F32.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/F64.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/I8.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/I16.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/I32.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/I64.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/I128.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/I256.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/ISize.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/U8.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/U16.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/U32.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/U64.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/U128.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/U256.js","../../../node_modules/.pnpm/@polkadot+types-codec@16.5.6/node_modules/@polkadot/types-codec/primitive/USize.js","../../../node_modules/.pnpm/@polkadot+types-create@16.5.6/node_modules/@polkadot/types-create/create/class.js","../../../node_modules/.pnpm/@polkadot+types-create@16.5.6/node_modules/@polkadot/types-create/util/getTypeDef.js","../../../node_modules/.pnpm/@polkadot+types-create@16.5.6/node_modules/@polkadot/types-create/util/typeSplit.js","../../../node_modules/.pnpm/@polkadot+types-create@16.5.6/node_modules/@polkadot/types-create/create/type.js","../../../node_modules/.pnpm/@polkadot+types-create@16.5.6/node_modules/@polkadot/types-create/util/encodeTypes.js","../../../node_modules/.pnpm/@polkadot+types-create@16.5.6/node_modules/@polkadot/types-create/util/xcm.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcm/v0.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcm/v1.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcm/v2.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcm/v3.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcm/v4.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcm/v5.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcm/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcmPaymentApi/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcmPaymentApi/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcmRuntimeApi/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/xcmRuntimeApi/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/contractsAbi/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/eth/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/eth/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/eth/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/nimbus/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/nimbus/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/ormlOracle/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/ormlOracle/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/ormlTokens/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/ormlTokens/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/rpc/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/rpc/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/author/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/author/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/chain/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/chain/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/childstate/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/childstate/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/offchain/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/offchain/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/offchain/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/payment/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/payment/runtime.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/payment/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/state/rpc.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/state/definitions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/PortableRegistry/PortableRegistry.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/util/flattenUniq.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/util/getSiName.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/util/validateTypes.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/util/extractTypes.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/util/getUniqTypes.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/util/toCallsOnly.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/util/storage.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/create/lazy.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/create/registry.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/signedExtensions/index.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/signedExtensions/emptyCheck.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/signedExtensions/polkadot.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/signedExtensions/shell.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/signedExtensions/statemint.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/signedExtensions/substrate.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/Event.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/index.types.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/Extrinsic.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/constants.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/ExtrinsicEra.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/ExtrinsicPayload.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/ExtrinsicPayloadUnknown.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/ExtrinsicUnknown.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/SignerPayload.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/v4/Extrinsic.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/v4/ExtrinsicPayload.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/util.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/v4/ExtrinsicSignature.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/v5/Extrinsic.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/v5/ExtrinsicPayload.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/v5/ExtrinsicSignature.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/extrinsic/v5/GeneralExtrinsic.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/AccountId.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/AccountIndex.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/Block.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/Call.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/ChainProperties.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/ConsensusEngineId.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/LookupSource.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/MultiAddress.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/generic/Vote.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/ethereum/AccountId.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/ethereum/LookupSource.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/primitive/Data.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/primitive/StorageKey.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/decorate/extrinsics/index.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/decorate/util.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/decorate/extrinsics/createUnchecked.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/Metadata.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v9/toV10.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v10/toV11.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v11/toV12.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v12/toV13.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v13/toV14.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/interfaces/alias.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v14/toV15.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v15/toV16.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/v16/toLatest.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/MagicNumber.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/versions.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/MetadataVersioned.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/decorate/constants/index.js","../../../node_modules/.pnpm/@polkadot+types@16.5.6/node_modules/@polkadot/types/metadata/decorate/events/index.js","../src/polkadot/polkadot.address.ts","../src/polkadot/polkadot.api.ts","../src/polkadot/polkadot.apps.ts"],"sourcesContent":["export function isHexString(asset: unknown): boolean {\n return typeof asset === 'string' && asset.startsWith('0x');\n}\n\nexport function isEthAddress(address: string): boolean {\n return address.length === 42 && address.startsWith('0x');\n}\n","export function formatAssetIdToERC20(id: string) {\n if (id.startsWith('0x')) {\n return id;\n }\n\n if (!/^\\d{38,39}$/.test(id)) {\n throw new Error(`Asset id: ${id} must be a string and have 38-39 digits`);\n }\n\n return `0xffffffff${BigInt(id).toString(16).padStart(32, '0')}`;\n}\n\nexport function convertAddressTo32Bytes(address: string): string {\n if (!/^0x[a-fA-F0-9]{40}$/.test(address)) {\n throw new Error(`Invalid address: ${address}`);\n }\n\n return `0x000000000000000000000000${address.substring(2)}`;\n}\n","import Big, { type RoundingMode } from 'big.js';\n\nBig.NE = -18;\n\nexport function toDecimal(\n number: bigint | number | string,\n decimals: number,\n maxDecimal = 6,\n roundType?: RoundingMode,\n): string {\n const dividend = Big(number.toString().replace(/[^0-9]/g, ''));\n const divisor = Big(10).pow(decimals);\n const result = dividend.div(divisor).round(maxDecimal, roundType);\n\n return result.toString();\n}\n\nexport function toBigInt(\n amount: bigint | string | number,\n decimals: number,\n): bigint {\n if (typeof amount === 'bigint') {\n return amount;\n }\n\n const multiplier = Big(10).pow(decimals);\n const result = Big(amount).mul(multiplier);\n\n return BigInt(result.toFixed(0, Big.roundDown));\n}\n\nexport function convertDecimals(\n number: string | bigint,\n decimals: number,\n targetDecimals: number,\n): bigint {\n const decimalNumber = toDecimal(number, decimals, decimals);\n\n return toBigInt(decimalNumber.toString(), targetDecimals);\n}\n\nexport function hasDecimalOverflow(fl: number | string, maxDecimal: number) {\n const parts = fl.toString().split('.');\n return parts.length > 1 && parts[1].length > maxDecimal;\n}\n","export * from './essentials.js';\nexport { default as assetConversion } from './assetConversion/definitions.js';\nexport { default as assets } from './assets/definitions.js';\nexport { default as aura } from './aura/definitions.js';\nexport { default as authorship } from './authorship/definitions.js';\nexport { default as babe } from './babe/definitions.js';\nexport { default as balances } from './balances/definitions.js';\nexport { default as beefy } from './beefy/definitions.js';\nexport { default as benchmark } from './benchmark/definitions.js';\nexport { default as blockbuilder } from './blockbuilder/definitions.js';\nexport { default as collective } from './collective/definitions.js';\nexport { default as consensus } from './consensus/definitions.js';\nexport { default as contracts } from './contracts/definitions.js';\nexport { default as democracy } from './democracy/definitions.js';\nexport { default as dev } from './dev/definitions.js';\nexport { default as discovery } from './discovery/definitions.js';\nexport { default as elections } from './elections/definitions.js';\nexport { default as engine } from './engine/definitions.js';\nexport { default as evm } from './evm/definitions.js';\nexport { default as extrinsics } from './extrinsics/definitions.js';\nexport { default as fungibles } from './fungibles/definitions.js';\nexport { default as genericAsset } from './genericAsset/definitions.js';\nexport { default as genesisBuilder } from './genesisBuilder/definitions.js';\nexport { default as gilt } from './gilt/definitions.js';\nexport { default as grandpa } from './grandpa/definitions.js';\nexport { default as identity } from './identity/definitions.js';\nexport { default as imOnline } from './imOnline/definitions.js';\nexport { default as lottery } from './lottery/definitions.js';\nexport { default as mixnet } from './mixnet/definitions.js';\nexport { default as mmr } from './mmr/definitions.js';\nexport { default as nfts } from './nfts/definitions.js';\nexport { default as nompools } from './nompools/definitions.js';\nexport { default as offences } from './offences/definitions.js';\nexport { default as pow } from './pow/definitions.js';\nexport { default as proxy } from './proxy/definitions.js';\nexport { default as recovery } from './recovery/definitions.js';\nexport { default as scheduler } from './scheduler/definitions.js';\nexport { default as session } from './session/definitions.js';\nexport { default as society } from './society/definitions.js';\nexport { default as staking } from './staking/definitions.js';\nexport { default as statement } from './statement/definitions.js';\nexport { default as support } from './support/definitions.js';\nexport { default as syncstate } from './syncstate/definitions.js';\nexport { default as system } from './system/definitions.js';\nexport { default as treasury } from './treasury/definitions.js';\nexport { default as txpayment } from './txpayment/definitions.js';\nexport { default as txqueue } from './txqueue/definitions.js';\nexport { default as uniques } from './uniques/definitions.js';\nexport { default as utility } from './utility/definitions.js';\nexport { default as vesting } from './vesting/definitions.js';\nexport { default as attestations } from './attestations/definitions.js';\nexport { default as bridges } from './bridges/definitions.js';\nexport { default as claims } from './claims/definitions.js';\nexport { default as crowdloan } from './crowdloan/definitions.js';\nexport { default as cumulus } from './cumulus/definitions.js';\nexport { default as finality } from './finality/definitions.js';\nexport { default as parachains } from './parachains/definitions.js';\nexport { default as poll } from './poll/definitions.js';\nexport { default as purchase } from './purchase/definitions.js';\nexport { default as dryRunApi } from './dryRunApi/definitions.js';\nexport { default as xcm } from './xcm/definitions.js';\nexport { default as xcmPaymentApi } from './xcmPaymentApi/definitions.js';\nexport { default as xcmRuntimeApi } from './xcmRuntimeApi/definitions.js';\nexport { default as contractsAbi } from './contractsAbi/definitions.js';\nexport { default as eth } from './eth/definitions.js';\nexport { default as nimbus } from './nimbus/definitions.js';\nexport { default as ormlOracle } from './ormlOracle/definitions.js';\nexport { default as ormlTokens } from './ormlTokens/definitions.js';\nexport { default as rpc } from './rpc/definitions.js';\nexport { default as author } from './author/definitions.js';\nexport { default as chain } from './chain/definitions.js';\nexport { default as childstate } from './childstate/definitions.js';\nexport { default as offchain } from './offchain/definitions.js';\nexport { default as payment } from './payment/definitions.js';\nexport { default as state } from './state/definitions.js';\n","/* eslint-disable sort-keys */\nexport const AllHashers = {\n Blake2_128: null, // eslint-disable-line camelcase\n Blake2_256: null, // eslint-disable-line camelcase\n Blake2_128Concat: null, // eslint-disable-line camelcase\n Twox128: null,\n Twox256: null,\n Twox64Concat: null,\n // new in v11\n Identity: null\n};\n","const META_V1_TO_V2 = {\n metadata: {\n description: 'Returns the metadata of a runtime',\n params: [],\n type: 'OpaqueMetadata'\n }\n};\nexport const runtime = {\n Metadata: [\n {\n methods: {\n metadata_at_version: {\n description: 'Returns the metadata at a given version.',\n params: [\n {\n name: 'version',\n type: 'u32'\n }\n ],\n type: 'Option<OpaqueMetadata>'\n },\n metadata_versions: {\n description: 'Returns the supported metadata versions.',\n params: [],\n type: 'Vec<u32>'\n },\n ...META_V1_TO_V2\n },\n version: 2\n },\n {\n methods: {\n ...META_V1_TO_V2\n },\n version: 1\n }\n ]\n};\n","export const v9 = {\n // v9\n ErrorMetadataV9: {\n name: 'Text',\n docs: 'Vec<Text>'\n },\n EventMetadataV9: {\n name: 'Text',\n args: 'Vec<Type>',\n docs: 'Vec<Text>'\n },\n FunctionArgumentMetadataV9: {\n name: 'Text',\n type: 'Type'\n },\n FunctionMetadataV9: {\n name: 'Text',\n args: 'Vec<FunctionArgumentMetadataV9>',\n docs: 'Vec<Text>'\n },\n MetadataV9: {\n modules: 'Vec<ModuleMetadataV9>'\n },\n ModuleConstantMetadataV9: {\n name: 'Text',\n type: 'Type',\n value: 'Bytes',\n docs: 'Vec<Text>'\n },\n ModuleMetadataV9: {\n name: 'Text',\n storage: 'Option<StorageMetadataV9>',\n calls: 'Option<Vec<FunctionMetadataV9>>',\n events: 'Option<Vec<EventMetadataV9>>',\n constants: 'Vec<ModuleConstantMetadataV9>',\n errors: 'Vec<ErrorMetadataV9>'\n },\n StorageEntryMetadataV9: {\n name: 'Text',\n modifier: 'StorageEntryModifierV9',\n type: 'StorageEntryTypeV9',\n fallback: 'Bytes',\n docs: 'Vec<Text>'\n },\n StorageEntryModifierV9: {\n _enum: ['Optional', 'Default', 'Required']\n },\n StorageEntryTypeV9: {\n _enum: {\n Plain: 'Type',\n Map: {\n hasher: 'StorageHasherV9',\n key: 'Type',\n value: 'Type',\n linked: 'bool'\n },\n DoubleMap: {\n hasher: 'StorageHasherV9',\n key1: 'Type',\n key2: 'Type',\n value: 'Type',\n key2Hasher: 'StorageHasherV9'\n }\n }\n },\n StorageHasherV9: {\n _enum: {\n Blake2_128: null, // eslint-disable-line camelcase\n Blake2_256: null, // eslint-disable-line camelcase\n Twox128: null,\n Twox256: null,\n Twox64Concat: null\n }\n },\n StorageMetadataV9: {\n prefix: 'Text',\n items: 'Vec<StorageEntryMetadataV9>'\n }\n};\n","export const v10 = {\n // v10\n ErrorMetadataV10: 'ErrorMetadataV9',\n EventMetadataV10: 'EventMetadataV9',\n FunctionArgumentMetadataV10: 'FunctionArgumentMetadataV9',\n FunctionMetadataV10: 'FunctionMetadataV9',\n MetadataV10: {\n modules: 'Vec<ModuleMetadataV10>'\n },\n ModuleConstantMetadataV10: 'ModuleConstantMetadataV9',\n ModuleMetadataV10: {\n name: 'Text',\n storage: 'Option<StorageMetadataV10>',\n calls: 'Option<Vec<FunctionMetadataV10>>',\n events: 'Option<Vec<EventMetadataV10>>',\n constants: 'Vec<ModuleConstantMetadataV10>',\n errors: 'Vec<ErrorMetadataV10>'\n },\n StorageEntryModifierV10: 'StorageEntryModifierV9',\n StorageEntryMetadataV10: {\n name: 'Text',\n modifier: 'StorageEntryModifierV10',\n type: 'StorageEntryTypeV10',\n fallback: 'Bytes',\n docs: 'Vec<Text>'\n },\n StorageEntryTypeV10: {\n _enum: {\n Plain: 'Type',\n Map: {\n hasher: 'StorageHasherV10',\n key: 'Type',\n value: 'Type',\n linked: 'bool'\n },\n DoubleMap: {\n hasher: 'StorageHasherV10',\n key1: 'Type',\n key2: 'Type',\n value: 'Type',\n key2Hasher: 'StorageHasherV10'\n }\n }\n },\n StorageMetadataV10: {\n prefix: 'Text',\n items: 'Vec<StorageEntryMetadataV10>'\n },\n StorageHasherV10: {\n _enum: {\n Blake2_128: null, // eslint-disable-line camelcase\n Blake2_256: null, // eslint-disable-line camelcase\n Blake2_128Concat: null, // eslint-disable-line camelcase\n Twox128: null,\n Twox256: null,\n Twox64Concat: null\n }\n }\n};\n","import { AllHashers } from './hashers.js';\nexport const v11 = {\n // v11\n ErrorMetadataV11: 'ErrorMetadataV10',\n EventMetadataV11: 'EventMetadataV10',\n ExtrinsicMetadataV11: {\n version: 'u8',\n signedExtensions: 'Vec<Text>'\n },\n FunctionArgumentMetadataV11: 'FunctionArgumentMetadataV10',\n FunctionMetadataV11: 'FunctionMetadataV10',\n MetadataV11: {\n modules: 'Vec<ModuleMetadataV11>',\n extrinsic: 'ExtrinsicMetadataV11'\n },\n ModuleConstantMetadataV11: 'ModuleConstantMetadataV10',\n ModuleMetadataV11: {\n name: 'Text',\n storage: 'Option<StorageMetadataV11>',\n calls: 'Option<Vec<FunctionMetadataV11>>',\n events: 'Option<Vec<EventMetadataV11>>',\n constants: 'Vec<ModuleConstantMetadataV11>',\n errors: 'Vec<ErrorMetadataV11>'\n },\n StorageEntryModifierV11: 'StorageEntryModifierV10',\n StorageEntryMetadataV11: {\n name: 'Text',\n modifier: 'StorageEntryModifierV11',\n type: 'StorageEntryTypeV11',\n fallback: 'Bytes',\n docs: 'Vec<Text>'\n },\n StorageEntryTypeV11: {\n _enum: {\n Plain: 'Type',\n Map: {\n hasher: 'StorageHasherV11',\n key: 'Type',\n value: 'Type',\n linked: 'bool'\n },\n DoubleMap: {\n hasher: 'StorageHasherV11',\n key1: 'Type',\n key2: 'Type',\n value: 'Type',\n key2Hasher: 'StorageHasherV11'\n }\n }\n },\n StorageMetadataV11: {\n prefix: 'Text',\n items: 'Vec<StorageEntryMetadataV11>'\n },\n StorageHasherV11: {\n _enum: AllHashers\n }\n};\n","export const v12 = {\n // v12\n ErrorMetadataV12: 'ErrorMetadataV11',\n EventMetadataV12: 'EventMetadataV11',\n ExtrinsicMetadataV12: 'ExtrinsicMetadataV11',\n FunctionArgumentMetadataV12: 'FunctionArgumentMetadataV11',\n FunctionMetadataV12: 'FunctionMetadataV11',\n MetadataV12: {\n modules: 'Vec<ModuleMetadataV12>',\n extrinsic: 'ExtrinsicMetadataV12'\n },\n ModuleConstantMetadataV12: 'ModuleConstantMetadataV11',\n ModuleMetadataV12: {\n name: 'Text',\n storage: 'Option<StorageMetadataV12>',\n calls: 'Option<Vec<FunctionMetadataV12>>',\n events: 'Option<Vec<EventMetadataV12>>',\n constants: 'Vec<ModuleConstantMetadataV12>',\n errors: 'Vec<ErrorMetadataV12>',\n index: 'u8'\n },\n StorageEntryModifierV12: 'StorageEntryModifierV11',\n StorageEntryMetadataV12: 'StorageEntryMetadataV11',\n StorageEntryTypeV12: 'StorageEntryTypeV11',\n StorageMetadataV12: 'StorageMetadataV11',\n StorageHasherV12: 'StorageHasherV11'\n};\n","export const v13 = {\n // v13\n ErrorMetadataV13: 'ErrorMetadataV12',\n EventMetadataV13: 'EventMetadataV12',\n ExtrinsicMetadataV13: 'ExtrinsicMetadataV12',\n FunctionArgumentMetadataV13: 'FunctionArgumentMetadataV12',\n FunctionMetadataV13: 'FunctionMetadataV12',\n MetadataV13: {\n modules: 'Vec<ModuleMetadataV13>',\n extrinsic: 'ExtrinsicMetadataV13'\n },\n ModuleConstantMetadataV13: 'ModuleConstantMetadataV12',\n ModuleMetadataV13: {\n name: 'Text',\n storage: 'Option<StorageMetadataV13>',\n calls: 'Option<Vec<FunctionMetadataV13>>',\n events: 'Option<Vec<EventMetadataV13>>',\n constants: 'Vec<ModuleConstantMetadataV13>',\n errors: 'Vec<ErrorMetadataV13>',\n index: 'u8'\n },\n StorageEntryModifierV13: 'StorageEntryModifierV12',\n StorageEntryMetadataV13: {\n name: 'Text',\n modifier: 'StorageEntryModifierV13',\n type: 'StorageEntryTypeV13',\n fallback: 'Bytes',\n docs: 'Vec<Text>'\n },\n StorageEntryTypeV13: {\n _enum: {\n Plain: 'Type',\n Map: {\n hasher: 'StorageHasherV13',\n key: 'Type',\n value: 'Type',\n linked: 'bool'\n },\n DoubleMap: {\n hasher: 'StorageHasherV13',\n key1: 'Type',\n key2: 'Type',\n value: 'Type',\n key2Hasher: 'StorageHasherV13'\n },\n NMap: {\n keyVec: 'Vec<Type>',\n hashers: 'Vec<StorageHasherV13>',\n value: 'Type'\n }\n }\n },\n StorageMetadataV13: {\n prefix: 'Text',\n items: 'Vec<StorageEntryMetadataV13>'\n },\n StorageHasherV13: 'StorageHasherV12'\n};\n","/* eslint-disable sort-keys */\nexport const Si1Variant = {\n name: 'Text',\n fields: 'Vec<Si1Field>',\n index: 'u8',\n docs: 'Vec<Text>'\n};\nexport const v1 = {\n Si1Field: {\n name: 'Option<Text>',\n type: 'Si1LookupTypeId',\n typeName: 'Option<Text>',\n docs: 'Vec<Text>'\n },\n Si1LookupTypeId: 'Compact<u32>',\n Si1Path: 'Si0Path',\n Si1Type: {\n path: 'Si1Path',\n params: 'Vec<Si1TypeParameter>',\n def: 'Si1TypeDef',\n docs: 'Vec<Text>'\n },\n Si1TypeDef: {\n _enum: {\n Composite: 'Si1TypeDefComposite',\n Variant: 'Si1TypeDefVariant',\n Sequence: 'Si1TypeDefSequence',\n Array: 'Si1TypeDefArray',\n Tuple: 'Si1TypeDefTuple',\n Primitive: 'Si1TypeDefPrimitive',\n Compact: 'Si1TypeDefCompact',\n BitSequence: 'Si1TypeDefBitSequence',\n // NOTE: This is specific to the implementation for pre-v14 metadata\n // compatibility (always keep this as the last entry in the enum)\n HistoricMetaCompat: 'Type'\n }\n },\n Si1TypeDefArray: {\n len: 'u32',\n type: 'Si1LookupTypeId'\n },\n Si1TypeDefBitSequence: {\n bitStoreType: 'Si1LookupTypeId',\n bitOrderType: 'Si1LookupTypeId'\n },\n Si1TypeDefCompact: {\n type: 'Si1LookupTypeId'\n },\n Si1TypeDefComposite: {\n f