roles_integrity::admins

Function validate_agent_was_admin_at_the_time

Source
pub fn validate_agent_was_admin_at_the_time(
    agent: &AgentPubKey,
    chain_top: &ActionHash,
) -> ExternResult<ValidateCallbackResult>
Expand description

Validating that the Agent had a claim of the ADMIN_ROLE in their source chain prior to some action