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
{{ message }}
Repository navigation
Commit 0702b5c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/onchain-governance.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,7 @@ The central governance contract that manages OS image whitelisting, app registra
158
158
|`addOsImageHashAtEpochs(uint256,uint256,bytes32)`| Whitelist an OS image hash in a range of root epochs |
159
159
|`removeOsImageHashAtEpochs(uint256,uint256,bytes32)`| Remove an OS image from a range of root epochs; `0` through the latest revokes it |
160
160
|`setGatewayAppId(string)`| Set the trusted Gateway app ID(s) |
161
+
|`setAllowAnyTeeVariant(bool)` / `setAllowedTeeVariants(string[])`| Allow KMS instances and apps on any TEE platform, or only the listed ones, at every root epoch |
161
162
|`registerApp(address)`| Register an app contract |
162
163
|`deployAndRegisterApp(...)`| Deploy and register app in one transaction |
163
164
|`isAppAllowed(AppBootInfo)`| Check if an app is allowed to boot |
@@ -176,6 +177,7 @@ to the next epoch. Removing a value from rows `0` through the current epoch revo
176
177
|`addDeviceAtEpoch(uint256,bytes32)` / `addDeviceAtEpochs(uint256,uint256,bytes32)`| Whitelist a device ID |
177
178
|`removeDeviceAtEpoch(uint256,bytes32)` / `removeDeviceAtEpochs(uint256,uint256,bytes32)`| Remove a device |
178
179
|`setAllowAnyDevice(bool)`| Allow any device to run this app, at every app epoch |
180
+
|`setAllowAnyTeeVariant(bool)` / `setAllowedTeeVariants(string[])`| Allow any TEE platform, or only the listed ones (e.g. `dstack-tdx`), at every app epoch. Set the list before restricting: a restricted empty list refuses every platform |
179
181
|`currentAppEpoch()`| The app epoch new keys are derived for |
180
182
|`isAppAllowed(AppBootInfo)`| Check if app can boot with given config (app epoch 0 only) |
0 commit comments