@permissionless-technologies/upp-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/README.md +194 -0
- package/dist/asp-TXSAFFD3.cjs +53 -0
- package/dist/asp-TXSAFFD3.cjs.map +1 -0
- package/dist/asp-ZA3RGN7G.js +4 -0
- package/dist/asp-ZA3RGN7G.js.map +1 -0
- package/dist/babyjubjub-2MGQVCKB.js +5 -0
- package/dist/babyjubjub-2MGQVCKB.js.map +1 -0
- package/dist/babyjubjub-MWZLJOVZ.cjs +66 -0
- package/dist/babyjubjub-MWZLJOVZ.cjs.map +1 -0
- package/dist/chunk-2JQISXBD.js +150 -0
- package/dist/chunk-2JQISXBD.js.map +1 -0
- package/dist/chunk-3HQ7A6ZM.cjs +61 -0
- package/dist/chunk-3HQ7A6ZM.cjs.map +1 -0
- package/dist/chunk-5AKBSMEQ.cjs +1008 -0
- package/dist/chunk-5AKBSMEQ.cjs.map +1 -0
- package/dist/chunk-5V5HSN6Y.js +81 -0
- package/dist/chunk-5V5HSN6Y.js.map +1 -0
- package/dist/chunk-BH24DZ5S.cjs +91 -0
- package/dist/chunk-BH24DZ5S.cjs.map +1 -0
- package/dist/chunk-C7QQOJ7T.cjs +67 -0
- package/dist/chunk-C7QQOJ7T.cjs.map +1 -0
- package/dist/chunk-ERQE57IA.cjs +404 -0
- package/dist/chunk-ERQE57IA.cjs.map +1 -0
- package/dist/chunk-EUP7MBAH.cjs +165 -0
- package/dist/chunk-EUP7MBAH.cjs.map +1 -0
- package/dist/chunk-G7VZBCD6.cjs +35 -0
- package/dist/chunk-G7VZBCD6.cjs.map +1 -0
- package/dist/chunk-GQV47S3N.cjs +10 -0
- package/dist/chunk-GQV47S3N.cjs.map +1 -0
- package/dist/chunk-GXZ3MTCQ.cjs +527 -0
- package/dist/chunk-GXZ3MTCQ.cjs.map +1 -0
- package/dist/chunk-JWNXBALH.cjs +57 -0
- package/dist/chunk-JWNXBALH.cjs.map +1 -0
- package/dist/chunk-KIKBPJXJ.cjs +348 -0
- package/dist/chunk-KIKBPJXJ.cjs.map +1 -0
- package/dist/chunk-NCW4AE7L.js +8 -0
- package/dist/chunk-NCW4AE7L.js.map +1 -0
- package/dist/chunk-NDM5EJEV.cjs +70 -0
- package/dist/chunk-NDM5EJEV.cjs.map +1 -0
- package/dist/chunk-NUIQHTSA.js +489 -0
- package/dist/chunk-NUIQHTSA.js.map +1 -0
- package/dist/chunk-OQDSHMXU.js +1002 -0
- package/dist/chunk-OQDSHMXU.js.map +1 -0
- package/dist/chunk-P37MRZ73.js +58 -0
- package/dist/chunk-P37MRZ73.js.map +1 -0
- package/dist/chunk-PWHOUQOZ.js +335 -0
- package/dist/chunk-PWHOUQOZ.js.map +1 -0
- package/dist/chunk-S4B7GYLN.js +112 -0
- package/dist/chunk-S4B7GYLN.js.map +1 -0
- package/dist/chunk-SGZZL5AC.js +59 -0
- package/dist/chunk-SGZZL5AC.js.map +1 -0
- package/dist/chunk-SQKBT2SH.cjs +122 -0
- package/dist/chunk-SQKBT2SH.cjs.map +1 -0
- package/dist/chunk-TSF6HEVS.cjs +201 -0
- package/dist/chunk-TSF6HEVS.cjs.map +1 -0
- package/dist/chunk-V23OSL25.js +48 -0
- package/dist/chunk-V23OSL25.js.map +1 -0
- package/dist/chunk-W77GRBO4.js +53 -0
- package/dist/chunk-W77GRBO4.js.map +1 -0
- package/dist/chunk-XV72HNHN.js +399 -0
- package/dist/chunk-XV72HNHN.js.map +1 -0
- package/dist/chunk-YOWDERVC.js +186 -0
- package/dist/chunk-YOWDERVC.js.map +1 -0
- package/dist/chunk-Z6ZWNWWR.js +30 -0
- package/dist/chunk-Z6ZWNWWR.js.map +1 -0
- package/dist/chunk-ZKZV6OI3.cjs +165 -0
- package/dist/chunk-ZKZV6OI3.cjs.map +1 -0
- package/dist/chunk-ZU6J7KMY.js +159 -0
- package/dist/chunk-ZU6J7KMY.js.map +1 -0
- package/dist/core/index.cjs +300 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +9 -0
- package/dist/core/index.d.ts +9 -0
- package/dist/core/index.js +11 -0
- package/dist/core/index.js.map +1 -0
- package/dist/index-BBzvvrhG.d.ts +757 -0
- package/dist/index-BGvapsJy.d.cts +2811 -0
- package/dist/index-C-jSNw6j.d.cts +757 -0
- package/dist/index-ChGaGPzP.d.ts +2811 -0
- package/dist/index.cjs +3652 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +3112 -0
- package/dist/index.js.map +1 -0
- package/dist/indexer/index.cjs +58 -0
- package/dist/indexer/index.cjs.map +1 -0
- package/dist/indexer/index.d.cts +206 -0
- package/dist/indexer/index.d.ts +206 -0
- package/dist/indexer/index.js +5 -0
- package/dist/indexer/index.js.map +1 -0
- package/dist/keccak-m31-B_AqBbRF.d.cts +70 -0
- package/dist/keccak-m31-B_AqBbRF.d.ts +70 -0
- package/dist/keys/index.cjs +68 -0
- package/dist/keys/index.cjs.map +1 -0
- package/dist/keys/index.d.cts +158 -0
- package/dist/keys/index.d.ts +158 -0
- package/dist/keys/index.js +7 -0
- package/dist/keys/index.js.map +1 -0
- package/dist/merkle-7KS2EHRF.js +5 -0
- package/dist/merkle-7KS2EHRF.js.map +1 -0
- package/dist/merkle-HGDC6OB4.cjs +30 -0
- package/dist/merkle-HGDC6OB4.cjs.map +1 -0
- package/dist/merkle-mteVOlDf.d.cts +188 -0
- package/dist/merkle-mteVOlDf.d.ts +188 -0
- package/dist/poseidon-UHTJLWQM.js +7 -0
- package/dist/poseidon-UHTJLWQM.js.map +1 -0
- package/dist/poseidon-WHJSZSNP.cjs +45 -0
- package/dist/poseidon-WHJSZSNP.cjs.map +1 -0
- package/dist/proof-5OECB3RQ.cjs +45 -0
- package/dist/proof-5OECB3RQ.cjs.map +1 -0
- package/dist/proof-C4YBP6RY.js +4 -0
- package/dist/proof-C4YBP6RY.js.map +1 -0
- package/dist/react/index.cjs +2641 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +757 -0
- package/dist/react/index.d.ts +757 -0
- package/dist/react/index.js +2598 -0
- package/dist/react/index.js.map +1 -0
- package/dist/transfer-2UDHDS7Q.cjs +37 -0
- package/dist/transfer-2UDHDS7Q.cjs.map +1 -0
- package/dist/transfer-BlmbO-Rd.d.ts +1270 -0
- package/dist/transfer-DKZuJnRM.d.cts +1270 -0
- package/dist/transfer-KTCXKHS4.js +8 -0
- package/dist/transfer-KTCXKHS4.js.map +1 -0
- package/dist/types-CJSbxv4q.d.cts +143 -0
- package/dist/types-mLybMxNR.d.ts +143 -0
- package/dist/utils/index.cjs +178 -0
- package/dist/utils/index.cjs.map +1 -0
- package/dist/utils/index.d.cts +88 -0
- package/dist/utils/index.d.ts +88 -0
- package/dist/utils/index.js +9 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +119 -0
- package/src/contracts/interfaces/IASPRegistry.sol +36 -0
- package/src/contracts/interfaces/IUniversalPrivatePool.sol +260 -0
- package/src/contracts/interfaces/IVerifiers.sol +68 -0
- package/src/deployments/11155111.json +19 -0
- package/src/deployments/31337.json +19 -0
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkC7QQOJ7T_cjs = require('../chunk-C7QQOJ7T.cjs');
|
|
4
|
+
var chunkKIKBPJXJ_cjs = require('../chunk-KIKBPJXJ.cjs');
|
|
5
|
+
var chunkGXZ3MTCQ_cjs = require('../chunk-GXZ3MTCQ.cjs');
|
|
6
|
+
var chunkNDM5EJEV_cjs = require('../chunk-NDM5EJEV.cjs');
|
|
7
|
+
require('../chunk-EUP7MBAH.cjs');
|
|
8
|
+
require('../chunk-3HQ7A6ZM.cjs');
|
|
9
|
+
require('../chunk-JWNXBALH.cjs');
|
|
10
|
+
var chunkSQKBT2SH_cjs = require('../chunk-SQKBT2SH.cjs');
|
|
11
|
+
require('../chunk-G7VZBCD6.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Object.defineProperty(exports, "DirectAccountAdapter", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkC7QQOJ7T_cjs.DirectAccountAdapter; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "NOTE_VERSION", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkC7QQOJ7T_cjs.NOTE_VERSION; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "STARK_AMOUNT_SCALE", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkC7QQOJ7T_cjs.STARK_AMOUNT_SCALE; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "createNote", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkC7QQOJ7T_cjs.createNote; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "createUPPClient", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkC7QQOJ7T_cjs.createUPPClient; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "decryptNote", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkC7QQOJ7T_cjs.decryptNote; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "encryptNote", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkC7QQOJ7T_cjs.encryptNote; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "buildTransfer", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkKIKBPJXJ_cjs.buildTransfer; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "buildUPPTransferCircuitInputs", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkKIKBPJXJ_cjs.buildUPPTransferCircuitInputs; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "computeNullifier", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return chunkKIKBPJXJ_cjs.computeNullifier; }
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "formatOutputForContract", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return chunkKIKBPJXJ_cjs.formatOutputForContract; }
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(exports, "getMerkleProofsForNotes", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () { return chunkKIKBPJXJ_cjs.getMerkleProofsForNotes; }
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "syncMerkleTree", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () { return chunkKIKBPJXJ_cjs.syncMerkleTree; }
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, "ADDRESS_VERSION", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () { return chunkGXZ3MTCQ_cjs.ADDRESS_VERSION; }
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "NoteStore", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return chunkGXZ3MTCQ_cjs.NoteStore; }
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "RATE_PRECISION", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return chunkGXZ3MTCQ_cjs.RATE_PRECISION; }
|
|
78
|
+
});
|
|
79
|
+
Object.defineProperty(exports, "STARK_ADDRESS_VERSION", {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () { return chunkGXZ3MTCQ_cjs.STARK_ADDRESS_VERSION; }
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "STARK_STEALTH_ADDRESS_PREFIX", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () { return chunkGXZ3MTCQ_cjs.STARK_STEALTH_ADDRESS_PREFIX; }
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(exports, "STEALTH_ADDRESS_PREFIX", {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function () { return chunkGXZ3MTCQ_cjs.STEALTH_ADDRESS_PREFIX; }
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(exports, "SWAP_EVENTS_ABI", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
get: function () { return chunkGXZ3MTCQ_cjs.SWAP_EVENTS_ABI; }
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(exports, "SWAP_ORDER_CANCELLED_EVENT", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () { return chunkGXZ3MTCQ_cjs.SWAP_ORDER_CANCELLED_EVENT; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "SWAP_ORDER_CLAIMED_EVENT", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return chunkGXZ3MTCQ_cjs.SWAP_ORDER_CLAIMED_EVENT; }
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "SWAP_ORDER_FILLED_EVENT", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () { return chunkGXZ3MTCQ_cjs.SWAP_ORDER_FILLED_EVENT; }
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "SWAP_ORDER_PLACED_EVENT", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () { return chunkGXZ3MTCQ_cjs.SWAP_ORDER_PLACED_EVENT; }
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, "computeCancelKeyHash", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () { return chunkGXZ3MTCQ_cjs.computeCancelKeyHash; }
|
|
114
|
+
});
|
|
115
|
+
Object.defineProperty(exports, "computeFillPercentage", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function () { return chunkGXZ3MTCQ_cjs.computeFillPercentage; }
|
|
118
|
+
});
|
|
119
|
+
Object.defineProperty(exports, "computeGiveAmount", {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: function () { return chunkGXZ3MTCQ_cjs.computeGiveAmount; }
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "computeNoteEncryptionKey", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return chunkGXZ3MTCQ_cjs.computeNoteEncryptionKey; }
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "computeRate", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function () { return chunkGXZ3MTCQ_cjs.computeRate; }
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(exports, "computeTakeAmount", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () { return chunkGXZ3MTCQ_cjs.computeTakeAmount; }
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "computeTotalBuyAmount", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () { return chunkGXZ3MTCQ_cjs.computeTotalBuyAmount; }
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "createOneTimeKeys", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () { return chunkGXZ3MTCQ_cjs.createOneTimeKeys; }
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, "decodeStarkStealthAddress", {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () { return chunkGXZ3MTCQ_cjs.decodeStarkStealthAddress; }
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "decodeStealthAddress", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return chunkGXZ3MTCQ_cjs.decodeStealthAddress; }
|
|
150
|
+
});
|
|
151
|
+
Object.defineProperty(exports, "detectAddressType", {
|
|
152
|
+
enumerable: true,
|
|
153
|
+
get: function () { return chunkGXZ3MTCQ_cjs.detectAddressType; }
|
|
154
|
+
});
|
|
155
|
+
Object.defineProperty(exports, "encodeStarkStealthAddress", {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () { return chunkGXZ3MTCQ_cjs.encodeStarkStealthAddress; }
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "encodeStealthAddress", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () { return chunkGXZ3MTCQ_cjs.encodeStealthAddress; }
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(exports, "filterOrdersByASP", {
|
|
164
|
+
enumerable: true,
|
|
165
|
+
get: function () { return chunkGXZ3MTCQ_cjs.filterOrdersByASP; }
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(exports, "filterOrdersByTokenPair", {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () { return chunkGXZ3MTCQ_cjs.filterOrdersByTokenPair; }
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "formatRate", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return chunkGXZ3MTCQ_cjs.formatRate; }
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(exports, "generateCancelSecret", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () { return chunkGXZ3MTCQ_cjs.generateCancelSecret; }
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(exports, "generateStarkStealthAddress", {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () { return chunkGXZ3MTCQ_cjs.generateStarkStealthAddress; }
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, "generateStealthAddress", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () { return chunkGXZ3MTCQ_cjs.generateStealthAddress; }
|
|
186
|
+
});
|
|
187
|
+
Object.defineProperty(exports, "getCancelSecret", {
|
|
188
|
+
enumerable: true,
|
|
189
|
+
get: function () { return chunkGXZ3MTCQ_cjs.getCancelSecret; }
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(exports, "getOwnOrderIds", {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
get: function () { return chunkGXZ3MTCQ_cjs.getOwnOrderIds; }
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(exports, "isFillerASPAccepted", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function () { return chunkGXZ3MTCQ_cjs.isFillerASPAccepted; }
|
|
198
|
+
});
|
|
199
|
+
Object.defineProperty(exports, "isOrderActive", {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
get: function () { return chunkGXZ3MTCQ_cjs.isOrderActive; }
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(exports, "isValidStarkStealthAddress", {
|
|
204
|
+
enumerable: true,
|
|
205
|
+
get: function () { return chunkGXZ3MTCQ_cjs.isValidStarkStealthAddress; }
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, "isValidStealthAddress", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () { return chunkGXZ3MTCQ_cjs.isValidStealthAddress; }
|
|
210
|
+
});
|
|
211
|
+
Object.defineProperty(exports, "removeCancelSecret", {
|
|
212
|
+
enumerable: true,
|
|
213
|
+
get: function () { return chunkGXZ3MTCQ_cjs.removeCancelSecret; }
|
|
214
|
+
});
|
|
215
|
+
Object.defineProperty(exports, "storeCancelSecret", {
|
|
216
|
+
enumerable: true,
|
|
217
|
+
get: function () { return chunkGXZ3MTCQ_cjs.storeCancelSecret; }
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(exports, "verifyOwnership", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () { return chunkGXZ3MTCQ_cjs.verifyOwnership; }
|
|
222
|
+
});
|
|
223
|
+
Object.defineProperty(exports, "DEMO_ASP_ID", {
|
|
224
|
+
enumerable: true,
|
|
225
|
+
get: function () { return chunkNDM5EJEV_cjs.DEMO_ASP_ID; }
|
|
226
|
+
});
|
|
227
|
+
Object.defineProperty(exports, "DEMO_ASP_NAME", {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
get: function () { return chunkNDM5EJEV_cjs.DEMO_ASP_NAME; }
|
|
230
|
+
});
|
|
231
|
+
Object.defineProperty(exports, "buildASPTree", {
|
|
232
|
+
enumerable: true,
|
|
233
|
+
get: function () { return chunkNDM5EJEV_cjs.buildASPTree; }
|
|
234
|
+
});
|
|
235
|
+
Object.defineProperty(exports, "computeMultiOriginASPRoot", {
|
|
236
|
+
enumerable: true,
|
|
237
|
+
get: function () { return chunkNDM5EJEV_cjs.computeMultiOriginASPRoot; }
|
|
238
|
+
});
|
|
239
|
+
Object.defineProperty(exports, "computeSingleOriginASPRoot", {
|
|
240
|
+
enumerable: true,
|
|
241
|
+
get: function () { return chunkNDM5EJEV_cjs.computeSingleOriginASPRoot; }
|
|
242
|
+
});
|
|
243
|
+
Object.defineProperty(exports, "createDemoASPRoot", {
|
|
244
|
+
enumerable: true,
|
|
245
|
+
get: function () { return chunkNDM5EJEV_cjs.createDemoASPRoot; }
|
|
246
|
+
});
|
|
247
|
+
Object.defineProperty(exports, "generateASPProof", {
|
|
248
|
+
enumerable: true,
|
|
249
|
+
get: function () { return chunkNDM5EJEV_cjs.generateASPProof; }
|
|
250
|
+
});
|
|
251
|
+
Object.defineProperty(exports, "generateMultiOriginASPProof", {
|
|
252
|
+
enumerable: true,
|
|
253
|
+
get: function () { return chunkNDM5EJEV_cjs.generateMultiOriginASPProof; }
|
|
254
|
+
});
|
|
255
|
+
Object.defineProperty(exports, "generateSingleOriginASPProof", {
|
|
256
|
+
enumerable: true,
|
|
257
|
+
get: function () { return chunkNDM5EJEV_cjs.generateSingleOriginASPProof; }
|
|
258
|
+
});
|
|
259
|
+
Object.defineProperty(exports, "verifyASPProof", {
|
|
260
|
+
enumerable: true,
|
|
261
|
+
get: function () { return chunkNDM5EJEV_cjs.verifyASPProof; }
|
|
262
|
+
});
|
|
263
|
+
Object.defineProperty(exports, "ASP_TREE_DEPTH", {
|
|
264
|
+
enumerable: true,
|
|
265
|
+
get: function () { return chunkSQKBT2SH_cjs.ASP_TREE_DEPTH; }
|
|
266
|
+
});
|
|
267
|
+
Object.defineProperty(exports, "STATE_TREE_DEPTH", {
|
|
268
|
+
enumerable: true,
|
|
269
|
+
get: function () { return chunkSQKBT2SH_cjs.STATE_TREE_DEPTH; }
|
|
270
|
+
});
|
|
271
|
+
Object.defineProperty(exports, "formatProofForContract", {
|
|
272
|
+
enumerable: true,
|
|
273
|
+
get: function () { return chunkSQKBT2SH_cjs.formatProofForContract; }
|
|
274
|
+
});
|
|
275
|
+
Object.defineProperty(exports, "generateProof", {
|
|
276
|
+
enumerable: true,
|
|
277
|
+
get: function () { return chunkSQKBT2SH_cjs.generateProof; }
|
|
278
|
+
});
|
|
279
|
+
Object.defineProperty(exports, "generateStealthProof", {
|
|
280
|
+
enumerable: true,
|
|
281
|
+
get: function () { return chunkSQKBT2SH_cjs.generateStealthProof; }
|
|
282
|
+
});
|
|
283
|
+
Object.defineProperty(exports, "generateUPPProof", {
|
|
284
|
+
enumerable: true,
|
|
285
|
+
get: function () { return chunkSQKBT2SH_cjs.generateUPPProof; }
|
|
286
|
+
});
|
|
287
|
+
Object.defineProperty(exports, "getStealthCircuitArtifacts", {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
get: function () { return chunkSQKBT2SH_cjs.getStealthCircuitArtifacts; }
|
|
290
|
+
});
|
|
291
|
+
Object.defineProperty(exports, "getUPPCircuitArtifacts", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () { return chunkSQKBT2SH_cjs.getUPPCircuitArtifacts; }
|
|
294
|
+
});
|
|
295
|
+
Object.defineProperty(exports, "verifyProof", {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function () { return chunkSQKBT2SH_cjs.verifyProof; }
|
|
298
|
+
});
|
|
299
|
+
//# sourceMappingURL=index.cjs.map
|
|
300
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, T 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, U as UPPClient, t as UPPClientConfig, u as computeNoteEncryptionKey, v as createNote, w as createOneTimeKeys, x as createUPPClient, y as decodeStarkStealthAddress, z as decodeStealthAddress, B as decryptNote, E as detectAddressType, F as encodeStarkStealthAddress, G as encodeStealthAddress, H as encryptNote, J as generateStarkStealthAddress, K as generateStealthAddress, M as isValidStarkStealthAddress, O as isValidStealthAddress, Q as verifyOwnership } from '../index-C-jSNw6j.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 STARK_AMOUNT_SCALE, l as STATE_TREE_DEPTH, m as SWAP_EVENTS_ABI, n as SWAP_ORDER_CANCELLED_EVENT, o as SWAP_ORDER_CLAIMED_EVENT, p as SWAP_ORDER_FILLED_EVENT, q as SWAP_ORDER_PLACED_EVENT, r as ShieldParams, s as SpendableNote, t as StarkNote, u as StarkProof, v as StarkStealthMetaAddress, w as Stealth1x2CircuitInputs, x as Stealth2x2CircuitInputs, y as StealthAddress, z as StealthCircuitInputs, B as StealthCircuitType, F as StealthMetaAddress, G as SwapFillEvent, H as SwapFillParams, I as SwapOrder, J as SwapOrderEvent, K as SwapOrderParams, T as TransferBuildResult, L as TransferContext, O as TransferParams, Q as TransferStage, U as UPPCircuitInputs, V as UPPCircuitType, W as UPPTransferCircuitInputs, X as UPPWithdrawCircuitInputs, Y as WithdrawParams, Z as buildASPTree, _ as buildTransfer, $ as buildUPPTransferCircuitInputs, a0 as computeCancelKeyHash, a1 as computeFillPercentage, a2 as computeGiveAmount, a3 as computeMultiOriginASPRoot, a4 as computeNullifier, a5 as computeRate, a6 as computeSingleOriginASPRoot, a7 as computeTakeAmount, a8 as computeTotalBuyAmount, a9 as createDemoASPRoot, aa as filterOrdersByASP, ab as filterOrdersByTokenPair, ac as formatOutputForContract, ad as formatProofForContract, ae as formatRate, af as generateASPProof, ag as generateCancelSecret, ah as generateMultiOriginASPProof, ai as generateProof, aj as generateSingleOriginASPProof, ak as generateStealthProof, al as generateUPPProof, am as getCancelSecret, an as getMerkleProofsForNotes, ao as getOwnOrderIds, ap as getStealthCircuitArtifacts, aq as getUPPCircuitArtifacts, ar as isFillerASPAccepted, as as isOrderActive, at as removeCancelSecret, au as storeCancelSecret, av as syncMerkleTree, aw as verifyASPProof, ax as verifyProof } from '../transfer-DKZuJnRM.cjs';
|
|
3
|
+
import 'viem';
|
|
4
|
+
import '../types-CJSbxv4q.cjs';
|
|
5
|
+
import '../keccak-m31-B_AqBbRF.cjs';
|
|
6
|
+
import '../merkle-mteVOlDf.cjs';
|
|
7
|
+
import '@permissionless-technologies/upc-sdk';
|
|
8
|
+
import 'react/jsx-runtime';
|
|
9
|
+
import 'react';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { A as ADDRESS_VERSION, k as ASPMembershipProof, D as DirectAccountAdapter, l as IASPProvider, m as IAccountAdapter, n as INoteStore, T 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, U as UPPClient, t as UPPClientConfig, u as computeNoteEncryptionKey, v as createNote, w as createOneTimeKeys, x as createUPPClient, y as decodeStarkStealthAddress, z as decodeStealthAddress, B as decryptNote, E as detectAddressType, F as encodeStarkStealthAddress, G as encodeStealthAddress, H as encryptNote, J as generateStarkStealthAddress, K as generateStealthAddress, M as isValidStarkStealthAddress, O as isValidStealthAddress, Q as verifyOwnership } from '../index-BBzvvrhG.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 STARK_AMOUNT_SCALE, l as STATE_TREE_DEPTH, m as SWAP_EVENTS_ABI, n as SWAP_ORDER_CANCELLED_EVENT, o as SWAP_ORDER_CLAIMED_EVENT, p as SWAP_ORDER_FILLED_EVENT, q as SWAP_ORDER_PLACED_EVENT, r as ShieldParams, s as SpendableNote, t as StarkNote, u as StarkProof, v as StarkStealthMetaAddress, w as Stealth1x2CircuitInputs, x as Stealth2x2CircuitInputs, y as StealthAddress, z as StealthCircuitInputs, B as StealthCircuitType, F as StealthMetaAddress, G as SwapFillEvent, H as SwapFillParams, I as SwapOrder, J as SwapOrderEvent, K as SwapOrderParams, T as TransferBuildResult, L as TransferContext, O as TransferParams, Q as TransferStage, U as UPPCircuitInputs, V as UPPCircuitType, W as UPPTransferCircuitInputs, X as UPPWithdrawCircuitInputs, Y as WithdrawParams, Z as buildASPTree, _ as buildTransfer, $ as buildUPPTransferCircuitInputs, a0 as computeCancelKeyHash, a1 as computeFillPercentage, a2 as computeGiveAmount, a3 as computeMultiOriginASPRoot, a4 as computeNullifier, a5 as computeRate, a6 as computeSingleOriginASPRoot, a7 as computeTakeAmount, a8 as computeTotalBuyAmount, a9 as createDemoASPRoot, aa as filterOrdersByASP, ab as filterOrdersByTokenPair, ac as formatOutputForContract, ad as formatProofForContract, ae as formatRate, af as generateASPProof, ag as generateCancelSecret, ah as generateMultiOriginASPProof, ai as generateProof, aj as generateSingleOriginASPProof, ak as generateStealthProof, al as generateUPPProof, am as getCancelSecret, an as getMerkleProofsForNotes, ao as getOwnOrderIds, ap as getStealthCircuitArtifacts, aq as getUPPCircuitArtifacts, ar as isFillerASPAccepted, as as isOrderActive, at as removeCancelSecret, au as storeCancelSecret, av as syncMerkleTree, aw as verifyASPProof, ax as verifyProof } from '../transfer-BlmbO-Rd.js';
|
|
3
|
+
import 'viem';
|
|
4
|
+
import '../types-mLybMxNR.js';
|
|
5
|
+
import '../keccak-m31-B_AqBbRF.js';
|
|
6
|
+
import '../merkle-mteVOlDf.js';
|
|
7
|
+
import '@permissionless-technologies/upc-sdk';
|
|
8
|
+
import 'react/jsx-runtime';
|
|
9
|
+
import 'react';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { DirectAccountAdapter, NOTE_VERSION, STARK_AMOUNT_SCALE, createNote, createUPPClient, decryptNote, encryptNote } from '../chunk-SGZZL5AC.js';
|
|
2
|
+
export { buildTransfer, buildUPPTransferCircuitInputs, computeNullifier, formatOutputForContract, getMerkleProofsForNotes, syncMerkleTree } from '../chunk-PWHOUQOZ.js';
|
|
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-NUIQHTSA.js';
|
|
4
|
+
export { DEMO_ASP_ID, DEMO_ASP_NAME, buildASPTree, computeMultiOriginASPRoot, computeSingleOriginASPRoot, createDemoASPRoot, generateASPProof, generateMultiOriginASPProof, generateSingleOriginASPProof, verifyASPProof } from '../chunk-P37MRZ73.js';
|
|
5
|
+
import '../chunk-ZU6J7KMY.js';
|
|
6
|
+
import '../chunk-W77GRBO4.js';
|
|
7
|
+
import '../chunk-V23OSL25.js';
|
|
8
|
+
export { ASP_TREE_DEPTH, STATE_TREE_DEPTH, formatProofForContract, generateProof, generateStealthProof, generateUPPProof, getStealthCircuitArtifacts, getUPPCircuitArtifacts, verifyProof } from '../chunk-S4B7GYLN.js';
|
|
9
|
+
import '../chunk-Z6ZWNWWR.js';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|