Skip to content

Releases: workhard-finance/utils

WHF Utils Lib v0.1.8

21 Aug 10:09
Compare
Choose a tag to compare
  • add rewindAll function

WHF Utils Lib v0.1.7

21 Aug 06:05
Compare
Choose a tag to compare

FeeManager now has two more functions

  • swapAndDistribute
  • distribute

WHF Utils Lib v0.1.6

15 Aug 16:07
Compare
Choose a tag to compare
WHF Utils Lib v0.1.6 Pre-release
Pre-release
  • Use SafeERC20 for approve()

WHF Utils Lib v0.1.5

05 Jul 11:47
Compare
Choose a tag to compare

Remove "hardhat/console.sol" from the code

WHF Utils Lib v0.1.4

04 Jul 05:35
Compare
Choose a tag to compare

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

03 Jul 14:46
Compare
Choose a tag to compare

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

03 Jul 14:37
Compare
Choose a tag to compare

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

03 Jul 14:25
Compare
Choose a tag to compare

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

03 Jul 14:13
Compare
Choose a tag to compare

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.