@silvana-one/nft 1.0.25 → 1.0.26
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.
- package/dist/node/admin/advanced.d.ts +12 -12
- package/dist/node/contracts/collection.d.ts +12 -12
- package/dist/node/contracts.d.ts +36 -36
- package/dist/node/marketplace/auction.d.ts +11 -11
- package/dist/node/marketplace/bid.d.ts +11 -11
- package/dist/node/marketplace/nft-shares.d.ts +52 -52
- package/dist/node/marketplace/offer.d.ts +11 -11
- package/dist/node/zkprogram-example/game.d.ts +4 -9
- package/dist/node/zkprogram-example/update.d.ts +4 -9
- package/dist/tsconfig.node.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/admin/advanced.d.ts +12 -12
- package/dist/web/contracts/collection.d.ts +12 -12
- package/dist/web/contracts.d.ts +36 -36
- package/dist/web/marketplace/auction.d.ts +11 -11
- package/dist/web/marketplace/bid.d.ts +11 -11
- package/dist/web/marketplace/nft-shares.d.ts +52 -52
- package/dist/web/marketplace/offer.d.ts +11 -11
- package/dist/web/zkprogram-example/game.d.ts +4 -9
- package/dist/web/zkprogram-example/update.d.ts +4 -9
- package/package.json +11 -10
|
@@ -391,7 +391,7 @@ declare function CollectionFactory(params: {
|
|
|
391
391
|
acceptOwnership(): Promise<PublicKey>;
|
|
392
392
|
getNFTState(address: PublicKey): Promise<NFTStateStruct>;
|
|
393
393
|
deriveTokenId(): import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
394
|
-
|
|
394
|
+
get internal(): {
|
|
395
395
|
mint({ address, amount, }: {
|
|
396
396
|
address: PublicKey | AccountUpdate | import("o1js").SmartContract;
|
|
397
397
|
amount: number | bigint | UInt64;
|
|
@@ -411,28 +411,28 @@ declare function CollectionFactory(params: {
|
|
|
411
411
|
approveAccountUpdate(accountUpdate: AccountUpdate | import("o1js").AccountUpdateTree): Promise<void>;
|
|
412
412
|
approveAccountUpdates(accountUpdates: (AccountUpdate | import("o1js").AccountUpdateTree)[]): Promise<void>;
|
|
413
413
|
transfer(from: PublicKey | AccountUpdate, to: PublicKey | AccountUpdate, amount: UInt64 | number | bigint): Promise<void>;
|
|
414
|
-
|
|
414
|
+
#private: any;
|
|
415
415
|
address: PublicKey;
|
|
416
416
|
tokenId: Field;
|
|
417
417
|
init(): void;
|
|
418
418
|
requireSignature(): void;
|
|
419
419
|
skipAuthorization(): void;
|
|
420
|
-
|
|
420
|
+
get self(): AccountUpdate;
|
|
421
421
|
newSelf(methodName?: string): AccountUpdate;
|
|
422
422
|
sender: {
|
|
423
423
|
self: import("o1js").SmartContract;
|
|
424
424
|
getUnconstrained(): PublicKey;
|
|
425
425
|
getAndRequireSignature(): PublicKey;
|
|
426
426
|
};
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
427
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
428
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
429
|
+
get currentSlot(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
|
|
430
430
|
approve(update: AccountUpdate | import("o1js").AccountUpdateTree | AccountUpdateForest): void;
|
|
431
431
|
send(args: {
|
|
432
432
|
to: PublicKey | AccountUpdate | import("o1js").SmartContract;
|
|
433
433
|
amount: number | bigint | UInt64;
|
|
434
434
|
}): AccountUpdate;
|
|
435
|
-
|
|
435
|
+
get balance(): {
|
|
436
436
|
addInPlace(x: string | number | bigint | UInt64 | UInt32 | import("o1js").Int64): void;
|
|
437
437
|
subInPlace(x: string | number | bigint | UInt64 | UInt32 | import("o1js").Int64): void;
|
|
438
438
|
};
|
|
@@ -461,10 +461,10 @@ declare function CollectionFactory(params: {
|
|
|
461
461
|
actions: number;
|
|
462
462
|
rows: number;
|
|
463
463
|
digest: string;
|
|
464
|
-
gates: import("node_modules/o1js/dist/node/
|
|
464
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
465
465
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
466
466
|
}>;
|
|
467
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
467
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
468
468
|
_verificationKey?: {
|
|
469
469
|
data: string;
|
|
470
470
|
hash: Field;
|
|
@@ -557,8 +557,8 @@ declare function CollectionFactory(params: {
|
|
|
557
557
|
data: string;
|
|
558
558
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
559
559
|
};
|
|
560
|
-
provers: import("node_modules/o1js/dist/node/
|
|
561
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
560
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
561
|
+
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>;
|
|
562
562
|
}>;
|
|
563
563
|
digest(): Promise<string>;
|
|
564
564
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -573,7 +573,7 @@ declare function CollectionFactory(params: {
|
|
|
573
573
|
actions: number;
|
|
574
574
|
rows: number;
|
|
575
575
|
digest: string;
|
|
576
|
-
gates: import("node_modules/o1js/dist/node/
|
|
576
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
577
577
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
578
578
|
}>>;
|
|
579
579
|
};
|
package/dist/web/contracts.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const NFTAdvancedAdmin: {
|
|
|
16
16
|
updateWhitelist: typeof import("@silvana-one/storage").Whitelist;
|
|
17
17
|
};
|
|
18
18
|
ensureOwnerSignature(): Promise<import("o1js").AccountUpdate>;
|
|
19
|
-
|
|
19
|
+
get getUpgradeContractConstructor(): import("@silvana-one/upgradable").UpgradeAuthorityContractConstructor;
|
|
20
20
|
getUpgradeContract(): Promise<import("@silvana-one/upgradable").UpgradeAuthorityBase>;
|
|
21
21
|
upgradeVerificationKey(vk: import("o1js").VerificationKey): Promise<void>;
|
|
22
22
|
canMint(mintRequest: import("./interfaces/types.js").MintRequest): Promise<import("./interfaces/types.js").MintParamsOption>;
|
|
@@ -35,28 +35,28 @@ export declare const NFTAdvancedAdmin: {
|
|
|
35
35
|
canSetAdmin(admin: import("o1js").PublicKey): Promise<import("o1js").Bool>;
|
|
36
36
|
canPause(): Promise<import("o1js").Bool>;
|
|
37
37
|
canResume(): Promise<import("o1js").Bool>;
|
|
38
|
-
|
|
38
|
+
#private: any;
|
|
39
39
|
address: import("o1js").PublicKey;
|
|
40
40
|
tokenId: import("o1js").Field;
|
|
41
41
|
init(): void;
|
|
42
42
|
requireSignature(): void;
|
|
43
43
|
skipAuthorization(): void;
|
|
44
|
-
|
|
44
|
+
get self(): import("o1js").AccountUpdate;
|
|
45
45
|
newSelf(methodName?: string): import("o1js").AccountUpdate;
|
|
46
46
|
sender: {
|
|
47
47
|
self: import("o1js").SmartContract;
|
|
48
48
|
getUnconstrained(): import("o1js").PublicKey;
|
|
49
49
|
getAndRequireSignature(): import("o1js").PublicKey;
|
|
50
50
|
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
52
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
53
|
+
get 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;
|
|
57
57
|
amount: number | bigint | import("o1js").UInt64;
|
|
58
58
|
}): import("o1js").AccountUpdate;
|
|
59
|
-
|
|
59
|
+
get balance(): {
|
|
60
60
|
addInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
61
61
|
subInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
62
62
|
};
|
|
@@ -84,10 +84,10 @@ export declare const NFTAdvancedAdmin: {
|
|
|
84
84
|
actions: number;
|
|
85
85
|
rows: number;
|
|
86
86
|
digest: string;
|
|
87
|
-
gates: import("node_modules/o1js/dist/node/
|
|
87
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
88
88
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
89
89
|
}>;
|
|
90
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
90
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
91
91
|
_verificationKey?: {
|
|
92
92
|
data: string;
|
|
93
93
|
hash: import("o1js").Field;
|
|
@@ -180,8 +180,8 @@ export declare const NFTAdvancedAdmin: {
|
|
|
180
180
|
data: string;
|
|
181
181
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
182
182
|
};
|
|
183
|
-
provers: import("node_modules/o1js/dist/node/
|
|
184
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
183
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
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>;
|
|
185
185
|
}>;
|
|
186
186
|
digest(): Promise<string>;
|
|
187
187
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -196,7 +196,7 @@ export declare const NFTAdvancedAdmin: {
|
|
|
196
196
|
actions: number;
|
|
197
197
|
rows: number;
|
|
198
198
|
digest: string;
|
|
199
|
-
gates: import("node_modules/o1js/dist/node/
|
|
199
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
200
200
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
201
201
|
}>>;
|
|
202
202
|
};
|
|
@@ -288,7 +288,7 @@ export declare const Collection: {
|
|
|
288
288
|
acceptOwnership(): Promise<import("o1js").PublicKey>;
|
|
289
289
|
getNFTState(address: import("o1js").PublicKey): Promise<import("./interfaces/types.js").NFTStateStruct>;
|
|
290
290
|
deriveTokenId(): import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
291
|
-
|
|
291
|
+
get internal(): {
|
|
292
292
|
mint({ address, amount, }: {
|
|
293
293
|
address: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
294
294
|
amount: number | bigint | import("o1js").UInt64;
|
|
@@ -308,28 +308,28 @@ export declare const Collection: {
|
|
|
308
308
|
approveAccountUpdate(accountUpdate: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree): Promise<void>;
|
|
309
309
|
approveAccountUpdates(accountUpdates: (import("o1js").AccountUpdate | import("o1js").AccountUpdateTree)[]): Promise<void>;
|
|
310
310
|
transfer(from: import("o1js").PublicKey | import("o1js").AccountUpdate, to: import("o1js").PublicKey | import("o1js").AccountUpdate, amount: import("o1js").UInt64 | number | bigint): Promise<void>;
|
|
311
|
-
|
|
311
|
+
#private: any;
|
|
312
312
|
address: import("o1js").PublicKey;
|
|
313
313
|
tokenId: import("o1js").Field;
|
|
314
314
|
init(): void;
|
|
315
315
|
requireSignature(): void;
|
|
316
316
|
skipAuthorization(): void;
|
|
317
|
-
|
|
317
|
+
get self(): import("o1js").AccountUpdate;
|
|
318
318
|
newSelf(methodName?: string): import("o1js").AccountUpdate;
|
|
319
319
|
sender: {
|
|
320
320
|
self: import("o1js").SmartContract;
|
|
321
321
|
getUnconstrained(): import("o1js").PublicKey;
|
|
322
322
|
getAndRequireSignature(): import("o1js").PublicKey;
|
|
323
323
|
};
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
324
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
325
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
326
|
+
get currentSlot(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
|
|
327
327
|
approve(update: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
|
|
328
328
|
send(args: {
|
|
329
329
|
to: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
330
330
|
amount: number | bigint | import("o1js").UInt64;
|
|
331
331
|
}): import("o1js").AccountUpdate;
|
|
332
|
-
|
|
332
|
+
get balance(): {
|
|
333
333
|
addInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
334
334
|
subInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
335
335
|
};
|
|
@@ -358,10 +358,10 @@ export declare const Collection: {
|
|
|
358
358
|
actions: number;
|
|
359
359
|
rows: number;
|
|
360
360
|
digest: string;
|
|
361
|
-
gates: import("node_modules/o1js/dist/node/
|
|
361
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
362
362
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
363
363
|
}>;
|
|
364
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
364
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
365
365
|
_verificationKey?: {
|
|
366
366
|
data: string;
|
|
367
367
|
hash: import("o1js").Field;
|
|
@@ -454,8 +454,8 @@ export declare const Collection: {
|
|
|
454
454
|
data: string;
|
|
455
455
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
456
456
|
};
|
|
457
|
-
provers: import("node_modules/o1js/dist/node/
|
|
458
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
457
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
458
|
+
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>;
|
|
459
459
|
}>;
|
|
460
460
|
digest(): Promise<string>;
|
|
461
461
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -470,7 +470,7 @@ export declare const Collection: {
|
|
|
470
470
|
actions: number;
|
|
471
471
|
rows: number;
|
|
472
472
|
digest: string;
|
|
473
|
-
gates: import("node_modules/o1js/dist/node/
|
|
473
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
474
474
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
475
475
|
}>>;
|
|
476
476
|
}, Approval: NFTApprovalContractConstructor, Owner: NFTOwnerContractConstructor, Admin: NFTAdminContractConstructor, Update: NFTUpdateContractConstructor;
|
|
@@ -550,7 +550,7 @@ export declare const AdvancedCollection: {
|
|
|
550
550
|
acceptOwnership(): Promise<import("o1js").PublicKey>;
|
|
551
551
|
getNFTState(address: import("o1js").PublicKey): Promise<import("./interfaces/types.js").NFTStateStruct>;
|
|
552
552
|
deriveTokenId(): import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
553
|
-
|
|
553
|
+
get internal(): {
|
|
554
554
|
mint({ address, amount, }: {
|
|
555
555
|
address: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
556
556
|
amount: number | bigint | import("o1js").UInt64;
|
|
@@ -570,28 +570,28 @@ export declare const AdvancedCollection: {
|
|
|
570
570
|
approveAccountUpdate(accountUpdate: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree): Promise<void>;
|
|
571
571
|
approveAccountUpdates(accountUpdates: (import("o1js").AccountUpdate | import("o1js").AccountUpdateTree)[]): Promise<void>;
|
|
572
572
|
transfer(from: import("o1js").PublicKey | import("o1js").AccountUpdate, to: import("o1js").PublicKey | import("o1js").AccountUpdate, amount: import("o1js").UInt64 | number | bigint): Promise<void>;
|
|
573
|
-
|
|
573
|
+
#private: any;
|
|
574
574
|
address: import("o1js").PublicKey;
|
|
575
575
|
tokenId: import("o1js").Field;
|
|
576
576
|
init(): void;
|
|
577
577
|
requireSignature(): void;
|
|
578
578
|
skipAuthorization(): void;
|
|
579
|
-
|
|
579
|
+
get self(): import("o1js").AccountUpdate;
|
|
580
580
|
newSelf(methodName?: string): import("o1js").AccountUpdate;
|
|
581
581
|
sender: {
|
|
582
582
|
self: import("o1js").SmartContract;
|
|
583
583
|
getUnconstrained(): import("o1js").PublicKey;
|
|
584
584
|
getAndRequireSignature(): import("o1js").PublicKey;
|
|
585
585
|
};
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
586
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
587
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
588
|
+
get currentSlot(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
|
|
589
589
|
approve(update: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
|
|
590
590
|
send(args: {
|
|
591
591
|
to: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
592
592
|
amount: number | bigint | import("o1js").UInt64;
|
|
593
593
|
}): import("o1js").AccountUpdate;
|
|
594
|
-
|
|
594
|
+
get balance(): {
|
|
595
595
|
addInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
596
596
|
subInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
597
597
|
};
|
|
@@ -620,10 +620,10 @@ export declare const AdvancedCollection: {
|
|
|
620
620
|
actions: number;
|
|
621
621
|
rows: number;
|
|
622
622
|
digest: string;
|
|
623
|
-
gates: import("node_modules/o1js/dist/node/
|
|
623
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
624
624
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
625
625
|
}>;
|
|
626
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
626
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
627
627
|
_verificationKey?: {
|
|
628
628
|
data: string;
|
|
629
629
|
hash: import("o1js").Field;
|
|
@@ -716,8 +716,8 @@ export declare const AdvancedCollection: {
|
|
|
716
716
|
data: string;
|
|
717
717
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
718
718
|
};
|
|
719
|
-
provers: import("node_modules/o1js/dist/node/
|
|
720
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
719
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
720
|
+
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>;
|
|
721
721
|
}>;
|
|
722
722
|
digest(): Promise<string>;
|
|
723
723
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -732,7 +732,7 @@ export declare const AdvancedCollection: {
|
|
|
732
732
|
actions: number;
|
|
733
733
|
rows: number;
|
|
734
734
|
digest: string;
|
|
735
|
-
gates: import("node_modules/o1js/dist/node/
|
|
735
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
736
736
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
737
737
|
}>>;
|
|
738
738
|
}, AdvancedApproval: NFTApprovalContractConstructor, AdvancedOwner: NFTOwnerContractConstructor, AdvancedAdmin: NFTAdminContractConstructor;
|
|
@@ -614,28 +614,28 @@ export declare function AuctionFactory(params: {
|
|
|
614
614
|
* Anybody can call this method to allow the use of bots by the auctioneer or bidder
|
|
615
615
|
*/
|
|
616
616
|
withdraw(): Promise<void>;
|
|
617
|
-
|
|
617
|
+
#private: any;
|
|
618
618
|
address: PublicKey;
|
|
619
619
|
tokenId: Field;
|
|
620
620
|
init(): void;
|
|
621
621
|
requireSignature(): void;
|
|
622
622
|
skipAuthorization(): void;
|
|
623
|
-
|
|
623
|
+
get self(): AccountUpdate;
|
|
624
624
|
newSelf(methodName?: string): AccountUpdate;
|
|
625
625
|
sender: {
|
|
626
626
|
self: SmartContract;
|
|
627
627
|
getUnconstrained(): PublicKey;
|
|
628
628
|
getAndRequireSignature(): PublicKey;
|
|
629
629
|
};
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
630
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
631
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
632
|
+
get 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;
|
|
636
636
|
amount: number | bigint | UInt64;
|
|
637
637
|
}): AccountUpdate;
|
|
638
|
-
|
|
638
|
+
get balance(): {
|
|
639
639
|
addInPlace(x: string | number | bigint | UInt64 | UInt32 | import("o1js").Int64): void;
|
|
640
640
|
subInPlace(x: string | number | bigint | UInt64 | UInt32 | import("o1js").Int64): void;
|
|
641
641
|
};
|
|
@@ -663,10 +663,10 @@ export declare function AuctionFactory(params: {
|
|
|
663
663
|
actions: number;
|
|
664
664
|
rows: number;
|
|
665
665
|
digest: string;
|
|
666
|
-
gates: import("node_modules/o1js/dist/node/
|
|
666
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
667
667
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
668
668
|
}>;
|
|
669
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
669
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
670
670
|
_verificationKey?: {
|
|
671
671
|
data: string;
|
|
672
672
|
hash: Field;
|
|
@@ -759,8 +759,8 @@ export declare function AuctionFactory(params: {
|
|
|
759
759
|
data: string;
|
|
760
760
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
761
761
|
};
|
|
762
|
-
provers: import("node_modules/o1js/dist/node/
|
|
763
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
762
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
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>;
|
|
764
764
|
}>;
|
|
765
765
|
digest(): Promise<string>;
|
|
766
766
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -775,7 +775,7 @@ export declare function AuctionFactory(params: {
|
|
|
775
775
|
actions: number;
|
|
776
776
|
rows: number;
|
|
777
777
|
digest: string;
|
|
778
|
-
gates: import("node_modules/o1js/dist/node/
|
|
778
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
779
779
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
780
780
|
}>>;
|
|
781
781
|
};
|
|
@@ -93,28 +93,28 @@ export declare function BidFactory(params: {
|
|
|
93
93
|
approvedSell(nftAddress: NFTAddress, price: UInt64): Promise<void>;
|
|
94
94
|
_sell(nftAddress: NFTAddress, price: UInt64): Promise<void>;
|
|
95
95
|
bid(bids: Field, whitelist: Field, storage: Storage): Promise<void>;
|
|
96
|
-
|
|
96
|
+
#private: any;
|
|
97
97
|
address: PublicKey;
|
|
98
98
|
tokenId: Field;
|
|
99
99
|
init(): void;
|
|
100
100
|
requireSignature(): void;
|
|
101
101
|
skipAuthorization(): void;
|
|
102
|
-
|
|
102
|
+
get self(): AccountUpdate;
|
|
103
103
|
newSelf(methodName?: string): AccountUpdate;
|
|
104
104
|
sender: {
|
|
105
105
|
self: SmartContract;
|
|
106
106
|
getUnconstrained(): PublicKey;
|
|
107
107
|
getAndRequireSignature(): PublicKey;
|
|
108
108
|
};
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
110
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
111
|
+
get 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;
|
|
115
115
|
amount: number | bigint | UInt64;
|
|
116
116
|
}): AccountUpdate;
|
|
117
|
-
|
|
117
|
+
get balance(): {
|
|
118
118
|
addInPlace(x: string | number | bigint | UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
119
119
|
subInPlace(x: string | number | bigint | UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
120
120
|
};
|
|
@@ -142,10 +142,10 @@ export declare function BidFactory(params: {
|
|
|
142
142
|
actions: number;
|
|
143
143
|
rows: number;
|
|
144
144
|
digest: string;
|
|
145
|
-
gates: import("node_modules/o1js/dist/node/
|
|
145
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
146
146
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
147
147
|
}>;
|
|
148
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
148
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
149
149
|
_verificationKey?: {
|
|
150
150
|
data: string;
|
|
151
151
|
hash: Field;
|
|
@@ -238,8 +238,8 @@ export declare function BidFactory(params: {
|
|
|
238
238
|
data: string;
|
|
239
239
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
240
240
|
};
|
|
241
|
-
provers: import("node_modules/o1js/dist/node/
|
|
242
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
241
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
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>;
|
|
243
243
|
}>;
|
|
244
244
|
digest(): Promise<string>;
|
|
245
245
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -254,7 +254,7 @@ export declare function BidFactory(params: {
|
|
|
254
254
|
actions: number;
|
|
255
255
|
rows: number;
|
|
256
256
|
digest: string;
|
|
257
|
-
gates: import("node_modules/o1js/dist/node/
|
|
257
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
258
258
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
259
259
|
}>>;
|
|
260
260
|
};
|