Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@frequency-chain/api-augment

Package Overview
Dependencies
Maintainers
3
Versions
632
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frequency-chain/api-augment - npm Package Compare versions

Comparing version 0.0.0-74aed3 to 0.0.0-77271e

cjs/definitions/index.js

2

definitions/messages.d.ts
declare const _default: {
rpc: {
getBySchema: {
getBySchemaId: {
description: string;

@@ -5,0 +5,0 @@ params: {

@@ -11,3 +11,3 @@ declare const _default: {

};
grantedSchemaIds: {
grantedSchemaIdsByMsaId: {
description: string;

@@ -14,0 +14,0 @@ params: {

@@ -119,6 +119,2 @@ import '@polkadot/api-base/types/consts';

/**
* Maximum count of keys allowed per MSA
**/
maxKeys: u8 & AugmentedConst<ApiType>;
/**
* Maximum provider name size allowed per MSA association

@@ -128,6 +124,27 @@ **/

/**
* Maximum count of keys allowed per MSA
**/
maxPublicKeysPerMsa: u8 & AugmentedConst<ApiType>;
/**
* Maximum count of schemas granted for publishing data per Provider
**/
maxSchemaGrants: u32 & AugmentedConst<ApiType>;
maxSchemaGrantsPerDelegation: u32 & AugmentedConst<ApiType>;
/**
* The maximum number of signatures that can be assigned to a virtual bucket. In other
* words, no more than this many signatures can be assigned a specific first-key value.
**/
maxSignaturesPerBucket: u32 & AugmentedConst<ApiType>;
/**
* The number of blocks per virtual "bucket" in the PayloadSignatureRegistry
* Virtual buckets are the first part of the double key in the PayloadSignatureRegistry
* StorageDoubleMap. This permits a key grouping that enables mass removal
* of stale signatures which are no longer at risk of replay.
**/
mortalityWindowSize: u32 & AugmentedConst<ApiType>;
/**
* The total number of virtual buckets
* There are exactly NumberOfBuckets first-key values in PayloadSignatureRegistry.
**/
numberOfBuckets: u32 & AugmentedConst<ApiType>;
/**
* Generic const

@@ -134,0 +151,0 @@ **/

@@ -337,6 +337,2 @@ import '@polkadot/api-base/types/errors';

/**
* The operation was attempted with an expired delegation
**/
DelegationExpired: AugmentedError<ApiType>;
/**
* The operation was attempted with an unknown delegation

@@ -347,2 +343,6 @@ **/

* The operation was attempted with a revoked delegation
*
* # Situations
* * Had a prior delegation
* * Has an active delegation, but the schema permission is revoked
**/

@@ -357,3 +357,3 @@ DelegationRevoked: AugmentedError<ApiType>;

**/
DuplicateProviderMetadata: AugmentedError<ApiType>;
DuplicateProviderRegistryEntry: AugmentedError<ApiType>;
/**

@@ -366,4 +366,8 @@ * The maximum length for a provider name has been exceeded

**/
ExceedsMaxSchemaGrants: AugmentedError<ApiType>;
ExceedsMaxSchemaGrantsPerDelegation: AugmentedError<ApiType>;
/**
* An invalid schema Id was provided
**/
InvalidSchemaId: AugmentedError<ApiType>;
/**
* An MSA may not be its own delegate

@@ -409,3 +413,3 @@ **/

/**
* The submited proof has expired; the current block is less the expiration block
* The submitted proof has expired; the current block is less the expiration block
**/

@@ -430,2 +434,6 @@ ProofHasExpired: AugmentedError<ApiType>;

/**
* Attempted to add a signature when the signature is already in the registry
**/
SignatureAlreadySubmitted: AugmentedError<ApiType>;
/**
* Origin attempted to add a delegate for someone else's MSA

@@ -560,3 +568,3 @@ **/

/**
* SchemaCount was attempted to overflow max, means MaxSchemaRegistrations is too big
* CurrentSchemaIdentifierMaximum was attempted to overflow max, means MaxSchemaRegistrations is too big
**/

@@ -573,6 +581,2 @@ SchemaCountOverflow: AugmentedError<ApiType>;

/**
* The maximum number of schemas is stored in the database.
**/
TooManySchemas: AugmentedError<ApiType>;
/**
* Generic error

@@ -579,0 +583,0 @@ **/

@@ -335,5 +335,5 @@ import '@polkadot/api-base/types/events';

/**
* The Delegator revoked its delegation to the Provider
* A delegation relationship was added with the given provider and delegator
**/
DelegatorRevokedDelegation: AugmentedEvent<ApiType, [provider: u64, delegator: u64], {
DelegationGranted: AugmentedEvent<ApiType, [provider: u64, delegator: u64], {
provider: u64;

@@ -343,13 +343,14 @@ delegator: u64;

/**
* An AccountId has been associated with a MessageSourceId
* The Delegator revoked its delegation to the Provider
**/
KeyAdded: AugmentedEvent<ApiType, [msaId: u64, key: AccountId32], {
msaId: u64;
key: AccountId32;
DelegationRevoked: AugmentedEvent<ApiType, [provider: u64, delegator: u64], {
provider: u64;
delegator: u64;
}>;
/**
* An AccountId had all permissions revoked from its MessageSourceId
* A an update to the delegation occurred (ex. schema permissions where updated).
**/
KeyRemoved: AugmentedEvent<ApiType, [key: AccountId32], {
key: AccountId32;
DelegationUpdated: AugmentedEvent<ApiType, [provider: u64, delegator: u64], {
provider: u64;
delegator: u64;
}>;

@@ -370,20 +371,19 @@ /**

/**
* A delegation relationship was added with the given provider and delegator
* A Provider-MSA relationship was registered
**/
ProviderAdded: AugmentedEvent<ApiType, [provider: u64, delegator: u64], {
provider: u64;
delegator: u64;
ProviderCreated: AugmentedEvent<ApiType, [providerMsaId: u64], {
providerMsaId: u64;
}>;
/**
* A Provider-MSA relationship was registered
* An AccountId has been associated with a MessageSourceId
**/
ProviderRegistered: AugmentedEvent<ApiType, [providerMsaId: u64], {
providerMsaId: u64;
PublicKeyAdded: AugmentedEvent<ApiType, [msaId: u64, key: AccountId32], {
msaId: u64;
key: AccountId32;
}>;
/**
* The Provider revoked itself as delegate for the Delegator
* An AccountId had all permissions revoked from its MessageSourceId
**/
ProviderRevokedDelegation: AugmentedEvent<ApiType, [provider: u64, delegator: u64], {
provider: u64;
delegator: u64;
PublicKeyDeleted: AugmentedEvent<ApiType, [key: AccountId32], {
key: AccountId32;
}>;

@@ -390,0 +390,0 @@ /**

@@ -6,3 +6,3 @@ import '@polkadot/api-base/types/storage';

import type { AccountId32, Call, H256, Weight } from '@polkadot/types/interfaces/runtime';
import type { CommonPrimitivesMsaProviderInfo, CommonPrimitivesMsaProviderMetadata, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, FrequencyRuntimeSessionKeys, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMessagesMessage, PalletPreimageRequestStatus, PalletSchedulerScheduledV3, PalletSchemasSchema, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpTrieStorageProof } from '@polkadot/types/lookup';
import type { CommonPrimitivesMsaDelegation, CommonPrimitivesMsaProviderRegistryEntry, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, FrameSupportWeightsPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, FrequencyRuntimeSessionKeys, OrmlVestingVestingSchedule, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCandidateInfo, PalletCollectiveVotes, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReleases, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMessagesMessage, PalletPreimageRequestStatus, PalletSchedulerScheduledV3, PalletSchemasSchema, PalletTransactionPaymentReleases, PalletTreasuryProposal, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpRuntimeDigest, SpRuntimeMultiSignature, SpTrieStorageProof } from '@polkadot/types/lookup';
import type { Observable } from '@polkadot/types/types';

@@ -267,13 +267,34 @@ export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;

/**
* Storage type for key to MSA information
* - Key: AccountId
* - Value: [`MessageSourceId`]
* Storage type for the current MSA identifier maximum.
* We need to track this value because the identifier maximum
* is incremented each time a new identifier is created.
* - Value: The current maximum MSA Id
**/
messageSourceIdOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
currentMsaIdentifierMaximum: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Storage type for MSA identifier
* - Value: The current maximum MSA Id
* Storage type for mapping the relationship between a Delegator and its Provider.
* - Keys: Delegator MSA, Provider MSA
* - Value: [`Delegation`](common_primitives::msa::Delegation)
**/
msaIdentifier: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>;
delegatorAndProviderToDelegation: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<CommonPrimitivesMsaDelegation>>, [u64, u64]> & QueryableStorageEntry<ApiType, [u64, u64]>;
/**
* PayloadSignatureRegistry is used to prevent replay attacks for extrinsics
* that take an externally-signed payload.
* For this to work, the payload must include a mortality block number, which
* is used in lieu of a monotonically increasing nonce.
**/
payloadSignatureRegistry: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: SpRuntimeMultiSignature | {
Ed25519: any;
} | {
Sr25519: any;
} | {
Ecdsa: any;
} | string | Uint8Array) => Observable<Option<u32>>, [u32, SpRuntimeMultiSignature]> & QueryableStorageEntry<ApiType, [u32, SpRuntimeMultiSignature]>;
/**
* Provider registration information
* - Key: Provider MSA Id
* - Value: [`ProviderRegistryEntry`](common_primitives::msa::ProviderRegistryEntry)
**/
providerToRegistryEntry: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<CommonPrimitivesMsaProviderRegistryEntry>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* Storage type for a reference counter of the number of keys associated to an MSA

@@ -283,16 +304,10 @@ * - Key: MSA Id

**/
msaInfoOf: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<u8>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
publicKeyCountForMsaId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<u8>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* Storage type for mapping the relationship between a Delegator and its Provider.
* - Keys: Delegator MSA, Provider MSA
* - Value: [`ProviderInfo`](common_primitives::msa::ProviderInfo)
* Storage type for key to MSA information
* - Key: AccountId
* - Value: [`MessageSourceId`]
**/
providerInfoOf: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<CommonPrimitivesMsaProviderInfo>>, [u64, u64]> & QueryableStorageEntry<ApiType, [u64, u64]>;
publicKeyToMsaId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* Provider registration information
* - Key: Provider MSA Id
* - Value: [`ProviderMetadata`](common_primitives::msa::ProviderMetadata)
**/
providerRegistry: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<CommonPrimitivesMsaProviderMetadata>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>;
/**
* Generic query

@@ -481,2 +496,8 @@ **/

/**
* Storage type for current number of schemas
* Useful for retrieving latest schema id
* - Value: Last Schema Id
**/
currentSchemaIdentifierMaximum: AugmentedQuery<ApiType, () => Observable<u16>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Storage for the Governance managed max bytes for schema model

@@ -488,8 +509,2 @@ * Allows for altering the max bytes without a full chain upgrade

/**
* Storage type for current number of schemas
* Useful for retrieving latest schema id
* - Value: Last Schema Id
**/
schemaCount: AugmentedQuery<ApiType, () => Observable<u16>, []> & QueryableStorageEntry<ApiType, []>;
/**
* Storage for message schema struct data

@@ -496,0 +511,0 @@ * - Key: Schema Id

@@ -436,3 +436,3 @@ import '@polkadot/rpc-core/types/jsonrpc';

**/
getBySchema: AugmentedRpc<(schema_id: SchemaId | AnyNumber | Uint8Array, pagination: BlockPaginationRequest | {
getBySchemaId: AugmentedRpc<(schema_id: SchemaId | AnyNumber | Uint8Array, pagination: BlockPaginationRequest | {
from_block?: any;

@@ -462,3 +462,3 @@ from_index?: any;

**/
grantedSchemaIds: AugmentedRpc<(delegator_msa_id: MessageSourceId | AnyNumber | Uint8Array, provider_msa_id: MessageSourceId | AnyNumber | Uint8Array) => Observable<Vec<SchemaId>>>;
grantedSchemaIdsByMsaId: AugmentedRpc<(delegator_msa_id: MessageSourceId | AnyNumber | Uint8Array, provider_msa_id: MessageSourceId | AnyNumber | Uint8Array) => Observable<Option<Vec<SchemaId>>>>;
};

@@ -465,0 +465,0 @@ net: {

@@ -583,27 +583,27 @@ declare const _default: {

};
KeyAdded: {
PublicKeyAdded: {
msaId: string;
key: string;
};
KeyRemoved: {
PublicKeyDeleted: {
key: string;
};
ProviderAdded: {
DelegationGranted: {
provider: string;
delegator: string;
};
ProviderRegistered: {
ProviderCreated: {
providerMsaId: string;
};
DelegatorRevokedDelegation: {
DelegationRevoked: {
provider: string;
delegator: string;
};
ProviderRevokedDelegation: {
MsaRetired: {
msaId: string;
};
DelegationUpdated: {
provider: string;
delegator: string;
};
MsaRetired: {
msaId: string;
};
};

@@ -1333,6 +1333,6 @@ };

};
register_provider: {
create_provider: {
providerName: string;
};
add_provider_to_msa: {
grant_delegation: {
delegatorKey: string;

@@ -1342,11 +1342,13 @@ proof: string;

};
revoke_msa_delegation_by_delegator: {
revoke_delegation_by_delegator: {
providerMsaId: string;
};
add_key_to_msa: {
key: string;
proof: string;
add_public_key_to_msa: {
msaOwnerPublicKey: string;
msaOwnerProof: string;
newPublicKey: string;
newKeyOwnerProof: string;
addKeyPayload: string;
};
delete_msa_key: {
delete_msa_public_key: {
key: string;

@@ -1357,2 +1359,10 @@ };

};
grant_schema_permissions: {
provider: string;
schemaIds: string;
};
revoke_schema_permissions: {
providerMsaId: string;
schemaIds: string;
};
retire_msa: string;

@@ -1396,3 +1406,2 @@ };

msaId: string;
nonce: string;
expiration: string;

@@ -1418,7 +1427,7 @@ };

/**
* Lookup164: pallet_schemas::pallet::Call<T>
* Lookup165: pallet_schemas::pallet::Call<T>
**/
PalletSchemasCall: {
_enum: {
register_schema: {
create_schema: {
model: string;

@@ -1434,3 +1443,3 @@ modelType: string;

/**
* Lookup166: common_primitives::schema::ModelType
* Lookup167: common_primitives::schema::ModelType
**/

@@ -1441,3 +1450,3 @@ CommonPrimitivesSchemaModelType: {

/**
* Lookup167: common_primitives::schema::PayloadLocation
* Lookup168: common_primitives::schema::PayloadLocation
**/

@@ -1448,3 +1457,3 @@ CommonPrimitivesSchemaPayloadLocation: {

/**
* Lookup168: pallet_sudo::pallet::Error<T>
* Lookup169: pallet_sudo::pallet::Error<T>
**/

@@ -1455,3 +1464,3 @@ PalletSudoError: {

/**
* Lookup169: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
* Lookup170: pallet_preimage::RequestStatus<sp_core::crypto::AccountId32, Balance>
**/

@@ -1465,3 +1474,3 @@ PalletPreimageRequestStatus: {

/**
* Lookup173: pallet_preimage::pallet::Error<T>
* Lookup174: pallet_preimage::pallet::Error<T>
**/

@@ -1472,3 +1481,3 @@ PalletPreimageError: {

/**
* Lookup177: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
* Lookup178: pallet_democracy::PreimageStatus<sp_core::crypto::AccountId32, Balance, BlockNumber>
**/

@@ -1488,3 +1497,3 @@ PalletDemocracyPreimageStatus: {

/**
* Lookup178: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
* Lookup179: pallet_democracy::types::ReferendumInfo<BlockNumber, primitive_types::H256, Balance>
**/

@@ -1501,3 +1510,3 @@ PalletDemocracyReferendumInfo: {

/**
* Lookup179: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
* Lookup180: pallet_democracy::types::ReferendumStatus<BlockNumber, primitive_types::H256, Balance>
**/

@@ -1512,3 +1521,3 @@ PalletDemocracyReferendumStatus: {

/**
* Lookup180: pallet_democracy::types::Tally<Balance>
* Lookup181: pallet_democracy::types::Tally<Balance>
**/

@@ -1521,3 +1530,3 @@ PalletDemocracyTally: {

/**
* Lookup181: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
* Lookup182: pallet_democracy::vote::Voting<Balance, sp_core::crypto::AccountId32, BlockNumber>
**/

@@ -1541,3 +1550,3 @@ PalletDemocracyVoteVoting: {

/**
* Lookup184: pallet_democracy::types::Delegations<Balance>
* Lookup185: pallet_democracy::types::Delegations<Balance>
**/

@@ -1549,7 +1558,7 @@ PalletDemocracyDelegations: {

/**
* Lookup185: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
* Lookup186: pallet_democracy::vote::PriorLock<BlockNumber, Balance>
**/
PalletDemocracyVotePriorLock: string;
/**
* Lookup188: pallet_democracy::Releases
* Lookup189: pallet_democracy::Releases
**/

@@ -1560,3 +1569,3 @@ PalletDemocracyReleases: {

/**
* Lookup189: pallet_democracy::pallet::Error<T>
* Lookup190: pallet_democracy::pallet::Error<T>
**/

@@ -1567,3 +1576,3 @@ PalletDemocracyError: {

/**
* Lookup192: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<frequency_runtime::Call, primitive_types::H256>, BlockNumber, frequency_runtime::OriginCaller, sp_core::crypto::AccountId32>
* Lookup193: pallet_scheduler::ScheduledV3<frame_support::traits::schedule::MaybeHashed<frequency_runtime::Call, primitive_types::H256>, BlockNumber, frequency_runtime::OriginCaller, sp_core::crypto::AccountId32>
**/

@@ -1578,3 +1587,3 @@ PalletSchedulerScheduledV3: {

/**
* Lookup193: pallet_scheduler::pallet::Error<T>
* Lookup194: pallet_scheduler::pallet::Error<T>
**/

@@ -1585,3 +1594,3 @@ PalletSchedulerError: {

/**
* Lookup194: pallet_utility::pallet::Error<T>
* Lookup195: pallet_utility::pallet::Error<T>
**/

@@ -1592,3 +1601,3 @@ PalletUtilityError: {

/**
* Lookup196: pallet_balances::BalanceLock<Balance>
* Lookup197: pallet_balances::BalanceLock<Balance>
**/

@@ -1601,3 +1610,3 @@ PalletBalancesBalanceLock: {

/**
* Lookup197: pallet_balances::Reasons
* Lookup198: pallet_balances::Reasons
**/

@@ -1608,3 +1617,3 @@ PalletBalancesReasons: {

/**
* Lookup200: pallet_balances::ReserveData<ReserveIdentifier, Balance>
* Lookup201: pallet_balances::ReserveData<ReserveIdentifier, Balance>
**/

@@ -1616,3 +1625,3 @@ PalletBalancesReserveData: {

/**
* Lookup202: pallet_balances::Releases
* Lookup203: pallet_balances::Releases
**/

@@ -1623,3 +1632,3 @@ PalletBalancesReleases: {

/**
* Lookup203: pallet_balances::pallet::Error<T, I>
* Lookup204: pallet_balances::pallet::Error<T, I>
**/

@@ -1630,3 +1639,3 @@ PalletBalancesError: {

/**
* Lookup205: pallet_transaction_payment::Releases
* Lookup206: pallet_transaction_payment::Releases
**/

@@ -1637,3 +1646,3 @@ PalletTransactionPaymentReleases: {

/**
* Lookup207: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
* Lookup208: pallet_collective::Votes<sp_core::crypto::AccountId32, BlockNumber>
**/

@@ -1648,3 +1657,3 @@ PalletCollectiveVotes: {

/**
* Lookup208: pallet_collective::pallet::Error<T, I>
* Lookup209: pallet_collective::pallet::Error<T, I>
**/

@@ -1655,3 +1664,3 @@ PalletCollectiveError: {

/**
* Lookup210: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
* Lookup211: pallet_treasury::Proposal<sp_core::crypto::AccountId32, Balance>
**/

@@ -1665,7 +1674,7 @@ PalletTreasuryProposal: {

/**
* Lookup215: frame_support::PalletId
* Lookup216: frame_support::PalletId
**/
FrameSupportPalletId: string;
/**
* Lookup216: pallet_treasury::pallet::Error<T, I>
* Lookup217: pallet_treasury::pallet::Error<T, I>
**/

@@ -1676,3 +1685,3 @@ PalletTreasuryError: {

/**
* Lookup218: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
* Lookup219: pallet_authorship::UncleEntryItem<BlockNumber, primitive_types::H256, sp_core::crypto::AccountId32>
**/

@@ -1686,3 +1695,3 @@ PalletAuthorshipUncleEntryItem: {

/**
* Lookup220: pallet_authorship::pallet::Error<T>
* Lookup221: pallet_authorship::pallet::Error<T>
**/

@@ -1693,3 +1702,3 @@ PalletAuthorshipError: {

/**
* Lookup223: pallet_collator_selection::pallet::CandidateInfo<sp_core::crypto::AccountId32, Balance>
* Lookup224: pallet_collator_selection::pallet::CandidateInfo<sp_core::crypto::AccountId32, Balance>
**/

@@ -1701,3 +1710,3 @@ PalletCollatorSelectionCandidateInfo: {

/**
* Lookup225: pallet_collator_selection::pallet::Error<T>
* Lookup226: pallet_collator_selection::pallet::Error<T>
**/

@@ -1708,7 +1717,7 @@ PalletCollatorSelectionError: {

/**
* Lookup229: sp_core::crypto::KeyTypeId
* Lookup230: sp_core::crypto::KeyTypeId
**/
SpCoreCryptoKeyTypeId: string;
/**
* Lookup230: pallet_session::pallet::Error<T>
* Lookup231: pallet_session::pallet::Error<T>
**/

@@ -1719,3 +1728,3 @@ PalletSessionError: {

/**
* Lookup235: orml_vesting::module::Error<T>
* Lookup236: orml_vesting::module::Error<T>
**/

@@ -1726,20 +1735,16 @@ OrmlVestingModuleError: {

/**
* Lookup237: common_primitives::msa::ProviderInfo<BlockNumber, MaxSchemaGrants>
* Lookup238: common_primitives::msa::Delegation<SchemaId, BlockNumber, MaxSchemaGrantsPerDelegation>
**/
CommonPrimitivesMsaProviderInfo: {
expired: string;
schemas: string;
CommonPrimitivesMsaDelegation: {
revokedAt: string;
schemaPermissions: string;
};
/**
* Lookup238: orml_utilities::ordered_set::OrderedSet<T, S>
* Lookup243: common_primitives::msa::ProviderRegistryEntry<T>
**/
OrmlUtilitiesOrderedSet: string;
/**
* Lookup240: common_primitives::msa::ProviderMetadata<T>
**/
CommonPrimitivesMsaProviderMetadata: {
CommonPrimitivesMsaProviderRegistryEntry: {
providerName: string;
};
/**
* Lookup242: pallet_msa::pallet::Error<T>
* Lookup246: pallet_msa::pallet::Error<T>
**/

@@ -1750,3 +1755,3 @@ PalletMsaError: {

/**
* Lookup245: pallet_messages::types::Message<MaxDataSize>
* Lookup249: pallet_messages::types::Message<MaxDataSize>
**/

@@ -1760,3 +1765,3 @@ PalletMessagesMessage: {

/**
* Lookup251: pallet_messages::pallet::Error<T>
* Lookup255: pallet_messages::pallet::Error<T>
**/

@@ -1767,3 +1772,3 @@ PalletMessagesError: {

/**
* Lookup252: pallet_schemas::types::Schema<MaxModelSize>
* Lookup256: pallet_schemas::types::Schema<MaxModelSize>
**/

@@ -1776,3 +1781,3 @@ PalletSchemasSchema: {

/**
* Lookup253: pallet_schemas::pallet::Error<T>
* Lookup257: pallet_schemas::pallet::Error<T>
**/

@@ -1783,35 +1788,35 @@ PalletSchemasError: {

/**
* Lookup256: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
* Lookup260: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T>
**/
FrameSystemExtensionsCheckNonZeroSender: string;
/**
* Lookup257: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
* Lookup261: frame_system::extensions::check_spec_version::CheckSpecVersion<T>
**/
FrameSystemExtensionsCheckSpecVersion: string;
/**
* Lookup258: frame_system::extensions::check_tx_version::CheckTxVersion<T>
* Lookup262: frame_system::extensions::check_tx_version::CheckTxVersion<T>
**/
FrameSystemExtensionsCheckTxVersion: string;
/**
* Lookup259: frame_system::extensions::check_genesis::CheckGenesis<T>
* Lookup263: frame_system::extensions::check_genesis::CheckGenesis<T>
**/
FrameSystemExtensionsCheckGenesis: string;
/**
* Lookup262: common_runtime::extensions::check_nonce::CheckNonce<T>
* Lookup266: common_runtime::extensions::check_nonce::CheckNonce<T>
**/
CommonRuntimeExtensionsCheckNonce: string;
/**
* Lookup263: frame_system::extensions::check_weight::CheckWeight<T>
* Lookup267: frame_system::extensions::check_weight::CheckWeight<T>
**/
FrameSystemExtensionsCheckWeight: string;
/**
* Lookup264: pallet_transaction_payment::ChargeTransactionPayment<T>
* Lookup268: pallet_transaction_payment::ChargeTransactionPayment<T>
**/
PalletTransactionPaymentChargeTransactionPayment: string;
/**
* Lookup265: pallet_msa::CheckFreeExtrinsicUse<T>
* Lookup269: pallet_msa::CheckFreeExtrinsicUse<T>
**/
PalletMsaCheckFreeExtrinsicUse: string;
/**
* Lookup266: frequency_runtime::Runtime
* Lookup270: frequency_runtime::Runtime
**/

@@ -1818,0 +1823,0 @@ FrequencyRuntimeRuntime: string;

import '@polkadot/types/types/registry';
import type { CommonPrimitivesMsaProviderInfo, CommonPrimitivesMsaProviderMetadata, CommonPrimitivesSchemaModelType, CommonPrimitivesSchemaPayloadLocation, CommonRuntimeExtensionsCheckNonce, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPrimitivesParachainInherentParachainInherentData, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassWeight, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonZeroSender, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, FrequencyRuntimeOriginCaller, FrequencyRuntimeRuntime, FrequencyRuntimeSessionKeys, OrmlUtilitiesOrderedSet, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionCandidateInfo, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyReleases, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMessagesCall, PalletMessagesError, PalletMessagesEvent, PalletMessagesMessage, PalletMsaAddKeyData, PalletMsaAddProvider, PalletMsaCall, PalletMsaCheckFreeExtrinsicUse, PalletMsaError, PalletMsaEvent, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduledV3, PalletSchemasCall, PalletSchemasError, PalletSchemasEvent, PalletSchemasSchema, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
import type { CommonPrimitivesMsaDelegation, CommonPrimitivesMsaProviderRegistryEntry, CommonPrimitivesSchemaModelType, CommonPrimitivesSchemaPayloadLocation, CommonRuntimeExtensionsCheckNonce, CumulusPalletParachainSystemCall, CumulusPalletParachainSystemError, CumulusPalletParachainSystemEvent, CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, CumulusPrimitivesParachainInherentParachainInherentData, FrameSupportDispatchRawOrigin, FrameSupportPalletId, FrameSupportScheduleLookupError, FrameSupportScheduleMaybeHashed, FrameSupportTokensMiscBalanceStatus, FrameSupportWeightsDispatchClass, FrameSupportWeightsDispatchInfo, FrameSupportWeightsPays, FrameSupportWeightsPerDispatchClassU32, FrameSupportWeightsPerDispatchClassWeight, FrameSupportWeightsPerDispatchClassWeightsPerClass, FrameSupportWeightsRuntimeDbWeight, FrameSystemAccountInfo, FrameSystemCall, FrameSystemError, FrameSystemEvent, FrameSystemEventRecord, FrameSystemExtensionsCheckGenesis, FrameSystemExtensionsCheckNonZeroSender, FrameSystemExtensionsCheckSpecVersion, FrameSystemExtensionsCheckTxVersion, FrameSystemExtensionsCheckWeight, FrameSystemLastRuntimeUpgradeInfo, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, FrameSystemLimitsWeightsPerClass, FrameSystemPhase, FrequencyRuntimeOriginCaller, FrequencyRuntimeRuntime, FrequencyRuntimeSessionKeys, OrmlVestingModuleCall, OrmlVestingModuleError, OrmlVestingModuleEvent, OrmlVestingVestingSchedule, PalletAuthorshipCall, PalletAuthorshipError, PalletAuthorshipUncleEntryItem, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesCall, PalletBalancesError, PalletBalancesEvent, PalletBalancesReasons, PalletBalancesReleases, PalletBalancesReserveData, PalletCollatorSelectionCall, PalletCollatorSelectionCandidateInfo, PalletCollatorSelectionError, PalletCollatorSelectionEvent, PalletCollectiveCall, PalletCollectiveError, PalletCollectiveEvent, PalletCollectiveRawOrigin, PalletCollectiveVotes, PalletDemocracyCall, PalletDemocracyConviction, PalletDemocracyDelegations, PalletDemocracyError, PalletDemocracyEvent, PalletDemocracyPreimageStatus, PalletDemocracyReferendumInfo, PalletDemocracyReferendumStatus, PalletDemocracyReleases, PalletDemocracyTally, PalletDemocracyVoteAccountVote, PalletDemocracyVotePriorLock, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletMessagesCall, PalletMessagesError, PalletMessagesEvent, PalletMessagesMessage, PalletMsaAddKeyData, PalletMsaAddProvider, PalletMsaCall, PalletMsaCheckFreeExtrinsicUse, PalletMsaError, PalletMsaEvent, PalletPreimageCall, PalletPreimageError, PalletPreimageEvent, PalletPreimageRequestStatus, PalletSchedulerCall, PalletSchedulerError, PalletSchedulerEvent, PalletSchedulerScheduledV3, PalletSchemasCall, PalletSchemasError, PalletSchemasEvent, PalletSchemasSchema, PalletSessionCall, PalletSessionError, PalletSessionEvent, PalletSudoCall, PalletSudoError, PalletSudoEvent, PalletTimestampCall, PalletTransactionPaymentChargeTransactionPayment, PalletTransactionPaymentEvent, PalletTransactionPaymentReleases, PalletTreasuryCall, PalletTreasuryError, PalletTreasuryEvent, PalletTreasuryProposal, PalletUtilityCall, PalletUtilityError, PalletUtilityEvent, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotCorePrimitivesOutboundHrmpMessage, PolkadotPrimitivesV2AbridgedHostConfiguration, PolkadotPrimitivesV2AbridgedHrmpChannel, PolkadotPrimitivesV2PersistedValidationData, PolkadotPrimitivesV2UpgradeRestriction, SpConsensusAuraSr25519AppSr25519Public, SpCoreCryptoKeyTypeId, SpCoreEcdsaSignature, SpCoreEd25519Signature, SpCoreSr25519Public, SpCoreSr25519Signature, SpCoreVoid, SpRuntimeArithmeticError, SpRuntimeBlakeTwo256, SpRuntimeDigest, SpRuntimeDigestDigestItem, SpRuntimeDispatchError, SpRuntimeHeader, SpRuntimeModuleError, SpRuntimeMultiSignature, SpRuntimeTokenError, SpRuntimeTransactionalError, SpTrieStorageProof, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
declare module '@polkadot/types/types/registry' {
interface InterfaceTypes {
CommonPrimitivesMsaProviderInfo: CommonPrimitivesMsaProviderInfo;
CommonPrimitivesMsaProviderMetadata: CommonPrimitivesMsaProviderMetadata;
CommonPrimitivesMsaDelegation: CommonPrimitivesMsaDelegation;
CommonPrimitivesMsaProviderRegistryEntry: CommonPrimitivesMsaProviderRegistryEntry;
CommonPrimitivesSchemaModelType: CommonPrimitivesSchemaModelType;

@@ -45,3 +45,2 @@ CommonPrimitivesSchemaPayloadLocation: CommonPrimitivesSchemaPayloadLocation;

FrequencyRuntimeSessionKeys: FrequencyRuntimeSessionKeys;
OrmlUtilitiesOrderedSet: OrmlUtilitiesOrderedSet;
OrmlVestingModuleCall: OrmlVestingModuleCall;

@@ -48,0 +47,0 @@ OrmlVestingModuleError: OrmlVestingModuleError;

{
"name": "@frequency-chain/api-augment",
"version": "0.0.0-74aed3",
"version": "0.0.0-77271e",
"bugs": {

@@ -8,3 +8,3 @@ "url": "https://github.com/LibertyDSNP/frequency/issues"

"description": "RPC configuration for Frequency for use with Polkadotjs API",
"main": "index.cjs",
"main": "./cjs/index.js",
"repository": {

@@ -18,10 +18,10 @@ "type": "git",

"devDependencies": {
"@polkadot/api": "^9.4.3",
"@polkadot/rpc-provider": "^9.4.3",
"@polkadot/typegen": "^9.4.3",
"@polkadot/types": "^9.4.3",
"@polkadot/api": "^9.6.2",
"@polkadot/rpc-provider": "^9.6.2",
"@polkadot/typegen": "^9.6.2",
"@polkadot/types": "^9.6.2",
"@types/mocha": "^9.1.1",
"@typescript-eslint/eslint-plugin": "^5.36.0",
"@typescript-eslint/parser": "^5.36.0",
"eslint": "^8.23.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",

@@ -34,5 +34,5 @@ "eslint-plugin-import": "^2.26.0",

"ts-node": "^10.9.1",
"typescript": "^4.7.4"
"typescript": "^4.8.4"
},
"module": "index.js",
"module": "./esm/index.js",
"types": "index.d.ts",

@@ -42,6 +42,6 @@ "exports": {

"types": "./index.d.ts",
"require": "./index.cjs",
"default": "./index.js"
"require": "./cjs/index.js",
"default": "./esm/index.js"
}
}
}

@@ -30,2 +30,9 @@ # Javascript Custom RPC

## Upgrades and Matching Versions
Assuming you are using no deprecated methods, any release version should work against a release version of `@frequency-chain/api-augment`.
If you are working against a development version it is suggested that you match against the commit hash using `v0.0.0-[First 6 of the commit hash]`.
Changelog is maintained in the [releases for Frequency](https://github.com/LibertyDSNP/frequency/releases).
### Usage

@@ -32,0 +39,0 @@

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc