@invisi-labs/protocol 1.1.7 → 1.2.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/README.md +5 -0
- package/dist/chunk-7SS2YSEF.js +199 -0
- package/dist/chunk-7SS2YSEF.js.map +1 -0
- package/dist/{chunk-BYJ4LXCJ.js → chunk-HHJLFLVJ.js} +616 -714
- package/dist/chunk-HHJLFLVJ.js.map +1 -0
- package/dist/chunk-MVQQD5W5.js +487 -0
- package/dist/chunk-MVQQD5W5.js.map +1 -0
- package/dist/chunk-Z2XPYNMC.js +446 -0
- package/dist/chunk-Z2XPYNMC.js.map +1 -0
- package/dist/contracts.cjs +615 -713
- package/dist/contracts.cjs.map +1 -1
- package/dist/contracts.d.cts +5 -5
- package/dist/contracts.d.ts +5 -5
- package/dist/contracts.js +1 -1
- package/dist/credit.cjs +3367 -0
- package/dist/credit.cjs.map +1 -0
- package/dist/credit.d.cts +252 -0
- package/dist/credit.d.ts +252 -0
- package/dist/credit.js +53 -0
- package/dist/credit.js.map +1 -0
- package/dist/index.cjs +6054 -6053
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +89 -893
- package/dist/index.d.ts +89 -893
- package/dist/index.js +2956 -3762
- package/dist/index.js.map +1 -1
- package/dist/note.cjs +3456 -0
- package/dist/note.cjs.map +1 -0
- package/dist/note.d.cts +232 -0
- package/dist/note.d.ts +232 -0
- package/dist/note.js +43 -0
- package/dist/note.js.map +1 -0
- package/dist/provenance.cjs +558 -0
- package/dist/provenance.cjs.map +1 -0
- package/dist/provenance.d.cts +188 -0
- package/dist/provenance.d.ts +188 -0
- package/dist/provenance.js +499 -0
- package/dist/provenance.js.map +1 -0
- package/dist/{types-Bvakbfeb.d.cts → types-CUnFzl5S.d.cts} +530 -590
- package/dist/{types-Bvakbfeb.d.ts → types-CUnFzl5S.d.ts} +530 -590
- package/dist/validation-8g0SQVE5.d.ts +235 -0
- package/dist/validation-MgURYiNF.d.cts +235 -0
- package/package.json +20 -5
- package/dist/chunk-BYJ4LXCJ.js.map +0 -1
package/dist/contracts.cjs
CHANGED
|
@@ -189,78 +189,6 @@ var invisiProtocolAbi = [
|
|
|
189
189
|
],
|
|
190
190
|
"stateMutability": "view"
|
|
191
191
|
},
|
|
192
|
-
{
|
|
193
|
-
"type": "function",
|
|
194
|
-
"name": "cancelCredit",
|
|
195
|
-
"inputs": [
|
|
196
|
-
{
|
|
197
|
-
"name": "",
|
|
198
|
-
"type": "bytes",
|
|
199
|
-
"internalType": "bytes"
|
|
200
|
-
},
|
|
201
|
-
{
|
|
202
|
-
"name": "p",
|
|
203
|
-
"type": "tuple",
|
|
204
|
-
"internalType": "struct IInvisiProtocol.CancelCreditParams",
|
|
205
|
-
"components": [
|
|
206
|
-
{
|
|
207
|
-
"name": "token",
|
|
208
|
-
"type": "address",
|
|
209
|
-
"internalType": "address"
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"name": "source",
|
|
213
|
-
"type": "tuple",
|
|
214
|
-
"internalType": "struct IInvisiProtocol.InputSource",
|
|
215
|
-
"components": [
|
|
216
|
-
{
|
|
217
|
-
"name": "treeId",
|
|
218
|
-
"type": "uint256",
|
|
219
|
-
"internalType": "uint256"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"name": "merkleRoot",
|
|
223
|
-
"type": "bytes32",
|
|
224
|
-
"internalType": "bytes32"
|
|
225
|
-
}
|
|
226
|
-
]
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"name": "nullifier",
|
|
230
|
-
"type": "bytes32",
|
|
231
|
-
"internalType": "bytes32"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"name": "owner",
|
|
235
|
-
"type": "address",
|
|
236
|
-
"internalType": "address"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "amount",
|
|
240
|
-
"type": "uint256",
|
|
241
|
-
"internalType": "uint256"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"name": "deadline",
|
|
245
|
-
"type": "uint256",
|
|
246
|
-
"internalType": "uint256"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"name": "feeRecipient",
|
|
250
|
-
"type": "address",
|
|
251
|
-
"internalType": "address"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"name": "feeAmount",
|
|
255
|
-
"type": "uint256",
|
|
256
|
-
"internalType": "uint256"
|
|
257
|
-
}
|
|
258
|
-
]
|
|
259
|
-
}
|
|
260
|
-
],
|
|
261
|
-
"outputs": [],
|
|
262
|
-
"stateMutability": "nonpayable"
|
|
263
|
-
},
|
|
264
192
|
{
|
|
265
193
|
"type": "function",
|
|
266
194
|
"name": "circuitPaused",
|
|
@@ -294,47 +222,25 @@ var invisiProtocolAbi = [
|
|
|
294
222
|
"internalType": "address"
|
|
295
223
|
},
|
|
296
224
|
{
|
|
297
|
-
"name": "
|
|
298
|
-
"type": "
|
|
299
|
-
"internalType": "
|
|
300
|
-
"components": [
|
|
301
|
-
{
|
|
302
|
-
"name": "treeId",
|
|
303
|
-
"type": "uint256",
|
|
304
|
-
"internalType": "uint256"
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"name": "merkleRoot",
|
|
308
|
-
"type": "bytes32",
|
|
309
|
-
"internalType": "bytes32"
|
|
310
|
-
}
|
|
311
|
-
]
|
|
225
|
+
"name": "owner",
|
|
226
|
+
"type": "address",
|
|
227
|
+
"internalType": "address"
|
|
312
228
|
},
|
|
313
229
|
{
|
|
314
|
-
"name": "
|
|
315
|
-
"type": "
|
|
316
|
-
"internalType": "
|
|
230
|
+
"name": "revocationShard",
|
|
231
|
+
"type": "uint64",
|
|
232
|
+
"internalType": "uint64"
|
|
317
233
|
},
|
|
318
234
|
{
|
|
319
|
-
"name": "
|
|
320
|
-
"type": "
|
|
321
|
-
"internalType": "
|
|
235
|
+
"name": "revocationSlot",
|
|
236
|
+
"type": "uint16",
|
|
237
|
+
"internalType": "uint16"
|
|
322
238
|
},
|
|
323
239
|
{
|
|
324
|
-
"name": "
|
|
240
|
+
"name": "creditCommitment",
|
|
325
241
|
"type": "bytes32",
|
|
326
242
|
"internalType": "bytes32"
|
|
327
243
|
},
|
|
328
|
-
{
|
|
329
|
-
"name": "owner",
|
|
330
|
-
"type": "address",
|
|
331
|
-
"internalType": "address"
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
"name": "expiry",
|
|
335
|
-
"type": "uint256",
|
|
336
|
-
"internalType": "uint256"
|
|
337
|
-
},
|
|
338
244
|
{
|
|
339
245
|
"name": "deadline",
|
|
340
246
|
"type": "uint256",
|
|
@@ -368,70 +274,40 @@ var invisiProtocolAbi = [
|
|
|
368
274
|
"internalType": "bytes"
|
|
369
275
|
}
|
|
370
276
|
]
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
"name": "",
|
|
374
|
-
"type": "tuple",
|
|
375
|
-
"internalType": "struct IInvisiProtocol.FundingParams",
|
|
376
|
-
"components": [
|
|
377
|
-
{
|
|
378
|
-
"name": "payer",
|
|
379
|
-
"type": "address",
|
|
380
|
-
"internalType": "address"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"name": "amount",
|
|
384
|
-
"type": "uint256",
|
|
385
|
-
"internalType": "uint256"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"name": "sigNonce",
|
|
389
|
-
"type": "uint256",
|
|
390
|
-
"internalType": "uint256"
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"name": "deadline",
|
|
394
|
-
"type": "uint256",
|
|
395
|
-
"internalType": "uint256"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"name": "signature",
|
|
399
|
-
"type": "bytes",
|
|
400
|
-
"internalType": "bytes"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"name": "permit",
|
|
404
|
-
"type": "tuple",
|
|
405
|
-
"internalType": "struct IMetaTx.TokenPermit",
|
|
406
|
-
"components": [
|
|
407
|
-
{
|
|
408
|
-
"name": "deadline",
|
|
409
|
-
"type": "uint256",
|
|
410
|
-
"internalType": "uint256"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"name": "v",
|
|
414
|
-
"type": "uint8",
|
|
415
|
-
"internalType": "uint8"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"name": "r",
|
|
419
|
-
"type": "bytes32",
|
|
420
|
-
"internalType": "bytes32"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"name": "s",
|
|
424
|
-
"type": "bytes32",
|
|
425
|
-
"internalType": "bytes32"
|
|
426
|
-
}
|
|
427
|
-
]
|
|
428
|
-
}
|
|
429
|
-
]
|
|
430
277
|
}
|
|
431
278
|
],
|
|
432
279
|
"outputs": [],
|
|
433
280
|
"stateMutability": "nonpayable"
|
|
434
281
|
},
|
|
282
|
+
{
|
|
283
|
+
"type": "function",
|
|
284
|
+
"name": "creditAllocation",
|
|
285
|
+
"inputs": [
|
|
286
|
+
{
|
|
287
|
+
"name": "owner",
|
|
288
|
+
"type": "address",
|
|
289
|
+
"internalType": "address"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "token",
|
|
293
|
+
"type": "address",
|
|
294
|
+
"internalType": "address"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"outputs": [
|
|
298
|
+
{
|
|
299
|
+
"name": "shard",
|
|
300
|
+
"type": "uint64",
|
|
301
|
+
"internalType": "uint64"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "slot",
|
|
305
|
+
"type": "uint16",
|
|
306
|
+
"internalType": "uint16"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"stateMutability": "view"
|
|
310
|
+
},
|
|
435
311
|
{
|
|
436
312
|
"type": "function",
|
|
437
313
|
"name": "creditDraw",
|
|
@@ -468,30 +344,64 @@ var invisiProtocolAbi = [
|
|
|
468
344
|
}
|
|
469
345
|
]
|
|
470
346
|
},
|
|
347
|
+
{
|
|
348
|
+
"name": "payers",
|
|
349
|
+
"type": "tuple[]",
|
|
350
|
+
"internalType": "struct IInvisiProtocol.CreditPayer[]",
|
|
351
|
+
"components": [
|
|
352
|
+
{
|
|
353
|
+
"name": "payer",
|
|
354
|
+
"type": "address",
|
|
355
|
+
"internalType": "address"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "amount",
|
|
359
|
+
"type": "uint256",
|
|
360
|
+
"internalType": "uint256"
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"name": "grantRefs",
|
|
366
|
+
"type": "tuple[]",
|
|
367
|
+
"internalType": "struct IInvisiProtocol.CreditGrantRef[]",
|
|
368
|
+
"components": [
|
|
369
|
+
{
|
|
370
|
+
"name": "payerIndex",
|
|
371
|
+
"type": "uint256",
|
|
372
|
+
"internalType": "uint256"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "shard",
|
|
376
|
+
"type": "uint64",
|
|
377
|
+
"internalType": "uint64"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "slot",
|
|
381
|
+
"type": "uint16",
|
|
382
|
+
"internalType": "uint16"
|
|
383
|
+
}
|
|
384
|
+
]
|
|
385
|
+
},
|
|
471
386
|
{
|
|
472
387
|
"name": "nullifiers",
|
|
473
388
|
"type": "bytes32[]",
|
|
474
389
|
"internalType": "bytes32[]"
|
|
475
390
|
},
|
|
476
391
|
{
|
|
477
|
-
"name": "
|
|
392
|
+
"name": "creditCommitments",
|
|
478
393
|
"type": "bytes32[]",
|
|
479
394
|
"internalType": "bytes32[]"
|
|
480
395
|
},
|
|
481
|
-
{
|
|
482
|
-
"name": "expiries",
|
|
483
|
-
"type": "uint256[]",
|
|
484
|
-
"internalType": "uint256[]"
|
|
485
|
-
},
|
|
486
396
|
{
|
|
487
397
|
"name": "recoveryAmounts",
|
|
488
398
|
"type": "bytes32[]",
|
|
489
399
|
"internalType": "bytes32[]"
|
|
490
400
|
},
|
|
491
401
|
{
|
|
492
|
-
"name": "
|
|
493
|
-
"type": "
|
|
494
|
-
"internalType": "
|
|
402
|
+
"name": "noteCommitment",
|
|
403
|
+
"type": "bytes32",
|
|
404
|
+
"internalType": "bytes32"
|
|
495
405
|
},
|
|
496
406
|
{
|
|
497
407
|
"name": "totalAmount",
|
|
@@ -502,6 +412,16 @@ var invisiProtocolAbi = [
|
|
|
502
412
|
"name": "deadline",
|
|
503
413
|
"type": "uint256",
|
|
504
414
|
"internalType": "uint256"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "feeRecipient",
|
|
418
|
+
"type": "address",
|
|
419
|
+
"internalType": "address"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "feeAmount",
|
|
423
|
+
"type": "uint256",
|
|
424
|
+
"internalType": "uint256"
|
|
505
425
|
}
|
|
506
426
|
]
|
|
507
427
|
},
|
|
@@ -526,6 +446,40 @@ var invisiProtocolAbi = [
|
|
|
526
446
|
"outputs": [],
|
|
527
447
|
"stateMutability": "nonpayable"
|
|
528
448
|
},
|
|
449
|
+
{
|
|
450
|
+
"type": "function",
|
|
451
|
+
"name": "creditRevocationBitmap",
|
|
452
|
+
"inputs": [
|
|
453
|
+
{
|
|
454
|
+
"name": "owner",
|
|
455
|
+
"type": "address",
|
|
456
|
+
"internalType": "address"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"name": "token",
|
|
460
|
+
"type": "address",
|
|
461
|
+
"internalType": "address"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "shard",
|
|
465
|
+
"type": "uint64",
|
|
466
|
+
"internalType": "uint64"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "word",
|
|
470
|
+
"type": "uint8",
|
|
471
|
+
"internalType": "uint8"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"outputs": [
|
|
475
|
+
{
|
|
476
|
+
"name": "",
|
|
477
|
+
"type": "uint256",
|
|
478
|
+
"internalType": "uint256"
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"stateMutability": "view"
|
|
482
|
+
},
|
|
529
483
|
{
|
|
530
484
|
"type": "function",
|
|
531
485
|
"name": "eip712Domain",
|
|
@@ -668,10 +622,10 @@ var invisiProtocolAbi = [
|
|
|
668
622
|
},
|
|
669
623
|
{
|
|
670
624
|
"type": "function",
|
|
671
|
-
"name": "
|
|
625
|
+
"name": "isCommitmentRegistered",
|
|
672
626
|
"inputs": [
|
|
673
627
|
{
|
|
674
|
-
"name": "
|
|
628
|
+
"name": "commitment",
|
|
675
629
|
"type": "bytes32",
|
|
676
630
|
"internalType": "bytes32"
|
|
677
631
|
}
|
|
@@ -802,6 +756,54 @@ var invisiProtocolAbi = [
|
|
|
802
756
|
"outputs": [],
|
|
803
757
|
"stateMutability": "nonpayable"
|
|
804
758
|
},
|
|
759
|
+
{
|
|
760
|
+
"type": "function",
|
|
761
|
+
"name": "revokeCredit",
|
|
762
|
+
"inputs": [
|
|
763
|
+
{
|
|
764
|
+
"name": "token",
|
|
765
|
+
"type": "address",
|
|
766
|
+
"internalType": "address"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"name": "owner",
|
|
770
|
+
"type": "address",
|
|
771
|
+
"internalType": "address"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"name": "shard",
|
|
775
|
+
"type": "uint64",
|
|
776
|
+
"internalType": "uint64"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"name": "slot",
|
|
780
|
+
"type": "uint16",
|
|
781
|
+
"internalType": "uint16"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "deadline",
|
|
785
|
+
"type": "uint256",
|
|
786
|
+
"internalType": "uint256"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "feeRecipient",
|
|
790
|
+
"type": "address",
|
|
791
|
+
"internalType": "address"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"name": "feeAmount",
|
|
795
|
+
"type": "uint256",
|
|
796
|
+
"internalType": "uint256"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"name": "signature",
|
|
800
|
+
"type": "bytes",
|
|
801
|
+
"internalType": "bytes"
|
|
802
|
+
}
|
|
803
|
+
],
|
|
804
|
+
"outputs": [],
|
|
805
|
+
"stateMutability": "nonpayable"
|
|
806
|
+
},
|
|
805
807
|
{
|
|
806
808
|
"type": "function",
|
|
807
809
|
"name": "rootHistory",
|
|
@@ -844,103 +846,32 @@ var invisiProtocolAbi = [
|
|
|
844
846
|
"name": "setScreener",
|
|
845
847
|
"inputs": [
|
|
846
848
|
{
|
|
847
|
-
"name": "newScreener",
|
|
848
|
-
"type": "address",
|
|
849
|
-
"internalType": "address"
|
|
850
|
-
}
|
|
851
|
-
],
|
|
852
|
-
"outputs": [],
|
|
853
|
-
"stateMutability": "nonpayable"
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
"type": "function",
|
|
857
|
-
"name": "shield",
|
|
858
|
-
"inputs": [
|
|
859
|
-
{
|
|
860
|
-
"name": "p",
|
|
861
|
-
"type": "tuple",
|
|
862
|
-
"internalType": "struct IInvisiProtocol.ShieldParams",
|
|
863
|
-
"components": [
|
|
864
|
-
{
|
|
865
|
-
"name": "token",
|
|
866
|
-
"type": "address",
|
|
867
|
-
"internalType": "address"
|
|
868
|
-
},
|
|
869
|
-
{
|
|
870
|
-
"name": "outputCommitments",
|
|
871
|
-
"type": "bytes32[]",
|
|
872
|
-
"internalType": "bytes32[]"
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"name": "deadline",
|
|
876
|
-
"type": "uint256",
|
|
877
|
-
"internalType": "uint256"
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
"name": "feeRecipient",
|
|
881
|
-
"type": "address",
|
|
882
|
-
"internalType": "address"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"name": "feeAmount",
|
|
886
|
-
"type": "uint256",
|
|
887
|
-
"internalType": "uint256"
|
|
888
|
-
}
|
|
889
|
-
]
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
"name": "",
|
|
893
|
-
"type": "tuple[]",
|
|
894
|
-
"internalType": "struct IInvisiProtocol.ShieldOutput[]",
|
|
895
|
-
"components": [
|
|
896
|
-
{
|
|
897
|
-
"name": "identity",
|
|
898
|
-
"type": "bytes32",
|
|
899
|
-
"internalType": "bytes32"
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
"name": "amount",
|
|
903
|
-
"type": "uint256",
|
|
904
|
-
"internalType": "uint256"
|
|
905
|
-
}
|
|
906
|
-
]
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"name": "",
|
|
910
|
-
"type": "tuple[]",
|
|
911
|
-
"internalType": "struct IInvisiProtocol.Delivery[]",
|
|
912
|
-
"components": [
|
|
913
|
-
{
|
|
914
|
-
"name": "ciphertext",
|
|
915
|
-
"type": "bytes",
|
|
916
|
-
"internalType": "bytes"
|
|
917
|
-
},
|
|
918
|
-
{
|
|
919
|
-
"name": "clue",
|
|
920
|
-
"type": "bytes",
|
|
921
|
-
"internalType": "bytes"
|
|
922
|
-
}
|
|
923
|
-
]
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
"name": "",
|
|
849
|
+
"name": "newScreener",
|
|
850
|
+
"type": "address",
|
|
851
|
+
"internalType": "address"
|
|
852
|
+
}
|
|
853
|
+
],
|
|
854
|
+
"outputs": [],
|
|
855
|
+
"stateMutability": "nonpayable"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"type": "function",
|
|
859
|
+
"name": "shield",
|
|
860
|
+
"inputs": [
|
|
861
|
+
{
|
|
862
|
+
"name": "p",
|
|
927
863
|
"type": "tuple",
|
|
928
|
-
"internalType": "struct IInvisiProtocol.
|
|
864
|
+
"internalType": "struct IInvisiProtocol.ShieldParams",
|
|
929
865
|
"components": [
|
|
930
866
|
{
|
|
931
|
-
"name": "
|
|
867
|
+
"name": "token",
|
|
932
868
|
"type": "address",
|
|
933
869
|
"internalType": "address"
|
|
934
870
|
},
|
|
935
871
|
{
|
|
936
|
-
"name": "
|
|
937
|
-
"type": "
|
|
938
|
-
"internalType": "
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"name": "sigNonce",
|
|
942
|
-
"type": "uint256",
|
|
943
|
-
"internalType": "uint256"
|
|
872
|
+
"name": "noteCommitments",
|
|
873
|
+
"type": "bytes32[]",
|
|
874
|
+
"internalType": "bytes32[]"
|
|
944
875
|
},
|
|
945
876
|
{
|
|
946
877
|
"name": "deadline",
|
|
@@ -948,150 +879,29 @@ var invisiProtocolAbi = [
|
|
|
948
879
|
"internalType": "uint256"
|
|
949
880
|
},
|
|
950
881
|
{
|
|
951
|
-
"name": "
|
|
952
|
-
"type": "
|
|
953
|
-
"internalType": "
|
|
882
|
+
"name": "feeRecipient",
|
|
883
|
+
"type": "address",
|
|
884
|
+
"internalType": "address"
|
|
954
885
|
},
|
|
955
886
|
{
|
|
956
|
-
"name": "
|
|
957
|
-
"type": "
|
|
958
|
-
"internalType": "
|
|
959
|
-
"components": [
|
|
960
|
-
{
|
|
961
|
-
"name": "deadline",
|
|
962
|
-
"type": "uint256",
|
|
963
|
-
"internalType": "uint256"
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
"name": "v",
|
|
967
|
-
"type": "uint8",
|
|
968
|
-
"internalType": "uint8"
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"name": "r",
|
|
972
|
-
"type": "bytes32",
|
|
973
|
-
"internalType": "bytes32"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"name": "s",
|
|
977
|
-
"type": "bytes32",
|
|
978
|
-
"internalType": "bytes32"
|
|
979
|
-
}
|
|
980
|
-
]
|
|
887
|
+
"name": "feeAmount",
|
|
888
|
+
"type": "uint256",
|
|
889
|
+
"internalType": "uint256"
|
|
981
890
|
}
|
|
982
891
|
]
|
|
983
|
-
}
|
|
984
|
-
],
|
|
985
|
-
"outputs": [],
|
|
986
|
-
"stateMutability": "nonpayable"
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"type": "function",
|
|
990
|
-
"name": "topUpCredit",
|
|
991
|
-
"inputs": [
|
|
992
|
-
{
|
|
993
|
-
"name": "",
|
|
994
|
-
"type": "bytes",
|
|
995
|
-
"internalType": "bytes"
|
|
996
892
|
},
|
|
997
893
|
{
|
|
998
|
-
"name": "
|
|
999
|
-
"type": "tuple",
|
|
1000
|
-
"internalType": "struct IInvisiProtocol.
|
|
894
|
+
"name": "",
|
|
895
|
+
"type": "tuple[]",
|
|
896
|
+
"internalType": "struct IInvisiProtocol.ShieldOutput[]",
|
|
1001
897
|
"components": [
|
|
1002
898
|
{
|
|
1003
|
-
"name": "
|
|
1004
|
-
"type": "tuple",
|
|
1005
|
-
"internalType": "struct IInvisiProtocol.CreateCreditParams",
|
|
1006
|
-
"components": [
|
|
1007
|
-
{
|
|
1008
|
-
"name": "token",
|
|
1009
|
-
"type": "address",
|
|
1010
|
-
"internalType": "address"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
"name": "sources",
|
|
1014
|
-
"type": "tuple[]",
|
|
1015
|
-
"internalType": "struct IInvisiProtocol.InputSource[]",
|
|
1016
|
-
"components": [
|
|
1017
|
-
{
|
|
1018
|
-
"name": "treeId",
|
|
1019
|
-
"type": "uint256",
|
|
1020
|
-
"internalType": "uint256"
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
"name": "merkleRoot",
|
|
1024
|
-
"type": "bytes32",
|
|
1025
|
-
"internalType": "bytes32"
|
|
1026
|
-
}
|
|
1027
|
-
]
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
"name": "nullifiers",
|
|
1031
|
-
"type": "bytes32[]",
|
|
1032
|
-
"internalType": "bytes32[]"
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
"name": "creditCommitment",
|
|
1036
|
-
"type": "bytes32",
|
|
1037
|
-
"internalType": "bytes32"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
"name": "changeCommitment",
|
|
1041
|
-
"type": "bytes32",
|
|
1042
|
-
"internalType": "bytes32"
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
"name": "owner",
|
|
1046
|
-
"type": "address",
|
|
1047
|
-
"internalType": "address"
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
"name": "expiry",
|
|
1051
|
-
"type": "uint256",
|
|
1052
|
-
"internalType": "uint256"
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"name": "deadline",
|
|
1056
|
-
"type": "uint256",
|
|
1057
|
-
"internalType": "uint256"
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
|
-
"name": "feeRecipient",
|
|
1061
|
-
"type": "address",
|
|
1062
|
-
"internalType": "address"
|
|
1063
|
-
},
|
|
1064
|
-
{
|
|
1065
|
-
"name": "feeAmount",
|
|
1066
|
-
"type": "uint256",
|
|
1067
|
-
"internalType": "uint256"
|
|
1068
|
-
}
|
|
1069
|
-
]
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"name": "creditSource",
|
|
1073
|
-
"type": "tuple",
|
|
1074
|
-
"internalType": "struct IInvisiProtocol.InputSource",
|
|
1075
|
-
"components": [
|
|
1076
|
-
{
|
|
1077
|
-
"name": "treeId",
|
|
1078
|
-
"type": "uint256",
|
|
1079
|
-
"internalType": "uint256"
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
"name": "merkleRoot",
|
|
1083
|
-
"type": "bytes32",
|
|
1084
|
-
"internalType": "bytes32"
|
|
1085
|
-
}
|
|
1086
|
-
]
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
"name": "creditNullifier",
|
|
899
|
+
"name": "identity",
|
|
1090
900
|
"type": "bytes32",
|
|
1091
901
|
"internalType": "bytes32"
|
|
1092
902
|
},
|
|
1093
903
|
{
|
|
1094
|
-
"name": "
|
|
904
|
+
"name": "amount",
|
|
1095
905
|
"type": "uint256",
|
|
1096
906
|
"internalType": "uint256"
|
|
1097
907
|
}
|
|
@@ -1224,7 +1034,7 @@ var invisiProtocolAbi = [
|
|
|
1224
1034
|
"internalType": "bytes32[]"
|
|
1225
1035
|
},
|
|
1226
1036
|
{
|
|
1227
|
-
"name": "
|
|
1037
|
+
"name": "noteCommitments",
|
|
1228
1038
|
"type": "bytes32[]",
|
|
1229
1039
|
"internalType": "bytes32[]"
|
|
1230
1040
|
},
|
|
@@ -1384,7 +1194,7 @@ var invisiProtocolAbi = [
|
|
|
1384
1194
|
"internalType": "bytes32[]"
|
|
1385
1195
|
},
|
|
1386
1196
|
{
|
|
1387
|
-
"name": "
|
|
1197
|
+
"name": "noteCommitments",
|
|
1388
1198
|
"type": "bytes32[]",
|
|
1389
1199
|
"internalType": "bytes32[]"
|
|
1390
1200
|
},
|
|
@@ -1492,38 +1302,137 @@ var invisiProtocolAbi = [
|
|
|
1492
1302
|
]
|
|
1493
1303
|
}
|
|
1494
1304
|
]
|
|
1495
|
-
}
|
|
1496
|
-
],
|
|
1497
|
-
"outputs": [],
|
|
1498
|
-
"stateMutability": "nonpayable"
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
"type": "function",
|
|
1502
|
-
"name": "transferOwnership",
|
|
1503
|
-
"inputs": [
|
|
1305
|
+
}
|
|
1306
|
+
],
|
|
1307
|
+
"outputs": [],
|
|
1308
|
+
"stateMutability": "nonpayable"
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"type": "function",
|
|
1312
|
+
"name": "transferOwnership",
|
|
1313
|
+
"inputs": [
|
|
1314
|
+
{
|
|
1315
|
+
"name": "newOwner",
|
|
1316
|
+
"type": "address",
|
|
1317
|
+
"internalType": "address"
|
|
1318
|
+
}
|
|
1319
|
+
],
|
|
1320
|
+
"outputs": [],
|
|
1321
|
+
"stateMutability": "nonpayable"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"type": "function",
|
|
1325
|
+
"name": "unpause",
|
|
1326
|
+
"inputs": [],
|
|
1327
|
+
"outputs": [],
|
|
1328
|
+
"stateMutability": "nonpayable"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"type": "function",
|
|
1332
|
+
"name": "unpauseCircuit",
|
|
1333
|
+
"inputs": [],
|
|
1334
|
+
"outputs": [],
|
|
1335
|
+
"stateMutability": "nonpayable"
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"type": "function",
|
|
1339
|
+
"name": "updateCredit",
|
|
1340
|
+
"inputs": [
|
|
1341
|
+
{
|
|
1342
|
+
"name": "",
|
|
1343
|
+
"type": "bytes",
|
|
1344
|
+
"internalType": "bytes"
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "p",
|
|
1348
|
+
"type": "tuple",
|
|
1349
|
+
"internalType": "struct IInvisiProtocol.UpdateCreditParams",
|
|
1350
|
+
"components": [
|
|
1351
|
+
{
|
|
1352
|
+
"name": "token",
|
|
1353
|
+
"type": "address",
|
|
1354
|
+
"internalType": "address"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"name": "owner",
|
|
1358
|
+
"type": "address",
|
|
1359
|
+
"internalType": "address"
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"name": "source",
|
|
1363
|
+
"type": "tuple",
|
|
1364
|
+
"internalType": "struct IInvisiProtocol.InputSource",
|
|
1365
|
+
"components": [
|
|
1366
|
+
{
|
|
1367
|
+
"name": "treeId",
|
|
1368
|
+
"type": "uint256",
|
|
1369
|
+
"internalType": "uint256"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "merkleRoot",
|
|
1373
|
+
"type": "bytes32",
|
|
1374
|
+
"internalType": "bytes32"
|
|
1375
|
+
}
|
|
1376
|
+
]
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"name": "nullifier",
|
|
1380
|
+
"type": "bytes32",
|
|
1381
|
+
"internalType": "bytes32"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"name": "creditCommitment",
|
|
1385
|
+
"type": "bytes32",
|
|
1386
|
+
"internalType": "bytes32"
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "revocationShard",
|
|
1390
|
+
"type": "uint64",
|
|
1391
|
+
"internalType": "uint64"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "revocationSlot",
|
|
1395
|
+
"type": "uint16",
|
|
1396
|
+
"internalType": "uint16"
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "deadline",
|
|
1400
|
+
"type": "uint256",
|
|
1401
|
+
"internalType": "uint256"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"name": "feeRecipient",
|
|
1405
|
+
"type": "address",
|
|
1406
|
+
"internalType": "address"
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "feeAmount",
|
|
1410
|
+
"type": "uint256",
|
|
1411
|
+
"internalType": "uint256"
|
|
1412
|
+
}
|
|
1413
|
+
]
|
|
1414
|
+
},
|
|
1504
1415
|
{
|
|
1505
|
-
"name": "
|
|
1506
|
-
"type": "
|
|
1507
|
-
"internalType": "
|
|
1416
|
+
"name": "",
|
|
1417
|
+
"type": "tuple[]",
|
|
1418
|
+
"internalType": "struct IInvisiProtocol.Delivery[]",
|
|
1419
|
+
"components": [
|
|
1420
|
+
{
|
|
1421
|
+
"name": "ciphertext",
|
|
1422
|
+
"type": "bytes",
|
|
1423
|
+
"internalType": "bytes"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"name": "clue",
|
|
1427
|
+
"type": "bytes",
|
|
1428
|
+
"internalType": "bytes"
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1508
1431
|
}
|
|
1509
1432
|
],
|
|
1510
1433
|
"outputs": [],
|
|
1511
1434
|
"stateMutability": "nonpayable"
|
|
1512
1435
|
},
|
|
1513
|
-
{
|
|
1514
|
-
"type": "function",
|
|
1515
|
-
"name": "unpause",
|
|
1516
|
-
"inputs": [],
|
|
1517
|
-
"outputs": [],
|
|
1518
|
-
"stateMutability": "nonpayable"
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
"type": "function",
|
|
1522
|
-
"name": "unpauseCircuit",
|
|
1523
|
-
"inputs": [],
|
|
1524
|
-
"outputs": [],
|
|
1525
|
-
"stateMutability": "nonpayable"
|
|
1526
|
-
},
|
|
1527
1436
|
{
|
|
1528
1437
|
"type": "function",
|
|
1529
1438
|
"name": "verifierRouter",
|
|
@@ -1590,7 +1499,7 @@ var invisiProtocolAbi = [
|
|
|
1590
1499
|
"internalType": "address[]"
|
|
1591
1500
|
},
|
|
1592
1501
|
{
|
|
1593
|
-
"name": "
|
|
1502
|
+
"name": "noteCommitments",
|
|
1594
1503
|
"type": "bytes32[]",
|
|
1595
1504
|
"indexed": false,
|
|
1596
1505
|
"internalType": "bytes32[]"
|
|
@@ -1783,43 +1692,6 @@ var invisiProtocolAbi = [
|
|
|
1783
1692
|
],
|
|
1784
1693
|
"anonymous": false
|
|
1785
1694
|
},
|
|
1786
|
-
{
|
|
1787
|
-
"type": "event",
|
|
1788
|
-
"name": "CreditCancelled",
|
|
1789
|
-
"inputs": [
|
|
1790
|
-
{
|
|
1791
|
-
"name": "token",
|
|
1792
|
-
"type": "address",
|
|
1793
|
-
"indexed": false,
|
|
1794
|
-
"internalType": "address"
|
|
1795
|
-
},
|
|
1796
|
-
{
|
|
1797
|
-
"name": "owner",
|
|
1798
|
-
"type": "address",
|
|
1799
|
-
"indexed": true,
|
|
1800
|
-
"internalType": "address"
|
|
1801
|
-
},
|
|
1802
|
-
{
|
|
1803
|
-
"name": "inputTreeId",
|
|
1804
|
-
"type": "uint256",
|
|
1805
|
-
"indexed": true,
|
|
1806
|
-
"internalType": "uint256"
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"name": "nullifier",
|
|
1810
|
-
"type": "bytes32",
|
|
1811
|
-
"indexed": true,
|
|
1812
|
-
"internalType": "bytes32"
|
|
1813
|
-
},
|
|
1814
|
-
{
|
|
1815
|
-
"name": "amount",
|
|
1816
|
-
"type": "uint256",
|
|
1817
|
-
"indexed": false,
|
|
1818
|
-
"internalType": "uint256"
|
|
1819
|
-
}
|
|
1820
|
-
],
|
|
1821
|
-
"anonymous": false
|
|
1822
|
-
},
|
|
1823
1695
|
{
|
|
1824
1696
|
"type": "event",
|
|
1825
1697
|
"name": "CreditCreated",
|
|
@@ -1827,7 +1699,7 @@ var invisiProtocolAbi = [
|
|
|
1827
1699
|
{
|
|
1828
1700
|
"name": "token",
|
|
1829
1701
|
"type": "address",
|
|
1830
|
-
"indexed":
|
|
1702
|
+
"indexed": true,
|
|
1831
1703
|
"internalType": "address"
|
|
1832
1704
|
},
|
|
1833
1705
|
{
|
|
@@ -1843,28 +1715,16 @@ var invisiProtocolAbi = [
|
|
|
1843
1715
|
"internalType": "uint256"
|
|
1844
1716
|
},
|
|
1845
1717
|
{
|
|
1846
|
-
"name": "
|
|
1847
|
-
"type": "
|
|
1718
|
+
"name": "revocationShard",
|
|
1719
|
+
"type": "uint64",
|
|
1848
1720
|
"indexed": false,
|
|
1849
|
-
"internalType": "
|
|
1850
|
-
"components": [
|
|
1851
|
-
{
|
|
1852
|
-
"name": "treeId",
|
|
1853
|
-
"type": "uint256",
|
|
1854
|
-
"internalType": "uint256"
|
|
1855
|
-
},
|
|
1856
|
-
{
|
|
1857
|
-
"name": "merkleRoot",
|
|
1858
|
-
"type": "bytes32",
|
|
1859
|
-
"internalType": "bytes32"
|
|
1860
|
-
}
|
|
1861
|
-
]
|
|
1721
|
+
"internalType": "uint64"
|
|
1862
1722
|
},
|
|
1863
1723
|
{
|
|
1864
|
-
"name": "
|
|
1865
|
-
"type": "
|
|
1724
|
+
"name": "revocationSlot",
|
|
1725
|
+
"type": "uint16",
|
|
1866
1726
|
"indexed": false,
|
|
1867
|
-
"internalType": "
|
|
1727
|
+
"internalType": "uint16"
|
|
1868
1728
|
},
|
|
1869
1729
|
{
|
|
1870
1730
|
"name": "creditCommitment",
|
|
@@ -1873,16 +1733,10 @@ var invisiProtocolAbi = [
|
|
|
1873
1733
|
"internalType": "bytes32"
|
|
1874
1734
|
},
|
|
1875
1735
|
{
|
|
1876
|
-
"name": "
|
|
1877
|
-
"type": "
|
|
1878
|
-
"indexed": false,
|
|
1879
|
-
"internalType": "bytes32"
|
|
1880
|
-
},
|
|
1881
|
-
{
|
|
1882
|
-
"name": "leafIndices",
|
|
1883
|
-
"type": "uint32[]",
|
|
1736
|
+
"name": "leafIndex",
|
|
1737
|
+
"type": "uint32",
|
|
1884
1738
|
"indexed": false,
|
|
1885
|
-
"internalType": "uint32
|
|
1739
|
+
"internalType": "uint32"
|
|
1886
1740
|
},
|
|
1887
1741
|
{
|
|
1888
1742
|
"name": "deliveries",
|
|
@@ -1903,7 +1757,19 @@ var invisiProtocolAbi = [
|
|
|
1903
1757
|
]
|
|
1904
1758
|
},
|
|
1905
1759
|
{
|
|
1906
|
-
"name": "
|
|
1760
|
+
"name": "deadline",
|
|
1761
|
+
"type": "uint256",
|
|
1762
|
+
"indexed": false,
|
|
1763
|
+
"internalType": "uint256"
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"name": "feeRecipient",
|
|
1767
|
+
"type": "address",
|
|
1768
|
+
"indexed": false,
|
|
1769
|
+
"internalType": "address"
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
"name": "feeAmount",
|
|
1907
1773
|
"type": "uint256",
|
|
1908
1774
|
"indexed": false,
|
|
1909
1775
|
"internalType": "uint256"
|
|
@@ -1915,12 +1781,6 @@ var invisiProtocolAbi = [
|
|
|
1915
1781
|
"type": "event",
|
|
1916
1782
|
"name": "CreditDraw",
|
|
1917
1783
|
"inputs": [
|
|
1918
|
-
{
|
|
1919
|
-
"name": "spender",
|
|
1920
|
-
"type": "address",
|
|
1921
|
-
"indexed": true,
|
|
1922
|
-
"internalType": "address"
|
|
1923
|
-
},
|
|
1924
1784
|
{
|
|
1925
1785
|
"name": "outputTreeId",
|
|
1926
1786
|
"type": "uint256",
|
|
@@ -1955,30 +1815,64 @@ var invisiProtocolAbi = [
|
|
|
1955
1815
|
}
|
|
1956
1816
|
]
|
|
1957
1817
|
},
|
|
1818
|
+
{
|
|
1819
|
+
"name": "payers",
|
|
1820
|
+
"type": "tuple[]",
|
|
1821
|
+
"internalType": "struct IInvisiProtocol.CreditPayer[]",
|
|
1822
|
+
"components": [
|
|
1823
|
+
{
|
|
1824
|
+
"name": "payer",
|
|
1825
|
+
"type": "address",
|
|
1826
|
+
"internalType": "address"
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"name": "amount",
|
|
1830
|
+
"type": "uint256",
|
|
1831
|
+
"internalType": "uint256"
|
|
1832
|
+
}
|
|
1833
|
+
]
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"name": "grantRefs",
|
|
1837
|
+
"type": "tuple[]",
|
|
1838
|
+
"internalType": "struct IInvisiProtocol.CreditGrantRef[]",
|
|
1839
|
+
"components": [
|
|
1840
|
+
{
|
|
1841
|
+
"name": "payerIndex",
|
|
1842
|
+
"type": "uint256",
|
|
1843
|
+
"internalType": "uint256"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"name": "shard",
|
|
1847
|
+
"type": "uint64",
|
|
1848
|
+
"internalType": "uint64"
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "slot",
|
|
1852
|
+
"type": "uint16",
|
|
1853
|
+
"internalType": "uint16"
|
|
1854
|
+
}
|
|
1855
|
+
]
|
|
1856
|
+
},
|
|
1958
1857
|
{
|
|
1959
1858
|
"name": "nullifiers",
|
|
1960
1859
|
"type": "bytes32[]",
|
|
1961
1860
|
"internalType": "bytes32[]"
|
|
1962
1861
|
},
|
|
1963
1862
|
{
|
|
1964
|
-
"name": "
|
|
1863
|
+
"name": "creditCommitments",
|
|
1965
1864
|
"type": "bytes32[]",
|
|
1966
1865
|
"internalType": "bytes32[]"
|
|
1967
1866
|
},
|
|
1968
|
-
{
|
|
1969
|
-
"name": "expiries",
|
|
1970
|
-
"type": "uint256[]",
|
|
1971
|
-
"internalType": "uint256[]"
|
|
1972
|
-
},
|
|
1973
1867
|
{
|
|
1974
1868
|
"name": "recoveryAmounts",
|
|
1975
1869
|
"type": "bytes32[]",
|
|
1976
1870
|
"internalType": "bytes32[]"
|
|
1977
1871
|
},
|
|
1978
1872
|
{
|
|
1979
|
-
"name": "
|
|
1980
|
-
"type": "
|
|
1981
|
-
"internalType": "
|
|
1873
|
+
"name": "noteCommitment",
|
|
1874
|
+
"type": "bytes32",
|
|
1875
|
+
"internalType": "bytes32"
|
|
1982
1876
|
},
|
|
1983
1877
|
{
|
|
1984
1878
|
"name": "totalAmount",
|
|
@@ -1989,11 +1883,21 @@ var invisiProtocolAbi = [
|
|
|
1989
1883
|
"name": "deadline",
|
|
1990
1884
|
"type": "uint256",
|
|
1991
1885
|
"internalType": "uint256"
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"name": "feeRecipient",
|
|
1889
|
+
"type": "address",
|
|
1890
|
+
"internalType": "address"
|
|
1891
|
+
},
|
|
1892
|
+
{
|
|
1893
|
+
"name": "feeAmount",
|
|
1894
|
+
"type": "uint256",
|
|
1895
|
+
"internalType": "uint256"
|
|
1992
1896
|
}
|
|
1993
1897
|
]
|
|
1994
1898
|
},
|
|
1995
1899
|
{
|
|
1996
|
-
"name": "
|
|
1900
|
+
"name": "leafIndices",
|
|
1997
1901
|
"type": "uint32[]",
|
|
1998
1902
|
"indexed": false,
|
|
1999
1903
|
"internalType": "uint32[]"
|
|
@@ -2021,7 +1925,7 @@ var invisiProtocolAbi = [
|
|
|
2021
1925
|
},
|
|
2022
1926
|
{
|
|
2023
1927
|
"type": "event",
|
|
2024
|
-
"name": "
|
|
1928
|
+
"name": "CreditRevoked",
|
|
2025
1929
|
"inputs": [
|
|
2026
1930
|
{
|
|
2027
1931
|
"name": "owner",
|
|
@@ -2030,88 +1934,72 @@ var invisiProtocolAbi = [
|
|
|
2030
1934
|
"internalType": "address"
|
|
2031
1935
|
},
|
|
2032
1936
|
{
|
|
2033
|
-
"name": "
|
|
2034
|
-
"type": "
|
|
1937
|
+
"name": "token",
|
|
1938
|
+
"type": "address",
|
|
2035
1939
|
"indexed": true,
|
|
2036
|
-
"internalType": "
|
|
1940
|
+
"internalType": "address"
|
|
2037
1941
|
},
|
|
2038
1942
|
{
|
|
2039
|
-
"name": "
|
|
2040
|
-
"type": "
|
|
2041
|
-
"indexed":
|
|
2042
|
-
"internalType": "
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
{
|
|
2097
|
-
"name": "deadline",
|
|
2098
|
-
"type": "uint256",
|
|
2099
|
-
"internalType": "uint256"
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
"name": "feeRecipient",
|
|
2103
|
-
"type": "address",
|
|
2104
|
-
"internalType": "address"
|
|
2105
|
-
},
|
|
2106
|
-
{
|
|
2107
|
-
"name": "feeAmount",
|
|
2108
|
-
"type": "uint256",
|
|
2109
|
-
"internalType": "uint256"
|
|
2110
|
-
}
|
|
2111
|
-
]
|
|
1943
|
+
"name": "shard",
|
|
1944
|
+
"type": "uint64",
|
|
1945
|
+
"indexed": true,
|
|
1946
|
+
"internalType": "uint64"
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"name": "slot",
|
|
1950
|
+
"type": "uint16",
|
|
1951
|
+
"indexed": false,
|
|
1952
|
+
"internalType": "uint16"
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "feeRecipient",
|
|
1956
|
+
"type": "address",
|
|
1957
|
+
"indexed": false,
|
|
1958
|
+
"internalType": "address"
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"name": "feeAmount",
|
|
1962
|
+
"type": "uint256",
|
|
1963
|
+
"indexed": false,
|
|
1964
|
+
"internalType": "uint256"
|
|
1965
|
+
}
|
|
1966
|
+
],
|
|
1967
|
+
"anonymous": false
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"type": "event",
|
|
1971
|
+
"name": "CreditUpdated",
|
|
1972
|
+
"inputs": [
|
|
1973
|
+
{
|
|
1974
|
+
"name": "owner",
|
|
1975
|
+
"type": "address",
|
|
1976
|
+
"indexed": true,
|
|
1977
|
+
"internalType": "address"
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "outputTreeId",
|
|
1981
|
+
"type": "uint256",
|
|
1982
|
+
"indexed": true,
|
|
1983
|
+
"internalType": "uint256"
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"name": "params",
|
|
1987
|
+
"type": "tuple",
|
|
1988
|
+
"indexed": false,
|
|
1989
|
+
"internalType": "struct IInvisiProtocol.UpdateCreditParams",
|
|
1990
|
+
"components": [
|
|
1991
|
+
{
|
|
1992
|
+
"name": "token",
|
|
1993
|
+
"type": "address",
|
|
1994
|
+
"internalType": "address"
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"name": "owner",
|
|
1998
|
+
"type": "address",
|
|
1999
|
+
"internalType": "address"
|
|
2112
2000
|
},
|
|
2113
2001
|
{
|
|
2114
|
-
"name": "
|
|
2002
|
+
"name": "source",
|
|
2115
2003
|
"type": "tuple",
|
|
2116
2004
|
"internalType": "struct IInvisiProtocol.InputSource",
|
|
2117
2005
|
"components": [
|
|
@@ -2128,22 +2016,47 @@ var invisiProtocolAbi = [
|
|
|
2128
2016
|
]
|
|
2129
2017
|
},
|
|
2130
2018
|
{
|
|
2131
|
-
"name": "
|
|
2019
|
+
"name": "nullifier",
|
|
2020
|
+
"type": "bytes32",
|
|
2021
|
+
"internalType": "bytes32"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"name": "creditCommitment",
|
|
2132
2025
|
"type": "bytes32",
|
|
2133
2026
|
"internalType": "bytes32"
|
|
2134
2027
|
},
|
|
2135
2028
|
{
|
|
2136
|
-
"name": "
|
|
2029
|
+
"name": "revocationShard",
|
|
2030
|
+
"type": "uint64",
|
|
2031
|
+
"internalType": "uint64"
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"name": "revocationSlot",
|
|
2035
|
+
"type": "uint16",
|
|
2036
|
+
"internalType": "uint16"
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"name": "deadline",
|
|
2040
|
+
"type": "uint256",
|
|
2041
|
+
"internalType": "uint256"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"name": "feeRecipient",
|
|
2045
|
+
"type": "address",
|
|
2046
|
+
"internalType": "address"
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"name": "feeAmount",
|
|
2137
2050
|
"type": "uint256",
|
|
2138
2051
|
"internalType": "uint256"
|
|
2139
2052
|
}
|
|
2140
2053
|
]
|
|
2141
2054
|
},
|
|
2142
2055
|
{
|
|
2143
|
-
"name": "
|
|
2144
|
-
"type": "uint32
|
|
2056
|
+
"name": "leafIndex",
|
|
2057
|
+
"type": "uint32",
|
|
2145
2058
|
"indexed": false,
|
|
2146
|
-
"internalType": "uint32
|
|
2059
|
+
"internalType": "uint32"
|
|
2147
2060
|
},
|
|
2148
2061
|
{
|
|
2149
2062
|
"name": "deliveries",
|
|
@@ -2207,7 +2120,7 @@ var invisiProtocolAbi = [
|
|
|
2207
2120
|
"internalType": "bytes32[]"
|
|
2208
2121
|
},
|
|
2209
2122
|
{
|
|
2210
|
-
"name": "
|
|
2123
|
+
"name": "noteCommitments",
|
|
2211
2124
|
"type": "bytes32[]",
|
|
2212
2125
|
"indexed": false,
|
|
2213
2126
|
"internalType": "bytes32[]"
|
|
@@ -2467,7 +2380,7 @@ var invisiProtocolAbi = [
|
|
|
2467
2380
|
"internalType": "bytes32[]"
|
|
2468
2381
|
},
|
|
2469
2382
|
{
|
|
2470
|
-
"name": "
|
|
2383
|
+
"name": "noteCommitments",
|
|
2471
2384
|
"type": "bytes32[]",
|
|
2472
2385
|
"indexed": false,
|
|
2473
2386
|
"internalType": "bytes32[]"
|
|
@@ -2602,7 +2515,7 @@ var invisiProtocolAbi = [
|
|
|
2602
2515
|
},
|
|
2603
2516
|
{
|
|
2604
2517
|
"type": "error",
|
|
2605
|
-
"name": "
|
|
2518
|
+
"name": "CommitmentAlreadyRegistered",
|
|
2606
2519
|
"inputs": [
|
|
2607
2520
|
{
|
|
2608
2521
|
"name": "commitment",
|
|
@@ -2613,7 +2526,7 @@ var invisiProtocolAbi = [
|
|
|
2613
2526
|
},
|
|
2614
2527
|
{
|
|
2615
2528
|
"type": "error",
|
|
2616
|
-
"name": "
|
|
2529
|
+
"name": "CreditAlreadyRevoked",
|
|
2617
2530
|
"inputs": []
|
|
2618
2531
|
},
|
|
2619
2532
|
{
|
|
@@ -2637,11 +2550,6 @@ var invisiProtocolAbi = [
|
|
|
2637
2550
|
"name": "ExpectedPause",
|
|
2638
2551
|
"inputs": []
|
|
2639
2552
|
},
|
|
2640
|
-
{
|
|
2641
|
-
"type": "error",
|
|
2642
|
-
"name": "ExpiryInPast",
|
|
2643
|
-
"inputs": []
|
|
2644
|
-
},
|
|
2645
2553
|
{
|
|
2646
2554
|
"type": "error",
|
|
2647
2555
|
"name": "FailedInnerCall",
|
|
@@ -2690,7 +2598,7 @@ var invisiProtocolAbi = [
|
|
|
2690
2598
|
},
|
|
2691
2599
|
{
|
|
2692
2600
|
"type": "error",
|
|
2693
|
-
"name": "
|
|
2601
|
+
"name": "InvalidCreditAllocation",
|
|
2694
2602
|
"inputs": []
|
|
2695
2603
|
},
|
|
2696
2604
|
{
|
|
@@ -2703,11 +2611,6 @@ var invisiProtocolAbi = [
|
|
|
2703
2611
|
"name": "InvalidFunding",
|
|
2704
2612
|
"inputs": []
|
|
2705
2613
|
},
|
|
2706
|
-
{
|
|
2707
|
-
"type": "error",
|
|
2708
|
-
"name": "InvalidIdentityCommitment",
|
|
2709
|
-
"inputs": []
|
|
2710
|
-
},
|
|
2711
2614
|
{
|
|
2712
2615
|
"type": "error",
|
|
2713
2616
|
"name": "InvalidMerkleRoot",
|
|
@@ -2724,21 +2627,6 @@ var invisiProtocolAbi = [
|
|
|
2724
2627
|
"name": "InvalidNonce",
|
|
2725
2628
|
"inputs": []
|
|
2726
2629
|
},
|
|
2727
|
-
{
|
|
2728
|
-
"type": "error",
|
|
2729
|
-
"name": "InvalidNullifierKeyHash",
|
|
2730
|
-
"inputs": []
|
|
2731
|
-
},
|
|
2732
|
-
{
|
|
2733
|
-
"type": "error",
|
|
2734
|
-
"name": "InvalidOwnerIdentityCommitment",
|
|
2735
|
-
"inputs": []
|
|
2736
|
-
},
|
|
2737
|
-
{
|
|
2738
|
-
"type": "error",
|
|
2739
|
-
"name": "InvalidPrivateTransferCiphertext",
|
|
2740
|
-
"inputs": []
|
|
2741
|
-
},
|
|
2742
2630
|
{
|
|
2743
2631
|
"type": "error",
|
|
2744
2632
|
"name": "InvalidPrivateTransferContext",
|
|
@@ -2838,22 +2726,6 @@ var invisiProtocolAbi = [
|
|
|
2838
2726
|
"name": "NotGlobalEmergency",
|
|
2839
2727
|
"inputs": []
|
|
2840
2728
|
},
|
|
2841
|
-
{
|
|
2842
|
-
"type": "error",
|
|
2843
|
-
"name": "NullifierAlreadySpent",
|
|
2844
|
-
"inputs": [
|
|
2845
|
-
{
|
|
2846
|
-
"name": "nullifier",
|
|
2847
|
-
"type": "bytes32",
|
|
2848
|
-
"internalType": "bytes32"
|
|
2849
|
-
}
|
|
2850
|
-
]
|
|
2851
|
-
},
|
|
2852
|
-
{
|
|
2853
|
-
"type": "error",
|
|
2854
|
-
"name": "NullifiersEmpty",
|
|
2855
|
-
"inputs": []
|
|
2856
|
-
},
|
|
2857
2729
|
{
|
|
2858
2730
|
"type": "error",
|
|
2859
2731
|
"name": "OwnableInvalidOwner",
|
|
@@ -2929,54 +2801,6 @@ var invisiProtocolAbi = [
|
|
|
2929
2801
|
}
|
|
2930
2802
|
]
|
|
2931
2803
|
},
|
|
2932
|
-
{
|
|
2933
|
-
"type": "error",
|
|
2934
|
-
"name": "TransferFailed",
|
|
2935
|
-
"inputs": [
|
|
2936
|
-
{
|
|
2937
|
-
"name": "token",
|
|
2938
|
-
"type": "address",
|
|
2939
|
-
"internalType": "address"
|
|
2940
|
-
},
|
|
2941
|
-
{
|
|
2942
|
-
"name": "to",
|
|
2943
|
-
"type": "address",
|
|
2944
|
-
"internalType": "address"
|
|
2945
|
-
},
|
|
2946
|
-
{
|
|
2947
|
-
"name": "amount",
|
|
2948
|
-
"type": "uint256",
|
|
2949
|
-
"internalType": "uint256"
|
|
2950
|
-
}
|
|
2951
|
-
]
|
|
2952
|
-
},
|
|
2953
|
-
{
|
|
2954
|
-
"type": "error",
|
|
2955
|
-
"name": "TreeFull",
|
|
2956
|
-
"inputs": [
|
|
2957
|
-
{
|
|
2958
|
-
"name": "treeId",
|
|
2959
|
-
"type": "uint256",
|
|
2960
|
-
"internalType": "uint256"
|
|
2961
|
-
}
|
|
2962
|
-
]
|
|
2963
|
-
},
|
|
2964
|
-
{
|
|
2965
|
-
"type": "error",
|
|
2966
|
-
"name": "WrongPermitToken",
|
|
2967
|
-
"inputs": [
|
|
2968
|
-
{
|
|
2969
|
-
"name": "provided",
|
|
2970
|
-
"type": "address",
|
|
2971
|
-
"internalType": "address"
|
|
2972
|
-
},
|
|
2973
|
-
{
|
|
2974
|
-
"name": "expected",
|
|
2975
|
-
"type": "address",
|
|
2976
|
-
"internalType": "address"
|
|
2977
|
-
}
|
|
2978
|
-
]
|
|
2979
|
-
},
|
|
2980
2804
|
{
|
|
2981
2805
|
"type": "error",
|
|
2982
2806
|
"name": "ZeroNullifier",
|
|
@@ -3516,19 +3340,6 @@ var verifierRouterAbi = [
|
|
|
3516
3340
|
],
|
|
3517
3341
|
"stateMutability": "view"
|
|
3518
3342
|
},
|
|
3519
|
-
{
|
|
3520
|
-
"type": "function",
|
|
3521
|
-
"name": "getCreditCancelVerifier",
|
|
3522
|
-
"inputs": [],
|
|
3523
|
-
"outputs": [
|
|
3524
|
-
{
|
|
3525
|
-
"name": "",
|
|
3526
|
-
"type": "address",
|
|
3527
|
-
"internalType": "contract IVerifier"
|
|
3528
|
-
}
|
|
3529
|
-
],
|
|
3530
|
-
"stateMutability": "view"
|
|
3531
|
-
},
|
|
3532
3343
|
{
|
|
3533
3344
|
"type": "function",
|
|
3534
3345
|
"name": "getCreditDrawVerifier",
|
|
@@ -3550,7 +3361,7 @@ var verifierRouterAbi = [
|
|
|
3550
3361
|
},
|
|
3551
3362
|
{
|
|
3552
3363
|
"type": "function",
|
|
3553
|
-
"name": "
|
|
3364
|
+
"name": "getCreditUpdateVerifier",
|
|
3554
3365
|
"inputs": [],
|
|
3555
3366
|
"outputs": [
|
|
3556
3367
|
{
|
|
@@ -3665,8 +3476,8 @@ var creditVerifierRouterAbi = [
|
|
|
3665
3476
|
},
|
|
3666
3477
|
{
|
|
3667
3478
|
"name": "creditVerifiers",
|
|
3668
|
-
"type": "address[
|
|
3669
|
-
"internalType": "contract IVerifier[
|
|
3479
|
+
"type": "address[15]",
|
|
3480
|
+
"internalType": "contract IVerifier[15]"
|
|
3670
3481
|
}
|
|
3671
3482
|
],
|
|
3672
3483
|
"stateMutability": "nonpayable"
|
|
@@ -3686,7 +3497,7 @@ var creditVerifierRouterAbi = [
|
|
|
3686
3497
|
},
|
|
3687
3498
|
{
|
|
3688
3499
|
"type": "function",
|
|
3689
|
-
"name": "
|
|
3500
|
+
"name": "creditDrawSlots10Verifier",
|
|
3690
3501
|
"inputs": [],
|
|
3691
3502
|
"outputs": [
|
|
3692
3503
|
{
|
|
@@ -3699,7 +3510,7 @@ var creditVerifierRouterAbi = [
|
|
|
3699
3510
|
},
|
|
3700
3511
|
{
|
|
3701
3512
|
"type": "function",
|
|
3702
|
-
"name": "
|
|
3513
|
+
"name": "creditDrawSlots1Verifier",
|
|
3703
3514
|
"inputs": [],
|
|
3704
3515
|
"outputs": [
|
|
3705
3516
|
{
|
|
@@ -3712,7 +3523,7 @@ var creditVerifierRouterAbi = [
|
|
|
3712
3523
|
},
|
|
3713
3524
|
{
|
|
3714
3525
|
"type": "function",
|
|
3715
|
-
"name": "
|
|
3526
|
+
"name": "creditDrawSlots20Verifier",
|
|
3716
3527
|
"inputs": [],
|
|
3717
3528
|
"outputs": [
|
|
3718
3529
|
{
|
|
@@ -3725,7 +3536,59 @@ var creditVerifierRouterAbi = [
|
|
|
3725
3536
|
},
|
|
3726
3537
|
{
|
|
3727
3538
|
"type": "function",
|
|
3728
|
-
"name": "
|
|
3539
|
+
"name": "creditDrawSlots2Verifier",
|
|
3540
|
+
"inputs": [],
|
|
3541
|
+
"outputs": [
|
|
3542
|
+
{
|
|
3543
|
+
"name": "",
|
|
3544
|
+
"type": "address",
|
|
3545
|
+
"internalType": "contract IVerifier"
|
|
3546
|
+
}
|
|
3547
|
+
],
|
|
3548
|
+
"stateMutability": "view"
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"type": "function",
|
|
3552
|
+
"name": "creditDrawSlots30Verifier",
|
|
3553
|
+
"inputs": [],
|
|
3554
|
+
"outputs": [
|
|
3555
|
+
{
|
|
3556
|
+
"name": "",
|
|
3557
|
+
"type": "address",
|
|
3558
|
+
"internalType": "contract IVerifier"
|
|
3559
|
+
}
|
|
3560
|
+
],
|
|
3561
|
+
"stateMutability": "view"
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"type": "function",
|
|
3565
|
+
"name": "creditDrawSlots3Verifier",
|
|
3566
|
+
"inputs": [],
|
|
3567
|
+
"outputs": [
|
|
3568
|
+
{
|
|
3569
|
+
"name": "",
|
|
3570
|
+
"type": "address",
|
|
3571
|
+
"internalType": "contract IVerifier"
|
|
3572
|
+
}
|
|
3573
|
+
],
|
|
3574
|
+
"stateMutability": "view"
|
|
3575
|
+
},
|
|
3576
|
+
{
|
|
3577
|
+
"type": "function",
|
|
3578
|
+
"name": "creditDrawSlots40Verifier",
|
|
3579
|
+
"inputs": [],
|
|
3580
|
+
"outputs": [
|
|
3581
|
+
{
|
|
3582
|
+
"name": "",
|
|
3583
|
+
"type": "address",
|
|
3584
|
+
"internalType": "contract IVerifier"
|
|
3585
|
+
}
|
|
3586
|
+
],
|
|
3587
|
+
"stateMutability": "view"
|
|
3588
|
+
},
|
|
3589
|
+
{
|
|
3590
|
+
"type": "function",
|
|
3591
|
+
"name": "creditDrawSlots4Verifier",
|
|
3729
3592
|
"inputs": [],
|
|
3730
3593
|
"outputs": [
|
|
3731
3594
|
{
|
|
@@ -3751,7 +3614,7 @@ var creditVerifierRouterAbi = [
|
|
|
3751
3614
|
},
|
|
3752
3615
|
{
|
|
3753
3616
|
"type": "function",
|
|
3754
|
-
"name": "
|
|
3617
|
+
"name": "creditDrawSlots5Verifier",
|
|
3755
3618
|
"inputs": [],
|
|
3756
3619
|
"outputs": [
|
|
3757
3620
|
{
|
|
@@ -3764,20 +3627,46 @@ var creditVerifierRouterAbi = [
|
|
|
3764
3627
|
},
|
|
3765
3628
|
{
|
|
3766
3629
|
"type": "function",
|
|
3767
|
-
"name": "
|
|
3630
|
+
"name": "creditDrawSlots60Verifier",
|
|
3768
3631
|
"inputs": [],
|
|
3769
3632
|
"outputs": [
|
|
3770
3633
|
{
|
|
3771
3634
|
"name": "",
|
|
3772
3635
|
"type": "address",
|
|
3773
|
-
"internalType": "contract
|
|
3636
|
+
"internalType": "contract IVerifier"
|
|
3774
3637
|
}
|
|
3775
3638
|
],
|
|
3776
3639
|
"stateMutability": "view"
|
|
3777
3640
|
},
|
|
3778
3641
|
{
|
|
3779
3642
|
"type": "function",
|
|
3780
|
-
"name": "
|
|
3643
|
+
"name": "creditDrawSlots70Verifier",
|
|
3644
|
+
"inputs": [],
|
|
3645
|
+
"outputs": [
|
|
3646
|
+
{
|
|
3647
|
+
"name": "",
|
|
3648
|
+
"type": "address",
|
|
3649
|
+
"internalType": "contract IVerifier"
|
|
3650
|
+
}
|
|
3651
|
+
],
|
|
3652
|
+
"stateMutability": "view"
|
|
3653
|
+
},
|
|
3654
|
+
{
|
|
3655
|
+
"type": "function",
|
|
3656
|
+
"name": "creditDrawSlots80Verifier",
|
|
3657
|
+
"inputs": [],
|
|
3658
|
+
"outputs": [
|
|
3659
|
+
{
|
|
3660
|
+
"name": "",
|
|
3661
|
+
"type": "address",
|
|
3662
|
+
"internalType": "contract IVerifier"
|
|
3663
|
+
}
|
|
3664
|
+
],
|
|
3665
|
+
"stateMutability": "view"
|
|
3666
|
+
},
|
|
3667
|
+
{
|
|
3668
|
+
"type": "function",
|
|
3669
|
+
"name": "creditUpdateVerifier",
|
|
3781
3670
|
"inputs": [],
|
|
3782
3671
|
"outputs": [
|
|
3783
3672
|
{
|
|
@@ -3790,7 +3679,20 @@ var creditVerifierRouterAbi = [
|
|
|
3790
3679
|
},
|
|
3791
3680
|
{
|
|
3792
3681
|
"type": "function",
|
|
3793
|
-
"name": "
|
|
3682
|
+
"name": "crossTreeRegistry",
|
|
3683
|
+
"inputs": [],
|
|
3684
|
+
"outputs": [
|
|
3685
|
+
{
|
|
3686
|
+
"name": "",
|
|
3687
|
+
"type": "address",
|
|
3688
|
+
"internalType": "contract CrossTreeVerifierRegistry"
|
|
3689
|
+
}
|
|
3690
|
+
],
|
|
3691
|
+
"stateMutability": "view"
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"type": "function",
|
|
3695
|
+
"name": "getCreateCreditVerifier",
|
|
3794
3696
|
"inputs": [],
|
|
3795
3697
|
"outputs": [
|
|
3796
3698
|
{
|
|
@@ -3822,7 +3724,7 @@ var creditVerifierRouterAbi = [
|
|
|
3822
3724
|
},
|
|
3823
3725
|
{
|
|
3824
3726
|
"type": "function",
|
|
3825
|
-
"name": "
|
|
3727
|
+
"name": "getCreditUpdateVerifier",
|
|
3826
3728
|
"inputs": [],
|
|
3827
3729
|
"outputs": [
|
|
3828
3730
|
{
|
|
@@ -4472,10 +4374,10 @@ var broadcasterRegistryAbi = [
|
|
|
4472
4374
|
|
|
4473
4375
|
// src/contracts/protocol-artifacts.ts
|
|
4474
4376
|
var protocolAbiSha256 = {
|
|
4475
|
-
"InvisiProtocol": "
|
|
4377
|
+
"InvisiProtocol": "063c90e35343c70f432cf2d04cd0857aff27f39a55bdccfa8d49fe6f4adf16cd",
|
|
4476
4378
|
"InvisiFactory": "380b95c3ba0196c395e7b01d31819b8b674f59b1d15342aecbdf0425bf385765",
|
|
4477
|
-
"VerifierRouter": "
|
|
4478
|
-
"CreditVerifierRouter": "
|
|
4379
|
+
"VerifierRouter": "b642af924fd36846f98c213680ef016d0b1afcaa5167c1c36029d7b6916e2115",
|
|
4380
|
+
"CreditVerifierRouter": "53ac9eeb16306be8179d7ebcf915922e11a20fcc83fa8ded60d42233e487a4fa",
|
|
4479
4381
|
"InvisiAddressRegistry": "7c16ba741b5384c3f232653facc3a73fdf57c507f9dd3a61ab1483699dd77151",
|
|
4480
4382
|
"BroadcasterRegistry": "3e024d8065d0c51a1ae67c383fef040ada5cccf4f10db3af5d7d1a92c981fa30"
|
|
4481
4383
|
};
|