From 4e6d4b93294b250800b849a651a0cf13b4ede1b1 Mon Sep 17 00:00:00 2001 From: Petrovska Date: Wed, 21 Feb 2024 22:20:16 +0400 Subject: [PATCH] feat: claim $liq from escrow --- scripts/issue/1513/claim_vested_liq.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 scripts/issue/1513/claim_vested_liq.py diff --git a/scripts/issue/1513/claim_vested_liq.py b/scripts/issue/1513/claim_vested_liq.py new file mode 100644 index 00000000..4553ee85 --- /dev/null +++ b/scripts/issue/1513/claim_vested_liq.py @@ -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()