-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support claiming back of incentives from paladin posted from trops
- Loading branch information
1 parent
1090752
commit 9f23d38
Showing
2 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from great_ape_safe import GreatApeSafe | ||
from helpers.addresses import r | ||
|
||
|
||
def main(): | ||
safe = GreatApeSafe(r.badger_wallets.treasury_ops_multisig) | ||
safe.init_badger() | ||
|
||
# tokens | ||
liq = safe.contract(r.treasury_tokens.LIQ) | ||
badger = safe.contract(r.treasury_tokens.BADGER) | ||
|
||
# snap | ||
safe.take_snapshot(tokens=[badger, liq]) | ||
|
||
# check if there are claimable withdrawable incentives in paladin | ||
safe.badger.claw_back_incentives_from_paladin() | ||
|
||
safe.post_safe_tx() |