import { StorageDescriptor, PlainDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SizedHex, FixedSizeArray } from "polkadot-api"; import type { Ibqjcgmcid3dll, I88k319klqj4fv, ExtensionsCheckMortality, I87rnrnks7g0hm, I4s6vifaf8k998 } from "./common-types"; type AnonymousEnum = T & { __anonymous: true; }; type MyTuple = [T, ...T[]]; type SeparateUndefined = undefined extends T ? undefined | Exclude : T; type Anonymize = SeparateUndefined ? T : T extends AnonymousEnum ? Enum : T extends MyTuple ? { [K in keyof T]: T[K]; } : T extends [] ? [] : T extends FixedSizeArray ? number extends L ? Array : FixedSizeArray : { [K in keyof T & string]: T[K]; }>; type IStorage = { EthereumOutboundQueue: { /** * The current operating mode of the pallet. */ OperatingMode: StorageDescriptor<[], Anonymize, false, never>; }; }; type ICalls = {}; type IEvent = {}; type IError = {}; type IConstants = {}; type IViewFns = {}; type IRuntimeCalls = {}; export type BridgeHubDispatchError = unknown; export type BridgeHubExtensions = { "CheckSpecVersion": { additionalSigned: number; }; "CheckTxVersion": { additionalSigned: number; }; "CheckGenesis": { additionalSigned: SizedHex<32>; }; "CheckMortality": { value: ExtensionsCheckMortality; additionalSigned: SizedHex<32>; }; "CheckNonce": { value: number; }; "ChargeTransactionPayment": { value: bigint; }; "CheckMetadataHash": { value: Anonymize; additionalSigned: Anonymize; }; }; type IRequiredExtensions = PlainDescriptor<"CheckSpecVersion" | "CheckTxVersion" | "CheckGenesis" | "CheckMortality" | "CheckNonce" | "ChargeTransactionPayment" | "CheckMetadataHash">; type PalletsTypedef = { __storage: IStorage; __tx: ICalls; __event: IEvent; __error: IError; __const: IConstants; __view: IViewFns; }; export type BridgeHub = { descriptors: { pallets: PalletsTypedef; apis: IRuntimeCalls; } & Promise; metadataTypes: Promise; extensions: BridgeHubExtensions; requiredExtensions: IRequiredExtensions; getMetadata: () => Promise; genesis: string | undefined; }; declare const _allDescriptors: BridgeHub; export default _allDescriptors; export type BridgeHubApis = ApisFromDef; export type BridgeHubQueries = QueryFromPalletsDef; export type BridgeHubCalls = TxFromPalletsDef; export type BridgeHubEvents = EventsFromPalletsDef; export type BridgeHubErrors = ErrorsFromPalletsDef; export type BridgeHubConstants = ConstFromPalletsDef; export type BridgeHubViewFns = ViewFnsFromPalletsDef; export type BridgeHubCallData = Anonymize & { value: { type: string; }; }; type AllInteractions = { storage: { System: ['Account', 'ExtrinsicCount', 'InherentsApplied', 'BlockWeight', 'BlockSize', 'BlockHash', 'ExtrinsicData', 'Number', 'ParentHash', 'Digest', 'Events', 'EventCount', 'EventTopics', 'LastRuntimeUpgrade', 'BlocksTillUpgrade', 'UpgradedToU32RefCount', 'UpgradedToTripleRefCount', 'ExecutionPhase', 'AuthorizedUpgrade', 'ExtrinsicWeightReclaimed']; ParachainSystem: ['BlockWeightMode', 'PreviousCoreCount', 'UnincludedSegment', 'AggregatedUnincludedSegment', 'PendingValidationCode', 'NewValidationCode', 'ValidationData', 'DidSetValidationCode', 'LastRelayChainBlockNumber', 'UpgradeRestrictionSignal', 'UpgradeGoAhead', 'RelayStateProof', 'RelevantMessagingState', 'HostConfiguration', 'LastDmqMqcHead', 'LastHrmpMqcHeads', 'ProcessedDownwardMessages', 'LastProcessedDownwardMessage', 'HrmpWatermark', 'LastProcessedHrmpMessage', 'HrmpOutboundMessages', 'UpwardMessages', 'PendingUpwardMessages', 'PendingUpwardSignals', 'PendingApprovedPeer', 'UpwardDeliveryFeeFactor', 'AnnouncedHrmpMessagesPerCandidate', 'ReservedXcmpWeightOverride', 'ReservedDmpWeightOverride', 'CustomValidationHeadData', 'PoVMessagesTracker']; Timestamp: ['Now', 'DidUpdate']; ParachainInfo: ['ParachainId']; Balances: ['TotalIssuance', 'InactiveIssuance', 'Account', 'Locks', 'Reserves', 'Holds', 'Freezes']; TransactionPayment: ['NextFeeMultiplier', 'StorageVersion', 'TxPaymentCredit']; Authorship: ['Author']; CollatorSelection: ['Invulnerables', 'CandidateList', 'LastAuthoredBlock', 'DesiredCandidates', 'CandidacyBond']; Session: ['Validators', 'CurrentIndex', 'QueuedChanged', 'QueuedKeys', 'DisabledValidators', 'NextKeys', 'KeyOwner', 'ExternallySetKeys']; Aura: ['Authorities', 'CurrentSlot']; AuraExt: ['Authorities', 'RelaySlotInfo']; XcmpQueue: ['InboundXcmpSuspended', 'OutboundXcmpStatus', 'OutboundXcmpMessages', 'SignalMessages', 'QueueConfig', 'QueueSuspended', 'DeliveryFeeFactor']; PolkadotXcm: ['QueryCounter', 'Queries', 'AssetTraps', 'SafeXcmVersion', 'SupportedVersion', 'VersionNotifiers', 'VersionNotifyTargets', 'VersionDiscoveryQueue', 'CurrentMigration', 'RemoteLockedFungibles', 'LockedFungibles', 'XcmExecutionSuspended', 'ShouldRecordXcm', 'RecordedXcm', 'AuthorizedAliases']; Multisig: ['Multisigs']; Proxy: ['Proxies', 'Announcements']; BridgeRelayers: ['RelayerRewards', 'RegisteredRelayers']; BridgeKusamaGrandpa: ['FreeHeadersRemaining', 'InitialHash', 'BestFinalized', 'ImportedHashes', 'ImportedHashesPointer', 'ImportedHeaders', 'CurrentAuthoritySet', 'PalletOwner', 'PalletOperatingMode']; BridgeKusamaParachains: ['PalletOwner', 'PalletOperatingMode', 'ParasInfo', 'ImportedParaHeads', 'ImportedParaHashes']; BridgeKusamaMessages: ['PalletOwner', 'PalletOperatingMode', 'InboundLanes', 'OutboundLanes', 'OutboundMessages']; XcmOverBridgeHubKusama: ['Bridges', 'LaneToBridge']; EthereumInboundQueue: ['Nonce', 'OperatingMode']; EthereumOutboundQueue: ['Messages', 'MessageLeaves', 'Nonce', 'OperatingMode']; EthereumBeaconClient: ['InitialCheckpointRoot', 'LatestFinalizedBlockRoot', 'FinalizedBeaconState', 'FinalizedBeaconStateIndex', 'FinalizedBeaconStateMapping', 'ValidatorsRoot', 'CurrentSyncCommittee', 'NextSyncCommittee', 'LatestSyncCommitteeUpdatePeriod', 'OperatingMode']; EthereumSystem: ['Agents', 'Channels', 'PricingParameters', 'ForeignToNativeId']; EthereumSystemV2: ['LostTips']; EthereumInboundQueueV2: ['NonceBitmap', 'OperatingMode', 'Tips']; EthereumOutboundQueueV2: ['Messages', 'MessageLeaves', 'Nonce', 'PendingOrders']; MessageQueue: ['BookStateFor', 'ServiceHead', 'Pages']; }; tx: { System: ['remark', 'set_heap_pages', 'set_code', 'set_code_without_checks', 'set_storage', 'kill_storage', 'kill_prefix', 'remark_with_event', 'authorize_upgrade', 'authorize_upgrade_without_checks', 'apply_authorized_upgrade']; ParachainSystem: ['set_validation_data', 'sudo_send_upward_message']; Timestamp: ['set']; Balances: ['transfer_allow_death', 'force_transfer', 'transfer_keep_alive', 'transfer_all', 'force_unreserve', 'upgrade_accounts', 'force_set_balance', 'force_adjust_total_issuance', 'burn']; CollatorSelection: ['set_invulnerables', 'set_desired_candidates', 'set_candidacy_bond', 'register_as_candidate', 'leave_intent', 'add_invulnerable', 'remove_invulnerable', 'update_bond', 'take_candidate_slot']; Session: ['set_keys', 'purge_keys']; XcmpQueue: ['suspend_xcm_execution', 'resume_xcm_execution', 'update_suspend_threshold', 'update_drop_threshold', 'update_resume_threshold']; PolkadotXcm: ['send', 'teleport_assets', 'reserve_transfer_assets', 'execute', 'force_xcm_version', 'force_default_xcm_version', 'force_subscribe_version_notify', 'force_unsubscribe_version_notify', 'limited_reserve_transfer_assets', 'limited_teleport_assets', 'force_suspension', 'transfer_assets', 'claim_assets', 'transfer_assets_using_type_and_then', 'add_authorized_alias', 'remove_authorized_alias', 'remove_all_authorized_aliases']; Utility: ['batch', 'as_derivative', 'batch_all', 'dispatch_as', 'force_batch', 'with_weight', 'if_else', 'dispatch_as_fallible']; Multisig: ['as_multi_threshold_1', 'as_multi', 'approve_as_multi', 'cancel_as_multi', 'poke_deposit']; Proxy: ['proxy', 'add_proxy', 'remove_proxy', 'remove_proxies', 'create_pure', 'kill_pure', 'announce', 'remove_announcement', 'reject_announcement', 'proxy_announced', 'poke_deposit']; BridgeRelayers: ['claim_rewards', 'register', 'deregister', 'claim_rewards_to']; BridgeKusamaGrandpa: ['submit_finality_proof', 'initialize', 'set_owner', 'set_operating_mode', 'submit_finality_proof_ex', 'force_set_pallet_state']; BridgeKusamaParachains: ['submit_parachain_heads', 'set_owner', 'set_operating_mode', 'submit_parachain_heads_ex']; BridgeKusamaMessages: ['set_owner', 'set_operating_mode', 'receive_messages_proof', 'receive_messages_delivery_proof']; XcmOverBridgeHubKusama: ['open_bridge', 'close_bridge']; EthereumInboundQueue: ['submit', 'set_operating_mode']; EthereumOutboundQueue: ['set_operating_mode']; EthereumBeaconClient: ['force_checkpoint', 'submit', 'set_operating_mode']; EthereumSystem: ['upgrade', 'set_operating_mode', 'set_pricing_parameters', 'set_token_transfer_fees', 'register_token']; EthereumSystemV2: ['upgrade', 'set_operating_mode', 'register_token', 'add_tip']; EthereumInboundQueueV2: ['submit', 'set_operating_mode']; EthereumOutboundQueueV2: ['submit_delivery_receipt']; MessageQueue: ['reap_page', 'execute_overweight']; }; events: { System: ['ExtrinsicSuccess', 'ExtrinsicFailed', 'CodeUpdated', 'NewAccount', 'KilledAccount', 'Remarked', 'UpgradeAuthorized', 'RejectedInvalidAuthorizedUpgrade']; ParachainSystem: ['ValidationFunctionStored', 'ValidationFunctionApplied', 'ValidationFunctionDiscarded', 'DownwardMessagesReceived', 'DownwardMessagesProcessed', 'UpwardMessageSent']; Balances: ['Endowed', 'DustLost', 'Transfer', 'BalanceSet', 'Reserved', 'Unreserved', 'ReserveRepatriated', 'Deposit', 'Withdraw', 'Slashed', 'Minted', 'MintedCredit', 'Burned', 'BurnedDebt', 'Suspended', 'Restored', 'Upgraded', 'Issued', 'Rescinded', 'Locked', 'Unlocked', 'Frozen', 'Thawed', 'TotalIssuanceForced', 'Held', 'BurnedHeld', 'TransferOnHold', 'TransferAndHold', 'Released', 'Unexpected']; TransactionPayment: ['TransactionFeePaid']; CollatorSelection: ['NewInvulnerables', 'InvulnerableAdded', 'InvulnerableRemoved', 'NewDesiredCandidates', 'NewCandidacyBond', 'CandidateAdded', 'CandidateBondUpdated', 'CandidateRemoved', 'CandidateReplaced', 'InvalidInvulnerableSkipped']; Session: ['NewSession', 'NewQueued', 'ValidatorDisabled', 'ValidatorReenabled']; XcmpQueue: ['XcmpMessageSent']; PolkadotXcm: ['Attempted', 'Sent', 'SendFailed', 'ProcessXcmError', 'UnexpectedResponse', 'ResponseReady', 'Notified', 'NotifyOverweight', 'NotifyDispatchError', 'NotifyDecodeFailed', 'InvalidResponder', 'InvalidResponderVersion', 'ResponseTaken', 'AssetsTrapped', 'VersionChangeNotified', 'SupportedVersionChanged', 'NotifyTargetSendFail', 'NotifyTargetMigrationFail', 'InvalidQuerierVersion', 'InvalidQuerier', 'VersionNotifyStarted', 'VersionNotifyRequested', 'VersionNotifyUnrequested', 'FeesPaid', 'AssetsClaimed', 'VersionMigrationFinished', 'AliasAuthorized', 'AliasAuthorizationRemoved', 'AliasesAuthorizationsRemoved']; CumulusXcm: ['InvalidFormat', 'UnsupportedVersion', 'ExecutedDownward']; Utility: ['BatchInterrupted', 'BatchCompleted', 'BatchCompletedWithErrors', 'ItemCompleted', 'ItemFailed', 'DispatchedAs', 'IfElseMainSuccess', 'IfElseFallbackCalled']; Multisig: ['NewMultisig', 'MultisigApproval', 'MultisigExecuted', 'MultisigCancelled', 'DepositPoked']; Proxy: ['ProxyExecuted', 'PureCreated', 'PureKilled', 'Announced', 'ProxyAdded', 'ProxyRemoved', 'DepositPoked']; BridgeRelayers: ['RewardRegistered', 'RewardPaid', 'RegistrationUpdated', 'Deregistered', 'SlashedAndDeregistered']; BridgeKusamaGrandpa: ['UpdatedBestFinalizedHeader']; BridgeKusamaParachains: ['UntrackedParachainRejected', 'MissingParachainHead', 'IncorrectParachainHeadHash', 'RejectedObsoleteParachainHead', 'RejectedLargeParachainHead', 'UpdatedParachainHead']; BridgeKusamaMessages: ['MessageAccepted', 'MessagesReceived', 'MessagesDelivered']; XcmOverBridgeHubKusama: ['BridgeOpened', 'ClosingBridge', 'BridgePruned']; EthereumInboundQueue: ['MessageReceived', 'OperatingModeChanged']; EthereumOutboundQueue: ['MessageQueued', 'MessageAccepted', 'MessagesCommitted', 'OperatingModeChanged']; EthereumBeaconClient: ['BeaconHeaderImported', 'SyncCommitteeUpdated', 'OperatingModeChanged']; EthereumSystem: ['Upgrade', 'CreateAgent', 'CreateChannel', 'UpdateChannel', 'SetOperatingMode', 'TransferNativeFromAgent', 'SetTokenTransferFees', 'PricingParametersChanged', 'RegisterToken']; EthereumSystemV2: ['Upgrade', 'SetOperatingMode', 'RegisterToken', 'TipProcessed']; EthereumInboundQueueV2: ['MessageReceived', 'OperatingModeChanged']; EthereumOutboundQueueV2: ['MessageQueued', 'MessageAccepted', 'MessageRejected', 'MessagePostponed', 'MessagesCommitted', 'OperatingModeChanged', 'MessageDelivered']; MessageQueue: ['ProcessingFailed', 'Processed', 'OverweightEnqueued', 'PageReaped']; }; errors: { System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized']; ParachainSystem: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled']; Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero']; CollatorSelection: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve']; Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount']; XcmpQueue: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig']; PolkadotXcm: ['Unreachable', 'SendFailure', 'Filtered', 'UnweighableMessage', 'DestinationNotInvertible', 'Empty', 'CannotReanchor', 'TooManyAssets', 'InvalidOrigin', 'BadVersion', 'BadLocation', 'NoSubscription', 'AlreadySubscribed', 'CannotCheckOutTeleport', 'LowBalance', 'TooManyLocks', 'AccountNotSovereign', 'FeesNotMet', 'LockNotFound', 'InUse', 'InvalidAssetUnknownReserve', 'InvalidAssetUnsupportedReserve', 'TooManyReserves', 'LocalExecutionIncomplete', 'TooManyAuthorizedAliases', 'ExpiresInPast', 'AliasNotFound', 'LocalExecutionIncompleteWithError']; Utility: ['TooManyCalls']; Multisig: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored']; Proxy: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy']; BridgeRelayers: ['NoRewardForRelayer', 'FailedToPayReward', 'InvalidRegistrationLease', 'CannotReduceRegistrationLease', 'FailedToReserve', 'FailedToUnreserve', 'NotRegistered', 'RegistrationIsStillActive']; BridgeKusamaGrandpa: ['InvalidJustification', 'InvalidAuthoritySet', 'OldHeader', 'UnsupportedScheduledChange', 'NotInitialized', 'AlreadyInitialized', 'TooManyAuthoritiesInSet', 'BridgeModule', 'InvalidAuthoritySetId', 'FreeHeadersLimitExceded', 'BelowFreeHeaderInterval', 'HeaderOverflowLimits']; BridgeKusamaParachains: ['UnknownRelayChainBlock', 'InvalidRelayChainBlockNumber', 'HeaderChainStorageProof', 'BridgeModule']; BridgeKusamaMessages: ['NotOperatingNormally', 'LanesManager', 'MessageRejectedByPallet', 'TooManyMessagesInTheProof', 'InvalidMessagesProof', 'InvalidMessagesDeliveryProof', 'InvalidUnrewardedRelayersState', 'InsufficientDispatchWeight', 'ReceptionConfirmation', 'BridgeModule']; XcmOverBridgeHubKusama: ['BridgeLocations', 'InvalidBridgeOriginAccount', 'BridgeAlreadyExists', 'TooManyBridgesForLocalOrigin', 'BridgeAlreadyClosed', 'LanesManager', 'UnknownBridge', 'FailedToReserveBridgeDeposit', 'UnsupportedXcmVersion']; EthereumInboundQueue: ['InvalidGateway', 'InvalidEnvelope', 'InvalidNonce', 'InvalidPayload', 'InvalidChannel', 'MaxNonceReached', 'InvalidAccountConversion', 'Halted', 'Verification', 'Send', 'ConvertMessage']; EthereumOutboundQueue: ['MessageTooLarge', 'Halted', 'InvalidChannel']; EthereumBeaconClient: ['SkippedSyncCommitteePeriod', 'SyncCommitteeUpdateRequired', 'IrrelevantUpdate', 'NotBootstrapped', 'SyncCommitteeParticipantsNotSupermajority', 'InvalidHeaderMerkleProof', 'InvalidSyncCommitteeMerkleProof', 'InvalidExecutionHeaderProof', 'InvalidAncestryMerkleProof', 'InvalidBlockRootsRootMerkleProof', 'InvalidFinalizedHeaderGap', 'HeaderNotFinalized', 'BlockBodyHashTreeRootFailed', 'HeaderHashTreeRootFailed', 'SyncCommitteeHashTreeRootFailed', 'SigningRootHashTreeRootFailed', 'ForkDataHashTreeRootFailed', 'ExpectedFinalizedHeaderNotStored', 'BLSPreparePublicKeysFailed', 'BLSVerificationFailed', 'InvalidUpdateSlot', 'InvalidSyncCommitteeUpdate', 'ExecutionHeaderTooFarBehind', 'ExecutionHeaderSkippedBlock', 'Halted']; EthereumSystem: ['LocationConversionFailed', 'AgentAlreadyCreated', 'NoAgent', 'ChannelAlreadyCreated', 'NoChannel', 'UnsupportedLocationVersion', 'InvalidLocation', 'Send', 'InvalidTokenTransferFees', 'InvalidPricingParameters', 'InvalidUpgradeParameters']; EthereumSystemV2: ['LocationReanchorFailed', 'LocationConversionFailed', 'UnsupportedLocationVersion', 'Send', 'InvalidUpgradeParameters']; EthereumInboundQueueV2: ['InvalidGateway', 'InvalidMessage', 'InvalidNonce', 'InvalidNetwork', 'Halted', 'FeesNotMet', 'Unreachable', 'SendFailure', 'InvalidAsset', 'CannotReanchor', 'Verification']; EthereumOutboundQueueV2: ['MessageTooLarge', 'Halted', 'InvalidChannel', 'InvalidEnvelope', 'Verification', 'InvalidGateway', 'InvalidPendingNonce', 'RewardPaymentFailed']; MessageQueue: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed']; }; constants: { System: ['BlockWeights', 'BlockLength', 'BlockHashCount', 'DbWeight', 'Version', 'SS58Prefix']; ParachainSystem: ['SelfParaId']; Timestamp: ['MinimumPeriod']; Balances: ['ExistentialDeposit', 'MaxLocks', 'MaxReserves', 'MaxFreezes']; TransactionPayment: ['OperationalFeeMultiplier']; CollatorSelection: ['PotId', 'MaxCandidates', 'MinEligibleCollators', 'MaxInvulnerables', 'KickThreshold', 'pot_account']; Session: ['KeyDeposit']; Aura: ['SlotDuration']; XcmpQueue: ['MaxInboundSuspended', 'MaxActiveOutboundChannels', 'MaxPageSize']; PolkadotXcm: ['UniversalLocation', 'AdvertisedXcmVersion', 'MaxLockers', 'MaxRemoteLockConsumers']; Utility: ['batched_calls_limit']; Multisig: ['DepositBase', 'DepositFactor', 'MaxSignatories']; Proxy: ['ProxyDepositBase', 'ProxyDepositFactor', 'MaxProxies', 'MaxPending', 'AnnouncementDepositBase', 'AnnouncementDepositFactor']; BridgeKusamaGrandpa: ['MaxFreeHeadersPerBlock', 'FreeHeadersInterval', 'HeadersToKeep']; BridgeKusamaParachains: ['ParasPalletName', 'HeadsToKeep', 'MaxParaHeadDataSize']; XcmOverBridgeHubKusama: ['BridgedNetwork', 'BridgeDeposit']; EthereumInboundQueue: ['GatewayAddress']; EthereumOutboundQueue: ['Decimals', 'MaxMessagePayloadSize', 'MaxMessagesPerBlock']; EthereumBeaconClient: ['ForkVersions', 'FreeHeadersInterval']; EthereumSystem: ['TreasuryAccount', 'InboundDeliveryCost']; EthereumInboundQueueV2: ['GatewayAddress', 'DefaultRewardKind']; EthereumOutboundQueueV2: ['MaxMessagePayloadSize', 'MaxMessagesPerBlock', 'GatewayAddress', 'DefaultRewardKind']; MessageQueue: ['HeapSize', 'MaxStale', 'ServiceWeight', 'IdleMaxServiceWeight']; }; viewFns: { Proxy: ['check_permissions', 'is_superset']; }; apis: { AuraApi: ['slot_duration', 'authorities']; RelayParentOffsetApi: ['relay_parent_offset']; AuraUnincludedSegmentApi: ['can_build_upon']; Core: ['version', 'execute_block', 'initialize_block']; Metadata: ['metadata', 'metadata_at_version', 'metadata_versions']; BlockBuilder: ['apply_extrinsic', 'finalize_block', 'inherent_extrinsics', 'check_inherents']; TaggedTransactionQueue: ['validate_transaction']; OffchainWorkerApi: ['offchain_worker']; SessionKeys: ['generate_session_keys', 'decode_session_keys']; RuntimeViewFunction: ['execute_view_function']; AccountNonceApi: ['account_nonce']; TransactionPaymentApi: ['query_info', 'query_fee_details', 'query_weight_to_fee', 'query_length_to_fee']; TransactionPaymentCallApi: ['query_call_info', 'query_call_fee_details', 'query_weight_to_fee', 'query_length_to_fee']; XcmPaymentApi: ['query_acceptable_payment_assets', 'query_xcm_weight', 'query_weight_to_asset_fee', 'query_delivery_fees']; DryRunApi: ['dry_run_call', 'dry_run_xcm']; LocationToAccountApi: ['convert_location']; TrustedQueryApi: ['is_trusted_reserve', 'is_trusted_teleporter']; AuthorizedAliasersApi: ['authorized_aliasers', 'is_authorized_alias']; CollectCollationInfo: ['collect_collation_info']; GenesisBuilder: ['build_state', 'get_preset', 'preset_names']; KusamaFinalityApi: ['best_finalized', 'free_headers_interval', 'synced_headers_grandpa_info']; BridgeHubKusamaFinalityApi: ['best_finalized', 'free_headers_interval']; FromBridgeHubKusamaInboundLaneApi: ['message_details']; ToBridgeHubKusamaOutboundLaneApi: ['message_details']; OutboundQueueApi: ['prove_message', 'calculate_fee']; OutboundQueueV2Api: ['prove_message']; InboundQueueV2Api: ['is_message_relayed']; ControlApi: ['agent_id']; ControlV2Api: ['agent_id']; GetParachainInfo: ['parachain_id']; }; }; export type BridgeHubWhitelistEntry = PalletKey | `query.${NestedKey}` | `tx.${NestedKey}` | `event.${NestedKey}` | `error.${NestedKey}` | `const.${NestedKey}` | `view.${NestedKey}` | `api.${NestedKey}`; type PalletKey = `*.${({ [K in keyof AllInteractions]: K extends 'apis' ? never : keyof AllInteractions[K]; })[keyof AllInteractions]}`; type NestedKey> = "*" | { [P in keyof D & string]: `${P}.*` | `${P}.${D[P][number]}`; }[keyof D & string];