@permissionless-technologies/upp-sdk 0.4.23 → 0.5.1
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-53JACDGZ.js +131 -0
- package/dist/chunk-53JACDGZ.js.map +1 -0
- package/dist/{chunk-TVF6FYTQ.js → chunk-DD4NT4D7.js} +79 -40
- package/dist/chunk-DD4NT4D7.js.map +1 -0
- package/dist/{chunk-UWW4GFZ3.cjs → chunk-DKJNSLBS.cjs} +2 -2
- package/dist/{chunk-UWW4GFZ3.cjs.map → chunk-DKJNSLBS.cjs.map} +1 -1
- package/dist/chunk-HB43C26P.cjs +139 -0
- package/dist/chunk-HB43C26P.cjs.map +1 -0
- package/dist/{chunk-5MK5R7M7.cjs → chunk-O2SKZZAP.cjs} +79 -40
- package/dist/chunk-O2SKZZAP.cjs.map +1 -0
- package/dist/{chunk-R4O6FOIN.js → chunk-V2KDYF5A.js} +2 -2
- package/dist/{chunk-R4O6FOIN.js.map → chunk-V2KDYF5A.js.map} +1 -1
- package/dist/core/index.cjs +21 -13
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/{index-CpfUNGm9.d.ts → index-BRgBwiBM.d.ts} +179 -2
- package/dist/{index-hNuffoCo.d.cts → index-BuUCObcz.d.cts} +1167 -714
- package/dist/{index-De5B4r0l.d.ts → index-C7OdmKfs.d.ts} +1167 -714
- package/dist/{index-AooYZ0kF.d.cts → index-brLSTa0y.d.cts} +179 -2
- package/dist/index.cjs +1489 -767
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1464 -747
- package/dist/index.js.map +1 -1
- package/dist/indexer/index.cjs +6 -6
- package/dist/indexer/index.d.cts +5 -5
- package/dist/indexer/index.d.ts +5 -5
- package/dist/indexer/index.js +1 -1
- package/dist/react/index.cjs +30 -28
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +8 -4
- package/dist/react/index.d.ts +8 -4
- package/dist/react/index.js +30 -28
- package/dist/react/index.js.map +1 -1
- package/dist/{transfer-BGzySIhC.d.ts → transfer-BxiDgCvx.d.ts} +2 -0
- package/dist/{transfer-RA7R3KQY.js → transfer-CKA4PU2C.js} +3 -3
- package/dist/{transfer-RA7R3KQY.js.map → transfer-CKA4PU2C.js.map} +1 -1
- package/dist/{transfer-M3PKP4PY.cjs → transfer-QFTVCREE.cjs} +9 -9
- package/dist/{transfer-M3PKP4PY.cjs.map → transfer-QFTVCREE.cjs.map} +1 -1
- package/dist/{transfer-BhB-UuBP.d.cts → transfer-p-NXHdGY.d.cts} +2 -0
- package/package.json +3 -4
- package/src/contracts/interfaces/IUniversalPrivatePool.sol +52 -93
- package/src/deployments/11155111.json +29 -17
- package/src/deployments/31337.json +28 -14
- package/dist/chunk-5MK5R7M7.cjs.map +0 -1
- package/dist/chunk-632LPXPX.cjs +0 -49
- package/dist/chunk-632LPXPX.cjs.map +0 -1
- package/dist/chunk-TVF6FYTQ.js.map +0 -1
- package/dist/chunk-UMWY4ICQ.js +0 -43
- package/dist/chunk-UMWY4ICQ.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkHB43C26P_cjs = require('./chunk-HB43C26P.cjs');
|
|
4
|
+
var chunkO2SKZZAP_cjs = require('./chunk-O2SKZZAP.cjs');
|
|
5
5
|
var chunkIX7HV5TE_cjs = require('./chunk-IX7HV5TE.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkDKJNSLBS_cjs = require('./chunk-DKJNSLBS.cjs');
|
|
7
7
|
var chunk7BNJV2ZS_cjs = require('./chunk-7BNJV2ZS.cjs');
|
|
8
8
|
var chunkIYRCJAME_cjs = require('./chunk-IYRCJAME.cjs');
|
|
9
9
|
var chunkXVIICZKW_cjs = require('./chunk-XVIICZKW.cjs');
|
|
@@ -16,50 +16,39 @@ var chunkU3YFYMWF_cjs = require('./chunk-U3YFYMWF.cjs');
|
|
|
16
16
|
var chunkUFEDJJSH_cjs = require('./chunk-UFEDJJSH.cjs');
|
|
17
17
|
var chunkHEHXSV47_cjs = require('./chunk-HEHXSV47.cjs');
|
|
18
18
|
require('./chunk-G7VZBCD6.cjs');
|
|
19
|
-
var upcSdk = require('@permissionless-technologies/upc-sdk');
|
|
20
19
|
|
|
21
20
|
// src/contracts/abi/UniversalPrivatePool.ts
|
|
22
21
|
var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
23
22
|
{
|
|
24
23
|
"type": "constructor",
|
|
25
|
-
"inputs": [
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"type": "address",
|
|
34
|
-
"internalType": "address"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "_mergeVerifier",
|
|
38
|
-
"type": "address",
|
|
39
|
-
"internalType": "address"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "_withdrawVerifier",
|
|
43
|
-
"type": "address",
|
|
44
|
-
"internalType": "address"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "_joinSplitVerifier",
|
|
48
|
-
"type": "address",
|
|
49
|
-
"internalType": "address"
|
|
50
|
-
},
|
|
24
|
+
"inputs": [],
|
|
25
|
+
"stateMutability": "nonpayable"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "function",
|
|
29
|
+
"name": "ADMIN_ROLE",
|
|
30
|
+
"inputs": [],
|
|
31
|
+
"outputs": [
|
|
51
32
|
{
|
|
52
|
-
"name": "
|
|
53
|
-
"type": "
|
|
54
|
-
"internalType": "
|
|
55
|
-
}
|
|
33
|
+
"name": "",
|
|
34
|
+
"type": "bytes32",
|
|
35
|
+
"internalType": "bytes32"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"stateMutability": "view"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "function",
|
|
42
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
43
|
+
"inputs": [],
|
|
44
|
+
"outputs": [
|
|
56
45
|
{
|
|
57
|
-
"name": "
|
|
58
|
-
"type": "
|
|
59
|
-
"internalType": "
|
|
46
|
+
"name": "",
|
|
47
|
+
"type": "bytes32",
|
|
48
|
+
"internalType": "bytes32"
|
|
60
49
|
}
|
|
61
50
|
],
|
|
62
|
-
"stateMutability": "
|
|
51
|
+
"stateMutability": "view"
|
|
63
52
|
},
|
|
64
53
|
{
|
|
65
54
|
"type": "function",
|
|
@@ -74,6 +63,19 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
74
63
|
],
|
|
75
64
|
"stateMutability": "view"
|
|
76
65
|
},
|
|
66
|
+
{
|
|
67
|
+
"type": "function",
|
|
68
|
+
"name": "MODULE_ROLE",
|
|
69
|
+
"inputs": [],
|
|
70
|
+
"outputs": [
|
|
71
|
+
{
|
|
72
|
+
"name": "",
|
|
73
|
+
"type": "bytes32",
|
|
74
|
+
"internalType": "bytes32"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"stateMutability": "view"
|
|
78
|
+
},
|
|
77
79
|
{
|
|
78
80
|
"type": "function",
|
|
79
81
|
"name": "ROOT_HISTORY_SIZE",
|
|
@@ -100,6 +102,45 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
100
102
|
],
|
|
101
103
|
"stateMutability": "view"
|
|
102
104
|
},
|
|
105
|
+
{
|
|
106
|
+
"type": "function",
|
|
107
|
+
"name": "UPGRADER_ROLE",
|
|
108
|
+
"inputs": [],
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"name": "",
|
|
112
|
+
"type": "bytes32",
|
|
113
|
+
"internalType": "bytes32"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"stateMutability": "view"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "function",
|
|
120
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
121
|
+
"inputs": [],
|
|
122
|
+
"outputs": [
|
|
123
|
+
{
|
|
124
|
+
"name": "",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"internalType": "string"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"stateMutability": "view"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "function",
|
|
133
|
+
"name": "addSupportedToken",
|
|
134
|
+
"inputs": [
|
|
135
|
+
{
|
|
136
|
+
"name": "token",
|
|
137
|
+
"type": "address",
|
|
138
|
+
"internalType": "address"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"outputs": [],
|
|
142
|
+
"stateMutability": "nonpayable"
|
|
143
|
+
},
|
|
103
144
|
{
|
|
104
145
|
"type": "function",
|
|
105
146
|
"name": "aspHub",
|
|
@@ -165,6 +206,25 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
165
206
|
],
|
|
166
207
|
"stateMutability": "view"
|
|
167
208
|
},
|
|
209
|
+
{
|
|
210
|
+
"type": "function",
|
|
211
|
+
"name": "getRoleAdmin",
|
|
212
|
+
"inputs": [
|
|
213
|
+
{
|
|
214
|
+
"name": "role",
|
|
215
|
+
"type": "bytes32",
|
|
216
|
+
"internalType": "bytes32"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"outputs": [
|
|
220
|
+
{
|
|
221
|
+
"name": "",
|
|
222
|
+
"type": "bytes32",
|
|
223
|
+
"internalType": "bytes32"
|
|
224
|
+
}
|
|
225
|
+
],
|
|
226
|
+
"stateMutability": "view"
|
|
227
|
+
},
|
|
168
228
|
{
|
|
169
229
|
"type": "function",
|
|
170
230
|
"name": "getStarkMerkleRoot",
|
|
@@ -191,6 +251,24 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
191
251
|
],
|
|
192
252
|
"stateMutability": "view"
|
|
193
253
|
},
|
|
254
|
+
{
|
|
255
|
+
"type": "function",
|
|
256
|
+
"name": "grantRole",
|
|
257
|
+
"inputs": [
|
|
258
|
+
{
|
|
259
|
+
"name": "role",
|
|
260
|
+
"type": "bytes32",
|
|
261
|
+
"internalType": "bytes32"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "account",
|
|
265
|
+
"type": "address",
|
|
266
|
+
"internalType": "address"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"outputs": [],
|
|
270
|
+
"stateMutability": "nonpayable"
|
|
271
|
+
},
|
|
194
272
|
{
|
|
195
273
|
"type": "function",
|
|
196
274
|
"name": "hasCommitment",
|
|
@@ -210,6 +288,30 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
210
288
|
],
|
|
211
289
|
"stateMutability": "view"
|
|
212
290
|
},
|
|
291
|
+
{
|
|
292
|
+
"type": "function",
|
|
293
|
+
"name": "hasRole",
|
|
294
|
+
"inputs": [
|
|
295
|
+
{
|
|
296
|
+
"name": "role",
|
|
297
|
+
"type": "bytes32",
|
|
298
|
+
"internalType": "bytes32"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"name": "account",
|
|
302
|
+
"type": "address",
|
|
303
|
+
"internalType": "address"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"outputs": [
|
|
307
|
+
{
|
|
308
|
+
"name": "",
|
|
309
|
+
"type": "bool",
|
|
310
|
+
"internalType": "bool"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"stateMutability": "view"
|
|
314
|
+
},
|
|
213
315
|
{
|
|
214
316
|
"type": "function",
|
|
215
317
|
"name": "initStarkTree",
|
|
@@ -223,6 +325,73 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
223
325
|
"outputs": [],
|
|
224
326
|
"stateMutability": "nonpayable"
|
|
225
327
|
},
|
|
328
|
+
{
|
|
329
|
+
"type": "function",
|
|
330
|
+
"name": "initialize",
|
|
331
|
+
"inputs": [
|
|
332
|
+
{
|
|
333
|
+
"name": "_admin",
|
|
334
|
+
"type": "address",
|
|
335
|
+
"internalType": "address"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "_aspHub",
|
|
339
|
+
"type": "address",
|
|
340
|
+
"internalType": "address"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "_transferVerifier",
|
|
344
|
+
"type": "address",
|
|
345
|
+
"internalType": "address"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "_mergeVerifier",
|
|
349
|
+
"type": "address",
|
|
350
|
+
"internalType": "address"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "_withdrawVerifier",
|
|
354
|
+
"type": "address",
|
|
355
|
+
"internalType": "address"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "_joinSplitVerifier",
|
|
359
|
+
"type": "address",
|
|
360
|
+
"internalType": "address"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "_mergeTransfer2x2Verifier",
|
|
364
|
+
"type": "address",
|
|
365
|
+
"internalType": "address"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "_mergeTransfer4x2Verifier",
|
|
369
|
+
"type": "address",
|
|
370
|
+
"internalType": "address"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"outputs": [],
|
|
374
|
+
"stateMutability": "nonpayable"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"type": "function",
|
|
378
|
+
"name": "insertLeafForModule",
|
|
379
|
+
"inputs": [
|
|
380
|
+
{
|
|
381
|
+
"name": "leaf",
|
|
382
|
+
"type": "uint256",
|
|
383
|
+
"internalType": "uint256"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"outputs": [
|
|
387
|
+
{
|
|
388
|
+
"name": "",
|
|
389
|
+
"type": "uint256",
|
|
390
|
+
"internalType": "uint256"
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"stateMutability": "nonpayable"
|
|
394
|
+
},
|
|
226
395
|
{
|
|
227
396
|
"type": "function",
|
|
228
397
|
"name": "isKnownRoot",
|
|
@@ -409,6 +578,19 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
409
578
|
],
|
|
410
579
|
"stateMutability": "view"
|
|
411
580
|
},
|
|
581
|
+
{
|
|
582
|
+
"type": "function",
|
|
583
|
+
"name": "markNullifierForModule",
|
|
584
|
+
"inputs": [
|
|
585
|
+
{
|
|
586
|
+
"name": "nullifier",
|
|
587
|
+
"type": "bytes32",
|
|
588
|
+
"internalType": "bytes32"
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"outputs": [],
|
|
592
|
+
"stateMutability": "nonpayable"
|
|
593
|
+
},
|
|
412
594
|
{
|
|
413
595
|
"type": "function",
|
|
414
596
|
"name": "merge",
|
|
@@ -901,29 +1083,23 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
901
1083
|
},
|
|
902
1084
|
{
|
|
903
1085
|
"type": "function",
|
|
904
|
-
"name": "
|
|
905
|
-
"inputs": [
|
|
906
|
-
{
|
|
907
|
-
"name": "",
|
|
908
|
-
"type": "uint256",
|
|
909
|
-
"internalType": "uint256"
|
|
910
|
-
}
|
|
911
|
-
],
|
|
1086
|
+
"name": "proxiableUUID",
|
|
1087
|
+
"inputs": [],
|
|
912
1088
|
"outputs": [
|
|
913
1089
|
{
|
|
914
1090
|
"name": "",
|
|
915
|
-
"type": "
|
|
916
|
-
"internalType": "
|
|
1091
|
+
"type": "bytes32",
|
|
1092
|
+
"internalType": "bytes32"
|
|
917
1093
|
}
|
|
918
1094
|
],
|
|
919
1095
|
"stateMutability": "view"
|
|
920
1096
|
},
|
|
921
1097
|
{
|
|
922
1098
|
"type": "function",
|
|
923
|
-
"name": "
|
|
1099
|
+
"name": "removeSupportedToken",
|
|
924
1100
|
"inputs": [
|
|
925
1101
|
{
|
|
926
|
-
"name": "
|
|
1102
|
+
"name": "token",
|
|
927
1103
|
"type": "address",
|
|
928
1104
|
"internalType": "address"
|
|
929
1105
|
}
|
|
@@ -933,10 +1109,91 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
933
1109
|
},
|
|
934
1110
|
{
|
|
935
1111
|
"type": "function",
|
|
936
|
-
"name": "
|
|
1112
|
+
"name": "renounceRole",
|
|
937
1113
|
"inputs": [
|
|
938
1114
|
{
|
|
939
|
-
"name": "
|
|
1115
|
+
"name": "role",
|
|
1116
|
+
"type": "bytes32",
|
|
1117
|
+
"internalType": "bytes32"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "callerConfirmation",
|
|
1121
|
+
"type": "address",
|
|
1122
|
+
"internalType": "address"
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"outputs": [],
|
|
1126
|
+
"stateMutability": "nonpayable"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"type": "function",
|
|
1130
|
+
"name": "revokeRole",
|
|
1131
|
+
"inputs": [
|
|
1132
|
+
{
|
|
1133
|
+
"name": "role",
|
|
1134
|
+
"type": "bytes32",
|
|
1135
|
+
"internalType": "bytes32"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"name": "account",
|
|
1139
|
+
"type": "address",
|
|
1140
|
+
"internalType": "address"
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"outputs": [],
|
|
1144
|
+
"stateMutability": "nonpayable"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"type": "function",
|
|
1148
|
+
"name": "roots",
|
|
1149
|
+
"inputs": [
|
|
1150
|
+
{
|
|
1151
|
+
"name": "",
|
|
1152
|
+
"type": "uint256",
|
|
1153
|
+
"internalType": "uint256"
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"outputs": [
|
|
1157
|
+
{
|
|
1158
|
+
"name": "",
|
|
1159
|
+
"type": "uint256",
|
|
1160
|
+
"internalType": "uint256"
|
|
1161
|
+
}
|
|
1162
|
+
],
|
|
1163
|
+
"stateMutability": "view"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"type": "function",
|
|
1167
|
+
"name": "setPermissionlessTokens",
|
|
1168
|
+
"inputs": [
|
|
1169
|
+
{
|
|
1170
|
+
"name": "_permissionless",
|
|
1171
|
+
"type": "bool",
|
|
1172
|
+
"internalType": "bool"
|
|
1173
|
+
}
|
|
1174
|
+
],
|
|
1175
|
+
"outputs": [],
|
|
1176
|
+
"stateMutability": "nonpayable"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"type": "function",
|
|
1180
|
+
"name": "setStarkTransferVerifier",
|
|
1181
|
+
"inputs": [
|
|
1182
|
+
{
|
|
1183
|
+
"name": "_verifier",
|
|
1184
|
+
"type": "address",
|
|
1185
|
+
"internalType": "address"
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"outputs": [],
|
|
1189
|
+
"stateMutability": "nonpayable"
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"type": "function",
|
|
1193
|
+
"name": "setStarkWithdrawVerifier",
|
|
1194
|
+
"inputs": [
|
|
1195
|
+
{
|
|
1196
|
+
"name": "_verifier",
|
|
940
1197
|
"type": "address",
|
|
941
1198
|
"internalType": "address"
|
|
942
1199
|
}
|
|
@@ -1173,79 +1430,27 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
1173
1430
|
},
|
|
1174
1431
|
{
|
|
1175
1432
|
"type": "function",
|
|
1176
|
-
"name": "
|
|
1433
|
+
"name": "supportsInterface",
|
|
1177
1434
|
"inputs": [
|
|
1178
1435
|
{
|
|
1179
|
-
"name": "
|
|
1180
|
-
"type": "
|
|
1181
|
-
"internalType": "
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"name": "cancelSecret",
|
|
1185
|
-
"type": "bytes32",
|
|
1186
|
-
"internalType": "bytes32"
|
|
1187
|
-
},
|
|
1188
|
-
{
|
|
1189
|
-
"name": "refundCommitment",
|
|
1190
|
-
"type": "bytes32",
|
|
1191
|
-
"internalType": "bytes32"
|
|
1192
|
-
},
|
|
1193
|
-
{
|
|
1194
|
-
"name": "encryptedRefundNote",
|
|
1195
|
-
"type": "bytes",
|
|
1196
|
-
"internalType": "bytes"
|
|
1436
|
+
"name": "interfaceId",
|
|
1437
|
+
"type": "bytes4",
|
|
1438
|
+
"internalType": "bytes4"
|
|
1197
1439
|
}
|
|
1198
1440
|
],
|
|
1199
|
-
"outputs": [
|
|
1200
|
-
"stateMutability": "nonpayable"
|
|
1201
|
-
},
|
|
1202
|
-
{
|
|
1203
|
-
"type": "function",
|
|
1204
|
-
"name": "swapClaim",
|
|
1205
|
-
"inputs": [
|
|
1206
|
-
{
|
|
1207
|
-
"name": "orderId",
|
|
1208
|
-
"type": "bytes32",
|
|
1209
|
-
"internalType": "bytes32"
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
"name": "cancelSecret",
|
|
1213
|
-
"type": "bytes32",
|
|
1214
|
-
"internalType": "bytes32"
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"name": "buyOutputCommitment",
|
|
1218
|
-
"type": "bytes32",
|
|
1219
|
-
"internalType": "bytes32"
|
|
1220
|
-
},
|
|
1221
|
-
{
|
|
1222
|
-
"name": "encryptedBuyNote",
|
|
1223
|
-
"type": "bytes",
|
|
1224
|
-
"internalType": "bytes"
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
"name": "refundCommitment",
|
|
1228
|
-
"type": "bytes32",
|
|
1229
|
-
"internalType": "bytes32"
|
|
1230
|
-
},
|
|
1441
|
+
"outputs": [
|
|
1231
1442
|
{
|
|
1232
|
-
"name": "
|
|
1233
|
-
"type": "
|
|
1234
|
-
"internalType": "
|
|
1443
|
+
"name": "",
|
|
1444
|
+
"type": "bool",
|
|
1445
|
+
"internalType": "bool"
|
|
1235
1446
|
}
|
|
1236
1447
|
],
|
|
1237
|
-
"
|
|
1238
|
-
"stateMutability": "nonpayable"
|
|
1448
|
+
"stateMutability": "view"
|
|
1239
1449
|
},
|
|
1240
1450
|
{
|
|
1241
1451
|
"type": "function",
|
|
1242
|
-
"name": "
|
|
1452
|
+
"name": "transfer",
|
|
1243
1453
|
"inputs": [
|
|
1244
|
-
{
|
|
1245
|
-
"name": "orderId",
|
|
1246
|
-
"type": "bytes32",
|
|
1247
|
-
"internalType": "bytes32"
|
|
1248
|
-
},
|
|
1249
1454
|
{
|
|
1250
1455
|
"name": "proof",
|
|
1251
1456
|
"type": "tuple",
|
|
@@ -1344,22 +1549,80 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
1344
1549
|
"internalType": "uint256"
|
|
1345
1550
|
},
|
|
1346
1551
|
{
|
|
1347
|
-
"name": "
|
|
1552
|
+
"name": "token",
|
|
1553
|
+
"type": "address",
|
|
1554
|
+
"internalType": "address"
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "outputCommitment1",
|
|
1558
|
+
"type": "bytes32",
|
|
1559
|
+
"internalType": "bytes32"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "outputCommitment2",
|
|
1563
|
+
"type": "bytes32",
|
|
1564
|
+
"internalType": "bytes32"
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"name": "encryptedNote1",
|
|
1568
|
+
"type": "bytes",
|
|
1569
|
+
"internalType": "bytes"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "encryptedNote2",
|
|
1573
|
+
"type": "bytes",
|
|
1574
|
+
"internalType": "bytes"
|
|
1575
|
+
}
|
|
1576
|
+
],
|
|
1577
|
+
"outputs": [],
|
|
1578
|
+
"stateMutability": "nonpayable"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"type": "function",
|
|
1582
|
+
"name": "transferSTARK",
|
|
1583
|
+
"inputs": [
|
|
1584
|
+
{
|
|
1585
|
+
"name": "proof",
|
|
1586
|
+
"type": "bytes",
|
|
1587
|
+
"internalType": "bytes"
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
"name": "nullifier",
|
|
1591
|
+
"type": "bytes32",
|
|
1592
|
+
"internalType": "bytes32"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"name": "stateRoot",
|
|
1348
1596
|
"type": "uint256",
|
|
1349
1597
|
"internalType": "uint256"
|
|
1350
1598
|
},
|
|
1351
1599
|
{
|
|
1352
|
-
"name": "
|
|
1600
|
+
"name": "aspRoot",
|
|
1353
1601
|
"type": "uint256",
|
|
1354
1602
|
"internalType": "uint256"
|
|
1355
1603
|
},
|
|
1356
1604
|
{
|
|
1357
|
-
"name": "
|
|
1605
|
+
"name": "token",
|
|
1606
|
+
"type": "address",
|
|
1607
|
+
"internalType": "address"
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"name": "outputCommitment1",
|
|
1611
|
+
"type": "bytes32",
|
|
1612
|
+
"internalType": "bytes32"
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"name": "outputCommitment2",
|
|
1358
1616
|
"type": "bytes32",
|
|
1359
1617
|
"internalType": "bytes32"
|
|
1360
1618
|
},
|
|
1361
1619
|
{
|
|
1362
|
-
"name": "
|
|
1620
|
+
"name": "encryptedNote1",
|
|
1621
|
+
"type": "bytes",
|
|
1622
|
+
"internalType": "bytes"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "encryptedNote2",
|
|
1363
1626
|
"type": "bytes",
|
|
1364
1627
|
"internalType": "bytes"
|
|
1365
1628
|
}
|
|
@@ -1369,7 +1632,38 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
1369
1632
|
},
|
|
1370
1633
|
{
|
|
1371
1634
|
"type": "function",
|
|
1372
|
-
"name": "
|
|
1635
|
+
"name": "transferVerifier",
|
|
1636
|
+
"inputs": [],
|
|
1637
|
+
"outputs": [
|
|
1638
|
+
{
|
|
1639
|
+
"name": "",
|
|
1640
|
+
"type": "address",
|
|
1641
|
+
"internalType": "contract IUPPVerifier"
|
|
1642
|
+
}
|
|
1643
|
+
],
|
|
1644
|
+
"stateMutability": "view"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"type": "function",
|
|
1648
|
+
"name": "upgradeToAndCall",
|
|
1649
|
+
"inputs": [
|
|
1650
|
+
{
|
|
1651
|
+
"name": "newImplementation",
|
|
1652
|
+
"type": "address",
|
|
1653
|
+
"internalType": "address"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"name": "data",
|
|
1657
|
+
"type": "bytes",
|
|
1658
|
+
"internalType": "bytes"
|
|
1659
|
+
}
|
|
1660
|
+
],
|
|
1661
|
+
"outputs": [],
|
|
1662
|
+
"stateMutability": "payable"
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"type": "function",
|
|
1666
|
+
"name": "withdraw",
|
|
1373
1667
|
"inputs": [
|
|
1374
1668
|
{
|
|
1375
1669
|
"name": "proof",
|
|
@@ -1474,39 +1768,24 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
1474
1768
|
"internalType": "uint256"
|
|
1475
1769
|
},
|
|
1476
1770
|
{
|
|
1477
|
-
"name": "
|
|
1771
|
+
"name": "token",
|
|
1478
1772
|
"type": "address",
|
|
1479
1773
|
"internalType": "address"
|
|
1480
1774
|
},
|
|
1481
1775
|
{
|
|
1482
|
-
"name": "
|
|
1776
|
+
"name": "amount",
|
|
1483
1777
|
"type": "uint256",
|
|
1484
1778
|
"internalType": "uint256"
|
|
1485
1779
|
},
|
|
1486
1780
|
{
|
|
1487
|
-
"name": "
|
|
1781
|
+
"name": "recipient",
|
|
1488
1782
|
"type": "address",
|
|
1489
1783
|
"internalType": "address"
|
|
1490
1784
|
},
|
|
1491
1785
|
{
|
|
1492
|
-
"name": "
|
|
1493
|
-
"type": "
|
|
1494
|
-
"internalType": "
|
|
1495
|
-
},
|
|
1496
|
-
{
|
|
1497
|
-
"name": "requiredFillerAspId",
|
|
1498
|
-
"type": "uint256",
|
|
1499
|
-
"internalType": "uint256"
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"name": "cancelKeyHash",
|
|
1503
|
-
"type": "bytes32",
|
|
1504
|
-
"internalType": "bytes32"
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
"name": "expiry",
|
|
1508
|
-
"type": "uint256",
|
|
1509
|
-
"internalType": "uint256"
|
|
1786
|
+
"name": "isRagequit",
|
|
1787
|
+
"type": "bool",
|
|
1788
|
+
"internalType": "bool"
|
|
1510
1789
|
}
|
|
1511
1790
|
],
|
|
1512
1791
|
"outputs": [],
|
|
@@ -1514,980 +1793,1418 @@ var UNIVERSAL_PRIVATE_POOL_ABI = [
|
|
|
1514
1793
|
},
|
|
1515
1794
|
{
|
|
1516
1795
|
"type": "function",
|
|
1517
|
-
"name": "
|
|
1796
|
+
"name": "withdrawSTARK",
|
|
1518
1797
|
"inputs": [
|
|
1519
1798
|
{
|
|
1520
|
-
"name": "",
|
|
1799
|
+
"name": "proof",
|
|
1800
|
+
"type": "bytes",
|
|
1801
|
+
"internalType": "bytes"
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"name": "nullifier",
|
|
1521
1805
|
"type": "bytes32",
|
|
1522
1806
|
"internalType": "bytes32"
|
|
1523
|
-
}
|
|
1524
|
-
],
|
|
1525
|
-
"outputs": [
|
|
1526
|
-
{
|
|
1527
|
-
"name": "sellToken",
|
|
1528
|
-
"type": "address",
|
|
1529
|
-
"internalType": "address"
|
|
1530
1807
|
},
|
|
1531
1808
|
{
|
|
1532
|
-
"name": "
|
|
1809
|
+
"name": "stateRoot",
|
|
1533
1810
|
"type": "uint256",
|
|
1534
1811
|
"internalType": "uint256"
|
|
1535
1812
|
},
|
|
1536
1813
|
{
|
|
1537
|
-
"name": "
|
|
1814
|
+
"name": "aspRoot",
|
|
1538
1815
|
"type": "uint256",
|
|
1539
1816
|
"internalType": "uint256"
|
|
1540
1817
|
},
|
|
1541
1818
|
{
|
|
1542
|
-
"name": "
|
|
1543
|
-
"type": "address",
|
|
1544
|
-
"internalType": "address"
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
"name": "rate",
|
|
1548
|
-
"type": "uint256",
|
|
1549
|
-
"internalType": "uint256"
|
|
1550
|
-
},
|
|
1551
|
-
{
|
|
1552
|
-
"name": "accumulatedBuyAmount",
|
|
1819
|
+
"name": "aspId",
|
|
1553
1820
|
"type": "uint256",
|
|
1554
1821
|
"internalType": "uint256"
|
|
1555
1822
|
},
|
|
1556
1823
|
{
|
|
1557
|
-
"name": "
|
|
1558
|
-
"type": "
|
|
1559
|
-
"internalType": "
|
|
1824
|
+
"name": "token",
|
|
1825
|
+
"type": "address",
|
|
1826
|
+
"internalType": "address"
|
|
1560
1827
|
},
|
|
1561
1828
|
{
|
|
1562
|
-
"name": "
|
|
1829
|
+
"name": "amount",
|
|
1563
1830
|
"type": "uint256",
|
|
1564
1831
|
"internalType": "uint256"
|
|
1565
1832
|
},
|
|
1566
1833
|
{
|
|
1567
|
-
"name": "
|
|
1568
|
-
"type": "
|
|
1569
|
-
"internalType": "
|
|
1570
|
-
},
|
|
1571
|
-
{
|
|
1572
|
-
"name": "expiry",
|
|
1573
|
-
"type": "uint256",
|
|
1574
|
-
"internalType": "uint256"
|
|
1834
|
+
"name": "recipient",
|
|
1835
|
+
"type": "address",
|
|
1836
|
+
"internalType": "address"
|
|
1575
1837
|
},
|
|
1576
1838
|
{
|
|
1577
|
-
"name": "
|
|
1839
|
+
"name": "isRagequit",
|
|
1578
1840
|
"type": "bool",
|
|
1579
1841
|
"internalType": "bool"
|
|
1580
|
-
}
|
|
1842
|
+
}
|
|
1843
|
+
],
|
|
1844
|
+
"outputs": [],
|
|
1845
|
+
"stateMutability": "nonpayable"
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"type": "function",
|
|
1849
|
+
"name": "withdrawVerifier",
|
|
1850
|
+
"inputs": [],
|
|
1851
|
+
"outputs": [
|
|
1581
1852
|
{
|
|
1582
|
-
"name": "
|
|
1583
|
-
"type": "
|
|
1584
|
-
"internalType": "
|
|
1853
|
+
"name": "",
|
|
1854
|
+
"type": "address",
|
|
1855
|
+
"internalType": "contract IUPPVerifier"
|
|
1585
1856
|
}
|
|
1586
1857
|
],
|
|
1587
1858
|
"stateMutability": "view"
|
|
1588
1859
|
},
|
|
1589
1860
|
{
|
|
1590
|
-
"type": "
|
|
1591
|
-
"name": "
|
|
1861
|
+
"type": "event",
|
|
1862
|
+
"name": "CommitmentInserted",
|
|
1592
1863
|
"inputs": [
|
|
1593
1864
|
{
|
|
1594
|
-
"name": "
|
|
1595
|
-
"type": "tuple",
|
|
1596
|
-
"internalType": "struct PlonkVerifierBLS12381.Proof",
|
|
1597
|
-
"components": [
|
|
1598
|
-
{
|
|
1599
|
-
"name": "A",
|
|
1600
|
-
"type": "bytes",
|
|
1601
|
-
"internalType": "bytes"
|
|
1602
|
-
},
|
|
1603
|
-
{
|
|
1604
|
-
"name": "B",
|
|
1605
|
-
"type": "bytes",
|
|
1606
|
-
"internalType": "bytes"
|
|
1607
|
-
},
|
|
1608
|
-
{
|
|
1609
|
-
"name": "C",
|
|
1610
|
-
"type": "bytes",
|
|
1611
|
-
"internalType": "bytes"
|
|
1612
|
-
},
|
|
1613
|
-
{
|
|
1614
|
-
"name": "Z",
|
|
1615
|
-
"type": "bytes",
|
|
1616
|
-
"internalType": "bytes"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"name": "T1",
|
|
1620
|
-
"type": "bytes",
|
|
1621
|
-
"internalType": "bytes"
|
|
1622
|
-
},
|
|
1623
|
-
{
|
|
1624
|
-
"name": "T2",
|
|
1625
|
-
"type": "bytes",
|
|
1626
|
-
"internalType": "bytes"
|
|
1627
|
-
},
|
|
1628
|
-
{
|
|
1629
|
-
"name": "T3",
|
|
1630
|
-
"type": "bytes",
|
|
1631
|
-
"internalType": "bytes"
|
|
1632
|
-
},
|
|
1633
|
-
{
|
|
1634
|
-
"name": "eval_a",
|
|
1635
|
-
"type": "uint256",
|
|
1636
|
-
"internalType": "uint256"
|
|
1637
|
-
},
|
|
1638
|
-
{
|
|
1639
|
-
"name": "eval_b",
|
|
1640
|
-
"type": "uint256",
|
|
1641
|
-
"internalType": "uint256"
|
|
1642
|
-
},
|
|
1643
|
-
{
|
|
1644
|
-
"name": "eval_c",
|
|
1645
|
-
"type": "uint256",
|
|
1646
|
-
"internalType": "uint256"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"name": "eval_s1",
|
|
1650
|
-
"type": "uint256",
|
|
1651
|
-
"internalType": "uint256"
|
|
1652
|
-
},
|
|
1653
|
-
{
|
|
1654
|
-
"name": "eval_s2",
|
|
1655
|
-
"type": "uint256",
|
|
1656
|
-
"internalType": "uint256"
|
|
1657
|
-
},
|
|
1658
|
-
{
|
|
1659
|
-
"name": "eval_zw",
|
|
1660
|
-
"type": "uint256",
|
|
1661
|
-
"internalType": "uint256"
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"name": "Wxi",
|
|
1665
|
-
"type": "bytes",
|
|
1666
|
-
"internalType": "bytes"
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"name": "Wxiw",
|
|
1670
|
-
"type": "bytes",
|
|
1671
|
-
"internalType": "bytes"
|
|
1672
|
-
}
|
|
1673
|
-
]
|
|
1674
|
-
},
|
|
1675
|
-
{
|
|
1676
|
-
"name": "nullifier",
|
|
1865
|
+
"name": "commitment",
|
|
1677
1866
|
"type": "bytes32",
|
|
1867
|
+
"indexed": true,
|
|
1678
1868
|
"internalType": "bytes32"
|
|
1679
1869
|
},
|
|
1680
1870
|
{
|
|
1681
|
-
"name": "
|
|
1871
|
+
"name": "leafIndex",
|
|
1682
1872
|
"type": "uint256",
|
|
1873
|
+
"indexed": false,
|
|
1683
1874
|
"internalType": "uint256"
|
|
1684
1875
|
},
|
|
1685
1876
|
{
|
|
1686
|
-
"name": "
|
|
1877
|
+
"name": "timestamp",
|
|
1687
1878
|
"type": "uint256",
|
|
1879
|
+
"indexed": false,
|
|
1688
1880
|
"internalType": "uint256"
|
|
1689
|
-
}
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
"anonymous": false
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
"type": "event",
|
|
1887
|
+
"name": "Initialized",
|
|
1888
|
+
"inputs": [
|
|
1690
1889
|
{
|
|
1691
|
-
"name": "
|
|
1692
|
-
"type": "
|
|
1693
|
-
"
|
|
1890
|
+
"name": "version",
|
|
1891
|
+
"type": "uint64",
|
|
1892
|
+
"indexed": false,
|
|
1893
|
+
"internalType": "uint64"
|
|
1894
|
+
}
|
|
1895
|
+
],
|
|
1896
|
+
"anonymous": false
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"type": "event",
|
|
1900
|
+
"name": "JoinSplit",
|
|
1901
|
+
"inputs": [
|
|
1902
|
+
{
|
|
1903
|
+
"name": "nullifiers",
|
|
1904
|
+
"type": "bytes32[4]",
|
|
1905
|
+
"indexed": false,
|
|
1906
|
+
"internalType": "bytes32[4]"
|
|
1694
1907
|
},
|
|
1695
1908
|
{
|
|
1696
1909
|
"name": "outputCommitment1",
|
|
1697
1910
|
"type": "bytes32",
|
|
1911
|
+
"indexed": true,
|
|
1698
1912
|
"internalType": "bytes32"
|
|
1699
1913
|
},
|
|
1700
1914
|
{
|
|
1701
1915
|
"name": "outputCommitment2",
|
|
1702
1916
|
"type": "bytes32",
|
|
1917
|
+
"indexed": true,
|
|
1703
1918
|
"internalType": "bytes32"
|
|
1704
1919
|
},
|
|
1705
1920
|
{
|
|
1706
1921
|
"name": "encryptedNote1",
|
|
1707
1922
|
"type": "bytes",
|
|
1923
|
+
"indexed": false,
|
|
1708
1924
|
"internalType": "bytes"
|
|
1709
1925
|
},
|
|
1710
1926
|
{
|
|
1711
1927
|
"name": "encryptedNote2",
|
|
1712
1928
|
"type": "bytes",
|
|
1929
|
+
"indexed": false,
|
|
1713
1930
|
"internalType": "bytes"
|
|
1714
1931
|
}
|
|
1715
1932
|
],
|
|
1716
|
-
"
|
|
1717
|
-
"stateMutability": "nonpayable"
|
|
1933
|
+
"anonymous": false
|
|
1718
1934
|
},
|
|
1719
1935
|
{
|
|
1720
|
-
"type": "
|
|
1721
|
-
"name": "
|
|
1936
|
+
"type": "event",
|
|
1937
|
+
"name": "MergeTransfer",
|
|
1722
1938
|
"inputs": [
|
|
1723
1939
|
{
|
|
1724
|
-
"name": "
|
|
1725
|
-
"type": "bytes",
|
|
1726
|
-
"internalType": "bytes"
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
"name": "nullifier",
|
|
1940
|
+
"name": "nullifier1",
|
|
1730
1941
|
"type": "bytes32",
|
|
1942
|
+
"indexed": true,
|
|
1731
1943
|
"internalType": "bytes32"
|
|
1732
1944
|
},
|
|
1733
1945
|
{
|
|
1734
|
-
"name": "
|
|
1735
|
-
"type": "
|
|
1736
|
-
"
|
|
1946
|
+
"name": "nullifier2",
|
|
1947
|
+
"type": "bytes32",
|
|
1948
|
+
"indexed": true,
|
|
1949
|
+
"internalType": "bytes32"
|
|
1737
1950
|
},
|
|
1738
1951
|
{
|
|
1739
|
-
"name": "
|
|
1740
|
-
"type": "
|
|
1741
|
-
"
|
|
1952
|
+
"name": "nullifier3",
|
|
1953
|
+
"type": "bytes32",
|
|
1954
|
+
"indexed": false,
|
|
1955
|
+
"internalType": "bytes32"
|
|
1742
1956
|
},
|
|
1743
1957
|
{
|
|
1744
|
-
"name": "
|
|
1745
|
-
"type": "
|
|
1746
|
-
"
|
|
1958
|
+
"name": "nullifier4",
|
|
1959
|
+
"type": "bytes32",
|
|
1960
|
+
"indexed": false,
|
|
1961
|
+
"internalType": "bytes32"
|
|
1747
1962
|
},
|
|
1748
1963
|
{
|
|
1749
1964
|
"name": "outputCommitment1",
|
|
1750
1965
|
"type": "bytes32",
|
|
1966
|
+
"indexed": false,
|
|
1751
1967
|
"internalType": "bytes32"
|
|
1752
1968
|
},
|
|
1753
1969
|
{
|
|
1754
1970
|
"name": "outputCommitment2",
|
|
1755
1971
|
"type": "bytes32",
|
|
1972
|
+
"indexed": false,
|
|
1756
1973
|
"internalType": "bytes32"
|
|
1757
1974
|
},
|
|
1758
1975
|
{
|
|
1759
|
-
"name": "
|
|
1760
|
-
"type": "
|
|
1761
|
-
"
|
|
1976
|
+
"name": "merger",
|
|
1977
|
+
"type": "address",
|
|
1978
|
+
"indexed": false,
|
|
1979
|
+
"internalType": "address"
|
|
1762
1980
|
},
|
|
1763
1981
|
{
|
|
1764
|
-
"name": "
|
|
1765
|
-
"type": "
|
|
1766
|
-
"
|
|
1982
|
+
"name": "token",
|
|
1983
|
+
"type": "address",
|
|
1984
|
+
"indexed": false,
|
|
1985
|
+
"internalType": "address"
|
|
1767
1986
|
}
|
|
1768
1987
|
],
|
|
1769
|
-
"
|
|
1770
|
-
"stateMutability": "nonpayable"
|
|
1988
|
+
"anonymous": false
|
|
1771
1989
|
},
|
|
1772
1990
|
{
|
|
1773
|
-
"type": "
|
|
1774
|
-
"name": "
|
|
1775
|
-
"inputs": [
|
|
1776
|
-
"outputs": [
|
|
1991
|
+
"type": "event",
|
|
1992
|
+
"name": "Merged",
|
|
1993
|
+
"inputs": [
|
|
1777
1994
|
{
|
|
1778
|
-
"name": "",
|
|
1995
|
+
"name": "outputCommitment",
|
|
1996
|
+
"type": "bytes32",
|
|
1997
|
+
"indexed": true,
|
|
1998
|
+
"internalType": "bytes32"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"name": "nullifier1",
|
|
2002
|
+
"type": "bytes32",
|
|
2003
|
+
"indexed": true,
|
|
2004
|
+
"internalType": "bytes32"
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"name": "nullifier2",
|
|
2008
|
+
"type": "bytes32",
|
|
2009
|
+
"indexed": true,
|
|
2010
|
+
"internalType": "bytes32"
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
"name": "merger",
|
|
1779
2014
|
"type": "address",
|
|
1780
|
-
"
|
|
2015
|
+
"indexed": false,
|
|
2016
|
+
"internalType": "address"
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"name": "token",
|
|
2020
|
+
"type": "address",
|
|
2021
|
+
"indexed": false,
|
|
2022
|
+
"internalType": "address"
|
|
1781
2023
|
}
|
|
1782
2024
|
],
|
|
1783
|
-
"
|
|
2025
|
+
"anonymous": false
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"type": "event",
|
|
2029
|
+
"name": "PermissionlessTokensUpdated",
|
|
2030
|
+
"inputs": [
|
|
2031
|
+
{
|
|
2032
|
+
"name": "permissionless",
|
|
2033
|
+
"type": "bool",
|
|
2034
|
+
"indexed": false,
|
|
2035
|
+
"internalType": "bool"
|
|
2036
|
+
}
|
|
2037
|
+
],
|
|
2038
|
+
"anonymous": false
|
|
2039
|
+
},
|
|
2040
|
+
{
|
|
2041
|
+
"type": "event",
|
|
2042
|
+
"name": "RoleAdminChanged",
|
|
2043
|
+
"inputs": [
|
|
2044
|
+
{
|
|
2045
|
+
"name": "role",
|
|
2046
|
+
"type": "bytes32",
|
|
2047
|
+
"indexed": true,
|
|
2048
|
+
"internalType": "bytes32"
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"name": "previousAdminRole",
|
|
2052
|
+
"type": "bytes32",
|
|
2053
|
+
"indexed": true,
|
|
2054
|
+
"internalType": "bytes32"
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"name": "newAdminRole",
|
|
2058
|
+
"type": "bytes32",
|
|
2059
|
+
"indexed": true,
|
|
2060
|
+
"internalType": "bytes32"
|
|
2061
|
+
}
|
|
2062
|
+
],
|
|
2063
|
+
"anonymous": false
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"type": "event",
|
|
2067
|
+
"name": "RoleGranted",
|
|
2068
|
+
"inputs": [
|
|
2069
|
+
{
|
|
2070
|
+
"name": "role",
|
|
2071
|
+
"type": "bytes32",
|
|
2072
|
+
"indexed": true,
|
|
2073
|
+
"internalType": "bytes32"
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "account",
|
|
2077
|
+
"type": "address",
|
|
2078
|
+
"indexed": true,
|
|
2079
|
+
"internalType": "address"
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"name": "sender",
|
|
2083
|
+
"type": "address",
|
|
2084
|
+
"indexed": true,
|
|
2085
|
+
"internalType": "address"
|
|
2086
|
+
}
|
|
2087
|
+
],
|
|
2088
|
+
"anonymous": false
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"type": "event",
|
|
2092
|
+
"name": "RoleRevoked",
|
|
2093
|
+
"inputs": [
|
|
2094
|
+
{
|
|
2095
|
+
"name": "role",
|
|
2096
|
+
"type": "bytes32",
|
|
2097
|
+
"indexed": true,
|
|
2098
|
+
"internalType": "bytes32"
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "account",
|
|
2102
|
+
"type": "address",
|
|
2103
|
+
"indexed": true,
|
|
2104
|
+
"internalType": "address"
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "sender",
|
|
2108
|
+
"type": "address",
|
|
2109
|
+
"indexed": true,
|
|
2110
|
+
"internalType": "address"
|
|
2111
|
+
}
|
|
2112
|
+
],
|
|
2113
|
+
"anonymous": false
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"type": "event",
|
|
2117
|
+
"name": "Shielded",
|
|
2118
|
+
"inputs": [
|
|
2119
|
+
{
|
|
2120
|
+
"name": "token",
|
|
2121
|
+
"type": "address",
|
|
2122
|
+
"indexed": true,
|
|
2123
|
+
"internalType": "address"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"name": "depositor",
|
|
2127
|
+
"type": "address",
|
|
2128
|
+
"indexed": true,
|
|
2129
|
+
"internalType": "address"
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
"name": "commitment",
|
|
2133
|
+
"type": "bytes32",
|
|
2134
|
+
"indexed": true,
|
|
2135
|
+
"internalType": "bytes32"
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"name": "leafIndex",
|
|
2139
|
+
"type": "uint256",
|
|
2140
|
+
"indexed": false,
|
|
2141
|
+
"internalType": "uint256"
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
"name": "encryptedNote",
|
|
2145
|
+
"type": "bytes",
|
|
2146
|
+
"indexed": false,
|
|
2147
|
+
"internalType": "bytes"
|
|
2148
|
+
}
|
|
2149
|
+
],
|
|
2150
|
+
"anonymous": false
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"type": "event",
|
|
2154
|
+
"name": "StarkCommitmentInserted",
|
|
2155
|
+
"inputs": [
|
|
2156
|
+
{
|
|
2157
|
+
"name": "commitment",
|
|
2158
|
+
"type": "uint128",
|
|
2159
|
+
"indexed": true,
|
|
2160
|
+
"internalType": "uint128"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "leafIndex",
|
|
2164
|
+
"type": "uint256",
|
|
2165
|
+
"indexed": false,
|
|
2166
|
+
"internalType": "uint256"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"name": "timestamp",
|
|
2170
|
+
"type": "uint256",
|
|
2171
|
+
"indexed": false,
|
|
2172
|
+
"internalType": "uint256"
|
|
2173
|
+
}
|
|
2174
|
+
],
|
|
2175
|
+
"anonymous": false
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"type": "event",
|
|
2179
|
+
"name": "StarkTransferVerifierSet",
|
|
2180
|
+
"inputs": [
|
|
2181
|
+
{
|
|
2182
|
+
"name": "verifier",
|
|
2183
|
+
"type": "address",
|
|
2184
|
+
"indexed": true,
|
|
2185
|
+
"internalType": "address"
|
|
2186
|
+
}
|
|
2187
|
+
],
|
|
2188
|
+
"anonymous": false
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"type": "event",
|
|
2192
|
+
"name": "StarkTreeInitialized",
|
|
2193
|
+
"inputs": [
|
|
2194
|
+
{
|
|
2195
|
+
"name": "depth",
|
|
2196
|
+
"type": "uint256",
|
|
2197
|
+
"indexed": false,
|
|
2198
|
+
"internalType": "uint256"
|
|
2199
|
+
}
|
|
2200
|
+
],
|
|
2201
|
+
"anonymous": false
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
"type": "event",
|
|
2205
|
+
"name": "StarkWithdrawVerifierSet",
|
|
2206
|
+
"inputs": [
|
|
2207
|
+
{
|
|
2208
|
+
"name": "verifier",
|
|
2209
|
+
"type": "address",
|
|
2210
|
+
"indexed": true,
|
|
2211
|
+
"internalType": "address"
|
|
2212
|
+
}
|
|
2213
|
+
],
|
|
2214
|
+
"anonymous": false
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"type": "event",
|
|
2218
|
+
"name": "TokenSupportUpdated",
|
|
2219
|
+
"inputs": [
|
|
2220
|
+
{
|
|
2221
|
+
"name": "token",
|
|
2222
|
+
"type": "address",
|
|
2223
|
+
"indexed": true,
|
|
2224
|
+
"internalType": "address"
|
|
2225
|
+
},
|
|
2226
|
+
{
|
|
2227
|
+
"name": "supported",
|
|
2228
|
+
"type": "bool",
|
|
2229
|
+
"indexed": false,
|
|
2230
|
+
"internalType": "bool"
|
|
2231
|
+
}
|
|
2232
|
+
],
|
|
2233
|
+
"anonymous": false
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
"type": "event",
|
|
2237
|
+
"name": "Transferred",
|
|
2238
|
+
"inputs": [
|
|
2239
|
+
{
|
|
2240
|
+
"name": "nullifier",
|
|
2241
|
+
"type": "bytes32",
|
|
2242
|
+
"indexed": true,
|
|
2243
|
+
"internalType": "bytes32"
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"name": "outputCommitment1",
|
|
2247
|
+
"type": "bytes32",
|
|
2248
|
+
"indexed": true,
|
|
2249
|
+
"internalType": "bytes32"
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"name": "outputCommitment2",
|
|
2253
|
+
"type": "bytes32",
|
|
2254
|
+
"indexed": true,
|
|
2255
|
+
"internalType": "bytes32"
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
"name": "encryptedNote1",
|
|
2259
|
+
"type": "bytes",
|
|
2260
|
+
"indexed": false,
|
|
2261
|
+
"internalType": "bytes"
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "encryptedNote2",
|
|
2265
|
+
"type": "bytes",
|
|
2266
|
+
"indexed": false,
|
|
2267
|
+
"internalType": "bytes"
|
|
2268
|
+
}
|
|
2269
|
+
],
|
|
2270
|
+
"anonymous": false
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"type": "event",
|
|
2274
|
+
"name": "Upgraded",
|
|
2275
|
+
"inputs": [
|
|
2276
|
+
{
|
|
2277
|
+
"name": "implementation",
|
|
2278
|
+
"type": "address",
|
|
2279
|
+
"indexed": true,
|
|
2280
|
+
"internalType": "address"
|
|
2281
|
+
}
|
|
2282
|
+
],
|
|
2283
|
+
"anonymous": false
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"type": "event",
|
|
2287
|
+
"name": "Withdrawn",
|
|
2288
|
+
"inputs": [
|
|
2289
|
+
{
|
|
2290
|
+
"name": "token",
|
|
2291
|
+
"type": "address",
|
|
2292
|
+
"indexed": true,
|
|
2293
|
+
"internalType": "address"
|
|
2294
|
+
},
|
|
2295
|
+
{
|
|
2296
|
+
"name": "recipient",
|
|
2297
|
+
"type": "address",
|
|
2298
|
+
"indexed": true,
|
|
2299
|
+
"internalType": "address"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
"name": "nullifier",
|
|
2303
|
+
"type": "bytes32",
|
|
2304
|
+
"indexed": true,
|
|
2305
|
+
"internalType": "bytes32"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"name": "amount",
|
|
2309
|
+
"type": "uint256",
|
|
2310
|
+
"indexed": false,
|
|
2311
|
+
"internalType": "uint256"
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"name": "isRagequit",
|
|
2315
|
+
"type": "bool",
|
|
2316
|
+
"indexed": false,
|
|
2317
|
+
"internalType": "bool"
|
|
2318
|
+
}
|
|
2319
|
+
],
|
|
2320
|
+
"anonymous": false
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
"type": "error",
|
|
2324
|
+
"name": "AccessControlBadConfirmation",
|
|
2325
|
+
"inputs": []
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
"type": "error",
|
|
2329
|
+
"name": "AccessControlUnauthorizedAccount",
|
|
2330
|
+
"inputs": [
|
|
2331
|
+
{
|
|
2332
|
+
"name": "account",
|
|
2333
|
+
"type": "address",
|
|
2334
|
+
"internalType": "address"
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"name": "neededRole",
|
|
2338
|
+
"type": "bytes32",
|
|
2339
|
+
"internalType": "bytes32"
|
|
2340
|
+
}
|
|
2341
|
+
]
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
"type": "error",
|
|
2345
|
+
"name": "AddressEmptyCode",
|
|
2346
|
+
"inputs": [
|
|
2347
|
+
{
|
|
2348
|
+
"name": "target",
|
|
2349
|
+
"type": "address",
|
|
2350
|
+
"internalType": "address"
|
|
2351
|
+
}
|
|
2352
|
+
]
|
|
2353
|
+
},
|
|
2354
|
+
{
|
|
2355
|
+
"type": "error",
|
|
2356
|
+
"name": "AmountExceedsM31",
|
|
2357
|
+
"inputs": []
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"type": "error",
|
|
2361
|
+
"name": "AmountNotAligned",
|
|
2362
|
+
"inputs": []
|
|
2363
|
+
},
|
|
2364
|
+
{
|
|
2365
|
+
"type": "error",
|
|
2366
|
+
"name": "DuplicateNullifier",
|
|
2367
|
+
"inputs": []
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"type": "error",
|
|
2371
|
+
"name": "ERC1967InvalidImplementation",
|
|
2372
|
+
"inputs": [
|
|
2373
|
+
{
|
|
2374
|
+
"name": "implementation",
|
|
2375
|
+
"type": "address",
|
|
2376
|
+
"internalType": "address"
|
|
2377
|
+
}
|
|
2378
|
+
]
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
"type": "error",
|
|
2382
|
+
"name": "ERC1967NonPayable",
|
|
2383
|
+
"inputs": []
|
|
2384
|
+
},
|
|
2385
|
+
{
|
|
2386
|
+
"type": "error",
|
|
2387
|
+
"name": "FailedCall",
|
|
2388
|
+
"inputs": []
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"type": "error",
|
|
2392
|
+
"name": "FeeOnTransferNotSupported",
|
|
2393
|
+
"inputs": []
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"type": "error",
|
|
2397
|
+
"name": "InvalidASPRoot",
|
|
2398
|
+
"inputs": []
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
"type": "error",
|
|
2402
|
+
"name": "InvalidInitialization",
|
|
2403
|
+
"inputs": []
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
"type": "error",
|
|
2407
|
+
"name": "InvalidProof",
|
|
2408
|
+
"inputs": []
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"type": "error",
|
|
2412
|
+
"name": "LeafAlreadyExists",
|
|
2413
|
+
"inputs": []
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"type": "error",
|
|
2417
|
+
"name": "LeafCannotBeZero",
|
|
2418
|
+
"inputs": []
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"type": "error",
|
|
2422
|
+
"name": "LeafGreaterThanSnarkScalarField",
|
|
2423
|
+
"inputs": []
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"type": "error",
|
|
2427
|
+
"name": "MaxTreeDepthReached",
|
|
2428
|
+
"inputs": []
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"type": "error",
|
|
2432
|
+
"name": "NotInitializing",
|
|
2433
|
+
"inputs": []
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"type": "error",
|
|
2437
|
+
"name": "NullifierSpent",
|
|
2438
|
+
"inputs": []
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"type": "error",
|
|
2442
|
+
"name": "PermitFailed",
|
|
2443
|
+
"inputs": []
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"type": "error",
|
|
2447
|
+
"name": "ReentrancyGuardReentrantCall",
|
|
2448
|
+
"inputs": []
|
|
2449
|
+
},
|
|
2450
|
+
{
|
|
2451
|
+
"type": "error",
|
|
2452
|
+
"name": "SafeERC20FailedOperation",
|
|
2453
|
+
"inputs": [
|
|
2454
|
+
{
|
|
2455
|
+
"name": "token",
|
|
2456
|
+
"type": "address",
|
|
2457
|
+
"internalType": "address"
|
|
2458
|
+
}
|
|
2459
|
+
]
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
"type": "error",
|
|
2463
|
+
"name": "SameNullifier",
|
|
2464
|
+
"inputs": []
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
"type": "error",
|
|
2468
|
+
"name": "StarkTreeAlreadyInitialized",
|
|
2469
|
+
"inputs": []
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"type": "error",
|
|
2473
|
+
"name": "StarkTreeNotInitialized",
|
|
2474
|
+
"inputs": []
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"type": "error",
|
|
2478
|
+
"name": "StarkVerifierAlreadySet",
|
|
2479
|
+
"inputs": []
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
"type": "error",
|
|
2483
|
+
"name": "StarkVerifierNotSet",
|
|
2484
|
+
"inputs": []
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"type": "error",
|
|
2488
|
+
"name": "TokenNotSupported",
|
|
2489
|
+
"inputs": []
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"type": "error",
|
|
2493
|
+
"name": "UUPSUnauthorizedCallContext",
|
|
2494
|
+
"inputs": []
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"type": "error",
|
|
2498
|
+
"name": "UUPSUnsupportedProxiableUUID",
|
|
2499
|
+
"inputs": [
|
|
2500
|
+
{
|
|
2501
|
+
"name": "slot",
|
|
2502
|
+
"type": "bytes32",
|
|
2503
|
+
"internalType": "bytes32"
|
|
2504
|
+
}
|
|
2505
|
+
]
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"type": "error",
|
|
2509
|
+
"name": "UnknownStateRoot",
|
|
2510
|
+
"inputs": []
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"type": "error",
|
|
2514
|
+
"name": "ZeroAddress",
|
|
2515
|
+
"inputs": []
|
|
2516
|
+
}
|
|
2517
|
+
];
|
|
2518
|
+
|
|
2519
|
+
// src/contracts/abi/ASPRegistryHub.ts
|
|
2520
|
+
var ASP_REGISTRY_HUB_ABI = [
|
|
2521
|
+
{
|
|
2522
|
+
"type": "constructor",
|
|
2523
|
+
"inputs": [],
|
|
2524
|
+
"stateMutability": "nonpayable"
|
|
1784
2525
|
},
|
|
1785
2526
|
{
|
|
1786
2527
|
"type": "function",
|
|
1787
|
-
"name": "
|
|
2528
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
|
2529
|
+
"inputs": [],
|
|
2530
|
+
"outputs": [
|
|
2531
|
+
{
|
|
2532
|
+
"name": "",
|
|
2533
|
+
"type": "bytes32",
|
|
2534
|
+
"internalType": "bytes32"
|
|
2535
|
+
}
|
|
2536
|
+
],
|
|
2537
|
+
"stateMutability": "view"
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"type": "function",
|
|
2541
|
+
"name": "ROOT_HISTORY_SIZE",
|
|
2542
|
+
"inputs": [],
|
|
2543
|
+
"outputs": [
|
|
2544
|
+
{
|
|
2545
|
+
"name": "",
|
|
2546
|
+
"type": "uint256",
|
|
2547
|
+
"internalType": "uint256"
|
|
2548
|
+
}
|
|
2549
|
+
],
|
|
2550
|
+
"stateMutability": "view"
|
|
2551
|
+
},
|
|
2552
|
+
{
|
|
2553
|
+
"type": "function",
|
|
2554
|
+
"name": "UPGRADER_ROLE",
|
|
2555
|
+
"inputs": [],
|
|
2556
|
+
"outputs": [
|
|
2557
|
+
{
|
|
2558
|
+
"name": "",
|
|
2559
|
+
"type": "bytes32",
|
|
2560
|
+
"internalType": "bytes32"
|
|
2561
|
+
}
|
|
2562
|
+
],
|
|
2563
|
+
"stateMutability": "view"
|
|
2564
|
+
},
|
|
2565
|
+
{
|
|
2566
|
+
"type": "function",
|
|
2567
|
+
"name": "UPGRADE_INTERFACE_VERSION",
|
|
2568
|
+
"inputs": [],
|
|
2569
|
+
"outputs": [
|
|
2570
|
+
{
|
|
2571
|
+
"name": "",
|
|
2572
|
+
"type": "string",
|
|
2573
|
+
"internalType": "string"
|
|
2574
|
+
}
|
|
2575
|
+
],
|
|
2576
|
+
"stateMutability": "view"
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"type": "function",
|
|
2580
|
+
"name": "aspRootHistory",
|
|
1788
2581
|
"inputs": [
|
|
1789
2582
|
{
|
|
1790
|
-
"name": "
|
|
2583
|
+
"name": "",
|
|
2584
|
+
"type": "uint256",
|
|
2585
|
+
"internalType": "uint256"
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
"name": "",
|
|
2589
|
+
"type": "uint256",
|
|
2590
|
+
"internalType": "uint256"
|
|
2591
|
+
}
|
|
2592
|
+
],
|
|
2593
|
+
"outputs": [
|
|
2594
|
+
{
|
|
2595
|
+
"name": "",
|
|
2596
|
+
"type": "uint256",
|
|
2597
|
+
"internalType": "uint256"
|
|
2598
|
+
}
|
|
2599
|
+
],
|
|
2600
|
+
"stateMutability": "view"
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"type": "function",
|
|
2604
|
+
"name": "aspRootIndex",
|
|
2605
|
+
"inputs": [
|
|
2606
|
+
{
|
|
2607
|
+
"name": "",
|
|
2608
|
+
"type": "uint256",
|
|
2609
|
+
"internalType": "uint256"
|
|
2610
|
+
}
|
|
2611
|
+
],
|
|
2612
|
+
"outputs": [
|
|
2613
|
+
{
|
|
2614
|
+
"name": "",
|
|
2615
|
+
"type": "uint256",
|
|
2616
|
+
"internalType": "uint256"
|
|
2617
|
+
}
|
|
2618
|
+
],
|
|
2619
|
+
"stateMutability": "view"
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
"type": "function",
|
|
2623
|
+
"name": "asps",
|
|
2624
|
+
"inputs": [
|
|
2625
|
+
{
|
|
2626
|
+
"name": "",
|
|
2627
|
+
"type": "uint256",
|
|
2628
|
+
"internalType": "uint256"
|
|
2629
|
+
}
|
|
2630
|
+
],
|
|
2631
|
+
"outputs": [
|
|
2632
|
+
{
|
|
2633
|
+
"name": "id",
|
|
2634
|
+
"type": "uint256",
|
|
2635
|
+
"internalType": "uint256"
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"name": "operator",
|
|
2639
|
+
"type": "address",
|
|
2640
|
+
"internalType": "address"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"name": "name",
|
|
2644
|
+
"type": "string",
|
|
2645
|
+
"internalType": "string"
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"name": "currentRoot",
|
|
2649
|
+
"type": "uint256",
|
|
2650
|
+
"internalType": "uint256"
|
|
2651
|
+
},
|
|
2652
|
+
{
|
|
2653
|
+
"name": "lastUpdated",
|
|
2654
|
+
"type": "uint256",
|
|
2655
|
+
"internalType": "uint256"
|
|
2656
|
+
}
|
|
2657
|
+
],
|
|
2658
|
+
"stateMutability": "view"
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"type": "function",
|
|
2662
|
+
"name": "getASP",
|
|
2663
|
+
"inputs": [
|
|
2664
|
+
{
|
|
2665
|
+
"name": "aspId",
|
|
2666
|
+
"type": "uint256",
|
|
2667
|
+
"internalType": "uint256"
|
|
2668
|
+
}
|
|
2669
|
+
],
|
|
2670
|
+
"outputs": [
|
|
2671
|
+
{
|
|
2672
|
+
"name": "",
|
|
1791
2673
|
"type": "tuple",
|
|
1792
|
-
"internalType": "struct
|
|
2674
|
+
"internalType": "struct ASPInfo",
|
|
1793
2675
|
"components": [
|
|
1794
2676
|
{
|
|
1795
|
-
"name": "
|
|
1796
|
-
"type": "bytes",
|
|
1797
|
-
"internalType": "bytes"
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"name": "B",
|
|
1801
|
-
"type": "bytes",
|
|
1802
|
-
"internalType": "bytes"
|
|
1803
|
-
},
|
|
1804
|
-
{
|
|
1805
|
-
"name": "C",
|
|
1806
|
-
"type": "bytes",
|
|
1807
|
-
"internalType": "bytes"
|
|
1808
|
-
},
|
|
1809
|
-
{
|
|
1810
|
-
"name": "Z",
|
|
1811
|
-
"type": "bytes",
|
|
1812
|
-
"internalType": "bytes"
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"name": "T1",
|
|
1816
|
-
"type": "bytes",
|
|
1817
|
-
"internalType": "bytes"
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
"name": "T2",
|
|
1821
|
-
"type": "bytes",
|
|
1822
|
-
"internalType": "bytes"
|
|
1823
|
-
},
|
|
1824
|
-
{
|
|
1825
|
-
"name": "T3",
|
|
1826
|
-
"type": "bytes",
|
|
1827
|
-
"internalType": "bytes"
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"name": "eval_a",
|
|
1831
|
-
"type": "uint256",
|
|
1832
|
-
"internalType": "uint256"
|
|
1833
|
-
},
|
|
1834
|
-
{
|
|
1835
|
-
"name": "eval_b",
|
|
2677
|
+
"name": "id",
|
|
1836
2678
|
"type": "uint256",
|
|
1837
2679
|
"internalType": "uint256"
|
|
1838
2680
|
},
|
|
1839
2681
|
{
|
|
1840
|
-
"name": "
|
|
1841
|
-
"type": "
|
|
1842
|
-
"internalType": "
|
|
2682
|
+
"name": "operator",
|
|
2683
|
+
"type": "address",
|
|
2684
|
+
"internalType": "address"
|
|
1843
2685
|
},
|
|
1844
2686
|
{
|
|
1845
|
-
"name": "
|
|
1846
|
-
"type": "
|
|
1847
|
-
"internalType": "
|
|
2687
|
+
"name": "name",
|
|
2688
|
+
"type": "string",
|
|
2689
|
+
"internalType": "string"
|
|
1848
2690
|
},
|
|
1849
2691
|
{
|
|
1850
|
-
"name": "
|
|
2692
|
+
"name": "currentRoot",
|
|
1851
2693
|
"type": "uint256",
|
|
1852
2694
|
"internalType": "uint256"
|
|
1853
2695
|
},
|
|
1854
2696
|
{
|
|
1855
|
-
"name": "
|
|
2697
|
+
"name": "lastUpdated",
|
|
1856
2698
|
"type": "uint256",
|
|
1857
2699
|
"internalType": "uint256"
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"name": "Wxi",
|
|
1861
|
-
"type": "bytes",
|
|
1862
|
-
"internalType": "bytes"
|
|
1863
|
-
},
|
|
1864
|
-
{
|
|
1865
|
-
"name": "Wxiw",
|
|
1866
|
-
"type": "bytes",
|
|
1867
|
-
"internalType": "bytes"
|
|
1868
2700
|
}
|
|
1869
2701
|
]
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
2702
|
+
}
|
|
2703
|
+
],
|
|
2704
|
+
"stateMutability": "view"
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"type": "function",
|
|
2708
|
+
"name": "getCurrentRoot",
|
|
2709
|
+
"inputs": [
|
|
1876
2710
|
{
|
|
1877
|
-
"name": "
|
|
2711
|
+
"name": "aspId",
|
|
1878
2712
|
"type": "uint256",
|
|
1879
2713
|
"internalType": "uint256"
|
|
1880
|
-
}
|
|
2714
|
+
}
|
|
2715
|
+
],
|
|
2716
|
+
"outputs": [
|
|
1881
2717
|
{
|
|
1882
|
-
"name": "
|
|
2718
|
+
"name": "",
|
|
1883
2719
|
"type": "uint256",
|
|
1884
2720
|
"internalType": "uint256"
|
|
1885
|
-
}
|
|
2721
|
+
}
|
|
2722
|
+
],
|
|
2723
|
+
"stateMutability": "view"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"type": "function",
|
|
2727
|
+
"name": "getRoleAdmin",
|
|
2728
|
+
"inputs": [
|
|
2729
|
+
{
|
|
2730
|
+
"name": "role",
|
|
2731
|
+
"type": "bytes32",
|
|
2732
|
+
"internalType": "bytes32"
|
|
2733
|
+
}
|
|
2734
|
+
],
|
|
2735
|
+
"outputs": [
|
|
2736
|
+
{
|
|
2737
|
+
"name": "",
|
|
2738
|
+
"type": "bytes32",
|
|
2739
|
+
"internalType": "bytes32"
|
|
2740
|
+
}
|
|
2741
|
+
],
|
|
2742
|
+
"stateMutability": "view"
|
|
2743
|
+
},
|
|
2744
|
+
{
|
|
2745
|
+
"type": "function",
|
|
2746
|
+
"name": "grantRole",
|
|
2747
|
+
"inputs": [
|
|
1886
2748
|
{
|
|
1887
|
-
"name": "
|
|
1888
|
-
"type": "
|
|
1889
|
-
"internalType": "
|
|
2749
|
+
"name": "role",
|
|
2750
|
+
"type": "bytes32",
|
|
2751
|
+
"internalType": "bytes32"
|
|
1890
2752
|
},
|
|
1891
2753
|
{
|
|
1892
|
-
"name": "
|
|
2754
|
+
"name": "account",
|
|
1893
2755
|
"type": "address",
|
|
1894
2756
|
"internalType": "address"
|
|
1895
|
-
}
|
|
2757
|
+
}
|
|
2758
|
+
],
|
|
2759
|
+
"outputs": [],
|
|
2760
|
+
"stateMutability": "nonpayable"
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"type": "function",
|
|
2764
|
+
"name": "hasRole",
|
|
2765
|
+
"inputs": [
|
|
1896
2766
|
{
|
|
1897
|
-
"name": "
|
|
1898
|
-
"type": "
|
|
1899
|
-
"internalType": "
|
|
2767
|
+
"name": "role",
|
|
2768
|
+
"type": "bytes32",
|
|
2769
|
+
"internalType": "bytes32"
|
|
1900
2770
|
},
|
|
1901
2771
|
{
|
|
1902
|
-
"name": "
|
|
2772
|
+
"name": "account",
|
|
1903
2773
|
"type": "address",
|
|
1904
2774
|
"internalType": "address"
|
|
1905
|
-
}
|
|
2775
|
+
}
|
|
2776
|
+
],
|
|
2777
|
+
"outputs": [
|
|
1906
2778
|
{
|
|
1907
|
-
"name": "
|
|
2779
|
+
"name": "",
|
|
1908
2780
|
"type": "bool",
|
|
1909
2781
|
"internalType": "bool"
|
|
1910
2782
|
}
|
|
1911
2783
|
],
|
|
2784
|
+
"stateMutability": "view"
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"type": "function",
|
|
2788
|
+
"name": "initialize",
|
|
2789
|
+
"inputs": [
|
|
2790
|
+
{
|
|
2791
|
+
"name": "_admin",
|
|
2792
|
+
"type": "address",
|
|
2793
|
+
"internalType": "address"
|
|
2794
|
+
}
|
|
2795
|
+
],
|
|
1912
2796
|
"outputs": [],
|
|
1913
2797
|
"stateMutability": "nonpayable"
|
|
1914
2798
|
},
|
|
1915
2799
|
{
|
|
1916
2800
|
"type": "function",
|
|
1917
|
-
"name": "
|
|
2801
|
+
"name": "isValidASPRoot",
|
|
1918
2802
|
"inputs": [
|
|
1919
|
-
{
|
|
1920
|
-
"name": "proof",
|
|
1921
|
-
"type": "bytes",
|
|
1922
|
-
"internalType": "bytes"
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"name": "nullifier",
|
|
1926
|
-
"type": "bytes32",
|
|
1927
|
-
"internalType": "bytes32"
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"name": "stateRoot",
|
|
1931
|
-
"type": "uint256",
|
|
1932
|
-
"internalType": "uint256"
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"name": "aspRoot",
|
|
1936
|
-
"type": "uint256",
|
|
1937
|
-
"internalType": "uint256"
|
|
1938
|
-
},
|
|
1939
2803
|
{
|
|
1940
2804
|
"name": "aspId",
|
|
1941
2805
|
"type": "uint256",
|
|
1942
2806
|
"internalType": "uint256"
|
|
1943
2807
|
},
|
|
1944
2808
|
{
|
|
1945
|
-
"name": "
|
|
1946
|
-
"type": "address",
|
|
1947
|
-
"internalType": "address"
|
|
1948
|
-
},
|
|
1949
|
-
{
|
|
1950
|
-
"name": "amount",
|
|
2809
|
+
"name": "root",
|
|
1951
2810
|
"type": "uint256",
|
|
1952
2811
|
"internalType": "uint256"
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
"type": "address",
|
|
1957
|
-
"internalType": "address"
|
|
1958
|
-
},
|
|
2812
|
+
}
|
|
2813
|
+
],
|
|
2814
|
+
"outputs": [
|
|
1959
2815
|
{
|
|
1960
|
-
"name": "
|
|
2816
|
+
"name": "",
|
|
1961
2817
|
"type": "bool",
|
|
1962
2818
|
"internalType": "bool"
|
|
1963
2819
|
}
|
|
1964
2820
|
],
|
|
1965
|
-
"
|
|
1966
|
-
"stateMutability": "nonpayable"
|
|
2821
|
+
"stateMutability": "view"
|
|
1967
2822
|
},
|
|
1968
2823
|
{
|
|
1969
2824
|
"type": "function",
|
|
1970
|
-
"name": "
|
|
2825
|
+
"name": "nextASPId",
|
|
1971
2826
|
"inputs": [],
|
|
1972
2827
|
"outputs": [
|
|
1973
2828
|
{
|
|
1974
2829
|
"name": "",
|
|
1975
|
-
"type": "
|
|
1976
|
-
"internalType": "
|
|
2830
|
+
"type": "uint256",
|
|
2831
|
+
"internalType": "uint256"
|
|
1977
2832
|
}
|
|
1978
2833
|
],
|
|
1979
2834
|
"stateMutability": "view"
|
|
1980
2835
|
},
|
|
1981
2836
|
{
|
|
1982
|
-
"type": "
|
|
1983
|
-
"name": "
|
|
1984
|
-
"inputs": [
|
|
2837
|
+
"type": "function",
|
|
2838
|
+
"name": "proxiableUUID",
|
|
2839
|
+
"inputs": [],
|
|
2840
|
+
"outputs": [
|
|
1985
2841
|
{
|
|
1986
|
-
"name": "
|
|
2842
|
+
"name": "",
|
|
1987
2843
|
"type": "bytes32",
|
|
1988
|
-
"indexed": true,
|
|
1989
2844
|
"internalType": "bytes32"
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
"name": "leafIndex",
|
|
1993
|
-
"type": "uint256",
|
|
1994
|
-
"indexed": false,
|
|
1995
|
-
"internalType": "uint256"
|
|
1996
|
-
},
|
|
1997
|
-
{
|
|
1998
|
-
"name": "timestamp",
|
|
1999
|
-
"type": "uint256",
|
|
2000
|
-
"indexed": false,
|
|
2001
|
-
"internalType": "uint256"
|
|
2002
2845
|
}
|
|
2003
2846
|
],
|
|
2004
|
-
"
|
|
2847
|
+
"stateMutability": "view"
|
|
2005
2848
|
},
|
|
2006
2849
|
{
|
|
2007
|
-
"type": "
|
|
2008
|
-
"name": "
|
|
2850
|
+
"type": "function",
|
|
2851
|
+
"name": "registerASP",
|
|
2009
2852
|
"inputs": [
|
|
2010
2853
|
{
|
|
2011
|
-
"name": "
|
|
2012
|
-
"type": "
|
|
2013
|
-
"
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
"name": "outputCommitment1",
|
|
2018
|
-
"type": "bytes32",
|
|
2019
|
-
"indexed": true,
|
|
2020
|
-
"internalType": "bytes32"
|
|
2021
|
-
},
|
|
2022
|
-
{
|
|
2023
|
-
"name": "outputCommitment2",
|
|
2024
|
-
"type": "bytes32",
|
|
2025
|
-
"indexed": true,
|
|
2026
|
-
"internalType": "bytes32"
|
|
2027
|
-
},
|
|
2028
|
-
{
|
|
2029
|
-
"name": "encryptedNote1",
|
|
2030
|
-
"type": "bytes",
|
|
2031
|
-
"indexed": false,
|
|
2032
|
-
"internalType": "bytes"
|
|
2033
|
-
},
|
|
2854
|
+
"name": "name",
|
|
2855
|
+
"type": "string",
|
|
2856
|
+
"internalType": "string"
|
|
2857
|
+
}
|
|
2858
|
+
],
|
|
2859
|
+
"outputs": [
|
|
2034
2860
|
{
|
|
2035
|
-
"name": "
|
|
2036
|
-
"type": "
|
|
2037
|
-
"
|
|
2038
|
-
"internalType": "bytes"
|
|
2861
|
+
"name": "aspId",
|
|
2862
|
+
"type": "uint256",
|
|
2863
|
+
"internalType": "uint256"
|
|
2039
2864
|
}
|
|
2040
2865
|
],
|
|
2041
|
-
"
|
|
2866
|
+
"stateMutability": "nonpayable"
|
|
2042
2867
|
},
|
|
2043
2868
|
{
|
|
2044
|
-
"type": "
|
|
2045
|
-
"name": "
|
|
2869
|
+
"type": "function",
|
|
2870
|
+
"name": "renounceRole",
|
|
2046
2871
|
"inputs": [
|
|
2047
2872
|
{
|
|
2048
|
-
"name": "
|
|
2049
|
-
"type": "bytes32",
|
|
2050
|
-
"indexed": true,
|
|
2051
|
-
"internalType": "bytes32"
|
|
2052
|
-
},
|
|
2053
|
-
{
|
|
2054
|
-
"name": "nullifier2",
|
|
2055
|
-
"type": "bytes32",
|
|
2056
|
-
"indexed": true,
|
|
2057
|
-
"internalType": "bytes32"
|
|
2058
|
-
},
|
|
2059
|
-
{
|
|
2060
|
-
"name": "nullifier3",
|
|
2061
|
-
"type": "bytes32",
|
|
2062
|
-
"indexed": false,
|
|
2063
|
-
"internalType": "bytes32"
|
|
2064
|
-
},
|
|
2065
|
-
{
|
|
2066
|
-
"name": "nullifier4",
|
|
2067
|
-
"type": "bytes32",
|
|
2068
|
-
"indexed": false,
|
|
2069
|
-
"internalType": "bytes32"
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"name": "outputCommitment1",
|
|
2073
|
-
"type": "bytes32",
|
|
2074
|
-
"indexed": false,
|
|
2075
|
-
"internalType": "bytes32"
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"name": "outputCommitment2",
|
|
2873
|
+
"name": "role",
|
|
2079
2874
|
"type": "bytes32",
|
|
2080
|
-
"indexed": false,
|
|
2081
2875
|
"internalType": "bytes32"
|
|
2082
2876
|
},
|
|
2083
2877
|
{
|
|
2084
|
-
"name": "
|
|
2085
|
-
"type": "address",
|
|
2086
|
-
"indexed": false,
|
|
2087
|
-
"internalType": "address"
|
|
2088
|
-
},
|
|
2089
|
-
{
|
|
2090
|
-
"name": "token",
|
|
2878
|
+
"name": "callerConfirmation",
|
|
2091
2879
|
"type": "address",
|
|
2092
|
-
"indexed": false,
|
|
2093
2880
|
"internalType": "address"
|
|
2094
2881
|
}
|
|
2095
2882
|
],
|
|
2096
|
-
"
|
|
2883
|
+
"outputs": [],
|
|
2884
|
+
"stateMutability": "nonpayable"
|
|
2097
2885
|
},
|
|
2098
2886
|
{
|
|
2099
|
-
"type": "
|
|
2100
|
-
"name": "
|
|
2887
|
+
"type": "function",
|
|
2888
|
+
"name": "revokeRole",
|
|
2101
2889
|
"inputs": [
|
|
2102
2890
|
{
|
|
2103
|
-
"name": "
|
|
2104
|
-
"type": "bytes32",
|
|
2105
|
-
"indexed": true,
|
|
2106
|
-
"internalType": "bytes32"
|
|
2107
|
-
},
|
|
2108
|
-
{
|
|
2109
|
-
"name": "nullifier1",
|
|
2110
|
-
"type": "bytes32",
|
|
2111
|
-
"indexed": true,
|
|
2112
|
-
"internalType": "bytes32"
|
|
2113
|
-
},
|
|
2114
|
-
{
|
|
2115
|
-
"name": "nullifier2",
|
|
2891
|
+
"name": "role",
|
|
2116
2892
|
"type": "bytes32",
|
|
2117
|
-
"indexed": true,
|
|
2118
2893
|
"internalType": "bytes32"
|
|
2119
2894
|
},
|
|
2120
2895
|
{
|
|
2121
|
-
"name": "
|
|
2122
|
-
"type": "address",
|
|
2123
|
-
"indexed": false,
|
|
2124
|
-
"internalType": "address"
|
|
2125
|
-
},
|
|
2126
|
-
{
|
|
2127
|
-
"name": "token",
|
|
2896
|
+
"name": "account",
|
|
2128
2897
|
"type": "address",
|
|
2129
|
-
"indexed": false,
|
|
2130
2898
|
"internalType": "address"
|
|
2131
2899
|
}
|
|
2132
2900
|
],
|
|
2133
|
-
"
|
|
2901
|
+
"outputs": [],
|
|
2902
|
+
"stateMutability": "nonpayable"
|
|
2134
2903
|
},
|
|
2135
2904
|
{
|
|
2136
|
-
"type": "
|
|
2137
|
-
"name": "
|
|
2138
|
-
"inputs": [
|
|
2139
|
-
{
|
|
2140
|
-
"name": "token",
|
|
2141
|
-
"type": "address",
|
|
2142
|
-
"indexed": true,
|
|
2143
|
-
"internalType": "address"
|
|
2144
|
-
},
|
|
2145
|
-
{
|
|
2146
|
-
"name": "depositor",
|
|
2147
|
-
"type": "address",
|
|
2148
|
-
"indexed": true,
|
|
2149
|
-
"internalType": "address"
|
|
2150
|
-
},
|
|
2151
|
-
{
|
|
2152
|
-
"name": "commitment",
|
|
2153
|
-
"type": "bytes32",
|
|
2154
|
-
"indexed": true,
|
|
2155
|
-
"internalType": "bytes32"
|
|
2156
|
-
},
|
|
2157
|
-
{
|
|
2158
|
-
"name": "leafIndex",
|
|
2159
|
-
"type": "uint256",
|
|
2160
|
-
"indexed": false,
|
|
2161
|
-
"internalType": "uint256"
|
|
2162
|
-
},
|
|
2905
|
+
"type": "function",
|
|
2906
|
+
"name": "supportsInterface",
|
|
2907
|
+
"inputs": [
|
|
2163
2908
|
{
|
|
2164
|
-
"name": "
|
|
2165
|
-
"type": "
|
|
2166
|
-
"
|
|
2167
|
-
"internalType": "bytes"
|
|
2909
|
+
"name": "interfaceId",
|
|
2910
|
+
"type": "bytes4",
|
|
2911
|
+
"internalType": "bytes4"
|
|
2168
2912
|
}
|
|
2169
2913
|
],
|
|
2170
|
-
"
|
|
2914
|
+
"outputs": [
|
|
2915
|
+
{
|
|
2916
|
+
"name": "",
|
|
2917
|
+
"type": "bool",
|
|
2918
|
+
"internalType": "bool"
|
|
2919
|
+
}
|
|
2920
|
+
],
|
|
2921
|
+
"stateMutability": "view"
|
|
2171
2922
|
},
|
|
2172
2923
|
{
|
|
2173
|
-
"type": "
|
|
2174
|
-
"name": "
|
|
2924
|
+
"type": "function",
|
|
2925
|
+
"name": "updateRoot",
|
|
2175
2926
|
"inputs": [
|
|
2176
2927
|
{
|
|
2177
|
-
"name": "
|
|
2178
|
-
"type": "uint128",
|
|
2179
|
-
"indexed": true,
|
|
2180
|
-
"internalType": "uint128"
|
|
2181
|
-
},
|
|
2182
|
-
{
|
|
2183
|
-
"name": "leafIndex",
|
|
2928
|
+
"name": "aspId",
|
|
2184
2929
|
"type": "uint256",
|
|
2185
|
-
"indexed": false,
|
|
2186
2930
|
"internalType": "uint256"
|
|
2187
2931
|
},
|
|
2188
2932
|
{
|
|
2189
|
-
"name": "
|
|
2933
|
+
"name": "newRoot",
|
|
2190
2934
|
"type": "uint256",
|
|
2191
|
-
"indexed": false,
|
|
2192
2935
|
"internalType": "uint256"
|
|
2193
2936
|
}
|
|
2194
2937
|
],
|
|
2195
|
-
"
|
|
2938
|
+
"outputs": [],
|
|
2939
|
+
"stateMutability": "nonpayable"
|
|
2196
2940
|
},
|
|
2197
2941
|
{
|
|
2198
|
-
"type": "
|
|
2199
|
-
"name": "
|
|
2942
|
+
"type": "function",
|
|
2943
|
+
"name": "upgradeToAndCall",
|
|
2200
2944
|
"inputs": [
|
|
2201
2945
|
{
|
|
2202
|
-
"name": "
|
|
2203
|
-
"type": "
|
|
2204
|
-
"
|
|
2205
|
-
"internalType": "bytes32"
|
|
2946
|
+
"name": "newImplementation",
|
|
2947
|
+
"type": "address",
|
|
2948
|
+
"internalType": "address"
|
|
2206
2949
|
},
|
|
2207
2950
|
{
|
|
2208
|
-
"name": "
|
|
2951
|
+
"name": "data",
|
|
2952
|
+
"type": "bytes",
|
|
2953
|
+
"internalType": "bytes"
|
|
2954
|
+
}
|
|
2955
|
+
],
|
|
2956
|
+
"outputs": [],
|
|
2957
|
+
"stateMutability": "payable"
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
"type": "event",
|
|
2961
|
+
"name": "ASPRegistered",
|
|
2962
|
+
"inputs": [
|
|
2963
|
+
{
|
|
2964
|
+
"name": "aspId",
|
|
2209
2965
|
"type": "uint256",
|
|
2210
|
-
"indexed":
|
|
2966
|
+
"indexed": true,
|
|
2211
2967
|
"internalType": "uint256"
|
|
2212
2968
|
},
|
|
2213
2969
|
{
|
|
2214
|
-
"name": "
|
|
2215
|
-
"type": "
|
|
2216
|
-
"indexed":
|
|
2217
|
-
"internalType": "
|
|
2970
|
+
"name": "operator",
|
|
2971
|
+
"type": "address",
|
|
2972
|
+
"indexed": true,
|
|
2973
|
+
"internalType": "address"
|
|
2218
2974
|
},
|
|
2219
2975
|
{
|
|
2220
|
-
"name": "
|
|
2221
|
-
"type": "
|
|
2976
|
+
"name": "name",
|
|
2977
|
+
"type": "string",
|
|
2222
2978
|
"indexed": false,
|
|
2223
|
-
"internalType": "
|
|
2979
|
+
"internalType": "string"
|
|
2224
2980
|
}
|
|
2225
2981
|
],
|
|
2226
2982
|
"anonymous": false
|
|
2227
2983
|
},
|
|
2228
2984
|
{
|
|
2229
2985
|
"type": "event",
|
|
2230
|
-
"name": "
|
|
2986
|
+
"name": "ASPRootUpdated",
|
|
2231
2987
|
"inputs": [
|
|
2232
2988
|
{
|
|
2233
|
-
"name": "
|
|
2234
|
-
"type": "
|
|
2989
|
+
"name": "aspId",
|
|
2990
|
+
"type": "uint256",
|
|
2235
2991
|
"indexed": true,
|
|
2236
|
-
"internalType": "
|
|
2992
|
+
"internalType": "uint256"
|
|
2237
2993
|
},
|
|
2238
2994
|
{
|
|
2239
|
-
"name": "
|
|
2995
|
+
"name": "oldRoot",
|
|
2240
2996
|
"type": "uint256",
|
|
2241
2997
|
"indexed": false,
|
|
2242
2998
|
"internalType": "uint256"
|
|
2243
2999
|
},
|
|
2244
3000
|
{
|
|
2245
|
-
"name": "
|
|
3001
|
+
"name": "newRoot",
|
|
2246
3002
|
"type": "uint256",
|
|
2247
3003
|
"indexed": false,
|
|
2248
3004
|
"internalType": "uint256"
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
"name": "encryptedBuyNote",
|
|
2258
|
-
"type": "bytes",
|
|
2259
|
-
"indexed": false,
|
|
2260
|
-
"internalType": "bytes"
|
|
2261
|
-
},
|
|
2262
|
-
{
|
|
2263
|
-
"name": "refundCommitment",
|
|
2264
|
-
"type": "bytes32",
|
|
2265
|
-
"indexed": false,
|
|
2266
|
-
"internalType": "bytes32"
|
|
2267
|
-
},
|
|
3005
|
+
}
|
|
3006
|
+
],
|
|
3007
|
+
"anonymous": false
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"type": "event",
|
|
3011
|
+
"name": "Initialized",
|
|
3012
|
+
"inputs": [
|
|
2268
3013
|
{
|
|
2269
|
-
"name": "
|
|
2270
|
-
"type": "
|
|
3014
|
+
"name": "version",
|
|
3015
|
+
"type": "uint64",
|
|
2271
3016
|
"indexed": false,
|
|
2272
|
-
"internalType": "
|
|
3017
|
+
"internalType": "uint64"
|
|
2273
3018
|
}
|
|
2274
3019
|
],
|
|
2275
3020
|
"anonymous": false
|
|
2276
3021
|
},
|
|
2277
3022
|
{
|
|
2278
3023
|
"type": "event",
|
|
2279
|
-
"name": "
|
|
3024
|
+
"name": "RoleAdminChanged",
|
|
2280
3025
|
"inputs": [
|
|
2281
3026
|
{
|
|
2282
|
-
"name": "
|
|
3027
|
+
"name": "role",
|
|
2283
3028
|
"type": "bytes32",
|
|
2284
3029
|
"indexed": true,
|
|
2285
3030
|
"internalType": "bytes32"
|
|
2286
3031
|
},
|
|
2287
3032
|
{
|
|
2288
|
-
"name": "
|
|
3033
|
+
"name": "previousAdminRole",
|
|
2289
3034
|
"type": "bytes32",
|
|
2290
3035
|
"indexed": true,
|
|
2291
3036
|
"internalType": "bytes32"
|
|
2292
3037
|
},
|
|
2293
3038
|
{
|
|
2294
|
-
"name": "
|
|
3039
|
+
"name": "newAdminRole",
|
|
2295
3040
|
"type": "bytes32",
|
|
2296
3041
|
"indexed": true,
|
|
2297
3042
|
"internalType": "bytes32"
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"name": "takeAmount",
|
|
2301
|
-
"type": "uint256",
|
|
2302
|
-
"indexed": false,
|
|
2303
|
-
"internalType": "uint256"
|
|
2304
|
-
},
|
|
2305
|
-
{
|
|
2306
|
-
"name": "giveAmount",
|
|
2307
|
-
"type": "uint256",
|
|
2308
|
-
"indexed": false,
|
|
2309
|
-
"internalType": "uint256"
|
|
2310
|
-
},
|
|
2311
|
-
{
|
|
2312
|
-
"name": "fillerAspId",
|
|
2313
|
-
"type": "uint256",
|
|
2314
|
-
"indexed": false,
|
|
2315
|
-
"internalType": "uint256"
|
|
2316
|
-
},
|
|
2317
|
-
{
|
|
2318
|
-
"name": "remainingSellAmount",
|
|
2319
|
-
"type": "uint256",
|
|
2320
|
-
"indexed": false,
|
|
2321
|
-
"internalType": "uint256"
|
|
2322
|
-
},
|
|
2323
|
-
{
|
|
2324
|
-
"name": "encryptedFillerNote",
|
|
2325
|
-
"type": "bytes",
|
|
2326
|
-
"indexed": false,
|
|
2327
|
-
"internalType": "bytes"
|
|
2328
3043
|
}
|
|
2329
3044
|
],
|
|
2330
3045
|
"anonymous": false
|
|
2331
3046
|
},
|
|
2332
3047
|
{
|
|
2333
3048
|
"type": "event",
|
|
2334
|
-
"name": "
|
|
3049
|
+
"name": "RoleGranted",
|
|
2335
3050
|
"inputs": [
|
|
2336
3051
|
{
|
|
2337
|
-
"name": "
|
|
3052
|
+
"name": "role",
|
|
2338
3053
|
"type": "bytes32",
|
|
2339
3054
|
"indexed": true,
|
|
2340
3055
|
"internalType": "bytes32"
|
|
2341
3056
|
},
|
|
2342
3057
|
{
|
|
2343
|
-
"name": "
|
|
3058
|
+
"name": "account",
|
|
2344
3059
|
"type": "address",
|
|
2345
3060
|
"indexed": true,
|
|
2346
3061
|
"internalType": "address"
|
|
2347
3062
|
},
|
|
2348
3063
|
{
|
|
2349
|
-
"name": "
|
|
3064
|
+
"name": "sender",
|
|
2350
3065
|
"type": "address",
|
|
2351
3066
|
"indexed": true,
|
|
2352
3067
|
"internalType": "address"
|
|
2353
|
-
},
|
|
2354
|
-
{
|
|
2355
|
-
"name": "sellAmount",
|
|
2356
|
-
"type": "uint256",
|
|
2357
|
-
"indexed": false,
|
|
2358
|
-
"internalType": "uint256"
|
|
2359
|
-
},
|
|
2360
|
-
{
|
|
2361
|
-
"name": "rate",
|
|
2362
|
-
"type": "uint256",
|
|
2363
|
-
"indexed": false,
|
|
2364
|
-
"internalType": "uint256"
|
|
2365
|
-
},
|
|
2366
|
-
{
|
|
2367
|
-
"name": "makerAspId",
|
|
2368
|
-
"type": "uint256",
|
|
2369
|
-
"indexed": false,
|
|
2370
|
-
"internalType": "uint256"
|
|
2371
|
-
},
|
|
2372
|
-
{
|
|
2373
|
-
"name": "requiredFillerAspId",
|
|
2374
|
-
"type": "uint256",
|
|
2375
|
-
"indexed": false,
|
|
2376
|
-
"internalType": "uint256"
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
"name": "expiry",
|
|
2380
|
-
"type": "uint256",
|
|
2381
|
-
"indexed": false,
|
|
2382
|
-
"internalType": "uint256"
|
|
2383
3068
|
}
|
|
2384
3069
|
],
|
|
2385
3070
|
"anonymous": false
|
|
2386
3071
|
},
|
|
2387
3072
|
{
|
|
2388
3073
|
"type": "event",
|
|
2389
|
-
"name": "
|
|
3074
|
+
"name": "RoleRevoked",
|
|
2390
3075
|
"inputs": [
|
|
2391
3076
|
{
|
|
2392
|
-
"name": "
|
|
3077
|
+
"name": "role",
|
|
2393
3078
|
"type": "bytes32",
|
|
2394
3079
|
"indexed": true,
|
|
2395
3080
|
"internalType": "bytes32"
|
|
2396
3081
|
},
|
|
2397
3082
|
{
|
|
2398
|
-
"name": "
|
|
2399
|
-
"type": "
|
|
3083
|
+
"name": "account",
|
|
3084
|
+
"type": "address",
|
|
2400
3085
|
"indexed": true,
|
|
2401
|
-
"internalType": "
|
|
3086
|
+
"internalType": "address"
|
|
2402
3087
|
},
|
|
2403
3088
|
{
|
|
2404
|
-
"name": "
|
|
2405
|
-
"type": "
|
|
3089
|
+
"name": "sender",
|
|
3090
|
+
"type": "address",
|
|
2406
3091
|
"indexed": true,
|
|
2407
|
-
"internalType": "
|
|
2408
|
-
},
|
|
2409
|
-
{
|
|
2410
|
-
"name": "encryptedNote1",
|
|
2411
|
-
"type": "bytes",
|
|
2412
|
-
"indexed": false,
|
|
2413
|
-
"internalType": "bytes"
|
|
2414
|
-
},
|
|
2415
|
-
{
|
|
2416
|
-
"name": "encryptedNote2",
|
|
2417
|
-
"type": "bytes",
|
|
2418
|
-
"indexed": false,
|
|
2419
|
-
"internalType": "bytes"
|
|
3092
|
+
"internalType": "address"
|
|
2420
3093
|
}
|
|
2421
3094
|
],
|
|
2422
3095
|
"anonymous": false
|
|
2423
3096
|
},
|
|
2424
3097
|
{
|
|
2425
3098
|
"type": "event",
|
|
2426
|
-
"name": "
|
|
3099
|
+
"name": "Upgraded",
|
|
2427
3100
|
"inputs": [
|
|
2428
3101
|
{
|
|
2429
|
-
"name": "
|
|
3102
|
+
"name": "implementation",
|
|
2430
3103
|
"type": "address",
|
|
2431
3104
|
"indexed": true,
|
|
2432
3105
|
"internalType": "address"
|
|
2433
|
-
}
|
|
3106
|
+
}
|
|
3107
|
+
],
|
|
3108
|
+
"anonymous": false
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"type": "error",
|
|
3112
|
+
"name": "ASPNotFound",
|
|
3113
|
+
"inputs": []
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"type": "error",
|
|
3117
|
+
"name": "AccessControlBadConfirmation",
|
|
3118
|
+
"inputs": []
|
|
3119
|
+
},
|
|
3120
|
+
{
|
|
3121
|
+
"type": "error",
|
|
3122
|
+
"name": "AccessControlUnauthorizedAccount",
|
|
3123
|
+
"inputs": [
|
|
2434
3124
|
{
|
|
2435
|
-
"name": "
|
|
3125
|
+
"name": "account",
|
|
2436
3126
|
"type": "address",
|
|
2437
|
-
"indexed": true,
|
|
2438
3127
|
"internalType": "address"
|
|
2439
3128
|
},
|
|
2440
3129
|
{
|
|
2441
|
-
"name": "
|
|
3130
|
+
"name": "neededRole",
|
|
2442
3131
|
"type": "bytes32",
|
|
2443
|
-
"indexed": true,
|
|
2444
3132
|
"internalType": "bytes32"
|
|
2445
|
-
}
|
|
3133
|
+
}
|
|
3134
|
+
]
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"type": "error",
|
|
3138
|
+
"name": "AddressEmptyCode",
|
|
3139
|
+
"inputs": [
|
|
2446
3140
|
{
|
|
2447
|
-
"name": "
|
|
2448
|
-
"type": "
|
|
2449
|
-
"
|
|
2450
|
-
|
|
2451
|
-
|
|
3141
|
+
"name": "target",
|
|
3142
|
+
"type": "address",
|
|
3143
|
+
"internalType": "address"
|
|
3144
|
+
}
|
|
3145
|
+
]
|
|
3146
|
+
},
|
|
3147
|
+
{
|
|
3148
|
+
"type": "error",
|
|
3149
|
+
"name": "ERC1967InvalidImplementation",
|
|
3150
|
+
"inputs": [
|
|
2452
3151
|
{
|
|
2453
|
-
"name": "
|
|
2454
|
-
"type": "
|
|
2455
|
-
"
|
|
2456
|
-
"internalType": "bool"
|
|
3152
|
+
"name": "implementation",
|
|
3153
|
+
"type": "address",
|
|
3154
|
+
"internalType": "address"
|
|
2457
3155
|
}
|
|
2458
|
-
]
|
|
2459
|
-
"anonymous": false
|
|
3156
|
+
]
|
|
2460
3157
|
},
|
|
2461
3158
|
{
|
|
2462
3159
|
"type": "error",
|
|
2463
|
-
"name": "
|
|
3160
|
+
"name": "ERC1967NonPayable",
|
|
2464
3161
|
"inputs": []
|
|
2465
3162
|
},
|
|
2466
3163
|
{
|
|
2467
3164
|
"type": "error",
|
|
2468
|
-
"name": "
|
|
3165
|
+
"name": "FailedCall",
|
|
2469
3166
|
"inputs": []
|
|
2470
3167
|
},
|
|
2471
3168
|
{
|
|
2472
3169
|
"type": "error",
|
|
2473
|
-
"name": "
|
|
3170
|
+
"name": "InvalidInitialization",
|
|
2474
3171
|
"inputs": []
|
|
2475
3172
|
},
|
|
2476
3173
|
{
|
|
2477
3174
|
"type": "error",
|
|
2478
|
-
"name": "
|
|
3175
|
+
"name": "InvalidRoot",
|
|
2479
3176
|
"inputs": []
|
|
2480
3177
|
},
|
|
2481
3178
|
{
|
|
2482
3179
|
"type": "error",
|
|
2483
|
-
"name": "
|
|
3180
|
+
"name": "NotASPOperator",
|
|
3181
|
+
"inputs": []
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
"type": "error",
|
|
3185
|
+
"name": "NotInitializing",
|
|
3186
|
+
"inputs": []
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
"type": "error",
|
|
3190
|
+
"name": "UUPSUnauthorizedCallContext",
|
|
3191
|
+
"inputs": []
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"type": "error",
|
|
3195
|
+
"name": "UUPSUnsupportedProxiableUUID",
|
|
2484
3196
|
"inputs": [
|
|
2485
3197
|
{
|
|
2486
|
-
"name": "
|
|
2487
|
-
"type": "
|
|
2488
|
-
"internalType": "
|
|
3198
|
+
"name": "slot",
|
|
3199
|
+
"type": "bytes32",
|
|
3200
|
+
"internalType": "bytes32"
|
|
2489
3201
|
}
|
|
2490
3202
|
]
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
"type": "error",
|
|
3206
|
+
"name": "ZeroAddress",
|
|
3207
|
+
"inputs": []
|
|
2491
3208
|
}
|
|
2492
3209
|
];
|
|
2493
3210
|
|
|
@@ -3764,71 +4481,79 @@ var TEST_STABLE_TOKEN_2_ABI = [
|
|
|
3764
4481
|
|
|
3765
4482
|
Object.defineProperty(exports, "NOTE_VERSION", {
|
|
3766
4483
|
enumerable: true,
|
|
3767
|
-
get: function () { return
|
|
4484
|
+
get: function () { return chunkHB43C26P_cjs.NOTE_VERSION; }
|
|
4485
|
+
});
|
|
4486
|
+
Object.defineProperty(exports, "checkImplementation", {
|
|
4487
|
+
enumerable: true,
|
|
4488
|
+
get: function () { return chunkHB43C26P_cjs.checkImplementation; }
|
|
3768
4489
|
});
|
|
3769
4490
|
Object.defineProperty(exports, "createNote", {
|
|
3770
4491
|
enumerable: true,
|
|
3771
|
-
get: function () { return
|
|
4492
|
+
get: function () { return chunkHB43C26P_cjs.createNote; }
|
|
3772
4493
|
});
|
|
3773
4494
|
Object.defineProperty(exports, "createUPPClient", {
|
|
3774
4495
|
enumerable: true,
|
|
3775
|
-
get: function () { return
|
|
4496
|
+
get: function () { return chunkHB43C26P_cjs.createUPPClient; }
|
|
3776
4497
|
});
|
|
3777
4498
|
Object.defineProperty(exports, "decryptNote", {
|
|
3778
4499
|
enumerable: true,
|
|
3779
|
-
get: function () { return
|
|
4500
|
+
get: function () { return chunkHB43C26P_cjs.decryptNote; }
|
|
3780
4501
|
});
|
|
3781
4502
|
Object.defineProperty(exports, "encryptNote", {
|
|
3782
4503
|
enumerable: true,
|
|
3783
|
-
get: function () { return
|
|
4504
|
+
get: function () { return chunkHB43C26P_cjs.encryptNote; }
|
|
4505
|
+
});
|
|
4506
|
+
Object.defineProperty(exports, "verifyDeployment", {
|
|
4507
|
+
enumerable: true,
|
|
4508
|
+
get: function () { return chunkHB43C26P_cjs.verifyDeployment; }
|
|
3784
4509
|
});
|
|
3785
4510
|
Object.defineProperty(exports, "buildTransfer", {
|
|
3786
4511
|
enumerable: true,
|
|
3787
|
-
get: function () { return
|
|
4512
|
+
get: function () { return chunkO2SKZZAP_cjs.buildTransfer; }
|
|
3788
4513
|
});
|
|
3789
4514
|
Object.defineProperty(exports, "buildUPPTransferCircuitInputs", {
|
|
3790
4515
|
enumerable: true,
|
|
3791
|
-
get: function () { return
|
|
4516
|
+
get: function () { return chunkO2SKZZAP_cjs.buildUPPTransferCircuitInputs; }
|
|
3792
4517
|
});
|
|
3793
4518
|
Object.defineProperty(exports, "computeNullifier", {
|
|
3794
4519
|
enumerable: true,
|
|
3795
|
-
get: function () { return
|
|
4520
|
+
get: function () { return chunkO2SKZZAP_cjs.computeNullifier; }
|
|
3796
4521
|
});
|
|
3797
4522
|
Object.defineProperty(exports, "formatOutputForContract", {
|
|
3798
4523
|
enumerable: true,
|
|
3799
|
-
get: function () { return
|
|
4524
|
+
get: function () { return chunkO2SKZZAP_cjs.formatOutputForContract; }
|
|
3800
4525
|
});
|
|
3801
4526
|
Object.defineProperty(exports, "getDeployment", {
|
|
3802
4527
|
enumerable: true,
|
|
3803
|
-
get: function () { return
|
|
4528
|
+
get: function () { return chunkO2SKZZAP_cjs.getDeployment; }
|
|
3804
4529
|
});
|
|
3805
4530
|
Object.defineProperty(exports, "getDeploymentOrThrow", {
|
|
3806
4531
|
enumerable: true,
|
|
3807
|
-
get: function () { return
|
|
4532
|
+
get: function () { return chunkO2SKZZAP_cjs.getDeploymentOrThrow; }
|
|
3808
4533
|
});
|
|
3809
4534
|
Object.defineProperty(exports, "getMerkleProofsForNotes", {
|
|
3810
4535
|
enumerable: true,
|
|
3811
|
-
get: function () { return
|
|
4536
|
+
get: function () { return chunkO2SKZZAP_cjs.getMerkleProofsForNotes; }
|
|
3812
4537
|
});
|
|
3813
4538
|
Object.defineProperty(exports, "getSupportedChainIds", {
|
|
3814
4539
|
enumerable: true,
|
|
3815
|
-
get: function () { return
|
|
4540
|
+
get: function () { return chunkO2SKZZAP_cjs.getSupportedChainIds; }
|
|
3816
4541
|
});
|
|
3817
4542
|
Object.defineProperty(exports, "getTokenAddress", {
|
|
3818
4543
|
enumerable: true,
|
|
3819
|
-
get: function () { return
|
|
4544
|
+
get: function () { return chunkO2SKZZAP_cjs.getTokenAddress; }
|
|
3820
4545
|
});
|
|
3821
4546
|
Object.defineProperty(exports, "hasDeployment", {
|
|
3822
4547
|
enumerable: true,
|
|
3823
|
-
get: function () { return
|
|
4548
|
+
get: function () { return chunkO2SKZZAP_cjs.hasDeployment; }
|
|
3824
4549
|
});
|
|
3825
4550
|
Object.defineProperty(exports, "registerDeployment", {
|
|
3826
4551
|
enumerable: true,
|
|
3827
|
-
get: function () { return
|
|
4552
|
+
get: function () { return chunkO2SKZZAP_cjs.registerDeployment; }
|
|
3828
4553
|
});
|
|
3829
4554
|
Object.defineProperty(exports, "syncMerkleTree", {
|
|
3830
4555
|
enumerable: true,
|
|
3831
|
-
get: function () { return
|
|
4556
|
+
get: function () { return chunkO2SKZZAP_cjs.syncMerkleTree; }
|
|
3832
4557
|
});
|
|
3833
4558
|
Object.defineProperty(exports, "ASP_TREE_DEPTH", {
|
|
3834
4559
|
enumerable: true,
|
|
@@ -3868,7 +4593,7 @@ Object.defineProperty(exports, "verifyProof", {
|
|
|
3868
4593
|
});
|
|
3869
4594
|
Object.defineProperty(exports, "makeRpcIndexer", {
|
|
3870
4595
|
enumerable: true,
|
|
3871
|
-
get: function () { return
|
|
4596
|
+
get: function () { return chunkDKJNSLBS_cjs.makeRpcIndexer; }
|
|
3872
4597
|
});
|
|
3873
4598
|
Object.defineProperty(exports, "DEFAULT_KEY_DERIVATION_CONFIG", {
|
|
3874
4599
|
enumerable: true,
|
|
@@ -4366,10 +5091,7 @@ Object.defineProperty(exports, "toFieldElement", {
|
|
|
4366
5091
|
enumerable: true,
|
|
4367
5092
|
get: function () { return chunkHEHXSV47_cjs.toFieldElement; }
|
|
4368
5093
|
});
|
|
4369
|
-
|
|
4370
|
-
enumerable: true,
|
|
4371
|
-
get: function () { return upcSdk.ASP_REGISTRY_HUB_ABI; }
|
|
4372
|
-
});
|
|
5094
|
+
exports.ASP_REGISTRY_HUB_ABI = ASP_REGISTRY_HUB_ABI;
|
|
4373
5095
|
exports.TEST_STABLE_TOKEN_2_ABI = TEST_STABLE_TOKEN_2_ABI;
|
|
4374
5096
|
exports.TEST_STABLE_TOKEN_ABI = TEST_STABLE_TOKEN_ABI;
|
|
4375
5097
|
exports.UNIVERSAL_PRIVATE_POOL_ABI = UNIVERSAL_PRIVATE_POOL_ABI;
|