Skip to content

@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

@superfluid:buffer(token flowrate)
NameTypeDescription
tokensupertokenSuperToken symbol or address
flowratenumberFlow rate in wei per second, e.g. 1000e18/mo
# Print the deposit that opening a 1000 xDAIx/month stream would lock
print "Buffer:" @superfluid:buffer(xDAIx 1000e18/mo)