import type { IntentId } from '@frequency-chain/api-augment/schemas'; import type { Struct, Vec, u64 } from '@polkadot/types-codec'; import type { AccountId, BlockNumber } from '@polkadot/types/interfaces/runtime'; /** @name CommonPrimitivesMsaDelegatorId */ export interface CommonPrimitivesMsaDelegatorId extends u64 { } /** @name CommonPrimitivesMsaProviderId */ export interface CommonPrimitivesMsaProviderId extends u64 { } /** @name DelegationGrant */ export interface DelegationGrant extends Struct { readonly granted_id: IntentId; readonly revoked_at: BlockNumber; readonly explicit_revoked_at: BlockNumber; } /** @name DelegationResponse */ export interface DelegationResponse extends Struct { readonly provider_id: ProviderId; readonly permissions: Vec; readonly revoked_at: BlockNumber; } /** @name DelegatorId */ export interface DelegatorId extends MessageSourceId { } /** @name KeyInfoResponse */ export interface KeyInfoResponse extends Struct { readonly msa_keys: Vec; readonly msa_id: MessageSourceId; } /** @name MessageSourceId */ export interface MessageSourceId extends u64 { } /** @name ProviderId */ export interface ProviderId extends MessageSourceId { } /** @name SchemaGrantResponse */ export interface SchemaGrantResponse extends Struct { readonly schema_id: IntentId; readonly revoked_at: BlockNumber; readonly explicit_revoked_at: BlockNumber; } export type PHANTOM_MSA = 'msa';