Documentation

Actus.Abstract

An ActusContract bundles a Terms type with a State type.

Instances For

    The operational semantics of an ActusContract: an initial state, a one-step transition relation, and a cashflow extractor.

    getCashflow takes a proof that a single step took place and a RiskFactor instance, and returns the resulting Cashflow.

    Instances For

      The reflexive-transitive closure of rel is Star rel, defined in Actus.Closures. Consumers can write Star st.rel s s' for execution traces, where st : StateTransition c.

      The following helper is the analogue of the commented-out getCashflows in the Agda source: