Skip to content

idexio/idex-farm-v2

Repository files navigation

IDEX Farm v2

IDEX Farm v2 is an adaptation of the standard MasterChef yield farming contracts. MasterChef is renamed to IDEXFarm_v2 and diverges from the original design on several fronts:

  • Fixed reward token supply: the IDEX token (Ethereum, Polygon) has a fixed supply and thus cannot be minted directly by the IDEXFarm contract.
  • Additional controls: controls for adjusting the emission rate and reclaiming unearned IDEX tokens are included in the design.

IDEX Farm v2 further updates the original IDEX Farm design including:

  • Dual reward token support: rewards may be paid out in two tokens, with each token's emission rate individually configurable.
  • Native reward token support: in addition to ERC-20 reward tokens, native tokens, such as Ether or MATIC, may serve as a reward token.
  • Safety improvements: no migration mechanism is included in the design.

Bug Bounty

The smart contracts in this repo are covered by a bug bounty via Immunefi.

License

The IDEX Farm v2 Smart Contracts and related code are released under the GNU Lesser General Public License v3.0.