@noosphere/contracts 0.1.0-alpha.5 → 0.2.0-alpha.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/index.cjs +336 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +209 -43
- package/dist/index.d.ts +209 -43
- package/dist/index.js +337 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/abis/Coordinator.abi.json +96 -6
- package/src/abis/Router.abi.json +42 -6
package/package.json
CHANGED
|
@@ -307,18 +307,54 @@
|
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"name": "input",
|
|
310
|
-
"type": "
|
|
311
|
-
"internalType": "
|
|
310
|
+
"type": "tuple",
|
|
311
|
+
"internalType": "struct PayloadData",
|
|
312
|
+
"components": [
|
|
313
|
+
{
|
|
314
|
+
"name": "contentHash",
|
|
315
|
+
"type": "bytes32",
|
|
316
|
+
"internalType": "bytes32"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "uri",
|
|
320
|
+
"type": "bytes",
|
|
321
|
+
"internalType": "bytes"
|
|
322
|
+
}
|
|
323
|
+
]
|
|
312
324
|
},
|
|
313
325
|
{
|
|
314
326
|
"name": "output",
|
|
315
|
-
"type": "
|
|
316
|
-
"internalType": "
|
|
327
|
+
"type": "tuple",
|
|
328
|
+
"internalType": "struct PayloadData",
|
|
329
|
+
"components": [
|
|
330
|
+
{
|
|
331
|
+
"name": "contentHash",
|
|
332
|
+
"type": "bytes32",
|
|
333
|
+
"internalType": "bytes32"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "uri",
|
|
337
|
+
"type": "bytes",
|
|
338
|
+
"internalType": "bytes"
|
|
339
|
+
}
|
|
340
|
+
]
|
|
317
341
|
},
|
|
318
342
|
{
|
|
319
343
|
"name": "proof",
|
|
320
|
-
"type": "
|
|
321
|
-
"internalType": "
|
|
344
|
+
"type": "tuple",
|
|
345
|
+
"internalType": "struct PayloadData",
|
|
346
|
+
"components": [
|
|
347
|
+
{
|
|
348
|
+
"name": "contentHash",
|
|
349
|
+
"type": "bytes32",
|
|
350
|
+
"internalType": "bytes32"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "uri",
|
|
354
|
+
"type": "bytes",
|
|
355
|
+
"internalType": "bytes"
|
|
356
|
+
}
|
|
357
|
+
]
|
|
322
358
|
},
|
|
323
359
|
{
|
|
324
360
|
"name": "commitmentData",
|
|
@@ -634,6 +670,60 @@
|
|
|
634
670
|
"type": "uint16",
|
|
635
671
|
"indexed": false,
|
|
636
672
|
"internalType": "uint16"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "input",
|
|
676
|
+
"type": "tuple",
|
|
677
|
+
"indexed": false,
|
|
678
|
+
"internalType": "struct PayloadData",
|
|
679
|
+
"components": [
|
|
680
|
+
{
|
|
681
|
+
"name": "contentHash",
|
|
682
|
+
"type": "bytes32",
|
|
683
|
+
"internalType": "bytes32"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "uri",
|
|
687
|
+
"type": "bytes",
|
|
688
|
+
"internalType": "bytes"
|
|
689
|
+
}
|
|
690
|
+
]
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "output",
|
|
694
|
+
"type": "tuple",
|
|
695
|
+
"indexed": false,
|
|
696
|
+
"internalType": "struct PayloadData",
|
|
697
|
+
"components": [
|
|
698
|
+
{
|
|
699
|
+
"name": "contentHash",
|
|
700
|
+
"type": "bytes32",
|
|
701
|
+
"internalType": "bytes32"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "uri",
|
|
705
|
+
"type": "bytes",
|
|
706
|
+
"internalType": "bytes"
|
|
707
|
+
}
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "proof",
|
|
712
|
+
"type": "tuple",
|
|
713
|
+
"indexed": false,
|
|
714
|
+
"internalType": "struct PayloadData",
|
|
715
|
+
"components": [
|
|
716
|
+
{
|
|
717
|
+
"name": "contentHash",
|
|
718
|
+
"type": "bytes32",
|
|
719
|
+
"internalType": "bytes32"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "uri",
|
|
723
|
+
"type": "bytes",
|
|
724
|
+
"internalType": "bytes"
|
|
725
|
+
}
|
|
726
|
+
]
|
|
637
727
|
}
|
|
638
728
|
],
|
|
639
729
|
"anonymous": false
|
package/src/abis/Router.abi.json
CHANGED
|
@@ -378,18 +378,54 @@
|
|
|
378
378
|
"inputs": [
|
|
379
379
|
{
|
|
380
380
|
"name": "input",
|
|
381
|
-
"type": "
|
|
382
|
-
"internalType": "
|
|
381
|
+
"type": "tuple",
|
|
382
|
+
"internalType": "struct PayloadData",
|
|
383
|
+
"components": [
|
|
384
|
+
{
|
|
385
|
+
"name": "contentHash",
|
|
386
|
+
"type": "bytes32",
|
|
387
|
+
"internalType": "bytes32"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"name": "uri",
|
|
391
|
+
"type": "bytes",
|
|
392
|
+
"internalType": "bytes"
|
|
393
|
+
}
|
|
394
|
+
]
|
|
383
395
|
},
|
|
384
396
|
{
|
|
385
397
|
"name": "output",
|
|
386
|
-
"type": "
|
|
387
|
-
"internalType": "
|
|
398
|
+
"type": "tuple",
|
|
399
|
+
"internalType": "struct PayloadData",
|
|
400
|
+
"components": [
|
|
401
|
+
{
|
|
402
|
+
"name": "contentHash",
|
|
403
|
+
"type": "bytes32",
|
|
404
|
+
"internalType": "bytes32"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "uri",
|
|
408
|
+
"type": "bytes",
|
|
409
|
+
"internalType": "bytes"
|
|
410
|
+
}
|
|
411
|
+
]
|
|
388
412
|
},
|
|
389
413
|
{
|
|
390
414
|
"name": "proof",
|
|
391
|
-
"type": "
|
|
392
|
-
"internalType": "
|
|
415
|
+
"type": "tuple",
|
|
416
|
+
"internalType": "struct PayloadData",
|
|
417
|
+
"components": [
|
|
418
|
+
{
|
|
419
|
+
"name": "contentHash",
|
|
420
|
+
"type": "bytes32",
|
|
421
|
+
"internalType": "bytes32"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "uri",
|
|
425
|
+
"type": "bytes",
|
|
426
|
+
"internalType": "bytes"
|
|
427
|
+
}
|
|
428
|
+
]
|
|
393
429
|
},
|
|
394
430
|
{
|
|
395
431
|
"name": "numRedundantDeliveries",
|