ebtc-protocol / ebtc-multisig

eBTC's EVM multisig operations.
GNU Affero General Public License v3.0
0 stars 0 forks source link

feat: integration of merkl cli script #20

Closed petrovska-petro closed 8 months ago

petrovska-petro commented 9 months ago
brownie run scripts/merkl_incentive_campaign sim_distribute_incentives_concentrated_liquidity_pool 

brownie run scripts/merkl_incentive_campaign sim_create_campaign 

note some of the addresses are placeholders to be updated once official addresses are avail

petrovska-petro commented 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:

  1. distribute_incentives_concentrated_liquidity_pool mostly to incentive concentrated pools (think univ3)
  2. 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)
sajanrajdev commented 8 months ago

@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).

Review

LGTM