@simplenft/api 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +30 -0
  2. package/blueprint.config.ts +13 -0
  3. package/contracts/buyer_profile.tact +73 -0
  4. package/contracts/imports/stdlib.fc +625 -0
  5. package/contracts/jetton_eq.tact +79 -0
  6. package/contracts/message.tact +189 -0
  7. package/contracts/nft_item.tact +98 -0
  8. package/contracts/nft_item_free.tact +98 -0
  9. package/contracts/packages/math/float.fc +95 -0
  10. package/contracts/packages/misc/distributor_messages.tact +154 -0
  11. package/contracts/packages/nap/errcodes.tact +5 -0
  12. package/contracts/packages/nap/messages.tact +34 -0
  13. package/contracts/packages/token/jetton/JettonMaster.tact +127 -0
  14. package/contracts/packages/token/jetton/JettonWallet.tact +248 -0
  15. package/contracts/packages/token/nft/AuctionErrorCode.tact +55 -0
  16. package/contracts/packages/token/nft/NFTAuction.tact +226 -0
  17. package/contracts/packages/token/nft/NFTAuctionMarket.tact +302 -0
  18. package/contracts/packages/token/nft/NFTCollection.tact +69 -0
  19. package/contracts/packages/token/nft/NFTItem.tact +190 -0
  20. package/contracts/packages/token/nft/extensions/NFTEditable.tact +3 -0
  21. package/contracts/packages/token/nft/extensions/NFTRoyalty.tact +63 -0
  22. package/contracts/packages/traits/taxable.tact +31 -0
  23. package/contracts/packages/utils/Estimatable.tact +11 -0
  24. package/contracts/packages/utils/Lockable.tact +23 -0
  25. package/contracts/sbt_item.tact +70 -0
  26. package/contracts/simple_nft_collection.tact +177 -0
  27. package/contracts/simple_nft_collection_v2.tact +304 -0
  28. package/contracts/simple_nft_master.tact +102 -0
  29. package/dist/api.d.ts +10 -0
  30. package/dist/api.js +58 -0
  31. package/dist/backend-service.d.ts +13 -0
  32. package/dist/backend-service.js +29 -0
  33. package/dist/backend-types.d.ts +60 -0
  34. package/dist/backend-types.js +2 -0
  35. package/dist/content.d.ts +3 -0
  36. package/dist/content.js +30 -0
  37. package/dist/contracts/tact_NftItem.d.ts +619 -0
  38. package/dist/contracts/tact_NftItem.js +2312 -0
  39. package/dist/contracts/tact_SimpleNftCollectionV2.d.ts +658 -0
  40. package/dist/contracts/tact_SimpleNftCollectionV2.js +2427 -0
  41. package/dist/contracts/tact_SimpleNftMaster.d.ts +624 -0
  42. package/dist/contracts/tact_SimpleNftMaster.js +2350 -0
  43. package/dist/index.d.ts +57 -0
  44. package/dist/index.js +254 -0
  45. package/dist/types.d.ts +53 -0
  46. package/dist/types.js +2 -0
  47. package/package.json +56 -0
  48. package/src/api.ts +62 -0
  49. package/src/backend-service.ts +40 -0
  50. package/src/backend-types.ts +72 -0
  51. package/src/content.ts +36 -0
  52. package/src/contracts/tact_NftItem.ts +2718 -0
  53. package/src/contracts/tact_SimpleNftCollectionV2.ts +2843 -0
  54. package/src/contracts/tact_SimpleNftMaster.ts +2759 -0
  55. package/src/index.ts +361 -0
  56. package/src/types.ts +62 -0
