Skip to content

@superfluid:connected

Whether a member is connected to a GDA pool (connected members see pool earnings in their balance automatically).

Returns: bool

@superfluid:connected(pool member)
NameTypeDescription
pooladdressGDA pool address
memberaddressPool member
# Check pool membership before and after connecting
load sim
sim:fork --using anvil (
sim:set-balance @me 100e18
superfluid:create-pool $pool xDAIx
sim:expect @bool(@superfluid:connected($pool @me) == false)
superfluid:connect-pool $pool
sim:expect @superfluid:connected($pool @me)
)