# `ExGAM.Erasure.Analysis.Facts`
[🔗](https://github.com/elchemista/ex_gam/blob/0.1.0/lib/ex_gam/erasure/analysis/facts.ex#L1)

Typed, read-only inputs for causal erasure analysis.

Live callers use `from_state/1`. Historical consumers may construct a
prefix with the same decoded record maps. This keeps canonical maps at the
ledger boundary and prevents erasure semantics from guessing atom keys,
string keys, structs or lists on every access.

# `t`

```elixir
@type t() :: %ExGAM.Erasure.Analysis.Facts{
  acts: %{optional(String.t()) =&gt; ExGAM.Act.t()},
  attempts: %{optional(String.t()) =&gt; ExGAM.Attempt.t()},
  availability_index: ExGAM.Erasure.Index.t() | nil,
  decisions: %{optional(String.t()) =&gt; ExGAM.Decision.t()},
  declassifications: %{optional(String.t()) =&gt; ExGAM.Declassification.t()},
  duties: %{optional(term()) =&gt; ExGAM.Duty.t()},
  erasures: %{optional(String.t()) =&gt; ExGAM.Erasure.t()},
  evidence: %{optional(String.t()) =&gt; ExGAM.Evidence.t()},
  outcomes: %{optional(String.t()) =&gt; ExGAM.Outcome.t()},
  presentations: %{optional(String.t()) =&gt; ExGAM.Presentation.t()},
  terminal_dispatches: map()
}
```

# `from_state`

```elixir
@spec from_state(ExGAM.GovernedAct.State.t()) :: t()
```

Builds the erasure view of a complete folded Domain state.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
