Skip to content

@superfluid:distributionFlowrate

Flow rate a distributor is currently streaming into a GDA pool, in wei per second.

Returns: number

@superfluid:distributionFlowrate(token from pool)
NameTypeDescription
tokensupertokenSuperToken symbol or address
fromaddressDistributor account
pooladdressGDA pool address
# The rate a distributor streams into a pool
load sim
sim:fork --using anvil (
sim:set-balance @me 20000e18
superfluid:wrap 10000e18 into xDAIx
superfluid:create-pool $pool xDAIx
superfluid:set-units 1 to 0x8790B75cF2BD36a2502A24e0E16AA1B23eBeBC71 in $pool
superfluid:distribute-flow 1000e18/mo xDAIx to $pool
print "Pool inflow:" @superfluid:distributionFlowrate(xDAIx @me $pool)
)