UNPKG

@npmjs_tdsoftware/subidentity

Version:

This package provides functionality to fetch identities and search identities by address or any identity field from any Substrate chain implementing the identities pallet. It was developed for use in SubIdentity, a Substrate identity directory, and contai

38 lines (37 loc) 1.03 kB
export declare enum AccountActivityTypeEnum { ProVote = "PRO_VOTE", ConVote = "CON_VOTE", Info = "INFO", CouncilorMissed = "COUNCILOR_MISSED", Treasury = "TREASURY" } export declare enum ActivityObject { Referenda = "referenda", CouncilMotion = "council motion", DemocracyProposal = "democracy proposal", Bounty = "bounty", TreasurySpend = "treasury spend", TreasuryTip = "treasury tip" } export declare enum Activity { Proposed = "proposed", VotedAye = "voted aye", VotedNay = "voted nay", MissedVote = "did not vote", Tipped = "tipped" } export declare enum InfoType { Reason = "reason", Description = "description" } export interface AccountActivity { primaryObject: ActivityObject; primaryObjectValue: number | string; secondaryObject?: ActivityObject; secondaryObjectValue?: number | string; additionalInfoType: InfoType; additionalInfoValue: string; activity: Activity; block: number; type: AccountActivityTypeEnum; }