// Auto-generated via `yarn polkadot-types-from-defs`, do not edit /* eslint-disable */ import type { Data, Enum, Option, Set, Struct, Vec, u32 } from '@polkadot/types'; import type { ITuple } from '@polkadot/types/types'; import type { AccountId, Balance, H160 } from '@polkadot/types/interfaces/runtime'; /** @name IdentityFields */ export interface IdentityFields extends Set { readonly isDisplay: boolean; readonly isLegal: boolean; readonly isWeb: boolean; readonly isRiot: boolean; readonly isEmail: boolean; readonly isPgpFingerprint: boolean; readonly isImage: boolean; readonly isTwitter: boolean; } /** @name IdentityInfo */ export interface IdentityInfo extends Struct { readonly additional: Vec; readonly display: Data; readonly legal: Data; readonly web: Data; readonly riot: Data; readonly email: Data; readonly pgpFingerprint: Option; readonly image: Data; readonly twitter: Data; } /** @name IdentityInfoAdditional */ export interface IdentityInfoAdditional extends ITuple<[Data, Data]> {} /** @name IdentityJudgement */ export interface IdentityJudgement extends Enum { readonly isUnknown: boolean; readonly isFeePaid: boolean; readonly asFeePaid: Balance; readonly isReasonable: boolean; readonly isKnownGood: boolean; readonly isOutOfDate: boolean; readonly isLowQuality: boolean; readonly isErroneous: boolean; } /** @name RegistrarIndex */ export interface RegistrarIndex extends u32 {} /** @name RegistrarInfo */ export interface RegistrarInfo extends Struct { readonly account: AccountId; readonly fee: Balance; readonly fields: IdentityFields; } /** @name Registration */ export interface Registration extends Struct { readonly judgements: Vec; readonly deposit: Balance; readonly info: IdentityInfo; } /** @name RegistrationJudgement */ export interface RegistrationJudgement extends ITuple<[RegistrarIndex, IdentityJudgement]> {} export type PHANTOM_IDENTITY = 'identity';