Skip to main content

is_allowed_identity_create_denomination

Function is_allowed_identity_create_denomination 

Source
pub fn is_allowed_identity_create_denomination(
    denomination: u64,
    platform_version: &PlatformVersion,
) -> bool
Expand description

Whether denomination is a member of platform_version’s exit-denomination set for IdentityCreateFromShieldedPool.

The single definition of an allowed identity-create exit: transition structure validation, the transition builder and wallet preflights all call it. Consensus-critical — the set is versioned in the tables, so a new rule is a table change, never an edit here. Every member is positive, so zero is never allowed; versions without the shielded pool allow nothing.