@superfluid:buffer
Buffer deposit locked when opening a stream at the given flow rate (typically a few hours of streaming; Ethereum mainnet enforces per-token minimums).
Returns: number
Syntax
Section titled “Syntax”@superfluid:buffer(token flowrate)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
token | supertoken | SuperToken symbol or address |
flowrate | number | Flow rate in wei per second, e.g. 1000e18/mo |
Examples
Section titled “Examples”# Print the deposit that opening a 1000 xDAIx/month stream would lockprint "Buffer:" @superfluid:buffer(xDAIx 1000e18/mo)