You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- CFASuperAppBase: `onFlowDeleted` is replaced by `onInFlowDeleted` and `onOutFlowDeleted`.
42
+
This is safer because the latter hook handles a case (outgoing flow being deleted by its receiver) which is often not expected.
43
+
In the past, apps creating outflows had to explicitly distinguish between the 2 possible triggers in order to avoid potentially invalid state changes or even jailing.
44
+
Most apps will want to implement just `onInFlowDeleted`.
45
+
- CFASuperAppBase: added `flowRate` argument to `onFlowCreated` and `onFlowUpdated`.
41
46
- PoolMemberNFT pruning: `IPoolMemberNFT` and `PoolMemberNFT` removed, `POOL_MEMBER_NFT()` removed from `ISuperToken`.
-`SuperTokenV1Library.distributeFlow`: return `actualFlowRate` instead of a bool
72
77
-`SuperTokenV1Library.distribute`: return `actualAmount` instead of a bool
73
78
74
-
# Breaking
75
-
- CFASuperAppBase: `onFlowDeleted` is replaced by `onInFlowDeleted` and `onOutFlowDeleted`.
76
-
This is safer because the latter hook handles a case (outgoing flow being deleted by its receiver) which is often not expected.
77
-
In the past, apps creating outflows had to explicitly distinguish between the 2 possible triggers in order to avoid potentially invalid state changes or even jailing.
78
-
Most apps will want to implement just `onInFlowDeleted`.
0 commit comments