@permissionless-technologies/upp-sdk 0.2.0 → 0.3.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.
- package/dist/chunk-3YZSIYJC.cjs +154 -0
- package/dist/chunk-3YZSIYJC.cjs.map +1 -0
- package/dist/{chunk-5AKBSMEQ.cjs → chunk-4N5BH43P.cjs} +2 -2
- package/dist/{chunk-5AKBSMEQ.cjs.map → chunk-4N5BH43P.cjs.map} +1 -1
- package/dist/{chunk-C7QQOJ7T.cjs → chunk-52PPS4AT.cjs} +4 -22
- package/dist/chunk-52PPS4AT.cjs.map +1 -0
- package/dist/{chunk-NUIQHTSA.js → chunk-7F75NGNB.js} +76 -3
- package/dist/chunk-7F75NGNB.js.map +1 -0
- package/dist/{chunk-SGZZL5AC.js → chunk-GS4UCMW4.js} +4 -20
- package/dist/chunk-GS4UCMW4.js.map +1 -0
- package/dist/{chunk-OQDSHMXU.js → chunk-IU5P5VDV.js} +2 -2
- package/dist/{chunk-OQDSHMXU.js.map → chunk-IU5P5VDV.js.map} +1 -1
- package/dist/{chunk-GXZ3MTCQ.cjs → chunk-IYOR5TCO.cjs} +77 -2
- package/dist/chunk-IYOR5TCO.cjs.map +1 -0
- package/dist/{chunk-GQV47S3N.cjs → chunk-PTDVGWHU.cjs} +2 -2
- package/dist/{chunk-GQV47S3N.cjs.map → chunk-PTDVGWHU.cjs.map} +1 -1
- package/dist/{chunk-PWHOUQOZ.js → chunk-QBCLFGMV.js} +16 -16
- package/dist/{chunk-PWHOUQOZ.js.map → chunk-QBCLFGMV.js.map} +1 -1
- package/dist/{chunk-NCW4AE7L.js → chunk-UAVWYXDN.js} +2 -2
- package/dist/chunk-UAVWYXDN.js.map +1 -0
- package/dist/{chunk-KIKBPJXJ.cjs → chunk-X4DLTVOG.cjs} +16 -16
- package/dist/{chunk-KIKBPJXJ.cjs.map → chunk-X4DLTVOG.cjs.map} +1 -1
- package/dist/chunk-XBNYAAMU.js +140 -0
- package/dist/chunk-XBNYAAMU.js.map +1 -0
- package/dist/core/index.cjs +67 -61
- package/dist/core/index.d.cts +3 -2
- package/dist/core/index.d.ts +3 -2
- package/dist/core/index.js +5 -3
- package/dist/{index-BGvapsJy.d.cts → index-B45-okum.d.cts} +19 -3
- package/dist/{index-ChGaGPzP.d.ts → index-BIcvNMPt.d.ts} +19 -3
- package/dist/{index-BBzvvrhG.d.ts → index-DwAJBoU7.d.ts} +122 -96
- package/dist/{index-C-jSNw6j.d.cts → index-o-Ds3YAq.d.cts} +122 -96
- package/dist/index.cjs +123 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/indexer/index.cjs +6 -6
- package/dist/indexer/index.d.cts +6 -5
- package/dist/indexer/index.d.ts +6 -5
- package/dist/indexer/index.js +1 -1
- package/dist/react/index.cjs +107 -102
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +100 -95
- package/dist/react/index.js.map +1 -1
- package/dist/stark-BcTD1OaJ.d.cts +185 -0
- package/dist/stark-BcTD1OaJ.d.ts +185 -0
- package/dist/{transfer-2UDHDS7Q.cjs → transfer-6ZIVZ6JY.cjs} +9 -9
- package/dist/{transfer-2UDHDS7Q.cjs.map → transfer-6ZIVZ6JY.cjs.map} +1 -1
- package/dist/{transfer-DKZuJnRM.d.cts → transfer-BzyernBd.d.cts} +1 -3
- package/dist/{transfer-KTCXKHS4.js → transfer-CDXC3OQW.js} +3 -3
- package/dist/{transfer-KTCXKHS4.js.map → transfer-CDXC3OQW.js.map} +1 -1
- package/dist/{transfer-BlmbO-Rd.d.ts → transfer-sqS6mJko.d.ts} +1 -3
- package/dist/utils/index.cjs +54 -1
- package/dist/utils/index.d.cts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -1
- package/package.json +3 -2
- package/src/deployments/11155111.json +13 -13
- package/src/deployments/31337.json +1 -1
- package/stwo-prover/pkg/upp_stwo_prover.d.ts +79 -0
- package/stwo-prover/pkg/upp_stwo_prover.js +293 -0
- package/stwo-prover/pkg/upp_stwo_prover_bg.wasm +0 -0
- package/stwo-prover/pkg/upp_stwo_prover_bg.wasm.d.ts +13 -0
- package/dist/chunk-C7QQOJ7T.cjs.map +0 -1
- package/dist/chunk-GXZ3MTCQ.cjs.map +0 -1
- package/dist/chunk-NCW4AE7L.js.map +0 -1
- package/dist/chunk-NUIQHTSA.js.map +0 -1
- package/dist/chunk-SGZZL5AC.js.map +0 -1
package/dist/core/index.cjs
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunk52PPS4AT_cjs = require('../chunk-52PPS4AT.cjs');
|
|
4
|
+
var chunkX4DLTVOG_cjs = require('../chunk-X4DLTVOG.cjs');
|
|
5
|
+
var chunkIYOR5TCO_cjs = require('../chunk-IYOR5TCO.cjs');
|
|
6
6
|
var chunkNDM5EJEV_cjs = require('../chunk-NDM5EJEV.cjs');
|
|
7
|
+
var chunk3YZSIYJC_cjs = require('../chunk-3YZSIYJC.cjs');
|
|
7
8
|
require('../chunk-EUP7MBAH.cjs');
|
|
9
|
+
require('../chunk-BH24DZ5S.cjs');
|
|
8
10
|
require('../chunk-3HQ7A6ZM.cjs');
|
|
9
11
|
require('../chunk-JWNXBALH.cjs');
|
|
10
12
|
var chunkSQKBT2SH_cjs = require('../chunk-SQKBT2SH.cjs');
|
|
@@ -12,213 +14,213 @@ require('../chunk-G7VZBCD6.cjs');
|
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
|
|
15
|
-
Object.defineProperty(exports, "DirectAccountAdapter", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return chunkC7QQOJ7T_cjs.DirectAccountAdapter; }
|
|
18
|
-
});
|
|
19
17
|
Object.defineProperty(exports, "NOTE_VERSION", {
|
|
20
18
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports, "STARK_AMOUNT_SCALE", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function () { return chunkC7QQOJ7T_cjs.STARK_AMOUNT_SCALE; }
|
|
19
|
+
get: function () { return chunk52PPS4AT_cjs.NOTE_VERSION; }
|
|
26
20
|
});
|
|
27
21
|
Object.defineProperty(exports, "createNote", {
|
|
28
22
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk52PPS4AT_cjs.createNote; }
|
|
30
24
|
});
|
|
31
25
|
Object.defineProperty(exports, "createUPPClient", {
|
|
32
26
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk52PPS4AT_cjs.createUPPClient; }
|
|
34
28
|
});
|
|
35
29
|
Object.defineProperty(exports, "decryptNote", {
|
|
36
30
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk52PPS4AT_cjs.decryptNote; }
|
|
38
32
|
});
|
|
39
33
|
Object.defineProperty(exports, "encryptNote", {
|
|
40
34
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk52PPS4AT_cjs.encryptNote; }
|
|
42
36
|
});
|
|
43
37
|
Object.defineProperty(exports, "buildTransfer", {
|
|
44
38
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkX4DLTVOG_cjs.buildTransfer; }
|
|
46
40
|
});
|
|
47
41
|
Object.defineProperty(exports, "buildUPPTransferCircuitInputs", {
|
|
48
42
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkX4DLTVOG_cjs.buildUPPTransferCircuitInputs; }
|
|
50
44
|
});
|
|
51
45
|
Object.defineProperty(exports, "computeNullifier", {
|
|
52
46
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkX4DLTVOG_cjs.computeNullifier; }
|
|
54
48
|
});
|
|
55
49
|
Object.defineProperty(exports, "formatOutputForContract", {
|
|
56
50
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkX4DLTVOG_cjs.formatOutputForContract; }
|
|
58
52
|
});
|
|
59
53
|
Object.defineProperty(exports, "getMerkleProofsForNotes", {
|
|
60
54
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkX4DLTVOG_cjs.getMerkleProofsForNotes; }
|
|
62
56
|
});
|
|
63
57
|
Object.defineProperty(exports, "syncMerkleTree", {
|
|
64
58
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkX4DLTVOG_cjs.syncMerkleTree; }
|
|
66
60
|
});
|
|
67
61
|
Object.defineProperty(exports, "ADDRESS_VERSION", {
|
|
68
62
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkIYOR5TCO_cjs.ADDRESS_VERSION; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "DirectAccountAdapter", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkIYOR5TCO_cjs.DirectAccountAdapter; }
|
|
70
68
|
});
|
|
71
69
|
Object.defineProperty(exports, "NoteStore", {
|
|
72
70
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkIYOR5TCO_cjs.NoteStore; }
|
|
74
72
|
});
|
|
75
73
|
Object.defineProperty(exports, "RATE_PRECISION", {
|
|
76
74
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkIYOR5TCO_cjs.RATE_PRECISION; }
|
|
78
76
|
});
|
|
79
77
|
Object.defineProperty(exports, "STARK_ADDRESS_VERSION", {
|
|
80
78
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkIYOR5TCO_cjs.STARK_ADDRESS_VERSION; }
|
|
82
80
|
});
|
|
83
81
|
Object.defineProperty(exports, "STARK_STEALTH_ADDRESS_PREFIX", {
|
|
84
82
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkIYOR5TCO_cjs.STARK_STEALTH_ADDRESS_PREFIX; }
|
|
86
84
|
});
|
|
87
85
|
Object.defineProperty(exports, "STEALTH_ADDRESS_PREFIX", {
|
|
88
86
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkIYOR5TCO_cjs.STEALTH_ADDRESS_PREFIX; }
|
|
90
88
|
});
|
|
91
89
|
Object.defineProperty(exports, "SWAP_EVENTS_ABI", {
|
|
92
90
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkIYOR5TCO_cjs.SWAP_EVENTS_ABI; }
|
|
94
92
|
});
|
|
95
93
|
Object.defineProperty(exports, "SWAP_ORDER_CANCELLED_EVENT", {
|
|
96
94
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkIYOR5TCO_cjs.SWAP_ORDER_CANCELLED_EVENT; }
|
|
98
96
|
});
|
|
99
97
|
Object.defineProperty(exports, "SWAP_ORDER_CLAIMED_EVENT", {
|
|
100
98
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkIYOR5TCO_cjs.SWAP_ORDER_CLAIMED_EVENT; }
|
|
102
100
|
});
|
|
103
101
|
Object.defineProperty(exports, "SWAP_ORDER_FILLED_EVENT", {
|
|
104
102
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkIYOR5TCO_cjs.SWAP_ORDER_FILLED_EVENT; }
|
|
106
104
|
});
|
|
107
105
|
Object.defineProperty(exports, "SWAP_ORDER_PLACED_EVENT", {
|
|
108
106
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkIYOR5TCO_cjs.SWAP_ORDER_PLACED_EVENT; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "StorableAccountAdapter", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunkIYOR5TCO_cjs.StorableAccountAdapter; }
|
|
110
112
|
});
|
|
111
113
|
Object.defineProperty(exports, "computeCancelKeyHash", {
|
|
112
114
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkIYOR5TCO_cjs.computeCancelKeyHash; }
|
|
114
116
|
});
|
|
115
117
|
Object.defineProperty(exports, "computeFillPercentage", {
|
|
116
118
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkIYOR5TCO_cjs.computeFillPercentage; }
|
|
118
120
|
});
|
|
119
121
|
Object.defineProperty(exports, "computeGiveAmount", {
|
|
120
122
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkIYOR5TCO_cjs.computeGiveAmount; }
|
|
122
124
|
});
|
|
123
125
|
Object.defineProperty(exports, "computeNoteEncryptionKey", {
|
|
124
126
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkIYOR5TCO_cjs.computeNoteEncryptionKey; }
|
|
126
128
|
});
|
|
127
129
|
Object.defineProperty(exports, "computeRate", {
|
|
128
130
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkIYOR5TCO_cjs.computeRate; }
|
|
130
132
|
});
|
|
131
133
|
Object.defineProperty(exports, "computeTakeAmount", {
|
|
132
134
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkIYOR5TCO_cjs.computeTakeAmount; }
|
|
134
136
|
});
|
|
135
137
|
Object.defineProperty(exports, "computeTotalBuyAmount", {
|
|
136
138
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkIYOR5TCO_cjs.computeTotalBuyAmount; }
|
|
138
140
|
});
|
|
139
141
|
Object.defineProperty(exports, "createOneTimeKeys", {
|
|
140
142
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkIYOR5TCO_cjs.createOneTimeKeys; }
|
|
142
144
|
});
|
|
143
145
|
Object.defineProperty(exports, "decodeStarkStealthAddress", {
|
|
144
146
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkIYOR5TCO_cjs.decodeStarkStealthAddress; }
|
|
146
148
|
});
|
|
147
149
|
Object.defineProperty(exports, "decodeStealthAddress", {
|
|
148
150
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkIYOR5TCO_cjs.decodeStealthAddress; }
|
|
150
152
|
});
|
|
151
153
|
Object.defineProperty(exports, "detectAddressType", {
|
|
152
154
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkIYOR5TCO_cjs.detectAddressType; }
|
|
154
156
|
});
|
|
155
157
|
Object.defineProperty(exports, "encodeStarkStealthAddress", {
|
|
156
158
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkIYOR5TCO_cjs.encodeStarkStealthAddress; }
|
|
158
160
|
});
|
|
159
161
|
Object.defineProperty(exports, "encodeStealthAddress", {
|
|
160
162
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkIYOR5TCO_cjs.encodeStealthAddress; }
|
|
162
164
|
});
|
|
163
165
|
Object.defineProperty(exports, "filterOrdersByASP", {
|
|
164
166
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkIYOR5TCO_cjs.filterOrdersByASP; }
|
|
166
168
|
});
|
|
167
169
|
Object.defineProperty(exports, "filterOrdersByTokenPair", {
|
|
168
170
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkIYOR5TCO_cjs.filterOrdersByTokenPair; }
|
|
170
172
|
});
|
|
171
173
|
Object.defineProperty(exports, "formatRate", {
|
|
172
174
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkIYOR5TCO_cjs.formatRate; }
|
|
174
176
|
});
|
|
175
177
|
Object.defineProperty(exports, "generateCancelSecret", {
|
|
176
178
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunkIYOR5TCO_cjs.generateCancelSecret; }
|
|
178
180
|
});
|
|
179
181
|
Object.defineProperty(exports, "generateStarkStealthAddress", {
|
|
180
182
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunkIYOR5TCO_cjs.generateStarkStealthAddress; }
|
|
182
184
|
});
|
|
183
185
|
Object.defineProperty(exports, "generateStealthAddress", {
|
|
184
186
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunkIYOR5TCO_cjs.generateStealthAddress; }
|
|
186
188
|
});
|
|
187
189
|
Object.defineProperty(exports, "getCancelSecret", {
|
|
188
190
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunkIYOR5TCO_cjs.getCancelSecret; }
|
|
190
192
|
});
|
|
191
193
|
Object.defineProperty(exports, "getOwnOrderIds", {
|
|
192
194
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunkIYOR5TCO_cjs.getOwnOrderIds; }
|
|
194
196
|
});
|
|
195
197
|
Object.defineProperty(exports, "isFillerASPAccepted", {
|
|
196
198
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunkIYOR5TCO_cjs.isFillerASPAccepted; }
|
|
198
200
|
});
|
|
199
201
|
Object.defineProperty(exports, "isOrderActive", {
|
|
200
202
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunkIYOR5TCO_cjs.isOrderActive; }
|
|
202
204
|
});
|
|
203
205
|
Object.defineProperty(exports, "isValidStarkStealthAddress", {
|
|
204
206
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunkIYOR5TCO_cjs.isValidStarkStealthAddress; }
|
|
206
208
|
});
|
|
207
209
|
Object.defineProperty(exports, "isValidStealthAddress", {
|
|
208
210
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunkIYOR5TCO_cjs.isValidStealthAddress; }
|
|
210
212
|
});
|
|
211
213
|
Object.defineProperty(exports, "removeCancelSecret", {
|
|
212
214
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunkIYOR5TCO_cjs.removeCancelSecret; }
|
|
214
216
|
});
|
|
215
217
|
Object.defineProperty(exports, "storeCancelSecret", {
|
|
216
218
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunkIYOR5TCO_cjs.storeCancelSecret; }
|
|
218
220
|
});
|
|
219
221
|
Object.defineProperty(exports, "verifyOwnership", {
|
|
220
222
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
223
|
+
get: function () { return chunkIYOR5TCO_cjs.verifyOwnership; }
|
|
222
224
|
});
|
|
223
225
|
Object.defineProperty(exports, "DEMO_ASP_ID", {
|
|
224
226
|
enumerable: true,
|
|
@@ -260,6 +262,10 @@ Object.defineProperty(exports, "verifyASPProof", {
|
|
|
260
262
|
enumerable: true,
|
|
261
263
|
get: function () { return chunkNDM5EJEV_cjs.verifyASPProof; }
|
|
262
264
|
});
|
|
265
|
+
Object.defineProperty(exports, "STARK_AMOUNT_SCALE", {
|
|
266
|
+
enumerable: true,
|
|
267
|
+
get: function () { return chunk3YZSIYJC_cjs.STARK_AMOUNT_SCALE; }
|
|
268
|
+
});
|
|
263
269
|
Object.defineProperty(exports, "ASP_TREE_DEPTH", {
|
|
264
270
|
enumerable: true,
|
|
265
271
|
get: function () { return chunkSQKBT2SH_cjs.ASP_TREE_DEPTH; }
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore,
|
|
2
|
-
export { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CircuitArtifacts, c as CircuitType, d as Commitment, D as DEMO_ASP_ID, e as DEMO_ASP_NAME, E as EncryptedNote, M as MergeParams, f as MergeRecord, g as MerkleProofWithNote, N as NOTE_VERSION, h as Note, i as NoteWithAmount, j as Nullifier, P as Proof, k as ProofResult, R as RATE_PRECISION, S as
|
|
1
|
+
export { A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, V as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, t as StorableAccountAdapter, U as UPPClient, u as UPPClientConfig, v as computeNoteEncryptionKey, w as createNote, x as createOneTimeKeys, y as createUPPClient, z as decodeStarkStealthAddress, B as decodeStealthAddress, E as decryptNote, F as detectAddressType, G as encodeStarkStealthAddress, H as encodeStealthAddress, J as encryptNote, K as generateStarkStealthAddress, M as generateStealthAddress, O as isValidStarkStealthAddress, Q as isValidStealthAddress, T as verifyOwnership } from '../index-o-Ds3YAq.cjs';
|
|
2
|
+
export { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CircuitArtifacts, c as CircuitType, d as Commitment, D as DEMO_ASP_ID, e as DEMO_ASP_NAME, E as EncryptedNote, M as MergeParams, f as MergeRecord, g as MerkleProofWithNote, N as NOTE_VERSION, h as Note, i as NoteWithAmount, j as Nullifier, P as Proof, k as ProofResult, R as RATE_PRECISION, S as STATE_TREE_DEPTH, l as SWAP_EVENTS_ABI, m as SWAP_ORDER_CANCELLED_EVENT, n as SWAP_ORDER_CLAIMED_EVENT, o as SWAP_ORDER_FILLED_EVENT, p as SWAP_ORDER_PLACED_EVENT, q as ShieldParams, r as SpendableNote, s as StarkNote, t as StarkProof, u as StarkStealthMetaAddress, v as Stealth1x2CircuitInputs, w as Stealth2x2CircuitInputs, x as StealthAddress, y as StealthCircuitInputs, z as StealthCircuitType, B as StealthMetaAddress, F as SwapFillEvent, G as SwapFillParams, H as SwapOrder, I as SwapOrderEvent, J as SwapOrderParams, T as TransferBuildResult, K as TransferContext, L as TransferParams, O as TransferStage, U as UPPCircuitInputs, Q as UPPCircuitType, V as UPPTransferCircuitInputs, W as UPPWithdrawCircuitInputs, X as WithdrawParams, Y as buildASPTree, Z as buildTransfer, _ as buildUPPTransferCircuitInputs, $ as computeCancelKeyHash, a0 as computeFillPercentage, a1 as computeGiveAmount, a2 as computeMultiOriginASPRoot, a3 as computeNullifier, a4 as computeRate, a5 as computeSingleOriginASPRoot, a6 as computeTakeAmount, a7 as computeTotalBuyAmount, a8 as createDemoASPRoot, a9 as filterOrdersByASP, aa as filterOrdersByTokenPair, ab as formatOutputForContract, ac as formatProofForContract, ad as formatRate, ae as generateASPProof, af as generateCancelSecret, ag as generateMultiOriginASPProof, ah as generateProof, ai as generateSingleOriginASPProof, aj as generateStealthProof, ak as generateUPPProof, al as getCancelSecret, am as getMerkleProofsForNotes, an as getOwnOrderIds, ao as getStealthCircuitArtifacts, ap as getUPPCircuitArtifacts, aq as isFillerASPAccepted, ar as isOrderActive, as as removeCancelSecret, at as storeCancelSecret, au as syncMerkleTree, av as verifyASPProof, aw as verifyProof } from '../transfer-BzyernBd.cjs';
|
|
3
|
+
export { S as STARK_AMOUNT_SCALE } from '../stark-BcTD1OaJ.cjs';
|
|
3
4
|
import 'viem';
|
|
4
5
|
import '../types-CJSbxv4q.cjs';
|
|
5
6
|
import '../keccak-m31-B_AqBbRF.cjs';
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore,
|
|
2
|
-
export { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CircuitArtifacts, c as CircuitType, d as Commitment, D as DEMO_ASP_ID, e as DEMO_ASP_NAME, E as EncryptedNote, M as MergeParams, f as MergeRecord, g as MerkleProofWithNote, N as NOTE_VERSION, h as Note, i as NoteWithAmount, j as Nullifier, P as Proof, k as ProofResult, R as RATE_PRECISION, S as
|
|
1
|
+
export { A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, V as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, t as StorableAccountAdapter, U as UPPClient, u as UPPClientConfig, v as computeNoteEncryptionKey, w as createNote, x as createOneTimeKeys, y as createUPPClient, z as decodeStarkStealthAddress, B as decodeStealthAddress, E as decryptNote, F as detectAddressType, G as encodeStarkStealthAddress, H as encodeStealthAddress, J as encryptNote, K as generateStarkStealthAddress, M as generateStealthAddress, O as isValidStarkStealthAddress, Q as isValidStealthAddress, T as verifyOwnership } from '../index-DwAJBoU7.js';
|
|
2
|
+
export { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CircuitArtifacts, c as CircuitType, d as Commitment, D as DEMO_ASP_ID, e as DEMO_ASP_NAME, E as EncryptedNote, M as MergeParams, f as MergeRecord, g as MerkleProofWithNote, N as NOTE_VERSION, h as Note, i as NoteWithAmount, j as Nullifier, P as Proof, k as ProofResult, R as RATE_PRECISION, S as STATE_TREE_DEPTH, l as SWAP_EVENTS_ABI, m as SWAP_ORDER_CANCELLED_EVENT, n as SWAP_ORDER_CLAIMED_EVENT, o as SWAP_ORDER_FILLED_EVENT, p as SWAP_ORDER_PLACED_EVENT, q as ShieldParams, r as SpendableNote, s as StarkNote, t as StarkProof, u as StarkStealthMetaAddress, v as Stealth1x2CircuitInputs, w as Stealth2x2CircuitInputs, x as StealthAddress, y as StealthCircuitInputs, z as StealthCircuitType, B as StealthMetaAddress, F as SwapFillEvent, G as SwapFillParams, H as SwapOrder, I as SwapOrderEvent, J as SwapOrderParams, T as TransferBuildResult, K as TransferContext, L as TransferParams, O as TransferStage, U as UPPCircuitInputs, Q as UPPCircuitType, V as UPPTransferCircuitInputs, W as UPPWithdrawCircuitInputs, X as WithdrawParams, Y as buildASPTree, Z as buildTransfer, _ as buildUPPTransferCircuitInputs, $ as computeCancelKeyHash, a0 as computeFillPercentage, a1 as computeGiveAmount, a2 as computeMultiOriginASPRoot, a3 as computeNullifier, a4 as computeRate, a5 as computeSingleOriginASPRoot, a6 as computeTakeAmount, a7 as computeTotalBuyAmount, a8 as createDemoASPRoot, a9 as filterOrdersByASP, aa as filterOrdersByTokenPair, ab as formatOutputForContract, ac as formatProofForContract, ad as formatRate, ae as generateASPProof, af as generateCancelSecret, ag as generateMultiOriginASPProof, ah as generateProof, ai as generateSingleOriginASPProof, aj as generateStealthProof, ak as generateUPPProof, al as getCancelSecret, am as getMerkleProofsForNotes, an as getOwnOrderIds, ao as getStealthCircuitArtifacts, ap as getUPPCircuitArtifacts, aq as isFillerASPAccepted, ar as isOrderActive, as as removeCancelSecret, at as storeCancelSecret, au as syncMerkleTree, av as verifyASPProof, aw as verifyProof } from '../transfer-sqS6mJko.js';
|
|
3
|
+
export { S as STARK_AMOUNT_SCALE } from '../stark-BcTD1OaJ.js';
|
|
3
4
|
import 'viem';
|
|
4
5
|
import '../types-mLybMxNR.js';
|
|
5
6
|
import '../keccak-m31-B_AqBbRF.js';
|
package/dist/core/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { buildTransfer, buildUPPTransferCircuitInputs, computeNullifier, formatOutputForContract, getMerkleProofsForNotes, syncMerkleTree } from '../chunk-
|
|
3
|
-
export { ADDRESS_VERSION, NoteStore, RATE_PRECISION, STARK_ADDRESS_VERSION, STARK_STEALTH_ADDRESS_PREFIX, STEALTH_ADDRESS_PREFIX, SWAP_EVENTS_ABI, SWAP_ORDER_CANCELLED_EVENT, SWAP_ORDER_CLAIMED_EVENT, SWAP_ORDER_FILLED_EVENT, SWAP_ORDER_PLACED_EVENT, computeCancelKeyHash, computeFillPercentage, computeGiveAmount, computeNoteEncryptionKey, computeRate, computeTakeAmount, computeTotalBuyAmount, createOneTimeKeys, decodeStarkStealthAddress, decodeStealthAddress, detectAddressType, encodeStarkStealthAddress, encodeStealthAddress, filterOrdersByASP, filterOrdersByTokenPair, formatRate, generateCancelSecret, generateStarkStealthAddress, generateStealthAddress, getCancelSecret, getOwnOrderIds, isFillerASPAccepted, isOrderActive, isValidStarkStealthAddress, isValidStealthAddress, removeCancelSecret, storeCancelSecret, verifyOwnership } from '../chunk-
|
|
1
|
+
export { NOTE_VERSION, createNote, createUPPClient, decryptNote, encryptNote } from '../chunk-GS4UCMW4.js';
|
|
2
|
+
export { buildTransfer, buildUPPTransferCircuitInputs, computeNullifier, formatOutputForContract, getMerkleProofsForNotes, syncMerkleTree } from '../chunk-QBCLFGMV.js';
|
|
3
|
+
export { ADDRESS_VERSION, DirectAccountAdapter, NoteStore, RATE_PRECISION, STARK_ADDRESS_VERSION, STARK_STEALTH_ADDRESS_PREFIX, STEALTH_ADDRESS_PREFIX, SWAP_EVENTS_ABI, SWAP_ORDER_CANCELLED_EVENT, SWAP_ORDER_CLAIMED_EVENT, SWAP_ORDER_FILLED_EVENT, SWAP_ORDER_PLACED_EVENT, StorableAccountAdapter, computeCancelKeyHash, computeFillPercentage, computeGiveAmount, computeNoteEncryptionKey, computeRate, computeTakeAmount, computeTotalBuyAmount, createOneTimeKeys, decodeStarkStealthAddress, decodeStealthAddress, detectAddressType, encodeStarkStealthAddress, encodeStealthAddress, filterOrdersByASP, filterOrdersByTokenPair, formatRate, generateCancelSecret, generateStarkStealthAddress, generateStealthAddress, getCancelSecret, getOwnOrderIds, isFillerASPAccepted, isOrderActive, isValidStarkStealthAddress, isValidStealthAddress, removeCancelSecret, storeCancelSecret, verifyOwnership } from '../chunk-7F75NGNB.js';
|
|
4
4
|
export { DEMO_ASP_ID, DEMO_ASP_NAME, buildASPTree, computeMultiOriginASPRoot, computeSingleOriginASPRoot, createDemoASPRoot, generateASPProof, generateMultiOriginASPProof, generateSingleOriginASPProof, verifyASPProof } from '../chunk-P37MRZ73.js';
|
|
5
|
+
export { STARK_AMOUNT_SCALE } from '../chunk-XBNYAAMU.js';
|
|
5
6
|
import '../chunk-ZU6J7KMY.js';
|
|
7
|
+
import '../chunk-5V5HSN6Y.js';
|
|
6
8
|
import '../chunk-W77GRBO4.js';
|
|
7
9
|
import '../chunk-V23OSL25.js';
|
|
8
10
|
export { ASP_TREE_DEPTH, STATE_TREE_DEPTH, formatProofForContract, generateProof, generateStealthProof, generateUPPProof, getStealthCircuitArtifacts, getUPPCircuitArtifacts, verifyProof } from '../chunk-S4B7GYLN.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { R as RpcIndexerConfig, I as Indexer, A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, a as IndexedNote, N as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, S as StorageAdapter, c as SyncResult, U as UPPClient,
|
|
2
|
-
import { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CircuitArtifacts, c as CircuitType, d as Commitment, D as DEMO_ASP_ID, e as DEMO_ASP_NAME, E as EncryptedNote, M as MergeParams, f as MergeRecord, g as MerkleProofWithNote, N as NOTE_VERSION, h as Note, i as NoteWithAmount, j as Nullifier, P as Proof, k as ProofResult, R as RATE_PRECISION, S as
|
|
1
|
+
import { R as RpcIndexerConfig, I as Indexer, A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, a as IndexedNote, N as NoteStatus, o as NoteStore, P as ProofSystem, p as STARK_ADDRESS_VERSION, q as STARK_STEALTH_ADDRESS_PREFIX, r as STEALTH_ADDRESS_PREFIX, s as ShieldedNote, t as StorableAccountAdapter, S as StorageAdapter, c as SyncResult, U as UPPClient, u as UPPClientConfig, v as computeNoteEncryptionKey, w as createNote, x as createOneTimeKeys, y as createUPPClient, z as decodeStarkStealthAddress, B as decodeStealthAddress, E as decryptNote, F as detectAddressType, G as encodeStarkStealthAddress, H as encodeStealthAddress, J as encryptNote, K as generateStarkStealthAddress, M as generateStealthAddress, O as isValidStarkStealthAddress, Q as isValidStealthAddress, T as verifyOwnership } from './index-o-Ds3YAq.cjs';
|
|
2
|
+
import { A as ASPProof, a as ASPRoot, b as ASP_TREE_DEPTH, C as CircuitArtifacts, c as CircuitType, d as Commitment, D as DEMO_ASP_ID, e as DEMO_ASP_NAME, E as EncryptedNote, M as MergeParams, f as MergeRecord, g as MerkleProofWithNote, N as NOTE_VERSION, h as Note, i as NoteWithAmount, j as Nullifier, P as Proof, k as ProofResult, R as RATE_PRECISION, S as STATE_TREE_DEPTH, l as SWAP_EVENTS_ABI, m as SWAP_ORDER_CANCELLED_EVENT, n as SWAP_ORDER_CLAIMED_EVENT, o as SWAP_ORDER_FILLED_EVENT, p as SWAP_ORDER_PLACED_EVENT, q as ShieldParams, r as SpendableNote, s as StarkNote, t as StarkProof, u as StarkStealthMetaAddress, v as Stealth1x2CircuitInputs, w as Stealth2x2CircuitInputs, x as StealthAddress, y as StealthCircuitInputs, z as StealthCircuitType, B as StealthMetaAddress, F as SwapFillEvent, G as SwapFillParams, H as SwapOrder, I as SwapOrderEvent, J as SwapOrderParams, T as TransferBuildResult, K as TransferContext, L as TransferParams, O as TransferStage, U as UPPCircuitInputs, Q as UPPCircuitType, V as UPPTransferCircuitInputs, W as UPPWithdrawCircuitInputs, X as WithdrawParams, Y as buildASPTree, Z as buildTransfer, _ as buildUPPTransferCircuitInputs, $ as computeCancelKeyHash, a0 as computeFillPercentage, a1 as computeGiveAmount, a2 as computeMultiOriginASPRoot, a3 as computeNullifier, a4 as computeRate, a5 as computeSingleOriginASPRoot, a6 as computeTakeAmount, a7 as computeTotalBuyAmount, a8 as createDemoASPRoot, a9 as filterOrdersByASP, aa as filterOrdersByTokenPair, ab as formatOutputForContract, ac as formatProofForContract, ad as formatRate, ae as generateASPProof, af as generateCancelSecret, ag as generateMultiOriginASPProof, ah as generateProof, ai as generateSingleOriginASPProof, aj as generateStealthProof, ak as generateUPPProof, al as getCancelSecret, am as getMerkleProofsForNotes, an as getOwnOrderIds, ao as getStealthCircuitArtifacts, ap as getUPPCircuitArtifacts, aq as isFillerASPAccepted, ar as isOrderActive, as as removeCancelSecret, at as storeCancelSecret, au as syncMerkleTree, av as verifyASPProof, aw as verifyProof } from './transfer-BzyernBd.cjs';
|
|
3
3
|
import { A as AuditKeyExport, D as DEFAULT_KEY_DERIVATION_CONFIG, a as DualMasterKeys, K as KeyDerivationConfig, M as MasterKeys, O as OneTimeKeys, P as ProvingSystem, S as SerializedKeys, b as StarkMasterKeys, c as StealthAddressComponents, T as TransactionViewingKey } from './types-CJSbxv4q.cjs';
|
|
4
4
|
import { NoteReference, deriveDualKeysFromSignature, deriveKeysFromSignature, deriveNullifierKey, derivePerNoteKey, derivePerNoteKeyFromKeys, deriveStarkKeysFromSignature, deriveStarkPerNoteKey, deriveStarkPerNoteKeyFromKeys, exportViewingKeysForAudit, getKeyDerivationMessage, getViewingKeyFromExport, validateAuditKeyExport, verifyKeysMatchSignature } from './keys/index.cjs';
|
|
5
5
|
import { BABYJUBJUB_SUBORDER, FIELD_PRIME, addressToField, bigintToBytes, bytesToBigint, bytesToHex, fieldToAddress, hexToBytes, isValidFieldElement, poseidon, poseidonHash, poseidonScalar, randomBytes, randomFieldElement, toFieldElement } from './utils/index.cjs';
|
|
6
6
|
import { M as MAX_TREE_DEPTH, a as MerkleProof, b as MerkleTree, P as Point, c as addPoints, d as buildMerkleTree, e as computeSharedSecret, f as deriveDecryptionViewingKey, g as deriveEncryptionViewingKey, h as getBasePoint, i as getMerkleProof, j as getSubOrder, k as isOnCurve, m as mulPointScalar, p as packPoint, l as pointToTuple, n as privateToPublic, t as tupleToPoint, v as verifyMerkleProof } from './merkle-mteVOlDf.cjs';
|
|
7
|
+
import { S as STARK_AMOUNT_SCALE, a as STARK_ASP_TREE_DEPTH, b as STARK_STATE_TREE_DEPTH, c as StarkTransferWitness, d as StarkWithdrawWitness, e as addressToM31, f as buildStarkTransferWitness, g as buildStarkWithdrawWitness, h as computeTransferPublicInputsSeed, i as computeWithdrawPublicInputsSeed, j as isStarkAligned, p as packM31Digest, s as scaleAmountForStark, k as splitSecretToM31Limbs, t as truncateToM31 } from './stark-BcTD1OaJ.cjs';
|
|
7
8
|
import { D as DIGEST_SIZE, a as M31Digest, M as M31Secret, b as M31_P, S as SECRET_LIMBS, c as computeStarkCommitment, d as computeStarkNullifier, e as computeStarkOwnerHash, k as keccakHashTwo, f as keccakM31, s as splitToM31Limbs } from './keccak-m31-B_AqBbRF.cjs';
|
|
8
9
|
import { ASP_REGISTRY_HUB_ABI } from '@permissionless-technologies/upc-sdk';
|
|
9
10
|
import { Address } from 'viem';
|
|
@@ -2651,6 +2652,8 @@ declare const ___index_js_RpcIndexerConfig: typeof RpcIndexerConfig;
|
|
|
2651
2652
|
declare const ___index_js_SECRET_LIMBS: typeof SECRET_LIMBS;
|
|
2652
2653
|
declare const ___index_js_STARK_ADDRESS_VERSION: typeof STARK_ADDRESS_VERSION;
|
|
2653
2654
|
declare const ___index_js_STARK_AMOUNT_SCALE: typeof STARK_AMOUNT_SCALE;
|
|
2655
|
+
declare const ___index_js_STARK_ASP_TREE_DEPTH: typeof STARK_ASP_TREE_DEPTH;
|
|
2656
|
+
declare const ___index_js_STARK_STATE_TREE_DEPTH: typeof STARK_STATE_TREE_DEPTH;
|
|
2654
2657
|
declare const ___index_js_STARK_STEALTH_ADDRESS_PREFIX: typeof STARK_STEALTH_ADDRESS_PREFIX;
|
|
2655
2658
|
declare const ___index_js_STATE_TREE_DEPTH: typeof STATE_TREE_DEPTH;
|
|
2656
2659
|
declare const ___index_js_STEALTH_ADDRESS_PREFIX: typeof STEALTH_ADDRESS_PREFIX;
|
|
@@ -2667,6 +2670,8 @@ declare const ___index_js_StarkMasterKeys: typeof StarkMasterKeys;
|
|
|
2667
2670
|
declare const ___index_js_StarkNote: typeof StarkNote;
|
|
2668
2671
|
declare const ___index_js_StarkProof: typeof StarkProof;
|
|
2669
2672
|
declare const ___index_js_StarkStealthMetaAddress: typeof StarkStealthMetaAddress;
|
|
2673
|
+
declare const ___index_js_StarkTransferWitness: typeof StarkTransferWitness;
|
|
2674
|
+
declare const ___index_js_StarkWithdrawWitness: typeof StarkWithdrawWitness;
|
|
2670
2675
|
declare const ___index_js_Stealth1x2CircuitInputs: typeof Stealth1x2CircuitInputs;
|
|
2671
2676
|
declare const ___index_js_Stealth2x2CircuitInputs: typeof Stealth2x2CircuitInputs;
|
|
2672
2677
|
declare const ___index_js_StealthAddress: typeof StealthAddress;
|
|
@@ -2674,6 +2679,7 @@ declare const ___index_js_StealthAddressComponents: typeof StealthAddressCompone
|
|
|
2674
2679
|
declare const ___index_js_StealthCircuitInputs: typeof StealthCircuitInputs;
|
|
2675
2680
|
declare const ___index_js_StealthCircuitType: typeof StealthCircuitType;
|
|
2676
2681
|
declare const ___index_js_StealthMetaAddress: typeof StealthMetaAddress;
|
|
2682
|
+
declare const ___index_js_StorableAccountAdapter: typeof StorableAccountAdapter;
|
|
2677
2683
|
declare const ___index_js_StorageAdapter: typeof StorageAdapter;
|
|
2678
2684
|
declare const ___index_js_SwapFillEvent: typeof SwapFillEvent;
|
|
2679
2685
|
declare const ___index_js_SwapFillParams: typeof SwapFillParams;
|
|
@@ -2699,9 +2705,12 @@ type ___index_js_VerifierAddresses = VerifierAddresses;
|
|
|
2699
2705
|
declare const ___index_js_WithdrawParams: typeof WithdrawParams;
|
|
2700
2706
|
declare const ___index_js_addPoints: typeof addPoints;
|
|
2701
2707
|
declare const ___index_js_addressToField: typeof addressToField;
|
|
2708
|
+
declare const ___index_js_addressToM31: typeof addressToM31;
|
|
2702
2709
|
declare const ___index_js_bigintToBytes: typeof bigintToBytes;
|
|
2703
2710
|
declare const ___index_js_buildASPTree: typeof buildASPTree;
|
|
2704
2711
|
declare const ___index_js_buildMerkleTree: typeof buildMerkleTree;
|
|
2712
|
+
declare const ___index_js_buildStarkTransferWitness: typeof buildStarkTransferWitness;
|
|
2713
|
+
declare const ___index_js_buildStarkWithdrawWitness: typeof buildStarkWithdrawWitness;
|
|
2705
2714
|
declare const ___index_js_buildTransfer: typeof buildTransfer;
|
|
2706
2715
|
declare const ___index_js_buildUPPTransferCircuitInputs: typeof buildUPPTransferCircuitInputs;
|
|
2707
2716
|
declare const ___index_js_bytesToBigint: typeof bytesToBigint;
|
|
@@ -2720,6 +2729,8 @@ declare const ___index_js_computeStarkNullifier: typeof computeStarkNullifier;
|
|
|
2720
2729
|
declare const ___index_js_computeStarkOwnerHash: typeof computeStarkOwnerHash;
|
|
2721
2730
|
declare const ___index_js_computeTakeAmount: typeof computeTakeAmount;
|
|
2722
2731
|
declare const ___index_js_computeTotalBuyAmount: typeof computeTotalBuyAmount;
|
|
2732
|
+
declare const ___index_js_computeTransferPublicInputsSeed: typeof computeTransferPublicInputsSeed;
|
|
2733
|
+
declare const ___index_js_computeWithdrawPublicInputsSeed: typeof computeWithdrawPublicInputsSeed;
|
|
2723
2734
|
declare const ___index_js_createDemoASPRoot: typeof createDemoASPRoot;
|
|
2724
2735
|
declare const ___index_js_createNote: typeof createNote;
|
|
2725
2736
|
declare const ___index_js_createOneTimeKeys: typeof createOneTimeKeys;
|
|
@@ -2776,6 +2787,7 @@ declare const ___index_js_hexToBytes: typeof hexToBytes;
|
|
|
2776
2787
|
declare const ___index_js_isFillerASPAccepted: typeof isFillerASPAccepted;
|
|
2777
2788
|
declare const ___index_js_isOnCurve: typeof isOnCurve;
|
|
2778
2789
|
declare const ___index_js_isOrderActive: typeof isOrderActive;
|
|
2790
|
+
declare const ___index_js_isStarkAligned: typeof isStarkAligned;
|
|
2779
2791
|
declare const ___index_js_isValidFieldElement: typeof isValidFieldElement;
|
|
2780
2792
|
declare const ___index_js_isValidStarkStealthAddress: typeof isValidStarkStealthAddress;
|
|
2781
2793
|
declare const ___index_js_isValidStealthAddress: typeof isValidStealthAddress;
|
|
@@ -2783,6 +2795,7 @@ declare const ___index_js_keccakHashTwo: typeof keccakHashTwo;
|
|
|
2783
2795
|
declare const ___index_js_keccakM31: typeof keccakM31;
|
|
2784
2796
|
declare const ___index_js_makeRpcIndexer: typeof makeRpcIndexer;
|
|
2785
2797
|
declare const ___index_js_mulPointScalar: typeof mulPointScalar;
|
|
2798
|
+
declare const ___index_js_packM31Digest: typeof packM31Digest;
|
|
2786
2799
|
declare const ___index_js_packPoint: typeof packPoint;
|
|
2787
2800
|
declare const ___index_js_pointToTuple: typeof pointToTuple;
|
|
2788
2801
|
declare const ___index_js_poseidon: typeof poseidon;
|
|
@@ -2793,10 +2806,13 @@ declare const ___index_js_randomBytes: typeof randomBytes;
|
|
|
2793
2806
|
declare const ___index_js_randomFieldElement: typeof randomFieldElement;
|
|
2794
2807
|
declare const ___index_js_registerDeployment: typeof registerDeployment;
|
|
2795
2808
|
declare const ___index_js_removeCancelSecret: typeof removeCancelSecret;
|
|
2809
|
+
declare const ___index_js_scaleAmountForStark: typeof scaleAmountForStark;
|
|
2810
|
+
declare const ___index_js_splitSecretToM31Limbs: typeof splitSecretToM31Limbs;
|
|
2796
2811
|
declare const ___index_js_splitToM31Limbs: typeof splitToM31Limbs;
|
|
2797
2812
|
declare const ___index_js_storeCancelSecret: typeof storeCancelSecret;
|
|
2798
2813
|
declare const ___index_js_syncMerkleTree: typeof syncMerkleTree;
|
|
2799
2814
|
declare const ___index_js_toFieldElement: typeof toFieldElement;
|
|
2815
|
+
declare const ___index_js_truncateToM31: typeof truncateToM31;
|
|
2800
2816
|
declare const ___index_js_tupleToPoint: typeof tupleToPoint;
|
|
2801
2817
|
declare const ___index_js_validateAuditKeyExport: typeof validateAuditKeyExport;
|
|
2802
2818
|
declare const ___index_js_verifyASPProof: typeof verifyASPProof;
|
|
@@ -2805,7 +2821,7 @@ declare const ___index_js_verifyMerkleProof: typeof verifyMerkleProof;
|
|
|
2805
2821
|
declare const ___index_js_verifyOwnership: typeof verifyOwnership;
|
|
2806
2822
|
declare const ___index_js_verifyProof: typeof verifyProof;
|
|
2807
2823
|
declare namespace ___index_js {
|
|
2808
|
-
export { ___index_js_ADDRESS_VERSION as ADDRESS_VERSION, ___index_js_ASPMembershipProof as ASPMembershipProof, ___index_js_ASPProof as ASPProof, ___index_js_ASPRoot as ASPRoot, ___index_js_ASP_REGISTRY_HUB_ABI as ASP_REGISTRY_HUB_ABI, ___index_js_ASP_TREE_DEPTH as ASP_TREE_DEPTH, ___index_js_AuditKeyExport as AuditKeyExport, ___index_js_BABYJUBJUB_SUBORDER as BABYJUBJUB_SUBORDER, ___index_js_CircuitArtifacts as CircuitArtifacts, ___index_js_CircuitType as CircuitType, ___index_js_Commitment as Commitment, ___index_js_DEFAULT_KEY_DERIVATION_CONFIG as DEFAULT_KEY_DERIVATION_CONFIG, ___index_js_DEMO_ASP_ID as DEMO_ASP_ID, ___index_js_DEMO_ASP_NAME as DEMO_ASP_NAME, ___index_js_DIGEST_SIZE as DIGEST_SIZE, type ___index_js_DeploymentConfig as DeploymentConfig, ___index_js_DirectAccountAdapter as DirectAccountAdapter, ___index_js_DualMasterKeys as DualMasterKeys, ___index_js_EncryptedNote as EncryptedNote, ___index_js_FIELD_PRIME as FIELD_PRIME, ___index_js_IASPProvider as IASPProvider, ___index_js_IAccountAdapter as IAccountAdapter, ___index_js_INoteStore as INoteStore, ___index_js_IndexedNote as IndexedNote, ___index_js_Indexer as Indexer, ___index_js_KeyDerivationConfig as KeyDerivationConfig, ___index_js_M31Digest as M31Digest, ___index_js_M31Secret as M31Secret, ___index_js_M31_P as M31_P, ___index_js_MAX_TREE_DEPTH as MAX_TREE_DEPTH, ___index_js_MasterKeys as MasterKeys, ___index_js_MergeParams as MergeParams, ___index_js_MergeRecord as MergeRecord, ___index_js_MerkleProof as MerkleProof, ___index_js_MerkleProofWithNote as MerkleProofWithNote, ___index_js_MerkleTree as MerkleTree, ___index_js_NOTE_VERSION as NOTE_VERSION, ___index_js_Note as Note, ___index_js_NoteReference as NoteReference, ___index_js_NoteStatus as NoteStatus, ___index_js_NoteStore as NoteStore, ___index_js_NoteWithAmount as NoteWithAmount, ___index_js_Nullifier as Nullifier, ___index_js_OneTimeKeys as OneTimeKeys, ___index_js_Point as Point, ___index_js_Proof as Proof, ___index_js_ProofResult as ProofResult, ___index_js_ProofSystem as ProofSystem, ___index_js_ProvingSystem as ProvingSystem, ___index_js_RATE_PRECISION as RATE_PRECISION, ___index_js_RpcIndexerConfig as RpcIndexerConfig, ___index_js_SECRET_LIMBS as SECRET_LIMBS, ___index_js_STARK_ADDRESS_VERSION as STARK_ADDRESS_VERSION, ___index_js_STARK_AMOUNT_SCALE as STARK_AMOUNT_SCALE, ___index_js_STARK_STEALTH_ADDRESS_PREFIX as STARK_STEALTH_ADDRESS_PREFIX, ___index_js_STATE_TREE_DEPTH as STATE_TREE_DEPTH, ___index_js_STEALTH_ADDRESS_PREFIX as STEALTH_ADDRESS_PREFIX, ___index_js_SWAP_EVENTS_ABI as SWAP_EVENTS_ABI, ___index_js_SWAP_ORDER_CANCELLED_EVENT as SWAP_ORDER_CANCELLED_EVENT, ___index_js_SWAP_ORDER_CLAIMED_EVENT as SWAP_ORDER_CLAIMED_EVENT, ___index_js_SWAP_ORDER_FILLED_EVENT as SWAP_ORDER_FILLED_EVENT, ___index_js_SWAP_ORDER_PLACED_EVENT as SWAP_ORDER_PLACED_EVENT, ___index_js_SerializedKeys as SerializedKeys, ___index_js_ShieldParams as ShieldParams, ___index_js_ShieldedNote as ShieldedNote, ___index_js_SpendableNote as SpendableNote, ___index_js_StarkMasterKeys as StarkMasterKeys, ___index_js_StarkNote as StarkNote, ___index_js_StarkProof as StarkProof, ___index_js_StarkStealthMetaAddress as StarkStealthMetaAddress, ___index_js_Stealth1x2CircuitInputs as Stealth1x2CircuitInputs, ___index_js_Stealth2x2CircuitInputs as Stealth2x2CircuitInputs, ___index_js_StealthAddress as StealthAddress, ___index_js_StealthAddressComponents as StealthAddressComponents, ___index_js_StealthCircuitInputs as StealthCircuitInputs, ___index_js_StealthCircuitType as StealthCircuitType, ___index_js_StealthMetaAddress as StealthMetaAddress, ___index_js_StorageAdapter as StorageAdapter, ___index_js_SwapFillEvent as SwapFillEvent, ___index_js_SwapFillParams as SwapFillParams, ___index_js_SwapOrder as SwapOrder, ___index_js_SwapOrderEvent as SwapOrderEvent, ___index_js_SwapOrderParams as SwapOrderParams, ___index_js_SyncResult as SyncResult, ___index_js_TEST_STABLE_TOKEN_2_ABI as TEST_STABLE_TOKEN_2_ABI, ___index_js_TEST_STABLE_TOKEN_ABI as TEST_STABLE_TOKEN_ABI, ___index_js_TransactionViewingKey as TransactionViewingKey, ___index_js_TransferBuildResult as TransferBuildResult, ___index_js_TransferContext as TransferContext, ___index_js_TransferParams as TransferParams, ___index_js_TransferStage as TransferStage, ___index_js_UNIVERSAL_PRIVATE_POOL_ABI as UNIVERSAL_PRIVATE_POOL_ABI, ___index_js_UPPCircuitInputs as UPPCircuitInputs, ___index_js_UPPCircuitType as UPPCircuitType, ___index_js_UPPClient as UPPClient, ___index_js_UPPClientConfig as UPPClientConfig, ___index_js_UPPTransferCircuitInputs as UPPTransferCircuitInputs, ___index_js_UPPWithdrawCircuitInputs as UPPWithdrawCircuitInputs, type ___index_js_VerifierAddresses as VerifierAddresses, ___index_js_WithdrawParams as WithdrawParams, ___index_js_addPoints as addPoints, ___index_js_addressToField as addressToField, ___index_js_bigintToBytes as bigintToBytes, ___index_js_buildASPTree as buildASPTree, ___index_js_buildMerkleTree as buildMerkleTree, ___index_js_buildTransfer as buildTransfer, ___index_js_buildUPPTransferCircuitInputs as buildUPPTransferCircuitInputs, ___index_js_bytesToBigint as bytesToBigint, ___index_js_bytesToHex as bytesToHex, ___index_js_computeCancelKeyHash as computeCancelKeyHash, ___index_js_computeFillPercentage as computeFillPercentage, ___index_js_computeGiveAmount as computeGiveAmount, ___index_js_computeMultiOriginASPRoot as computeMultiOriginASPRoot, ___index_js_computeNoteEncryptionKey as computeNoteEncryptionKey, ___index_js_computeNullifier as computeNullifier, ___index_js_computeRate as computeRate, ___index_js_computeSharedSecret as computeSharedSecret, ___index_js_computeSingleOriginASPRoot as computeSingleOriginASPRoot, ___index_js_computeStarkCommitment as computeStarkCommitment, ___index_js_computeStarkNullifier as computeStarkNullifier, ___index_js_computeStarkOwnerHash as computeStarkOwnerHash, ___index_js_computeTakeAmount as computeTakeAmount, ___index_js_computeTotalBuyAmount as computeTotalBuyAmount, ___index_js_createDemoASPRoot as createDemoASPRoot, ___index_js_createNote as createNote, ___index_js_createOneTimeKeys as createOneTimeKeys, ___index_js_createUPPClient as createUPPClient, ___index_js_decodeStarkStealthAddress as decodeStarkStealthAddress, ___index_js_decodeStealthAddress as decodeStealthAddress, ___index_js_decryptNote as decryptNote, ___index_js_deriveDecryptionViewingKey as deriveDecryptionViewingKey, ___index_js_deriveDualKeysFromSignature as deriveDualKeysFromSignature, ___index_js_deriveEncryptionViewingKey as deriveEncryptionViewingKey, ___index_js_deriveKeysFromSignature as deriveKeysFromSignature, ___index_js_deriveNullifierKey as deriveNullifierKey, ___index_js_derivePerNoteKey as derivePerNoteKey, ___index_js_derivePerNoteKeyFromKeys as derivePerNoteKeyFromKeys, ___index_js_deriveStarkKeysFromSignature as deriveStarkKeysFromSignature, ___index_js_deriveStarkPerNoteKey as deriveStarkPerNoteKey, ___index_js_deriveStarkPerNoteKeyFromKeys as deriveStarkPerNoteKeyFromKeys, ___index_js_detectAddressType as detectAddressType, ___index_js_encodeStarkStealthAddress as encodeStarkStealthAddress, ___index_js_encodeStealthAddress as encodeStealthAddress, ___index_js_encryptNote as encryptNote, ___index_js_exportViewingKeysForAudit as exportViewingKeysForAudit, ___index_js_fieldToAddress as fieldToAddress, ___index_js_filterOrdersByASP as filterOrdersByASP, ___index_js_filterOrdersByTokenPair as filterOrdersByTokenPair, ___index_js_formatOutputForContract as formatOutputForContract, ___index_js_formatProofForContract as formatProofForContract, ___index_js_formatRate as formatRate, ___index_js_generateASPProof as generateASPProof, ___index_js_generateCancelSecret as generateCancelSecret, ___index_js_generateMultiOriginASPProof as generateMultiOriginASPProof, ___index_js_generateProof as generateProof, ___index_js_generateSingleOriginASPProof as generateSingleOriginASPProof, ___index_js_generateStarkStealthAddress as generateStarkStealthAddress, ___index_js_generateStealthAddress as generateStealthAddress, ___index_js_generateStealthProof as generateStealthProof, ___index_js_generateUPPProof as generateUPPProof, ___index_js_getBasePoint as getBasePoint, ___index_js_getCancelSecret as getCancelSecret, ___index_js_getDeployment as getDeployment, ___index_js_getDeploymentOrThrow as getDeploymentOrThrow, ___index_js_getKeyDerivationMessage as getKeyDerivationMessage, ___index_js_getMerkleProof as getMerkleProof, ___index_js_getMerkleProofsForNotes as getMerkleProofsForNotes, ___index_js_getOwnOrderIds as getOwnOrderIds, ___index_js_getStealthCircuitArtifacts as getStealthCircuitArtifacts, ___index_js_getSubOrder as getSubOrder, ___index_js_getSupportedChainIds as getSupportedChainIds, ___index_js_getTokenAddress as getTokenAddress, ___index_js_getUPPCircuitArtifacts as getUPPCircuitArtifacts, ___index_js_getViewingKeyFromExport as getViewingKeyFromExport, ___index_js_hasDeployment as hasDeployment, ___index_js_hexToBytes as hexToBytes, ___index_js_isFillerASPAccepted as isFillerASPAccepted, ___index_js_isOnCurve as isOnCurve, ___index_js_isOrderActive as isOrderActive, ___index_js_isValidFieldElement as isValidFieldElement, ___index_js_isValidStarkStealthAddress as isValidStarkStealthAddress, ___index_js_isValidStealthAddress as isValidStealthAddress, ___index_js_keccakHashTwo as keccakHashTwo, ___index_js_keccakM31 as keccakM31, ___index_js_makeRpcIndexer as makeRpcIndexer, ___index_js_mulPointScalar as mulPointScalar, ___index_js_packPoint as packPoint, ___index_js_pointToTuple as pointToTuple, ___index_js_poseidon as poseidon, ___index_js_poseidonHash as poseidonHash, ___index_js_poseidonScalar as poseidonScalar, ___index_js_privateToPublic as privateToPublic, ___index_js_randomBytes as randomBytes, ___index_js_randomFieldElement as randomFieldElement, ___index_js_registerDeployment as registerDeployment, ___index_js_removeCancelSecret as removeCancelSecret, ___index_js_splitToM31Limbs as splitToM31Limbs, ___index_js_storeCancelSecret as storeCancelSecret, ___index_js_syncMerkleTree as syncMerkleTree, ___index_js_toFieldElement as toFieldElement, ___index_js_tupleToPoint as tupleToPoint, ___index_js_validateAuditKeyExport as validateAuditKeyExport, ___index_js_verifyASPProof as verifyASPProof, ___index_js_verifyKeysMatchSignature as verifyKeysMatchSignature, ___index_js_verifyMerkleProof as verifyMerkleProof, ___index_js_verifyOwnership as verifyOwnership, ___index_js_verifyProof as verifyProof };
|
|
2824
|
+
export { ___index_js_ADDRESS_VERSION as ADDRESS_VERSION, ___index_js_ASPMembershipProof as ASPMembershipProof, ___index_js_ASPProof as ASPProof, ___index_js_ASPRoot as ASPRoot, ___index_js_ASP_REGISTRY_HUB_ABI as ASP_REGISTRY_HUB_ABI, ___index_js_ASP_TREE_DEPTH as ASP_TREE_DEPTH, ___index_js_AuditKeyExport as AuditKeyExport, ___index_js_BABYJUBJUB_SUBORDER as BABYJUBJUB_SUBORDER, ___index_js_CircuitArtifacts as CircuitArtifacts, ___index_js_CircuitType as CircuitType, ___index_js_Commitment as Commitment, ___index_js_DEFAULT_KEY_DERIVATION_CONFIG as DEFAULT_KEY_DERIVATION_CONFIG, ___index_js_DEMO_ASP_ID as DEMO_ASP_ID, ___index_js_DEMO_ASP_NAME as DEMO_ASP_NAME, ___index_js_DIGEST_SIZE as DIGEST_SIZE, type ___index_js_DeploymentConfig as DeploymentConfig, ___index_js_DirectAccountAdapter as DirectAccountAdapter, ___index_js_DualMasterKeys as DualMasterKeys, ___index_js_EncryptedNote as EncryptedNote, ___index_js_FIELD_PRIME as FIELD_PRIME, ___index_js_IASPProvider as IASPProvider, ___index_js_IAccountAdapter as IAccountAdapter, ___index_js_INoteStore as INoteStore, ___index_js_IndexedNote as IndexedNote, ___index_js_Indexer as Indexer, ___index_js_KeyDerivationConfig as KeyDerivationConfig, ___index_js_M31Digest as M31Digest, ___index_js_M31Secret as M31Secret, ___index_js_M31_P as M31_P, ___index_js_MAX_TREE_DEPTH as MAX_TREE_DEPTH, ___index_js_MasterKeys as MasterKeys, ___index_js_MergeParams as MergeParams, ___index_js_MergeRecord as MergeRecord, ___index_js_MerkleProof as MerkleProof, ___index_js_MerkleProofWithNote as MerkleProofWithNote, ___index_js_MerkleTree as MerkleTree, ___index_js_NOTE_VERSION as NOTE_VERSION, ___index_js_Note as Note, ___index_js_NoteReference as NoteReference, ___index_js_NoteStatus as NoteStatus, ___index_js_NoteStore as NoteStore, ___index_js_NoteWithAmount as NoteWithAmount, ___index_js_Nullifier as Nullifier, ___index_js_OneTimeKeys as OneTimeKeys, ___index_js_Point as Point, ___index_js_Proof as Proof, ___index_js_ProofResult as ProofResult, ___index_js_ProofSystem as ProofSystem, ___index_js_ProvingSystem as ProvingSystem, ___index_js_RATE_PRECISION as RATE_PRECISION, ___index_js_RpcIndexerConfig as RpcIndexerConfig, ___index_js_SECRET_LIMBS as SECRET_LIMBS, ___index_js_STARK_ADDRESS_VERSION as STARK_ADDRESS_VERSION, ___index_js_STARK_AMOUNT_SCALE as STARK_AMOUNT_SCALE, ___index_js_STARK_ASP_TREE_DEPTH as STARK_ASP_TREE_DEPTH, ___index_js_STARK_STATE_TREE_DEPTH as STARK_STATE_TREE_DEPTH, ___index_js_STARK_STEALTH_ADDRESS_PREFIX as STARK_STEALTH_ADDRESS_PREFIX, ___index_js_STATE_TREE_DEPTH as STATE_TREE_DEPTH, ___index_js_STEALTH_ADDRESS_PREFIX as STEALTH_ADDRESS_PREFIX, ___index_js_SWAP_EVENTS_ABI as SWAP_EVENTS_ABI, ___index_js_SWAP_ORDER_CANCELLED_EVENT as SWAP_ORDER_CANCELLED_EVENT, ___index_js_SWAP_ORDER_CLAIMED_EVENT as SWAP_ORDER_CLAIMED_EVENT, ___index_js_SWAP_ORDER_FILLED_EVENT as SWAP_ORDER_FILLED_EVENT, ___index_js_SWAP_ORDER_PLACED_EVENT as SWAP_ORDER_PLACED_EVENT, ___index_js_SerializedKeys as SerializedKeys, ___index_js_ShieldParams as ShieldParams, ___index_js_ShieldedNote as ShieldedNote, ___index_js_SpendableNote as SpendableNote, ___index_js_StarkMasterKeys as StarkMasterKeys, ___index_js_StarkNote as StarkNote, ___index_js_StarkProof as StarkProof, ___index_js_StarkStealthMetaAddress as StarkStealthMetaAddress, ___index_js_StarkTransferWitness as StarkTransferWitness, ___index_js_StarkWithdrawWitness as StarkWithdrawWitness, ___index_js_Stealth1x2CircuitInputs as Stealth1x2CircuitInputs, ___index_js_Stealth2x2CircuitInputs as Stealth2x2CircuitInputs, ___index_js_StealthAddress as StealthAddress, ___index_js_StealthAddressComponents as StealthAddressComponents, ___index_js_StealthCircuitInputs as StealthCircuitInputs, ___index_js_StealthCircuitType as StealthCircuitType, ___index_js_StealthMetaAddress as StealthMetaAddress, ___index_js_StorableAccountAdapter as StorableAccountAdapter, ___index_js_StorageAdapter as StorageAdapter, ___index_js_SwapFillEvent as SwapFillEvent, ___index_js_SwapFillParams as SwapFillParams, ___index_js_SwapOrder as SwapOrder, ___index_js_SwapOrderEvent as SwapOrderEvent, ___index_js_SwapOrderParams as SwapOrderParams, ___index_js_SyncResult as SyncResult, ___index_js_TEST_STABLE_TOKEN_2_ABI as TEST_STABLE_TOKEN_2_ABI, ___index_js_TEST_STABLE_TOKEN_ABI as TEST_STABLE_TOKEN_ABI, ___index_js_TransactionViewingKey as TransactionViewingKey, ___index_js_TransferBuildResult as TransferBuildResult, ___index_js_TransferContext as TransferContext, ___index_js_TransferParams as TransferParams, ___index_js_TransferStage as TransferStage, ___index_js_UNIVERSAL_PRIVATE_POOL_ABI as UNIVERSAL_PRIVATE_POOL_ABI, ___index_js_UPPCircuitInputs as UPPCircuitInputs, ___index_js_UPPCircuitType as UPPCircuitType, ___index_js_UPPClient as UPPClient, ___index_js_UPPClientConfig as UPPClientConfig, ___index_js_UPPTransferCircuitInputs as UPPTransferCircuitInputs, ___index_js_UPPWithdrawCircuitInputs as UPPWithdrawCircuitInputs, type ___index_js_VerifierAddresses as VerifierAddresses, ___index_js_WithdrawParams as WithdrawParams, ___index_js_addPoints as addPoints, ___index_js_addressToField as addressToField, ___index_js_addressToM31 as addressToM31, ___index_js_bigintToBytes as bigintToBytes, ___index_js_buildASPTree as buildASPTree, ___index_js_buildMerkleTree as buildMerkleTree, ___index_js_buildStarkTransferWitness as buildStarkTransferWitness, ___index_js_buildStarkWithdrawWitness as buildStarkWithdrawWitness, ___index_js_buildTransfer as buildTransfer, ___index_js_buildUPPTransferCircuitInputs as buildUPPTransferCircuitInputs, ___index_js_bytesToBigint as bytesToBigint, ___index_js_bytesToHex as bytesToHex, ___index_js_computeCancelKeyHash as computeCancelKeyHash, ___index_js_computeFillPercentage as computeFillPercentage, ___index_js_computeGiveAmount as computeGiveAmount, ___index_js_computeMultiOriginASPRoot as computeMultiOriginASPRoot, ___index_js_computeNoteEncryptionKey as computeNoteEncryptionKey, ___index_js_computeNullifier as computeNullifier, ___index_js_computeRate as computeRate, ___index_js_computeSharedSecret as computeSharedSecret, ___index_js_computeSingleOriginASPRoot as computeSingleOriginASPRoot, ___index_js_computeStarkCommitment as computeStarkCommitment, ___index_js_computeStarkNullifier as computeStarkNullifier, ___index_js_computeStarkOwnerHash as computeStarkOwnerHash, ___index_js_computeTakeAmount as computeTakeAmount, ___index_js_computeTotalBuyAmount as computeTotalBuyAmount, ___index_js_computeTransferPublicInputsSeed as computeTransferPublicInputsSeed, ___index_js_computeWithdrawPublicInputsSeed as computeWithdrawPublicInputsSeed, ___index_js_createDemoASPRoot as createDemoASPRoot, ___index_js_createNote as createNote, ___index_js_createOneTimeKeys as createOneTimeKeys, ___index_js_createUPPClient as createUPPClient, ___index_js_decodeStarkStealthAddress as decodeStarkStealthAddress, ___index_js_decodeStealthAddress as decodeStealthAddress, ___index_js_decryptNote as decryptNote, ___index_js_deriveDecryptionViewingKey as deriveDecryptionViewingKey, ___index_js_deriveDualKeysFromSignature as deriveDualKeysFromSignature, ___index_js_deriveEncryptionViewingKey as deriveEncryptionViewingKey, ___index_js_deriveKeysFromSignature as deriveKeysFromSignature, ___index_js_deriveNullifierKey as deriveNullifierKey, ___index_js_derivePerNoteKey as derivePerNoteKey, ___index_js_derivePerNoteKeyFromKeys as derivePerNoteKeyFromKeys, ___index_js_deriveStarkKeysFromSignature as deriveStarkKeysFromSignature, ___index_js_deriveStarkPerNoteKey as deriveStarkPerNoteKey, ___index_js_deriveStarkPerNoteKeyFromKeys as deriveStarkPerNoteKeyFromKeys, ___index_js_detectAddressType as detectAddressType, ___index_js_encodeStarkStealthAddress as encodeStarkStealthAddress, ___index_js_encodeStealthAddress as encodeStealthAddress, ___index_js_encryptNote as encryptNote, ___index_js_exportViewingKeysForAudit as exportViewingKeysForAudit, ___index_js_fieldToAddress as fieldToAddress, ___index_js_filterOrdersByASP as filterOrdersByASP, ___index_js_filterOrdersByTokenPair as filterOrdersByTokenPair, ___index_js_formatOutputForContract as formatOutputForContract, ___index_js_formatProofForContract as formatProofForContract, ___index_js_formatRate as formatRate, ___index_js_generateASPProof as generateASPProof, ___index_js_generateCancelSecret as generateCancelSecret, ___index_js_generateMultiOriginASPProof as generateMultiOriginASPProof, ___index_js_generateProof as generateProof, ___index_js_generateSingleOriginASPProof as generateSingleOriginASPProof, ___index_js_generateStarkStealthAddress as generateStarkStealthAddress, ___index_js_generateStealthAddress as generateStealthAddress, ___index_js_generateStealthProof as generateStealthProof, ___index_js_generateUPPProof as generateUPPProof, ___index_js_getBasePoint as getBasePoint, ___index_js_getCancelSecret as getCancelSecret, ___index_js_getDeployment as getDeployment, ___index_js_getDeploymentOrThrow as getDeploymentOrThrow, ___index_js_getKeyDerivationMessage as getKeyDerivationMessage, ___index_js_getMerkleProof as getMerkleProof, ___index_js_getMerkleProofsForNotes as getMerkleProofsForNotes, ___index_js_getOwnOrderIds as getOwnOrderIds, ___index_js_getStealthCircuitArtifacts as getStealthCircuitArtifacts, ___index_js_getSubOrder as getSubOrder, ___index_js_getSupportedChainIds as getSupportedChainIds, ___index_js_getTokenAddress as getTokenAddress, ___index_js_getUPPCircuitArtifacts as getUPPCircuitArtifacts, ___index_js_getViewingKeyFromExport as getViewingKeyFromExport, ___index_js_hasDeployment as hasDeployment, ___index_js_hexToBytes as hexToBytes, ___index_js_isFillerASPAccepted as isFillerASPAccepted, ___index_js_isOnCurve as isOnCurve, ___index_js_isOrderActive as isOrderActive, ___index_js_isStarkAligned as isStarkAligned, ___index_js_isValidFieldElement as isValidFieldElement, ___index_js_isValidStarkStealthAddress as isValidStarkStealthAddress, ___index_js_isValidStealthAddress as isValidStealthAddress, ___index_js_keccakHashTwo as keccakHashTwo, ___index_js_keccakM31 as keccakM31, ___index_js_makeRpcIndexer as makeRpcIndexer, ___index_js_mulPointScalar as mulPointScalar, ___index_js_packM31Digest as packM31Digest, ___index_js_packPoint as packPoint, ___index_js_pointToTuple as pointToTuple, ___index_js_poseidon as poseidon, ___index_js_poseidonHash as poseidonHash, ___index_js_poseidonScalar as poseidonScalar, ___index_js_privateToPublic as privateToPublic, ___index_js_randomBytes as randomBytes, ___index_js_randomFieldElement as randomFieldElement, ___index_js_registerDeployment as registerDeployment, ___index_js_removeCancelSecret as removeCancelSecret, ___index_js_scaleAmountForStark as scaleAmountForStark, ___index_js_splitSecretToM31Limbs as splitSecretToM31Limbs, ___index_js_splitToM31Limbs as splitToM31Limbs, ___index_js_storeCancelSecret as storeCancelSecret, ___index_js_syncMerkleTree as syncMerkleTree, ___index_js_toFieldElement as toFieldElement, ___index_js_truncateToM31 as truncateToM31, ___index_js_tupleToPoint as tupleToPoint, ___index_js_validateAuditKeyExport as validateAuditKeyExport, ___index_js_verifyASPProof as verifyASPProof, ___index_js_verifyKeysMatchSignature as verifyKeysMatchSignature, ___index_js_verifyMerkleProof as verifyMerkleProof, ___index_js_verifyOwnership as verifyOwnership, ___index_js_verifyProof as verifyProof };
|
|
2809
2825
|
}
|
|
2810
2826
|
|
|
2811
2827
|
export { type DeploymentConfig as D, TEST_STABLE_TOKEN_ABI as T, UNIVERSAL_PRIVATE_POOL_ABI as U, type VerifierAddresses as V, ___index_js as _, TEST_STABLE_TOKEN_2_ABI as a, getDeploymentOrThrow as b, getSupportedChainIds as c, getTokenAddress as d, getDeployment as g, hasDeployment as h, makeRpcIndexer as m, registerDeployment as r };
|