You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_Interface_IColony.md
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,19 @@ Set the deprecation of an extension in a colony. Secured function to authorised
261
261
|deprecated|bool|Whether to deprecate the extension or not
262
262
263
263
264
+
### `deprecateExtension`
265
+
266
+
Set the deprecation of an extension in a colony. Secured function to authorised members.
267
+
268
+
269
+
**Parameters**
270
+
271
+
|Name|Type|Description|
272
+
|---|---|---|
273
+
|extensionId|bytes32|keccak256 hash of the extension name, used as an indentifier
274
+
|deprecated|bool|Whether to deprecate the extension or not
275
+
276
+
264
277
### `editColony`
265
278
266
279
Called to change the metadata associated with a colony. Expected to be a IPFS hash of a JSON blob, but not enforced to any degree by the contracts
@@ -1761,6 +1774,19 @@ Uninstall an extension from a colony. Secured function to authorised members.
1761
1774
|extension|address|The address of the extension installation
1762
1775
1763
1776
1777
+
### `uninstallExtension`
1778
+
1779
+
Uninstall an extension from a colony. Secured function to authorised members.
1780
+
1781
+
*Note: This is a permanent action -- re-installing the extension will deploy a new contract*
1782
+
1783
+
**Parameters**
1784
+
1785
+
|Name|Type|Description|
1786
+
|---|---|---|
1787
+
|extensionId|bytes32|keccak256 hash of the extension name, used as an indentifier
1788
+
1789
+
1764
1790
### `unlockToken`
1765
1791
1766
1792
unlock the native colony token, if possible
@@ -1832,6 +1858,19 @@ Upgrade an extension in a colony. Secured function to authorised members.
1832
1858
|newVersion|uint256|The version to upgrade to (must be one larger than the current version)
1833
1859
1834
1860
1861
+
### `upgradeExtension`
1862
+
1863
+
Upgrade an extension in a colony. Secured function to authorised members.
1864
+
1865
+
1866
+
**Parameters**
1867
+
1868
+
|Name|Type|Description|
1869
+
|---|---|---|
1870
+
|extensionId|bytes32|keccak256 hash of the extension name, used as an indentifier
1871
+
|newVersion|uint256|The version to upgrade to (must be one larger than the current version)
1872
+
1873
+
1835
1874
### `userCanSetRoles`
1836
1875
1837
1876
Check whether a given user can modify roles in the target domain `_childDomainId`. Mostly a convenience function to provide a uniform interface for extension contracts validating permissions
0 commit comments