BrainPolicyRegistry
Property
Value
Interface
interface IBrainPolicyRegistry {
event PolicyRegistered(
bytes32 indexed tenantId,
uint256 indexed version,
bytes32 policyHash,
address[] signers,
uint256 activatedAt
);
function registerPolicy(
bytes32 tenantId,
uint256 version,
bytes32 policyHash,
address[] calldata signers, // pre-authorized tenant signers, ascending order
bytes[] calldata signatures // EIP-712 PolicyRegistration, one per signer
) external;
function getPolicy(bytes32 tenantId, uint256 version)
external view
returns (bytes32 hash, address[] memory signers, uint256 activatedAt);
}EIP-712 Type
Field
Purpose
Lifecycle
Phase
Where
What Is on-Chain vs Off-Chain
On-chain
Off-chain
Policy Lookup
Versioning Rules
Rule
Detail
Privacy
Mechanism
Effect
What's Next
Last updated
