Skip to main content

Signature

Description

Creates a new simple policy with no initial members. Permissionless. Reverts with ZeroAddress when admin is address(0). Reverts with IncompatiblePolicyType when policyType is UNION or INTERSECT. Use createCompositePolicy to create composite policies.

Parameters

Returns

Access control

Permissionless creation, but state-changing registry calls require the feature to be active.

Policy interaction

This is part of the singleton PolicyRegistry surface used by B20 policy scopes.

Example