history

Helpers to fetch logs of payments made to/from a participant.

Data is fetched from 3 tables: transfers, payments and exchanges. For details on what these tables represent, see DB Schema.

gratipay.utils.history.iter_payday_events(db, participant, year=None)[source]

Yields payday events for the given participant.