1
1
/* eslint-disable */
2
- // marketplace-api 6b46374337129883386b9668e652237c3b31eda1
2
+ // marketplace-api c61a788fa5ec759cb8fa989e113468e18e47f632
3
3
// --
4
4
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
5
5
//
8
8
export const WebrpcHeader = 'Webrpc'
9
9
10
10
export const WebrpcHeaderValue =
11
-
11
+
12
12
13
13
// WebRPC description and code-gen version
14
14
export const WebRPCVersion = 'v1'
@@ -17,7 +17,7 @@ export const WebRPCVersion = 'v1'
17
17
export const WebRPCSchemaVersion = ''
18
18
19
19
// Schema hash generated from your RIDL schema
20
- export const WebRPCSchemaHash = '6b46374337129883386b9668e652237c3b31eda1 '
20
+ export const WebRPCSchemaHash = 'c61a788fa5ec759cb8fa989e113468e18e47f632 '
21
21
22
22
type WebrpcGenVersions = {
23
23
webrpcGenVersion : string
@@ -71,6 +71,12 @@ function parseWebrpcGenVersions(header: string): WebrpcGenVersions {
71
71
// Types
72
72
//
73
73
74
+ export enum MetadataStatus {
75
+ NOT_AVAILABLE = 'NOT_AVAILABLE' ,
76
+ REFRESHING = 'REFRESHING' ,
77
+ AVAILABLE = 'AVAILABLE'
78
+ }
79
+
74
80
export interface TokenMetadata {
75
81
tokenId : string
76
82
name : string
@@ -87,6 +93,7 @@ export interface TokenMetadata {
87
93
decimals ?: number
88
94
updatedAt ?: string
89
95
assets ?: Array < Asset >
96
+ status : MetadataStatus
90
97
}
91
98
92
99
export interface Asset {
@@ -292,6 +299,11 @@ export enum PrimarySaleContractStatus {
292
299
failed = 'failed'
293
300
}
294
301
302
+ export enum PrimarySaleVersion {
303
+ v0 = 'v0' ,
304
+ v1 = 'v1'
305
+ }
306
+
295
307
export enum PrimarySaleItemDetailType {
296
308
unknown = 'unknown' ,
297
309
global = 'global' ,
@@ -564,6 +576,7 @@ export interface PrimarySaleContract {
564
576
contractAddress : string
565
577
collectionAddress : string
566
578
contractType : ContractType
579
+ version : PrimarySaleVersion
567
580
currencyAddress : string
568
581
priceDecimals : number
569
582
status : PrimarySaleContractStatus
@@ -585,6 +598,8 @@ export interface PrimarySaleItem {
585
598
priceAmount : string
586
599
priceAmountFormatted : string
587
600
supply : string
601
+ supplyCap : string
602
+ unlimitedSupply : boolean
588
603
createdAt : string
589
604
updatedAt : string
590
605
deletedAt ?: string
0 commit comments