@paraspell/descriptors 14.0.0
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/LICENSE +21 -0
- package/README.md +54 -0
- package/dist/ahp.d.ts +3428 -0
- package/dist/ahp_metadata-CN_MTTeF.js +3 -0
- package/dist/ahp_metadata.d.ts +2 -0
- package/dist/bridgeHub.d.ts +239 -0
- package/dist/bridgeHub_metadata-Li64-Pg1.js +3 -0
- package/dist/bridgeHub_metadata.d.ts +2 -0
- package/dist/common-types.d.ts +25850 -0
- package/dist/common.d.ts +1 -0
- package/dist/descriptors-C7Rb0-iv.js +28 -0
- package/dist/descriptors.d.ts +4 -0
- package/dist/hydration.d.ts +431 -0
- package/dist/hydration_metadata-0UTkhPaM.js +3 -0
- package/dist/hydration_metadata.d.ts +2 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +144 -0
- package/dist/metadataTypes-uOlhw_Gc.js +3 -0
- package/dist/metadataTypes.d.ts +2 -0
- package/dist/moonbeam.d.ts +305 -0
- package/dist/moonbeam_metadata-BYLNx4wH.js +3 -0
- package/dist/moonbeam_metadata.d.ts +2 -0
- package/package.json +47 -0
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { StorageDescriptor, PlainDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SizedHex, FixedSizeArray } from "polkadot-api";
|
|
2
|
+
import type { I82cps8ng2jtug, I55irekfhn8876 } from "./common-types";
|
|
3
|
+
type AnonymousEnum<T extends {}> = T & {
|
|
4
|
+
__anonymous: true;
|
|
5
|
+
};
|
|
6
|
+
type MyTuple<T> = [T, ...T[]];
|
|
7
|
+
type SeparateUndefined<T> = undefined extends T ? undefined | Exclude<T, undefined> : T;
|
|
8
|
+
type Anonymize<T> = SeparateUndefined<T extends string | number | bigint | boolean | void | undefined | null | symbol | Uint8Array | Enum<any> ? T : T extends AnonymousEnum<infer V> ? Enum<V> : T extends MyTuple<any> ? {
|
|
9
|
+
[K in keyof T]: T[K];
|
|
10
|
+
} : T extends [] ? [] : T extends FixedSizeArray<infer L, infer T> ? number extends L ? Array<T> : FixedSizeArray<L, T> : {
|
|
11
|
+
[K in keyof T & string]: T[K];
|
|
12
|
+
}>;
|
|
13
|
+
type IStorage = {
|
|
14
|
+
EVM: {
|
|
15
|
+
/**
|
|
16
|
+
|
|
17
|
+
*/
|
|
18
|
+
AccountStorages: StorageDescriptor<Anonymize<I82cps8ng2jtug>, SizedHex<32>, false, never>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type ICalls = {};
|
|
22
|
+
type IEvent = {};
|
|
23
|
+
type IError = {};
|
|
24
|
+
type IConstants = {};
|
|
25
|
+
type IViewFns = {};
|
|
26
|
+
type IRuntimeCalls = {};
|
|
27
|
+
export type MoonbeamDispatchError = unknown;
|
|
28
|
+
type IAsset = PlainDescriptor<void>;
|
|
29
|
+
export type MoonbeamExtensions = {};
|
|
30
|
+
type PalletsTypedef = {
|
|
31
|
+
__storage: IStorage;
|
|
32
|
+
__tx: ICalls;
|
|
33
|
+
__event: IEvent;
|
|
34
|
+
__error: IError;
|
|
35
|
+
__const: IConstants;
|
|
36
|
+
__view: IViewFns;
|
|
37
|
+
};
|
|
38
|
+
export type Moonbeam = {
|
|
39
|
+
descriptors: {
|
|
40
|
+
pallets: PalletsTypedef;
|
|
41
|
+
apis: IRuntimeCalls;
|
|
42
|
+
} & Promise<any>;
|
|
43
|
+
metadataTypes: Promise<Uint8Array>;
|
|
44
|
+
asset: IAsset;
|
|
45
|
+
extensions: MoonbeamExtensions;
|
|
46
|
+
getMetadata: () => Promise<Uint8Array>;
|
|
47
|
+
genesis: string | undefined;
|
|
48
|
+
};
|
|
49
|
+
declare const _allDescriptors: Moonbeam;
|
|
50
|
+
export default _allDescriptors;
|
|
51
|
+
export type MoonbeamApis = ApisFromDef<IRuntimeCalls>;
|
|
52
|
+
export type MoonbeamQueries = QueryFromPalletsDef<PalletsTypedef>;
|
|
53
|
+
export type MoonbeamCalls = TxFromPalletsDef<PalletsTypedef>;
|
|
54
|
+
export type MoonbeamEvents = EventsFromPalletsDef<PalletsTypedef>;
|
|
55
|
+
export type MoonbeamErrors = ErrorsFromPalletsDef<PalletsTypedef>;
|
|
56
|
+
export type MoonbeamConstants = ConstFromPalletsDef<PalletsTypedef>;
|
|
57
|
+
export type MoonbeamViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
|
|
58
|
+
export type MoonbeamCallData = Anonymize<I55irekfhn8876> & {
|
|
59
|
+
value: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type AllInteractions = {
|
|
64
|
+
storage: {
|
|
65
|
+
System: ['Account', 'ExtrinsicCount', 'InherentsApplied', 'BlockWeight', 'AllExtrinsicsLen', 'BlockHash', 'ExtrinsicData', 'Number', 'ParentHash', 'Digest', 'Events', 'EventCount', 'EventTopics', 'LastRuntimeUpgrade', 'UpgradedToU32RefCount', 'UpgradedToTripleRefCount', 'ExecutionPhase', 'AuthorizedUpgrade', 'ExtrinsicWeightReclaimed'];
|
|
66
|
+
ParachainSystem: ['UnincludedSegment', 'AggregatedUnincludedSegment', 'PendingValidationCode', 'NewValidationCode', 'ValidationData', 'DidSetValidationCode', 'LastRelayChainBlockNumber', 'UpgradeRestrictionSignal', 'UpgradeGoAhead', 'RelayStateProof', 'RelevantMessagingState', 'HostConfiguration', 'LastDmqMqcHead', 'LastHrmpMqcHeads', 'ProcessedDownwardMessages', 'LastProcessedDownwardMessage', 'HrmpWatermark', 'LastProcessedHrmpMessage', 'HrmpOutboundMessages', 'UpwardMessages', 'PendingUpwardMessages', 'PendingUpwardSignals', 'UpwardDeliveryFeeFactor', 'AnnouncedHrmpMessagesPerCandidate', 'ReservedXcmpWeightOverride', 'ReservedDmpWeightOverride', 'CustomValidationHeadData'];
|
|
67
|
+
Timestamp: ['Now', 'DidUpdate'];
|
|
68
|
+
ParachainInfo: ['ParachainId'];
|
|
69
|
+
Balances: ['TotalIssuance', 'InactiveIssuance', 'Account', 'Locks', 'Reserves', 'Holds', 'Freezes'];
|
|
70
|
+
TransactionPayment: ['NextFeeMultiplier', 'StorageVersion', 'TxPaymentCredit'];
|
|
71
|
+
ParachainStaking: ['CollatorCommission', 'TotalSelected', 'InflationDistributionInfo', 'Round', 'DelegatorState', 'CandidateInfo', 'DelegationScheduledRequests', 'DelegationScheduledRequestsPerCollator', 'DelegationScheduledRequestsSummaryMap', 'AutoCompoundingDelegations', 'TopDelegations', 'BottomDelegations', 'SelectedCandidates', 'Total', 'CandidatePool', 'AtStake', 'WasInactive', 'DelayedPayouts', 'InflationConfig', 'Points', 'AwardedPts', 'EnableMarkingOffline'];
|
|
72
|
+
AuthorInherent: ['Author', 'InherentIncluded'];
|
|
73
|
+
AuthorFilter: ['EligibleRatio', 'EligibleCount'];
|
|
74
|
+
AuthorMapping: ['MappingWithDeposit', 'NimbusLookup'];
|
|
75
|
+
MoonbeamOrbiters: ['AccountLookupOverride', 'CollatorsPool', 'CounterForCollatorsPool', 'CurrentRound', 'ForceRotation', 'MinOrbiterDeposit', 'OrbiterPerRound', 'RegisteredOrbiter'];
|
|
76
|
+
AsyncBacking: ['SlotInfo'];
|
|
77
|
+
Proxy: ['Proxies', 'Announcements'];
|
|
78
|
+
MaintenanceMode: ['MaintenanceMode'];
|
|
79
|
+
Identity: ['IdentityOf', 'UsernameOf', 'SuperOf', 'SubsOf', 'Registrars', 'AuthorityOf', 'UsernameInfoOf', 'PendingUsernames', 'UnbindingUsernames'];
|
|
80
|
+
Multisig: ['Multisigs'];
|
|
81
|
+
Parameters: ['Parameters'];
|
|
82
|
+
EthereumChainId: ['ChainId'];
|
|
83
|
+
EVM: ['AccountCodes', 'AccountCodesMetadata', 'AccountStorages'];
|
|
84
|
+
Ethereum: ['Pending', 'CounterForPending', 'CurrentBlock', 'CurrentReceipts', 'CurrentTransactionStatuses', 'BlockHash'];
|
|
85
|
+
Scheduler: ['IncompleteSince', 'Agenda', 'Retries', 'Lookup'];
|
|
86
|
+
Preimage: ['StatusFor', 'RequestStatusFor', 'PreimageFor'];
|
|
87
|
+
ConvictionVoting: ['VotingFor', 'ClassLocksFor'];
|
|
88
|
+
Referenda: ['ReferendumCount', 'ReferendumInfoFor', 'TrackQueue', 'DecidingCount', 'MetadataOf'];
|
|
89
|
+
Whitelist: ['WhitelistedCall'];
|
|
90
|
+
TreasuryCouncilCollective: ['Proposals', 'ProposalOf', 'CostOf', 'Voting', 'ProposalCount', 'Members', 'Prime'];
|
|
91
|
+
OpenTechCommitteeCollective: ['Proposals', 'ProposalOf', 'CostOf', 'Voting', 'ProposalCount', 'Members', 'Prime'];
|
|
92
|
+
Treasury: ['ProposalCount', 'Proposals', 'Deactivated', 'Approvals', 'SpendCount', 'Spends', 'LastSpendPeriod'];
|
|
93
|
+
CrowdloanRewards: ['AccountsPayable', 'ClaimedRelayChainIds', 'UnassociatedContributions', 'Initialized', 'InitRelayBlock', 'EndRelayBlock', 'InitializedRewardAmount', 'TotalContributors'];
|
|
94
|
+
XcmpQueue: ['InboundXcmpSuspended', 'OutboundXcmpStatus', 'OutboundXcmpMessages', 'SignalMessages', 'QueueConfig', 'QueueSuspended', 'DeliveryFeeFactor'];
|
|
95
|
+
PolkadotXcm: ['QueryCounter', 'Queries', 'AssetTraps', 'SafeXcmVersion', 'SupportedVersion', 'VersionNotifiers', 'VersionNotifyTargets', 'VersionDiscoveryQueue', 'CurrentMigration', 'RemoteLockedFungibles', 'LockedFungibles', 'XcmExecutionSuspended', 'ShouldRecordXcm', 'RecordedXcm', 'AuthorizedAliases'];
|
|
96
|
+
XcmTransactor: ['IndexToAccount', 'TransactInfoWithWeightLimit', 'RelayIndices'];
|
|
97
|
+
EthereumXcm: ['Nonce', 'EthereumXcmSuspended'];
|
|
98
|
+
MessageQueue: ['BookStateFor', 'ServiceHead', 'Pages'];
|
|
99
|
+
EvmForeignAssets: ['AssetsById', 'CounterForAssetsById', 'AssetsByLocation', 'AssetsCreationDetails', 'PendingDeposits'];
|
|
100
|
+
XcmWeightTrader: ['SupportedAssets'];
|
|
101
|
+
EmergencyParaXcm: ['Mode'];
|
|
102
|
+
MultiBlockMigrations: ['Cursor', 'Historic'];
|
|
103
|
+
RelayStorageRoots: ['RelayStorageRoot', 'RelayStorageRootKeys'];
|
|
104
|
+
Randomness: ['Requests', 'RequestCount', 'LocalVrfOutput', 'RelayEpoch', 'InherentIncluded', 'NotFirstBlock', 'RandomnessResults', 'PreviousLocalVrfOutput'];
|
|
105
|
+
BridgeKusamaGrandpa: ['FreeHeadersRemaining', 'InitialHash', 'BestFinalized', 'ImportedHashes', 'ImportedHashesPointer', 'ImportedHeaders', 'CurrentAuthoritySet', 'PalletOwner', 'PalletOperatingMode'];
|
|
106
|
+
BridgeKusamaParachains: ['PalletOwner', 'PalletOperatingMode', 'ParasInfo', 'ImportedParaHeads', 'ImportedParaHashes'];
|
|
107
|
+
BridgeKusamaMessages: ['PalletOwner', 'PalletOperatingMode', 'InboundLanes', 'OutboundLanes', 'OutboundMessages'];
|
|
108
|
+
BridgeXcmOverMoonriver: ['Bridges', 'LaneToBridge'];
|
|
109
|
+
};
|
|
110
|
+
tx: {
|
|
111
|
+
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'];
|
|
112
|
+
ParachainSystem: ['set_validation_data', 'sudo_send_upward_message'];
|
|
113
|
+
Timestamp: ['set'];
|
|
114
|
+
RootTesting: ['fill_block', 'trigger_defensive'];
|
|
115
|
+
Balances: ['transfer_allow_death', 'force_transfer', 'transfer_keep_alive', 'transfer_all', 'force_unreserve', 'upgrade_accounts', 'force_set_balance', 'force_adjust_total_issuance', 'burn'];
|
|
116
|
+
ParachainStaking: ['set_staking_expectations', 'set_inflation', 'set_total_selected', 'set_collator_commission', 'set_blocks_per_round', 'join_candidates', 'schedule_leave_candidates', 'execute_leave_candidates', 'cancel_leave_candidates', 'go_offline', 'go_online', 'candidate_bond_more', 'schedule_candidate_bond_less', 'execute_candidate_bond_less', 'cancel_candidate_bond_less', 'delegate_with_auto_compound', 'schedule_revoke_delegation', 'delegator_bond_more', 'schedule_delegator_bond_less', 'execute_delegation_request', 'cancel_delegation_request', 'set_auto_compound', 'notify_inactive_collator', 'enable_marking_offline', 'force_join_candidates', 'set_inflation_distribution_config'];
|
|
117
|
+
AuthorInherent: ['kick_off_authorship_validation'];
|
|
118
|
+
AuthorFilter: ['set_eligible'];
|
|
119
|
+
AuthorMapping: ['add_association', 'update_association', 'clear_association', 'remove_keys', 'set_keys'];
|
|
120
|
+
MoonbeamOrbiters: ['collator_add_orbiter', 'collator_remove_orbiter', 'orbiter_leave_collator_pool', 'orbiter_register', 'orbiter_unregister', 'add_collator', 'remove_collator'];
|
|
121
|
+
Utility: ['batch', 'as_derivative', 'batch_all', 'dispatch_as', 'force_batch', 'with_weight', 'if_else', 'dispatch_as_fallible'];
|
|
122
|
+
Proxy: ['proxy', 'add_proxy', 'remove_proxy', 'remove_proxies', 'create_pure', 'kill_pure', 'announce', 'remove_announcement', 'reject_announcement', 'proxy_announced', 'poke_deposit'];
|
|
123
|
+
MaintenanceMode: ['enter_maintenance_mode', 'resume_normal_operation'];
|
|
124
|
+
Identity: ['add_registrar', 'set_identity', 'set_subs', 'clear_identity', 'request_judgement', 'cancel_request', 'set_fee', 'set_account_id', 'set_fields', 'provide_judgement', 'kill_identity', 'add_sub', 'rename_sub', 'remove_sub', 'quit_sub', 'add_username_authority', 'remove_username_authority', 'set_username_for', 'accept_username', 'remove_expired_approval', 'set_primary_username', 'unbind_username', 'remove_username', 'kill_username'];
|
|
125
|
+
Multisig: ['as_multi_threshold_1', 'as_multi', 'approve_as_multi', 'cancel_as_multi', 'poke_deposit'];
|
|
126
|
+
MoonbeamLazyMigrations: ['create_contract_metadata'];
|
|
127
|
+
Parameters: ['set_parameter'];
|
|
128
|
+
EVM: ['withdraw', 'call', 'create', 'create2'];
|
|
129
|
+
Ethereum: ['transact'];
|
|
130
|
+
Scheduler: ['schedule', 'cancel', 'schedule_named', 'cancel_named', 'schedule_after', 'schedule_named_after', 'set_retry', 'set_retry_named', 'cancel_retry', 'cancel_retry_named'];
|
|
131
|
+
Preimage: ['note_preimage', 'unnote_preimage', 'request_preimage', 'unrequest_preimage', 'ensure_updated'];
|
|
132
|
+
ConvictionVoting: ['vote', 'delegate', 'undelegate', 'unlock', 'remove_vote', 'remove_other_vote'];
|
|
133
|
+
Referenda: ['submit', 'place_decision_deposit', 'refund_decision_deposit', 'cancel', 'kill', 'nudge_referendum', 'one_fewer_deciding', 'refund_submission_deposit', 'set_metadata'];
|
|
134
|
+
Whitelist: ['whitelist_call', 'remove_whitelisted_call', 'dispatch_whitelisted_call', 'dispatch_whitelisted_call_with_preimage'];
|
|
135
|
+
TreasuryCouncilCollective: ['set_members', 'execute', 'propose', 'vote', 'disapprove_proposal', 'close', 'kill', 'release_proposal_cost'];
|
|
136
|
+
OpenTechCommitteeCollective: ['set_members', 'execute', 'propose', 'vote', 'disapprove_proposal', 'close', 'kill', 'release_proposal_cost'];
|
|
137
|
+
Treasury: ['spend_local', 'remove_approval', 'spend', 'payout', 'check_status', 'void_spend'];
|
|
138
|
+
CrowdloanRewards: ['associate_native_identity', 'change_association_with_relay_keys', 'claim', 'update_reward_address', 'complete_unclaimed_rewards'];
|
|
139
|
+
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'];
|
|
140
|
+
XcmTransactor: ['register', 'deregister', 'transact_through_derivative', 'transact_through_sovereign', 'set_transact_info', 'remove_transact_info', 'transact_through_signed', 'hrmp_manage'];
|
|
141
|
+
EthereumXcm: ['transact', 'transact_through_proxy', 'suspend_ethereum_xcm_execution', 'resume_ethereum_xcm_execution', 'force_transact_as'];
|
|
142
|
+
MessageQueue: ['reap_page', 'execute_overweight'];
|
|
143
|
+
EvmForeignAssets: ['create_foreign_asset', 'change_xcm_location', 'freeze_foreign_asset', 'unfreeze_foreign_asset', 'claim_pending_deposit'];
|
|
144
|
+
XcmWeightTrader: ['add_asset', 'edit_asset', 'pause_asset_support', 'resume_asset_support', 'remove_asset'];
|
|
145
|
+
EmergencyParaXcm: ['paused_to_normal', 'fast_authorize_upgrade'];
|
|
146
|
+
MultiBlockMigrations: ['force_set_cursor', 'force_set_active_cursor', 'force_onboard_mbms', 'clear_historic'];
|
|
147
|
+
Randomness: ['set_babe_randomness_results'];
|
|
148
|
+
BridgeKusamaGrandpa: ['submit_finality_proof', 'initialize', 'set_owner', 'set_operating_mode', 'submit_finality_proof_ex', 'force_set_pallet_state'];
|
|
149
|
+
BridgeKusamaParachains: ['submit_parachain_heads', 'set_owner', 'set_operating_mode', 'submit_parachain_heads_ex'];
|
|
150
|
+
BridgeKusamaMessages: ['set_owner', 'set_operating_mode', 'receive_messages_proof', 'receive_messages_delivery_proof'];
|
|
151
|
+
BridgeXcmOverMoonriver: ['open_bridge', 'close_bridge'];
|
|
152
|
+
};
|
|
153
|
+
events: {
|
|
154
|
+
System: ['ExtrinsicSuccess', 'ExtrinsicFailed', 'CodeUpdated', 'NewAccount', 'KilledAccount', 'Remarked', 'UpgradeAuthorized', 'RejectedInvalidAuthorizedUpgrade'];
|
|
155
|
+
ParachainSystem: ['ValidationFunctionStored', 'ValidationFunctionApplied', 'ValidationFunctionDiscarded', 'DownwardMessagesReceived', 'DownwardMessagesProcessed', 'UpwardMessageSent'];
|
|
156
|
+
RootTesting: ['DefensiveTestCall'];
|
|
157
|
+
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'];
|
|
158
|
+
TransactionPayment: ['TransactionFeePaid'];
|
|
159
|
+
ParachainStaking: ['NewRound', 'JoinedCollatorCandidates', 'CollatorChosen', 'CandidateBondLessRequested', 'CandidateBondedMore', 'CandidateBondedLess', 'CandidateWentOffline', 'CandidateBackOnline', 'CandidateScheduledExit', 'CancelledCandidateExit', 'CancelledCandidateBondLess', 'CandidateLeft', 'DelegationDecreaseScheduled', 'DelegationIncreased', 'DelegationDecreased', 'DelegatorExitScheduled', 'DelegationRevocationScheduled', 'DelegatorLeft', 'DelegationRevoked', 'DelegationKicked', 'DelegatorExitCancelled', 'CancelledDelegationRequest', 'Delegation', 'DelegatorLeftCandidate', 'Rewarded', 'InflationDistributed', 'InflationDistributionConfigUpdated', 'InflationSet', 'StakeExpectationsSet', 'TotalSelectedSet', 'CollatorCommissionSet', 'BlocksPerRoundSet', 'AutoCompoundSet', 'Compounded'];
|
|
160
|
+
AuthorFilter: ['EligibleUpdated'];
|
|
161
|
+
AuthorMapping: ['KeysRegistered', 'KeysRemoved', 'KeysRotated'];
|
|
162
|
+
MoonbeamOrbiters: ['OrbiterJoinCollatorPool', 'OrbiterLeaveCollatorPool', 'OrbiterRewarded', 'OrbiterRotation', 'OrbiterRegistered', 'OrbiterUnregistered'];
|
|
163
|
+
Utility: ['BatchInterrupted', 'BatchCompleted', 'BatchCompletedWithErrors', 'ItemCompleted', 'ItemFailed', 'DispatchedAs', 'IfElseMainSuccess', 'IfElseFallbackCalled'];
|
|
164
|
+
Proxy: ['ProxyExecuted', 'PureCreated', 'PureKilled', 'Announced', 'ProxyAdded', 'ProxyRemoved', 'DepositPoked'];
|
|
165
|
+
MaintenanceMode: ['EnteredMaintenanceMode', 'NormalOperationResumed', 'FailedToSuspendIdleXcmExecution', 'FailedToResumeIdleXcmExecution'];
|
|
166
|
+
Identity: ['IdentitySet', 'IdentityCleared', 'IdentityKilled', 'JudgementRequested', 'JudgementUnrequested', 'JudgementGiven', 'RegistrarAdded', 'SubIdentityAdded', 'SubIdentitiesSet', 'SubIdentityRenamed', 'SubIdentityRemoved', 'SubIdentityRevoked', 'AuthorityAdded', 'AuthorityRemoved', 'UsernameSet', 'UsernameQueued', 'PreapprovalExpired', 'PrimaryUsernameSet', 'DanglingUsernameRemoved', 'UsernameUnbound', 'UsernameRemoved', 'UsernameKilled'];
|
|
167
|
+
Multisig: ['NewMultisig', 'MultisigApproval', 'MultisigExecuted', 'MultisigCancelled', 'DepositPoked'];
|
|
168
|
+
Parameters: ['Updated'];
|
|
169
|
+
EVM: ['Log', 'Created', 'CreatedFailed', 'Executed', 'ExecutedFailed'];
|
|
170
|
+
Ethereum: ['Executed'];
|
|
171
|
+
Scheduler: ['Scheduled', 'Canceled', 'Dispatched', 'RetrySet', 'RetryCancelled', 'CallUnavailable', 'PeriodicFailed', 'RetryFailed', 'PermanentlyOverweight', 'AgendaIncomplete'];
|
|
172
|
+
Preimage: ['Noted', 'Requested', 'Cleared'];
|
|
173
|
+
ConvictionVoting: ['Delegated', 'Undelegated', 'Voted', 'VoteRemoved', 'VoteUnlocked'];
|
|
174
|
+
Referenda: ['Submitted', 'DecisionDepositPlaced', 'DecisionDepositRefunded', 'DepositSlashed', 'DecisionStarted', 'ConfirmStarted', 'ConfirmAborted', 'Confirmed', 'Approved', 'Rejected', 'TimedOut', 'Cancelled', 'Killed', 'SubmissionDepositRefunded', 'MetadataSet', 'MetadataCleared'];
|
|
175
|
+
Whitelist: ['CallWhitelisted', 'WhitelistedCallRemoved', 'WhitelistedCallDispatched'];
|
|
176
|
+
TreasuryCouncilCollective: ['Proposed', 'Voted', 'Approved', 'Disapproved', 'Executed', 'MemberExecuted', 'Closed', 'Killed', 'ProposalCostBurned', 'ProposalCostReleased'];
|
|
177
|
+
OpenTechCommitteeCollective: ['Proposed', 'Voted', 'Approved', 'Disapproved', 'Executed', 'MemberExecuted', 'Closed', 'Killed', 'ProposalCostBurned', 'ProposalCostReleased'];
|
|
178
|
+
Treasury: ['Spending', 'Awarded', 'Burnt', 'Rollover', 'Deposit', 'SpendApproved', 'UpdatedInactive', 'AssetSpendApproved', 'AssetSpendVoided', 'Paid', 'PaymentFailed', 'SpendProcessed'];
|
|
179
|
+
CrowdloanRewards: ['InitialPaymentMade', 'NativeIdentityAssociated', 'RewardsPaid', 'RewardAddressUpdated', 'InitializedAlreadyInitializedAccount', 'InitializedAccountWithNotEnoughContribution'];
|
|
180
|
+
XcmpQueue: ['XcmpMessageSent'];
|
|
181
|
+
CumulusXcm: ['InvalidFormat', 'UnsupportedVersion', 'ExecutedDownward'];
|
|
182
|
+
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'];
|
|
183
|
+
XcmTransactor: ['TransactedDerivative', 'TransactedSovereign', 'TransactedSigned', 'RegisteredDerivative', 'DeRegisteredDerivative', 'TransactFailed', 'TransactInfoChanged', 'TransactInfoRemoved', 'HrmpManagementSent'];
|
|
184
|
+
EthereumXcm: ['ExecutedFromXcm'];
|
|
185
|
+
MessageQueue: ['ProcessingFailed', 'Processed', 'OverweightEnqueued', 'PageReaped'];
|
|
186
|
+
EvmForeignAssets: ['ForeignAssetCreated', 'ForeignAssetXcmLocationChanged', 'ForeignAssetFrozen', 'ForeignAssetUnfrozen', 'TokensLocked', 'PendingDepositRecorded', 'PendingDepositClaimed'];
|
|
187
|
+
XcmWeightTrader: ['SupportedAssetAdded', 'SupportedAssetEdited', 'PauseAssetSupport', 'ResumeAssetSupport', 'SupportedAssetRemoved'];
|
|
188
|
+
EmergencyParaXcm: ['EnteredPausedXcmMode', 'NormalXcmOperationResumed'];
|
|
189
|
+
MultiBlockMigrations: ['UpgradeStarted', 'UpgradeCompleted', 'UpgradeFailed', 'MigrationSkipped', 'MigrationAdvanced', 'MigrationCompleted', 'MigrationFailed', 'HistoricCleared'];
|
|
190
|
+
Randomness: ['RandomnessRequestedBabeEpoch', 'RandomnessRequestedLocal', 'RequestFulfilled', 'RequestFeeIncreased', 'RequestExpirationExecuted'];
|
|
191
|
+
BridgeKusamaGrandpa: ['UpdatedBestFinalizedHeader'];
|
|
192
|
+
BridgeKusamaParachains: ['UntrackedParachainRejected', 'MissingParachainHead', 'IncorrectParachainHeadHash', 'RejectedObsoleteParachainHead', 'RejectedLargeParachainHead', 'UpdatedParachainHead'];
|
|
193
|
+
BridgeKusamaMessages: ['MessageAccepted', 'MessagesReceived', 'MessagesDelivered'];
|
|
194
|
+
BridgeXcmOverMoonriver: ['BridgeOpened', 'ClosingBridge', 'BridgePruned'];
|
|
195
|
+
};
|
|
196
|
+
errors: {
|
|
197
|
+
System: ['InvalidSpecName', 'SpecVersionNeedsToIncrease', 'FailedToExtractRuntimeVersion', 'NonDefaultComposite', 'NonZeroRefCount', 'CallFiltered', 'MultiBlockMigrationsOngoing', 'NothingAuthorized', 'Unauthorized'];
|
|
198
|
+
ParachainSystem: ['OverlappingUpgrades', 'ProhibitedByPolkadot', 'TooBig', 'ValidationDataNotAvailable', 'HostConfigurationNotAvailable', 'NotScheduled'];
|
|
199
|
+
Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'];
|
|
200
|
+
ParachainStaking: ['DelegatorDNE', 'DelegatorDNEinTopNorBottom', 'DelegatorDNEInDelegatorSet', 'CandidateDNE', 'DelegationDNE', 'DelegatorExists', 'CandidateExists', 'CandidateBondBelowMin', 'InsufficientBalance', 'DelegatorBondBelowMin', 'DelegationBelowMin', 'AlreadyOffline', 'AlreadyActive', 'DelegatorAlreadyLeaving', 'DelegatorNotLeaving', 'DelegatorCannotLeaveYet', 'CannotDelegateIfLeaving', 'CandidateAlreadyLeaving', 'CandidateNotLeaving', 'CandidateCannotLeaveYet', 'CannotGoOnlineIfLeaving', 'ExceedMaxDelegationsPerDelegator', 'AlreadyDelegatedCandidate', 'InvalidSchedule', 'CannotSetBelowMin', 'RoundLengthMustBeGreaterThanTotalSelectedCollators', 'NoWritingSameValue', 'TotalInflationDistributionPercentExceeds100', 'TooLowCandidateCountWeightHintJoinCandidates', 'TooLowCandidateCountWeightHintCancelLeaveCandidates', 'TooLowCandidateCountToLeaveCandidates', 'TooLowDelegationCountToDelegate', 'TooLowCandidateDelegationCountToDelegate', 'TooLowCandidateDelegationCountToLeaveCandidates', 'TooLowDelegationCountToLeaveDelegators', 'PendingCandidateRequestsDNE', 'PendingCandidateRequestAlreadyExists', 'PendingCandidateRequestNotDueYet', 'PendingDelegationRequestDNE', 'PendingDelegationRequestAlreadyExists', 'PendingDelegationRequestNotDueYet', 'CannotDelegateLessThanOrEqualToLowestBottomWhenFull', 'PendingDelegationRevoke', 'TooLowDelegationCountToAutoCompound', 'TooLowCandidateAutoCompoundingDelegationCountToAutoCompound', 'TooLowCandidateAutoCompoundingDelegationCountToDelegate', 'TooLowCollatorCountToNotifyAsInactive', 'CannotBeNotifiedAsInactive', 'TooLowCandidateAutoCompoundingDelegationCountToLeaveCandidates', 'TooLowCandidateCountWeightHint', 'TooLowCandidateCountWeightHintGoOffline', 'CandidateLimitReached', 'CannotSetAboveMaxCandidates', 'MarkingOfflineNotEnabled', 'CurrentRoundTooLow', 'EmptyMigrationBatch'];
|
|
201
|
+
AuthorInherent: ['AuthorAlreadySet', 'NoAccountId', 'CannotBeAuthor'];
|
|
202
|
+
AuthorMapping: ['AssociationNotFound', 'NotYourAssociation', 'CannotAffordSecurityDeposit', 'AlreadyAssociated', 'OldAuthorIdNotFound', 'WrongKeySize', 'DecodeNimbusFailed', 'DecodeKeysFailed'];
|
|
203
|
+
MoonbeamOrbiters: ['CollatorAlreadyAdded', 'CollatorNotFound', 'CollatorPoolTooLarge', 'CollatorsPoolCountTooLow', 'MinOrbiterDepositNotSet', 'OrbiterAlreadyInPool', 'OrbiterDepositNotFound', 'OrbiterNotFound', 'OrbiterStillInAPool'];
|
|
204
|
+
Utility: ['TooManyCalls'];
|
|
205
|
+
Proxy: ['TooMany', 'NotFound', 'NotProxy', 'Unproxyable', 'Duplicate', 'NoPermission', 'Unannounced', 'NoSelfProxy'];
|
|
206
|
+
MaintenanceMode: ['AlreadyInMaintenanceMode', 'NotInMaintenanceMode'];
|
|
207
|
+
Identity: ['TooManySubAccounts', 'NotFound', 'NotNamed', 'EmptyIndex', 'FeeChanged', 'NoIdentity', 'StickyJudgement', 'JudgementGiven', 'InvalidJudgement', 'InvalidIndex', 'InvalidTarget', 'TooManyRegistrars', 'AlreadyClaimed', 'NotSub', 'NotOwned', 'JudgementForDifferentIdentity', 'JudgementPaymentFailed', 'InvalidSuffix', 'NotUsernameAuthority', 'NoAllocation', 'InvalidSignature', 'RequiresSignature', 'InvalidUsername', 'UsernameTaken', 'NoUsername', 'NotExpired', 'TooEarly', 'NotUnbinding', 'AlreadyUnbinding', 'InsufficientPrivileges'];
|
|
208
|
+
Multisig: ['MinimumThreshold', 'AlreadyApproved', 'NoApprovalsNeeded', 'TooFewSignatories', 'TooManySignatories', 'SignatoriesOutOfOrder', 'SenderInSignatories', 'NotFound', 'NotOwner', 'NoTimepoint', 'WrongTimepoint', 'UnexpectedTimepoint', 'MaxWeightTooLow', 'AlreadyStored'];
|
|
209
|
+
MoonbeamLazyMigrations: ['ContractMetadataAlreadySet', 'ContractNotExist'];
|
|
210
|
+
EVM: ['BalanceLow', 'FeeOverflow', 'PaymentOverflow', 'WithdrawFailed', 'GasPriceTooLow', 'InvalidNonce', 'GasLimitTooLow', 'GasLimitExceedsBlockLimit', 'InvalidChainId', 'InvalidSignature', 'Reentrancy', 'TransactionMustComeFromEOA', 'Undefined', 'CreateOriginNotAllowed', 'TransactionGasLimitExceedsCap'];
|
|
211
|
+
Ethereum: ['InvalidSignature', 'PreLogExists'];
|
|
212
|
+
Scheduler: ['FailedToSchedule', 'NotFound', 'TargetBlockNumberInPast', 'RescheduleNoChange', 'Named'];
|
|
213
|
+
Preimage: ['TooBig', 'AlreadyNoted', 'NotAuthorized', 'NotNoted', 'Requested', 'NotRequested', 'TooMany', 'TooFew'];
|
|
214
|
+
ConvictionVoting: ['NotOngoing', 'NotVoter', 'NoPermission', 'NoPermissionYet', 'AlreadyDelegating', 'AlreadyVoting', 'InsufficientFunds', 'NotDelegating', 'Nonsense', 'MaxVotesReached', 'ClassNeeded', 'BadClass'];
|
|
215
|
+
Referenda: ['NotOngoing', 'HasDeposit', 'BadTrack', 'Full', 'QueueEmpty', 'BadReferendum', 'NothingToDo', 'NoTrack', 'Unfinished', 'NoPermission', 'NoDeposit', 'BadStatus', 'PreimageNotExist', 'PreimageStoredWithDifferentLength'];
|
|
216
|
+
Whitelist: ['UnavailablePreImage', 'UndecodableCall', 'InvalidCallWeightWitness', 'CallIsNotWhitelisted', 'CallAlreadyWhitelisted'];
|
|
217
|
+
TreasuryCouncilCollective: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember', 'ProposalActive'];
|
|
218
|
+
OpenTechCommitteeCollective: ['NotMember', 'DuplicateProposal', 'ProposalMissing', 'WrongIndex', 'DuplicateVote', 'AlreadyInitialized', 'TooEarly', 'TooManyProposals', 'WrongProposalWeight', 'WrongProposalLength', 'PrimeAccountNotMember', 'ProposalActive'];
|
|
219
|
+
Treasury: ['InvalidIndex', 'TooManyApprovals', 'InsufficientPermission', 'ProposalNotApproved', 'FailedToConvertBalance', 'SpendExpired', 'EarlyPayout', 'AlreadyAttempted', 'PayoutError', 'NotAttempted', 'Inconclusive'];
|
|
220
|
+
CrowdloanRewards: ['AlreadyAssociated', 'BatchBeyondFundPot', 'FirstClaimAlreadyDone', 'RewardNotHighEnough', 'InvalidClaimSignature', 'InvalidFreeClaimSignature', 'NoAssociatedClaim', 'RewardsAlreadyClaimed', 'RewardVecAlreadyInitialized', 'RewardVecNotFullyInitializedYet', 'RewardsDoNotMatchFund', 'TooManyContributors', 'VestingPeriodNonValid', 'NonContributedAddressProvided', 'InsufficientNumberOfValidProofs'];
|
|
221
|
+
XcmpQueue: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'];
|
|
222
|
+
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'];
|
|
223
|
+
XcmTransactor: ['IndexAlreadyClaimed', 'UnclaimedIndex', 'NotOwner', 'UnweighableMessage', 'CannotReanchor', 'AssetHasNoReserve', 'InvalidDest', 'NotCrossChainTransfer', 'AssetIsNotReserveInDestination', 'DestinationNotInvertible', 'ErrorDelivering', 'DispatchWeightBiggerThanTotalWeight', 'WeightOverflow', 'AmountOverflow', 'TransactorInfoNotSet', 'NotCrossChainTransferableCurrency', 'XcmExecuteError', 'BadVersion', 'MaxWeightTransactReached', 'UnableToWithdrawAsset', 'SignedTransactNotAllowedForDestination', 'FailedMultiLocationToJunction', 'HrmpHandlerNotImplemented', 'TooMuchFeeUsed', 'ErrorValidating', 'RefundNotSupportedWithTransactInfo'];
|
|
224
|
+
EthereumXcm: ['EthereumXcmExecutionSuspended'];
|
|
225
|
+
MessageQueue: ['NotReapable', 'NoPage', 'NoMessage', 'AlreadyProcessed', 'Queued', 'InsufficientWeight', 'TemporarilyUnprocessable', 'QueuePaused', 'RecursiveDisallowed'];
|
|
226
|
+
EvmForeignAssets: ['AssetAlreadyExists', 'AssetAlreadyFrozen', 'AssetDoesNotExist', 'AssetIdFiltered', 'AssetNotFrozen', 'CorruptedStorageOrphanLocation', 'Erc20ContractCreationFail', 'EvmCallPauseFail', 'EvmCallUnpauseFail', 'EvmCallMintIntoFail', 'EvmCallTransferFail', 'EvmInternalError', 'InsufficientBalance', 'CannotConvertLocationToAccount', 'LocationOutsideOfOrigin', 'AssetNotInSiblingPara', 'InvalidSymbol', 'InvalidTokenName', 'LocationAlreadyExists', 'NoPendingDeposit', 'AssetNotActive', 'TooManyForeignAssets'];
|
|
227
|
+
XcmWeightTrader: ['AssetAlreadyAdded', 'AssetAlreadyPaused', 'AssetNotFound', 'AssetNotPaused', 'XcmLocationFiltered', 'PriceCannotBeZero', 'PriceOverflow'];
|
|
228
|
+
EmergencyParaXcm: ['NotInPausedMode'];
|
|
229
|
+
MultiBlockMigrations: ['Ongoing'];
|
|
230
|
+
Randomness: ['RequestCounterOverflowed', 'RequestFeeOverflowed', 'MustRequestAtLeastOneWord', 'CannotRequestMoreWordsThanMax', 'CannotRequestRandomnessAfterMaxDelay', 'CannotRequestRandomnessBeforeMinDelay', 'RequestDNE', 'RequestCannotYetBeFulfilled', 'OnlyRequesterCanIncreaseFee', 'RequestHasNotExpired', 'RandomnessResultDNE', 'RandomnessResultNotFilled'];
|
|
231
|
+
BridgeKusamaGrandpa: ['InvalidJustification', 'InvalidAuthoritySet', 'OldHeader', 'UnsupportedScheduledChange', 'NotInitialized', 'AlreadyInitialized', 'TooManyAuthoritiesInSet', 'BridgeModule', 'InvalidAuthoritySetId', 'FreeHeadersLimitExceded', 'BelowFreeHeaderInterval', 'HeaderOverflowLimits'];
|
|
232
|
+
BridgeKusamaParachains: ['UnknownRelayChainBlock', 'InvalidRelayChainBlockNumber', 'HeaderChainStorageProof', 'BridgeModule'];
|
|
233
|
+
BridgeKusamaMessages: ['NotOperatingNormally', 'LanesManager', 'MessageRejectedByPallet', 'TooManyMessagesInTheProof', 'InvalidMessagesProof', 'InvalidMessagesDeliveryProof', 'InvalidUnrewardedRelayersState', 'InsufficientDispatchWeight', 'ReceptionConfirmation', 'BridgeModule'];
|
|
234
|
+
BridgeXcmOverMoonriver: ['BridgeLocations', 'InvalidBridgeOriginAccount', 'BridgeAlreadyExists', 'TooManyBridgesForLocalOrigin', 'BridgeAlreadyClosed', 'LanesManager', 'UnknownBridge', 'FailedToReserveBridgeDeposit', 'UnsupportedXcmVersion'];
|
|
235
|
+
};
|
|
236
|
+
constants: {
|
|
237
|
+
System: ['BlockWeights', 'BlockLength', 'BlockHashCount', 'DbWeight', 'Version', 'SS58Prefix'];
|
|
238
|
+
ParachainSystem: ['SelfParaId'];
|
|
239
|
+
Timestamp: ['MinimumPeriod'];
|
|
240
|
+
Balances: ['ExistentialDeposit', 'MaxLocks', 'MaxReserves', 'MaxFreezes'];
|
|
241
|
+
TransactionPayment: ['OperationalFeeMultiplier'];
|
|
242
|
+
ParachainStaking: ['MinBlocksPerRound', 'MaxOfflineRounds', 'LeaveCandidatesDelay', 'CandidateBondLessDelay', 'LeaveDelegatorsDelay', 'RevokeDelegationDelay', 'DelegationBondLessDelay', 'RewardPaymentDelay', 'MinSelectedCandidates', 'MaxTopDelegationsPerCandidate', 'MaxBottomDelegationsPerCandidate', 'MaxDelegationsPerDelegator', 'MaxScheduledRequestsPerDelegator', 'MinCandidateStk', 'MinDelegation', 'SlotDuration', 'BlockTime', 'MaxCandidates', 'LinearInflationThreshold'];
|
|
243
|
+
MoonbeamOrbiters: ['MaxPoolSize', 'MaxRoundArchive', 'RotatePeriod'];
|
|
244
|
+
AsyncBacking: ['SlotDuration', 'ExpectedBlockTime'];
|
|
245
|
+
Utility: ['batched_calls_limit'];
|
|
246
|
+
Proxy: ['ProxyDepositBase', 'ProxyDepositFactor', 'MaxProxies', 'MaxPending', 'AnnouncementDepositBase', 'AnnouncementDepositFactor'];
|
|
247
|
+
Identity: ['BasicDeposit', 'ByteDeposit', 'UsernameDeposit', 'SubAccountDeposit', 'MaxSubAccounts', 'MaxRegistrars', 'PendingUsernameExpiration', 'UsernameGracePeriod', 'MaxSuffixLength', 'MaxUsernameLength'];
|
|
248
|
+
Multisig: ['DepositBase', 'DepositFactor', 'MaxSignatories'];
|
|
249
|
+
Scheduler: ['MaximumWeight', 'MaxScheduledPerBlock'];
|
|
250
|
+
ConvictionVoting: ['MaxVotes', 'VoteLockingPeriod'];
|
|
251
|
+
Referenda: ['SubmissionDeposit', 'MaxQueued', 'UndecidingTimeout', 'AlarmInterval', 'Tracks'];
|
|
252
|
+
TreasuryCouncilCollective: ['MaxProposalWeight'];
|
|
253
|
+
OpenTechCommitteeCollective: ['MaxProposalWeight'];
|
|
254
|
+
Treasury: ['SpendPeriod', 'Burn', 'PalletId', 'MaxApprovals', 'PayoutPeriod', 'pot_account'];
|
|
255
|
+
CrowdloanRewards: ['InitializationPayment', 'MaxInitContributors', 'RewardAddressRelayVoteThreshold', 'SignatureNetworkIdentifier'];
|
|
256
|
+
XcmpQueue: ['MaxInboundSuspended', 'MaxActiveOutboundChannels', 'MaxPageSize'];
|
|
257
|
+
PolkadotXcm: ['UniversalLocation', 'AdvertisedXcmVersion', 'MaxLockers', 'MaxRemoteLockConsumers'];
|
|
258
|
+
XcmTransactor: ['SelfLocation', 'BaseXcmWeight'];
|
|
259
|
+
MessageQueue: ['HeapSize', 'MaxStale', 'ServiceWeight', 'IdleMaxServiceWeight'];
|
|
260
|
+
MultiBlockMigrations: ['CursorMaxLen', 'IdentifierMaxLen'];
|
|
261
|
+
RelayStorageRoots: ['MaxStorageRoots'];
|
|
262
|
+
Randomness: ['Deposit', 'MaxRandomWords', 'MinBlockDelay', 'MaxBlockDelay', 'BlockExpirationDelay', 'EpochExpirationDelay'];
|
|
263
|
+
BridgeKusamaGrandpa: ['MaxFreeHeadersPerBlock', 'FreeHeadersInterval', 'HeadersToKeep'];
|
|
264
|
+
BridgeKusamaParachains: ['ParasPalletName', 'HeadsToKeep', 'MaxParaHeadDataSize'];
|
|
265
|
+
BridgeXcmOverMoonriver: ['BridgedNetwork', 'BridgeDeposit'];
|
|
266
|
+
};
|
|
267
|
+
viewFns: {
|
|
268
|
+
Proxy: ['check_permissions', 'is_superset'];
|
|
269
|
+
};
|
|
270
|
+
apis: {
|
|
271
|
+
TaggedTransactionQueue: ['validate_transaction'];
|
|
272
|
+
UnincludedSegmentApi: ['can_build_upon'];
|
|
273
|
+
KusamaFinalityApi: ['best_finalized', 'free_headers_interval', 'synced_headers_grandpa_info'];
|
|
274
|
+
MoonriverKusamaFinalityApi: ['best_finalized', 'free_headers_interval'];
|
|
275
|
+
ToMoonriverKusamaOutboundLaneApi: ['message_details'];
|
|
276
|
+
FromMoonriverKusamaInboundLaneApi: ['message_details'];
|
|
277
|
+
Core: ['version', 'execute_block', 'initialize_block'];
|
|
278
|
+
RelayParentOffsetApi: ['relay_parent_offset'];
|
|
279
|
+
Metadata: ['metadata', 'metadata_at_version', 'metadata_versions'];
|
|
280
|
+
BlockBuilder: ['apply_extrinsic', 'finalize_block', 'inherent_extrinsics', 'check_inherents'];
|
|
281
|
+
OffchainWorkerApi: ['offchain_worker'];
|
|
282
|
+
AuthoringRuntimeApi: ['max_transactions_per_block'];
|
|
283
|
+
SessionKeys: ['generate_session_keys', 'decode_session_keys'];
|
|
284
|
+
GenesisBuilder: ['build_state', 'get_preset', 'preset_names'];
|
|
285
|
+
AccountNonceApi: ['account_nonce'];
|
|
286
|
+
DebugRuntimeApi: ['trace_transaction', 'trace_block', 'trace_call'];
|
|
287
|
+
TxPoolRuntimeApi: ['extrinsic_filter'];
|
|
288
|
+
EthereumRuntimeRPCApi: ['chain_id', 'account_basic', 'gas_price', 'account_code_at', 'author', 'storage_at', 'call', 'create', 'current_block', 'current_receipts', 'current_transaction_statuses', 'current_all', 'extrinsic_filter', 'elasticity', 'gas_limit_multiplier_support', 'pending_block', 'initialize_pending_block'];
|
|
289
|
+
ConvertTransactionRuntimeApi: ['convert_transaction'];
|
|
290
|
+
TransactionPaymentApi: ['query_info', 'query_fee_details', 'query_weight_to_fee', 'query_length_to_fee'];
|
|
291
|
+
NimbusApi: ['can_author'];
|
|
292
|
+
CollectCollationInfo: ['collect_collation_info'];
|
|
293
|
+
VrfApi: ['get_last_vrf_output', 'vrf_key_lookup'];
|
|
294
|
+
XcmPaymentApi: ['query_acceptable_payment_assets', 'query_xcm_weight', 'query_weight_to_asset_fee', 'query_delivery_fees'];
|
|
295
|
+
DryRunApi: ['dry_run_call', 'dry_run_xcm'];
|
|
296
|
+
LocationToAccountApi: ['convert_location'];
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
export type MoonbeamWhitelistEntry = PalletKey | `query.${NestedKey<AllInteractions['storage']>}` | `tx.${NestedKey<AllInteractions['tx']>}` | `event.${NestedKey<AllInteractions['events']>}` | `error.${NestedKey<AllInteractions['errors']>}` | `const.${NestedKey<AllInteractions['constants']>}` | `view.${NestedKey<AllInteractions['viewFns']>}` | `api.${NestedKey<AllInteractions['apis']>}`;
|
|
300
|
+
type PalletKey = `*.${({
|
|
301
|
+
[K in keyof AllInteractions]: K extends 'apis' ? never : keyof AllInteractions[K];
|
|
302
|
+
})[keyof AllInteractions]}`;
|
|
303
|
+
type NestedKey<D extends Record<string, string[]>> = "*" | {
|
|
304
|
+
[P in keyof D & string]: `${P}.*` | `${P}.${D[P][number]}`;
|
|
305
|
+
}[keyof D & string];
|