@frequency-chain/api-augment
Advanced tools
Comparing version 0.0.0-4d1e51 to 0.0.0-52d435
@@ -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 @@ **/ |
@@ -355,3 +355,3 @@ import '@polkadot/api-base/types/errors'; | ||
**/ | ||
DuplicateProviderMetadata: AugmentedError<ApiType>; | ||
DuplicateProviderRegistryEntry: AugmentedError<ApiType>; | ||
/** | ||
@@ -364,4 +364,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 | ||
@@ -387,2 +391,6 @@ **/ | ||
/** | ||
* More than one account key exists for the MSA during retire attempt | ||
**/ | ||
MoreThanOneKeyExists: AugmentedError<ApiType>; | ||
/** | ||
* MsaId values have reached the maximum | ||
@@ -416,2 +424,6 @@ **/ | ||
/** | ||
* Can't retire a registered provider MSA | ||
**/ | ||
RegisteredProviderCannotBeRetired: AugmentedError<ApiType>; | ||
/** | ||
* Provider is not permitted to publish for given schema_id | ||
@@ -421,2 +433,6 @@ **/ | ||
/** | ||
* 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 | ||
@@ -551,3 +567,3 @@ **/ | ||
/** | ||
* SchemaCount was attempted to overflow max, means MaxSchemaRegistrations is too big | ||
* CurrentSchemaIdentifierMaximum was attempted to overflow max, means MaxSchemaRegistrations is too big | ||
**/ | ||
@@ -554,0 +570,0 @@ SchemaCountOverflow: AugmentedError<ApiType>; |
@@ -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,15 +343,9 @@ 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 | ||
**/ | ||
KeyRemoved: AugmentedEvent<ApiType, [key: AccountId32], { | ||
key: AccountId32; | ||
}>; | ||
/** | ||
* A new Message Service Account was created with a new MessageSourceId | ||
@@ -364,7 +358,6 @@ **/ | ||
/** | ||
* A delegation relationship was added with the given provider and delegator | ||
* The MSA has been retired. | ||
**/ | ||
ProviderAdded: AugmentedEvent<ApiType, [provider: u64, delegator: u64], { | ||
provider: u64; | ||
delegator: u64; | ||
MsaRetired: AugmentedEvent<ApiType, [msaId: u64], { | ||
msaId: u64; | ||
}>; | ||
@@ -374,13 +367,19 @@ /** | ||
**/ | ||
ProviderRegistered: AugmentedEvent<ApiType, [providerMsaId: u64], { | ||
ProviderCreated: AugmentedEvent<ApiType, [providerMsaId: u64], { | ||
providerMsaId: u64; | ||
}>; | ||
/** | ||
* The Provider revoked itself as delegate for the Delegator | ||
* An AccountId has been associated with a MessageSourceId | ||
**/ | ||
ProviderRevokedDelegation: AugmentedEvent<ApiType, [provider: u64, delegator: u64], { | ||
provider: u64; | ||
delegator: u64; | ||
PublicKeyAdded: AugmentedEvent<ApiType, [msaId: u64, key: AccountId32], { | ||
msaId: u64; | ||
key: AccountId32; | ||
}>; | ||
/** | ||
* An AccountId had all permissions revoked from its MessageSourceId | ||
**/ | ||
PublicKeyDeleted: AugmentedEvent<ApiType, [key: AccountId32], { | ||
key: AccountId32; | ||
}>; | ||
/** | ||
* Generic event | ||
@@ -387,0 +386,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,31 +267,46 @@ export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>; | ||
/** | ||
* Storage type for key to MSA information | ||
* - Key: AccountId | ||
* - Value: [`MessageSourceId`] | ||
**/ | ||
messageSourceIdOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; | ||
/** | ||
* Storage type for MSA identifier | ||
* 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 | ||
**/ | ||
msaIdentifier: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>; | ||
currentMsaIdentifierMaximum: AugmentedQuery<ApiType, () => Observable<u64>, []> & QueryableStorageEntry<ApiType, []>; | ||
/** | ||
* Storage type for a reference counter of the number of keys assocaited to an MSA | ||
* - Key: MSA Id | ||
* - Value: [`u8`] Counter of Keys associated with the MSA | ||
**/ | ||
msaInfoOf: 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) | ||
* - Value: [`Delegation`](common_primitives::msa::Delegation) | ||
**/ | ||
providerInfoOf: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<CommonPrimitivesMsaProviderInfo>>, [u64, u64]> & QueryableStorageEntry<ApiType, [u64, u64]>; | ||
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: [`ProviderMetadata`](common_primitives::msa::ProviderMetadata) | ||
* - Value: [`ProviderRegistryEntry`](common_primitives::msa::ProviderRegistryEntry) | ||
**/ | ||
providerRegistry: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<CommonPrimitivesMsaProviderMetadata>>, [u64]> & QueryableStorageEntry<ApiType, [u64]>; | ||
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 | ||
* - Key: MSA Id | ||
* - Value: [`u8`] Counter of Keys associated with the MSA | ||
**/ | ||
publicKeyCountForMsaId: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<u8>, [u64]> & QueryableStorageEntry<ApiType, [u64]>; | ||
/** | ||
* Storage type for key to MSA information | ||
* - Key: AccountId | ||
* - Value: [`MessageSourceId`] | ||
**/ | ||
publicKeyToMsaId: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>; | ||
/** | ||
* Generic query | ||
@@ -480,2 +495,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 | ||
@@ -487,8 +508,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 | ||
@@ -495,0 +510,0 @@ * - Key: Schema Id |
@@ -583,23 +583,22 @@ 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: { | ||
provider: string; | ||
delegator: string; | ||
MsaRetired: { | ||
msaId: string; | ||
}; | ||
@@ -1330,6 +1329,6 @@ }; | ||
}; | ||
register_provider: { | ||
create_provider: { | ||
providerName: string; | ||
}; | ||
add_provider_to_msa: { | ||
grant_delegation: { | ||
delegatorKey: string; | ||
@@ -1339,11 +1338,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; | ||
@@ -1354,2 +1355,3 @@ }; | ||
}; | ||
retire_msa: string; | ||
}; | ||
@@ -1392,3 +1394,2 @@ }; | ||
msaId: string; | ||
nonce: string; | ||
expiration: string; | ||
@@ -1418,3 +1419,3 @@ }; | ||
_enum: { | ||
register_schema: { | ||
create_schema: { | ||
model: string; | ||
@@ -1690,24 +1691,16 @@ modelType: string; | ||
/** | ||
* Lookup237: common_primitives::msa::ProviderInfo<BlockNumber, MaxSchemaGrants> | ||
* Lookup237: common_primitives::msa::Delegation<SchemaId, BlockNumber, MaxSchemaGrantsPerDelegation> | ||
**/ | ||
CommonPrimitivesMsaProviderInfo: { | ||
expired: string; | ||
schemas: string; | ||
CommonPrimitivesMsaDelegation: { | ||
revokedAt: string; | ||
schemaPermissions: string; | ||
}; | ||
/** | ||
* Lookup238: common_primitives::ds::OrderedSetExt<T, S> | ||
* Lookup242: common_primitives::msa::ProviderRegistryEntry<T> | ||
**/ | ||
CommonPrimitivesDsOrderedSetExt: string; | ||
/** | ||
* Lookup239: orml_utilities::ordered_set::OrderedSet<T, S> | ||
**/ | ||
OrmlUtilitiesOrderedSet: string; | ||
/** | ||
* Lookup241: common_primitives::msa::ProviderMetadata<T> | ||
**/ | ||
CommonPrimitivesMsaProviderMetadata: { | ||
CommonPrimitivesMsaProviderRegistryEntry: { | ||
providerName: string; | ||
}; | ||
/** | ||
* Lookup243: pallet_msa::pallet::Error<T> | ||
* Lookup245: pallet_msa::pallet::Error<T> | ||
**/ | ||
@@ -1718,3 +1711,3 @@ PalletMsaError: { | ||
/** | ||
* Lookup246: pallet_messages::types::Message<MaxDataSize> | ||
* Lookup248: pallet_messages::types::Message<MaxDataSize> | ||
**/ | ||
@@ -1728,3 +1721,3 @@ PalletMessagesMessage: { | ||
/** | ||
* Lookup252: pallet_messages::pallet::Error<T> | ||
* Lookup254: pallet_messages::pallet::Error<T> | ||
**/ | ||
@@ -1735,3 +1728,3 @@ PalletMessagesError: { | ||
/** | ||
* Lookup253: pallet_schemas::types::Schema<MaxModelSize> | ||
* Lookup255: pallet_schemas::types::Schema<MaxModelSize> | ||
**/ | ||
@@ -1744,3 +1737,3 @@ PalletSchemasSchema: { | ||
/** | ||
* Lookup254: pallet_schemas::pallet::Error<T> | ||
* Lookup256: pallet_schemas::pallet::Error<T> | ||
**/ | ||
@@ -1751,35 +1744,35 @@ PalletSchemasError: { | ||
/** | ||
* Lookup257: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
* Lookup259: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
**/ | ||
FrameSystemExtensionsCheckNonZeroSender: string; | ||
/** | ||
* Lookup258: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
* Lookup260: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckSpecVersion: string; | ||
/** | ||
* Lookup259: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
* Lookup261: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckTxVersion: string; | ||
/** | ||
* Lookup260: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
* Lookup262: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
**/ | ||
FrameSystemExtensionsCheckGenesis: string; | ||
/** | ||
* Lookup263: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
* Lookup265: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
**/ | ||
CommonRuntimeExtensionsCheckNonce: string; | ||
/** | ||
* Lookup264: frame_system::extensions::check_weight::CheckWeight<T> | ||
* Lookup266: frame_system::extensions::check_weight::CheckWeight<T> | ||
**/ | ||
FrameSystemExtensionsCheckWeight: string; | ||
/** | ||
* Lookup265: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
* Lookup267: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
**/ | ||
PalletTransactionPaymentChargeTransactionPayment: string; | ||
/** | ||
* Lookup266: pallet_msa::CheckFreeExtrinsicUse<T> | ||
* Lookup268: pallet_msa::CheckFreeExtrinsicUse<T> | ||
**/ | ||
PalletMsaCheckFreeExtrinsicUse: string; | ||
/** | ||
* Lookup267: frequency_runtime::Runtime | ||
* Lookup269: frequency_runtime::Runtime | ||
**/ | ||
@@ -1786,0 +1779,0 @@ FrequencyRuntimeRuntime: string; |
@@ -586,23 +586,22 @@ // Auto-generated via `yarn polkadot-types-from-defs`, do not edit | ||
}, | ||
KeyAdded: { | ||
PublicKeyAdded: { | ||
msaId: 'u64', | ||
key: 'AccountId32', | ||
}, | ||
KeyRemoved: { | ||
PublicKeyDeleted: { | ||
key: 'AccountId32', | ||
}, | ||
ProviderAdded: { | ||
DelegationGranted: { | ||
provider: 'u64', | ||
delegator: 'u64', | ||
}, | ||
ProviderRegistered: { | ||
ProviderCreated: { | ||
providerMsaId: 'u64', | ||
}, | ||
DelegatorRevokedDelegation: { | ||
DelegationRevoked: { | ||
provider: 'u64', | ||
delegator: 'u64', | ||
}, | ||
ProviderRevokedDelegation: { | ||
provider: 'u64', | ||
delegator: 'u64' | ||
MsaRetired: { | ||
msaId: 'u64' | ||
} | ||
@@ -1333,6 +1332,6 @@ } | ||
}, | ||
register_provider: { | ||
create_provider: { | ||
providerName: 'Bytes', | ||
}, | ||
add_provider_to_msa: { | ||
grant_delegation: { | ||
delegatorKey: 'AccountId32', | ||
@@ -1342,16 +1341,19 @@ proof: 'SpRuntimeMultiSignature', | ||
}, | ||
revoke_msa_delegation_by_delegator: { | ||
revoke_delegation_by_delegator: { | ||
providerMsaId: 'u64', | ||
}, | ||
add_key_to_msa: { | ||
key: 'AccountId32', | ||
proof: 'SpRuntimeMultiSignature', | ||
add_public_key_to_msa: { | ||
msaOwnerPublicKey: 'AccountId32', | ||
msaOwnerProof: 'SpRuntimeMultiSignature', | ||
newPublicKey: 'AccountId32', | ||
newKeyOwnerProof: 'SpRuntimeMultiSignature', | ||
addKeyPayload: 'PalletMsaAddKeyData', | ||
}, | ||
delete_msa_key: { | ||
delete_msa_public_key: { | ||
key: 'AccountId32', | ||
}, | ||
revoke_delegation_by_provider: { | ||
delegator: 'u64' | ||
} | ||
delegator: 'u64', | ||
}, | ||
retire_msa: 'Null' | ||
} | ||
@@ -1394,3 +1396,2 @@ }, | ||
msaId: 'u64', | ||
nonce: 'u32', | ||
expiration: 'u32' | ||
@@ -1420,3 +1421,3 @@ }, | ||
_enum: { | ||
register_schema: { | ||
create_schema: { | ||
model: 'Bytes', | ||
@@ -1692,30 +1693,22 @@ modelType: 'CommonPrimitivesSchemaModelType', | ||
/** | ||
* Lookup237: common_primitives::msa::ProviderInfo<BlockNumber, MaxSchemaGrants> | ||
* Lookup237: common_primitives::msa::Delegation<SchemaId, BlockNumber, MaxSchemaGrantsPerDelegation> | ||
**/ | ||
CommonPrimitivesMsaProviderInfo: { | ||
expired: 'u32', | ||
schemas: 'CommonPrimitivesDsOrderedSetExt' | ||
CommonPrimitivesMsaDelegation: { | ||
revokedAt: 'u32', | ||
schemaPermissions: 'BTreeMap<u16, Option<u32>>' | ||
}, | ||
/** | ||
* Lookup238: common_primitives::ds::OrderedSetExt<T, S> | ||
* Lookup242: common_primitives::msa::ProviderRegistryEntry<T> | ||
**/ | ||
CommonPrimitivesDsOrderedSetExt: 'OrmlUtilitiesOrderedSet', | ||
/** | ||
* Lookup239: orml_utilities::ordered_set::OrderedSet<T, S> | ||
**/ | ||
OrmlUtilitiesOrderedSet: 'Vec<u16>', | ||
/** | ||
* Lookup241: common_primitives::msa::ProviderMetadata<T> | ||
**/ | ||
CommonPrimitivesMsaProviderMetadata: { | ||
CommonPrimitivesMsaProviderRegistryEntry: { | ||
providerName: 'Bytes' | ||
}, | ||
/** | ||
* Lookup243: pallet_msa::pallet::Error<T> | ||
* Lookup245: 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', 'DuplicateProviderRegistryEntry', 'ExceedsMaxProviderNameSize', 'ExceedsMaxSchemaGrantsPerDelegation', 'SchemaNotGranted', 'ProviderNotRegistered', 'ProofHasExpired', 'ProofNotYetValid', 'SignatureAlreadySubmitted'] | ||
}, | ||
/** | ||
* Lookup246: pallet_messages::types::Message<MaxDataSize> | ||
* Lookup248: pallet_messages::types::Message<MaxDataSize> | ||
**/ | ||
@@ -1729,3 +1722,3 @@ PalletMessagesMessage: { | ||
/** | ||
* Lookup252: pallet_messages::pallet::Error<T> | ||
* Lookup254: pallet_messages::pallet::Error<T> | ||
**/ | ||
@@ -1736,3 +1729,3 @@ PalletMessagesError: { | ||
/** | ||
* Lookup253: pallet_schemas::types::Schema<MaxModelSize> | ||
* Lookup255: pallet_schemas::types::Schema<MaxModelSize> | ||
**/ | ||
@@ -1745,3 +1738,3 @@ PalletSchemasSchema: { | ||
/** | ||
* Lookup254: pallet_schemas::pallet::Error<T> | ||
* Lookup256: pallet_schemas::pallet::Error<T> | ||
**/ | ||
@@ -1752,37 +1745,37 @@ PalletSchemasError: { | ||
/** | ||
* Lookup257: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
* Lookup259: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender<T> | ||
**/ | ||
FrameSystemExtensionsCheckNonZeroSender: 'Null', | ||
/** | ||
* Lookup258: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
* Lookup260: frame_system::extensions::check_spec_version::CheckSpecVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckSpecVersion: 'Null', | ||
/** | ||
* Lookup259: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
* Lookup261: frame_system::extensions::check_tx_version::CheckTxVersion<T> | ||
**/ | ||
FrameSystemExtensionsCheckTxVersion: 'Null', | ||
/** | ||
* Lookup260: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
* Lookup262: frame_system::extensions::check_genesis::CheckGenesis<T> | ||
**/ | ||
FrameSystemExtensionsCheckGenesis: 'Null', | ||
/** | ||
* Lookup263: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
* Lookup265: common_runtime::extensions::check_nonce::CheckNonce<T> | ||
**/ | ||
CommonRuntimeExtensionsCheckNonce: 'Compact<u32>', | ||
/** | ||
* Lookup264: frame_system::extensions::check_weight::CheckWeight<T> | ||
* Lookup266: frame_system::extensions::check_weight::CheckWeight<T> | ||
**/ | ||
FrameSystemExtensionsCheckWeight: 'Null', | ||
/** | ||
* Lookup265: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
* Lookup267: pallet_transaction_payment::ChargeTransactionPayment<T> | ||
**/ | ||
PalletTransactionPaymentChargeTransactionPayment: 'Compact<u128>', | ||
/** | ||
* Lookup266: pallet_msa::CheckFreeExtrinsicUse<T> | ||
* Lookup268: pallet_msa::CheckFreeExtrinsicUse<T> | ||
**/ | ||
PalletMsaCheckFreeExtrinsicUse: 'Null', | ||
/** | ||
* Lookup267: frequency_runtime::Runtime | ||
* Lookup269: 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 { 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 { | ||
CommonPrimitivesDsOrderedSetExt: CommonPrimitivesDsOrderedSetExt; | ||
CommonPrimitivesMsaProviderInfo: CommonPrimitivesMsaProviderInfo; | ||
CommonPrimitivesMsaProviderMetadata: CommonPrimitivesMsaProviderMetadata; | ||
CommonPrimitivesMsaDelegation: CommonPrimitivesMsaDelegation; | ||
CommonPrimitivesMsaProviderRegistryEntry: CommonPrimitivesMsaProviderRegistryEntry; | ||
CommonPrimitivesSchemaModelType: CommonPrimitivesSchemaModelType; | ||
@@ -46,3 +45,2 @@ CommonPrimitivesSchemaPayloadLocation: CommonPrimitivesSchemaPayloadLocation; | ||
FrequencyRuntimeSessionKeys: FrequencyRuntimeSessionKeys; | ||
OrmlUtilitiesOrderedSet: OrmlUtilitiesOrderedSet; | ||
OrmlVestingModuleCall: OrmlVestingModuleCall; | ||
@@ -49,0 +47,0 @@ OrmlVestingModuleError: OrmlVestingModuleError; |
{ | ||
"name": "@frequency-chain/api-augment", | ||
"version": "0.0.0-4d1e51", | ||
"version": "0.0.0-52d435", | ||
"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
537141
12463