Skip to content

Commit

Permalink
feat: claim $liq from escrow
Browse files Browse the repository at this point in the history
  • Loading branch information
petrovska-petro committed Feb 21, 2024
1 parent b4c252a commit 4e6d4b9
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 4e6d4b9

Please sign in to comment.