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