@moonbeam-network/api-augment
Advanced tools
Comparing version 0.1502.0 to 0.1600.0
@@ -403,3 +403,3 @@ import type { ApiTypes } from "@polkadot/api-base/types"; | ||
* The minimum period between blocks. Beware that this is different to the | ||
* *expected* period that the block production apparatus provides. Your | ||
* _expected_ period that the block production apparatus provides. Your | ||
* chosen consensus system will generally work with this to determine a | ||
@@ -406,0 +406,0 @@ * sensible block time. e.g. For Aura, it will be double this period on |
@@ -621,2 +621,45 @@ import type { ApiTypes } from "@polkadot/api-base/types"; | ||
}; | ||
moonbeamOrbiters: { | ||
/** | ||
* The collator is already added in orbiters program. | ||
*/ | ||
CollatorAlreadyAdded: AugmentedError<ApiType>; | ||
/** | ||
* This collator is not in orbiters program. | ||
*/ | ||
CollatorNotFound: AugmentedError<ApiType>; | ||
/** | ||
* There are already too many orbiters associated with this collator. | ||
*/ | ||
CollatorPoolTooLarge: AugmentedError<ApiType>; | ||
/** | ||
* There are more collator pools than the number specified in the parameter. | ||
*/ | ||
CollatorsPoolCountTooLow: AugmentedError<ApiType>; | ||
/** | ||
* The minimum deposit required to register as an orbiter has not yet been | ||
* included in the onchain storage | ||
*/ | ||
MinOrbiterDepositNotSet: AugmentedError<ApiType>; | ||
/** | ||
* This orbiter is already associated with this collator. | ||
*/ | ||
OrbiterAlreadyInPool: AugmentedError<ApiType>; | ||
/** | ||
* This orbiter has not made a deposit | ||
*/ | ||
OrbiterDepositNotFound: AugmentedError<ApiType>; | ||
/** | ||
* This orbiter is not found | ||
*/ | ||
OrbiterNotFound: AugmentedError<ApiType>; | ||
/** | ||
* The orbiter is still at least in one pool | ||
*/ | ||
OrbiterStillInAPool: AugmentedError<ApiType>; | ||
/** | ||
* Generic error | ||
*/ | ||
[key: string]: AugmentedError<ApiType>; | ||
}; | ||
parachainStaking: { | ||
@@ -623,0 +666,0 @@ AlreadyActive: AugmentedError<ApiType>; |
@@ -5,3 +5,3 @@ import type { ApiTypes } from "@polkadot/api-base/types"; | ||
import type { AccountId20, H160, H256, Perbill, Percent, Permill } from "@polkadot/types/interfaces/runtime"; | ||
import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, MoonbeamRuntimeAssetConfigAssetRegistrarMetadata, MoonbeamRuntimeProxyType, MoonbeamRuntimeXcmConfigAssetType, NimbusPrimitivesNimbusCryptoPublic, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, ParachainStakingDelegationRequest, ParachainStakingDelegatorAdded, SpRuntimeDispatchError, XcmTransactorRemoteTransactInfoWithMaxWeight, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from "@polkadot/types/lookup"; | ||
import type { EthereumLog, EvmCoreErrorExitReason, FrameSupportScheduleLookupError, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchInfo, MoonbeamRuntimeAssetConfigAssetRegistrarMetadata, MoonbeamRuntimeProxyType, MoonbeamRuntimeXcmConfigAssetType, NimbusPrimitivesNimbusCryptoPublic, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, ParachainStakingDelegationRequestsCancelledScheduledRequest, ParachainStakingDelegatorAdded, SpRuntimeDispatchError, XcmTransactorRemoteTransactInfoWithMaxWeight, XcmV1MultiAsset, XcmV1MultiLocation, XcmV1MultiassetMultiAssets, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from "@polkadot/types/lookup"; | ||
declare module "@polkadot/api-base/types/events" { | ||
@@ -141,3 +141,3 @@ interface AugmentedEvents<ApiType extends ApiTypes> { | ||
*/ | ||
EligibleUpdated: AugmentedEvent<ApiType, [Percent]>; | ||
EligibleUpdated: AugmentedEvent<ApiType, [u32]>; | ||
/** | ||
@@ -152,7 +152,15 @@ * Generic event | ||
*/ | ||
AuthorDeRegistered: AugmentedEvent<ApiType, [NimbusPrimitivesNimbusCryptoPublic]>; | ||
AuthorDeRegistered: AugmentedEvent<ApiType, [ | ||
NimbusPrimitivesNimbusCryptoPublic, | ||
AccountId20, | ||
NimbusPrimitivesNimbusCryptoPublic | ||
]>; | ||
/** | ||
* A NimbusId has been registered and mapped to an AccountId. | ||
*/ | ||
AuthorRegistered: AugmentedEvent<ApiType, [NimbusPrimitivesNimbusCryptoPublic, AccountId20]>; | ||
AuthorRegistered: AugmentedEvent<ApiType, [ | ||
NimbusPrimitivesNimbusCryptoPublic, | ||
AccountId20, | ||
NimbusPrimitivesNimbusCryptoPublic | ||
]>; | ||
/** | ||
@@ -162,10 +170,6 @@ * An NimbusId has been registered, replacing a previous registration and | ||
*/ | ||
AuthorRotated: AugmentedEvent<ApiType, [NimbusPrimitivesNimbusCryptoPublic, AccountId20]>; | ||
/** | ||
* An NimbusId has been forcibly deregistered after not being rotated or | ||
* cleaned up. The reporteing account has been rewarded accordingly. | ||
*/ | ||
DefunctAuthorBusted: AugmentedEvent<ApiType, [ | ||
AuthorRotated: AugmentedEvent<ApiType, [ | ||
NimbusPrimitivesNimbusCryptoPublic, | ||
AccountId20 | ||
AccountId20, | ||
NimbusPrimitivesNimbusCryptoPublic | ||
]>; | ||
@@ -302,3 +306,3 @@ /** | ||
* identity with it. Data is the relay account, native account and the | ||
* total amount of *rewards* that will be paid | ||
* total amount of _rewards_ that will be paid | ||
*/ | ||
@@ -674,2 +678,25 @@ NativeIdentityAssociated: AugmentedEvent<ApiType, [U8aFixed, AccountId20, u128]>; | ||
}; | ||
moonbeamOrbiters: { | ||
/** | ||
* An orbiter join a collator pool | ||
*/ | ||
OrbiterJoinCollatorPool: AugmentedEvent<ApiType, [AccountId20, AccountId20]>; | ||
/** | ||
* An orbiter leave a collator pool | ||
*/ | ||
OrbiterLeaveCollatorPool: AugmentedEvent<ApiType, [AccountId20, AccountId20]>; | ||
/** | ||
* Paid the orbiter account the balance as liquid rewards. | ||
*/ | ||
OrbiterRewarded: AugmentedEvent<ApiType, [AccountId20, u128]>; | ||
OrbiterRotation: AugmentedEvent<ApiType, [ | ||
AccountId20, | ||
Option<AccountId20>, | ||
Option<AccountId20> | ||
]>; | ||
/** | ||
* Generic event | ||
*/ | ||
[key: string]: AugmentedEvent<ApiType>; | ||
}; | ||
parachainStaking: { | ||
@@ -693,3 +720,4 @@ /** | ||
AccountId20, | ||
ParachainStakingDelegationRequest | ||
ParachainStakingDelegationRequestsCancelledScheduledRequest, | ||
AccountId20 | ||
]>; | ||
@@ -701,11 +729,11 @@ /** | ||
/** | ||
* Сandidate has decreased a self bond. | ||
* Candidate has decreased a self bond. | ||
*/ | ||
CandidateBondedLess: AugmentedEvent<ApiType, [AccountId20, u128, u128]>; | ||
/** | ||
* Сandidate has increased a self bond. | ||
* Candidate has increased a self bond. | ||
*/ | ||
CandidateBondedMore: AugmentedEvent<ApiType, [AccountId20, u128, u128]>; | ||
/** | ||
* Сandidate requested to decrease a self bond. | ||
* Candidate requested to decrease a self bond. | ||
*/ | ||
@@ -718,3 +746,3 @@ CandidateBondLessRequested: AugmentedEvent<ApiType, [AccountId20, u128, u32]>; | ||
/** | ||
* Сandidate has requested to leave the set of candidates. | ||
* Candidate has requested to leave the set of candidates. | ||
*/ | ||
@@ -721,0 +749,0 @@ CandidateScheduledExit: AugmentedEvent<ApiType, [u32, AccountId20, u32]>; |
@@ -12,2 +12,3 @@ import type { AugmentedRpc } from "@polkadot/rpc-core/types"; | ||
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from "@polkadot/types/interfaces/contracts"; | ||
import type { BlockStats } from "@polkadot/types/interfaces/dev"; | ||
import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; | ||
@@ -22,3 +23,3 @@ import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from "@polkadot/types/interfaces/eth"; | ||
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from "@polkadot/types/interfaces/runtime"; | ||
import type { ReadProof, RuntimeVersion, TraceBlockResponse } from "@polkadot/types/interfaces/state"; | ||
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from "@polkadot/types/interfaces/state"; | ||
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from "@polkadot/types/interfaces/system"; | ||
@@ -185,2 +186,8 @@ import type { IExtrinsic, Observable } from "@polkadot/types/types"; | ||
}; | ||
dev: { | ||
/** | ||
* Reexecute the specified `block_hash` and gather statistics while doing so | ||
*/ | ||
getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>; | ||
}; | ||
engine: { | ||
@@ -551,2 +558,6 @@ /** | ||
traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>; | ||
/** | ||
* Check current migration state | ||
*/ | ||
trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>; | ||
}; | ||
@@ -553,0 +564,0 @@ syncstate: { |
@@ -22,2 +22,3 @@ import type { Data, StorageKey } from "@polkadot/types"; | ||
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from "@polkadot/types/interfaces/democracy"; | ||
import type { BlockStats } from "@polkadot/types/interfaces/dev"; | ||
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from "@polkadot/types/interfaces/elections"; | ||
@@ -51,5 +52,5 @@ import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; | ||
import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from "@polkadot/types/interfaces/staking"; | ||
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from "@polkadot/types/interfaces/state"; | ||
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from "@polkadot/types/interfaces/state"; | ||
import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; | ||
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from "@polkadot/types/interfaces/system"; | ||
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from "@polkadot/types/interfaces/system"; | ||
import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from "@polkadot/types/interfaces/treasury"; | ||
@@ -153,2 +154,3 @@ import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; | ||
BlockNumberOf: BlockNumberOf; | ||
BlockStats: BlockStats; | ||
BlockTrace: BlockTrace; | ||
@@ -307,2 +309,3 @@ BlockTraceEvent: BlockTraceEvent; | ||
DispatchErrorModule: DispatchErrorModule; | ||
DispatchErrorModuleU8a: DispatchErrorModuleU8a; | ||
DispatchErrorTo198: DispatchErrorTo198; | ||
@@ -594,2 +597,3 @@ DispatchFeePayment: DispatchFeePayment; | ||
MetadataV9: MetadataV9; | ||
MigrationStatusResult: MigrationStatusResult; | ||
MmrLeafProof: MmrLeafProof; | ||
@@ -596,0 +600,0 @@ MmrRootHash: MmrRootHash; |
@@ -403,3 +403,3 @@ import type { ApiTypes } from "@polkadot/api-base/types"; | ||
* The minimum period between blocks. Beware that this is different to the | ||
* *expected* period that the block production apparatus provides. Your | ||
* _expected_ period that the block production apparatus provides. Your | ||
* chosen consensus system will generally work with this to determine a | ||
@@ -406,0 +406,0 @@ * sensible block time. e.g. For Aura, it will be double this period on |
@@ -302,3 +302,3 @@ import type { ApiTypes } from "@polkadot/api-base/types"; | ||
* identity with it. Data is the relay account, native account and the | ||
* total amount of *rewards* that will be paid | ||
* total amount of _rewards_ that will be paid | ||
*/ | ||
@@ -305,0 +305,0 @@ NativeIdentityAssociated: AugmentedEvent<ApiType, [U8aFixed, AccountId20, u128]>; |
@@ -12,2 +12,3 @@ import type { AugmentedRpc } from "@polkadot/rpc-core/types"; | ||
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from "@polkadot/types/interfaces/contracts"; | ||
import type { BlockStats } from "@polkadot/types/interfaces/dev"; | ||
import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; | ||
@@ -22,3 +23,3 @@ import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from "@polkadot/types/interfaces/eth"; | ||
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from "@polkadot/types/interfaces/runtime"; | ||
import type { ReadProof, RuntimeVersion, TraceBlockResponse } from "@polkadot/types/interfaces/state"; | ||
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from "@polkadot/types/interfaces/state"; | ||
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from "@polkadot/types/interfaces/system"; | ||
@@ -185,2 +186,8 @@ import type { IExtrinsic, Observable } from "@polkadot/types/types"; | ||
}; | ||
dev: { | ||
/** | ||
* Reexecute the specified `block_hash` and gather statistics while doing so | ||
*/ | ||
getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>; | ||
}; | ||
engine: { | ||
@@ -551,2 +558,6 @@ /** | ||
traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>; | ||
/** | ||
* Check current migration state | ||
*/ | ||
trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>; | ||
}; | ||
@@ -553,0 +564,0 @@ syncstate: { |
@@ -22,2 +22,3 @@ import type { Data, StorageKey } from "@polkadot/types"; | ||
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from "@polkadot/types/interfaces/democracy"; | ||
import type { BlockStats } from "@polkadot/types/interfaces/dev"; | ||
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from "@polkadot/types/interfaces/elections"; | ||
@@ -51,5 +52,5 @@ import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; | ||
import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from "@polkadot/types/interfaces/staking"; | ||
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from "@polkadot/types/interfaces/state"; | ||
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from "@polkadot/types/interfaces/state"; | ||
import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; | ||
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from "@polkadot/types/interfaces/system"; | ||
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from "@polkadot/types/interfaces/system"; | ||
import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from "@polkadot/types/interfaces/treasury"; | ||
@@ -153,2 +154,3 @@ import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; | ||
BlockNumberOf: BlockNumberOf; | ||
BlockStats: BlockStats; | ||
BlockTrace: BlockTrace; | ||
@@ -307,2 +309,3 @@ BlockTraceEvent: BlockTraceEvent; | ||
DispatchErrorModule: DispatchErrorModule; | ||
DispatchErrorModuleU8a: DispatchErrorModuleU8a; | ||
DispatchErrorTo198: DispatchErrorTo198; | ||
@@ -594,2 +597,3 @@ DispatchFeePayment: DispatchFeePayment; | ||
MetadataV9: MetadataV9; | ||
MigrationStatusResult: MigrationStatusResult; | ||
MmrLeafProof: MmrLeafProof; | ||
@@ -596,0 +600,0 @@ MmrRootHash: MmrRootHash; |
@@ -403,3 +403,3 @@ import type { ApiTypes } from "@polkadot/api-base/types"; | ||
* The minimum period between blocks. Beware that this is different to the | ||
* *expected* period that the block production apparatus provides. Your | ||
* _expected_ period that the block production apparatus provides. Your | ||
* chosen consensus system will generally work with this to determine a | ||
@@ -406,0 +406,0 @@ * sensible block time. e.g. For Aura, it will be double this period on |
@@ -302,3 +302,3 @@ import type { ApiTypes } from "@polkadot/api-base/types"; | ||
* identity with it. Data is the relay account, native account and the | ||
* total amount of *rewards* that will be paid | ||
* total amount of _rewards_ that will be paid | ||
*/ | ||
@@ -305,0 +305,0 @@ NativeIdentityAssociated: AugmentedEvent<ApiType, [U8aFixed, AccountId20, u128]>; |
@@ -12,2 +12,3 @@ import type { AugmentedRpc } from "@polkadot/rpc-core/types"; | ||
import type { CodeUploadRequest, CodeUploadResult, ContractCallRequest, ContractExecResult, ContractInstantiateResult, InstantiateRequest } from "@polkadot/types/interfaces/contracts"; | ||
import type { BlockStats } from "@polkadot/types/interfaces/dev"; | ||
import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; | ||
@@ -22,3 +23,3 @@ import type { EthAccount, EthCallRequest, EthFilter, EthFilterChanges, EthLog, EthReceipt, EthRichBlock, EthSubKind, EthSubParams, EthSyncStatus, EthTransaction, EthTransactionRequest, EthWork } from "@polkadot/types/interfaces/eth"; | ||
import type { AccountId, BlockNumber, H160, H256, H64, Hash, Header, Index, Justification, KeyValue, SignedBlock, StorageData } from "@polkadot/types/interfaces/runtime"; | ||
import type { ReadProof, RuntimeVersion, TraceBlockResponse } from "@polkadot/types/interfaces/state"; | ||
import type { MigrationStatusResult, ReadProof, RuntimeVersion, TraceBlockResponse } from "@polkadot/types/interfaces/state"; | ||
import type { ApplyExtrinsicResult, ChainProperties, ChainType, Health, NetworkState, NodeRole, PeerInfo, SyncState } from "@polkadot/types/interfaces/system"; | ||
@@ -185,2 +186,8 @@ import type { IExtrinsic, Observable } from "@polkadot/types/types"; | ||
}; | ||
dev: { | ||
/** | ||
* Reexecute the specified `block_hash` and gather statistics while doing so | ||
*/ | ||
getBlockStats: AugmentedRpc<(at: Hash | string | Uint8Array) => Observable<Option<BlockStats>>>; | ||
}; | ||
engine: { | ||
@@ -551,2 +558,6 @@ /** | ||
traceBlock: AugmentedRpc<(block: Hash | string | Uint8Array, targets: Option<Text> | null | object | string | Uint8Array, storageKeys: Option<Text> | null | object | string | Uint8Array, methods: Option<Text> | null | object | string | Uint8Array) => Observable<TraceBlockResponse>>; | ||
/** | ||
* Check current migration state | ||
*/ | ||
trieMigrationStatus: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable<MigrationStatusResult>>; | ||
}; | ||
@@ -553,0 +564,0 @@ syncstate: { |
@@ -22,2 +22,3 @@ import type { Data, StorageKey } from "@polkadot/types"; | ||
import type { AccountVote, AccountVoteSplit, AccountVoteStandard, Conviction, Delegations, PreimageStatus, PreimageStatusAvailable, PriorLock, PropIndex, Proposal, ProxyState, ReferendumIndex, ReferendumInfo, ReferendumInfoFinished, ReferendumInfoTo239, ReferendumStatus, Tally, Voting, VotingDelegating, VotingDirect, VotingDirectVote } from "@polkadot/types/interfaces/democracy"; | ||
import type { BlockStats } from "@polkadot/types/interfaces/dev"; | ||
import type { ApprovalFlag, DefunctVoter, Renouncing, SetIndex, Vote, VoteIndex, VoteThreshold, VoterInfo } from "@polkadot/types/interfaces/elections"; | ||
@@ -51,5 +52,5 @@ import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; | ||
import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from "@polkadot/types/interfaces/staking"; | ||
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from "@polkadot/types/interfaces/state"; | ||
import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from "@polkadot/types/interfaces/state"; | ||
import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; | ||
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from "@polkadot/types/interfaces/system"; | ||
import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModuleU8a, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, UnknownTransaction, WeightPerClass } from "@polkadot/types/interfaces/system"; | ||
import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from "@polkadot/types/interfaces/treasury"; | ||
@@ -153,2 +154,3 @@ import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; | ||
BlockNumberOf: BlockNumberOf; | ||
BlockStats: BlockStats; | ||
BlockTrace: BlockTrace; | ||
@@ -307,2 +309,3 @@ BlockTraceEvent: BlockTraceEvent; | ||
DispatchErrorModule: DispatchErrorModule; | ||
DispatchErrorModuleU8a: DispatchErrorModuleU8a; | ||
DispatchErrorTo198: DispatchErrorTo198; | ||
@@ -594,2 +597,3 @@ DispatchFeePayment: DispatchFeePayment; | ||
MetadataV9: MetadataV9; | ||
MigrationStatusResult: MigrationStatusResult; | ||
MmrLeafProof: MmrLeafProof; | ||
@@ -596,0 +600,0 @@ MmrRootHash: MmrRootHash; |
{ | ||
"name": "@moonbeam-network/api-augment", | ||
"version": "0.1502.0", | ||
"version": "0.1600.0", | ||
"private": false, | ||
@@ -68,9 +68,9 @@ "description": "Moonbeam types augment for @polkadot/api", | ||
"devDependencies": { | ||
"@polkadot/api": "^7.12.1", | ||
"@polkadot/typegen": "^7.9.1", | ||
"prettier": "^2.5.1", | ||
"prettier-plugin-jsdoc": "^0.3.30", | ||
"@polkadot/api": "^8.3.1", | ||
"@polkadot/typegen": "^8.3.1", | ||
"prettier": "^2.6.2", | ||
"prettier-plugin-jsdoc": "^0.3.38", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^10.5.0", | ||
"typescript": "^4.5.5" | ||
"ts-node": "^10.7.0", | ||
"typescript": "^4.6.4" | ||
}, | ||
@@ -77,0 +77,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2880339
113
74274
0