receiverat a constant
flowRatemeasured in amount per second.
Userobject for Bob.
385802469135802? This is the amount of DAIx to transfer per second, which is equivalent to 1000 DAIx per month.
details()to see a bunch of info about our user:
flow()again, we can edit this stream:
recipientwhere DAIx should flow.
createFlow(), we pass the arguments for the DAIx token, sender, receiver, and the amount "385802469135802"
HUH?! How is bob able to send 1000 DAIx per month if he only has 50 Superfluid enabled DAI? The answer is that the sender isn't required to have the full amount to start a flow. The flow will continue to run as long as he has DAIx.
Note: These amounts will not add up to 50 DAIx, due to a refundable deposit.
getNetFlow()to see the flow we just created.
deleteFlow()and select the flow between bob and alice.