depositwhich is taken out of their balance. By leaving their streams open for too long, they stand to lose the
buffer. This mechanism creates the main incentive for users to close their Superfluid streams before running out of tokens. It is a user's own responsibility to close their stream.
superAppscan also draw an
owedDeposit, allowing them to open a stream of the same size, without needing an initial balance.
bufferis added to the
rewardAddress(the TOGA contract), which adds it to the current Patrician's
deficitso that the Super Token itself can remain solvent within the Superfluid Protocol.
deficitis taken from their Stake as a slashing fee. This slashing fee is then burned, to offset the tokens created by the insolvent stream. At the same time, a reward is issued to the account closing the stream, whom we call (depending on who closes it and when) a Patrician or a Pirate.
bufferbalance of the closed stream is taken as a reward by a Patrician.
staketo the TOGA contract, in the token they are trying to become a PIC for. If the new
stakeis higher than the existing
stake, the new Patrician becomes the PIC, and the previous Patrician gets their
stakeat will through a single transaction, but rather, they have to specify an
exitRate, which defines the flowrate of a Stream to their account. The
exitRateis also not completely arbitrary, it has be long enough to keep the
stakeabove zero for at least a week.
exitRatewill be set at the default rate.
depositfor Constant Flow Agreements is grandFathered, so future changes can't impact existing agreements.
rewardAddressin the Superfluid host. The
rewardAddressmay be changed to a different address. Every SuperToken may have a different
rewardAddress, so it's possible that different SuperTokens have different implementations.