Skip to main content

owner_hex

Function owner_hex 

Source
pub fn owner_hex(community_id: &str) -> Option<String>
Expand description

The community’s proven owner as lowercase hex, whichever protocol it speaks.

Resolving this through the v1 loader alone returns None for a v2 community (v2 stores no attestation), and a None owner is not a safe default here: it costs the owner their supremacy AND drops the protection that makes them an invalid target, so an admin outranks the roleless owner in both directions.