Skip to main content

permission_binds_to

Function permission_binds_to 

Source
pub fn permission_binds_to(constraint: &NQuin, target: &NQuin) -> bool
Expand description

Verify that a permission constraint is bound to target (the non-fungibility check): its context binding must match target’s current fingerprint. Tampering with target, or moving the constraint to a different nquin, breaks the binding.