superfluid:grant-flow-operator
Let an operator manage your streams of a SuperToken. Defaults to full control (create, update, delete) with unlimited flow-rate allowance; restrict with --permissions and --allowance. The allowance is a decrementing budget consumed by creates and rate increases.
Syntax
Section titled “Syntax”superfluid:grant-flow-operator <token> <to> <operator>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
token | supertoken | SuperToken symbol (e.g. USDCx) or address |
to | command | Keyword to |
operator | address | Flow operator |
Options
Section titled “Options”| Name | Type | Description |
|---|---|---|
--permissions | string | full (default) or a quoted comma-separated set like "create,delete" |
--allowance | number | Flow-rate allowance in wei per second (e.g. 5000e18/mo); defaults to unlimited |
Examples
Section titled “Examples”# Let a manager contract open and close xDAIx streams on your behalf, capped at 5000 xDAIx a monthsuperfluid:grant-flow-operator xDAIx to 0x4F2083f5fBede34C2714aFfb3105539775f7FE64 --permissions "create,delete" --allowance 5000e18/mo