superfluid:schedule-flow
Schedule a stream to start and/or end at future timestamps, executed by Superfluid's keeper network. Automatically grants the FlowScheduler the flow-operator permissions it needs (create for --start, delete for --end) plus a SuperToken allowance when --start-amount is set. At least one of --start / --end is required; execution is permissionless but not guaranteed if the grants are revoked.
⚗️ Experimental — available at next.evmcrispr.com.
Syntax
Section titled “Syntax”superfluid:schedule-flow <rate> <token> <to> <receiver>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
rate | number | Flow rate in wei per second (e.g. 1000e18/mo); may be 0 for end-only schedules |
token | supertoken | SuperToken symbol (e.g. USDCx) or address |
to | command | Keyword to |
receiver | address | Stream receiver |
Options
Section titled “Options”| Name | Type | Description |
|---|---|---|
--start | number | Unix timestamp at which the keeper opens the stream |
--start-window | number | How long after --start the keeper may still open the stream (default 3d) |
--end | number | Unix timestamp at which the keeper closes the stream |
--start-amount | number | Optional lump-sum SuperToken transfer when the stream starts (needs an allowance, granted automatically) |
--no-approve | bool | Skip the automatic permission grant and allowance actions |
Examples
Section titled “Examples”# Schedule a salary stream to open on Jan 1st 2034 and close a year later, run by Superfluid keeperssuperfluid:schedule-flow 1000e18/mo xDAIx to 0x8790B75cF2BD36a2502A24e0E16AA1B23eBeBC71 --start 2019686400 --end 2051222400