Signature
IPolicyRegistry.sol
Description
Creates a new simple policy with no initial members. Any caller may invoke this function. The newly created policy has an empty member set and the specifiedadmin.
To seed an initial member set in the same call, use createPolicyWithAccounts instead.
Parameters
Returns
Access Control
Permissionless creation. This is a state-changing call, so it reverts withFeatureNotActivated while the PolicyRegistry feature is inactive.
Revert Conditions
Example
Usage Example