# `Logistiki.Demo.Seeds`
[🔗](https://github.com/thanos/logistiki/blob/v0.1.0/lib/logistiki/demo/seeds.ex#L1)

Demo scenario seeds for Logistiki v0.1.0.

Creates the demo business entity tree, virtual account tree, and
entity-account relationships described in the project plan, then exposes
helpers to process the demo business events.

This module is idempotent within a transaction and is used by the demo
script, the integration tests, and `priv/repo/seeds.exs`.

# `account_opened_event`
*since 0.1.0* 

Returns a no-accounting-impact account-opened event.

# `deposit_event`
*since 0.1.0* 

Returns the demo deposit event for `account_code`.

# `fee_event`
*since 0.1.0* 

Returns the demo fee event.

# `run`
*since 0.1.0* 

Runs the full demo seed (entities, accounts, relationships). Returns `{entities, accounts}`.

# `seed_accounts`
*since 0.1.0* 

Creates the demo virtual account tree and returns a map of named accounts.

# `seed_entities`
*since 0.1.0* 

Creates the demo business entity tree and returns a map of named entities.

# `seed_relationships`
*since 0.1.0* 

Links demo entities to their accounts and returns :ok.

# `transfer_event`
*since 0.1.0* 

Returns the demo transfer event from `from_code` to `to_code`.

---

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