@silvana-one/nft 0.2.3 → 0.2.5

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.
@@ -403,9 +403,9 @@ declare function CollectionFactory(params: {
403
403
  getUnconstrained(): PublicKey;
404
404
  getAndRequireSignature(): PublicKey;
405
405
  };
406
- readonly account: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Account;
407
- readonly network: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Network;
408
- readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/precondition.js").CurrentSlot;
406
+ readonly account: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
407
+ readonly network: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
408
+ readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
409
409
  approve(update: AccountUpdate | import("o1js").AccountUpdateTree | AccountUpdateForest): void;
410
410
  send(args: {
411
411
  to: PublicKey | AccountUpdate | SmartContract;
@@ -441,9 +441,9 @@ declare function CollectionFactory(params: {
441
441
  rows: number;
442
442
  digest: string;
443
443
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
444
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
444
445
  }>;
445
446
  _provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
446
- _maxProofsVerified?: 0 | 1 | 2;
447
447
  _verificationKey?: {
448
448
  data: string;
449
449
  hash: Field;
@@ -462,6 +462,7 @@ declare function CollectionFactory(params: {
462
462
  proof: unknown;
463
463
  maxProofsVerified: 0 | 2 | 1;
464
464
  shouldVerify: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
465
+ declare(): boolean;
465
466
  toJSON(): import("o1js").JsonProof;
466
467
  publicFields(): {
467
468
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
@@ -488,7 +489,11 @@ declare function CollectionFactory(params: {
488
489
  packed?: [import("node_modules/o1js/dist/node/lib/provable/field.js").Field, number][] | undefined;
489
490
  };
490
491
  toJSON: (x: {
491
- accountUpdate: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
492
+ accountUpdate: import("node_modules/o1js/dist/node/lib/provable/field.js" /**
493
+ * Deploys the NFT Collection Contract with the initial settings.
494
+ *
495
+ * @param props - Deployment properties including collection name, creator, admin, baseURL, symbol, and URL.
496
+ */).Field;
492
497
  calls: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
493
498
  }) => {
494
499
  accountUpdate: string;
@@ -509,12 +514,7 @@ declare function CollectionFactory(params: {
509
514
  publicOutputType: import("node_modules/o1js/dist/node/lib/provable/types/struct.js").ProvablePureExtended<undefined, undefined, null>;
510
515
  tag: () => typeof SmartContract;
511
516
  fromJSON<S extends import("node_modules/o1js/dist/node/lib/util/types.js").Subclass<typeof import("o1js").Proof>>(this: S, { maxProofsVerified, proof: proofString, publicInput: publicInputJson, publicOutput: publicOutputJson, }: import("o1js").JsonProof): Promise<import("o1js").Proof<import("o1js").InferProvable<S["publicInputType"]>, import("o1js").InferProvable<S["publicOutputType"]>>>;
512
- dummy<Input, OutPut>(publicInput: Input, publicOutput: OutPut, maxProofsVerified: 0 | 2 | 1, domainLog2? /**
513
- * Initializes the collection with a master NFT and initial data.
514
- *
515
- * @param masterNFT - The master NFT parameters.
516
- * @param collectionData - Initial collection data including flags and configurations.
517
- */: number): Promise<import("o1js").Proof<Input, OutPut>>;
517
+ dummy<Input, OutPut>(publicInput: Input, publicOutput: OutPut, maxProofsVerified: 0 | 2 | 1, domainLog2?: number): Promise<import("o1js").Proof<Input, OutPut>>;
518
518
  readonly provable: {
519
519
  toFields: (value: import("o1js").Proof<any, any>) => import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
520
520
  toAuxiliary: (value?: import("o1js").Proof<any, any> | undefined) => any[];
@@ -532,7 +532,7 @@ declare function CollectionFactory(params: {
532
532
  _proofFromBase64(proofString: string, maxProofsVerified: 0 | 2 | 1): unknown;
533
533
  _proofToBase64(proof: unknown, maxProofsVerified: 0 | 2 | 1): string;
534
534
  };
535
- compile({ cache, forceRecompile, }?: {
535
+ compile({ cache, forceRecompile }?: {
536
536
  cache?: import("o1js").Cache | undefined;
537
537
  forceRecompile?: boolean | undefined;
538
538
  }): Promise<{
@@ -544,6 +544,7 @@ declare function CollectionFactory(params: {
544
544
  verify: (statement: import("node_modules/o1js/dist/node/snarky.js").Pickles.Statement<import("node_modules/o1js/dist/node/lib/provable/core/fieldvar.js").FieldConst>, proof: unknown) => Promise<boolean>;
545
545
  }>;
546
546
  digest(): Promise<string>;
547
+ getMaxProofsVerified(): Promise<0 | 2 | 1>;
547
548
  runOutsideCircuit(run: () => void): void;
548
549
  analyzeMethods({ printSummary }?: {
549
550
  printSummary?: boolean | undefined;
@@ -552,5 +553,6 @@ declare function CollectionFactory(params: {
552
553
  rows: number;
553
554
  digest: string;
554
555
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
556
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
555
557
  }>>;
556
558
  };
@@ -48,9 +48,9 @@ export declare const NFTAdvancedAdmin: {
48
48
  getUnconstrained(): import("o1js").PublicKey;
49
49
  getAndRequireSignature(): import("o1js").PublicKey;
50
50
  };
51
- readonly account: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Account;
52
- readonly network: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Network;
53
- readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/precondition.js").CurrentSlot;
51
+ readonly account: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
52
+ readonly network: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
53
+ readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
54
54
  approve(update: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
55
55
  send(args: {
56
56
  to: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
@@ -85,9 +85,9 @@ export declare const NFTAdvancedAdmin: {
85
85
  rows: number;
86
86
  digest: string;
87
87
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
88
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
88
89
  }>;
89
90
  _provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
90
- _maxProofsVerified?: 0 | 1 | 2;
91
91
  _verificationKey?: {
92
92
  data: string;
93
93
  hash: import("o1js").Field;
@@ -106,6 +106,7 @@ export declare const NFTAdvancedAdmin: {
106
106
  proof: unknown;
107
107
  maxProofsVerified: 0 | 2 | 1;
108
108
  shouldVerify: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
109
+ declare(): boolean;
109
110
  toJSON(): import("o1js").JsonProof;
110
111
  publicFields(): {
111
112
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
@@ -171,7 +172,7 @@ export declare const NFTAdvancedAdmin: {
171
172
  _proofFromBase64(proofString: string, maxProofsVerified: 0 | 2 | 1): unknown;
172
173
  _proofToBase64(proof: unknown, maxProofsVerified: 0 | 2 | 1): string;
173
174
  };
174
- compile({ cache, forceRecompile, }?: {
175
+ compile({ cache, forceRecompile }?: {
175
176
  cache?: import("o1js").Cache | undefined;
176
177
  forceRecompile?: boolean | undefined;
177
178
  }): Promise<{
@@ -183,6 +184,7 @@ export declare const NFTAdvancedAdmin: {
183
184
  verify: (statement: import("node_modules/o1js/dist/node/snarky.js").Pickles.Statement<import("node_modules/o1js/dist/node/lib/provable/core/fieldvar.js").FieldConst>, proof: unknown) => Promise<boolean>;
184
185
  }>;
185
186
  digest(): Promise<string>;
187
+ getMaxProofsVerified(): Promise<0 | 2 | 1>;
186
188
  runOutsideCircuit(run: () => void): void;
187
189
  analyzeMethods({ printSummary }?: {
188
190
  printSummary?: boolean | undefined;
@@ -191,6 +193,7 @@ export declare const NFTAdvancedAdmin: {
191
193
  rows: number;
192
194
  digest: string;
193
195
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
196
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
194
197
  }>>;
195
198
  };
196
199
  export type NonFungibleTokenContracts = {
@@ -311,9 +314,9 @@ export declare const Collection: {
311
314
  getUnconstrained(): import("o1js").PublicKey;
312
315
  getAndRequireSignature(): import("o1js").PublicKey;
313
316
  };
314
- readonly account: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Account;
315
- readonly network: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Network;
316
- readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/precondition.js").CurrentSlot;
317
+ readonly account: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
318
+ readonly network: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
319
+ readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
317
320
  approve(update: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
318
321
  send(args: {
319
322
  to: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
@@ -349,9 +352,9 @@ export declare const Collection: {
349
352
  rows: number;
350
353
  digest: string;
351
354
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
355
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
352
356
  }>;
353
357
  _provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
354
- _maxProofsVerified?: 0 | 1 | 2;
355
358
  _verificationKey?: {
356
359
  data: string;
357
360
  hash: import("o1js").Field;
@@ -370,6 +373,7 @@ export declare const Collection: {
370
373
  proof: unknown;
371
374
  maxProofsVerified: 0 | 2 | 1;
372
375
  shouldVerify: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
376
+ declare(): boolean;
373
377
  toJSON(): import("o1js").JsonProof;
374
378
  publicFields(): {
375
379
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
@@ -435,7 +439,7 @@ export declare const Collection: {
435
439
  _proofFromBase64(proofString: string, maxProofsVerified: 0 | 2 | 1): unknown;
436
440
  _proofToBase64(proof: unknown, maxProofsVerified: 0 | 2 | 1): string;
437
441
  };
438
- compile({ cache, forceRecompile, }?: {
442
+ compile({ cache, forceRecompile }?: {
439
443
  cache?: import("o1js").Cache | undefined;
440
444
  forceRecompile?: boolean | undefined;
441
445
  }): Promise<{
@@ -447,6 +451,7 @@ export declare const Collection: {
447
451
  verify: (statement: import("node_modules/o1js/dist/node/snarky.js").Pickles.Statement<import("node_modules/o1js/dist/node/lib/provable/core/fieldvar.js").FieldConst>, proof: unknown) => Promise<boolean>;
448
452
  }>;
449
453
  digest(): Promise<string>;
454
+ getMaxProofsVerified(): Promise<0 | 2 | 1>;
450
455
  runOutsideCircuit(run: () => void): void;
451
456
  analyzeMethods({ printSummary }?: {
452
457
  printSummary?: boolean | undefined;
@@ -455,6 +460,7 @@ export declare const Collection: {
455
460
  rows: number;
456
461
  digest: string;
457
462
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
463
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
458
464
  }>>;
459
465
  }, Approval: NFTApprovalContractConstructor, Owner: NFTOwnerContractConstructor, Admin: NFTAdminContractConstructor, Update: NFTUpdateContractConstructor;
460
466
  export declare const Offer: ReturnType<typeof OfferFactory>;
@@ -563,9 +569,9 @@ export declare const AdvancedCollection: {
563
569
  getUnconstrained(): import("o1js").PublicKey;
564
570
  getAndRequireSignature(): import("o1js").PublicKey;
565
571
  };
566
- readonly account: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Account;
567
- readonly network: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Network;
568
- readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/precondition.js").CurrentSlot;
572
+ readonly account: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
573
+ readonly network: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
574
+ readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
569
575
  approve(update: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
570
576
  send(args: {
571
577
  to: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
@@ -601,9 +607,9 @@ export declare const AdvancedCollection: {
601
607
  rows: number;
602
608
  digest: string;
603
609
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
610
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
604
611
  }>;
605
612
  _provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
606
- _maxProofsVerified?: 0 | 1 | 2;
607
613
  _verificationKey?: {
608
614
  data: string;
609
615
  hash: import("o1js").Field;
@@ -622,6 +628,7 @@ export declare const AdvancedCollection: {
622
628
  proof: unknown;
623
629
  maxProofsVerified: 0 | 2 | 1;
624
630
  shouldVerify: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
631
+ declare(): boolean;
625
632
  toJSON(): import("o1js").JsonProof;
626
633
  publicFields(): {
627
634
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
@@ -687,7 +694,7 @@ export declare const AdvancedCollection: {
687
694
  _proofFromBase64(proofString: string, maxProofsVerified: 0 | 2 | 1): unknown;
688
695
  _proofToBase64(proof: unknown, maxProofsVerified: 0 | 2 | 1): string;
689
696
  };
690
- compile({ cache, forceRecompile, }?: {
697
+ compile({ cache, forceRecompile }?: {
691
698
  cache?: import("o1js").Cache | undefined;
692
699
  forceRecompile?: boolean | undefined;
693
700
  }): Promise<{
@@ -699,6 +706,7 @@ export declare const AdvancedCollection: {
699
706
  verify: (statement: import("node_modules/o1js/dist/node/snarky.js").Pickles.Statement<import("node_modules/o1js/dist/node/lib/provable/core/fieldvar.js").FieldConst>, proof: unknown) => Promise<boolean>;
700
707
  }>;
701
708
  digest(): Promise<string>;
709
+ getMaxProofsVerified(): Promise<0 | 2 | 1>;
702
710
  runOutsideCircuit(run: () => void): void;
703
711
  analyzeMethods({ printSummary }?: {
704
712
  printSummary?: boolean | undefined;
@@ -707,6 +715,7 @@ export declare const AdvancedCollection: {
707
715
  rows: number;
708
716
  digest: string;
709
717
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
718
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
710
719
  }>>;
711
720
  }, AdvancedApproval: NFTApprovalContractConstructor, AdvancedOwner: NFTOwnerContractConstructor, AdvancedAdmin: NFTAdminContractConstructor;
712
721
  export declare const AdvancedOffer: ReturnType<typeof OfferFactory>;
@@ -186,7 +186,7 @@ declare const UpdateEvent_base: (new (value: {
186
186
  x: Field | bigint;
187
187
  isOdd: Bool | boolean;
188
188
  };
189
- version: bigint | UInt32;
189
+ version: number | bigint | UInt32;
190
190
  isPaused: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
191
191
  metadataVerificationKeyHash: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
192
192
  }) => {
@@ -307,7 +307,7 @@ declare const NFTImmutableState_base: (new (value: {
307
307
  isOdd: Bool | boolean;
308
308
  };
309
309
  tokenId: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
310
- id: bigint | UInt64;
310
+ id: number | bigint | UInt64;
311
311
  }) => {
312
312
  canChangeOwnerByProof: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
313
313
  canTransfer: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -582,7 +582,7 @@ declare const NFTState_base: (new (value: {
582
582
  isOdd: Bool | boolean;
583
583
  };
584
584
  tokenId: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
585
- id: bigint | UInt64;
585
+ id: number | bigint | UInt64;
586
586
  };
587
587
  name: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
588
588
  owner: PublicKey | {
@@ -597,7 +597,7 @@ declare const NFTState_base: (new (value: {
597
597
  storage: Storage | {
598
598
  url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[] | bigint[];
599
599
  };
600
- version: bigint | UInt32;
600
+ version: number | bigint | UInt32;
601
601
  isPaused: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
602
602
  metadataVerificationKeyHash: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
603
603
  creator: PublicKey | {
@@ -880,8 +880,8 @@ declare const NFTData_base: (new (value: {
880
880
  x: Field | bigint;
881
881
  isOdd: Bool | boolean;
882
882
  };
883
- version: bigint | UInt32;
884
- id: bigint | UInt64;
883
+ version: number | bigint | UInt32;
884
+ id: number | bigint | UInt64;
885
885
  canChangeOwnerByProof: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
886
886
  canTransfer: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
887
887
  canApprove: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -1080,8 +1080,8 @@ declare const CollectionData_base: (new (value: {
1080
1080
  };
1081
1081
  } & {
1082
1082
  fromValue: (value: {
1083
- royaltyFee: bigint | UInt32;
1084
- transferFee: bigint | UInt64;
1083
+ royaltyFee: number | bigint | UInt32;
1084
+ transferFee: number | bigint | UInt64;
1085
1085
  requireTransferApproval: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1086
1086
  mintingIsLimited: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1087
1087
  isPaused: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -1264,8 +1264,8 @@ declare const MintParams_base: (new (value: {
1264
1264
  x: Field | bigint;
1265
1265
  isOdd: Bool | boolean;
1266
1266
  };
1267
- version: bigint | UInt32;
1268
- id: bigint | UInt64;
1267
+ version: number | bigint | UInt32;
1268
+ id: number | bigint | UInt64;
1269
1269
  canChangeOwnerByProof: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1270
1270
  canTransfer: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1271
1271
  canApprove: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -1277,13 +1277,13 @@ declare const MintParams_base: (new (value: {
1277
1277
  isPaused: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1278
1278
  requireOwnerAuthorizationToUpgrade: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
1279
1279
  };
1280
- fee: bigint | UInt64;
1280
+ fee: number | bigint | UInt64;
1281
1281
  metadata: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
1282
1282
  storage: Storage | {
1283
1283
  url: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[] | bigint[];
1284
1284
  };
1285
1285
  metadataVerificationKeyHash: string | number | bigint | import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
1286
- expiry: bigint | UInt32;
1286
+ expiry: number | bigint | UInt32;
1287
1287
  }) => {
1288
1288
  name: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
1289
1289
  address: PublicKey;
@@ -218,11 +218,11 @@ declare const Auction_base: (new (value: {
218
218
  x: Field | bigint;
219
219
  isOdd: Bool | boolean;
220
220
  };
221
- minimumPrice: bigint | UInt64;
222
- transferFee: bigint | UInt64;
223
- saleFee: bigint | UInt32;
224
- auctionEndTime: bigint | UInt32;
225
- withdrawPeriod: bigint | UInt32;
221
+ minimumPrice: number | bigint | UInt64;
222
+ transferFee: number | bigint | UInt64;
223
+ saleFee: number | bigint | UInt32;
224
+ auctionEndTime: number | bigint | UInt32;
225
+ withdrawPeriod: number | bigint | UInt32;
226
226
  isOwnerPaid: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
227
227
  isNFTtransferred: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
228
228
  isNFTwithdrawn: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -392,7 +392,7 @@ declare const AuctionState_base: (new (value: {
392
392
  };
393
393
  } & {
394
394
  fromValue: (value: {
395
- bidAmount: bigint | UInt64;
395
+ bidAmount: number | bigint | UInt64;
396
396
  auction: Auction | {
397
397
  owner: PublicKey | {
398
398
  x: Field | bigint;
@@ -414,11 +414,11 @@ declare const AuctionState_base: (new (value: {
414
414
  x: Field | bigint;
415
415
  isOdd: Bool | boolean;
416
416
  };
417
- minimumPrice: bigint | UInt64;
418
- transferFee: bigint | UInt64;
419
- saleFee: bigint | UInt32;
420
- auctionEndTime: bigint | UInt32;
421
- withdrawPeriod: bigint | UInt32;
417
+ minimumPrice: number | bigint | UInt64;
418
+ transferFee: number | bigint | UInt64;
419
+ saleFee: number | bigint | UInt32;
420
+ auctionEndTime: number | bigint | UInt32;
421
+ withdrawPeriod: number | bigint | UInt32;
422
422
  isOwnerPaid: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
423
423
  isNFTtransferred: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
424
424
  isNFTwithdrawn: boolean | import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
@@ -539,7 +539,7 @@ declare const AuctionBidEvent_base: (new (value: {
539
539
  x: Field | bigint;
540
540
  isOdd: Bool | boolean;
541
541
  };
542
- price: bigint | UInt64;
542
+ price: number | bigint | UInt64;
543
543
  }) => {
544
544
  bidder: PublicKey;
545
545
  price: UInt64;
@@ -627,9 +627,9 @@ export declare function AuctionFactory(params: {
627
627
  getUnconstrained(): PublicKey;
628
628
  getAndRequireSignature(): PublicKey;
629
629
  };
630
- readonly account: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Account;
631
- readonly network: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Network;
632
- readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/precondition.js").CurrentSlot;
630
+ readonly account: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
631
+ readonly network: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
632
+ readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
633
633
  approve(update: AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
634
634
  send(args: {
635
635
  to: PublicKey | AccountUpdate | SmartContract;
@@ -664,9 +664,9 @@ export declare function AuctionFactory(params: {
664
664
  rows: number;
665
665
  digest: string;
666
666
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
667
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
667
668
  }>;
668
669
  _provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
669
- _maxProofsVerified?: 0 | 1 | 2;
670
670
  _verificationKey?: {
671
671
  data: string;
672
672
  hash: Field;
@@ -685,6 +685,7 @@ export declare function AuctionFactory(params: {
685
685
  proof: unknown;
686
686
  maxProofsVerified: 0 | 2 | 1;
687
687
  shouldVerify: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
688
+ declare(): boolean;
688
689
  toJSON(): import("o1js").JsonProof;
689
690
  publicFields(): {
690
691
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
@@ -750,7 +751,7 @@ export declare function AuctionFactory(params: {
750
751
  _proofFromBase64(proofString: string, maxProofsVerified: 0 | 2 | 1): unknown;
751
752
  _proofToBase64(proof: unknown, maxProofsVerified: 0 | 2 | 1): string;
752
753
  };
753
- compile({ cache, forceRecompile, }?: {
754
+ compile({ cache, forceRecompile }?: {
754
755
  cache?: import("o1js").Cache | undefined;
755
756
  forceRecompile?: boolean | undefined;
756
757
  }): Promise<{
@@ -762,6 +763,7 @@ export declare function AuctionFactory(params: {
762
763
  verify: (statement: import("node_modules/o1js/dist/node/snarky.js").Pickles.Statement<import("node_modules/o1js/dist/node/lib/provable/core/fieldvar.js").FieldConst>, proof: unknown) => Promise<boolean>;
763
764
  }>;
764
765
  digest(): Promise<string>;
766
+ getMaxProofsVerified(): Promise<0 | 2 | 1>;
765
767
  runOutsideCircuit(run: () => void): void;
766
768
  analyzeMethods({ printSummary }?: {
767
769
  printSummary?: boolean | undefined;
@@ -770,6 +772,7 @@ export declare function AuctionFactory(params: {
770
772
  rows: number;
771
773
  digest: string;
772
774
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
775
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
773
776
  }>>;
774
777
  };
775
778
  export {};
@@ -117,7 +117,7 @@ declare const BB_OfferEvent_base: (new (value: {
117
117
  x: Field | bigint;
118
118
  isOdd: Bool | boolean;
119
119
  };
120
- price: bigint | UInt64;
120
+ price: number | bigint | UInt64;
121
121
  }) => {
122
122
  collection: PublicKey;
123
123
  nft: PublicKey;
@@ -283,7 +283,7 @@ declare const BB_BidEvent_base: (new (value: {
283
283
  x: Field | bigint;
284
284
  isOdd: Bool | boolean;
285
285
  };
286
- price: bigint | UInt64;
286
+ price: number | bigint | UInt64;
287
287
  }) => {
288
288
  collection: PublicKey;
289
289
  nft: PublicKey;
@@ -468,7 +468,7 @@ declare const BB_SaleEvent_base: (new (value: {
468
468
  x: Field | bigint;
469
469
  isOdd: Bool | boolean;
470
470
  };
471
- price: bigint | UInt64;
471
+ price: number | bigint | UInt64;
472
472
  }) => {
473
473
  collection: PublicKey;
474
474
  nft: PublicKey;
@@ -23,8 +23,8 @@ declare const Bid_base: (new (value: {
23
23
  };
24
24
  } & {
25
25
  fromValue: (value: {
26
- price: bigint | UInt64;
27
- points: bigint | UInt64;
26
+ price: number | bigint | UInt64;
27
+ points: number | bigint | UInt64;
28
28
  }) => {
29
29
  price: UInt64;
30
30
  points: UInt64;
@@ -106,9 +106,9 @@ export declare function BidFactory(params: {
106
106
  getUnconstrained(): PublicKey;
107
107
  getAndRequireSignature(): PublicKey;
108
108
  };
109
- readonly account: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Account;
110
- readonly network: import("node_modules/o1js/dist/node/lib/mina/precondition.js").Network;
111
- readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/precondition.js").CurrentSlot;
109
+ readonly account: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
110
+ readonly network: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
111
+ readonly currentSlot: import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
112
112
  approve(update: AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
113
113
  send(args: {
114
114
  to: PublicKey | AccountUpdate | SmartContract;
@@ -143,9 +143,9 @@ export declare function BidFactory(params: {
143
143
  rows: number;
144
144
  digest: string;
145
145
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
146
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
146
147
  }>;
147
148
  _provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
148
- _maxProofsVerified?: 0 | 1 | 2;
149
149
  _verificationKey?: {
150
150
  data: string;
151
151
  hash: Field;
@@ -164,6 +164,7 @@ export declare function BidFactory(params: {
164
164
  proof: unknown;
165
165
  maxProofsVerified: 0 | 2 | 1;
166
166
  shouldVerify: import("node_modules/o1js/dist/node/lib/provable/bool.js").Bool;
167
+ declare(): boolean;
167
168
  toJSON(): import("o1js").JsonProof;
168
169
  publicFields(): {
169
170
  input: import("node_modules/o1js/dist/node/lib/provable/field.js").Field[];
@@ -229,7 +230,7 @@ export declare function BidFactory(params: {
229
230
  _proofFromBase64(proofString: string, maxProofsVerified: 0 | 2 | 1): unknown;
230
231
  _proofToBase64(proof: unknown, maxProofsVerified: 0 | 2 | 1): string;
231
232
  };
232
- compile({ cache, forceRecompile, }?: {
233
+ compile({ cache, forceRecompile }?: {
233
234
  cache?: import("o1js").Cache | undefined;
234
235
  forceRecompile?: boolean | undefined;
235
236
  }): Promise<{
@@ -241,6 +242,7 @@ export declare function BidFactory(params: {
241
242
  verify: (statement: import("node_modules/o1js/dist/node/snarky.js").Pickles.Statement<import("node_modules/o1js/dist/node/lib/provable/core/fieldvar.js").FieldConst>, proof: unknown) => Promise<boolean>;
242
243
  }>;
243
244
  digest(): Promise<string>;
245
+ getMaxProofsVerified(): Promise<0 | 2 | 1>;
244
246
  runOutsideCircuit(run: () => void): void;
245
247
  analyzeMethods({ printSummary }?: {
246
248
  printSummary?: boolean | undefined;
@@ -249,6 +251,7 @@ export declare function BidFactory(params: {
249
251
  rows: number;
250
252
  digest: string;
251
253
  gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
254
+ proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
252
255
  }>>;
253
256
  };
254
257
  export {};