-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathcollection.ts
More file actions
33 lines (31 loc) · 828 Bytes
/
collection.ts
File metadata and controls
33 lines (31 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { ElasticSortable } from "./elastic.sortable";
export interface CollectionProperties {
canMint?: boolean;
canBurn?: boolean;
canUpgrade?: boolean;
canTransferNFTCreateRole?: boolean;
canAddSpecialRoles?: boolean;
canPause?: boolean;
canFreeze?: boolean;
canWipe?: boolean;
canChangeOwner?: boolean;
canCreateMultiShard?: boolean;
}
export interface Collection extends ElasticSortable {
_id: string;
name: string;
ticker: string;
token: string;
issuer: string;
currentOwner: string;
numDecimals?: number;
type: string;
timestamp: number;
ownersHistory: { address: string, timestamp: number }[];
properties?: CollectionProperties;
api_isVerified?: boolean;
api_nftCount?: number;
api_holderCount?: number;
nft_scamInfoType?: string;
nft_scamInfoDescription?: string;
}