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
npm package renamed from @juglipaff/fair-reward-distributor to @juglipaff/fair-rewards. Contracts renamed FairRewardDistributor -> FairRewards and FairRewardDistributorERC4626 -> FairRewardsERC4626. Update imports and package.json dependency accordingly. Old package deprecated on npm.
Features
rename package to @juglipaff/fair-rewards (54e3626)
_preStake / _preWithdraw / _preDistribute are removed. _stake, _withdraw, _distribute now accept uint128 liquidity directly, so consumers must narrow (e.g. via SafeCast.toUint128) at the external boundary. InsufficientStake is renamed to InsufficientLiquidity and now carries the raw uint256.
Features
remove pre-hooks; internal API now takes uint128 directly (d05708a)