[Please find testing instructions and various comments in the GitHub repository]
Imagine a company paying an employee.
1. Deposit a monthly salary in the Sablier contract, say $2880
2. Set the payment rate to $4/hour
3. As time passes, the money allocation "moves" from the employer address to the employee
4. If, after 10 days, the employee needs an extra chunk of money, they can withdraw up to $960.
5. If the employer doesn't end the payment before the termination date, the employee will be able to withdraw the initial deposit in full.
Of course, that's not all. Sablier can be applied to virtually anything: billing, taxes, subscriptions, rent, interest payments or even when you want to disincentivise people running late on calls.
That is quite a silly project description, I forgot to add the details for the GraphQL queries. Please find that in the repo's README: https://github.com/PaulRBerg/sablier-subgraph Also, screenshots: - https://imgur.com/a/jqzQrWX - https://imgur.com/a/qJ4dXc3 - https://imgur.com/a/NRUGOE7