zkcloudworker 0.16.4 → 0.16.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/ts/src/mina/index.d.ts +0 -1
- package/lib/ts/src/mina/index.js +0 -1
- package/lib/ts/src/mina/utils/index.d.ts +2 -0
- package/lib/ts/src/mina/utils/index.js +2 -0
- package/lib/ts/src/mina/utils/indexed-map.d.ts +21 -0
- package/lib/ts/src/mina/{nft/whitelist.js → utils/indexed-map.js} +24 -30
- package/lib/ts/src/mina/utils/ipfs.d.ts +5 -0
- package/lib/ts/src/mina/utils/ipfs.js +10 -0
- package/lib/ts/tsconfig.tsbuildinfo +1 -1
- package/lib/web/src/mina/index.d.ts +0 -1
- package/lib/web/src/mina/index.js +0 -1
- package/lib/web/src/mina/index.js.map +1 -1
- package/lib/web/src/mina/utils/index.d.ts +2 -0
- package/lib/web/src/mina/utils/index.js +2 -0
- package/lib/web/src/mina/utils/index.js.map +1 -1
- package/lib/web/src/mina/utils/indexed-map.d.ts +21 -0
- package/lib/web/src/mina/{nft/whitelist.js → utils/indexed-map.js} +22 -26
- package/lib/web/src/mina/utils/indexed-map.js.map +1 -0
- package/lib/web/src/mina/utils/ipfs.d.ts +5 -0
- package/lib/web/src/mina/utils/ipfs.js +8 -0
- package/lib/web/src/mina/utils/ipfs.js.map +1 -0
- package/lib/web/tsconfig.web.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/lib/ts/src/mina/nft/index.d.ts +0 -3
- package/lib/ts/src/mina/nft/index.js +0 -19
- package/lib/ts/src/mina/nft/types.d.ts +0 -1254
- package/lib/ts/src/mina/nft/types.js +0 -236
- package/lib/ts/src/mina/nft/whitelist-admin.d.ts +0 -23
- package/lib/ts/src/mina/nft/whitelist-admin.js +0 -139
- package/lib/ts/src/mina/nft/whitelist.d.ts +0 -20
- package/lib/web/src/mina/nft/index.d.ts +0 -3
- package/lib/web/src/mina/nft/index.js +0 -4
- package/lib/web/src/mina/nft/index.js.map +0 -1
- package/lib/web/src/mina/nft/types.d.ts +0 -1254
- package/lib/web/src/mina/nft/types.js +0 -227
- package/lib/web/src/mina/nft/types.js.map +0 -1
- package/lib/web/src/mina/nft/whitelist-admin.d.ts +0 -23
- package/lib/web/src/mina/nft/whitelist-admin.js +0 -128
- package/lib/web/src/mina/nft/whitelist-admin.js.map +0 -1
- package/lib/web/src/mina/nft/whitelist.d.ts +0 -20
- package/lib/web/src/mina/nft/whitelist.js.map +0 -1
@@ -1,1254 +0,0 @@
|
|
1
|
-
import { Field, PublicKey, Bool, VerificationKey, UInt32, UInt64, Provable, DynamicProof, SmartContract } from "o1js";
|
2
|
-
export { Storage, MintParams, MintSignatureData, NFTData, CollectionData, NFTState, NFTImmutableState, NFTUpdateProof, NFTAdminBase, };
|
3
|
-
declare const Storage_base: (new (value: {
|
4
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
5
|
-
}) => {
|
6
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
7
|
-
}) & {
|
8
|
-
_isStruct: true;
|
9
|
-
} & Omit<import("o1js/dist/node/lib/provable/types/provable-intf").Provable<{
|
10
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
11
|
-
}, {
|
12
|
-
url: bigint[];
|
13
|
-
}>, "fromFields"> & {
|
14
|
-
fromFields: (fields: import("o1js/dist/node/lib/provable/field").Field[]) => {
|
15
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
16
|
-
};
|
17
|
-
} & {
|
18
|
-
fromValue: (value: {
|
19
|
-
url: import("o1js/dist/node/lib/provable/field").Field[] | bigint[];
|
20
|
-
}) => {
|
21
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
22
|
-
};
|
23
|
-
toInput: (x: {
|
24
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
25
|
-
}) => {
|
26
|
-
fields?: Field[] | undefined;
|
27
|
-
packed?: [Field, number][] | undefined;
|
28
|
-
};
|
29
|
-
toJSON: (x: {
|
30
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
31
|
-
}) => {
|
32
|
-
url: string[];
|
33
|
-
};
|
34
|
-
fromJSON: (x: {
|
35
|
-
url: string[];
|
36
|
-
}) => {
|
37
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
38
|
-
};
|
39
|
-
empty: () => {
|
40
|
-
url: import("o1js/dist/node/lib/provable/field").Field[];
|
41
|
-
};
|
42
|
-
};
|
43
|
-
declare class Storage extends Storage_base {
|
44
|
-
constructor(value: {
|
45
|
-
url: [Field, Field];
|
46
|
-
});
|
47
|
-
static assertEquals(a: Storage, b: Storage): void;
|
48
|
-
static equals(a: Storage, b: Storage): Bool;
|
49
|
-
static fromURL(url: string): Storage;
|
50
|
-
toURL(): string;
|
51
|
-
}
|
52
|
-
declare const NFTImmutableState_base: (new (value: {
|
53
|
-
creator: PublicKey;
|
54
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
55
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
56
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
57
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
58
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
59
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
60
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
61
|
-
address: PublicKey;
|
62
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
63
|
-
}) => {
|
64
|
-
creator: PublicKey;
|
65
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
66
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
67
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
68
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
69
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
70
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
71
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
72
|
-
address: PublicKey;
|
73
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
74
|
-
}) & {
|
75
|
-
_isStruct: true;
|
76
|
-
} & Omit<import("o1js/dist/node/lib/provable/types/provable-intf").Provable<{
|
77
|
-
creator: PublicKey;
|
78
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
79
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
80
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
81
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
82
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
83
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
84
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
85
|
-
address: PublicKey;
|
86
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
87
|
-
}, {
|
88
|
-
creator: {
|
89
|
-
x: bigint;
|
90
|
-
isOdd: boolean;
|
91
|
-
};
|
92
|
-
canChangeOwner: boolean;
|
93
|
-
canChangeMetadata: boolean;
|
94
|
-
canChangePrice: boolean;
|
95
|
-
canChangeStorage: boolean;
|
96
|
-
canChangeName: boolean;
|
97
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
98
|
-
canPause: boolean;
|
99
|
-
address: {
|
100
|
-
x: bigint;
|
101
|
-
isOdd: boolean;
|
102
|
-
};
|
103
|
-
tokenId: bigint;
|
104
|
-
}>, "fromFields"> & {
|
105
|
-
fromFields: (fields: import("o1js/dist/node/lib/provable/field").Field[]) => {
|
106
|
-
creator: PublicKey;
|
107
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
108
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
109
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
110
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
111
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
112
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
113
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
114
|
-
address: PublicKey;
|
115
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
116
|
-
};
|
117
|
-
} & {
|
118
|
-
fromValue: (value: {
|
119
|
-
creator: PublicKey | {
|
120
|
-
x: Field | bigint;
|
121
|
-
isOdd: Bool | boolean;
|
122
|
-
};
|
123
|
-
canChangeOwner: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
124
|
-
canChangeMetadata: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
125
|
-
canChangePrice: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
126
|
-
canChangeStorage: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
127
|
-
canChangeName: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
128
|
-
canChangeMetadataVerificationKeyHash: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
129
|
-
canPause: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
130
|
-
address: PublicKey | {
|
131
|
-
x: Field | bigint;
|
132
|
-
isOdd: Bool | boolean;
|
133
|
-
};
|
134
|
-
tokenId: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
135
|
-
}) => {
|
136
|
-
creator: PublicKey;
|
137
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
138
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
139
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
140
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
141
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
142
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
143
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
144
|
-
address: PublicKey;
|
145
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
146
|
-
};
|
147
|
-
toInput: (x: {
|
148
|
-
creator: PublicKey;
|
149
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
150
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
151
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
152
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
153
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
154
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
155
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
156
|
-
address: PublicKey;
|
157
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
158
|
-
}) => {
|
159
|
-
fields?: Field[] | undefined;
|
160
|
-
packed?: [Field, number][] | undefined;
|
161
|
-
};
|
162
|
-
toJSON: (x: {
|
163
|
-
creator: PublicKey;
|
164
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
165
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
166
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
167
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
168
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
169
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
170
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
171
|
-
address: PublicKey;
|
172
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
173
|
-
}) => {
|
174
|
-
creator: string;
|
175
|
-
canChangeOwner: boolean;
|
176
|
-
canChangeMetadata: boolean;
|
177
|
-
canChangePrice: boolean;
|
178
|
-
canChangeStorage: boolean;
|
179
|
-
canChangeName: boolean;
|
180
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
181
|
-
canPause: boolean;
|
182
|
-
address: string;
|
183
|
-
tokenId: string;
|
184
|
-
};
|
185
|
-
fromJSON: (x: {
|
186
|
-
creator: string;
|
187
|
-
canChangeOwner: boolean;
|
188
|
-
canChangeMetadata: boolean;
|
189
|
-
canChangePrice: boolean;
|
190
|
-
canChangeStorage: boolean;
|
191
|
-
canChangeName: boolean;
|
192
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
193
|
-
canPause: boolean;
|
194
|
-
address: string;
|
195
|
-
tokenId: string;
|
196
|
-
}) => {
|
197
|
-
creator: PublicKey;
|
198
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
199
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
200
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
201
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
202
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
203
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
204
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
205
|
-
address: PublicKey;
|
206
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
207
|
-
};
|
208
|
-
empty: () => {
|
209
|
-
creator: PublicKey;
|
210
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
211
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
212
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
213
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
214
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
215
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
216
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
217
|
-
address: PublicKey;
|
218
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
219
|
-
};
|
220
|
-
};
|
221
|
-
declare class NFTImmutableState extends NFTImmutableState_base {
|
222
|
-
static assertEqual(a: NFTImmutableState, b: NFTImmutableState): void;
|
223
|
-
}
|
224
|
-
declare const NFTState_base: (new (value: {
|
225
|
-
immutableState: NFTImmutableState;
|
226
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
227
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
228
|
-
storage: Storage;
|
229
|
-
owner: PublicKey;
|
230
|
-
price: UInt64;
|
231
|
-
version: UInt32;
|
232
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
233
|
-
}) => {
|
234
|
-
immutableState: NFTImmutableState;
|
235
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
236
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
237
|
-
storage: Storage;
|
238
|
-
owner: PublicKey;
|
239
|
-
price: UInt64;
|
240
|
-
version: UInt32;
|
241
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
242
|
-
}) & {
|
243
|
-
_isStruct: true;
|
244
|
-
} & Omit<import("o1js/dist/node/lib/provable/types/provable-intf").Provable<{
|
245
|
-
immutableState: NFTImmutableState;
|
246
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
247
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
248
|
-
storage: Storage;
|
249
|
-
owner: PublicKey;
|
250
|
-
price: UInt64;
|
251
|
-
version: UInt32;
|
252
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
253
|
-
}, {
|
254
|
-
immutableState: {
|
255
|
-
creator: {
|
256
|
-
x: bigint;
|
257
|
-
isOdd: boolean;
|
258
|
-
};
|
259
|
-
canChangeOwner: boolean;
|
260
|
-
canChangeMetadata: boolean;
|
261
|
-
canChangePrice: boolean;
|
262
|
-
canChangeStorage: boolean;
|
263
|
-
canChangeName: boolean;
|
264
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
265
|
-
canPause: boolean;
|
266
|
-
address: {
|
267
|
-
x: bigint;
|
268
|
-
isOdd: boolean;
|
269
|
-
};
|
270
|
-
tokenId: bigint;
|
271
|
-
};
|
272
|
-
name: bigint;
|
273
|
-
metadata: bigint;
|
274
|
-
storage: {
|
275
|
-
url: bigint[];
|
276
|
-
};
|
277
|
-
owner: {
|
278
|
-
x: bigint;
|
279
|
-
isOdd: boolean;
|
280
|
-
};
|
281
|
-
price: bigint;
|
282
|
-
version: bigint;
|
283
|
-
isPaused: boolean;
|
284
|
-
}>, "fromFields"> & {
|
285
|
-
fromFields: (fields: import("o1js/dist/node/lib/provable/field").Field[]) => {
|
286
|
-
immutableState: NFTImmutableState;
|
287
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
288
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
289
|
-
storage: Storage;
|
290
|
-
owner: PublicKey;
|
291
|
-
price: UInt64;
|
292
|
-
version: UInt32;
|
293
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
294
|
-
};
|
295
|
-
} & {
|
296
|
-
fromValue: (value: {
|
297
|
-
immutableState: NFTImmutableState | {
|
298
|
-
creator: PublicKey | {
|
299
|
-
x: Field | bigint;
|
300
|
-
isOdd: Bool | boolean;
|
301
|
-
};
|
302
|
-
canChangeOwner: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
303
|
-
canChangeMetadata: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
304
|
-
canChangePrice: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
305
|
-
canChangeStorage: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
306
|
-
canChangeName: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
307
|
-
canChangeMetadataVerificationKeyHash: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
308
|
-
canPause: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
309
|
-
address: PublicKey | {
|
310
|
-
x: Field | bigint;
|
311
|
-
isOdd: Bool | boolean;
|
312
|
-
};
|
313
|
-
tokenId: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
314
|
-
};
|
315
|
-
name: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
316
|
-
metadata: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
317
|
-
storage: Storage | {
|
318
|
-
url: import("o1js/dist/node/lib/provable/field").Field[] | bigint[];
|
319
|
-
};
|
320
|
-
owner: PublicKey | {
|
321
|
-
x: Field | bigint;
|
322
|
-
isOdd: Bool | boolean;
|
323
|
-
};
|
324
|
-
price: bigint | UInt64;
|
325
|
-
version: bigint | UInt32;
|
326
|
-
isPaused: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
327
|
-
}) => {
|
328
|
-
immutableState: NFTImmutableState;
|
329
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
330
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
331
|
-
storage: Storage;
|
332
|
-
owner: PublicKey;
|
333
|
-
price: UInt64;
|
334
|
-
version: UInt32;
|
335
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
336
|
-
};
|
337
|
-
toInput: (x: {
|
338
|
-
immutableState: NFTImmutableState;
|
339
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
340
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
341
|
-
storage: Storage;
|
342
|
-
owner: PublicKey;
|
343
|
-
price: UInt64;
|
344
|
-
version: UInt32;
|
345
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
346
|
-
}) => {
|
347
|
-
fields?: Field[] | undefined;
|
348
|
-
packed?: [Field, number][] | undefined;
|
349
|
-
};
|
350
|
-
toJSON: (x: {
|
351
|
-
immutableState: NFTImmutableState;
|
352
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
353
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
354
|
-
storage: Storage;
|
355
|
-
owner: PublicKey;
|
356
|
-
price: UInt64;
|
357
|
-
version: UInt32;
|
358
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
359
|
-
}) => {
|
360
|
-
immutableState: {
|
361
|
-
creator: string;
|
362
|
-
canChangeOwner: boolean;
|
363
|
-
canChangeMetadata: boolean;
|
364
|
-
canChangePrice: boolean;
|
365
|
-
canChangeStorage: boolean;
|
366
|
-
canChangeName: boolean;
|
367
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
368
|
-
canPause: boolean;
|
369
|
-
address: string;
|
370
|
-
tokenId: string;
|
371
|
-
};
|
372
|
-
name: string;
|
373
|
-
metadata: string;
|
374
|
-
storage: {
|
375
|
-
url: string[];
|
376
|
-
};
|
377
|
-
owner: string;
|
378
|
-
price: string;
|
379
|
-
version: string;
|
380
|
-
isPaused: boolean;
|
381
|
-
};
|
382
|
-
fromJSON: (x: {
|
383
|
-
immutableState: {
|
384
|
-
creator: string;
|
385
|
-
canChangeOwner: boolean;
|
386
|
-
canChangeMetadata: boolean;
|
387
|
-
canChangePrice: boolean;
|
388
|
-
canChangeStorage: boolean;
|
389
|
-
canChangeName: boolean;
|
390
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
391
|
-
canPause: boolean;
|
392
|
-
address: string;
|
393
|
-
tokenId: string;
|
394
|
-
};
|
395
|
-
name: string;
|
396
|
-
metadata: string;
|
397
|
-
storage: {
|
398
|
-
url: string[];
|
399
|
-
};
|
400
|
-
owner: string;
|
401
|
-
price: string;
|
402
|
-
version: string;
|
403
|
-
isPaused: boolean;
|
404
|
-
}) => {
|
405
|
-
immutableState: NFTImmutableState;
|
406
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
407
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
408
|
-
storage: Storage;
|
409
|
-
owner: PublicKey;
|
410
|
-
price: UInt64;
|
411
|
-
version: UInt32;
|
412
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
413
|
-
};
|
414
|
-
empty: () => {
|
415
|
-
immutableState: NFTImmutableState;
|
416
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
417
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
418
|
-
storage: Storage;
|
419
|
-
owner: PublicKey;
|
420
|
-
price: UInt64;
|
421
|
-
version: UInt32;
|
422
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
423
|
-
};
|
424
|
-
};
|
425
|
-
declare class NFTState extends NFTState_base {
|
426
|
-
static assertEqual(a: NFTState, b: NFTState): void;
|
427
|
-
}
|
428
|
-
declare class NFTUpdateProof extends DynamicProof<NFTState, NFTState> {
|
429
|
-
static publicInputType: typeof NFTState;
|
430
|
-
static publicOutputType: typeof NFTState;
|
431
|
-
static maxProofsVerified: 2;
|
432
|
-
static featureFlags: {
|
433
|
-
rangeCheck0: undefined;
|
434
|
-
rangeCheck1: undefined;
|
435
|
-
foreignFieldAdd: undefined;
|
436
|
-
foreignFieldMul: undefined;
|
437
|
-
xor: undefined;
|
438
|
-
rot: undefined;
|
439
|
-
lookup: undefined;
|
440
|
-
runtimeTables: undefined;
|
441
|
-
};
|
442
|
-
}
|
443
|
-
declare const NFTData_base: (new (value: {
|
444
|
-
price: UInt64;
|
445
|
-
version: UInt32;
|
446
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
447
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
448
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
449
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
450
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
451
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
452
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
453
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
454
|
-
}) => {
|
455
|
-
price: UInt64;
|
456
|
-
version: UInt32;
|
457
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
458
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
459
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
460
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
461
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
462
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
463
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
464
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
465
|
-
}) & {
|
466
|
-
_isStruct: true;
|
467
|
-
} & Omit<import("o1js/dist/node/lib/provable/types/provable-intf").Provable<{
|
468
|
-
price: UInt64;
|
469
|
-
version: UInt32;
|
470
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
471
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
472
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
473
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
474
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
475
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
476
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
477
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
478
|
-
}, {
|
479
|
-
price: bigint;
|
480
|
-
version: bigint;
|
481
|
-
canChangeOwner: boolean;
|
482
|
-
canChangeMetadata: boolean;
|
483
|
-
canChangePrice: boolean;
|
484
|
-
canChangeStorage: boolean;
|
485
|
-
canChangeName: boolean;
|
486
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
487
|
-
canPause: boolean;
|
488
|
-
isPaused: boolean;
|
489
|
-
}>, "fromFields"> & {
|
490
|
-
fromFields: (fields: import("o1js/dist/node/lib/provable/field").Field[]) => {
|
491
|
-
price: UInt64;
|
492
|
-
version: UInt32;
|
493
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
494
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
495
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
496
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
497
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
498
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
499
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
500
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
501
|
-
};
|
502
|
-
} & {
|
503
|
-
fromValue: (value: {
|
504
|
-
price: bigint | UInt64;
|
505
|
-
version: bigint | UInt32;
|
506
|
-
canChangeOwner: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
507
|
-
canChangeMetadata: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
508
|
-
canChangePrice: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
509
|
-
canChangeStorage: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
510
|
-
canChangeName: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
511
|
-
canChangeMetadataVerificationKeyHash: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
512
|
-
canPause: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
513
|
-
isPaused: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
514
|
-
}) => {
|
515
|
-
price: UInt64;
|
516
|
-
version: UInt32;
|
517
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
518
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
519
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
520
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
521
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
522
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
523
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
524
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
525
|
-
};
|
526
|
-
toInput: (x: {
|
527
|
-
price: UInt64;
|
528
|
-
version: UInt32;
|
529
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
530
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
531
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
532
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
533
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
534
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
535
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
536
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
537
|
-
}) => {
|
538
|
-
fields?: Field[] | undefined;
|
539
|
-
packed?: [Field, number][] | undefined;
|
540
|
-
};
|
541
|
-
toJSON: (x: {
|
542
|
-
price: UInt64;
|
543
|
-
version: UInt32;
|
544
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
545
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
546
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
547
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
548
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
549
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
550
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
551
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
552
|
-
}) => {
|
553
|
-
price: string;
|
554
|
-
version: string;
|
555
|
-
canChangeOwner: boolean;
|
556
|
-
canChangeMetadata: boolean;
|
557
|
-
canChangePrice: boolean;
|
558
|
-
canChangeStorage: boolean;
|
559
|
-
canChangeName: boolean;
|
560
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
561
|
-
canPause: boolean;
|
562
|
-
isPaused: boolean;
|
563
|
-
};
|
564
|
-
fromJSON: (x: {
|
565
|
-
price: string;
|
566
|
-
version: string;
|
567
|
-
canChangeOwner: boolean;
|
568
|
-
canChangeMetadata: boolean;
|
569
|
-
canChangePrice: boolean;
|
570
|
-
canChangeStorage: boolean;
|
571
|
-
canChangeName: boolean;
|
572
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
573
|
-
canPause: boolean;
|
574
|
-
isPaused: boolean;
|
575
|
-
}) => {
|
576
|
-
price: UInt64;
|
577
|
-
version: UInt32;
|
578
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
579
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
580
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
581
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
582
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
583
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
584
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
585
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
586
|
-
};
|
587
|
-
empty: () => {
|
588
|
-
price: UInt64;
|
589
|
-
version: UInt32;
|
590
|
-
canChangeOwner: import("o1js/dist/node/lib/provable/bool").Bool;
|
591
|
-
canChangeMetadata: import("o1js/dist/node/lib/provable/bool").Bool;
|
592
|
-
canChangePrice: import("o1js/dist/node/lib/provable/bool").Bool;
|
593
|
-
canChangeStorage: import("o1js/dist/node/lib/provable/bool").Bool;
|
594
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
595
|
-
canChangeMetadataVerificationKeyHash: import("o1js/dist/node/lib/provable/bool").Bool;
|
596
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
597
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
598
|
-
};
|
599
|
-
};
|
600
|
-
declare class NFTData extends NFTData_base {
|
601
|
-
new(params?: {
|
602
|
-
price?: number;
|
603
|
-
version?: number;
|
604
|
-
canChangeOwner?: boolean;
|
605
|
-
canChangeMetadata?: boolean;
|
606
|
-
canChangePrice?: boolean;
|
607
|
-
canChangeStorage?: boolean;
|
608
|
-
canChangeName?: boolean;
|
609
|
-
canChangeMetadataVerificationKeyHash?: boolean;
|
610
|
-
canPause?: boolean;
|
611
|
-
isPaused?: boolean;
|
612
|
-
}): NFTData;
|
613
|
-
pack(): Field;
|
614
|
-
static unpack(packed: Field): NFTData;
|
615
|
-
}
|
616
|
-
declare const CollectionData_base: (new (value: {
|
617
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
618
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
619
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
620
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
621
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
622
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
623
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
624
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
625
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
626
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
627
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
628
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
629
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
630
|
-
}) => {
|
631
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
632
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
633
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
634
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
635
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
636
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
637
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
638
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
639
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
640
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
641
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
642
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
643
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
644
|
-
}) & {
|
645
|
-
_isStruct: true;
|
646
|
-
} & Omit<import("o1js/dist/node/lib/provable/types/provable-intf").Provable<{
|
647
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
648
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
649
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
650
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
651
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
652
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
653
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
654
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
655
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
656
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
657
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
658
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
659
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
660
|
-
}, {
|
661
|
-
requireTransferApproval: boolean;
|
662
|
-
requireUpdateApproval: boolean;
|
663
|
-
requireSaleApproval: boolean;
|
664
|
-
requireBuyApproval: boolean;
|
665
|
-
requireMintApproval: boolean;
|
666
|
-
canMint: boolean;
|
667
|
-
canPause: boolean;
|
668
|
-
canResume: boolean;
|
669
|
-
canChangeName: boolean;
|
670
|
-
canChangeCreator: boolean;
|
671
|
-
canChangeBaseUri: boolean;
|
672
|
-
canChangeSaleCommission: boolean;
|
673
|
-
isPaused: boolean;
|
674
|
-
}>, "fromFields"> & {
|
675
|
-
fromFields: (fields: import("o1js/dist/node/lib/provable/field").Field[]) => {
|
676
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
677
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
678
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
679
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
680
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
681
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
682
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
683
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
684
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
685
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
686
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
687
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
688
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
689
|
-
};
|
690
|
-
} & {
|
691
|
-
fromValue: (value: {
|
692
|
-
requireTransferApproval: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
693
|
-
requireUpdateApproval: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
694
|
-
requireSaleApproval: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
695
|
-
requireBuyApproval: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
696
|
-
requireMintApproval: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
697
|
-
canMint: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
698
|
-
canPause: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
699
|
-
canResume: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
700
|
-
canChangeName: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
701
|
-
canChangeCreator: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
702
|
-
canChangeBaseUri: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
703
|
-
canChangeSaleCommission: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
704
|
-
isPaused: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
705
|
-
}) => {
|
706
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
707
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
708
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
709
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
710
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
711
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
712
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
713
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
714
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
715
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
716
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
717
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
718
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
719
|
-
};
|
720
|
-
toInput: (x: {
|
721
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
722
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
723
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
724
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
725
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
726
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
727
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
728
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
729
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
730
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
731
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
732
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
733
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
734
|
-
}) => {
|
735
|
-
fields?: Field[] | undefined;
|
736
|
-
packed?: [Field, number][] | undefined;
|
737
|
-
};
|
738
|
-
toJSON: (x: {
|
739
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
740
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
741
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
742
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
743
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
744
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
745
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
746
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
747
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
748
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
749
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
750
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
751
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
752
|
-
}) => {
|
753
|
-
requireTransferApproval: boolean;
|
754
|
-
requireUpdateApproval: boolean;
|
755
|
-
requireSaleApproval: boolean;
|
756
|
-
requireBuyApproval: boolean;
|
757
|
-
requireMintApproval: boolean;
|
758
|
-
canMint: boolean;
|
759
|
-
canPause: boolean;
|
760
|
-
canResume: boolean;
|
761
|
-
canChangeName: boolean;
|
762
|
-
canChangeCreator: boolean;
|
763
|
-
canChangeBaseUri: boolean;
|
764
|
-
canChangeSaleCommission: boolean;
|
765
|
-
isPaused: boolean;
|
766
|
-
};
|
767
|
-
fromJSON: (x: {
|
768
|
-
requireTransferApproval: boolean;
|
769
|
-
requireUpdateApproval: boolean;
|
770
|
-
requireSaleApproval: boolean;
|
771
|
-
requireBuyApproval: boolean;
|
772
|
-
requireMintApproval: boolean;
|
773
|
-
canMint: boolean;
|
774
|
-
canPause: boolean;
|
775
|
-
canResume: boolean;
|
776
|
-
canChangeName: boolean;
|
777
|
-
canChangeCreator: boolean;
|
778
|
-
canChangeBaseUri: boolean;
|
779
|
-
canChangeSaleCommission: boolean;
|
780
|
-
isPaused: boolean;
|
781
|
-
}) => {
|
782
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
783
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
784
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
785
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
786
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
787
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
788
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
789
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
790
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
791
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
792
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
793
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
794
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
795
|
-
};
|
796
|
-
empty: () => {
|
797
|
-
requireTransferApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
798
|
-
requireUpdateApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
799
|
-
requireSaleApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
800
|
-
requireBuyApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
801
|
-
requireMintApproval: import("o1js/dist/node/lib/provable/bool").Bool;
|
802
|
-
canMint: import("o1js/dist/node/lib/provable/bool").Bool;
|
803
|
-
canPause: import("o1js/dist/node/lib/provable/bool").Bool;
|
804
|
-
canResume: import("o1js/dist/node/lib/provable/bool").Bool;
|
805
|
-
canChangeName: import("o1js/dist/node/lib/provable/bool").Bool;
|
806
|
-
canChangeCreator: import("o1js/dist/node/lib/provable/bool").Bool;
|
807
|
-
canChangeBaseUri: import("o1js/dist/node/lib/provable/bool").Bool;
|
808
|
-
canChangeSaleCommission: import("o1js/dist/node/lib/provable/bool").Bool;
|
809
|
-
isPaused: import("o1js/dist/node/lib/provable/bool").Bool;
|
810
|
-
};
|
811
|
-
};
|
812
|
-
declare class CollectionData extends CollectionData_base {
|
813
|
-
pack(): Field;
|
814
|
-
static unpack(packed: Field): CollectionData;
|
815
|
-
}
|
816
|
-
declare const MintParams_base: (new (value: {
|
817
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
818
|
-
address: PublicKey;
|
819
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
820
|
-
owner: PublicKey;
|
821
|
-
data: NFTData;
|
822
|
-
fee: UInt64;
|
823
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
824
|
-
storage: Storage;
|
825
|
-
metadataVerificationKey: VerificationKey;
|
826
|
-
nftVerificationKey: VerificationKey;
|
827
|
-
expiry: UInt32;
|
828
|
-
}) => {
|
829
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
830
|
-
address: PublicKey;
|
831
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
832
|
-
owner: PublicKey;
|
833
|
-
data: NFTData;
|
834
|
-
fee: UInt64;
|
835
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
836
|
-
storage: Storage;
|
837
|
-
metadataVerificationKey: VerificationKey;
|
838
|
-
nftVerificationKey: VerificationKey;
|
839
|
-
expiry: UInt32;
|
840
|
-
}) & {
|
841
|
-
_isStruct: true;
|
842
|
-
} & Provable<{
|
843
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
844
|
-
address: PublicKey;
|
845
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
846
|
-
owner: PublicKey;
|
847
|
-
data: NFTData;
|
848
|
-
fee: UInt64;
|
849
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
850
|
-
storage: Storage;
|
851
|
-
metadataVerificationKey: VerificationKey;
|
852
|
-
nftVerificationKey: VerificationKey;
|
853
|
-
expiry: UInt32;
|
854
|
-
}, {
|
855
|
-
name: bigint;
|
856
|
-
address: {
|
857
|
-
x: bigint;
|
858
|
-
isOdd: boolean;
|
859
|
-
};
|
860
|
-
tokenId: bigint;
|
861
|
-
owner: {
|
862
|
-
x: bigint;
|
863
|
-
isOdd: boolean;
|
864
|
-
};
|
865
|
-
data: {
|
866
|
-
price: bigint;
|
867
|
-
version: bigint;
|
868
|
-
canChangeOwner: boolean;
|
869
|
-
canChangeMetadata: boolean;
|
870
|
-
canChangePrice: boolean;
|
871
|
-
canChangeStorage: boolean;
|
872
|
-
canChangeName: boolean;
|
873
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
874
|
-
canPause: boolean;
|
875
|
-
isPaused: boolean;
|
876
|
-
};
|
877
|
-
fee: bigint;
|
878
|
-
metadata: bigint;
|
879
|
-
storage: {
|
880
|
-
url: bigint[];
|
881
|
-
};
|
882
|
-
metadataVerificationKey: {
|
883
|
-
data: string;
|
884
|
-
hash: bigint;
|
885
|
-
};
|
886
|
-
nftVerificationKey: {
|
887
|
-
data: string;
|
888
|
-
hash: bigint;
|
889
|
-
};
|
890
|
-
expiry: bigint;
|
891
|
-
}> & {
|
892
|
-
fromValue: (value: {
|
893
|
-
name: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
894
|
-
address: PublicKey | {
|
895
|
-
x: Field | bigint;
|
896
|
-
isOdd: Bool | boolean;
|
897
|
-
};
|
898
|
-
tokenId: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
899
|
-
owner: PublicKey | {
|
900
|
-
x: Field | bigint;
|
901
|
-
isOdd: Bool | boolean;
|
902
|
-
};
|
903
|
-
data: NFTData | {
|
904
|
-
price: bigint | UInt64;
|
905
|
-
version: bigint | UInt32;
|
906
|
-
canChangeOwner: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
907
|
-
canChangeMetadata: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
908
|
-
canChangePrice: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
909
|
-
canChangeStorage: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
910
|
-
canChangeName: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
911
|
-
canChangeMetadataVerificationKeyHash: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
912
|
-
canPause: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
913
|
-
isPaused: boolean | import("o1js/dist/node/lib/provable/bool").Bool;
|
914
|
-
};
|
915
|
-
fee: bigint | UInt64;
|
916
|
-
metadata: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
917
|
-
storage: Storage | {
|
918
|
-
url: import("o1js/dist/node/lib/provable/field").Field[] | bigint[];
|
919
|
-
};
|
920
|
-
metadataVerificationKey: VerificationKey | {
|
921
|
-
data: string;
|
922
|
-
hash: import("o1js/dist/node/lib/provable/field").Field;
|
923
|
-
} | {
|
924
|
-
data: string;
|
925
|
-
hash: bigint;
|
926
|
-
};
|
927
|
-
nftVerificationKey: VerificationKey | {
|
928
|
-
data: string;
|
929
|
-
hash: import("o1js/dist/node/lib/provable/field").Field;
|
930
|
-
} | {
|
931
|
-
data: string;
|
932
|
-
hash: bigint;
|
933
|
-
};
|
934
|
-
expiry: bigint | UInt32;
|
935
|
-
}) => {
|
936
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
937
|
-
address: PublicKey;
|
938
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
939
|
-
owner: PublicKey;
|
940
|
-
data: NFTData;
|
941
|
-
fee: UInt64;
|
942
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
943
|
-
storage: Storage;
|
944
|
-
metadataVerificationKey: VerificationKey;
|
945
|
-
nftVerificationKey: VerificationKey;
|
946
|
-
expiry: UInt32;
|
947
|
-
};
|
948
|
-
toInput: (x: {
|
949
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
950
|
-
address: PublicKey;
|
951
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
952
|
-
owner: PublicKey;
|
953
|
-
data: NFTData;
|
954
|
-
fee: UInt64;
|
955
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
956
|
-
storage: Storage;
|
957
|
-
metadataVerificationKey: VerificationKey;
|
958
|
-
nftVerificationKey: VerificationKey;
|
959
|
-
expiry: UInt32;
|
960
|
-
}) => {
|
961
|
-
fields?: Field[] | undefined;
|
962
|
-
packed?: [Field, number][] | undefined;
|
963
|
-
};
|
964
|
-
toJSON: (x: {
|
965
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
966
|
-
address: PublicKey;
|
967
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
968
|
-
owner: PublicKey;
|
969
|
-
data: NFTData;
|
970
|
-
fee: UInt64;
|
971
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
972
|
-
storage: Storage;
|
973
|
-
metadataVerificationKey: VerificationKey;
|
974
|
-
nftVerificationKey: VerificationKey;
|
975
|
-
expiry: UInt32;
|
976
|
-
}) => {
|
977
|
-
name: string;
|
978
|
-
address: string;
|
979
|
-
tokenId: string;
|
980
|
-
owner: string;
|
981
|
-
data: {
|
982
|
-
price: string;
|
983
|
-
version: string;
|
984
|
-
canChangeOwner: boolean;
|
985
|
-
canChangeMetadata: boolean;
|
986
|
-
canChangePrice: boolean;
|
987
|
-
canChangeStorage: boolean;
|
988
|
-
canChangeName: boolean;
|
989
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
990
|
-
canPause: boolean;
|
991
|
-
isPaused: boolean;
|
992
|
-
};
|
993
|
-
fee: string;
|
994
|
-
metadata: string;
|
995
|
-
storage: {
|
996
|
-
url: string[];
|
997
|
-
};
|
998
|
-
metadataVerificationKey: string;
|
999
|
-
nftVerificationKey: string;
|
1000
|
-
expiry: string;
|
1001
|
-
};
|
1002
|
-
fromJSON: (x: {
|
1003
|
-
name: string;
|
1004
|
-
address: string;
|
1005
|
-
tokenId: string;
|
1006
|
-
owner: string;
|
1007
|
-
data: {
|
1008
|
-
price: string;
|
1009
|
-
version: string;
|
1010
|
-
canChangeOwner: boolean;
|
1011
|
-
canChangeMetadata: boolean;
|
1012
|
-
canChangePrice: boolean;
|
1013
|
-
canChangeStorage: boolean;
|
1014
|
-
canChangeName: boolean;
|
1015
|
-
canChangeMetadataVerificationKeyHash: boolean;
|
1016
|
-
canPause: boolean;
|
1017
|
-
isPaused: boolean;
|
1018
|
-
};
|
1019
|
-
fee: string;
|
1020
|
-
metadata: string;
|
1021
|
-
storage: {
|
1022
|
-
url: string[];
|
1023
|
-
};
|
1024
|
-
metadataVerificationKey: string;
|
1025
|
-
nftVerificationKey: string;
|
1026
|
-
expiry: string;
|
1027
|
-
}) => {
|
1028
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1029
|
-
address: PublicKey;
|
1030
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1031
|
-
owner: PublicKey;
|
1032
|
-
data: NFTData;
|
1033
|
-
fee: UInt64;
|
1034
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1035
|
-
storage: Storage;
|
1036
|
-
metadataVerificationKey: VerificationKey;
|
1037
|
-
nftVerificationKey: VerificationKey;
|
1038
|
-
expiry: UInt32;
|
1039
|
-
};
|
1040
|
-
empty: () => {
|
1041
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1042
|
-
address: PublicKey;
|
1043
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1044
|
-
owner: PublicKey;
|
1045
|
-
data: NFTData;
|
1046
|
-
fee: UInt64;
|
1047
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1048
|
-
storage: Storage;
|
1049
|
-
metadataVerificationKey: VerificationKey;
|
1050
|
-
nftVerificationKey: VerificationKey;
|
1051
|
-
expiry: UInt32;
|
1052
|
-
};
|
1053
|
-
};
|
1054
|
-
declare class MintParams extends MintParams_base {
|
1055
|
-
}
|
1056
|
-
declare const MintSignatureData_base: (new (value: {
|
1057
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1058
|
-
address: PublicKey;
|
1059
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1060
|
-
owner: PublicKey;
|
1061
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1062
|
-
fee: UInt64;
|
1063
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1064
|
-
storage: Storage;
|
1065
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1066
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1067
|
-
expiry: UInt32;
|
1068
|
-
}) => {
|
1069
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1070
|
-
address: PublicKey;
|
1071
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1072
|
-
owner: PublicKey;
|
1073
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1074
|
-
fee: UInt64;
|
1075
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1076
|
-
storage: Storage;
|
1077
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1078
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1079
|
-
expiry: UInt32;
|
1080
|
-
}) & {
|
1081
|
-
_isStruct: true;
|
1082
|
-
} & Omit<import("o1js/dist/node/lib/provable/types/provable-intf").Provable<{
|
1083
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1084
|
-
address: PublicKey;
|
1085
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1086
|
-
owner: PublicKey;
|
1087
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1088
|
-
fee: UInt64;
|
1089
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1090
|
-
storage: Storage;
|
1091
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1092
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1093
|
-
expiry: UInt32;
|
1094
|
-
}, {
|
1095
|
-
name: bigint;
|
1096
|
-
address: {
|
1097
|
-
x: bigint;
|
1098
|
-
isOdd: boolean;
|
1099
|
-
};
|
1100
|
-
tokenId: bigint;
|
1101
|
-
owner: {
|
1102
|
-
x: bigint;
|
1103
|
-
isOdd: boolean;
|
1104
|
-
};
|
1105
|
-
packedData: bigint;
|
1106
|
-
fee: bigint;
|
1107
|
-
metadata: bigint;
|
1108
|
-
storage: {
|
1109
|
-
url: bigint[];
|
1110
|
-
};
|
1111
|
-
metadataVerificationKeyHash: bigint;
|
1112
|
-
nftVerificationKeyHash: bigint;
|
1113
|
-
expiry: bigint;
|
1114
|
-
}>, "fromFields"> & {
|
1115
|
-
fromFields: (fields: import("o1js/dist/node/lib/provable/field").Field[]) => {
|
1116
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1117
|
-
address: PublicKey;
|
1118
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1119
|
-
owner: PublicKey;
|
1120
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1121
|
-
fee: UInt64;
|
1122
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1123
|
-
storage: Storage;
|
1124
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1125
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1126
|
-
expiry: UInt32;
|
1127
|
-
};
|
1128
|
-
} & {
|
1129
|
-
fromValue: (value: {
|
1130
|
-
name: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
1131
|
-
address: PublicKey | {
|
1132
|
-
x: Field | bigint;
|
1133
|
-
isOdd: Bool | boolean;
|
1134
|
-
};
|
1135
|
-
tokenId: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
1136
|
-
owner: PublicKey | {
|
1137
|
-
x: Field | bigint;
|
1138
|
-
isOdd: Bool | boolean;
|
1139
|
-
};
|
1140
|
-
packedData: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
1141
|
-
fee: bigint | UInt64;
|
1142
|
-
metadata: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
1143
|
-
storage: Storage | {
|
1144
|
-
url: import("o1js/dist/node/lib/provable/field").Field[] | bigint[];
|
1145
|
-
};
|
1146
|
-
metadataVerificationKeyHash: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
1147
|
-
nftVerificationKeyHash: string | number | bigint | import("o1js/dist/node/lib/provable/field").Field;
|
1148
|
-
expiry: bigint | UInt32;
|
1149
|
-
}) => {
|
1150
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1151
|
-
address: PublicKey;
|
1152
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1153
|
-
owner: PublicKey;
|
1154
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1155
|
-
fee: UInt64;
|
1156
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1157
|
-
storage: Storage;
|
1158
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1159
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1160
|
-
expiry: UInt32;
|
1161
|
-
};
|
1162
|
-
toInput: (x: {
|
1163
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1164
|
-
address: PublicKey;
|
1165
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1166
|
-
owner: PublicKey;
|
1167
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1168
|
-
fee: UInt64;
|
1169
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1170
|
-
storage: Storage;
|
1171
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1172
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1173
|
-
expiry: UInt32;
|
1174
|
-
}) => {
|
1175
|
-
fields?: Field[] | undefined;
|
1176
|
-
packed?: [Field, number][] | undefined;
|
1177
|
-
};
|
1178
|
-
toJSON: (x: {
|
1179
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1180
|
-
address: PublicKey;
|
1181
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1182
|
-
owner: PublicKey;
|
1183
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1184
|
-
fee: UInt64;
|
1185
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1186
|
-
storage: Storage;
|
1187
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1188
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1189
|
-
expiry: UInt32;
|
1190
|
-
}) => {
|
1191
|
-
name: string;
|
1192
|
-
address: string;
|
1193
|
-
tokenId: string;
|
1194
|
-
owner: string;
|
1195
|
-
packedData: string;
|
1196
|
-
fee: string;
|
1197
|
-
metadata: string;
|
1198
|
-
storage: {
|
1199
|
-
url: string[];
|
1200
|
-
};
|
1201
|
-
metadataVerificationKeyHash: string;
|
1202
|
-
nftVerificationKeyHash: string;
|
1203
|
-
expiry: string;
|
1204
|
-
};
|
1205
|
-
fromJSON: (x: {
|
1206
|
-
name: string;
|
1207
|
-
address: string;
|
1208
|
-
tokenId: string;
|
1209
|
-
owner: string;
|
1210
|
-
packedData: string;
|
1211
|
-
fee: string;
|
1212
|
-
metadata: string;
|
1213
|
-
storage: {
|
1214
|
-
url: string[];
|
1215
|
-
};
|
1216
|
-
metadataVerificationKeyHash: string;
|
1217
|
-
nftVerificationKeyHash: string;
|
1218
|
-
expiry: string;
|
1219
|
-
}) => {
|
1220
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1221
|
-
address: PublicKey;
|
1222
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1223
|
-
owner: PublicKey;
|
1224
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1225
|
-
fee: UInt64;
|
1226
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1227
|
-
storage: Storage;
|
1228
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1229
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1230
|
-
expiry: UInt32;
|
1231
|
-
};
|
1232
|
-
empty: () => {
|
1233
|
-
name: import("o1js/dist/node/lib/provable/field").Field;
|
1234
|
-
address: PublicKey;
|
1235
|
-
tokenId: import("o1js/dist/node/lib/provable/field").Field;
|
1236
|
-
owner: PublicKey;
|
1237
|
-
packedData: import("o1js/dist/node/lib/provable/field").Field;
|
1238
|
-
fee: UInt64;
|
1239
|
-
metadata: import("o1js/dist/node/lib/provable/field").Field;
|
1240
|
-
storage: Storage;
|
1241
|
-
metadataVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1242
|
-
nftVerificationKeyHash: import("o1js/dist/node/lib/provable/field").Field;
|
1243
|
-
expiry: UInt32;
|
1244
|
-
};
|
1245
|
-
};
|
1246
|
-
declare class MintSignatureData extends MintSignatureData_base {
|
1247
|
-
}
|
1248
|
-
type NFTAdminBase = SmartContract & {
|
1249
|
-
canMint(nft: MintParams): Promise<Bool>;
|
1250
|
-
canUpdate(input: NFTState, output: NFTState): Promise<Bool>;
|
1251
|
-
canTransfer(address: PublicKey, from: PublicKey, to: PublicKey): Promise<Bool>;
|
1252
|
-
canSell(address: PublicKey, seller: PublicKey, price: UInt64): Promise<Bool>;
|
1253
|
-
canBuy(address: PublicKey, seller: PublicKey, buyer: PublicKey, price: UInt64): Promise<Bool>;
|
1254
|
-
};
|