sov-kernel-monster / seb /kernel /ada /seb_constitution_kernel.adb
SNAPKITTYWEST's picture
chore: push full sov-kernel-monster content from local build
9425aed verified
Raw
History Blame Contribute Delete
434 Bytes
-- SPARK Kernel implementation
package body Kernel
with SPARK_Mode => On
is
function Authorize (P : Proposal) return Verdict is
begin
if P.Precondition_Met then
return Approved;
else
return Denied;
end if;
end Authorize;
procedure Execute_Transition (P : Proposal; V : out Verdict) is
begin
V := Authorize (P);
end Execute_Transition;
end Kernel;