Skip to content

Commit

Permalink
Merge pull request #1514 from Badger-Finance/feat/liquis-claim-vesting
Browse files Browse the repository at this point in the history
feat: claim $liq from escrow
  • Loading branch information
petrovska-petro authored Feb 22, 2024
2 parents b4c252a + 4e6d4b9 commit 2033207
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions scripts/issue/1513/claim_vested_liq.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from great_ape_safe import GreatApeSafe
from helpers.addresses import r


def main():
safe = GreatApeSafe(r.badger_wallets.treasury_voter_multisig)
trops = GreatApeSafe(r.badger_wallets.treasury_ops_multisig)

# contracts
escrow = safe.contract(r.liquis.liq_vested_escrow)

# tokens
liq = safe.contract(r.treasury_tokens.LIQ)

trops.take_snapshot([liq])

escrow.claim(False)

liq_balance = liq.balanceOf(safe.address)
liq.transfer(r.badger_wallets.treasury_ops_multisig, liq_balance)

trops.print_snapshot()
safe.post_safe_tx()

0 comments on commit 2033207

Please sign in to comment.