@@ -0,0 +1,658 @@
1
+ import { Cell, Slice, Address, Builder, ContractProvider, Sender, Contract, ContractABI } from '@ton/core';
2
+ export type StateInit = {
3
+ $$type: 'StateInit';
4
+ code: Cell;
5
+ data: Cell;
6
+ };
7
+ export declare function storeStateInit(src: StateInit): (builder: Builder) => void;
8
+ export declare function loadStateInit(slice: Slice): {
9
+ $$type: "StateInit";
10
+ code: Cell;
11
+ data: Cell;
12
+ };
13
+ export type Context = {
14
+ $$type: 'Context';
15
+ bounced: boolean;
16
+ sender: Address;
17
+ value: bigint;
18
+ raw: Slice;
19
+ };
20
+ export declare function storeContext(src: Context): (builder: Builder) => void;
21
+ export declare function loadContext(slice: Slice): {
22
+ $$type: "Context";
23
+ bounced: boolean;
24
+ sender: Address;
25
+ value: bigint;
26
+ raw: Slice;
27
+ };
28
+ export type SendParameters = {
29
+ $$type: 'SendParameters';
30
+ bounce: boolean;
31
+ to: Address;
32
+ value: bigint;
33
+ mode: bigint;
34
+ body: Cell | null;
35
+ code: Cell | null;
36
+ data: Cell | null;
37
+ };
38
+ export declare function storeSendParameters(src: SendParameters): (builder: Builder) => void;
39
+ export declare function loadSendParameters(slice: Slice): {
40
+ $$type: "SendParameters";
41
+ bounce: boolean;
42
+ to: Address;
43
+ value: bigint;
44
+ mode: bigint;
45
+ body: Cell | null;
46
+ code: Cell | null;
47
+ data: Cell | null;
48
+ };
49
+ export type Deploy = {
50
+ $$type: 'Deploy';
51
+ queryId: bigint;
52
+ };
53
+ export declare function storeDeploy(src: Deploy): (builder: Builder) => void;
54
+ export declare function loadDeploy(slice: Slice): {
55
+ $$type: "Deploy";
56
+ queryId: bigint;
57
+ };
58
+ export type DeployOk = {
59
+ $$type: 'DeployOk';
60
+ queryId: bigint;
61
+ };
62
+ export declare function storeDeployOk(src: DeployOk): (builder: Builder) => void;
63
+ export declare function loadDeployOk(slice: Slice): {
64
+ $$type: "DeployOk";
65
+ queryId: bigint;
66
+ };
67
+ export type FactoryDeploy = {
68
+ $$type: 'FactoryDeploy';
69
+ queryId: bigint;
70
+ cashback: Address;
71
+ };
72
+ export declare function storeFactoryDeploy(src: FactoryDeploy): (builder: Builder) => void;
73
+ export declare function loadFactoryDeploy(slice: Slice): {
74
+ $$type: "FactoryDeploy";
75
+ queryId: bigint;
76
+ cashback: Address;
77
+ };
78
+ export type SimpleNftCollectionV2$Data = {
79
+ $$type: 'SimpleNftCollectionV2$Data';
80
+ next_item_index: bigint;
81
+ collection_index: bigint;
82
+ owner_address: Address | null;
83
+ master_address: Address;
84
+ royalty_params: RoyaltyParams | null;
85
+ collection_content: Cell | null;
86
+ individual_content_url: Cell | null;
87
+ mint_limit: bigint;
88
+ price: bigint;
89
+ is_setup: boolean;
90
+ is_sbt: bigint;
91
+ mint_time_limit: bigint;
92
+ enable_profile: boolean;
93
+ user_item_limit: bigint;
94
+ enable_whitelist: boolean;
95
+ };
96
+ export declare function storeSimpleNftCollectionV2$Data(src: SimpleNftCollectionV2$Data): (builder: Builder) => void;
97
+ export declare function loadSimpleNftCollectionV2$Data(slice: Slice): {
98
+ $$type: "SimpleNftCollectionV2$Data";
99
+ next_item_index: bigint;
100
+ collection_index: bigint;
101
+ owner_address: Address | null;
102
+ master_address: Address;
103
+ royalty_params: {
104
+ $$type: "RoyaltyParams";
105
+ numerator: bigint;
106
+ denominator: bigint;
107
+ destination: Address;
108
+ } | null;
109
+ collection_content: Cell | null;
110
+ individual_content_url: Cell | null;
111
+ mint_limit: bigint;
112
+ price: bigint;
113
+ is_setup: boolean;
114
+ is_sbt: bigint;
115
+ mint_time_limit: bigint;
116
+ enable_profile: boolean;
117
+ user_item_limit: bigint;
118
+ enable_whitelist: boolean;
119
+ };
120
+ export type LogEventMintRecord = {
121
+ $$type: 'LogEventMintRecord';
122
+ minter: Address;
123
+ item_id: bigint;
124
+ generate_number: bigint;
125
+ };
126
+ export declare function storeLogEventMintRecord(src: LogEventMintRecord): (builder: Builder) => void;
127
+ export declare function loadLogEventMintRecord(slice: Slice): {
128
+ $$type: "LogEventMintRecord";
129
+ minter: Address;
130
+ item_id: bigint;
131
+ generate_number: bigint;
132
+ };
133
+ export type GetRoyaltyParams = {
134
+ $$type: 'GetRoyaltyParams';
135
+ query_id: bigint;
136
+ };
137
+ export declare function storeGetRoyaltyParams(src: GetRoyaltyParams): (builder: Builder) => void;
138
+ export declare function loadGetRoyaltyParams(slice: Slice): {
139
+ $$type: "GetRoyaltyParams";
140
+ query_id: bigint;
141
+ };
142
+ export type GetProfile = {
143
+ $$type: 'GetProfile';
144
+ query_id: bigint;
145
+ };
146
+ export declare function storeGetProfile(src: GetProfile): (builder: Builder) => void;
147
+ export declare function loadGetProfile(slice: Slice): {
148
+ $$type: "GetProfile";
149
+ query_id: bigint;
150
+ };
151
+ export type ReportRoyaltyParams = {
152
+ $$type: 'ReportRoyaltyParams';
153
+ query_id: bigint;
154
+ numerator: bigint;
155
+ denominator: bigint;
156
+ destination: Address;
157
+ };
158
+ export declare function storeReportRoyaltyParams(src: ReportRoyaltyParams): (builder: Builder) => void;
159
+ export declare function loadReportRoyaltyParams(slice: Slice): {
160
+ $$type: "ReportRoyaltyParams";
161
+ query_id: bigint;
162
+ numerator: bigint;
163
+ denominator: bigint;
164
+ destination: Address;
165
+ };
166
+ export type CollectionData = {
167
+ $$type: 'CollectionData';
168
+ next_item_index: bigint;
169
+ collection_content: Cell;
170
+ owner_address: Address;
171
+ };
172
+ export declare function storeCollectionData(src: CollectionData): (builder: Builder) => void;
173
+ export declare function loadCollectionData(slice: Slice): {
174
+ $$type: "CollectionData";
175
+ next_item_index: bigint;
176
+ collection_content: Cell;
177
+ owner_address: Address;
178
+ };
179
+ export type RoyaltyParams = {
180
+ $$type: 'RoyaltyParams';
181
+ numerator: bigint;
182
+ denominator: bigint;
183
+ destination: Address;
184
+ };
185
+ export declare function storeRoyaltyParams(src: RoyaltyParams): (builder: Builder) => void;
186
+ export declare function loadRoyaltyParams(slice: Slice): {
187
+ $$type: "RoyaltyParams";
188
+ numerator: bigint;
189
+ denominator: bigint;
190
+ destination: Address;
191
+ };
192
+ export type CollectionSetupParams = {
193
+ $$type: 'CollectionSetupParams';
194
+ owner_address: Address;
195
+ master_address: Address;
196
+ collection_content: Cell;
197
+ nft_individual_content_url: Cell;
198
+ royalty_params: RoyaltyParams;
199
+ mint_limit: bigint;
200
+ nft_price: bigint;
201
+ mint_time_limit: bigint;
202
+ is_sbt: bigint;
203
+ enable_profile: boolean;
204
+ enable_whitelist: boolean;
205
+ user_item_limit: bigint;
206
+ };
207
+ export declare function storeCollectionSetupParams(src: CollectionSetupParams): (builder: Builder) => void;
208
+ export declare function loadCollectionSetupParams(slice: Slice): {
209
+ $$type: "CollectionSetupParams";
210
+ owner_address: Address;
211
+ master_address: Address;
212
+ collection_content: Cell;
213
+ nft_individual_content_url: Cell;
214
+ royalty_params: {
215
+ $$type: "RoyaltyParams";
216
+ numerator: bigint;
217
+ denominator: bigint;
218
+ destination: Address;
219
+ };
220
+ mint_limit: bigint;
221
+ nft_price: bigint;
222
+ mint_time_limit: bigint;
223
+ is_sbt: bigint;
224
+ enable_profile: boolean;
225
+ enable_whitelist: boolean;
226
+ user_item_limit: bigint;
227
+ };
228
+ export type UpdateWhiteList = {
229
+ $$type: 'UpdateWhiteList';
230
+ user: Address;
231
+ whitelist: boolean;
232
+ };
233
+ export declare function storeUpdateWhiteList(src: UpdateWhiteList): (builder: Builder) => void;
234
+ export declare function loadUpdateWhiteList(slice: Slice): {
235
+ $$type: "UpdateWhiteList";
236
+ user: Address;
237
+ whitelist: boolean;
238
+ };
239
+ export type AddToWhiteList = {
240
+ $$type: 'AddToWhiteList';
241
+ add: boolean;
242
+ };
243
+ export declare function storeAddToWhiteList(src: AddToWhiteList): (builder: Builder) => void;
244
+ export declare function loadAddToWhiteList(slice: Slice): {
245
+ $$type: "AddToWhiteList";
246
+ add: boolean;
247
+ };
248
+ export type CollectionMintParams = {
249
+ $$type: 'CollectionMintParams';
250
+ queryId: bigint;
251
+ owner_address: Address;
252
+ collection_content: Cell;
253
+ nft_individual_content_url: Cell;
254
+ royalty_params: RoyaltyParams;
255
+ mint_limit: bigint;
256
+ mint_time_limit: bigint;
257
+ is_sbt: bigint;
258
+ nft_price: bigint;
259
+ enable_profile: boolean;
260
+ enable_whitelist: boolean;
261
+ user_item_limit: bigint;
262
+ };
263
+ export declare function storeCollectionMintParams(src: CollectionMintParams): (builder: Builder) => void;
264
+ export declare function loadCollectionMintParams(slice: Slice): {
265
+ $$type: "CollectionMintParams";
266
+ queryId: bigint;
267
+ owner_address: Address;
268
+ collection_content: Cell;
269
+ nft_individual_content_url: Cell;
270
+ royalty_params: {
271
+ $$type: "RoyaltyParams";
272
+ numerator: bigint;
273
+ denominator: bigint;
274
+ destination: Address;
275
+ };
276
+ mint_limit: bigint;
277
+ mint_time_limit: bigint;
278
+ is_sbt: bigint;
279
+ nft_price: bigint;
280
+ enable_profile: boolean;
281
+ enable_whitelist: boolean;
282
+ user_item_limit: bigint;
283
+ };
284
+ export type ProfileData = {
285
+ $$type: 'ProfileData';
286
+ query_id: bigint;
287
+ user: Address;
288
+ is_whitelisted: boolean;
289
+ is_blacklisted: boolean;
290
+ };
291
+ export declare function storeProfileData(src: ProfileData): (builder: Builder) => void;
292
+ export declare function loadProfileData(slice: Slice): {
293
+ $$type: "ProfileData";
294
+ query_id: bigint;
295
+ user: Address;
296
+ is_whitelisted: boolean;
297
+ is_blacklisted: boolean;
298
+ };
299
+ export type Transfer = {
300
+ $$type: 'Transfer';
301
+ query_id: bigint;
302
+ new_owner: Address;
303
+ response_destination: Address | null;
304
+ custom_payload: Cell | null;
305
+ forward_amount: bigint;
306
+ forward_payload: Slice;
307
+ };
308
+ export declare function storeTransfer(src: Transfer): (builder: Builder) => void;
309
+ export declare function loadTransfer(slice: Slice): {
310
+ $$type: "Transfer";
311
+ query_id: bigint;
312
+ new_owner: Address;
313
+ response_destination: Address | null;
314
+ custom_payload: Cell | null;
315
+ forward_amount: bigint;
316
+ forward_payload: Slice;
317
+ };
318
+ export type OwnershipAssigned = {
319
+ $$type: 'OwnershipAssigned';
320
+ query_id: bigint;
321
+ prev_owner: Address;
322
+ forward_payload: Slice;
323
+ };
324
+ export declare function storeOwnershipAssigned(src: OwnershipAssigned): (builder: Builder) => void;
325
+ export declare function loadOwnershipAssigned(slice: Slice): {
326
+ $$type: "OwnershipAssigned";
327
+ query_id: bigint;
328
+ prev_owner: Address;
329
+ forward_payload: Slice;
330
+ };
331
+ export type Excesses = {
332
+ $$type: 'Excesses';
333
+ query_id: bigint;
334
+ };
335
+ export declare function storeExcesses(src: Excesses): (builder: Builder) => void;
336
+ export declare function loadExcesses(slice: Slice): {
337
+ $$type: "Excesses";
338
+ query_id: bigint;
339
+ };
340
+ export type GetStaticData = {
341
+ $$type: 'GetStaticData';
342
+ query_id: bigint;
343
+ };
344
+ export declare function storeGetStaticData(src: GetStaticData): (builder: Builder) => void;
345
+ export declare function loadGetStaticData(slice: Slice): {
346
+ $$type: "GetStaticData";
347
+ query_id: bigint;
348
+ };
349
+ export type ReportStaticData = {
350
+ $$type: 'ReportStaticData';
351
+ query_id: bigint;
352
+ index_id: bigint;
353
+ collection: Address;
354
+ };
355
+ export declare function storeReportStaticData(src: ReportStaticData): (builder: Builder) => void;
356
+ export declare function loadReportStaticData(slice: Slice): {
357
+ $$type: "ReportStaticData";
358
+ query_id: bigint;
359
+ index_id: bigint;
360
+ collection: Address;
361
+ };
362
+ export type GetNftData = {
363
+ $$type: 'GetNftData';
364
+ is_initialized: boolean;
365
+ index: bigint;
366
+ collection_address: Address;
367
+ owner_address: Address;
368
+ individual_content: Cell;
369
+ };
370
+ export declare function storeGetNftData(src: GetNftData): (builder: Builder) => void;
371
+ export declare function loadGetNftData(slice: Slice): {
372
+ $$type: "GetNftData";
373
+ is_initialized: boolean;
374
+ index: bigint;
375
+ collection_address: Address;
376
+ owner_address: Address;
377
+ individual_content: Cell;
378
+ };
379
+ export type CollectionMasterData = {
380
+ $$type: 'CollectionMasterData';
381
+ master: Address;
382
+ mint_limit: bigint;
383
+ price: bigint;
384
+ mint_time_limit: bigint;
385
+ is_sbt: bigint;
386
+ index_in_collection: bigint;
387
+ };
388
+ export declare function storeCollectionMasterData(src: CollectionMasterData): (builder: Builder) => void;
389
+ export declare function loadCollectionMasterData(slice: Slice): {
390
+ $$type: "CollectionMasterData";
391
+ master: Address;
392
+ mint_limit: bigint;
393
+ price: bigint;
394
+ mint_time_limit: bigint;
395
+ is_sbt: bigint;
396
+ index_in_collection: bigint;
397
+ };
398
+ export type CollectionMasterDataV2 = {
399
+ $$type: 'CollectionMasterDataV2';
400
+ master: Address;
401
+ mint_limit: bigint;
402
+ price: bigint;
403
+ mint_time_limit: bigint;
404
+ is_sbt: bigint;
405
+ index_in_collection: bigint;
406
+ enable_whitelist: boolean;
407
+ user_item_limit: bigint;
408
+ };
409
+ export declare function storeCollectionMasterDataV2(src: CollectionMasterDataV2): (builder: Builder) => void;
410
+ export declare function loadCollectionMasterDataV2(slice: Slice): {
411
+ $$type: "CollectionMasterDataV2";
412
+ master: Address;
413
+ mint_limit: bigint;
414
+ price: bigint;
415
+ mint_time_limit: bigint;
416
+ is_sbt: bigint;
417
+ index_in_collection: bigint;
418
+ enable_whitelist: boolean;
419
+ user_item_limit: bigint;
420
+ };
421
+ export type MintTo = {
422
+ $$type: 'MintTo';
423
+ owner: Address;
424
+ };
425
+ export declare function storeMintTo(src: MintTo): (builder: Builder) => void;
426
+ export declare function loadMintTo(slice: Slice): {
427
+ $$type: "MintTo";
428
+ owner: Address;
429
+ };
430
+ export type MassUpdateWhiteList = {
431
+ $$type: 'MassUpdateWhiteList';
432
+ addresses: Cell;
433
+ add: boolean;
434
+ spendPerAddress: bigint;
435
+ };
436
+ export declare function storeMassUpdateWhiteList(src: MassUpdateWhiteList): (builder: Builder) => void;
437
+ export declare function loadMassUpdateWhiteList(slice: Slice): {
438
+ $$type: "MassUpdateWhiteList";
439
+ addresses: Cell;
440
+ add: boolean;
441
+ spendPerAddress: bigint;
442
+ };
443
+ export type SetupCollectionData = {
444
+ $$type: 'SetupCollectionData';
445
+ collection_owner: Address | null;
446
+ collection_item_price: bigint;
447
+ user_item_limit: bigint;
448
+ enable_whitelist: boolean;
449
+ };
450
+ export declare function storeSetupCollectionData(src: SetupCollectionData): (builder: Builder) => void;
451
+ export declare function loadSetupCollectionData(slice: Slice): {
452
+ $$type: "SetupCollectionData";
453
+ collection_owner: Address | null;
454
+ collection_item_price: bigint;
455
+ user_item_limit: bigint;
456
+ enable_whitelist: boolean;
457
+ };
458
+ export type CompleteTodo = {
459
+ $$type: 'CompleteTodo';
460
+ seqno: bigint;
461
+ };
462
+ export declare function storeCompleteTodo(src: CompleteTodo): (builder: Builder) => void;
463
+ export declare function loadCompleteTodo(slice: Slice): {
464
+ $$type: "CompleteTodo";
465
+ seqno: bigint;
466
+ };
467
+ export type InternalComplete = {
468
+ $$type: 'InternalComplete';
469
+ excess: Address;
470
+ };
471
+ export declare function storeInternalComplete(src: InternalComplete): (builder: Builder) => void;
472
+ export declare function loadInternalComplete(slice: Slice): {
473
+ $$type: "InternalComplete";
474
+ excess: Address;
475
+ };
476
+ export type InternalAdd = {
477
+ $$type: 'InternalAdd';
478
+ amount: bigint;
479
+ origin: Address;
480
+ };
481
+ export declare function storeInternalAdd(src: InternalAdd): (builder: Builder) => void;
482
+ export declare function loadInternalAdd(slice: Slice): {
483
+ $$type: "InternalAdd";
484
+ amount: bigint;
485
+ origin: Address;
486
+ };
487
+ export type TransferOwner = {
488
+ $$type: 'TransferOwner';
489
+ new_owner: Address;
490
+ };
491
+ export declare function storeTransferOwner(src: TransferOwner): (builder: Builder) => void;
492
+ export declare function loadTransferOwner(slice: Slice): {
493
+ $$type: "TransferOwner";
494
+ new_owner: Address;
495
+ };
496
+ export type Withdraw = {
497
+ $$type: 'Withdraw';
498
+ to: Address;
499
+ };
500
+ export declare function storeWithdraw(src: Withdraw): (builder: Builder) => void;
501
+ export declare function loadWithdraw(slice: Slice): {
502
+ $$type: "Withdraw";
503
+ to: Address;
504
+ };
505
+ export type MasterData = {
506
+ $$type: 'MasterData';
507
+ master: Address;
508
+ next_collection_index: bigint;
509
+ collection_creation_price: bigint;
510
+ };
511
+ export declare function storeMasterData(src: MasterData): (builder: Builder) => void;
512
+ export declare function loadMasterData(slice: Slice): {
513
+ $$type: "MasterData";
514
+ master: Address;
515
+ next_collection_index: bigint;
516
+ collection_creation_price: bigint;
517
+ };
518
+ export type NftItem$Data = {
519
+ $$type: 'NftItem$Data';
520
+ collection_address: Address;
521
+ item_index: bigint;
522
+ is_initialized: boolean;
523
+ owner: Address | null;
524
+ individual_content: Cell | null;
525
+ };
526
+ export declare function storeNftItem$Data(src: NftItem$Data): (builder: Builder) => void;
527
+ export declare function loadNftItem$Data(slice: Slice): {
528
+ $$type: "NftItem$Data";
529
+ collection_address: Address;
530
+ item_index: bigint;
531
+ is_initialized: boolean;
532
+ owner: Address | null;
533
+ individual_content: Cell | null;
534
+ };
535
+ export type SbtItem$Data = {
536
+ $$type: 'SbtItem$Data';
537
+ collection_address: Address;
538
+ item_index: bigint;
539
+ is_initialized: boolean;
540
+ owner: Address | null;
541
+ individual_content: Cell | null;
542
+ };
543
+ export declare function storeSbtItem$Data(src: SbtItem$Data): (builder: Builder) => void;
544
+ export declare function loadSbtItem$Data(slice: Slice): {
545
+ $$type: "SbtItem$Data";
546
+ collection_address: Address;
547
+ item_index: bigint;
548
+ is_initialized: boolean;
549
+ owner: Address | null;
550
+ individual_content: Cell | null;
551
+ };
552
+ export type BuyerProfile$Data = {
553
+ $$type: 'BuyerProfile$Data';
554
+ collection_address: Address;
555
+ collection_owner: Address | null;
556
+ collection_item_price: bigint;
557
+ owner: Address;
558
+ is_initialized: boolean;
559
+ is_whitelisted: boolean;
560
+ enable_whitelist: boolean;
561
+ user_item_limit: bigint;
562
+ user_item_count: bigint;
563
+ };
564
+ export declare function storeBuyerProfile$Data(src: BuyerProfile$Data): (builder: Builder) => void;
565
+ export declare function loadBuyerProfile$Data(slice: Slice): {
566
+ $$type: "BuyerProfile$Data";
567
+ collection_address: Address;
568
+ collection_owner: Address | null;
569
+ collection_item_price: bigint;
570
+ owner: Address;
571
+ is_initialized: boolean;
572
+ is_whitelisted: boolean;
573
+ enable_whitelist: boolean;
574
+ user_item_limit: bigint;
575
+ user_item_count: bigint;
576
+ };
577
+ export type SimpleNftMaster$Data = {
578
+ $$type: 'SimpleNftMaster$Data';
579
+ owner: Address;
580
+ next_collection_index: bigint;
581
+ collection_creation_price: bigint;
582
+ };
583
+ export declare function storeSimpleNftMaster$Data(src: SimpleNftMaster$Data): (builder: Builder) => void;
584
+ export declare function loadSimpleNftMaster$Data(slice: Slice): {
585
+ $$type: "SimpleNftMaster$Data";
586
+ owner: Address;
587
+ next_collection_index: bigint;
588
+ collection_creation_price: bigint;
589
+ };
590
+ export declare const SimpleNftCollectionV2_getterMapping: {
591
+ [key: string]: string;
592
+ };
593
+ export declare class SimpleNftCollectionV2 implements Contract {
594
+ static init(master_address: Address, collection_index: bigint): Promise<{
595
+ code: Cell;
596
+ data: Cell;
597
+ }>;
598
+ static fromInit(master_address: Address, collection_index: bigint): Promise<SimpleNftCollectionV2>;
599
+ static fromAddress(address: Address): SimpleNftCollectionV2;
600
+ readonly address: Address;
601
+ readonly init?: {
602
+ code: Cell;
603
+ data: Cell;
604
+ };
605
+ readonly abi: ContractABI;
606
+ private constructor();
607
+ send(provider: ContractProvider, via: Sender, args: {
608
+ value: bigint;
609
+ bounce?: boolean | null | undefined;
610
+ }, message: CollectionSetupParams | 'RequestWhitelist' | 'Mint' | Withdraw | MintTo | GetRoyaltyParams | UpdateWhiteList | MassUpdateWhiteList | Deploy): Promise<void>;
611
+ getBuyerProfileAddress(provider: ContractProvider, owner: Address): Promise<Address>;
612
+ getGetBuyerProfileAddress(provider: ContractProvider, address: Address): Promise<Address>;
613
+ getGetMasterDataV2(provider: ContractProvider): Promise<{
614
+ $$type: "CollectionMasterDataV2";
615
+ master: Address;
616
+ mint_limit: bigint;
617
+ price: bigint;
618
+ mint_time_limit: bigint;
619
+ is_sbt: bigint;
620
+ index_in_collection: bigint;
621
+ enable_whitelist: boolean;
622
+ user_item_limit: bigint;
623
+ }>;
624
+ getGetMasterData(provider: ContractProvider): Promise<{
625
+ $$type: "CollectionMasterData";
626
+ master: Address;
627
+ mint_limit: bigint;
628
+ price: bigint;
629
+ mint_time_limit: bigint;
630
+ is_sbt: bigint;
631
+ index_in_collection: bigint;
632
+ }>;
633
+ getGetCollectionData(provider: ContractProvider): Promise<{
634
+ $$type: "CollectionData";
635
+ next_item_index: bigint;
636
+ collection_content: Cell;
637
+ owner_address: Address;
638
+ }>;
639
+ getGetNftAddressByIndex(provider: ContractProvider, item_index: bigint): Promise<Address | null>;
640
+ getGetNftItemInit(provider: ContractProvider, item_index: bigint): Promise<{
641
+ $$type: "StateInit";
642
+ code: Cell;
643
+ data: Cell;
644
+ }>;
645
+ getGetUserProfileInit(provider: ContractProvider, address: Address): Promise<{
646
+ $$type: "StateInit";
647
+ code: Cell;
648
+ data: Cell;
649
+ }>;
650
+ getGetNftContent(provider: ContractProvider, index: bigint, individual_content: Cell): Promise<Cell>;
651
+ getGetSampleNftContent(provider: ContractProvider): Promise<Cell | null>;
652
+ getRoyaltyParams(provider: ContractProvider): Promise<{
653
+ $$type: "RoyaltyParams";
654
+ numerator: bigint;
655
+ denominator: bigint;
656
+ destination: Address;
657
+ }>;
658
+ }