@silvana-one/token 1.0.24 → 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/BondingCurveAdmin.d.ts +12 -12
- package/dist/node/FungibleToken.d.ts +24 -24
- package/dist/node/FungibleTokenContract.d.ts +12 -12
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/BondingCurveAdmin.d.ts +12 -12
- package/dist/web/FungibleToken.d.ts +24 -24
- package/dist/web/FungibleTokenContract.d.ts +12 -12
- package/package.json +7 -7
|
@@ -509,7 +509,7 @@ export declare const BondingCurveFungibleToken: {
|
|
|
509
509
|
getCirculating(): Promise<UInt64>;
|
|
510
510
|
getDecimals(): Promise<import("o1js").UInt8>;
|
|
511
511
|
deriveTokenId(): import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
512
|
-
|
|
512
|
+
get internal(): {
|
|
513
513
|
mint({ address, amount, }: {
|
|
514
514
|
address: PublicKey | AccountUpdate | import("o1js").SmartContract;
|
|
515
515
|
amount: number | bigint | UInt64;
|
|
@@ -528,28 +528,28 @@ export declare const BondingCurveFungibleToken: {
|
|
|
528
528
|
checkZeroBalanceChange(updates: AccountUpdateForest): void;
|
|
529
529
|
approveAccountUpdate(accountUpdate: AccountUpdate | import("o1js").AccountUpdateTree): Promise<void>;
|
|
530
530
|
approveAccountUpdates(accountUpdates: (AccountUpdate | import("o1js").AccountUpdateTree)[]): Promise<void>;
|
|
531
|
-
|
|
531
|
+
#private: any;
|
|
532
532
|
address: PublicKey;
|
|
533
533
|
tokenId: Field;
|
|
534
534
|
init(): void;
|
|
535
535
|
requireSignature(): void;
|
|
536
536
|
skipAuthorization(): void;
|
|
537
|
-
|
|
537
|
+
get self(): AccountUpdate;
|
|
538
538
|
newSelf(methodName?: string): AccountUpdate;
|
|
539
539
|
sender: {
|
|
540
540
|
self: import("o1js").SmartContract;
|
|
541
541
|
getUnconstrained(): PublicKey;
|
|
542
542
|
getAndRequireSignature(): PublicKey;
|
|
543
543
|
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
544
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
545
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
546
|
+
get currentSlot(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
|
|
547
547
|
approve(update: AccountUpdate | import("o1js").AccountUpdateTree | AccountUpdateForest): void;
|
|
548
548
|
send(args: {
|
|
549
549
|
to: PublicKey | AccountUpdate | import("o1js").SmartContract;
|
|
550
550
|
amount: number | bigint | UInt64;
|
|
551
551
|
}): AccountUpdate;
|
|
552
|
-
|
|
552
|
+
get balance(): {
|
|
553
553
|
addInPlace(x: string | number | bigint | UInt64 | UInt32 | import("node_modules/o1js/dist/node/lib/provable/int.js").Int64): void;
|
|
554
554
|
subInPlace(x: string | number | bigint | UInt64 | UInt32 | import("node_modules/o1js/dist/node/lib/provable/int.js").Int64): void;
|
|
555
555
|
};
|
|
@@ -578,10 +578,10 @@ export declare const BondingCurveFungibleToken: {
|
|
|
578
578
|
actions: number;
|
|
579
579
|
rows: number;
|
|
580
580
|
digest: string;
|
|
581
|
-
gates: import("node_modules/o1js/dist/node/
|
|
581
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
582
582
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
583
583
|
}>;
|
|
584
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
584
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
585
585
|
_verificationKey?: {
|
|
586
586
|
data: string;
|
|
587
587
|
hash: Field;
|
|
@@ -674,8 +674,8 @@ export declare const BondingCurveFungibleToken: {
|
|
|
674
674
|
data: string;
|
|
675
675
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
676
676
|
};
|
|
677
|
-
provers: import("node_modules/o1js/dist/node/
|
|
678
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
677
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
678
|
+
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>;
|
|
679
679
|
}>;
|
|
680
680
|
digest(): Promise<string>;
|
|
681
681
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -690,7 +690,7 @@ export declare const BondingCurveFungibleToken: {
|
|
|
690
690
|
actions: number;
|
|
691
691
|
rows: number;
|
|
692
692
|
digest: string;
|
|
693
|
-
gates: import("node_modules/o1js/dist/node/
|
|
693
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
694
694
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
695
695
|
}>>;
|
|
696
696
|
};
|
|
@@ -28,7 +28,7 @@ declare const FungibleToken: {
|
|
|
28
28
|
getCirculating(): Promise<import("o1js").UInt64>;
|
|
29
29
|
getDecimals(): Promise<import("o1js").UInt8>;
|
|
30
30
|
deriveTokenId(): import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
31
|
-
|
|
31
|
+
get internal(): {
|
|
32
32
|
mint({ address, amount, }: {
|
|
33
33
|
address: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
34
34
|
amount: number | bigint | import("o1js").UInt64;
|
|
@@ -47,28 +47,28 @@ declare const FungibleToken: {
|
|
|
47
47
|
checkZeroBalanceChange(updates: import("o1js").AccountUpdateForest): void;
|
|
48
48
|
approveAccountUpdate(accountUpdate: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree): Promise<void>;
|
|
49
49
|
approveAccountUpdates(accountUpdates: (import("o1js").AccountUpdate | import("o1js").AccountUpdateTree)[]): Promise<void>;
|
|
50
|
-
|
|
50
|
+
#private: any;
|
|
51
51
|
address: import("o1js").PublicKey;
|
|
52
52
|
tokenId: import("o1js").Field;
|
|
53
53
|
init(): void;
|
|
54
54
|
requireSignature(): void;
|
|
55
55
|
skipAuthorization(): void;
|
|
56
|
-
|
|
56
|
+
get self(): import("o1js").AccountUpdate;
|
|
57
57
|
newSelf(methodName?: string): import("o1js").AccountUpdate;
|
|
58
58
|
sender: {
|
|
59
59
|
self: import("o1js").SmartContract;
|
|
60
60
|
getUnconstrained(): import("o1js").PublicKey;
|
|
61
61
|
getAndRequireSignature(): import("o1js").PublicKey;
|
|
62
62
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
64
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
65
|
+
get currentSlot(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
|
|
66
66
|
approve(update: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
|
|
67
67
|
send(args: {
|
|
68
68
|
to: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
69
69
|
amount: number | bigint | import("o1js").UInt64;
|
|
70
70
|
}): import("o1js").AccountUpdate;
|
|
71
|
-
|
|
71
|
+
get balance(): {
|
|
72
72
|
addInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
73
73
|
subInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
74
74
|
};
|
|
@@ -97,10 +97,10 @@ declare const FungibleToken: {
|
|
|
97
97
|
actions: number;
|
|
98
98
|
rows: number;
|
|
99
99
|
digest: string;
|
|
100
|
-
gates: import("node_modules/o1js/dist/node/
|
|
100
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
101
101
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
102
102
|
}>;
|
|
103
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
103
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
104
104
|
_verificationKey?: {
|
|
105
105
|
data: string;
|
|
106
106
|
hash: import("o1js").Field;
|
|
@@ -193,8 +193,8 @@ declare const FungibleToken: {
|
|
|
193
193
|
data: string;
|
|
194
194
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
195
195
|
};
|
|
196
|
-
provers: import("node_modules/o1js/dist/node/
|
|
197
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
196
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
197
|
+
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>;
|
|
198
198
|
}>;
|
|
199
199
|
digest(): Promise<string>;
|
|
200
200
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -209,7 +209,7 @@ declare const FungibleToken: {
|
|
|
209
209
|
actions: number;
|
|
210
210
|
rows: number;
|
|
211
211
|
digest: string;
|
|
212
|
-
gates: import("node_modules/o1js/dist/node/
|
|
212
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
213
213
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
214
214
|
}>>;
|
|
215
215
|
};
|
|
@@ -241,7 +241,7 @@ declare const AdvancedFungibleToken: {
|
|
|
241
241
|
getCirculating(): Promise<import("o1js").UInt64>;
|
|
242
242
|
getDecimals(): Promise<import("o1js").UInt8>;
|
|
243
243
|
deriveTokenId(): import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
244
|
-
|
|
244
|
+
get internal(): {
|
|
245
245
|
mint({ address, amount, }: {
|
|
246
246
|
address: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
247
247
|
amount: number | bigint | import("o1js").UInt64;
|
|
@@ -260,28 +260,28 @@ declare const AdvancedFungibleToken: {
|
|
|
260
260
|
checkZeroBalanceChange(updates: import("o1js").AccountUpdateForest): void;
|
|
261
261
|
approveAccountUpdate(accountUpdate: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree): Promise<void>;
|
|
262
262
|
approveAccountUpdates(accountUpdates: (import("o1js").AccountUpdate | import("o1js").AccountUpdateTree)[]): Promise<void>;
|
|
263
|
-
|
|
263
|
+
#private: any;
|
|
264
264
|
address: import("o1js").PublicKey;
|
|
265
265
|
tokenId: import("o1js").Field;
|
|
266
266
|
init(): void;
|
|
267
267
|
requireSignature(): void;
|
|
268
268
|
skipAuthorization(): void;
|
|
269
|
-
|
|
269
|
+
get self(): import("o1js").AccountUpdate;
|
|
270
270
|
newSelf(methodName?: string): import("o1js").AccountUpdate;
|
|
271
271
|
sender: {
|
|
272
272
|
self: import("o1js").SmartContract;
|
|
273
273
|
getUnconstrained(): import("o1js").PublicKey;
|
|
274
274
|
getAndRequireSignature(): import("o1js").PublicKey;
|
|
275
275
|
};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
277
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
278
|
+
get currentSlot(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
|
|
279
279
|
approve(update: import("o1js").AccountUpdate | import("o1js").AccountUpdateTree | import("o1js").AccountUpdateForest): void;
|
|
280
280
|
send(args: {
|
|
281
281
|
to: import("o1js").PublicKey | import("o1js").AccountUpdate | import("o1js").SmartContract;
|
|
282
282
|
amount: number | bigint | import("o1js").UInt64;
|
|
283
283
|
}): import("o1js").AccountUpdate;
|
|
284
|
-
|
|
284
|
+
get balance(): {
|
|
285
285
|
addInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
286
286
|
subInPlace(x: string | number | bigint | import("o1js").UInt64 | import("o1js").UInt32 | import("o1js").Int64): void;
|
|
287
287
|
};
|
|
@@ -310,10 +310,10 @@ declare const AdvancedFungibleToken: {
|
|
|
310
310
|
actions: number;
|
|
311
311
|
rows: number;
|
|
312
312
|
digest: string;
|
|
313
|
-
gates: import("node_modules/o1js/dist/node/
|
|
313
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
314
314
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
315
315
|
}>;
|
|
316
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
316
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
317
317
|
_verificationKey?: {
|
|
318
318
|
data: string;
|
|
319
319
|
hash: import("o1js").Field;
|
|
@@ -406,8 +406,8 @@ declare const AdvancedFungibleToken: {
|
|
|
406
406
|
data: string;
|
|
407
407
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
408
408
|
};
|
|
409
|
-
provers: import("node_modules/o1js/dist/node/
|
|
410
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
409
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
410
|
+
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>;
|
|
411
411
|
}>;
|
|
412
412
|
digest(): Promise<string>;
|
|
413
413
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -422,7 +422,7 @@ declare const AdvancedFungibleToken: {
|
|
|
422
422
|
actions: number;
|
|
423
423
|
rows: number;
|
|
424
424
|
digest: string;
|
|
425
|
-
gates: import("node_modules/o1js/dist/node/
|
|
425
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
426
426
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
427
427
|
}>>;
|
|
428
428
|
};
|
|
@@ -72,7 +72,7 @@ export declare function FungibleTokenContract(adminContract: FungibleTokenAdminC
|
|
|
72
72
|
getCirculating(): Promise<UInt64>;
|
|
73
73
|
getDecimals(): Promise<UInt8>;
|
|
74
74
|
deriveTokenId(): import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
75
|
-
|
|
75
|
+
get internal(): {
|
|
76
76
|
mint({ address, amount, }: {
|
|
77
77
|
address: PublicKey | AccountUpdate | SmartContract;
|
|
78
78
|
amount: number | bigint | UInt64;
|
|
@@ -91,28 +91,28 @@ export declare function FungibleTokenContract(adminContract: FungibleTokenAdminC
|
|
|
91
91
|
checkZeroBalanceChange(updates: AccountUpdateForest): void;
|
|
92
92
|
approveAccountUpdate(accountUpdate: AccountUpdate | import("o1js").AccountUpdateTree): Promise<void>;
|
|
93
93
|
approveAccountUpdates(accountUpdates: (AccountUpdate | import("o1js").AccountUpdateTree)[]): Promise<void>;
|
|
94
|
-
|
|
94
|
+
#private: any;
|
|
95
95
|
address: PublicKey;
|
|
96
96
|
tokenId: Field;
|
|
97
97
|
init(): void;
|
|
98
98
|
requireSignature(): void;
|
|
99
99
|
skipAuthorization(): void;
|
|
100
|
-
|
|
100
|
+
get self(): AccountUpdate;
|
|
101
101
|
newSelf(methodName?: string): AccountUpdate;
|
|
102
102
|
sender: {
|
|
103
103
|
self: SmartContract;
|
|
104
104
|
getUnconstrained(): PublicKey;
|
|
105
105
|
getAndRequireSignature(): PublicKey;
|
|
106
106
|
};
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
get account(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Account;
|
|
108
|
+
get network(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").Network;
|
|
109
|
+
get currentSlot(): import("node_modules/o1js/dist/node/lib/mina/v1/precondition.js").CurrentSlot;
|
|
110
110
|
approve(update: AccountUpdate | import("o1js").AccountUpdateTree | AccountUpdateForest): void;
|
|
111
111
|
send(args: {
|
|
112
112
|
to: PublicKey | AccountUpdate | SmartContract;
|
|
113
113
|
amount: number | bigint | UInt64;
|
|
114
114
|
}): AccountUpdate;
|
|
115
|
-
|
|
115
|
+
get balance(): {
|
|
116
116
|
addInPlace(x: string | number | bigint | UInt64 | Types.UInt32 | import("node_modules/o1js/dist/node/lib/provable/int.js").Int64): void;
|
|
117
117
|
subInPlace(x: string | number | bigint | UInt64 | Types.UInt32 | import("node_modules/o1js/dist/node/lib/provable/int.js").Int64): void;
|
|
118
118
|
};
|
|
@@ -141,10 +141,10 @@ export declare function FungibleTokenContract(adminContract: FungibleTokenAdminC
|
|
|
141
141
|
actions: number;
|
|
142
142
|
rows: number;
|
|
143
143
|
digest: string;
|
|
144
|
-
gates: import("node_modules/o1js/dist/node/
|
|
144
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
145
145
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
146
146
|
}>;
|
|
147
|
-
_provers?: import("node_modules/o1js/dist/node/
|
|
147
|
+
_provers?: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
148
148
|
_verificationKey?: {
|
|
149
149
|
data: string;
|
|
150
150
|
hash: Field;
|
|
@@ -237,8 +237,8 @@ export declare function FungibleTokenContract(adminContract: FungibleTokenAdminC
|
|
|
237
237
|
data: string;
|
|
238
238
|
hash: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
|
239
239
|
};
|
|
240
|
-
provers: import("node_modules/o1js/dist/node/
|
|
241
|
-
verify: (statement: import("node_modules/o1js/dist/node/
|
|
240
|
+
provers: import("node_modules/o1js/dist/node/snarky.js").Pickles.Prover[];
|
|
241
|
+
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
242
|
}>;
|
|
243
243
|
digest(): Promise<string>;
|
|
244
244
|
getMaxProofsVerified(): Promise<0 | 2 | 1>;
|
|
@@ -253,7 +253,7 @@ export declare function FungibleTokenContract(adminContract: FungibleTokenAdminC
|
|
|
253
253
|
actions: number;
|
|
254
254
|
rows: number;
|
|
255
255
|
digest: string;
|
|
256
|
-
gates: import("node_modules/o1js/dist/node/
|
|
256
|
+
gates: import("node_modules/o1js/dist/node/snarky.js").Gate[];
|
|
257
257
|
proofs: import("node_modules/o1js/dist/node/lib/proof-system/proof.js").ProofClass[];
|
|
258
258
|
}>>;
|
|
259
259
|
};
|