Fund managers and governance need to operate through controller contract.

interface IHotPotV3FundController is IManagerActions, IGovernanceActions, IControllerState, IControllerEvents {
    function harvest(address token, uint amount) external returns(uint burned);
}

1. Functions

1.1. harvest

  function harvest(
    address token,
    uint256 amount
  ) external returns (uint256 burned)

All the fund share is used to burn HPT

Anyone can call this function

Parameters:

Name Type Description
token address Types of tokens used to purchase HPT when burning
amount uint256 Amount of tokens

Return Values:

Name Type Description
burned address Quantity burned
Copyright © hotpot fund 2021 all right reserved,powered by GitbookUpdated At: 2021-12-28 10:33:50

results matching ""

    No results matching ""