ERC-4000 Staking-Reward Pool Standard (a.k.a ERC20 for yield farming) Request for Comments
We need an "ERC20" for staking-rewards pools.
As any good yield-farmer knows, staking-reward pools are a common way for projects to incentivize desired behaviors like providing liquidity, bonding, token distribution, or loan origination. But nearly every project implements the interface differently! This is dumb.
Myself, vfat, and DkNinja have drafted an EIP for an ERC Staking-Reward Pool Standard based on our experience of writing code to interact with hundreds of “Masterchef-” and "Synthetix-"style staking-rewards pools.
Just imagine what we can build if *every yield farm* used the same contract standard (like every token already does).
We'd get better UIs, better composability, more yield aggregators, and interesting DeFi products that no one has thought up yet But before we can get there, we need a standard
We’d appreciate your comments before we move to submitting a formal pull request. Here are the relevant links:
How you can help
Please review the standard and post questions/concerns/comments here. Simply voicing your support can help this standard become a reality. Of course, if you're a developer, reach out and we can help you adapt your pool to this standard – it should be an easy fix vs. normal Masterchef contracts.
(We'll be submitting a formal EIP near the end of April)
submitted by /u/cryppadotta
[link] [comments]