@cofhe/mock-contracts 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/README.md +46 -30
- package/contracts/ABITest.sol +26 -13
- package/contracts/ACPShareRegistry.sol +145 -0
- package/contracts/ACPTimestampRevoker.sol +62 -0
- package/contracts/MockACL.sol +199 -20
- package/contracts/MockTaskManager.sol +90 -17
- package/contracts/MockThresholdNetwork.sol +19 -19
- package/contracts/Permissioned.sol +85 -124
- package/dist/index.d.mts +1023 -128
- package/dist/index.d.ts +1023 -128
- package/dist/index.js +868 -81
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +867 -82
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/ACPShareRegistry.ts +359 -0
- package/src/ACPTimestampRevoker.ts +134 -0
- package/src/MockACL.ts +207 -9
- package/src/MockTaskManager.ts +101 -50
- package/src/MockThresholdNetwork.ts +59 -14
- package/src/index.ts +10 -1
- package/src/typechain-types/ACPShareRegistry.ts +189 -0
- package/src/typechain-types/ACPTimestampRevoker.ts +157 -0
- package/src/typechain-types/MockACL.ts +151 -19
- package/src/typechain-types/MockTaskManager.ts +67 -33
- package/src/typechain-types/MockThresholdNetwork.ts +35 -29
- package/src/typechain-types/index.ts +2 -0
package/dist/index.mjs
CHANGED
|
@@ -138,6 +138,52 @@ var MockTaskManagerArtifact = {
|
|
|
138
138
|
outputs: [],
|
|
139
139
|
stateMutability: "nonpayable"
|
|
140
140
|
},
|
|
141
|
+
{
|
|
142
|
+
type: "function",
|
|
143
|
+
name: "batchVerifyInputs",
|
|
144
|
+
inputs: [
|
|
145
|
+
{
|
|
146
|
+
name: "inputs",
|
|
147
|
+
type: "tuple[]",
|
|
148
|
+
internalType: "struct UnsignedEncryptedInput[]",
|
|
149
|
+
components: [
|
|
150
|
+
{
|
|
151
|
+
name: "ctHash",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
internalType: "uint256"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: "securityZone",
|
|
157
|
+
type: "uint8",
|
|
158
|
+
internalType: "uint8"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: "utype",
|
|
162
|
+
type: "uint8",
|
|
163
|
+
internalType: "uint8"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: "sender",
|
|
169
|
+
type: "address",
|
|
170
|
+
internalType: "address"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: "signature",
|
|
174
|
+
type: "bytes",
|
|
175
|
+
internalType: "bytes"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
outputs: [
|
|
179
|
+
{
|
|
180
|
+
name: "",
|
|
181
|
+
type: "uint256[]",
|
|
182
|
+
internalType: "uint256[]"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
stateMutability: "nonpayable"
|
|
186
|
+
},
|
|
141
187
|
{
|
|
142
188
|
type: "function",
|
|
143
189
|
name: "createDecryptTask",
|
|
@@ -395,9 +441,9 @@ var MockTaskManagerArtifact = {
|
|
|
395
441
|
name: "isAllowedWithPermission",
|
|
396
442
|
inputs: [
|
|
397
443
|
{
|
|
398
|
-
name: "
|
|
444
|
+
name: "acp",
|
|
399
445
|
type: "tuple",
|
|
400
|
-
internalType: "struct
|
|
446
|
+
internalType: "struct ACP",
|
|
401
447
|
components: [
|
|
402
448
|
{
|
|
403
449
|
name: "issuer",
|
|
@@ -415,15 +461,30 @@ var MockTaskManagerArtifact = {
|
|
|
415
461
|
internalType: "address"
|
|
416
462
|
},
|
|
417
463
|
{
|
|
418
|
-
name: "
|
|
464
|
+
name: "revokerData",
|
|
419
465
|
type: "uint256",
|
|
420
466
|
internalType: "uint256"
|
|
421
467
|
},
|
|
422
468
|
{
|
|
423
|
-
name: "
|
|
469
|
+
name: "revokerContract",
|
|
424
470
|
type: "address",
|
|
425
471
|
internalType: "address"
|
|
426
472
|
},
|
|
473
|
+
{
|
|
474
|
+
name: "scope",
|
|
475
|
+
type: "uint8",
|
|
476
|
+
internalType: "uint8"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
name: "contracts",
|
|
480
|
+
type: "address[]",
|
|
481
|
+
internalType: "address[]"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
name: "handles",
|
|
485
|
+
type: "bytes32[]",
|
|
486
|
+
internalType: "bytes32[]"
|
|
487
|
+
},
|
|
427
488
|
{
|
|
428
489
|
name: "sealingKey",
|
|
429
490
|
type: "bytes32",
|
|
@@ -566,6 +627,24 @@ var MockTaskManagerArtifact = {
|
|
|
566
627
|
outputs: [],
|
|
567
628
|
stateMutability: "nonpayable"
|
|
568
629
|
},
|
|
630
|
+
{
|
|
631
|
+
type: "function",
|
|
632
|
+
name: "receiveCtHash",
|
|
633
|
+
inputs: [
|
|
634
|
+
{
|
|
635
|
+
name: "ctHash",
|
|
636
|
+
type: "uint256",
|
|
637
|
+
internalType: "uint256"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
name: "expectedSharer",
|
|
641
|
+
type: "address",
|
|
642
|
+
internalType: "address"
|
|
643
|
+
}
|
|
644
|
+
],
|
|
645
|
+
outputs: [],
|
|
646
|
+
stateMutability: "nonpayable"
|
|
647
|
+
},
|
|
569
648
|
{
|
|
570
649
|
type: "function",
|
|
571
650
|
name: "removeFirstLetter",
|
|
@@ -694,6 +773,24 @@ var MockTaskManagerArtifact = {
|
|
|
694
773
|
outputs: [],
|
|
695
774
|
stateMutability: "nonpayable"
|
|
696
775
|
},
|
|
776
|
+
{
|
|
777
|
+
type: "function",
|
|
778
|
+
name: "shareCtHash",
|
|
779
|
+
inputs: [
|
|
780
|
+
{
|
|
781
|
+
name: "ctHash",
|
|
782
|
+
type: "uint256",
|
|
783
|
+
internalType: "uint256"
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
name: "receiver",
|
|
787
|
+
type: "address",
|
|
788
|
+
internalType: "address"
|
|
789
|
+
}
|
|
790
|
+
],
|
|
791
|
+
outputs: [],
|
|
792
|
+
stateMutability: "nonpayable"
|
|
793
|
+
},
|
|
697
794
|
{
|
|
698
795
|
type: "function",
|
|
699
796
|
name: "sliceString",
|
|
@@ -839,52 +936,6 @@ var MockTaskManagerArtifact = {
|
|
|
839
936
|
],
|
|
840
937
|
stateMutability: "view"
|
|
841
938
|
},
|
|
842
|
-
{
|
|
843
|
-
type: "function",
|
|
844
|
-
name: "verifyInput",
|
|
845
|
-
inputs: [
|
|
846
|
-
{
|
|
847
|
-
name: "input",
|
|
848
|
-
type: "tuple",
|
|
849
|
-
internalType: "struct EncryptedInput",
|
|
850
|
-
components: [
|
|
851
|
-
{
|
|
852
|
-
name: "ctHash",
|
|
853
|
-
type: "uint256",
|
|
854
|
-
internalType: "uint256"
|
|
855
|
-
},
|
|
856
|
-
{
|
|
857
|
-
name: "securityZone",
|
|
858
|
-
type: "uint8",
|
|
859
|
-
internalType: "uint8"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
name: "utype",
|
|
863
|
-
type: "uint8",
|
|
864
|
-
internalType: "uint8"
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
name: "signature",
|
|
868
|
-
type: "bytes",
|
|
869
|
-
internalType: "bytes"
|
|
870
|
-
}
|
|
871
|
-
]
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
name: "sender",
|
|
875
|
-
type: "address",
|
|
876
|
-
internalType: "address"
|
|
877
|
-
}
|
|
878
|
-
],
|
|
879
|
-
outputs: [
|
|
880
|
-
{
|
|
881
|
-
name: "",
|
|
882
|
-
type: "uint256",
|
|
883
|
-
internalType: "uint256"
|
|
884
|
-
}
|
|
885
|
-
],
|
|
886
|
-
stateMutability: "nonpayable"
|
|
887
|
-
},
|
|
888
939
|
{
|
|
889
940
|
type: "event",
|
|
890
941
|
name: "DecryptionResult",
|
|
@@ -1429,12 +1480,12 @@ var MockACLArtifact = {
|
|
|
1429
1480
|
},
|
|
1430
1481
|
{
|
|
1431
1482
|
type: "function",
|
|
1432
|
-
name: "
|
|
1483
|
+
name: "checkPermissionValidity",
|
|
1433
1484
|
inputs: [
|
|
1434
1485
|
{
|
|
1435
|
-
name: "
|
|
1486
|
+
name: "acp",
|
|
1436
1487
|
type: "tuple",
|
|
1437
|
-
internalType: "struct
|
|
1488
|
+
internalType: "struct ACP",
|
|
1438
1489
|
components: [
|
|
1439
1490
|
{
|
|
1440
1491
|
name: "issuer",
|
|
@@ -1452,15 +1503,30 @@ var MockACLArtifact = {
|
|
|
1452
1503
|
internalType: "address"
|
|
1453
1504
|
},
|
|
1454
1505
|
{
|
|
1455
|
-
name: "
|
|
1506
|
+
name: "revokerData",
|
|
1456
1507
|
type: "uint256",
|
|
1457
1508
|
internalType: "uint256"
|
|
1458
1509
|
},
|
|
1459
1510
|
{
|
|
1460
|
-
name: "
|
|
1511
|
+
name: "revokerContract",
|
|
1461
1512
|
type: "address",
|
|
1462
1513
|
internalType: "address"
|
|
1463
1514
|
},
|
|
1515
|
+
{
|
|
1516
|
+
name: "scope",
|
|
1517
|
+
type: "uint8",
|
|
1518
|
+
internalType: "uint8"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
name: "contracts",
|
|
1522
|
+
type: "address[]",
|
|
1523
|
+
internalType: "address[]"
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
name: "handles",
|
|
1527
|
+
type: "bytes32[]",
|
|
1528
|
+
internalType: "bytes32[]"
|
|
1529
|
+
},
|
|
1464
1530
|
{
|
|
1465
1531
|
name: "sealingKey",
|
|
1466
1532
|
type: "bytes32",
|
|
@@ -1495,6 +1561,19 @@ var MockACLArtifact = {
|
|
|
1495
1561
|
outputs: [],
|
|
1496
1562
|
stateMutability: "nonpayable"
|
|
1497
1563
|
},
|
|
1564
|
+
{
|
|
1565
|
+
type: "function",
|
|
1566
|
+
name: "defaultRevokerContract",
|
|
1567
|
+
inputs: [],
|
|
1568
|
+
outputs: [
|
|
1569
|
+
{
|
|
1570
|
+
name: "",
|
|
1571
|
+
type: "address",
|
|
1572
|
+
internalType: "address"
|
|
1573
|
+
}
|
|
1574
|
+
],
|
|
1575
|
+
stateMutability: "view"
|
|
1576
|
+
},
|
|
1498
1577
|
{
|
|
1499
1578
|
type: "function",
|
|
1500
1579
|
name: "delegateAccount",
|
|
@@ -1681,9 +1760,9 @@ var MockACLArtifact = {
|
|
|
1681
1760
|
name: "isAllowedWithPermission",
|
|
1682
1761
|
inputs: [
|
|
1683
1762
|
{
|
|
1684
|
-
name: "
|
|
1763
|
+
name: "acp",
|
|
1685
1764
|
type: "tuple",
|
|
1686
|
-
internalType: "struct
|
|
1765
|
+
internalType: "struct ACP",
|
|
1687
1766
|
components: [
|
|
1688
1767
|
{
|
|
1689
1768
|
name: "issuer",
|
|
@@ -1701,15 +1780,30 @@ var MockACLArtifact = {
|
|
|
1701
1780
|
internalType: "address"
|
|
1702
1781
|
},
|
|
1703
1782
|
{
|
|
1704
|
-
name: "
|
|
1783
|
+
name: "revokerData",
|
|
1705
1784
|
type: "uint256",
|
|
1706
1785
|
internalType: "uint256"
|
|
1707
1786
|
},
|
|
1708
1787
|
{
|
|
1709
|
-
name: "
|
|
1788
|
+
name: "revokerContract",
|
|
1710
1789
|
type: "address",
|
|
1711
1790
|
internalType: "address"
|
|
1712
1791
|
},
|
|
1792
|
+
{
|
|
1793
|
+
name: "scope",
|
|
1794
|
+
type: "uint8",
|
|
1795
|
+
internalType: "uint8"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
name: "contracts",
|
|
1799
|
+
type: "address[]",
|
|
1800
|
+
internalType: "address[]"
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
name: "handles",
|
|
1804
|
+
type: "bytes32[]",
|
|
1805
|
+
internalType: "bytes32[]"
|
|
1806
|
+
},
|
|
1713
1807
|
{
|
|
1714
1808
|
name: "sealingKey",
|
|
1715
1809
|
type: "bytes32",
|
|
@@ -1766,6 +1860,91 @@ var MockACLArtifact = {
|
|
|
1766
1860
|
],
|
|
1767
1861
|
stateMutability: "view"
|
|
1768
1862
|
},
|
|
1863
|
+
{
|
|
1864
|
+
type: "function",
|
|
1865
|
+
name: "receiveCtHash",
|
|
1866
|
+
inputs: [
|
|
1867
|
+
{
|
|
1868
|
+
name: "handle",
|
|
1869
|
+
type: "uint256",
|
|
1870
|
+
internalType: "uint256"
|
|
1871
|
+
},
|
|
1872
|
+
{
|
|
1873
|
+
name: "expectedSharer",
|
|
1874
|
+
type: "address",
|
|
1875
|
+
internalType: "address"
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
name: "receiver",
|
|
1879
|
+
type: "address",
|
|
1880
|
+
internalType: "address"
|
|
1881
|
+
}
|
|
1882
|
+
],
|
|
1883
|
+
outputs: [],
|
|
1884
|
+
stateMutability: "nonpayable"
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
type: "function",
|
|
1888
|
+
name: "setDefaultRevokerContract",
|
|
1889
|
+
inputs: [
|
|
1890
|
+
{
|
|
1891
|
+
name: "newAddress",
|
|
1892
|
+
type: "address",
|
|
1893
|
+
internalType: "address"
|
|
1894
|
+
}
|
|
1895
|
+
],
|
|
1896
|
+
outputs: [],
|
|
1897
|
+
stateMutability: "nonpayable"
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
type: "function",
|
|
1901
|
+
name: "setShareRegistry",
|
|
1902
|
+
inputs: [
|
|
1903
|
+
{
|
|
1904
|
+
name: "newAddress",
|
|
1905
|
+
type: "address",
|
|
1906
|
+
internalType: "address"
|
|
1907
|
+
}
|
|
1908
|
+
],
|
|
1909
|
+
outputs: [],
|
|
1910
|
+
stateMutability: "nonpayable"
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
type: "function",
|
|
1914
|
+
name: "shareCtHash",
|
|
1915
|
+
inputs: [
|
|
1916
|
+
{
|
|
1917
|
+
name: "handle",
|
|
1918
|
+
type: "uint256",
|
|
1919
|
+
internalType: "uint256"
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
name: "sharer",
|
|
1923
|
+
type: "address",
|
|
1924
|
+
internalType: "address"
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
name: "receiver",
|
|
1928
|
+
type: "address",
|
|
1929
|
+
internalType: "address"
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
outputs: [],
|
|
1933
|
+
stateMutability: "nonpayable"
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
type: "function",
|
|
1937
|
+
name: "shareRegistry",
|
|
1938
|
+
inputs: [],
|
|
1939
|
+
outputs: [
|
|
1940
|
+
{
|
|
1941
|
+
name: "",
|
|
1942
|
+
type: "address",
|
|
1943
|
+
internalType: "address"
|
|
1944
|
+
}
|
|
1945
|
+
],
|
|
1946
|
+
stateMutability: "view"
|
|
1947
|
+
},
|
|
1769
1948
|
{
|
|
1770
1949
|
type: "event",
|
|
1771
1950
|
name: "AllowedForDecryption",
|
|
@@ -1779,6 +1958,25 @@ var MockACLArtifact = {
|
|
|
1779
1958
|
],
|
|
1780
1959
|
anonymous: false
|
|
1781
1960
|
},
|
|
1961
|
+
{
|
|
1962
|
+
type: "event",
|
|
1963
|
+
name: "DefaultRevokerContractUpdated",
|
|
1964
|
+
inputs: [
|
|
1965
|
+
{
|
|
1966
|
+
name: "oldAddress",
|
|
1967
|
+
type: "address",
|
|
1968
|
+
indexed: false,
|
|
1969
|
+
internalType: "address"
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
name: "newAddress",
|
|
1973
|
+
type: "address",
|
|
1974
|
+
indexed: false,
|
|
1975
|
+
internalType: "address"
|
|
1976
|
+
}
|
|
1977
|
+
],
|
|
1978
|
+
anonymous: false
|
|
1979
|
+
},
|
|
1782
1980
|
{
|
|
1783
1981
|
type: "event",
|
|
1784
1982
|
name: "EIP712DomainChanged",
|
|
@@ -1811,16 +2009,35 @@ var MockACLArtifact = {
|
|
|
1811
2009
|
anonymous: false
|
|
1812
2010
|
},
|
|
1813
2011
|
{
|
|
1814
|
-
type: "
|
|
1815
|
-
name: "
|
|
1816
|
-
inputs: []
|
|
1817
|
-
},
|
|
1818
|
-
{
|
|
1819
|
-
type: "error",
|
|
1820
|
-
name: "DirectAllowForbidden",
|
|
2012
|
+
type: "event",
|
|
2013
|
+
name: "ShareRegistryUpdated",
|
|
1821
2014
|
inputs: [
|
|
1822
2015
|
{
|
|
1823
|
-
name: "
|
|
2016
|
+
name: "oldAddress",
|
|
2017
|
+
type: "address",
|
|
2018
|
+
indexed: false,
|
|
2019
|
+
internalType: "address"
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
name: "newAddress",
|
|
2023
|
+
type: "address",
|
|
2024
|
+
indexed: false,
|
|
2025
|
+
internalType: "address"
|
|
2026
|
+
}
|
|
2027
|
+
],
|
|
2028
|
+
anonymous: false
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
type: "error",
|
|
2032
|
+
name: "AlreadyDelegated",
|
|
2033
|
+
inputs: []
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
type: "error",
|
|
2037
|
+
name: "DirectAllowForbidden",
|
|
2038
|
+
inputs: [
|
|
2039
|
+
{
|
|
2040
|
+
name: "sender",
|
|
1824
2041
|
type: "address",
|
|
1825
2042
|
internalType: "address"
|
|
1826
2043
|
}
|
|
@@ -1831,6 +2048,22 @@ var MockACLArtifact = {
|
|
|
1831
2048
|
name: "InvalidShortString",
|
|
1832
2049
|
inputs: []
|
|
1833
2050
|
},
|
|
2051
|
+
{
|
|
2052
|
+
type: "error",
|
|
2053
|
+
name: "NotShared",
|
|
2054
|
+
inputs: [
|
|
2055
|
+
{
|
|
2056
|
+
name: "handle",
|
|
2057
|
+
type: "uint256",
|
|
2058
|
+
internalType: "uint256"
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
name: "receiver",
|
|
2062
|
+
type: "address",
|
|
2063
|
+
internalType: "address"
|
|
2064
|
+
}
|
|
2065
|
+
]
|
|
2066
|
+
},
|
|
1834
2067
|
{
|
|
1835
2068
|
type: "error",
|
|
1836
2069
|
name: "PermissionInvalid_Disabled",
|
|
@@ -1877,6 +2110,513 @@ var MockACLArtifact = {
|
|
|
1877
2110
|
internalType: "string"
|
|
1878
2111
|
}
|
|
1879
2112
|
]
|
|
2113
|
+
},
|
|
2114
|
+
{
|
|
2115
|
+
type: "error",
|
|
2116
|
+
name: "UnexpectedSharer",
|
|
2117
|
+
inputs: [
|
|
2118
|
+
{
|
|
2119
|
+
name: "expected",
|
|
2120
|
+
type: "address",
|
|
2121
|
+
internalType: "address"
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
name: "actual",
|
|
2125
|
+
type: "address",
|
|
2126
|
+
internalType: "address"
|
|
2127
|
+
}
|
|
2128
|
+
]
|
|
2129
|
+
}
|
|
2130
|
+
]
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
// src/ACPTimestampRevoker.ts
|
|
2134
|
+
var ACPTimestampRevokerArtifact = {
|
|
2135
|
+
contractName: "ACPTimestampRevoker",
|
|
2136
|
+
isFixed: false,
|
|
2137
|
+
abi: [
|
|
2138
|
+
{
|
|
2139
|
+
type: "function",
|
|
2140
|
+
name: "disabled",
|
|
2141
|
+
inputs: [
|
|
2142
|
+
{
|
|
2143
|
+
name: "issuer",
|
|
2144
|
+
type: "address",
|
|
2145
|
+
internalType: "address"
|
|
2146
|
+
},
|
|
2147
|
+
{
|
|
2148
|
+
name: "id",
|
|
2149
|
+
type: "uint256",
|
|
2150
|
+
internalType: "uint256"
|
|
2151
|
+
}
|
|
2152
|
+
],
|
|
2153
|
+
outputs: [
|
|
2154
|
+
{
|
|
2155
|
+
name: "",
|
|
2156
|
+
type: "bool",
|
|
2157
|
+
internalType: "bool"
|
|
2158
|
+
}
|
|
2159
|
+
],
|
|
2160
|
+
stateMutability: "view"
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
type: "function",
|
|
2164
|
+
name: "revokeAllAt",
|
|
2165
|
+
inputs: [
|
|
2166
|
+
{
|
|
2167
|
+
name: "",
|
|
2168
|
+
type: "address",
|
|
2169
|
+
internalType: "address"
|
|
2170
|
+
}
|
|
2171
|
+
],
|
|
2172
|
+
outputs: [
|
|
2173
|
+
{
|
|
2174
|
+
name: "",
|
|
2175
|
+
type: "uint256",
|
|
2176
|
+
internalType: "uint256"
|
|
2177
|
+
}
|
|
2178
|
+
],
|
|
2179
|
+
stateMutability: "view"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
type: "function",
|
|
2183
|
+
name: "revokeAllExisting",
|
|
2184
|
+
inputs: [],
|
|
2185
|
+
outputs: [],
|
|
2186
|
+
stateMutability: "nonpayable"
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
type: "function",
|
|
2190
|
+
name: "revokeSingle",
|
|
2191
|
+
inputs: [
|
|
2192
|
+
{
|
|
2193
|
+
name: "id",
|
|
2194
|
+
type: "uint256",
|
|
2195
|
+
internalType: "uint256"
|
|
2196
|
+
}
|
|
2197
|
+
],
|
|
2198
|
+
outputs: [],
|
|
2199
|
+
stateMutability: "nonpayable"
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
type: "function",
|
|
2203
|
+
name: "revokedSingle",
|
|
2204
|
+
inputs: [
|
|
2205
|
+
{
|
|
2206
|
+
name: "",
|
|
2207
|
+
type: "address",
|
|
2208
|
+
internalType: "address"
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
name: "",
|
|
2212
|
+
type: "uint256",
|
|
2213
|
+
internalType: "uint256"
|
|
2214
|
+
}
|
|
2215
|
+
],
|
|
2216
|
+
outputs: [
|
|
2217
|
+
{
|
|
2218
|
+
name: "",
|
|
2219
|
+
type: "bool",
|
|
2220
|
+
internalType: "bool"
|
|
2221
|
+
}
|
|
2222
|
+
],
|
|
2223
|
+
stateMutability: "view"
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
type: "event",
|
|
2227
|
+
name: "RevokedAll",
|
|
2228
|
+
inputs: [
|
|
2229
|
+
{
|
|
2230
|
+
name: "issuer",
|
|
2231
|
+
type: "address",
|
|
2232
|
+
indexed: true,
|
|
2233
|
+
internalType: "address"
|
|
2234
|
+
},
|
|
2235
|
+
{
|
|
2236
|
+
name: "at",
|
|
2237
|
+
type: "uint256",
|
|
2238
|
+
indexed: false,
|
|
2239
|
+
internalType: "uint256"
|
|
2240
|
+
}
|
|
2241
|
+
],
|
|
2242
|
+
anonymous: false
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
type: "event",
|
|
2246
|
+
name: "RevokedSingle",
|
|
2247
|
+
inputs: [
|
|
2248
|
+
{
|
|
2249
|
+
name: "issuer",
|
|
2250
|
+
type: "address",
|
|
2251
|
+
indexed: true,
|
|
2252
|
+
internalType: "address"
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
name: "id",
|
|
2256
|
+
type: "uint256",
|
|
2257
|
+
indexed: true,
|
|
2258
|
+
internalType: "uint256"
|
|
2259
|
+
}
|
|
2260
|
+
],
|
|
2261
|
+
anonymous: false
|
|
2262
|
+
}
|
|
2263
|
+
]
|
|
2264
|
+
};
|
|
2265
|
+
|
|
2266
|
+
// src/ACPShareRegistry.ts
|
|
2267
|
+
var ACPShareRegistryArtifact = {
|
|
2268
|
+
contractName: "ACPShareRegistry",
|
|
2269
|
+
isFixed: false,
|
|
2270
|
+
abi: [
|
|
2271
|
+
{
|
|
2272
|
+
type: "function",
|
|
2273
|
+
name: "getShare",
|
|
2274
|
+
inputs: [
|
|
2275
|
+
{
|
|
2276
|
+
name: "shareId",
|
|
2277
|
+
type: "bytes32",
|
|
2278
|
+
internalType: "bytes32"
|
|
2279
|
+
}
|
|
2280
|
+
],
|
|
2281
|
+
outputs: [
|
|
2282
|
+
{
|
|
2283
|
+
name: "",
|
|
2284
|
+
type: "tuple",
|
|
2285
|
+
internalType: "struct ACP",
|
|
2286
|
+
components: [
|
|
2287
|
+
{
|
|
2288
|
+
name: "issuer",
|
|
2289
|
+
type: "address",
|
|
2290
|
+
internalType: "address"
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
name: "expiration",
|
|
2294
|
+
type: "uint64",
|
|
2295
|
+
internalType: "uint64"
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
name: "recipient",
|
|
2299
|
+
type: "address",
|
|
2300
|
+
internalType: "address"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
name: "revokerData",
|
|
2304
|
+
type: "uint256",
|
|
2305
|
+
internalType: "uint256"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
name: "revokerContract",
|
|
2309
|
+
type: "address",
|
|
2310
|
+
internalType: "address"
|
|
2311
|
+
},
|
|
2312
|
+
{
|
|
2313
|
+
name: "scope",
|
|
2314
|
+
type: "uint8",
|
|
2315
|
+
internalType: "uint8"
|
|
2316
|
+
},
|
|
2317
|
+
{
|
|
2318
|
+
name: "contracts",
|
|
2319
|
+
type: "address[]",
|
|
2320
|
+
internalType: "address[]"
|
|
2321
|
+
},
|
|
2322
|
+
{
|
|
2323
|
+
name: "handles",
|
|
2324
|
+
type: "bytes32[]",
|
|
2325
|
+
internalType: "bytes32[]"
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
name: "sealingKey",
|
|
2329
|
+
type: "bytes32",
|
|
2330
|
+
internalType: "bytes32"
|
|
2331
|
+
},
|
|
2332
|
+
{
|
|
2333
|
+
name: "issuerSignature",
|
|
2334
|
+
type: "bytes",
|
|
2335
|
+
internalType: "bytes"
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
name: "recipientSignature",
|
|
2339
|
+
type: "bytes",
|
|
2340
|
+
internalType: "bytes"
|
|
2341
|
+
}
|
|
2342
|
+
]
|
|
2343
|
+
}
|
|
2344
|
+
],
|
|
2345
|
+
stateMutability: "view"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
type: "function",
|
|
2349
|
+
name: "isShareValid",
|
|
2350
|
+
inputs: [
|
|
2351
|
+
{
|
|
2352
|
+
name: "shareId",
|
|
2353
|
+
type: "bytes32",
|
|
2354
|
+
internalType: "bytes32"
|
|
2355
|
+
}
|
|
2356
|
+
],
|
|
2357
|
+
outputs: [
|
|
2358
|
+
{
|
|
2359
|
+
name: "",
|
|
2360
|
+
type: "bool",
|
|
2361
|
+
internalType: "bool"
|
|
2362
|
+
}
|
|
2363
|
+
],
|
|
2364
|
+
stateMutability: "view"
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
type: "function",
|
|
2368
|
+
name: "removeShare",
|
|
2369
|
+
inputs: [
|
|
2370
|
+
{
|
|
2371
|
+
name: "shareId",
|
|
2372
|
+
type: "bytes32",
|
|
2373
|
+
internalType: "bytes32"
|
|
2374
|
+
}
|
|
2375
|
+
],
|
|
2376
|
+
outputs: [],
|
|
2377
|
+
stateMutability: "nonpayable"
|
|
2378
|
+
},
|
|
2379
|
+
{
|
|
2380
|
+
type: "function",
|
|
2381
|
+
name: "share",
|
|
2382
|
+
inputs: [
|
|
2383
|
+
{
|
|
2384
|
+
name: "acp",
|
|
2385
|
+
type: "tuple",
|
|
2386
|
+
internalType: "struct ACP",
|
|
2387
|
+
components: [
|
|
2388
|
+
{
|
|
2389
|
+
name: "issuer",
|
|
2390
|
+
type: "address",
|
|
2391
|
+
internalType: "address"
|
|
2392
|
+
},
|
|
2393
|
+
{
|
|
2394
|
+
name: "expiration",
|
|
2395
|
+
type: "uint64",
|
|
2396
|
+
internalType: "uint64"
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
name: "recipient",
|
|
2400
|
+
type: "address",
|
|
2401
|
+
internalType: "address"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
name: "revokerData",
|
|
2405
|
+
type: "uint256",
|
|
2406
|
+
internalType: "uint256"
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
name: "revokerContract",
|
|
2410
|
+
type: "address",
|
|
2411
|
+
internalType: "address"
|
|
2412
|
+
},
|
|
2413
|
+
{
|
|
2414
|
+
name: "scope",
|
|
2415
|
+
type: "uint8",
|
|
2416
|
+
internalType: "uint8"
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
name: "contracts",
|
|
2420
|
+
type: "address[]",
|
|
2421
|
+
internalType: "address[]"
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
name: "handles",
|
|
2425
|
+
type: "bytes32[]",
|
|
2426
|
+
internalType: "bytes32[]"
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
name: "sealingKey",
|
|
2430
|
+
type: "bytes32",
|
|
2431
|
+
internalType: "bytes32"
|
|
2432
|
+
},
|
|
2433
|
+
{
|
|
2434
|
+
name: "issuerSignature",
|
|
2435
|
+
type: "bytes",
|
|
2436
|
+
internalType: "bytes"
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
name: "recipientSignature",
|
|
2440
|
+
type: "bytes",
|
|
2441
|
+
internalType: "bytes"
|
|
2442
|
+
}
|
|
2443
|
+
]
|
|
2444
|
+
}
|
|
2445
|
+
],
|
|
2446
|
+
outputs: [
|
|
2447
|
+
{
|
|
2448
|
+
name: "shareId",
|
|
2449
|
+
type: "bytes32",
|
|
2450
|
+
internalType: "bytes32"
|
|
2451
|
+
}
|
|
2452
|
+
],
|
|
2453
|
+
stateMutability: "nonpayable"
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
type: "function",
|
|
2457
|
+
name: "sharesFor",
|
|
2458
|
+
inputs: [
|
|
2459
|
+
{
|
|
2460
|
+
name: "recipient",
|
|
2461
|
+
type: "address",
|
|
2462
|
+
internalType: "address"
|
|
2463
|
+
}
|
|
2464
|
+
],
|
|
2465
|
+
outputs: [
|
|
2466
|
+
{
|
|
2467
|
+
name: "acps",
|
|
2468
|
+
type: "tuple[]",
|
|
2469
|
+
internalType: "struct ACP[]",
|
|
2470
|
+
components: [
|
|
2471
|
+
{
|
|
2472
|
+
name: "issuer",
|
|
2473
|
+
type: "address",
|
|
2474
|
+
internalType: "address"
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
name: "expiration",
|
|
2478
|
+
type: "uint64",
|
|
2479
|
+
internalType: "uint64"
|
|
2480
|
+
},
|
|
2481
|
+
{
|
|
2482
|
+
name: "recipient",
|
|
2483
|
+
type: "address",
|
|
2484
|
+
internalType: "address"
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
name: "revokerData",
|
|
2488
|
+
type: "uint256",
|
|
2489
|
+
internalType: "uint256"
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
name: "revokerContract",
|
|
2493
|
+
type: "address",
|
|
2494
|
+
internalType: "address"
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
name: "scope",
|
|
2498
|
+
type: "uint8",
|
|
2499
|
+
internalType: "uint8"
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
name: "contracts",
|
|
2503
|
+
type: "address[]",
|
|
2504
|
+
internalType: "address[]"
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
name: "handles",
|
|
2508
|
+
type: "bytes32[]",
|
|
2509
|
+
internalType: "bytes32[]"
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
name: "sealingKey",
|
|
2513
|
+
type: "bytes32",
|
|
2514
|
+
internalType: "bytes32"
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
name: "issuerSignature",
|
|
2518
|
+
type: "bytes",
|
|
2519
|
+
internalType: "bytes"
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
name: "recipientSignature",
|
|
2523
|
+
type: "bytes",
|
|
2524
|
+
internalType: "bytes"
|
|
2525
|
+
}
|
|
2526
|
+
]
|
|
2527
|
+
}
|
|
2528
|
+
],
|
|
2529
|
+
stateMutability: "view"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
type: "event",
|
|
2533
|
+
name: "ShareRemoved",
|
|
2534
|
+
inputs: [
|
|
2535
|
+
{
|
|
2536
|
+
name: "recipient",
|
|
2537
|
+
type: "address",
|
|
2538
|
+
indexed: true,
|
|
2539
|
+
internalType: "address"
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
name: "issuer",
|
|
2543
|
+
type: "address",
|
|
2544
|
+
indexed: true,
|
|
2545
|
+
internalType: "address"
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
name: "shareId",
|
|
2549
|
+
type: "bytes32",
|
|
2550
|
+
indexed: false,
|
|
2551
|
+
internalType: "bytes32"
|
|
2552
|
+
}
|
|
2553
|
+
],
|
|
2554
|
+
anonymous: false
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
type: "event",
|
|
2558
|
+
name: "Shared",
|
|
2559
|
+
inputs: [
|
|
2560
|
+
{
|
|
2561
|
+
name: "recipient",
|
|
2562
|
+
type: "address",
|
|
2563
|
+
indexed: true,
|
|
2564
|
+
internalType: "address"
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
name: "issuer",
|
|
2568
|
+
type: "address",
|
|
2569
|
+
indexed: true,
|
|
2570
|
+
internalType: "address"
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
name: "shareId",
|
|
2574
|
+
type: "bytes32",
|
|
2575
|
+
indexed: false,
|
|
2576
|
+
internalType: "bytes32"
|
|
2577
|
+
}
|
|
2578
|
+
],
|
|
2579
|
+
anonymous: false
|
|
2580
|
+
},
|
|
2581
|
+
{
|
|
2582
|
+
type: "error",
|
|
2583
|
+
name: "AlreadyShared",
|
|
2584
|
+
inputs: []
|
|
2585
|
+
},
|
|
2586
|
+
{
|
|
2587
|
+
type: "error",
|
|
2588
|
+
name: "IssuerSignatureMissing",
|
|
2589
|
+
inputs: []
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
type: "error",
|
|
2593
|
+
name: "NotIssuer",
|
|
2594
|
+
inputs: []
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
type: "error",
|
|
2598
|
+
name: "NotIssuerOrRecipient",
|
|
2599
|
+
inputs: []
|
|
2600
|
+
},
|
|
2601
|
+
{
|
|
2602
|
+
type: "error",
|
|
2603
|
+
name: "RecipientMissing",
|
|
2604
|
+
inputs: []
|
|
2605
|
+
},
|
|
2606
|
+
{
|
|
2607
|
+
type: "error",
|
|
2608
|
+
name: "SealingKeyMustBeEmpty",
|
|
2609
|
+
inputs: []
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
type: "error",
|
|
2613
|
+
name: "ShareExpired",
|
|
2614
|
+
inputs: []
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
type: "error",
|
|
2618
|
+
name: "UnknownShare",
|
|
2619
|
+
inputs: []
|
|
1880
2620
|
}
|
|
1881
2621
|
]
|
|
1882
2622
|
};
|
|
@@ -2171,7 +2911,7 @@ var MockThresholdNetworkArtifact = {
|
|
|
2171
2911
|
},
|
|
2172
2912
|
{
|
|
2173
2913
|
type: "function",
|
|
2174
|
-
name: "
|
|
2914
|
+
name: "decryptForTxWithACP",
|
|
2175
2915
|
inputs: [
|
|
2176
2916
|
{
|
|
2177
2917
|
name: "ctHash",
|
|
@@ -2179,9 +2919,9 @@ var MockThresholdNetworkArtifact = {
|
|
|
2179
2919
|
internalType: "uint256"
|
|
2180
2920
|
},
|
|
2181
2921
|
{
|
|
2182
|
-
name: "
|
|
2922
|
+
name: "acp",
|
|
2183
2923
|
type: "tuple",
|
|
2184
|
-
internalType: "struct
|
|
2924
|
+
internalType: "struct ACP",
|
|
2185
2925
|
components: [
|
|
2186
2926
|
{
|
|
2187
2927
|
name: "issuer",
|
|
@@ -2199,15 +2939,30 @@ var MockThresholdNetworkArtifact = {
|
|
|
2199
2939
|
internalType: "address"
|
|
2200
2940
|
},
|
|
2201
2941
|
{
|
|
2202
|
-
name: "
|
|
2942
|
+
name: "revokerData",
|
|
2203
2943
|
type: "uint256",
|
|
2204
2944
|
internalType: "uint256"
|
|
2205
2945
|
},
|
|
2206
2946
|
{
|
|
2207
|
-
name: "
|
|
2947
|
+
name: "revokerContract",
|
|
2208
2948
|
type: "address",
|
|
2209
2949
|
internalType: "address"
|
|
2210
2950
|
},
|
|
2951
|
+
{
|
|
2952
|
+
name: "scope",
|
|
2953
|
+
type: "uint8",
|
|
2954
|
+
internalType: "uint8"
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
name: "contracts",
|
|
2958
|
+
type: "address[]",
|
|
2959
|
+
internalType: "address[]"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
name: "handles",
|
|
2963
|
+
type: "bytes32[]",
|
|
2964
|
+
internalType: "bytes32[]"
|
|
2965
|
+
},
|
|
2211
2966
|
{
|
|
2212
2967
|
name: "sealingKey",
|
|
2213
2968
|
type: "bytes32",
|
|
@@ -2247,7 +3002,7 @@ var MockThresholdNetworkArtifact = {
|
|
|
2247
3002
|
},
|
|
2248
3003
|
{
|
|
2249
3004
|
type: "function",
|
|
2250
|
-
name: "
|
|
3005
|
+
name: "decryptForTxWithoutACP",
|
|
2251
3006
|
inputs: [
|
|
2252
3007
|
{
|
|
2253
3008
|
name: "ctHash",
|
|
@@ -2385,9 +3140,9 @@ var MockThresholdNetworkArtifact = {
|
|
|
2385
3140
|
internalType: "uint256"
|
|
2386
3141
|
},
|
|
2387
3142
|
{
|
|
2388
|
-
name: "
|
|
3143
|
+
name: "acp",
|
|
2389
3144
|
type: "tuple",
|
|
2390
|
-
internalType: "struct
|
|
3145
|
+
internalType: "struct ACP",
|
|
2391
3146
|
components: [
|
|
2392
3147
|
{
|
|
2393
3148
|
name: "issuer",
|
|
@@ -2405,15 +3160,30 @@ var MockThresholdNetworkArtifact = {
|
|
|
2405
3160
|
internalType: "address"
|
|
2406
3161
|
},
|
|
2407
3162
|
{
|
|
2408
|
-
name: "
|
|
3163
|
+
name: "revokerData",
|
|
2409
3164
|
type: "uint256",
|
|
2410
3165
|
internalType: "uint256"
|
|
2411
3166
|
},
|
|
2412
3167
|
{
|
|
2413
|
-
name: "
|
|
3168
|
+
name: "revokerContract",
|
|
2414
3169
|
type: "address",
|
|
2415
3170
|
internalType: "address"
|
|
2416
3171
|
},
|
|
3172
|
+
{
|
|
3173
|
+
name: "scope",
|
|
3174
|
+
type: "uint8",
|
|
3175
|
+
internalType: "uint8"
|
|
3176
|
+
},
|
|
3177
|
+
{
|
|
3178
|
+
name: "contracts",
|
|
3179
|
+
type: "address[]",
|
|
3180
|
+
internalType: "address[]"
|
|
3181
|
+
},
|
|
3182
|
+
{
|
|
3183
|
+
name: "handles",
|
|
3184
|
+
type: "bytes32[]",
|
|
3185
|
+
internalType: "bytes32[]"
|
|
3186
|
+
},
|
|
2417
3187
|
{
|
|
2418
3188
|
name: "sealingKey",
|
|
2419
3189
|
type: "bytes32",
|
|
@@ -2466,9 +3236,9 @@ var MockThresholdNetworkArtifact = {
|
|
|
2466
3236
|
internalType: "uint256"
|
|
2467
3237
|
},
|
|
2468
3238
|
{
|
|
2469
|
-
name: "
|
|
3239
|
+
name: "acp",
|
|
2470
3240
|
type: "tuple",
|
|
2471
|
-
internalType: "struct
|
|
3241
|
+
internalType: "struct ACP",
|
|
2472
3242
|
components: [
|
|
2473
3243
|
{
|
|
2474
3244
|
name: "issuer",
|
|
@@ -2486,15 +3256,30 @@ var MockThresholdNetworkArtifact = {
|
|
|
2486
3256
|
internalType: "address"
|
|
2487
3257
|
},
|
|
2488
3258
|
{
|
|
2489
|
-
name: "
|
|
3259
|
+
name: "revokerData",
|
|
2490
3260
|
type: "uint256",
|
|
2491
3261
|
internalType: "uint256"
|
|
2492
3262
|
},
|
|
2493
3263
|
{
|
|
2494
|
-
name: "
|
|
3264
|
+
name: "revokerContract",
|
|
2495
3265
|
type: "address",
|
|
2496
3266
|
internalType: "address"
|
|
2497
3267
|
},
|
|
3268
|
+
{
|
|
3269
|
+
name: "scope",
|
|
3270
|
+
type: "uint8",
|
|
3271
|
+
internalType: "uint8"
|
|
3272
|
+
},
|
|
3273
|
+
{
|
|
3274
|
+
name: "contracts",
|
|
3275
|
+
type: "address[]",
|
|
3276
|
+
internalType: "address[]"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
name: "handles",
|
|
3280
|
+
type: "bytes32[]",
|
|
3281
|
+
internalType: "bytes32[]"
|
|
3282
|
+
},
|
|
2498
3283
|
{
|
|
2499
3284
|
name: "sealingKey",
|
|
2500
3285
|
type: "bytes32",
|
|
@@ -2598,6 +3383,6 @@ var MockThresholdNetworkArtifact = {
|
|
|
2598
3383
|
]
|
|
2599
3384
|
};
|
|
2600
3385
|
|
|
2601
|
-
export { MockACLArtifact, MockTaskManagerArtifact, MockThresholdNetworkArtifact, MockZkVerifierArtifact };
|
|
3386
|
+
export { ACPShareRegistryArtifact, ACPTimestampRevokerArtifact, MockACLArtifact, MockTaskManagerArtifact, MockThresholdNetworkArtifact, MockZkVerifierArtifact };
|
|
2602
3387
|
//# sourceMappingURL=index.mjs.map
|
|
2603
3388
|
//# sourceMappingURL=index.mjs.map
|