This is a simple contract to divert portion of MiniChef emissions to another address.
Below is the instructions to trustlessly set this up with minimal multisig transactions. In this context, multisig refers to MiniChefV2 owner, and deployer refers to any account that will deploy the contracts to aid the multisig.
- Deployer deploys DummyERC20 and mints 10 tokens
- Deployer transfers the tokens to multisig
- Deployer transfers the ownership of DummyERC20 to multisig
- Multisig adds a new MiniChefV2 pool with
addPool()
function- Inserts DummyERC20 address for the
_lpToken
parameter
- Inserts DummyERC20 address for the
- Deployer deploys the MiniChefProxy contract based on recipient and pid supplied by the multisig
- Deployer transfers the ownership of MiniChefProxy to multisig
- Multisig confirms the recipient is correctly set in MiniChefProxy
- Multisig deposits 10 DummyERC20 tokens to MiniChefV2 with
deposit()
function- Inserts MiniChefProxy address for the
to
parameter
- Inserts MiniChefProxy address for the
The pool ID should be blacklisted on DEX UI to not confuse the users.