Skip to content
forsiq
Block —

Fictional company prototype

The contract

All docs

ForsiqRegisterBook is written for Robinhood Chain. It is new, it has not been deployed yet, and it has been tested only by this project's own unit, fuzz and invariant tests.

It has

  • Entities with their own admin, two-step admin handover and officers.
  • Up to 16 classes per entity, with unit balances kept as records.
  • Vesting schedules with cliff, period and duration.
  • An eligibility list, up to 12 transfer windows, class and holder lockups and a holder cap, per class.
  • checkTransfer, a view that returns every failed rule code, and transferFacts, the numbers behind it.
  • The requested, approved, recorded state machine.
  • An append-only history readable from state and from events.

It leaves out

  • Any global owner, fee, pause or upgrade path.
  • Any token behaviour: there is no approve, allowance, public transfer, balanceOf or totalSupply.
  • Any payable function or external call. It holds no tokens or money.