Badger-Finance / badger-multisig

Badger DAO's EVM multisig operations.
GNU Affero General Public License v3.0
48 stars 32 forks source link

feat: allow possibility of using #liq as incentive in liquis marketplace paladin #1469

Closed petrovska-petro closed 7 months ago

petrovska-petro commented 8 months ago

closes #1468

params for testing:

    badger_bribe_in_aura=0,
    badger_bribe_in_balancer=0,
    badger_bribe_in_votium=0,
    badger_bribe_in_frax=0,
    badger_bribe_in_bunni=0,  # NOTE: dollar denominated. Badger calculation is done internaly
    max_tokens_per_vote=0,  # Maximum amount of incentives to be used per round (Hidden Hands V2)
    periods=1,  # Rounds to be covered by the incentives deposited (Hidden Hands V2)
    badger_bribe_in_liquis=2000,  # NOTE: dollar denominated. Badger calculation is done internaly, the incentive gets process via Paladin
    duration_paladin_quest=1,  # Duration (in number of periods) of the Quest
    reward_per_vote_liquis=0.001,  # Amount of reward per vlLIQ
    liquis_incentive_in_paladin=True,  # Indicates if the incentive is going to be post in paladin or HH
    is_governance_incentive_token=False,  # Indicates if the incentive is going to be governance token ($badger) or different. Applicable only in Paladin.
    aura_proposal_id=None,
    convex_proposal_id=None,

NOTE: currently the minRewardPerVotePerToken is .0025 and we requested to paladin to decrease it to .001 similar to tokens rates like $grai etc. waiting on that to be fully updated onchain to use this script

NOTE: got informed by paladin that addys were updated and new contract was in place with min rates updates across the board for tokens, which i verified. script now is on good state using v2 quest sc for velit/vlliq. in our particular case, i had isolated only to incentive vlliq