Function apply_action

Source
pub fn apply_action(
    state: VaultState,
    config: &VaultConfig,
    restrictions: Option<&Restrictions>,
    self_id: &Address,
    action: KernelAction,
) -> Result<KernelResult, KernelError>
Expand description

Apply a kernel action to state, returning updated state and effects.