Signature
IPolicyRegistry.sol
Description
Setsaccounts membership in a BLOCKLIST policy to blocked in one batch.
Dev: Reverts with PolicyNotFound when policyId does not exist.
Dev: Reverts with IncompatiblePolicyType when the policy is not BLOCKLIST.
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: blocked 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
Usage Example