Skip to main content

is_authorized_for_token

Function is_authorized_for_token 

Source
fn is_authorized_for_token(
    token: Address,
    address: Address,
    role: AuthRole,
) -> Result<bool>
Expand description

Checks whether address is authorized under the transfer policy of token for the given role. Returns false instead of erroring when the policy lookup fails.