Releases: workhard-finance/utils
WHF Utils Lib v0.1.8
- add
rewindAll
function
WHF Utils Lib v0.1.7
FeeManager now has two more functions
swapAndDistribute
distribute
WHF Utils Lib v0.1.6
- Use SafeERC20 for approve()
WHF Utils Lib v0.1.5
Remove "hardhat/console.sol" from the code
WHF Utils Lib v0.1.4
contracts/fee/FeeManager.sol
- Added functions
updateDividendPool()
updateRewardToken()
- Added events
event DividendPoolUpdated(address pool); event RewardTokenUpdated(address pool); event FundRescued(address token, uint256 amount); event Rewarded(address token, uint256 amount, uint256 rewardAmount);
- Logic updates
- Remove max approval.
WHF Utils Lib v0.1.3
Fee Manager
WHF's dividend pool allows anyone to distribute any kind of tokens to the RIGHT holders. However, most of the holders may want that it buys back their reward token(VISION tokens) using the fee and distribute it in the reward token. Thereby, FeeManager.sol contract provides features like
- Executor can swap any ERC20 token to the reward token using on-chain DEX.
- Governance can control the interactable DEX list.
- Governance can grant or revoke the executor role.
- Automatically convert received ETH to WETH.
- Governance can rescue funds.
WHF Utils Lib v0.1.2
Fee Manager
WHF's dividend pool allows anyone to distribute any kind of tokens to the RIGHT holders. However, most of the holders may want that it buys back their reward token(VISION tokens) using the fee and distribute it in the reward token. Thereby, FeeManager.sol contract provides features like
- Executor can swap any ERC20 token to the reward token using on-chain DEX.
- Governance can control the interactable DEX list.
- Governance can grant or revoke the executor role.
- Automatically convert received ETH to WETH.
- Governance can rescue funds.
WHF Utils Lib v0.1.1
Fee Manager
WHF's dividend pool allows anyone to distribute any kind of tokens to the RIGHT holders. However, most of the holders may want that it buys back their reward token(VISION tokens) using the fee and distribute it in the reward token. Thereby, FeeManager.sol contract provides features like
- Executor can swap any ERC20 token to the reward token using on-chain DEX.
- Governance can control the interactable DEX list.
- Governance can grant or revoke the executor role.
- Automatically convert received ETH to WETH.
- Governance can rescue funds.
WHF Utils Lib v0.1.0
Fee Manager
WHF's dividend pool allows anyone to distribute any kind of tokens to the RIGHT holders. However, most of the holders may want that it buys back their reward token(VISION tokens) using the fee and distribute it in the reward token. Thereby, FeeManager.sol contract provides features like
- Executor can swap any ERC20 token to the reward token using on-chain DEX.
- Governance can control the interactable DEX list.
- Governance can grant or revoke the executor role.
- Automatically convert received ETH to WETH.
- Governance can rescue funds.