Closed petrovska-petro closed 8 months ago
pr should be good to go @sajanrajdev @rayeaster
note that it is adapted to the v2 of distributor creator from merkl. it contains two methods which are used for different purposes:
distribute_incentives_concentrated_liquidity_pool
mostly to incentive concentrated pools (think univ3)create_campaign
more flexible and could help creating campaigns such as only incentivising $ebtc holders whose CR > 200% (something to be supported on the future by merkl once we have clear scope)@petrovska-petro, it seems like the wETH and ibBTC Multisig addresses were accidentally removed in here https://github.com/ebtc-protocol/ebtc-multisig/pull/20/commits/fa11d9b2a2674ac8e108d493df47612dec92cd23. Added them again and fixed a couple of things on the simulations (adjusted the date so that it creates the incentive ops in the future).
Formatting and verification helper is used to proof check all parameters
Adds scripts to incentivize UniV3 pools according to weights, campaign can start in the future, for for as long as desired and use the token desired (BADGER and multisig will need to be whitelisted, Merkl will handle).
Adds script to incentivize generalized campaigns with specific user behavior as target. Hardcoded to Campaign type 1 (holders of an ERC20). I think this is alright, can't foresee any other campaign type being used but, of course, if ever desired, this should be modified.
Includes simulations for both
LGTM
note some of the addresses are placeholders to be updated once official addresses are avail