Skip to main content

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 specified admin. 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 with FeatureNotActivated while the PolicyRegistry feature is inactive.

Revert Conditions

Example

Usage Example