Normally invoked via CPI by another program (e.g. Token Metadata)
to decide whether a token operation is permitted. Returns an error
if any rule for the operation fails. When updateRuleState is set,
stateful rules such as Frequency are advanced and persisted to the
rule-set state PDA.
Validates an operation against a stored RuleSet.
Normally invoked via CPI by another program (e.g. Token Metadata) to decide whether a token operation is permitted. Returns an error if any rule for the operation fails. When
updateRuleStateis set, stateful rules such as Frequency are advanced and persisted to the rule-set state PDA.