@frequency-chain/api-augment
Advanced tools
Comparing version
@@ -365,2 +365,6 @@ import '@polkadot/api-base/types/errors'; | ||
/** | ||
* An invalid schema Id was provided | ||
**/ | ||
InvalidSchemaId: AugmentedError<ApiType>; | ||
/** | ||
* An MSA may not be its own delegate | ||
@@ -386,2 +390,6 @@ **/ | ||
/** | ||
* More than one account key exists for the MSA during retire attempt | ||
**/ | ||
MoreThanOneKeyExists: AugmentedError<ApiType>; | ||
/** | ||
* MsaId values have reached the maximum | ||
@@ -415,2 +423,6 @@ **/ | ||
/** | ||
* Can't retire a registered provider MSA | ||
**/ | ||
RegisteredProviderCannotBeRetired: AugmentedError<ApiType>; | ||
/** | ||
* Provider is not permitted to publish for given schema_id | ||
@@ -417,0 +429,0 @@ **/ |
@@ -362,2 +362,8 @@ import '@polkadot/api-base/types/events'; | ||
/** | ||
* The MSA has been retired. | ||
**/ | ||
MsaRetired: AugmentedEvent<ApiType, [msaId: u64], { | ||
msaId: u64; | ||
}>; | ||
/** | ||
* A delegation relationship was added with the given provider and delegator | ||
@@ -364,0 +370,0 @@ **/ |
@@ -277,3 +277,3 @@ import '@polkadot/api-base/types/storage'; | ||
/** | ||
* Storage type for a reference counter of the number of keys assocaited to an MSA | ||
* Storage type for a reference counter of the number of keys associated to an MSA | ||
* - Key: MSA Id | ||
@@ -280,0 +280,0 @@ * - Value: [`u8`] Counter of Keys associated with the MSA |
@@ -605,2 +605,5 @@ declare const _default: { | ||
}; | ||
MsaRetired: { | ||
msaId: string; | ||
}; | ||
}; | ||
@@ -1352,2 +1355,3 @@ }; | ||
}; | ||
retire_msa: string; | ||
}; | ||
@@ -1693,11 +1697,7 @@ }; | ||
/** | ||
* Lookup238: common_primitives::ds::OrderedSetExt<T, S> | ||
* Lookup238: orml_utilities::ordered_set::OrderedSet<T, S> | ||
**/ | ||
CommonPrimitivesDsOrderedSetExt: string; | ||
/** | ||
* Lookup239: orml_utilities::ordered_set::OrderedSet<T, S> | ||
**/ | ||
OrmlUtilitiesOrderedSet: string; | ||
/** | ||
* Lookup241: common_primitives::msa::ProviderMetadata<T> | ||
* Lookup240: common_primitives::msa::ProviderMetadata<T> | ||
**/ | ||
@@ -1708,3 +1708,3 @@ CommonPrimitivesMsaProviderMetadata: { | ||
/** | ||
* Lookup243: pallet_msa::pallet::Error<T> | ||
* Lookup242: pallet_msa::pallet::Error<T> | ||
**/ | ||
@@ -1715,3 +1715,3 @@ PalletMsaError: { | ||
/** | ||
* Lookup246: pallet_messages::types::Message<MaxDataSize> | ||
* Lookup245: pallet_messages::types::Message<MaxDataSize> | ||
**/ | ||
@@ -1725,3 +1725,3 @@ PalletMessagesMessage: { | ||
/** | ||
* Lookup252: pallet_messages::pallet::Error<T> | ||
* Lookup251: pallet_messages::pallet::Error<T> | ||
**/ | ||
@@ -1732,3 +1732,3 @@ PalletMessagesError: { | ||
/** | ||
* Lookup253: pallet_schemas::types::Schema<MaxModelSize> | ||
* Lookup252: pallet_schemas::types::Schema<MaxModelSize> | ||
**/ | ||
@@ -1741,3 +1741,3 @@ PalletSchemasSchema: { | ||
/** | ||
* Lookup254: pallet_schemas::pallet::Error<T> | ||
* Lookup253: pallet_schemas::pallet::Error<T> | ||
**/ | ||
@@ -1748,35 +1748,35 @@ PalletSchemasError: { | ||
/** | ||
* Lookup257: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
* Lookup256: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
**/ | ||
FrameSystemExtensionsCheckNonZeroSender: string; | ||
/** | ||
* Lookup258: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
* Lookup257: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckSpecVersion: string; | ||
/** | ||
* Lookup259: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
* Lookup258: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckTxVersion: string; | ||
/** | ||
* Lookup260: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
* Lookup259: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
**/ | ||
FrameSystemExtensionsCheckGenesis: string; | ||
/** | ||
* Lookup263: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
* Lookup262: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
**/ | ||
CommonRuntimeExtensionsCheckNonce: string; | ||
/** | ||
* Lookup264: frame_system::extensions::check_weight::CheckWeight<T> | ||
* Lookup263: frame_system::extensions::check_weight::CheckWeight<T> | ||
**/ | ||
FrameSystemExtensionsCheckWeight: string; | ||
/** | ||
* Lookup265: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
* Lookup264: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
**/ | ||
PalletTransactionPaymentChargeTransactionPayment: string; | ||
/** | ||
* Lookup266: pallet_msa::CheckFreeExtrinsicUse<T> | ||
* Lookup265: pallet_msa::CheckFreeExtrinsicUse<T> | ||
**/ | ||
PalletMsaCheckFreeExtrinsicUse: string; | ||
/** | ||
* Lookup267: frequency_runtime::Runtime | ||
* Lookup266: frequency_runtime::Runtime | ||
**/ | ||
@@ -1783,0 +1783,0 @@ FrequencyRuntimeRuntime: string; |
@@ -606,3 +606,6 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit | ||
provider: 'u64', | ||
delegator: 'u64' | ||
delegator: 'u64', | ||
}, | ||
MsaRetired: { | ||
msaId: 'u64' | ||
} | ||
@@ -1353,4 +1356,5 @@ } | ||
revoke_delegation_by_provider: { | ||
delegator: 'u64' | ||
} | ||
delegator: 'u64', | ||
}, | ||
retire_msa: 'Null' | ||
} | ||
@@ -1693,14 +1697,10 @@ }, | ||
expired: 'u32', | ||
schemas: 'CommonPrimitivesDsOrderedSetExt' | ||
schemas: 'OrmlUtilitiesOrderedSet' | ||
}, | ||
/** | ||
* Lookup238: common_primitives::ds::OrderedSetExt<T, S> | ||
* Lookup238: orml_utilities::ordered_set::OrderedSet<T, S> | ||
**/ | ||
CommonPrimitivesDsOrderedSetExt: 'OrmlUtilitiesOrderedSet', | ||
/** | ||
* Lookup239: orml_utilities::ordered_set::OrderedSet<T, S> | ||
**/ | ||
OrmlUtilitiesOrderedSet: 'Vec<u16>', | ||
/** | ||
* Lookup241: common_primitives::msa::ProviderMetadata<T> | ||
* Lookup240: common_primitives::msa::ProviderMetadata<T> | ||
**/ | ||
@@ -1711,9 +1711,9 @@ CommonPrimitivesMsaProviderMetadata: { | ||
/** | ||
* Lookup243: pallet_msa::pallet::Error<T> | ||
* Lookup242: pallet_msa::pallet::Error<T> | ||
**/ | ||
PalletMsaError: { | ||
_enum: ['KeyAlreadyRegistered', 'MsaIdOverflow', 'AddKeySignatureVerificationFailed', 'NotMsaOwner', 'InvalidSignature', 'NotKeyOwner', 'NoKeyExists', 'KeyLimitExceeded', 'InvalidSelfRemoval', 'InvalidSelfProvider', 'DuplicateProvider', 'AddProviderSignatureVerificationFailed', 'UnauthorizedDelegator', 'UnauthorizedProvider', 'DelegationRevoked', 'DelegationNotFound', 'DelegationExpired', 'DuplicateProviderMetadata', 'ExceedsMaxProviderNameSize', 'ExceedsMaxSchemaGrants', 'SchemaNotGranted', 'ProviderNotRegistered', 'ProofHasExpired', 'ProofNotYetValid'] | ||
_enum: ['KeyAlreadyRegistered', 'MsaIdOverflow', 'AddKeySignatureVerificationFailed', 'NotMsaOwner', 'InvalidSignature', 'NotKeyOwner', 'NoKeyExists', 'KeyLimitExceeded', 'MoreThanOneKeyExists', 'RegisteredProviderCannotBeRetired', 'InvalidSelfRemoval', 'InvalidSelfProvider', 'InvalidSchemaId', 'DuplicateProvider', 'AddProviderSignatureVerificationFailed', 'UnauthorizedDelegator', 'UnauthorizedProvider', 'DelegationRevoked', 'DelegationNotFound', 'DelegationExpired', 'DuplicateProviderMetadata', 'ExceedsMaxProviderNameSize', 'ExceedsMaxSchemaGrants', 'SchemaNotGranted', 'ProviderNotRegistered', 'ProofHasExpired', 'ProofNotYetValid'] | ||
}, | ||
/** | ||
* Lookup246: pallet_messages::types::Message<MaxDataSize> | ||
* Lookup245: pallet_messages::types::Message<MaxDataSize> | ||
**/ | ||
@@ -1727,3 +1727,3 @@ PalletMessagesMessage: { | ||
/** | ||
* Lookup252: pallet_messages::pallet::Error<T> | ||
* Lookup251: pallet_messages::pallet::Error<T> | ||
**/ | ||
@@ -1734,3 +1734,3 @@ PalletMessagesError: { | ||
/** | ||
* Lookup253: pallet_schemas::types::Schema<MaxModelSize> | ||
* Lookup252: pallet_schemas::types::Schema<MaxModelSize> | ||
**/ | ||
@@ -1743,3 +1743,3 @@ PalletSchemasSchema: { | ||
/** | ||
* Lookup254: pallet_schemas::pallet::Error<T> | ||
* Lookup253: pallet_schemas::pallet::Error<T> | ||
**/ | ||
@@ -1750,37 +1750,37 @@ PalletSchemasError: { | ||
/** | ||
* Lookup257: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
* Lookup256: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
**/ | ||
FrameSystemExtensionsCheckNonZeroSender: 'Null', | ||
/** | ||
* Lookup258: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
* Lookup257: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckSpecVersion: 'Null', | ||
/** | ||
* Lookup259: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
* Lookup258: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckTxVersion: 'Null', | ||
/** | ||
* Lookup260: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
* Lookup259: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
**/ | ||
FrameSystemExtensionsCheckGenesis: 'Null', | ||
/** | ||
* Lookup263: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
* Lookup262: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
**/ | ||
CommonRuntimeExtensionsCheckNonce: 'Compact<u32>', | ||
/** | ||
* Lookup264: frame_system::extensions::check_weight::CheckWeight<T> | ||
* Lookup263: frame_system::extensions::check_weight::CheckWeight<T> | ||
**/ | ||
FrameSystemExtensionsCheckWeight: 'Null', | ||
/** | ||
* Lookup265: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
* Lookup264: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
**/ | ||
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>', | ||
/** | ||
* Lookup266: pallet_msa::CheckFreeExtrinsicUse<T> | ||
* Lookup265: pallet_msa::CheckFreeExtrinsicUse<T> | ||
**/ | ||
PalletMsaCheckFreeExtrinsicUse: 'Null', | ||
/** | ||
* Lookup267: frequency_runtime::Runtime | ||
* Lookup266: frequency_runtime::Runtime | ||
**/ | ||
FrequencyRuntimeRuntime: 'Null' | ||
}; |
import '@polkadot/types/types/registry'; | ||
import type { CommonPrimitivesDsOrderedSetExt, 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 { 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'; | ||
declare module '@polkadot/types/types/registry' { | ||
interface InterfaceTypes { | ||
CommonPrimitivesDsOrderedSetExt: CommonPrimitivesDsOrderedSetExt; | ||
CommonPrimitivesMsaProviderInfo: CommonPrimitivesMsaProviderInfo; | ||
@@ -7,0 +6,0 @@ CommonPrimitivesMsaProviderMetadata: CommonPrimitivesMsaProviderMetadata; |
{ | ||
"name": "@frequency-chain/api-augment", | ||
"version": "0.0.0-4d1e51", | ||
"version": "0.0.0-5f9501", | ||
"bugs": { | ||
@@ -5,0 +5,0 @@ "url": "https://github.com/LibertyDSNP/frequency/issues" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
534209
0.28%12434
0.27%