pub trait AuthAdapter {
// Required methods
fn authorize(
&self,
action: ActionKind,
caller: Address,
proof: Option<&[u8]>,
) -> AuthResult<()>;
fn is_paused(&self) -> bool;
}Expand description
Pluggable authorization adapter interface.
Curator vaults use RBAC checks while strategy vaults use Merkle proof verification against a globally updatable root.
Required Methods§
Authorize an action for a caller.