Skip to main content
Related concept

Signature

Description

Sets accounts membership in an ALLOWLIST policy to allowed in one batch. Dev: Reverts with PolicyNotFound when policyId does not exist. Dev: Reverts with IncompatiblePolicyType when the policy is not ALLOWLIST. Dev: Reverts with Unauthorized when the caller is not the current admin. Dev: Reverts with BatchSizeTooLarge when accounts.length exceeds the registry limit. Param: policyId Policy to update. Param: allowed Membership state to apply to every account in the batch. Param: accounts Accounts to update.

Access control

Callable by the policy admin for the target policy.

Policy interaction

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

Example