Skip to main content
Related concept

Signature

Description

The current policy ID configured for policyScope. Returns 0 (always-allow built-in) for any slot that has never been assigned. Dev: Reverts with UnsupportedPolicyType when policyScope is not recognized by this token. Param: policyScope Policy slot scope. Return: Configured policy ID.

Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

Policy interaction

Reads or writes a token policy-scope pointer into the PolicyRegistry.

Example